/* Layout concept: a calm ledger. Porcelain ground, deep petrol ink, one brass accent
   reserved for money figures and the primary action. Content sits in a 1160px column. */
:root {
  --paper: #F5F7F6;
  --surface: #FFFFFF;
  --surface-2: #ECF1EF;
  --ink: #0F2A3D;
  --ink-soft: #3F5560;
  --muted: #64767D;
  --line: #D8E1DE;
  --brand: #0D6B5C;
  --brand-strong: #0A5348;
  --brand-tint: #DCEEE9;
  --brass: #A87A2E;
  --brass-tint: #F4EBDB;
  --on-brand: #FFFFFF;
  --good: #1F7A4D;
  --warn: #9A6A0B;
  --bad: #B23B3B;
  --shadow: 0 1px 2px rgba(15, 42, 61, .06), 0 8px 24px rgba(15, 42, 61, .07);

  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: clamp(2.2rem, 4.6vw, 3.4rem);
  --radius: 10px;
  --col: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1820; --surface: #10232D; --surface-2: #142C38; --ink: #E6EEEC; --ink-soft: #B9C8C6;
    --muted: #8DA1A4; --line: #23404C; --brand: #3DB39C; --brand-strong: #59C7B1; --brand-tint: #133A35;
    --brass: #D8AE62; --brass-tint: #2E2717; --on-brand: #06201B; --good: #4CC287; --warn: #E0B04A; --bad: #EE7B7B;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1820; --surface: #10232D; --surface-2: #142C38; --ink: #E6EEEC; --ink-soft: #B9C8C6;
  --muted: #8DA1A4; --line: #23404C; --brand: #3DB39C; --brand-strong: #59C7B1; --brand-tint: #133A35;
  --brass: #D8AE62; --brass-tint: #2E2717; --on-brand: #06201B; --good: #4CC287; --warn: #E0B04A; --bad: #EE7B7B;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }

.wrap {
  max-width: var(--col); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tint { background: var(--surface-2); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 60ch; }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 var(--step-0)/1 var(--font-body); cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav .btn { padding: 10px 18px; font-size: .95rem; }
.nav .btn--primary, .nav .btn--primary:hover { color: var(--on-brand); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 4px; }
}

/* Demo banner */
.demo-banner { background: var(--brass-tint); color: var(--ink); font-size: var(--step--1); }
.demo-banner .wrap { padding-block: 8px; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.assurances { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 4px 0 0; list-style: none; color: var(--ink-soft); font-size: var(--step--1); }
.assurances li { display: flex; gap: 8px; align-items: center; }
.assurances svg { color: var(--brand); flex: none; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Portrait slots (client photos) */
.portrait { margin: 0; position: relative; display: grid; place-items: center; min-width: 0; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait-fallback { display: none; }
.portrait--empty .portrait-fallback { display: grid; gap: 4px; text-align: center; color: var(--muted); font-weight: 600; }
.portrait--empty .portrait-fallback small { font-weight: 400; font-family: ui-monospace, monospace; font-size: .75rem; }
.portrait--rings { aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, var(--brand-tint) 0 58%, transparent 58.5% 62%, var(--brand) 62.5% 63.5%, transparent 64% 70%, var(--brass) 70.5% 71.2%, transparent 71.7%); }
.portrait--rings img { border-radius: 50%; width: 76%; height: 76%; }
.portrait--frame { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: 18px; background: var(--brand-tint); box-shadow: 18px 18px 0 var(--brand); overflow: hidden; }
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait--frame { max-width: 320px; box-shadow: 12px 12px 0 var(--brand); } .portrait--rings { max-width: 320px; } }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.highlight { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.highlight svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.highlight p { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 960px) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .highlights { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.testimonial { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 14px; }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.45; }

.calc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .calc-wrap { grid-template-columns: 1fr; } }

/* EMI calculator card */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; min-width: 0; }
.calc-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-row { display: grid; gap: 8px; }
.calc-row label { display: flex; justify-content: space-between; font-weight: 600; font-size: var(--step--1); color: var(--ink-soft); }
.calc-row output { color: var(--ink); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--brand); }
.calc-result { border-top: 1px dashed var(--line); padding-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc-result div { display: grid; gap: 2px; }
.calc-result span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.calc-result strong { font-variant-numeric: tabular-nums; font-size: var(--step-1); }
.calc-result .emi strong { color: var(--brass); font-family: var(--font-display); font-size: var(--step-2); }
@media (max-width: 480px) { .calc-result { grid-template-columns: 1fr 1fr; } .calc-result .emi { grid-column: 1 / -1; } }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 28px; }
.trust-item { display: grid; gap: 4px; }
.trust-item strong { font-family: var(--font-display); font-size: var(--step-1); }
.trust-item span { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 800px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: "Step " counter(step); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.steps p { color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 18px; align-content: start; }
.product dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding-block: 16px; border-block: 1px solid var(--line); }
.product dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.product dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.product p { color: var(--ink-soft); }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }

/* Eligibility */
.elig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.elig-col { background: var(--surface); border-radius: 16px; padding: 28px; border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230D6B5C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.docs-list { color: var(--ink-soft); font-size: var(--step--1); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 760px) { .elig { grid-template-columns: 1fr; } }

/* Plan */
.plan { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.plan-card { background: var(--ink); color: var(--paper); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
:root[data-theme="dark"] .plan-card { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan-card { background: var(--surface); color: var(--ink); border: 1px solid var(--line); } }
.plan-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-price strong { font-family: var(--font-display); font-size: 3rem; color: var(--brass); font-variant-numeric: tabular-nums; line-height: 1; }
.plan-price s { opacity: .6; }
.plan-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan-card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan-card li::before { content: "✓"; color: var(--brass); font-weight: 700; }
.plan-card .fine { font-size: var(--step--1); opacity: .75; }
.plan-card .btn--primary { background: var(--brass); color: #1B1407; }
.plan-card .btn--primary:hover { background: color-mix(in srgb, var(--brass) 85%, white); color: #1B1407; }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.partner { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; }
.partner small { color: var(--muted); }
.placeholder-note { grid-column: 1 / -1; border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 20px; color: var(--muted); }

/* Promise grid */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.promise { display: grid; gap: 8px; align-content: start; }
.promise p { color: var(--ink-soft); }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.contact-card svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); }
.contact-card p { overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--ink-soft); max-width: 70ch; }

/* Forms */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: var(--step--1); color: var(--ink-soft); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field .error { font-size: .8rem; color: var(--bad); min-height: 0; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--bad); }
.input-prefix { display: flex; }
.input-prefix span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; background: var(--surface-2); color: var(--ink-soft); font-weight: 600; }
.input-prefix input { border-radius: 0 8px 8px 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: var(--step--1); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-strong); }
.choice input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: var(--step--1); color: var(--ink-soft); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }

/* OTP */
.otp-boxes { display: flex; gap: 10px; }
.otp-boxes input { width: 48px; height: 56px; text-align: center; font-size: 1.4rem; font-weight: 700; padding: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 400px) { .otp-boxes { gap: 6px; } .otp-boxes input { width: 40px; height: 50px; } }
.otp-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--step--1); color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkish[disabled] { color: var(--muted); cursor: default; text-decoration: none; }
.demo-code { background: var(--brass-tint); border-radius: 8px; padding: 10px 14px; font-size: var(--step--1); }

/* Stepper */
.apply-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.stepper { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
.stepper li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: var(--step--1); }
.stepper li .dot { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .8rem; font-variant-numeric: tabular-nums; background: var(--surface); }
.stepper li.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.stepper li.active .dot { border-color: var(--brand); color: var(--brand); }
.stepper li.done { color: var(--ink-soft); }
.stepper li.done .dot { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.step-panel { display: grid; gap: 24px; }
.step-panel header { display: grid; gap: 6px; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 860px) {
  .apply-layout { grid-template-columns: 1fr; }
  .stepper { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .stepper li { grid-template-columns: 24px auto; white-space: nowrap; padding: 8px 10px; }
  .stepper li .dot { width: 24px; height: 24px; }
}

/* Review / summary */
.summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); min-width: 0; }
.summary dt { color: var(--muted); font-size: var(--step--1); }
.summary dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 620px) { .summary { grid-template-columns: 1fr; } }

.notice { border-radius: 10px; padding: 14px 16px; font-size: var(--step--1); display: grid; gap: 4px; }
.notice--good { background: color-mix(in srgb, var(--good) 12%, var(--surface)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--good) 35%, transparent); }
.notice--warn { background: color-mix(in srgb, var(--warn) 12%, var(--surface)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }
.notice--bad { background: color-mix(in srgb, var(--bad) 10%, var(--surface)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); }

/* Status */
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.pill--submitted { background: var(--brand-tint); color: var(--brand-strong); }
.pill--review { background: var(--brass-tint); color: var(--warn); }
.pill--approved { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }
.pill--declined { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; margin: 6px 0 0 5px; background: var(--line); }
.timeline li.done::before { background: var(--brand); }
.timeline li.now::before { background: var(--brass); box-shadow: 0 0 0 4px var(--brass-tint); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }

/* Page header for inner pages */
.page-head { padding-block: clamp(40px, 6vw, 72px) 24px; }
.page-head .wrap { display: grid; gap: 12px; }
.narrow { max-width: 760px; }
.prose { display: grid; gap: 16px; max-width: 72ch; color: var(--ink-soft); }
.prose h2 { font-size: var(--step-2); color: var(--ink); margin-top: 16px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.draft-flag { background: var(--brass-tint); border-radius: 10px; padding: 12px 16px; font-size: var(--step--1); color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--paper) 80%, transparent); margin-top: 0; }
:root[data-theme="dark"] .site-footer { background: #071118; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #071118; } }
.site-footer .wrap { padding-block: 56px 32px; display: grid; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin: 0 0 12px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #FFFFFF; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer .logo { color: #FFFFFF; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .8rem; display: grid; gap: 10px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); z-index: 100; font-size: var(--step--1); max-width: calc(100% - 32px); }

/* Quick apply card */
.quick { padding-block: 0 clamp(40px, 6vw, 72px); }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.quick-copy { display: grid; gap: 18px; min-width: 0; }
.quick-copy em { font-style: italic; color: var(--brand); }
.quick-points { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; color: var(--ink-soft); }
.quick-points li { padding-left: 26px; position: relative; }
.quick-points li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-tint); box-shadow: inset 0 0 0 4px var(--brand); }
.quick-card { display: grid; gap: 14px; border: 1.5px solid var(--brand); min-width: 0; }
.quick-card h2 { font-size: var(--step-2); }
.quick-card input[type="range"] { width: 100%; accent-color: var(--brand); }
.quick-card .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) { .quick-grid { grid-template-columns: 1fr; } }
