/* Layout: left-aligned 12-column grid, one evergreen accent, 4px corners throughout, term-sheet details as the subject's own document convention. */
:root {
  --bg: #F4F6F3;
  --surface: #FBFCFA;
  --tint: #E7EDE7;
  --ink: #101A16;
  --muted: #4A5850;
  --line: #D0D9D2;
  --accent: #0E4D3C;
  --on-accent: #F2F7F3;
  --accent-soft: #D9E7DE;
  --feature: #0E4D3C;
  --on-feature: #EEF5F0;
  --on-feature-muted: #BAD4C7;
  --danger: #A3261B;
  --shadow: 0 1px 2px rgb(16 46 36 / .06), 0 12px 32px rgb(16 46 36 / .08);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --r: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1412;
    --surface: #131C19;
    --tint: #18231F;
    --ink: #E8EFEA;
    --muted: #A3B2AA;
    --line: #27352F;
    --accent: #86CFAE;
    --on-accent: #0B1512;
    --accent-soft: #17302A;
    --feature: #153A2F;
    --on-feature: #EAF3EE;
    --on-feature-muted: #A9C7B9;
    --danger: #F08A7E;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1412;
  --surface: #131C19;
  --tint: #18231F;
  --ink: #E8EFEA;
  --muted: #A3B2AA;
  --line: #27352F;
  --accent: #86CFAE;
  --on-accent: #0B1512;
  --accent-soft: #17302A;
  --feature: #153A2F;
  --on-feature: #EAF3EE;
  --on-feature-muted: #A9C7B9;
  --danger: #F08A7E;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r); z-index: 40; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--accent); border-radius: var(--r);
  background: var(--accent); color: var(--on-accent);
  font: 600 1rem/1.2 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { filter: none; background: var(--tint); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-stretch: 118%;
  font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.mark { width: 18px; height: 18px; position: relative; flex: none; }
.mark::before, .mark::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 2px; }
.mark::before { left: 0; top: 0; background: var(--accent); }
.mark::after { right: 0; bottom: 0; border: 2px solid var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .96rem; font-weight: 500; padding-block: 8px; }
.nav a:hover { color: var(--ink); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: transparent; color: var(--ink); font: 600 .95rem/1 var(--body); cursor: pointer;
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; }
  .nav.open {
    display: grid; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .nav.open a { padding-block: 14px; border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .nav.open a:first-child { border-top: 0; }
}
@media (max-width: 420px) {
  .brand { font-size: .9rem; letter-spacing: .04em; }
  .bar { gap: 10px; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section.tinted { background: var(--tint); }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.lede { color: var(--muted); font-size: 1.14rem; max-width: 60ch; margin-top: 18px; }
.eyebrow { font: 600 .8rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }

/* Hero */
.hero { padding-block: clamp(44px, 6.5vw, 88px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 5vw, 3.75rem); }
.hero .sub { color: var(--muted); font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 50ch; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.terms {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px);
}
.terms-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.terms-head h2 { font-size: 1.15rem; letter-spacing: -0.01em; }
.terms-head span { color: var(--muted); font-size: .88rem; }
.terms dl { display: grid; }
.terms .row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding-block: 15px; }
.terms .row + .row { border-top: 1px solid var(--line); }
.terms dt { color: var(--muted); font-size: .9rem; font-weight: 500; padding-top: 2px; }
.terms dd { font-weight: 500; line-height: 1.45; }
.terms .row.key dd { color: var(--accent); font-weight: 650; }
.terms-note { color: var(--muted); font-size: .88rem; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .6s cubic-bezier(.16, 1, .3, 1) both; }
  .rise.d1 { animation-delay: .08s; }
  .rise.d2 { animation-delay: .16s; }
  @keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Services grid: six services, six cells */
.services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 5vw, 56px); }
.cell {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.cell h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
.cell p { color: var(--muted); }
.cell.s4 { grid-column: span 4; }
.cell.s2 { grid-column: span 2; }
.cell.s3 { grid-column: span 3; }
.cell.feature { background: var(--feature); border-color: var(--feature); color: var(--on-feature); justify-content: flex-end; min-height: 280px; }
.cell.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 18ch; }
.cell.feature p { color: var(--on-feature-muted); max-width: 52ch; }
.cell.ruled {
  background-color: var(--tint);
  background-image: repeating-linear-gradient(135deg, transparent 0 13px, color-mix(in srgb, var(--line) 70%, transparent) 13px 14px);
}
.cell.ruled h3 { font-size: 1.5rem; }
.cell.ruled p { max-width: 56ch; color: var(--ink); }
@media (max-width: 900px) {
  .cell.s4, .cell.s2, .cell.s3 { grid-column: span 6; }
  .cell.feature { min-height: 0; }
}

/* Comparison */
.compare-wrap { margin-top: clamp(28px, 4vw, 48px); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 18px clamp(14px, 2vw, 24px); vertical-align: top; }
.compare thead th { font: 650 1rem/1.3 var(--display); border-bottom: 2px solid var(--ink); }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 26%; }
.compare td { color: var(--muted); }
.compare .us { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.compare thead .us { color: var(--ink); }

/* Process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(36px, 5vw, 60px); }
.steps li { position: relative; padding: 30px 28px 0 0; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.steps li.done { border-top-color: var(--accent); }
.steps li.done::before { background: var(--accent); border-color: var(--accent); }
.steps h3 { font-size: 1.35rem; margin-bottom: 10px; }
.steps p { color: var(--muted); }
.fee-flag { display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); font-size: .88rem; font-weight: 600; }
.section.tinted .steps li::before { background: var(--tint); }
.section.tinted .steps li.done::before { background: var(--accent); }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 32px 26px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: 4px; left: -7px; }
  .steps li.done { border-left-color: var(--accent); }
}

/* Fees */
.fees-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.fee-points { list-style: none; display: grid; }
.fee-points li { padding-block: 24px; }
.fee-points li:first-child { padding-top: 0; }
.fee-points li + li { border-top: 1px solid var(--line); }
.fee-points h3 { font-size: 1.2rem; margin-bottom: 8px; }
.fee-points p { color: var(--muted); }
.fineprint { color: var(--muted); font-size: .9rem; margin-top: 28px; max-width: 62ch; }
@media (max-width: 900px) { .fees-grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 820px; }
.faq-list { margin-top: clamp(24px, 4vw, 40px); border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-block: 20px; font: 600 1.12rem/1.35 var(--display); letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--accent); flex: none; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 22px; max-width: 66ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.details { display: grid; gap: 22px; margin-top: 34px; }
.details dt { color: var(--muted); font-size: .9rem; font-weight: 500; margin-bottom: 4px; }
.details dd { font-weight: 500; }
.details a { color: var(--ink); }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-btn { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: var(--r); padding: 4px 10px; font: 500 .82rem/1.4 var(--body); cursor: pointer; }
.copy-btn:hover { color: var(--ink); background: var(--tint); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  border: 1px solid var(--muted); border-radius: var(--r);
  background: var(--bg); color: var(--ink); font: 400 1rem/1.4 var(--body);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .9rem; font-weight: 500; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form-foot p { color: var(--muted); font-size: .9rem; max-width: 42ch; }
.result { border: 1px solid var(--accent); border-radius: var(--r); background: var(--accent-soft); padding: 20px; display: grid; gap: 14px; }
.result h3 { font-size: 1.15rem; }
.result pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 .95rem/1.5 var(--body); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; max-height: 260px; overflow: auto; }
.result .cta-row { margin-top: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 40px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2.4fr) minmax(0, 3.6fr); gap: 32px; }
.foot-grid h2 { font: 600 .95rem/1.3 var(--body); letter-spacing: 0; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a, .linklike { color: var(--muted); text-decoration: none; }
.foot-grid a:hover, .linklike:hover { color: var(--ink); text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.foot-about p { color: var(--muted); margin-top: 14px; max-width: 40ch; }
address { font-style: normal; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.foot-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: grid; gap: 10px; }
.foot-legal p { max-width: 96ch; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Cookie notice */
.cookie {
  position: fixed; z-index: 30; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(420px, calc(100vw - 32px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 18px; display: grid; gap: 14px; font-size: .94rem;
}
.cookie p { color: var(--muted); }
.cookie .cta-row { margin-top: 0; }

/* Policy pages */
.legal-hero { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.legal-hero p { color: var(--muted); margin-top: 14px; }
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 104px); align-items: start; }
.toc { position: sticky; top: calc(92px + env(safe-area-inset-top, 0px)); font-size: .94rem; }
.toc h2 { font: 600 .95rem/1.3 var(--body); letter-spacing: 0; margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 9px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: 70ch; min-width: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 44px; margin-bottom: 14px; scroll-margin-top: 92px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin-top: 26px; margin-bottom: 8px; letter-spacing: -0.01em; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 1.15em; display: grid; gap: 8px; }
.prose li { padding-left: 4px; }
.prose address { color: var(--ink); margin-bottom: 14px; }
.table-wrap { overflow-x: auto; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--r); }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; background: var(--surface); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; }
.prose thead th { border-bottom: 2px solid var(--ink); font-weight: 600; }
.prose tbody tr + tr td { border-top: 1px solid var(--line); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
.callout { border-left: 3px solid var(--accent); background: var(--tint); padding: 16px 18px; border-radius: 0 var(--r) var(--r) 0; margin-bottom: 18px; }
.callout p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--surface); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- Multi-page additions ---- */
:root { --contour: #C6D2C9; --feature-contour: #1F6853; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --contour: #22312B; --feature-contour: #1F4D3F; } }
:root[data-theme="dark"] { --contour: #22312B; --feature-contour: #1F4D3F; }

/* Services menu */
.nav-item { position: relative; display: flex; align-items: center; }
.nav a[aria-current="page"], .nav a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-item > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.submenu {
  display: none; position: absolute; top: 100%; left: -18px; min-width: 300px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 8px;
}
.nav-item:hover .submenu, .nav-item:focus-within .submenu { display: grid; }
.submenu a { padding: 10px 12px; border-radius: var(--r); color: var(--ink); font-weight: 500; }
.submenu a:hover { background: var(--tint); }
.nav .submenu a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--accent); }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; }
  .nav.open {
    display: grid; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 68px); overflow-y: auto;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .nav.open > a, .nav.open .nav-item > a { padding-block: 14px; border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); box-shadow: none; }
  .nav.open .nav-item { display: grid; }
  .nav.open .nav-item > a { border-top: 0; }
  .nav.open .nav-item > a::after { display: none; }
  .nav.open .submenu { display: grid; position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 10px 14px; min-width: 0; }
  .nav.open .submenu a { padding: 8px 0; color: var(--muted); font-size: .98rem; box-shadow: none; }
}

