/* Saveli — site styles
   Layout: left-aligned editorial column on a soft green-white ground; one
   marigold "coin" accent reserved for the brand mark and key highlights. */
:root {
  --bg: #F6F8F5;
  --surface: #FFFFFF;
  --surface-2: #EDF3EF;
  --ink: #13241F;
  --muted: #4C5E57;
  --line: #D6E0DA;
  --brand: #0D5C4D;
  --brand-strong: #094438;
  --brand-ink: #FFFFFF;
  --brand-soft: #DDEEE6;
  --coin: #F2A516;
  --coin-soft: #FDF0D5;
  --coin-ink: #6B4700;
  --info: #2F5E8C;
  --info-soft: #E3ECF6;
  --warn-ink: #8A3B12;
  --warn-soft: #FBE9DF;
  --shadow: 0 1px 2px rgba(19, 36, 31, .06), 0 8px 24px rgba(19, 36, 31, .06);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-4: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1613;
    --surface: #12201C;
    --surface-2: #172924;
    --ink: #E6EFEA;
    --muted: #A2B5AD;
    --line: #263B35;
    --brand: #6CCFB0;
    --brand-strong: #8FDDC4;
    --brand-ink: #062A22;
    --brand-soft: #173B32;
    --coin: #F5B53A;
    --coin-soft: #3A2C0F;
    --coin-ink: #F8CD78;
    --info: #9CC2EA;
    --info-soft: #1A2A3B;
    --warn-ink: #F3B08D;
    --warn-soft: #3A2217;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1613;
  --surface: #12201C;
  --surface-2: #172924;
  --ink: #E6EFEA;
  --muted: #A2B5AD;
  --line: #263B35;
  --brand: #6CCFB0;
  --brand-strong: #8FDDC4;
  --brand-ink: #062A22;
  --brand-soft: #173B32;
  --coin: #F5B53A;
  --coin-soft: #3A2C0F;
  --coin-ink: #F8CD78;
  --info: #9CC2EA;
  --info-soft: #1A2A3B;
  --warn-ink: #F3B08D;
  --warn-soft: #3A2217;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--coin); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  font-weight: 700;
}
h1 { font-size: var(--step-4); letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.25rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--brand); color: var(--brand-ink); padding: .5rem 1rem; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--brand-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: grid; gap: 1rem; }
.stack-lg { display: grid; gap: 1.75rem; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 40rem; }
.eyebrow {
  font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--bg); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; color: var(--brand); text-decoration: none; padding-block: .5rem; }
