/* Shared styling for the /features pages.
 *
 * WHY A SEPARATE FILE, when every other page in this directory inlines its CSS.
 * These pages exist to be CRAWLED, and there will be more of them than there are legal
 * pages. Inlining ~400 lines into each one would mean the same bytes re-downloaded per
 * page and the same edit made five times. One cached file is both faster for a reader
 * moving between them and honest about the fact that they are one template.
 *
 * Tokens are copied from index.html deliberately rather than imported: the landing page
 * has no stylesheet to import FROM (it is one big inline block), and a feature page must
 * not break if that page is restyled. If the brand shifts, both move together by hand.
 */
:root{
  --bg:#f6f6fb;
  --surface:#ffffff;
  --ink:#141b2e;
  --ink-muted:#6b7285;
  --ink-soft:#9297a8;
  --line:#e7e9f2;
  --brand:#2563eb;
  --brand-dark:#1d4ed8;
  --brand-light:#dbeafe;
  --sa:#f97316;
  --accent:#16a34a;
  --radius-lg:22px;
  --radius-md:14px;
  --radius-sm:10px;
  --shadow-soft:0 8px 30px rgba(20,27,46,.08);
  --shadow-card:0 2px 10px rgba(20,27,46,.06);
  --font-display:"Fraunces", Georgia, "Times New Roman", serif;
  --font-body:"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw:1100px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--font-body);font-size:17px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
a{color:var(--brand)}

/* ---------- header, matching index.html ---------- */
header.site{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
header.site .nav{max-width:var(--maxw);margin:0 auto;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.brand-name{display:inline-flex;flex-direction:column;line-height:1.05;font-family:var(--font-body);font-weight:800;font-size:21px;letter-spacing:-.4px;white-space:nowrap}
.brand-tag{font-size:11px;color:var(--brand);font-weight:700;letter-spacing:.02em;margin-top:2px}
.nav-links{display:flex;align-items:center;gap:22px;font-size:15px;font-weight:600}
.nav-links a{color:var(--ink-muted);text-decoration:none}
.nav-links a:hover{color:var(--ink)}
.btn{
  display:inline-block;background:var(--brand);color:#fff;text-decoration:none;
  font-weight:700;font-size:15px;padding:11px 22px;border-radius:var(--radius-sm);
  box-shadow:0 2px 8px rgba(37,99,235,.25);white-space:nowrap;
}
.btn:hover{background:var(--brand-dark)}
.btn-ghost{background:transparent;color:var(--brand);box-shadow:none;border:1px solid var(--line)}
.btn-ghost:hover{background:var(--brand-light)}
@media (max-width:760px){ .nav-links{display:none} }

/* ---------- hero ---------- */
.hero{padding:64px 0 44px;text-align:center}
.eyebrow{
  display:inline-block;font-size:12px;font-weight:700;letter-spacing:.10em;text-transform:uppercase;
  color:var(--brand);background:var(--brand-light);padding:6px 14px;border-radius:999px;margin-bottom:20px;
}
h1{
  font-family:var(--font-display);font-weight:800;font-size:clamp(32px,5.2vw,52px);
  line-height:1.1;letter-spacing:-1px;margin:0 0 18px;text-wrap:balance;
}
.lede{font-size:19px;color:var(--ink-muted);max-width:60ch;margin:0 auto 28px;text-wrap:pretty}
.hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero-note{font-size:14px;color:var(--ink-soft);margin-top:14px}

/* ---------- sections ---------- */
/* ONE CENTRE LINE.
 * The hero is centred; the intro prose was left-aligned at 68ch inside an 1100px
 * container, so it filled the left half of the page under a centred headline and read
 * as a layout bug rather than a choice. Section headings get the same treatment: the
 * cards below them are a symmetric grid, so a left-flushed heading over a centred grid
 * had the same problem in miniature.
 * Text inside the prose column stays LEFT-aligned -- centred body copy is harder to
 * read for anything longer than a line or two. It is the COLUMN that is centred. */
.intro .wrap{max-width:760px}
.intro p{max-width:none}
section > .wrap > h2,
section > .wrap > .sub{text-align:center;margin-left:auto;margin-right:auto}
.faq{margin-left:auto;margin-right:auto}
.related{justify-content:center}
section{padding:52px 0}
section.alt{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
h2{
  font-family:var(--font-display);font-weight:800;font-size:clamp(25px,3.4vw,34px);
  line-height:1.2;letter-spacing:-.5px;margin:0 0 14px;text-wrap:balance;
}
h3{font-size:19px;font-weight:700;margin:0 0 8px;letter-spacing:-.2px}
.sub{color:var(--ink-muted);max-width:62ch;margin:0 0 30px}
p{margin:0 0 16px;max-width:68ch}

.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:24px;box-shadow:var(--shadow-card)}
section.alt .card{background:var(--bg)}
.card p{margin:0;color:var(--ink-muted);font-size:16px}
.card-ico{
  width:40px;height:40px;border-radius:11px;background:var(--brand-light);color:var(--brand);
  display:flex;align-items:center;justify-content:center;margin-bottom:14px;
}
.card-ico svg{width:21px;height:21px}

/* numbered steps — used ONLY where the content is genuinely sequential */
ol.steps{list-style:none;counter-reset:s;padding:0;margin:0 auto;max-width:760px;display:grid;gap:18px}
ol.steps li{counter-increment:s;display:flex;gap:16px;align-items:flex-start}
ol.steps li::before{
  content:counter(s);flex:0 0 32px;height:32px;border-radius:50%;
  background:var(--brand);color:#fff;font-weight:700;font-size:15px;
  display:flex;align-items:center;justify-content:center;margin-top:2px;
}
ol.steps h3{margin-bottom:4px}
ol.steps p{margin:0;color:var(--ink-muted);font-size:16px}

/* ---------- FAQ (mirrors the FAQPage JSON-LD on each page) ---------- */
.faq{display:grid;gap:12px;max-width:800px}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:18px 22px}
section.alt .faq details{background:var(--bg)}
.faq summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--brand);font-size:22px;font-weight:400;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq details p{margin:12px 0 0;color:var(--ink-muted);font-size:16px}

/* ---------- closing CTA ---------- */
.cta-band{background:var(--brand);color:#fff;border-radius:var(--radius-lg);padding:44px 32px;text-align:center;margin:0 0 8px}
.cta-band h2{color:#fff;margin-bottom:10px}
.cta-band p{color:#dbeafe;max-width:52ch;margin:0 auto 24px}
.cta-band .btn{background:#fff;color:var(--brand);box-shadow:none}
.cta-band .btn:hover{background:#eff6ff}

/* ---------- related pages ---------- */
.related{display:flex;flex-wrap:wrap;gap:10px}
.related a{
  background:var(--surface);border:1px solid var(--line);border-radius:999px;
  padding:8px 16px;font-size:15px;font-weight:600;text-decoration:none;color:var(--ink-muted);
}
.related a:hover{color:var(--brand);border-color:var(--brand)}

/* ---------- footer, matching index.html ---------- */
footer.site{background:var(--surface);border-top:1px solid var(--line);padding:34px 22px;text-align:center;font-size:14px;color:var(--ink-muted)}
footer.site a{color:var(--ink-muted);text-decoration:underline}
footer.site a:hover{color:var(--brand)}

@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }
