/* ClearMint Essentials — marketing site design system (2026-10 redesign).
   Source of truth: design_handoff_clearmint_site/ClearMint Site.dc.html + its README.
   Every public page loads only this stylesheet (plus Manrope). Markup helpers that emit these
   classes live in scripts/site-parts.mjs (generated pages) and are mirrored by hand in core pages. */

:root {
  --bg: #FAFCFB; --surface: #FFFFFF; --ink: #172A24; --ink-2: #52665E; --body: #2C3E37;
  --emerald: #075E46; --btn: #0E3B2F; --btn-hover: #064C39; --deep: #073D30; --footer: #0E2A22;
  --mint: #DDF3E8; --border: #D6E2DB; --rule: #EAF0EC; --gold: #B58A3B; --silver: #E9ECEB;
  --pearl: #F3F4F1; --graphite: #1C2522; --pos: #08745B; --neg: #A54438; --xfer: #2F5874;
  --xfer-bg: #EEF3F7; --badge-bg: #FFF3D8; --badge-ink: #765218; --input-bd: #CFD8D2;
  --shadow: 0 20px 60px rgba(7, 61, 48, .10); --shadow-soft: 0 20px 60px rgba(7, 61, 48, .08);
  --pad-x: clamp(20px, 5.5vw, 80px); --pad-y: clamp(56px, 8vw, 112px); --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.55; font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, picture { max-width: 100%; }
a { color: var(--emerald); }
a:hover { color: var(--btn-hover); }
button, input, select, textarea { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--emerald); outline-offset: 3px;
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.wrap--narrow { max-width: 1100px; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.wrap--text { max-width: 960px; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.sec { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.sec--tight { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.sec--top0 { padding-top: 0; }
.sec--white { background: #fff; border-top: 1px solid var(--border); }
.sec--mist { background: #F1F5F3; border-top: 1px solid var(--border); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 320px)), 1fr)); gap: clamp(32px, 5vw, 72px); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.col-a { grid-column: 1 / -1; } .col-b { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .grid-12 .col-a { grid-column: 1 / 5; } .grid-12 .col-b { grid-column: 6 / 13; }
  .grid-12 .col-q { grid-column: 1 / 8; } .grid-12 .col-q2 { grid-column: 9 / 13; }
  .grid-12 .col-c1 { grid-column: 1 / 6; } .grid-12 .col-c2 { grid-column: 7 / 13; }
}
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); align-items: flex-start; }
.row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.spacer { flex: 1; }

/* ---------- type ---------- */
.kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 0; font-weight: 400; }
.kicker--light { color: #A7D8BE; }
.h1 { margin: 0; font-weight: 500; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.03; letter-spacing: -.045em; color: #0E2A22; max-width: 13ch; text-wrap: balance; }
.h1--home { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.05; max-width: 14ch; }
.h1--wide { max-width: 18ch; }
.h1--q { max-width: 22ch; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; }
.h2 { margin: 0; font-weight: 500; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.h2--xl { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.05; }
.h3 { margin: 0; font-weight: 500; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.h4 { margin: 0 0 6px; font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.muted { color: var(--ink-2); }
.small { font-size: 14.5px; color: var(--ink-2); }
.gold-rule { display: block; width: 48px; height: 2px; background: var(--gold); border: 0; margin: 0; }
.prose { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 68ch; }
.prose > * { margin: 0 0 1em; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.025em; line-height: 1.15; color: var(--ink); margin: 1.6em 0 .5em; }
.prose h3 { font-weight: 600; font-size: 20px; letter-spacing: -.01em; color: var(--ink); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: .3em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { color: var(--ink-2); font-weight: 600; font-size: 14.5px; border-bottom-color: var(--border); }
.prose code { background: var(--pearl); border-radius: 4px; padding: 1px 5px; font-size: .9em; }
.prose strong { color: var(--ink); font-weight: 600; }
.tbl-scroll { overflow-x: auto; position: relative; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--btn); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .14s; }
.btn:hover { background: var(--btn-hover); color: #fff; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn--white { background: #fff; color: var(--deep); }
.btn--white:hover { background: var(--mint); color: var(--deep); }
.btn--white-g { background: #fff; color: var(--graphite); }
.btn--outline { background: #fff; color: var(--ink); border: 1px solid var(--ink); height: 48px; padding: 0 20px; }
.btn--outline:hover { background: var(--pearl); color: var(--ink); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--border); font-weight: 500; }
.btn--ghost:hover { background: var(--pearl); color: var(--ink); }
.btn--block { width: 100%; }
.link-arrow { border: 0; background: transparent; padding: 0; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; }
.link-arrow:hover { color: var(--emerald); }
.link-em { color: var(--emerald); }

/* ---------- badge ---------- */
.demo-badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--badge-ink); background: var(--badge-bg); border-radius: 6px; padding: 4px 9px; white-space: nowrap; line-height: 1.4; }
.save-badge { font-size: 13px; background: #F2E6C9; color: #5E4710; border-radius: 12px; padding: 2px 10px; }

/* ---------- header ---------- */
.sh { position: sticky; top: 0; z-index: 30; background: rgba(250, 252, 251, .96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.sh-in { max-width: var(--max); margin: 0 auto; height: 76px; padding: 0 var(--pad-x); display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); }
.sh-brand { font-weight: 600; font-size: 21px; color: #073D30; letter-spacing: -.02em; white-space: nowrap; text-decoration: none; }
.sh-brand:hover { color: #073D30; }
.sh-brand span { color: var(--ink-2); }
.sh-nav { display: none; gap: 28px; }
.sh-nav a { padding: 6px 0; font-size: 15px; color: var(--ink); white-space: nowrap; text-decoration: none; border-bottom: 2px solid transparent; }
.sh-nav a:hover { color: var(--emerald); }
.sh-nav a[aria-current="page"] { border-bottom-color: var(--emerald); }
.sh-sign { display: none; color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.sh-sign:hover { color: var(--emerald); }
.sh-burger { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sh-menu { display: none; flex-direction: column; padding: 8px 20px 16px; border-top: 1px solid var(--border); background: #fff; }
.sh.open .sh-menu { display: flex; }
.sh-menu a { padding: 14px 0; font-size: 17px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.sh-menu a:last-child { border-bottom: 0; }
.sh-menu a[aria-current="page"] { color: var(--emerald); font-weight: 600; }
@media (max-width: 479px) {
  .sh-in { gap: 12px; }
  .sh-brand { font-size: 18px; }
  .sh .btn { padding: 0 12px; font-size: 14px; }
}
@media (max-width: 359px) { .sh-brand span { display: none; } }
@media (min-width: 1100px) {
  .sh-nav, .sh-sign { display: flex; }
  .sh-burger, .sh.open .sh-menu { display: none; }
}

/* ---------- art (responsive <picture> backdrops) ---------- */
.art { position: absolute; inset: 0; pointer-events: none; }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art--right img { object-position: right center; }
.art--left img { object-position: left center; }
.art--bottom img { object-position: center bottom; }
.art--rb img { object-position: right bottom; }
.art--mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%); mask-image: linear-gradient(90deg, transparent, #000 25%); }

/* ---------- hero (templates B–K) ---------- */
.hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border); }
.hero--pearl { background: #F6F7F5; }
.hero--mist { background: var(--pearl); }
.hero .art--hero { left: 45%; opacity: .3; }
@media (min-width: 900px) { .hero .art--hero { left: 60%; opacity: 1; } }
@media (min-width: 1100px) { .hero .art--hero { left: 42%; } }
.hero-in { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 104px) var(--pad-x); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero-in .lede { max-width: 40ch; }
@media (min-width: 900px) { .hero-copy { max-width: calc(60vw - 120px); } }
@media (min-width: 1100px) { .hero-copy { max-width: 640px; } }
.hero--center .hero-in { text-align: center; align-items: center; max-width: 1100px; }
.hero--center .h1 { max-width: 16ch; }
.hero--center .lede { max-width: 52ch; }

/* breadcrumb */
.crumbs { font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin: 0; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--emerald); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.crumbs .sep { color: #93A39C; }

/* ---------- home hero (template A) ---------- */
.hero-home { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border); }
.hero-home .art--home { left: auto; width: 100%; opacity: .22; }
@media (min-width: 900px) { .hero-home .art--home { width: 44%; opacity: 1; } }
@media (min-width: 1100px) { .hero-home .art--home { width: 62%; } }
.hero-home .hero-in { padding: clamp(48px, 7vw, 96px) var(--pad-x) clamp(56px, 8vw, 112px); gap: 24px; }
.hero-home .lede { max-width: 30ch; }
.coin { position: absolute; height: auto; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(23, 42, 36, .28)); }
.coin--hero { width: 150px; right: -30px; top: 18px; opacity: 0; transform: translateX(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.coin--hero.in { opacity: .5; transform: none; }
@media (min-width: 900px) { .coin--hero { width: 240px; right: 4%; top: 14%; } .coin--hero.in { opacity: 1; } }
@media (min-width: 1100px) { .coin--hero { width: min(30vw, 420px); right: 16%; } }
@media (prefers-reduced-motion: reduce) { .coin--hero { opacity: .5; transform: none; } @media (min-width: 900px) { .coin--hero { opacity: 1; } } }

/* ---------- panels / cards ---------- */
.panel { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(18px, 2.6vw, 32px); }
.panel--soft { box-shadow: var(--shadow-soft); }
.panel--flush { padding: 0; overflow-x: auto; }
.box-mint { background: var(--mint); border-radius: 12px; padding: 18px 20px; }
.box-mint p { margin: 0; }
.box-white { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.ruled { border-top: 1px solid var(--ink); }
.ruled-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.lrow { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule); font-size: 15.5px; }

/* three-column "what / who / why" (template C) */
.why3 { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--ink); }
.why3 > div { padding: 24px 0; border-bottom: 1px solid var(--border); }
.why3 h2 { margin: 0 0 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 400; }
.why3 p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--body); }
@media (min-width: 1100px) {
  .why3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .why3 > div { border-bottom: 0; padding: 28px 32px 8px 0; }
  .why3 > div + div { border-left: 1px solid var(--border); padding-left: 32px; }
}

/* numbered steps */
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); counter-reset: st; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 17px; line-height: 1.5; counter-increment: st; }
.steps li::before { content: counter(st); font-weight: 600; color: var(--emerald); width: 24px; flex: none; }

/* link lists (feature index, hubs, related) */
.linklist { border-top: 1px solid var(--ink); }
.linklist a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 16.5px; }
.linklist a:hover { color: var(--emerald); }
.linklist .tag { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.linklist a .sub { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.group-head { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin: 0; font-weight: 400; }
.group-head + .linklist { border-top: 0; }
.index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px 48px; }

/* accordions (FAQ) — <details> so they work without JS */
.acc { border-top: 1px solid var(--border); }
.acc--dark { border-top-color: var(--ink); }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary { list-style: none; display: flex; gap: 12px; align-items: center; padding: 18px 0; cursor: pointer; font-weight: 500; letter-spacing: -.02em; font-size: 21px; color: var(--ink); }
.acc--sm summary { font-size: 17px; letter-spacing: 0; padding: 16px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--ink-2); flex: none; }
.acc details[open] summary::after { content: "\2212"; }
.acc .a { margin: 0 0 18px; color: var(--ink-2); font-size: 16px; max-width: 64ch; }
.acc .a p { margin: 0 0 .7em; } .acc .a p:last-child { margin: 0; }

/* ---------- bands ---------- */
.band-em { position: relative; overflow: hidden; background: var(--deep); color: #fff; }
.band-em .art { opacity: .25; }
@media (min-width: 900px) { .band-em .art { opacity: 1; } }
.band-em .art--home { opacity: .35; }
@media (min-width: 1100px) { .band-em .art--home { opacity: 1; } }
.band-em-in { position: relative; max-width: var(--max); margin: 0 auto; padding: var(--pad-y) var(--pad-x); display: flex; justify-content: flex-end; }
.band-em-in--left { justify-content: flex-start; padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.band-em-copy { max-width: 520px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.band-em h2 { color: #fff; }
.band-em p { margin: 0; font-size: 18px; line-height: 28px; color: var(--mint); }
.band-em .h2--big { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; }

.band-close { position: relative; overflow: hidden; background: linear-gradient(90deg, #F1F4F2, #E4E8E6); border-top: 1px solid var(--border); }
.band-close .coin { right: -40px; bottom: -14%; width: 200px; filter: drop-shadow(0 30px 40px rgba(23, 42, 36, .3)); opacity: .55; }
@media (min-width: 900px) { .band-close .coin { right: 8%; width: min(34vw, 460px); opacity: 1; } }
.band-close-in { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--pad-x); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.band-close h2 { margin: 0; font-weight: 500; font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; }
.band-close p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 34ch; }
.band-close .note { font-size: 14.5px; }

.band-pearl { position: relative; overflow: hidden; background: var(--pearl); border-top: 1px solid var(--border); }
.band-pearl-in { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--pad-x) clamp(96px, 12vw, 180px); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.band-pearl h2 { margin: 0 0 6px; font-weight: 500; font-size: 28px; letter-spacing: -.02em; }
.band-pearl p { margin: 0; color: var(--ink-2); }

.band-dark { position: relative; overflow: hidden; background: var(--deep); color: #fff; }
.band-dark .kicker { color: #A7D8BE; }
.band-dark p { color: var(--mint); }
.band-graphite { position: relative; overflow: hidden; background: var(--graphite); color: #fff; }
.band-graphite .coin { right: -80px; top: 50%; transform: translateY(-50%); width: 200px; opacity: .25; filter: none; }
@media (min-width: 900px) { .band-graphite .coin { right: 8%; width: min(28vw, 380px); opacity: .95; } }
.band-graphite p { color: #D3DCD8; }
.wave { height: clamp(120px, 16vw, 240px); position: relative; overflow: hidden; margin-top: clamp(24px, 4vw, 48px); }

.phil3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; border-top: 1px solid #1E5A49; }
.phil3 > div { padding: 24px 24px 8px 0; }
.phil3 h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.phil3 p { margin: 0; color: var(--mint); font-size: 16px; }
@media (min-width: 1100px) { .phil3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .phil3 > div:not(:last-child) { border-right: 1px solid #1E5A49; } }

/* ---------- footer ---------- */
.sf { background: var(--footer); color: #C9DCD3; }
.sf a { color: #C9DCD3; text-decoration: none; }
.sf a:hover { color: #fff; }
.sf-in { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad-x) 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; font-size: 15px; }
.sf-brand { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) { .sf-brand { grid-column: 1 / -1; } }
@media (min-width: 1280px) { .sf-brand { grid-column: span 2; } }
.sf-brand .name { font-weight: 500; letter-spacing: -.02em; font-size: 26px; color: #fff; }
.sf-brand p { margin: 0; max-width: 36ch; }
.sf-col { display: flex; flex-direction: column; gap: 10px; }
.sf-col h2 { margin: 0; color: #fff; font-weight: 600; font-size: 15px; }
.sf-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sf-bar { max-width: var(--max); margin: 0 auto; padding: 18px var(--pad-x) 32px; border-top: 1px solid #1E3D32; font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.sf-bar .social { display: flex; gap: 14px; }
.sf-lang { background: transparent; color: #C9DCD3; border: 1px solid #2A5446; border-radius: 6px; height: 32px; padding: 0 8px; font-size: 14px; }
.sf-lang option { color: #172A24; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 600; }
.input, .field input, .field textarea, .field select { height: 48px; border: 1px solid var(--input-bd); border-radius: 8px; padding: 0 12px; font-size: 16px; font-weight: 400; background: #fff; color: var(--ink); width: 100%; }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 120px; }
.field [aria-invalid="true"] { border-color: var(--neg); }
.err { font-size: 13.5px; color: var(--neg); font-weight: 500; }
.search { display: flex; align-items: center; gap: 10px; height: 56px; border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 0 16px; width: 100%; max-width: 640px; }
.search input { border: 0; outline: 0; font-size: 16.5px; flex: 1; min-width: 0; background: transparent; color: var(--ink); }
.search:focus-within { outline: 2px solid var(--emerald); outline-offset: 3px; }
.search--sm { height: 44px; border-radius: 8px; padding: 0 12px; min-width: 220px; max-width: none; width: auto; }
.search--sm input { font-size: 15px; }
.select { height: 44px; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 0 12px; font-size: 15px; color: var(--ink); }
.status-note { background: var(--badge-bg); color: var(--badge-ink); border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.status-ok { background: var(--mint); color: var(--deep); border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.choice { text-align: left; border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: var(--ink); transition: background .2s, border-color .2s; }
.choice b { font-weight: 600; font-size: 15px; }
.choice span { font-size: 13.5px; color: var(--ink-2); }
.choice[aria-checked="true"] { border-color: var(--emerald); background: var(--mint); }
.choice--dark[aria-checked="true"] { background: var(--btn); border-color: var(--emerald); color: #fff; }
.choice--dark[aria-checked="true"] span { color: #fff; opacity: .85; }

/* segmented radio (scenario, plan) */
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 9px; padding: 3px; background: var(--bg); flex-wrap: wrap; }
.seg button { height: 40px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-checked="true"] { background: var(--btn); color: #fff; }

/* tabs */
.tabs { display: flex; gap: clamp(16px, 3vw, 44px); border-bottom: 1px solid var(--border); overflow-x: auto; align-items: center; scrollbar-width: thin; }
.tabs [role="tab"] { flex: none; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 18px 0; font-size: 16px; color: var(--ink); cursor: pointer; transition: color .18s; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--emerald); color: var(--emerald); font-weight: 600; }
.tabs--sm [role="tab"] { font-size: 15.5px; }
.tabs .count { color: var(--ink-2); font-weight: 400; }
.tabpanel { min-height: 560px; padding: clamp(32px, 4vw, 56px) 0; }
.tabpanel[hidden] { display: none; }

/* ---------- demo widgets ---------- */
.stat-row { display: flex; gap: 16px 36px; flex-wrap: wrap; align-items: flex-end; }
.stat .l { font-size: 14px; color: var(--ink-2); }
.stat .v { font-weight: 500; letter-spacing: -.02em; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.stat .v--md { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.stat .v--sm { font-size: 24px; font-weight: 600; }
.stat--div { border-left: 1px solid var(--border); padding-left: clamp(16px, 2.6vw, 40px); }
.flash { border-radius: 6px; padding: 0 4px; margin-left: -4px; transition: background .6s, color .35s; }
.flash.on { background: var(--badge-bg); }
.pos { color: var(--pos); } .neg { color: var(--neg); } .xfer { color: var(--xfer); } .em { color: var(--emerald); }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .yl { position: absolute; left: 0; transform: translateY(-50%); text-align: right; font-size: 12.5px; color: var(--ink-2); }
.chart .xl { position: absolute; bottom: 0; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.chart .mk { position: absolute; transform: translateX(-50%); text-align: center; font-size: 13px; line-height: 1.25; white-space: nowrap; background: rgba(255, 255, 255, .85); padding: 0 3px; border-radius: 3px; }
.chart .mk strong { display: block; font-weight: 600; color: var(--ink); }
.chart polyline { transition: all .35s; }
.scroll-x { overflow-x: auto; position: relative; }
.legend { display: flex; gap: 10px 28px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.legend strong { font-weight: 600; }
.legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.foot-line { border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 6px; }
.tgrid { display: grid; align-items: center; border-bottom: 1px solid var(--rule); font-size: 15px; min-height: 50px; gap: 0 8px; }
.tgrid.th { border-bottom-color: var(--border); font-size: 14px; color: var(--ink-2); min-height: 44px; }
.tgrid .r { text-align: right; }
.tgrid.xfer-row { background: var(--xfer-bg); }
.tgrid.plan-row { background: #FFF8E8; }
.tgrid.rev-row { background: #F6FBF8; }
.th-btn { border: 0; background: transparent; padding: 0; font-size: 14px; color: var(--ink-2); cursor: pointer; text-align: inherit; }
.chip { font-size: 13.5px; padding: 3px 9px; border-radius: 12px; background: #F3EBDA; color: #6B5420; }
.chip--inc { background: var(--mint); color: var(--emerald); }
.chip--xfer { background: #E6EEF5; color: var(--xfer); }
.bar { height: 8px; background: var(--rule); border-radius: 4px; position: relative; overflow: hidden; display: block; }
.bar > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--emerald); border-radius: 4px; transition: width .25s; }
.num-dot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.flow-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; transition: opacity .3s; }
/* Prototype dims locked steps to .45 opacity; that drops text below 4.5:1, so locked steps keep
   full-contrast text and signal "not yet" through a muted panel and dot instead. */
.flow-step.locked .panel { background: var(--pearl); box-shadow: none; }
.flow-step.locked .num-dot { border-color: var(--border); color: var(--ink-2); }
.flow-steps { display: flex; flex-direction: column; gap: 48px; }
.mbars { display: flex; gap: 6px; align-items: flex-end; height: 200px; border-bottom: 1px solid var(--border); }
.mbars > div { flex: 1; display: flex; gap: 2px; align-items: flex-end; height: 100%; }
.mbars i { flex: 1; display: block; border-radius: 2px 2px 0 0; }
.mlabels { display: flex; gap: 6px; margin-top: 6px; }
.mlabels span { flex: 1; text-align: center; font-size: 12px; color: var(--ink-2); min-width: 0; }
.range { flex: 1; accent-color: var(--emerald); min-width: 0; }
.check { width: 18px; height: 18px; accent-color: var(--emerald); }
.flowbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.flowbar > div { padding: 18px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.flowbar .n { font-size: 13px; color: var(--emerald); font-weight: 600; }
.flowbar .t { font-weight: 600; margin-top: 4px; }
.flowbar .d { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.def-rows > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 32px; border-top: 1px solid var(--border); padding: 22px 0; }
@media (min-width: 640px) { .def-rows > div { grid-template-columns: minmax(160px, 240px) 1fr; } }
.def-rows h2, .def-rows h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.def-rows p { margin: 0; font-size: 16.5px; color: var(--body); line-height: 1.6; }

/* pricing (template F) */
.plans { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.plan { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px clamp(16px, 3vw, 40px); text-align: center; }
@media (min-width: 700px) { .plan + .plan { border-left: 1px solid var(--border); } }
.plan .k { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.plan .big { font-weight: 500; letter-spacing: -.02em; font-size: clamp(56px, 6vw, 80px); line-height: 1; }
.plan .big span { font-size: 24px; color: var(--ink-2); }
.plan .sub { font-size: 15.5px; color: var(--ink-2); min-height: 24px; }
.plan .trial { font-weight: 500; letter-spacing: -.02em; font-size: 21px; }
.plan .btn { width: min(100%, 340px); }
.incl > div { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 16px; min-height: 60px; align-items: center; border-top: 1px solid var(--rule); padding: 10px 0; }
@media (min-width: 640px) { .incl > div { grid-template-columns: minmax(180px, 1fr) 2fr 40px; } }
.incl .t { font-weight: 500; letter-spacing: -.02em; font-size: 21px; }
.incl .d { font-size: 15px; color: var(--ink-2); grid-column: 1; }
@media (min-width: 640px) { .incl .d { grid-column: auto; } }
.incl .c { color: var(--emerald); text-align: center; grid-row: 1; grid-column: 2; }
@media (min-width: 640px) { .incl .c { grid-row: auto; grid-column: auto; } }
.price-art { position: absolute; left: -180px; top: -120px; width: 420px; height: 420px; border-radius: 50%; overflow: hidden; opacity: 0; }
@media (min-width: 1100px) { .price-art { opacity: .9; } }
.price-art img { width: auto; height: 100%; max-width: none; position: absolute; right: 0; top: 0; }

/* compare tables */
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.cmp th, .cmp td { padding: 14px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.cmp thead th { font-size: 14px; color: var(--ink-2); font-weight: 600; border-bottom: 1px solid var(--ink); }
.cmp td:first-child { font-weight: 500; }
.cmp .yes { color: var(--pos); font-weight: 600; }

/* utility spacing */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; } .m0 { margin: 0; }
.maxw-68 { max-width: 68ch; }
.hidden { display: none !important; }

/* cookie consent banner — markup comes from js/cookie-consent.js (legal gate for analytics) */
.cm-cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000; padding: 16px var(--pad-x) calc(16px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -12px 40px rgba(7, 61, 48, .10); font-family: Manrope, system-ui, sans-serif; }
.cm-cookie-banner[hidden] { display: none; }
.cm-cookie-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.cm-cookie-copy { flex: 1 1 280px; min-width: 0; }
.cm-cookie-title { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.cm-cookie-desc { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.cm-cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cm-cookie-banner .btn { height: 44px; background: #fff; color: var(--ink); border: 1px solid var(--border); }
.cm-cookie-banner .btn:hover { background: var(--pearl); color: var(--ink); }
.cm-cookie-banner .btn.primary { background: var(--btn); color: #fff; border-color: var(--btn); }
.cm-cookie-banner .btn.primary:hover { background: var(--btn-hover); }
@media (max-width: 639px) { .cm-cookie-actions { width: 100%; } .cm-cookie-actions .btn { flex: 1; } }

/* ---------- content blocks used by core pages ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 32px; border-top: 1px solid var(--ink); }
.feat-grid > div { padding: 22px 0; border-bottom: 1px solid var(--border); }
.feat-grid h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.feat-grid p { margin: 0; color: var(--ink-2); font-size: 16px; }
.feat-grid a { color: inherit; text-decoration: none; }
.feat-grid a:hover h3 { color: var(--emerald); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.checklist li { display: flex; gap: 10px; align-items: baseline; }
.checklist li::before { content: "✓"; color: var(--emerald); font-weight: 600; flex: none; }
.checklist--light li { color: var(--mint); }
.checklist--light li::before { color: #A7D8BE; }
.pill-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row li { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.steps--titled li strong { font-weight: 600; margin-right: 4px; }
.price-mini { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: min(100%, 240px); flex: 1; }
.price-mini .amt { margin: 0; font-weight: 500; letter-spacing: -.02em; font-size: 44px; line-height: 1.1; }
.price-mini .amt span { font-size: 18px; color: var(--ink-2); }
.price-mini .checklist { font-size: 15px; margin: 6px 0 8px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.cardlink { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.cardlink:hover { border-color: var(--emerald); box-shadow: var(--shadow-soft); color: var(--ink); }
.cardlink h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.cardlink p { margin: 0; color: var(--ink-2); font-size: 15px; }
.cardlink .meta { font-size: 13px; color: var(--ink-2); letter-spacing: .04em; }
.index-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); column-gap: 48px; border-top: 0; }
.band-pearl .art { top: 30%; }