/* Contour graphic */
.has-contour { position: relative; overflow: hidden; isolation: isolate; }
.contour {
  position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%); mask-image: linear-gradient(to right, transparent 0%, #000 55%);
}
@media (max-width: 900px) { .contour { width: 100%; opacity: .55; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); } }

/* Deal-type tabs on the home term sheet */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--tint); border-radius: var(--r); margin-bottom: 18px; }
.tabs button {
  flex: 1; min-height: 40px; border: 0; border-radius: 3px; background: transparent; color: var(--muted);
  font: 600 .95rem/1.2 var(--body); cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(16 46 36 / .14); }
.terms-head h2 { font-size: 1.15rem; }

/* Page hero for inner pages */
.page-hero { padding-block: clamp(36px, 5vw, 64px) clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .9rem; color: var(--muted); margin-bottom: clamp(24px, 4vw, 44px); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 19ch; }
.page-hero .lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 58ch; margin-top: 22px; }
.page-hero .cta-row { margin-top: 30px; }
.kicker { font: 600 .95rem/1.2 var(--body); color: var(--accent); margin-bottom: 14px; }

/* Linked cells */
a.cell { text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease; }
a.cell:hover { transform: translateY(-2px); border-color: var(--accent); }
a.cell.feature:hover { border-color: var(--feature); filter: brightness(1.08); }
.more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--accent); }
.cell.feature .more { color: var(--on-feature); }
.cell.feature { position: relative; overflow: hidden; isolation: isolate; }
.cell.feature .contour { width: 70%; }
.arrow::after { content: "\2192"; margin-left: 8px; display: inline-block; transition: transform .2s ease; }
a:hover .arrow::after, a.arrow:hover::after { transform: translateX(3px); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.section-foot { margin-top: clamp(24px, 3vw, 36px); }

/* Services overview: two-column grid */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc-grid .cell h2 { font-size: 1.5rem; letter-spacing: -0.015em; }
.svc-grid .cell.feature { min-height: 0; justify-content: flex-start; }
.svc-grid .cell.feature h2 { font-size: 1.5rem; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Definition grid: what we do on service pages, principles, agreement terms */
.def-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin-top: clamp(28px, 4vw, 48px); }
.def-grid > div { padding-block: 22px; border-top: 1px solid var(--line); }
.def-grid h3 { font-size: 1.18rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.def-grid p { color: var(--muted); }
@media (max-width: 760px) { .def-grid { grid-template-columns: minmax(0, 1fr); } }

/* Two lists side by side */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); }
.duo h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 22px; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks.crosses li::before { width: 12px; height: 2px; border: 0; background: var(--muted); transform: none; top: .72em; }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Pill links: other services */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pills a { border: 1px solid var(--line); border-radius: var(--r); padding: 9px 14px; text-decoration: none; color: var(--ink); font-weight: 500; background: var(--surface); }
.pills a:hover { border-color: var(--accent); }

