/* ModelRetirement — Marketing site styles (OFFLINE v1)
   Self-contained. No external fonts or CDNs (works fully offline).
   Voice: calm, credible, restrained. No hype. */

:root {
  --ink: #14263b;          /* deep slate-navy text */
  --ink-soft: #46586c;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --band: #ffffff;
  --brand: #1f6f5c;        /* trust-green */
  --brand-dark: #175346;
  --accent: #2f6fb0;       /* calm blue */
  --line: #e2e8ee;
  --shadow: 0 8px 30px rgba(20, 38, 59, 0.08);
  --radius: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Skip link — off-screen until keyboard focus */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand-dark); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* Visible keyboard focus for all interactive elements */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  transition: transform .05s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer; font-size: 1rem;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--brand); }
.brand.small { font-size: 1.05rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .96rem; }
.nav a:hover { color: var(--ink); }
.header-inner .btn-primary { margin-left: 8px; }

/* ===== Hero ===== */
.hero { padding: 64px 0 60px; background: linear-gradient(180deg, #fbfdfe 0%, #ffffff 100%); }
/* Full-width headline across the page, above the copy/visual row. */
.hero-headline { font-size: clamp(1.7rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.16; max-width: none; margin: 0 0 28px; }
.hero-subhead { font-size: 1.2rem; max-width: 34ch; margin: 0 0 14px; }
.hero-inner { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700;
  color: var(--brand); margin: 0 0 14px; }
.lede { font-size: 1.2rem; max-width: 34ch; }
.cta-row { display: flex; gap: 14px; margin: 26px 0 12px; flex-wrap: wrap; }
.reassure { font-size: .9rem; color: var(--ink-soft); }
/* Calm, on-brand desktop/tablet expectation line (hero) */
.made-for { font-size: .88rem; color: var(--ink-soft); margin: -4px 0 0; }

/* Hero visual: illustrative heatmap */
.terrain { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; }
.terrain-grid {
  height: 300px; border-radius: 8px;
  /* Illustrative "risk terrain" gradient — green (safe) to amber to red (strain) */
  background:
    linear-gradient(115deg, #d43d3d 0%, #e88b3a 22%, #f2c14e 40%, #7bbf7e 62%, #1f9d70 100%);
  position: relative; overflow: hidden;
  filter: saturate(.9);
}
/* faint grid overlay to read as a matrix of cells */
.terrain-grid::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 9.09% 12.5%;
  mix-blend-mode: overlay;
}
.terrain figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }

/* Hero decision chip (illustrative — reinforces 'decision, not a score') */
.hero-visual { display: flex; flex-direction: column; gap: 14px; }
.terrain-chip {
  margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 10px; box-shadow: var(--shadow); padding: 12px 16px;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.chip-label {
  text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 700;
  color: var(--brand); background: #eaf3f0; padding: 3px 8px; border-radius: 20px;
}
.chip-note { color: var(--ink-soft); font-weight: 500; font-size: .82rem; }

/* ===== Bands ===== */
.band { padding: 66px 0; }
.band.alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 36px; }
.contrast { text-align: center; background: var(--ink); }
.contrast h2 { color: #fff; max-width: 30ch; margin: 0 auto .5em; }
.contrast .sub { color: #d4dee8; max-width: 60ch; margin: 0 auto; font-size: 1.12rem; }
.contrast em { color: #fff; font-style: normal; font-weight: 600; }

/* Side-by-side: success number vs decision engine */
.vs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 760px; margin: 34px auto 0; text-align: left;
}
.vs-col {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column; justify-content: center;
}
.vs-new { background: rgba(31,111,92,.20); border-color: rgba(123,191,126,.45); }
.vs-old { text-align: center; align-items: center; }
.vs-tag {
  text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700;
  color: #a9bccb; margin: 0 0 12px;
}
.vs-new .vs-tag { color: #8fd6b3; }
.vs-big { font-size: 2.8rem; font-weight: 800; color: #fff; margin: 0; line-height: 1; }
.vs-cap { color: #c9d6e2; font-size: .95rem; margin: 12px 0 0; }
.vs-list { list-style: none; padding: 0; margin: 0; }
.vs-list li {
  color: #fff; padding-left: 26px; position: relative; margin-bottom: 10px; font-weight: 500;
}
.vs-list li::before {
  content: "\2192"; position: absolute; left: 0; top: 0; color: #8fd6b3; font-weight: 700;
}

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* Honest-access: three cards centered under the heading. */
.access-cards { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
}
.card.plain { box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; font-size: .98rem; }

/* ===== Qualifier: who it's for ===== */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.fit-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
}
.fit-col h3 { font-size: 1.1rem; margin-bottom: 16px; }
.fit-yes { border-top: 4px solid var(--brand); }
.fit-no { border-top: 4px solid var(--line); }
.fit-list { list-style: none; padding: 0; margin: 0; }
.fit-list li {
  padding-left: 30px; position: relative; margin-bottom: 12px;
  color: var(--ink); font-size: 1rem; line-height: 1.45;
}
.fit-list li:last-child { margin-bottom: 0; }
.fit-yes .fit-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700;
}
.fit-no .fit-list li::before {
  content: "\2717"; position: absolute; left: 0; top: 0; color: var(--ink-soft); font-weight: 700;
}

/* ===== Credibility strip (trust, surfaced early) ===== */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 960px; margin: 0 auto; }
.cred-item { text-align: center; }
.cred-item h3 { font-size: 1.05rem; margin-bottom: .45em; }
.cred-item p { font-size: .95rem; margin: 0; }

/* ===== Proof ===== */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--ink); }
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 700;
}
.report-mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; position: relative;
}
.report-mock-head { font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; }
.gauge {
  height: 90px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--brand) 0 82%, #e7edf2 82% 100%);
  color: #fff; margin-bottom: 16px;
}
.gauge span { background: var(--brand-dark); padding: 6px 14px; border-radius: 20px; font-weight: 600; font-size: .95rem; }
.report-line { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.report-body { font-size: .96rem; margin: 0; }
.report-tag {
  position: absolute; top: 14px; right: 14px; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-soft); background: var(--bg-alt);
  padding: 3px 8px; border-radius: 6px;
}