.brand:hover { color: var(--brand); }
.brand svg { width: 6.4rem; height: auto; display: block; }
.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  font: inherit; font-weight: 600; font-size: var(--step--1);
  padding: .5rem .8rem; border-radius: 999px; cursor: pointer;
}
.nav-toggle svg { width: 1.1rem; height: 1.1rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-strong); }
.site-nav .nav-cta {
  background: var(--brand); color: var(--brand-ink); margin-left: .5rem;
}
.site-nav .nav-cta:hover { background: var(--brand-strong); color: var(--brand-ink); }
.site-nav .nav-cta[aria-current="page"] { background: var(--brand-strong); color: var(--brand-ink); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1rem;
    box-shadow: var(--shadow);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav a { padding: .75rem .9rem; border-radius: var(--radius-sm); font-size: 1rem; }
  .site-nav .nav-cta { margin: .5rem 0 0; text-align: center; }
}
/* Without JS the menu stays visible as a wrapped row */
@media (max-width: 760px) {
  html:not(.js) .site-nav { position: static; box-shadow: none; border: 0; padding: 0 0 .75rem; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.35rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-strong); color: var(--brand-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: .75rem; max-width: 44rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; min-width: 0; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy h1 .coin-underline {
  background: linear-gradient(transparent 68%, var(--coin-soft) 68%, var(--coin-soft) 92%, transparent 92%);
  padding-inline: .05em;
}
.hero-note { font-size: var(--step--1); color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; max-width: 36rem; }
.hero-note svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .2rem; color: var(--brand); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

.page-hero { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-hero .stack { max-width: 46rem; }

/* ---------- Status journey (signature component) ---------- */
.journey {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 1.75rem); min-width: 0;
}
.journey::before {
  content: ""; position: absolute; inset: auto -18% -30% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--brand-soft) 0%, transparent 70%); z-index: -1;
}
.journey-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.journey-title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); }
.journey-coin { width: 2.25rem; height: 2.25rem; flex: none; }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.journey li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .9rem; position: relative; padding-bottom: 1.1rem; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.4rem; bottom: .15rem; width: 2px; background: var(--line);
}
.journey li:last-child::before { display: none; }
.journey .dot {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--brand); border: 1px solid var(--line);
}
.journey .dot svg { width: 1.1rem; height: 1.1rem; }
.journey .step-body { display: grid; gap: .2rem; min-width: 0; padding-top: .15rem; }
.journey .step-top { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.journey .step-top strong { font-weight: 700; }
.journey .step-body p { color: var(--muted); font-size: var(--step--1); line-height: 1.5; }

.pill {
  display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .6rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5; white-space: nowrap;
}
.pill::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.pill-tracked { background: var(--info-soft); color: var(--info); }
.pill-pending { background: var(--coin-soft); color: var(--coin-ink); }
.pill-confirmed { background: var(--brand-soft); color: var(--brand-strong); }
.pill-paid { background: var(--brand); color: var(--brand-ink); }
.pill-declined { background: var(--warn-soft); color: var(--warn-ink); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  counter-increment: step; display: grid; gap: .6rem; align-content: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem;
}
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink);
}
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.5rem; }
.feature { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.feature .icon {
  width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-strong);
}
.feature .icon svg { width: 1.35rem; height: 1.35rem; }
.feature div { display: grid; gap: .35rem; min-width: 0; }
.feature p { color: var(--muted); }
@media (max-width: 720px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Two column split ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Check list ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: .85rem; }
.checklist li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .75rem; align-items: start; }
.checklist svg { width: 1.5rem; height: 1.5rem; margin-top: .05rem; }
.checklist .yes svg { color: var(--brand); }
.checklist .no svg { color: var(--warn-ink); }

/* ---------- Callout / panel ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.callout {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .85rem; align-items: start;
  background: var(--coin-soft); color: var(--ink); border-radius: var(--radius); padding: 1.1rem 1.25rem;
}
.callout svg { width: 1.5rem; height: 1.5rem; color: var(--coin-ink); }
.callout p + p { margin-top: .4rem; }

/* ---------- Status table ---------- */
.status-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.status-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 1rem 1.25rem; border-top: 1px solid var(--line); align-items: start; }
.status-row:first-child { border-top: 0; }
.status-row p { color: var(--muted); }
@media (max-width: 560px) { .status-row { grid-template-columns: minmax(0, 1fr); gap: .5rem; } }

/* ---------- Stage detail (How it works) ---------- */
.stages { display: grid; gap: 1rem; counter-reset: stage; }
.stage {
  counter-increment: stage;
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 1.75rem);
}
.stage::before {
  content: counter(stage); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-strong);
}
.stage > div { display: grid; gap: .6rem; min-width: 0; }
.stage p, .stage li { color: var(--muted); }
.stage ul { display: grid; gap: .35rem; }
@media (max-width: 560px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .stage::before { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; max-width: 50rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; position: relative;
  font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: .6rem; height: .6rem;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 1.25rem 1.15rem; color: var(--muted); display: grid; gap: .6rem; }

/* ---------- Offers ---------- */
.offer-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.offer-fields div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .35rem; align-content: start; }
.offer-fields dt { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); }
.offer-fields dd { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .offer-fields { grid-template-columns: minmax(0, 1fr); } }

.offer-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip {
  font: inherit; font-size: .9rem; font-weight: 600; padding: .45rem .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.offer-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem;
  display: grid; gap: .85rem; grid-template-rows: auto auto 1fr auto;
}
.offer-card .offer-top { display: flex; justify-content: space-between; gap: .75rem; align-items: start; }
.offer-card h3 { font-size: 1.15rem; }
.offer-card .offer-cat { font-size: .8rem; color: var(--muted); font-weight: 600; }
.offer-rate { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--brand-strong); line-height: 1.1; }
.offer-rate span { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--muted); display: block; margin-top: .2rem; }
.offer-meta { display: grid; gap: .25rem; font-size: .88rem; color: var(--muted); margin: 0; }
.offer-meta div { display: flex; justify-content: space-between; gap: .75rem; }
.offer-meta dt { font-weight: 600; }
.offer-meta dd { margin: 0; text-align: right; color: var(--ink); }
.offer-card ul { font-size: .88rem; color: var(--muted); display: grid; gap: .2rem; }
.offer-card .btn { width: 100%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card { display: grid; gap: 1.25rem; }
.contact-item { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .9rem; align-items: start; }
.contact-item .icon { width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; }
.contact-item .icon svg { width: 1.2rem; height: 1.2rem; }
.contact-item div { display: grid; gap: .15rem; min-width: 0; }
.contact-item strong { font-family: var(--font-display); }
.contact-item a, .contact-item address { overflow-wrap: anywhere; font-style: normal; }
.copy-btn {
  justify-self: start; font: inherit; font-size: .85rem; font-weight: 600; color: var(--brand);
  background: none; border: 0; padding: .1rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .75rem .85rem; min-height: 3rem;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field [aria-invalid="true"] { border-color: var(--warn-ink); }
.field .error { font-size: .85rem; color: var(--warn-ink); font-weight: 600; }
.check { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .65rem; align-items: start; font-size: .95rem; }
.check input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: .9rem 1rem; font-weight: 600; }
.form-status.ok { background: var(--brand-soft); color: var(--brand-strong); }
.form-status.err { background: var(--warn-soft); color: var(--warn-ink); }
.form-status a { color: inherit; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.legal-toc { position: sticky; top: 5.5rem; font-size: .92rem; }
.legal-toc p { font-weight: 700; margin-bottom: .6rem; font-family: var(--font-display); }
.legal-toc ol { padding-left: 1.1rem; display: grid; gap: .35rem; color: var(--muted); }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--brand); text-decoration: underline; }
.prose { max-width: 46rem; min-width: 0; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; padding-top: .5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { display: grid; gap: .45rem; }
.prose li::marker { color: var(--brand); }
.prose .meta { color: var(--muted); font-size: var(--step--1); }
.prose address { font-style: normal; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .95rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: .75rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { border-top: 0; background: var(--surface-2); font-family: var(--font-display); }
@media (max-width: 880px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand); color: var(--brand-ink); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -3rem; top: -3rem; width: 9rem; height: 9rem; border-radius: 50%;
  background: var(--coin); opacity: .9;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: inherit; }
.cta-band p { opacity: .9; margin-top: .5rem; max-width: 36rem; }
.cta-band .btn { background: var(--brand-ink); color: var(--brand); }
.cta-band .btn:hover { background: var(--bg); color: var(--brand-strong); }
@media (max-width: 720px) {
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band::after { width: 6rem; height: 6rem; right: -2rem; top: -2rem; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: clamp(3rem, 6vw, 5rem); padding-block: 3rem 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid > * { min-width: 0; }
.footer-brand { display: grid; gap: .9rem; align-content: start; }
.footer-brand svg { width: 6rem; height: auto; color: var(--brand); }
.footer-brand p { color: var(--muted); max-width: 22rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; color: var(--muted); margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--muted); overflow-wrap: anywhere; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; color: var(--muted); font-size: .88rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.notfound { text-align: left; display: grid; gap: 1.25rem; max-width: 36rem; padding-block: clamp(3rem, 8vw, 6rem); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band, .legal-toc { display: none !important; }
  body { background: #fff; color: #000; }
}
.form-row { align-items: start; }
.field label.check { font-weight: 400; }