/* Stage rows: how we work */
.stages { list-style: none; display: grid; }
.stage { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(20px, 4vw, 56px); padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.stage:first-child { border-top: 2px solid var(--ink); }
.stage h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.stage p { color: var(--muted); }
.stage h3 { font: 600 .95rem/1.3 var(--body); letter-spacing: 0; margin-bottom: 12px; }
.stage .ticks { gap: 10px; font-size: .98rem; }
@media (max-width: 900px) { .stage { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* Audience rows: who we work with */
.aud { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 72px); padding-block: clamp(26px, 4vw, 40px); border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.aud:first-child { border-top: 2px solid var(--ink); }
.aud h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.aud p { color: var(--muted); }
.aud .mandates { margin-top: 12px; font-size: .95rem; color: var(--ink); }
.aud .mandates span { color: var(--muted); }
@media (max-width: 760px) { .aud { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* Big-type audience list on home */
.biglist { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: clamp(20px, 3vw, 32px); font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.18; letter-spacing: -0.02em; }
.biglist a { color: var(--muted); text-decoration: none; transition: color .15s ease; }
.biglist a:hover { color: var(--accent); }
.biglist li:not(:last-child)::after { content: "/"; margin-left: 18px; color: var(--line); font-weight: 400; }

/* Insight cards */
.insights { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.insights .stack { display: grid; gap: 16px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; color: inherit; min-width: 0; transition: transform .2s ease, border-color .2s ease; }
.post:hover { transform: translateY(-2px); border-color: var(--accent); }
.post .meta { color: var(--muted); font-size: .9rem; font-weight: 500; }
.post h2, .post h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
.post p { color: var(--muted); }
.post.lead { justify-content: flex-end; min-height: 300px; background-color: var(--tint); background-image: repeating-linear-gradient(135deg, transparent 0 13px, color-mix(in srgb, var(--line) 70%, transparent) 13px 14px); }
.post.lead h2, .post.lead h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 20ch; }
.post.lead p { color: var(--ink); max-width: 52ch; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .insights, .post-grid { grid-template-columns: minmax(0, 1fr); } .post.lead { min-height: 0; } }

/* Article */
.article { max-width: 720px; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.article .prose { max-width: none; font-size: 1.1rem; line-height: 1.7; }
.article .prose h2 { font-size: 1.45rem; margin-top: 40px; }
.article-note { color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 32px; }
.byline { color: var(--muted); font-size: .95rem; margin-top: 18px; }

/* Company details card */
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.facts h2 { font-size: 1.15rem; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.facts .row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding-block: 14px; }
.facts .row + .row { border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9rem; font-weight: 500; padding-top: 2px; }
.facts dd { font-weight: 500; overflow-wrap: anywhere; }
.facts a { color: var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-grid .big { font-family: var(--display); font-weight: 550; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; letter-spacing: -0.015em; }
.about-grid p + p { margin-top: 18px; }
.about-grid .body { color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .facts .row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* FAQ groups */
.faq-group + .faq-group { margin-top: clamp(40px, 6vw, 64px); }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); scroll-margin-top: 92px; }

/* Next steps on contact */
.next { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); margin-top: clamp(24px, 4vw, 40px); counter-reset: n; }
.next li { counter-increment: n; border-top: 2px solid var(--ink); padding-top: 18px; }
.next li::before { content: counter(n); display: block; font: 600 1rem/1 var(--display); color: var(--accent); margin-bottom: 12px; }
.next h3 { font-size: 1.15rem; margin-bottom: 8px; }
.next p { color: var(--muted); }
@media (max-width: 760px) { .next { grid-template-columns: minmax(0, 1fr); } }

/* Closing call to action */
.cta-band { background: var(--feature); color: var(--on-feature); padding-block: clamp(56px, 8vw, 96px); }
.cta-band .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 18ch; }
.cta-band p { color: var(--on-feature-muted); margin-top: 14px; max-width: 48ch; font-size: 1.1rem; }
.cta-band .btn { background: var(--on-feature); color: var(--feature); border-color: var(--on-feature); }
.cta-band :focus-visible { outline-color: var(--on-feature); }

/* 404 */
.notfound { padding-block: clamp(72px, 12vw, 160px); }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 14ch; }

.section h2.narrow { max-width: 22ch; }
.section.tight { padding-block: clamp(48px, 7vw, 88px); }
.steps a { color: inherit; }

.terms .tabs { margin-top: 18px; margin-bottom: 4px; }
.nav.open .submenu a { border-top: 0; }
.about-grid .body { margin-top: 22px; }
.def-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.def-grid > div:last-child:nth-child(odd) p { max-width: 62ch; }
.foot-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2.4fr) minmax(0, 2.6fr); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
/* ---- Bolder direction: forest colour blocks, lime highlight, pill buttons, larger type ---- */
:root {
  --bg: #F2F4EC; --surface: #FCFDF8; --tint: #E5EBDB; --ink: #0C1F18; --muted: #44554B; --line: #CDD7C4;
  --accent: #0B3B2E; --on-accent: #F1F6E9; --accent-soft: #DCEDB9;
  --pop: #C8F169; --on-pop: #0B2A20;
  --feature: #0B3B2E; --on-feature: #F1F6E9; --on-feature-muted: #AEC8B9; --feature-line: #2C5A4A;
  --contour: #C3CFB9; --feature-contour: #C8F169;
  --r: 14px; --pill: 999px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07120E; --surface: #0D1B16; --tint: #10221B; --ink: #EAF1E6; --muted: #9DB0A4; --line: #1E3229;
    --accent: #C8F169; --on-accent: #0B2A20; --accent-soft: #1F3D2B;
    --pop: #C8F169; --on-pop: #0B2A20;
    --feature: #0E4133; --on-feature: #F1F6E9; --on-feature-muted: #AEC8B9; --feature-line: #2E6452;
    --contour: #1B2E26; --feature-contour: #C8F169;
  }
}
:root[data-theme="dark"] {
  --bg: #07120E; --surface: #0D1B16; --tint: #10221B; --ink: #EAF1E6; --muted: #9DB0A4; --line: #1E3229;
  --accent: #C8F169; --on-accent: #0B2A20; --accent-soft: #1F3D2B;
  --pop: #C8F169; --on-pop: #0B2A20;
  --feature: #0E4133; --on-feature: #F1F6E9; --on-feature-muted: #AEC8B9; --feature-line: #2E6452;
  --contour: #1B2E26; --feature-contour: #C8F169;
}

h1, h2, h3 { font-weight: 720; letter-spacing: -0.025em; }
.section .wrap > h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section.tight .wrap > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Shape rule: buttons and chips are pills, cards are 14px, inputs are 10px */
.btn { border-radius: var(--pill); padding: 13px 26px; font-weight: 650; }
.btn.small { padding: 8px 18px; }
.menu-btn, .copy-btn, .pills a, .fee-flag, .tabs, .tabs button { border-radius: var(--pill); }
.field input, .field select, .field textarea { border-radius: 10px; }

/* Header on small phones: the call to action moves into the menu */
.nav-cta { display: none; }
@media (max-width: 960px) {
  .nav.open .nav-cta {
    display: flex; justify-content: center; margin-top: 12px; padding: 14px 20px; border: 0;
    border-radius: var(--pill); background: var(--accent); color: var(--on-accent); font-weight: 650;
  }
}
@media (max-width: 480px) { .bar-actions .btn { display: none; } }

/* Dark colour blocks: home hero, page heroes, not-found */
.hero, .page-hero, .notfound { background: var(--feature); color: var(--on-feature); border-bottom: 0; }
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); font-weight: 760; line-height: 1; letter-spacing: -0.035em; }
.hero .hl { color: var(--pop); }
.hero .eyebrow, .page-hero .kicker, .notfound .kicker { color: var(--pop); }
.hero .sub, .page-hero .lede, .notfound .lede, .page-hero .byline { color: var(--on-feature-muted); }
.hero .sub { font-size: clamp(1.15rem, 1.7vw, 1.4rem); max-width: 42ch; margin-top: 0; }
.hero-grid { margin-top: clamp(28px, 4vw, 52px); align-items: start; }
:is(.hero, .page-hero, .notfound) .btn { background: var(--pop); color: var(--on-pop); border-color: var(--pop); }
:is(.hero, .page-hero, .notfound) .btn.ghost { background: transparent; color: var(--on-feature); border-color: var(--feature-line); }
:is(.hero, .page-hero, .notfound) .btn.ghost:hover { background: rgb(255 255 255 / .08); }
:is(.hero, .page-hero, .notfound) :focus-visible { outline-color: var(--pop); }
.hero .terms { color: var(--ink); }
.hero .terms :focus-visible { outline-color: var(--accent); }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }

.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 740; letter-spacing: -0.03em; }
.page-hero .crumbs, .page-hero .crumbs a { color: var(--on-feature-muted); }
.page-hero .crumbs a:hover { color: var(--on-feature); }
.page-hero .crumbs li + li::before { color: var(--feature-line); }

.contour {
  inset: 0; width: 100%;
  -webkit-mask-image: linear-gradient(to right, rgb(0 0 0 / .3), #000 75%); mask-image: linear-gradient(to right, rgb(0 0 0 / .3), #000 75%);
}
@media (max-width: 900px) {
  .contour { width: 100%; opacity: .75; -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / .35), #000); mask-image: linear-gradient(to bottom, rgb(0 0 0 / .35), #000); }
}
.cell.feature .contour { width: 100%; }

/* Moving band of deal types */
.marquee { background: var(--pop); color: var(--on-pop); overflow: hidden; padding-block: 15px; }
.marquee .track { display: flex; width: max-content; font: 700 1rem/1.2 var(--display); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; }
.marquee span { padding-inline: 22px; white-space: nowrap; }
.marquee span::after { content: "/"; margin-left: 44px; opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .marquee .track { animation: slide 46s linear infinite; }
  @keyframes slide { to { transform: translateX(-50%); } }
}

/* Service cells */
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--ink); margin-bottom: 6px; }
.ico svg { width: 25px; height: 25px; }
.cell.feature .ico { background: var(--pop); color: var(--on-pop); margin-bottom: auto; }
.cell.feature { gap: 14px; }
.cell.ruled { background: var(--pop); background-image: none; border-color: var(--pop); color: var(--on-pop); }
.cell.ruled p, .cell.ruled .more { color: var(--on-pop); }
.cell.ruled .ico { background: var(--on-pop); color: var(--pop); }
a.cell.ruled:hover { border-color: var(--pop); filter: brightness(1.04); }
.svc-grid .cell.feature .ico { margin-bottom: 6px; }