/* ===== Real product screenshots ===== */
/* Hero heatmap image sits inside the .terrain card (which supplies the frame + padding). */
.terrain-img { width: 100%; height: auto; display: block; border-radius: 8px; }
/* Generic framed screenshot (proof report, etc.). */
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.shot figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }
/* Trimmed proof: single centered report screenshot (no side-by-side prose). */
.proof-shot { max-width: 760px; margin: 0 auto; }
/* Stepped "how it works" walkthrough (alternating image / copy). */
.eyebrow.center { text-align: center; margin: 0 auto 8px; }
.steps { display: flex; flex-direction: column; gap: 60px; margin-top: 8px; }
.step { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.step.reverse .step-media { order: 2; }
.step-media { margin: 0; text-align: center; }
.step-media img {
  width: 100%; height: auto; display: block; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 700; font-size: 1.05rem; margin-bottom: 14px;
}
.step-copy h3 { font-size: 1.5rem; margin-bottom: .4em; }
.step-copy p { font-size: 1.05rem; margin: 0; }

/* Stacked step: copy on top, one wide image below (used for step 1). */
.step.stacked { grid-template-columns: 1fr; gap: 24px; }
.step.stacked .step-copy { text-align: center; max-width: 720px; margin: 0 auto; }
.step.stacked .step-media.wide img { max-width: 1000px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item h3 { font-size: 1.05rem; }
.trust-item p { font-size: .95rem; margin: 0; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(180deg, #f4f7fa, #eaf2ee); text-align: center; }
.cta-inner { max-width: 620px; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner .btn { margin: 18px 0 12px; }

/* Sign-in options revealed by the "Get started" button (click to expand). */
.signin-options { display: none; flex-direction: column; gap: 10px;
  width: 100%; max-width: 330px; margin: 18px auto 10px; }
.cta-desktop.show-providers #get-started-btn { display: none; }
.cta-desktop.show-providers .signin-options { display: flex; }
.provider-btn {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; font-weight: 600; color: var(--ink); text-decoration: none;
  font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.provider-btn:hover { border-color: var(--ink-soft); box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.provider-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.provider-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.provider-btn span { flex: 1; text-align: center; }
.provider-btn.email { color: var(--ink-soft); }

/* Desktop/tablet vs phone CTA.
   Default (computer + tablet, which the app supports): show the real sign-in; hide the phone note.
   The phone swap happens in the max-width:560px query below. */
.cta-desktop { display: block; }
.cta-mobile { display: none; }
.cta-mobile-note { font-size: 1.05rem; color: var(--ink); max-width: 46ch; margin: 8px auto 16px; }
/* Reserved for the future email-capture / waitlist block (commented out in index.html).
   Kept so the block can be restored without re-authoring styles. Currently unused. */
.email-link {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  max-width: 440px; margin: 0 auto;
}
.email-link input {
  flex: 1 1 220px; min-width: 0; padding: 13px 14px; font-size: 1rem; font-family: inherit;
  color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
}
.email-link input:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent);
}
.email-link .btn { margin: 0; }
.cta-mobile-fine { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; }

/* Screen-reader-only utility (visually hidden, still announced).
   Currently only referenced by the reserved email block above; safe to keep. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 20px; margin-left: auto; }
.foot-nav a { color: var(--ink-soft); text-decoration: none; font-size: .92rem; }
.foot-nav a:hover { color: var(--ink); }
.copyright { font-size: .85rem; color: var(--ink-soft); width: 100%; }

/* ===== Features page mockup ===== */
.nav-active { color: var(--ink) !important; font-weight: 700; position: relative; }
.nav-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.features-hero {
  padding: 78px 0 70px;
  background:
    linear-gradient(120deg, rgba(31,111,92,.08), transparent 42%),
    linear-gradient(180deg, #fbfdfe 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.features-hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.features-hero-copy h1 { font-size: clamp(2.35rem, 4.7vw, 4rem); line-height: 1.04; letter-spacing: 0; max-width: 13ch; }
.features-lede { font-size: 1.16rem; max-width: 52ch; }
.features-hero-visual {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 20px 55px rgba(20,38,59,.14); padding: 12px;
}
.features-hero-visual img { width: 100%; display: block; border-radius: 5px; }
.features-hero-visual figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 12px 5px 2px; color: var(--ink); font-size: .88rem; }
.features-hero-visual figcaption span { color: var(--ink-soft); }
.feature-jump { position: sticky; top: 66px; z-index: 15; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.feature-jump-inner { display: flex; justify-content: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.feature-jump-inner::-webkit-scrollbar { display: none; }
.feature-jump a { padding: 14px 18px; color: var(--ink-soft); text-decoration: none; white-space: nowrap; font-size: .9rem; font-weight: 600; }
.feature-jump a:hover { color: var(--brand); }
.feature-section { padding: 88px 0; scroll-margin-top: 118px; }
.feature-section-alt { background: var(--bg-alt); }
.feature-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.feature-number { color: #a8b6c3; font-size: .82rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 18px; }
.feature-intro h2, .feature-heading-row h2, .feature-showcase-copy h2, .reports-copy h2 { font-size: clamp(1.9rem, 3.3vw, 2.65rem); letter-spacing: 0; }
.feature-intro > p:last-child, .feature-heading-row > p, .feature-showcase-copy > p, .reports-copy > p { font-size: 1.05rem; }
.feature-groups { border-left: 1px solid var(--line); padding-left: 42px; }
.feature-group { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.feature-group:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.feature-group h3 { margin-bottom: 14px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 22px; margin: 0 0 9px; color: var(--ink-soft); line-height: 1.48; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; background: var(--brand); border-radius: 50%; }
.feature-heading-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.feature-heading-row > p { margin-bottom: 6px; }
.feature-column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feature-column-grid .feature-group { border: 0; border-top: 3px solid var(--brand); padding: 22px 0 0; margin: 0; }
.interface-gallery-section { background: #fff; }
.product-board { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.product-board img { display: block; width: 100%; height: auto; }
.product-board figcaption { display: flex; justify-content: space-between; gap: 30px; padding: 15px 18px; border-top: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.product-board figcaption span { color: var(--ink-soft); text-align: right; }
.product-board-wide { margin-top: 28px; }
.interface-copy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 32px; }
.interface-copy-grid article { border-top: 3px solid var(--brand); padding-top: 17px; }
.interface-copy-grid h3 { font-size: 1rem; }
.interface-copy-grid p { font-size: .9rem; margin: 0; }
.visual-catalog { padding-bottom: 104px; }
.overview-lead-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: stretch; }
.overview-lead-grid .product-board { display: flex; flex-direction: column; }
.overview-lead-grid .product-board img { flex: 1; object-fit: contain; background: #fff; }
.overview-metrics-canvas { margin: 0; }
.overview-metrics-canvas img { display: block; width: 100%; height: auto; }
.product-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; align-items: start; }
.product-catalog-grid .product-board { min-width: 0; }
.overview-canvas-grid { grid-template-columns: 1fr; gap: 42px; }
.tax-canvas-grid { display: grid; grid-template-columns: 1fr; gap: 42px; }
.compare-canvas-grid { display: grid; grid-template-columns: 1fr; gap: 42px; }
.product-canvas { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.product-canvas img { display: block; width: 100%; height: auto; }
.product-canvas figcaption { order: -1; display: flex; justify-content: space-between; gap: 24px; margin-bottom: 12px; color: var(--ink); font-size: .9rem; }
.product-canvas figcaption span { color: var(--ink-soft); text-align: right; }
.product-board-span { grid-column: 1 / -1; }
.historical-chart-grid { margin-top: 36px; }
.historical-chart-grid .product-board, .historical-heatmap-board { display: flex; flex-direction: column; }
.historical-chart-grid .product-board figcaption, .historical-heatmap-board figcaption { order: -1; border-top: 0; border-bottom: 1px solid var(--line); }
.catalog-scenario-note { margin: 34px 0 0; padding: 14px 16px; border-left: 3px solid var(--brand); background: rgba(31,111,92,.06); color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }
.catalog-scenario-note strong { color: var(--ink); }
.catalog-divider { height: 1px; background: var(--line); margin: 84px 0 68px; }
.catalog-subheading { margin-bottom: 36px; }
.historical-lead-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 52px; align-items: center; }
.historical-proof-copy h3 { font-size: 1.55rem; }
.catalog-kicker { color: var(--brand); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.tax-board img { padding: 12px; }
.feature-showcase-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 68px; align-items: center; }
.feature-showcase-reverse { grid-template-columns: 1.18fr .82fr; }
.feature-list-strong { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 26px; }
.feature-shot { margin: 0; }
.feature-shot img { width: 100%; display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.feature-shot figcaption { text-align: center; margin-top: 12px; color: var(--ink-soft); font-size: .84rem; }
.feature-section-dark { background: var(--ink); }
.feature-heading-light h2, .feature-section-dark h3 { color: #fff; }
.feature-heading-light > p { color: #c7d3df; }
.feature-section-dark .feature-number { color: #7890a4; }
.feature-section-dark .eyebrow { color: #8fd6b3; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.decision-grid article { min-height: 170px; padding: 32px 30px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.decision-grid h3 { margin-bottom: 12px; }
.decision-grid p { color: #c7d3df; margin: 0; font-size: .95rem; }
.decision-visuals { display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px; margin-top: 40px; }
.dark-product-board { margin: 0; background: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; overflow: hidden; }
.dark-product-board img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; display: block; background: #fff; }
.dark-product-board figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 13px 16px; color: var(--ink); border-top: 1px solid var(--line); font-size: .86rem; }
.dark-product-board figcaption span { color: var(--ink-soft); text-align: right; }
.assistant-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.assistant-copy > p { color: #c7d3df; }
.assistant-copy .feature-list li { color: #d7e1e9; }
.assistant-visual { display: flex; justify-content: center; margin: 0; }
.assistant-visual img { display: block; width: min(100%, 475px); height: auto; border-radius: 17px; box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.reports-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.report-feature-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.report-open-btn { margin-top: 24px; }
.report-feature-shot img { max-height: 620px; object-fit: cover; object-position: top; }
.feature-utility { padding: 42px 0; background: #eaf3f0; border-top: 1px solid #d5e6e0; border-bottom: 1px solid #d5e6e0; }
.feature-utility-inner { display: flex; align-items: center; gap: 50px; }
.feature-utility h2 { font-size: 1.35rem; margin: 0; white-space: nowrap; }
.feature-utility ul { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.feature-utility li { color: var(--ink-soft); font-size: .9rem; position: relative; padding-left: 19px; }
.feature-utility li::before {
  content: ""; position: absolute; left: 1px; top: .38em; width: 9px; height: 5px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: 1fr; gap: 22px; max-width: 460px; }
  .proof-grid { grid-template-columns: 1fr; gap: 30px; }
  /* Keep primary nav reachable on tablets — wrap instead of hiding it */
  .nav { gap: 16px; }
  .features-hero-grid, .feature-layout, .feature-showcase-grid, .feature-showcase-reverse, .assistant-grid, .reports-grid { grid-template-columns: 1fr; gap: 42px; }
  .features-hero-copy h1 { max-width: 16ch; }
  .feature-jump { top: 66px; }
  .feature-groups { border-left: 0; border-top: 1px solid var(--line); padding: 34px 0 0; }
  .feature-column-grid, .decision-grid { grid-template-columns: repeat(2, 1fr); }
  .interface-copy-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-lead-grid, .historical-lead-grid, .decision-visuals, .product-catalog-grid { grid-template-columns: 1fr; }
  .product-board-span { grid-column: auto; }
  .feature-heading-row { grid-template-columns: 1fr; gap: 12px; }
  .feature-showcase-reverse .feature-shot { order: 2; }
  .feature-utility-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 22px; }
  .step.reverse .step-media { order: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  /* On phones the sticky header keeps brand + CTA; nav collapses below them */
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 12px 20px; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 4px; }
  .header-inner .btn-primary { margin-left: auto; }
  .nav-active::after { bottom: -3px; }
  .features-hero { padding: 48px 0; }
  .features-hero-copy h1 { font-size: 2.4rem; }
  .features-hero-visual figcaption { flex-direction: column; gap: 2px; }
  .feature-jump { top: 112px; }
  .feature-jump-inner { justify-content: flex-start; }
  .feature-section { padding: 64px 0; scroll-margin-top: 164px; }
  .feature-column-grid, .decision-grid, .feature-list-strong, .report-feature-columns { grid-template-columns: 1fr; }
  .interface-copy-grid { grid-template-columns: 1fr; }
  .product-board figcaption, .product-canvas figcaption, .dark-product-board figcaption { flex-direction: column; gap: 4px; }
  .product-board figcaption span, .product-canvas figcaption span, .dark-product-board figcaption span { text-align: left; }
  .decision-grid article { min-height: 0; }
  .feature-utility h2 { white-space: normal; }
  /* Phones can't use the app (it blocks mobile) — don't hand them the sign-in flow.
     Hide the real CTA; show the "continue on a computer/tablet" note + email placeholder. */
  .cta-desktop { display: none; }
  .cta-mobile { display: block; }
}
