/* ===========================================================
   ELI Planning — static site styles
   Clean, trustworthy, calm. A serious UK planning-preparation
   service. No external fonts. Mobile-first refinements.
   =========================================================== */

:root {
  --ink: #0f2540;          /* deep navy text/headings */
  --ink-soft: #3a506b;     /* secondary text */
  --muted: #6b7a8d;        /* muted grey */
  --line: #e3e9f0;         /* borders */
  --bg: #ffffff;
  --bg-alt: #f4f7fa;       /* alternating section bg */
  --bg-dark: #0f2540;      /* dark sections */
  --brand: #1f9d6b;        /* trust green accent */
  --brand-dark: #167a52;
  --brand-soft: #e7f6ef;
  --warn: #d99a06;
  --warn-soft: #fdf3da;
  --warn-ink: #8a6404;
  --danger: #cf5a36;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15,37,64,.05), 0 6px 18px rgba(15,37,64,.05);
  --shadow-lg: 0 18px 48px rgba(15,37,64,.16);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { line-height: 1.18; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.15rem); letter-spacing: -.022em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 840px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.light { color: #e7f0f7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 600; font-size: 1rem;
  padding: .72rem 1.3rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .06s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .92rem 1.7rem; font-size: 1.06rem; }
.btn-sm { padding: .52rem 1.05rem; font-size: .95rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(31,157,107,.28); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 8px 22px rgba(31,157,107,.34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { border-color: #fff; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: #e7f0f7; font-size: .9rem; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: .55rem 22px; flex-wrap: wrap; text-align: center; }
.announce-text strong { color: #fff; }
.announce-was { color: #9fb6c9; }
.announce-link { color: #6fe0b6; font-weight: 700; white-space: nowrap; }
.announce-link:hover { color: #fff; text-decoration: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.15rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--brand-dark); text-decoration: none; }
.nav-links a.btn { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--brand-soft) 0%, #f6fbf8 45%, #fff 100%); padding: 76px 0 68px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--brand-dark); background: #fff; border: 1px solid var(--line);
  padding: .32rem .75rem; border-radius: 999px; margin-bottom: 1.1rem; }
.eyebrow.light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #cdeede; }
.hero-copy h1 { margin-bottom: .55rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0 1.1rem; }
.hero-cta.center { justify-content: center; }
.hero-trust { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.hero-note { font-size: .9rem; color: var(--muted); max-width: 48ch; }

/* score card — the standout feature */
.score-card { background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 24px; text-align: left; position: relative; overflow: hidden; }
.score-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--brand), #46c294); }
.score-card-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 18px; }
.score-label { font-weight: 700; color: var(--ink); margin: 0; font-size: 1.02rem; }
.score-chip { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line); padding: .26rem .55rem; border-radius: 999px; white-space: nowrap; }
.score-main { display: flex; align-items: center; gap: 18px; }
.score-ring { width: 116px; height: 116px; flex: none; border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--pct,68) * 1%), var(--line) 0);
  display: grid; place-items: center; }
.score-ring-inner { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.score-num { font-size: 2.1rem; font-weight: 800; color: var(--ink); line-height: 1; }
.score-den { font-size: .9rem; color: var(--muted); }
.score-status { flex: 1; min-width: 0; }
.status-pill { display: inline-block; font-weight: 700; font-size: .82rem; padding: .36rem .72rem; border-radius: 999px; line-height: 1.25; }
.status-pill.warn { background: var(--warn-soft); color: var(--warn-ink); border: 1px solid #f0dca5; }
.status-pill.ok { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #bfe6d4; }
.score-metrics { margin: .85rem 0 0; display: grid; gap: .45rem; }
.score-metrics > div { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; border-bottom: 1px dashed var(--line); padding-bottom: .42rem; }
.score-metrics dt { color: var(--muted); font-size: .85rem; margin: 0; }
.score-metrics dd { margin: 0; font-weight: 700; color: var(--ink); font-size: 1.02rem; white-space: nowrap; }
.score-missing { margin-top: 16px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.score-missing-title { margin: 0 0 .5rem; font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.score-points { list-style: none; padding: 0; margin: 0; }
.score-points li { display: flex; align-items: center; gap: .55rem; padding: .18rem 0; color: var(--ink-soft); font-size: .93rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--brand); } .dot.warn { background: var(--warn); }
.score-foot { font-size: .76rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #e7f0f7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title { text-align: center; }
.section-title.light { color: #fff; }
.section-sub { text-align: center; color: var(--ink-soft); max-width: 72ch; margin: 0 auto 2.8rem; font-size: 1.08rem; }
.section-foot { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 1.8rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; margin-bottom: 1rem; }
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature h3 { font-size: 1.02rem; color: var(--brand-dark); margin-bottom: .4rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .12s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.12rem; }
.price { font-size: 2.2rem; font-weight: 800; margin: .2rem 0 0; letter-spacing: -.01em; }
.price-was { font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: line-through; }
.price-tag { color: var(--muted); font-size: .92rem; margin: .15rem 0 1.1rem; }
.price-list { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.price-list li { padding: .34rem 0; font-size: .95rem; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: none; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-featured { border: 2px solid var(--brand); box-shadow: 0 14px 40px rgba(31,157,107,.18); position: relative; }
.price-featured:hover { box-shadow: 0 18px 48px rgba(31,157,107,.24); }
.badge-featured { background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: .3rem .7rem; border-radius: 999px; align-self: flex-start; margin-bottom: .7rem; }
.price-muted { background: #fbfcfe; }
.price-muted .price { color: var(--muted); font-size: 1.55rem; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: center; }
.founder-points { list-style: none; padding: 0; margin: 1.3rem 0 1.7rem; }
.founder-points li { padding: .38rem 0; color: #d8e6f0; }
.founder-counter { text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 40px 24px; }
.counter-num { display: block; font-size: 3.4rem; font-weight: 800; color: #fff; line-height: 1; }
.counter-sub { color: #aecbe0; font-size: .92rem; }

/* ---------- Two-column / who ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.for-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.for-card.good { border-top: 4px solid var(--brand); }
.for-card.bad { border-top: 4px solid var(--danger); }
.for-card ul { margin: 0 0 .4rem; padding-left: 1.1rem; color: var(--ink-soft); }
.for-card li { padding: .22rem 0; }

/* ---------- Excluded ---------- */
.excluded-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.excluded-grid li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--danger);
  border-radius: var(--radius-sm); padding: 15px 16px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 0 22px; box-shadow: var(--shadow); transition: border-color .15s ease; }
.faq details[open] { border-color: #cfe6da; }
.faq summary { cursor: pointer; font-weight: 600; padding: 17px 0; list-style: none; color: var(--ink); position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand-dark); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--brand-dark); }
.faq details p { margin: 0 0 17px; color: var(--ink-soft); }

/* ---------- Pre-form exclusion note ---------- */
.pre-form-note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 22px; box-shadow: var(--shadow); }
.pre-form-note p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Form ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form fieldset { border: none; border-top: 1px solid var(--line); margin: 0; padding: 26px 0 6px; }
.form fieldset:first-of-type { border-top: none; padding-top: 0; }
.form legend { font-weight: 700; color: var(--ink); padding: 0; margin-bottom: .9rem; font-size: 1.08rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.span-2 { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; font-weight: 600; font-size: .92rem; color: var(--ink); gap: .4rem; }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  padding: .75rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; width: 100%; transition: border-color .12s ease, box-shadow .12s ease;
}
.form input::placeholder, .form textarea::placeholder { color: #9aa8b8; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #c7d3df; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form textarea { resize: vertical; min-height: 96px; }
.form .check, .form .radio { font-weight: 500; }
.radio { flex-direction: row !important; align-items: center; gap: .55rem !important; background: #fbfcfe; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .8rem; cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.radio:hover { border-color: var(--brand); background: var(--brand-soft); }
.radio input { width: auto; accent-color: var(--brand); }
.consent { flex-direction: row !important; align-items: flex-start; gap: .65rem !important; font-weight: 500; margin-top: 1.1rem; color: var(--ink-soft); font-size: .92rem; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px 16px; }
.consent input { width: auto; margin-top: .25rem; accent-color: var(--brand); }
.form-actions { margin-top: 1.8rem; text-align: center; }
.form-actions .btn { min-width: 260px; }
.form-hint { color: var(--muted); font-size: .88rem; margin: .9rem 0 0; }

/* result panel */
.result { margin-top: 28px; background: var(--brand-soft); border: 1px solid #bfe6d4; border-radius: var(--radius); padding: 28px; }
.result.hidden { display: none; }
.result h3 { color: var(--brand-dark); }
.result-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.1rem 0; }
.result-json { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; }
.result-json summary { cursor: pointer; padding: 13px 0; font-weight: 600; }
.result-json pre { background: #0f2540; color: #d6f0e3; padding: 16px; border-radius: var(--radius-sm); overflow: auto; font-size: .82rem; line-height: 1.5; margin: 0 0 14px; }
.result-note { font-size: .9rem; color: var(--ink-soft); margin: .4rem 0 0; }

/* ---------- Upload list ---------- */
.upload-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upload-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 15px 16px; color: var(--ink-soft); }
.upload-list strong { color: var(--ink); }

/* ---------- Disclaimer ---------- */
.disclaimer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.disclaimer p { color: var(--ink-soft); }
.disclaimer p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1d33; color: #aecbe0; padding: 48px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { color: #fff; font-size: 1.15rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.footer-links a { color: #aecbe0; }
.footer-links a:hover { color: #fff; }
.copyright { margin: 18px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 56px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-card { max-width: 460px; }
  .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .excluded-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .announce-inner { font-size: .82rem; gap: .5rem; }
  .section { padding: 52px 0; }
  .section-sub { margin-bottom: 2rem; }
  .steps, .features, .pricing, .two-col, .grid-2, .grid-3, .excluded-grid, .upload-list { grid-template-columns: 1fr; }
  .price-featured { order: -1; }           /* surface the £500 founder pack first on mobile */
  h1 { font-size: 2.05rem; }
  .hero-cta .btn { flex: 1 1 100%; }        /* full-width CTAs, easy thumb targets */
  .form { padding: 22px; }
  .form-actions .btn { width: 100%; min-width: 0; }
  .score-main { flex-direction: column; align-items: flex-start; gap: 14px; }
  .score-ring { width: 104px; height: 104px; }
  .score-status { width: 100%; }
}

/* ===========================================================
   ELI Website Assistant v1 — floating help widget
   =========================================================== */
.eli-assistant { position: fixed; right: 20px; bottom: 20px; z-index: 1000; font-family: var(--font); }

/* launcher */
.eli-launcher {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  padding: .7rem 1.15rem; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15,37,64,.22);
  transition: background .15s ease, transform .06s ease, box-shadow .15s ease;
}
.eli-launcher:hover { background: var(--brand-dark); box-shadow: 0 12px 32px rgba(15,37,64,.28); }
.eli-launcher:active { transform: translateY(1px); }
.eli-launcher:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 2px; }
.eli-launcher-icon { font-size: 1.1rem; line-height: 1; }
.eli-open .eli-launcher { display: none; }   /* hide launcher while panel is open */

/* panel */
.eli-panel {
  position: absolute; right: 0; bottom: 0;
  width: 370px; max-width: calc(100vw - 32px);
  max-height: min(620px, calc(100vh - 32px));
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15,37,64,.28);
  overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.eli-open .eli-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* header */
.eli-header { display: flex; align-items: center; gap: .6rem; padding: 14px 16px; background: var(--bg-dark); color: #fff; }
.eli-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.05rem; flex: none; }
.eli-head-text { flex: 1; min-width: 0; }
.eli-head-title { margin: 0; font-weight: 800; font-size: 1rem; line-height: 1.1; }
.eli-head-sub { margin: 0; font-size: .76rem; color: #aecbe0; line-height: 1.2; }
.eli-close { background: transparent; border: none; color: #cdddea; font-size: 1rem; cursor: pointer; padding: 6px; border-radius: 8px; line-height: 1; }
.eli-close:hover { color: #fff; background: rgba(255,255,255,.12); }

/* transparency note */
.eli-transparency { margin: 0; padding: 9px 16px; font-size: .76rem; color: var(--warn-ink); background: var(--warn-soft); border-bottom: 1px solid #f0dca5; }

/* messages */
.eli-messages { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.eli-msg { display: flex; }
.eli-msg-bot { justify-content: flex-start; }
.eli-msg-user { justify-content: flex-end; }
.eli-bubble { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.5; box-shadow: var(--shadow); }
.eli-msg-bot .eli-bubble { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.eli-msg-user .eli-bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.eli-line { margin: 0; }
.eli-points { margin: .5rem 0 0; padding-left: 1.15rem; }
.eli-points li { padding: .12rem 0; }
.eli-inline-link { display: inline-block; margin-top: .55rem; font-weight: 700; color: var(--brand-dark); }

/* quick replies */
.eli-quickreplies { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 16px 6px; border-top: 1px solid var(--line); background: #fff; }
.eli-chip { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #bfe6d4; border-radius: 999px; padding: .4rem .7rem; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .12s ease, border-color .12s ease; }
.eli-chip:hover { background: #d4efe2; border-color: var(--brand); }
.eli-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

/* CTA row */
.eli-cta-row { display: flex; gap: 8px; padding: 8px 16px 12px; background: #fff; }
.eli-cta { flex: 1; text-align: center; text-decoration: none; font-weight: 700; font-size: .9rem; padding: .6rem .5rem; border-radius: 10px; border: 1.5px solid transparent; }
.eli-cta:hover { text-decoration: none; }
.eli-cta-primary { background: var(--brand); color: #fff; }
.eli-cta-primary:hover { background: var(--brand-dark); }
.eli-cta-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.eli-cta-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

/* input */
.eli-input-row { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; }
.eli-input { flex: 1; font-family: inherit; font-size: 1rem; padding: .6rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); }
.eli-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.eli-send { background: var(--brand); color: #fff; border: none; border-radius: 10px; padding: 0 1rem; font-weight: 700; font-family: inherit; cursor: pointer; }
.eli-send:hover { background: var(--brand-dark); }

/* mobile */
@media (max-width: 480px) {
  .eli-assistant { right: 12px; bottom: 12px; left: 12px; }
  .eli-launcher { width: 100%; justify-content: center; }
  .eli-panel { width: auto; left: 0; right: 0; max-height: calc(100vh - 24px); border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .eli-panel { transition: none; }
}

/* ===========================================================
   Multi-page refactor — homepage simplification helpers
   Reuses the existing tokens and card styles; no redesign.
   =========================================================== */

/* 3-up card grid (homepage "what you get" cards) */
.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* clickable "explore" link-cards reuse the .feature look */
.link-card { text-decoration: none; display: block; }
.link-card:hover { text-decoration: none; }
.link-card h3 { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.link-card .go { color: var(--brand-dark); font-weight: 800; }

/* compact founder offer card on the homepage */
.founder-compact { max-width: 720px; margin: 0 auto; text-align: center; }
.founder-compact .price { font-size: 2.4rem; margin-bottom: .2rem; }
.founder-compact .price-list { display: inline-block; text-align: left; margin: 1rem auto 1.5rem; }
.founder-compact .btn { width: auto; min-width: 240px; }

/* compact exclusions strip + "see full details" */
.exclude-compact { max-width: 880px; margin: 0 auto; text-align: center; }
.exclude-compact ul { display: flex; flex-wrap: wrap; gap: .55rem .7rem; list-style: none; padding: 0; margin: 0 0 1.1rem; justify-content: center; }
.exclude-compact li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--danger);
  border-radius: var(--radius-sm); padding: .5rem .85rem; font-size: .9rem; color: var(--ink-soft); }

/* simple centred page intro for the secondary pages */
.page-intro { padding: 60px 0 8px; background: linear-gradient(180deg, var(--brand-soft) 0%, #f6fbf8 60%, #fff 100%); }
.page-intro .eyebrow { margin-bottom: .9rem; }
.page-intro h1 { margin-bottom: .6rem; }
.page-intro .lead { max-width: 64ch; }
.page-intro.center { text-align: center; }
.page-intro.center .lead { margin-left: auto; margin-right: auto; }

@media (max-width: 980px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-3 { grid-template-columns: 1fr; } }

/* ===========================================================
   Simple customer journey + preview-ready v1 helpers
   =========================================================== */

/* early-preview note (subtle, honest) */
.preview-note { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1.15rem;
  background: var(--warn-soft); border: 1px solid #f0dca5; color: var(--warn-ink);
  font-size: .85rem; font-weight: 600; padding: .42rem .85rem; border-radius: 999px; }

/* compact pricing strip */
.price-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 0 auto; }
.price-strip-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .2rem; }
.price-strip-item.featured { border: 2px solid var(--brand); box-shadow: 0 14px 40px rgba(31,157,107,.16); }
.ps-tag { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-dark); min-height: .9rem; }
.ps-name { font-weight: 700; color: var(--ink); font-size: 1rem; }
.ps-amt { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.ps-note { color: var(--muted); font-size: .84rem; }

/* form: friendly intro + per-group hints */
.form-intro { background: var(--brand-soft); border: 1px solid #bfe6d4; border-radius: var(--radius-sm);
  padding: 14px 16px; margin: 0 0 20px; color: var(--ink-soft); font-size: .94rem; }
.form-intro strong { color: var(--brand-dark); }
.field-hint { margin: 0 0 1rem; color: var(--muted); font-size: .87rem; }

@media (max-width: 640px) { .price-strip { grid-template-columns: 1fr; } }