/* Statement heading with marker underline */
.section .wrap > h2.statement { font-size: clamp(2.3rem, 6.2vw, 4.9rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 17ch; }
.ul { background: linear-gradient(var(--pop), var(--pop)) 0 90% / 100% .26em no-repeat; }
:root[data-theme="dark"] .ul { color: var(--pop); background: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ul { color: var(--pop); background: none; } }
.compare thead .us { background: var(--feature); color: var(--on-feature); }

/* Outlined numerals on real sequences */
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps h3::before, .stage h2::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px;
  font: 800 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--display); letter-spacing: 0;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}
.stages { counter-reset: step; }
.stage { counter-increment: step; }
.stage h2::before { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }
.fee-flag { background: var(--pop); color: var(--on-pop); padding: 6px 13px; }

/* Big audience list */
.biglist { font-size: clamp(1.7rem, 4vw, 3.2rem); font-weight: 720; }
.biglist a { color: var(--ink); background: linear-gradient(var(--pop), var(--pop)) 0 92% / 0 .22em no-repeat; transition: background-size .25s ease; }
.biglist a:hover { color: var(--ink); background-size: 100% .22em; }

/* Closing band in lime, footer in forest */
.cta-band { background: var(--pop); color: var(--on-pop); }
.cta-band h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 760; letter-spacing: -0.035em; }
.cta-band p { color: var(--on-pop); opacity: .82; }
.cta-band .btn { background: var(--on-pop); color: var(--pop); border-color: var(--on-pop); }
.cta-band :focus-visible { outline-color: var(--on-pop); }

.site-footer { background: var(--feature); color: var(--on-feature); border-top: 0; }
.site-footer .brand { color: var(--on-feature); }
.site-footer .mark::before { background: var(--pop); }
.site-footer .mark::after { border-color: var(--on-feature); }
.site-footer .foot-about p, .site-footer address, .site-footer .foot-grid a, .site-footer .linklike, .site-footer .foot-legal { color: var(--on-feature-muted); }
.site-footer .foot-grid a:hover, .site-footer .linklike:hover { color: var(--on-feature); }
.site-footer .foot-legal { border-top-color: var(--feature-line); }
.site-footer :focus-visible { outline-color: var(--pop); }

/* Full-screen menu on phones and tablets */
.nav-meta { display: none; }
@media (max-width: 960px) {
  html.menu-open { overflow: hidden; }
  html.menu-open .site-header { background: var(--feature); border-bottom-color: var(--feature-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.menu-open .site-header .brand { color: var(--on-feature); }
  html.menu-open .site-header .mark::before { background: var(--pop); }
  html.menu-open .site-header .mark::after { border-color: var(--on-feature); }
  html.menu-open .menu-btn { color: var(--on-pop); background: var(--pop); border-color: var(--pop); }
  .nav.open {
    height: calc(100vh - 68px); height: calc(100dvh - 68px); max-height: none; align-content: start;
    background: var(--feature); border-bottom: 0; overscroll-behavior: contain;
    padding: 10px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .nav.open > a, .nav.open .nav-item > a {
    font-family: var(--display); font-weight: 720; font-size: 1.7rem; line-height: 1.15; letter-spacing: -0.025em;
    color: var(--on-feature); border-top-color: var(--feature-line); padding-block: 17px;
  }
  .nav.open .nav-item > a { padding-bottom: 10px; }
  .nav.open .submenu { padding: 0 0 16px; gap: 2px; }
  .nav.open .submenu a { color: var(--on-feature-muted); font-size: 1.08rem; padding: 7px 0; }
  .nav.open .submenu a:hover, .nav.open .submenu a[aria-current="page"] { color: var(--pop); background: transparent; box-shadow: none; }
  .nav.open > a[aria-current="page"], .nav.open .nav-item > a[aria-current="true"] { color: var(--pop); }
  .nav.open .nav-cta {
    font-family: var(--body); font-size: 1.08rem; letter-spacing: 0; line-height: 1.2;
    background: var(--pop); color: var(--on-pop); margin-top: 22px; padding: 16px 20px; border-top: 0;
  }
  .nav.open .nav-meta { display: grid; gap: 2px; margin-top: 22px; }
  .nav.open .nav-meta a { padding: 5px 0; border-top: 0; color: var(--on-feature-muted); font-size: 1rem; box-shadow: none; }
  .nav.open :focus-visible { outline-color: var(--pop); }
}
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .nav.open { animation: menu-in .22s ease both; }
  @keyframes menu-in { from { opacity: .001; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 960px) {
  .nav.open > a, .nav.open .nav-item > a { font-size: 1.5rem; padding-block: 14px; }
  .nav.open .nav-item > a { padding-bottom: 8px; }
  .nav.open .submenu { padding-bottom: 12px; gap: 0; }
  .nav.open .submenu a { padding: 6px 0; }
  .nav.open .nav-meta { order: 1; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--feature-line); }
  .nav.open .nav-cta { order: 2; position: sticky; bottom: 0; margin-top: 16px; box-shadow: 0 0 0 14px var(--feature), 0 30px 0 14px var(--feature); }
}

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.tier { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.8vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.tier h3 { font-size: 1.25rem; }
.tier-price { font: 760 clamp(2.3rem, 4vw, 3.3rem)/1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.tier-price span { display: block; font: 600 .9rem/1.2 var(--body); letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.tier-range { font-weight: 600; font-size: .95rem; }
.tier-desc { color: var(--muted); }
.tier .ticks { font-size: .98rem; gap: 10px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.tier-fee { margin-top: auto; padding-top: 12px; font-weight: 650; font-size: .95rem; }
.tier .btn { align-self: flex-start; margin-top: 6px; }
.tier.featured { background: var(--feature); border-color: var(--feature); color: var(--on-feature); }
.tier.featured .tier-price { color: var(--pop); }
.tier.featured .tier-price span, .tier.featured .tier-desc { color: var(--on-feature-muted); }
.tier.featured .ticks { border-top-color: var(--feature-line); }
.tier.featured .ticks li::before { border-color: var(--pop); }
.tier.featured .btn { background: var(--pop); color: var(--on-pop); border-color: var(--pop); }
.tier.featured :focus-visible { outline-color: var(--pop); }
@media (max-width: 900px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.price-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 22px; padding: 9px 16px; border: 1px solid var(--feature-line); border-radius: var(--pill); font: 700 1.05rem/1.3 var(--display); color: var(--pop); }
.price-chip span { font: 500 .95rem/1.3 var(--body); color: var(--on-feature-muted); }
@media (max-width: 480px) { .price-chip { border-radius: var(--r); } }
.price-table .num { font: 700 1.1rem/1.3 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table tbody th { color: var(--ink); font-weight: 600; width: 38%; }
.price-table tbody th a { color: var(--ink); }
.section .wrap > .fineprint { margin-top: 22px; }
.terms .row { grid-template-columns: 96px minmax(0, 1fr); }
