/* Kubinu public site, prototype. Shared tokens, chrome and components for every public page.
   Brand: map paper, carbon, laterite; Gabarito for headlines, IBM Plex Sans and Mono for the rest
   (Designs/kubinu/02-colour, 03-type). Light by default; [data-theme="dark"] flips every token. */

@font-face { font-family: "Gabarito"; src: url("../assets/fonts/gabarito-wght.61a712c463a9.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../assets/fonts/plex-sans-400.77bc02670657.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../assets/fonts/plex-sans-500.f7016cd446d2.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../assets/fonts/plex-sans-600.196e3cbc5fee.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../assets/fonts/plex-mono-400.79936b18df9f.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../assets/fonts/plex-mono-500.b1c8a895f5fd.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #EEEDE7; --carbon: #1E1E24; --laterite: #E2553B; --laterite-deep: #B33F27; --dry: #B9B3A3; --water: #3F7FA6;
  --bg: var(--paper); --fg: var(--carbon); --muted: #57554F; --line: rgba(30, 30, 36, .14); --line-2: rgba(30, 30, 36, .28);
  --card: #F6F5F1; --card-2: #E4E2DA; --accent: #B33F27; --btn-accent: #B33F27; --on-accent: #fff;
  --inv-bg: var(--carbon); --inv-fg: var(--paper); --inv-muted: #ABA89F; --inv-line: rgba(238, 237, 231, .18);
  --ok: #2F6B47; --ok-bg: rgba(47, 107, 71, .12); --warn: #8A5A00; --warn-bg: rgba(178, 120, 0, .14); --alert: #B3261E; --alert-bg: rgba(179, 38, 30, .1);
  --shadow: 0 1px 2px rgba(30, 30, 36, .05), 0 10px 30px rgba(30, 30, 36, .07); --shadow-lg: 0 30px 70px rgba(30, 30, 36, .2);
  --grain-blend: multiply; --grain-op: .06;
  --head: "Gabarito", Arial, sans-serif; --body: "Plex Sans", Arial, sans-serif; --mono: "Plex Mono", Consolas, monospace;
  --gutter: clamp(16px, 5vw, 72px); --max: 1240px; --r: 8px; --top-h: 68px; --ease: cubic-bezier(.2, .7, .2, 1);
  /* names the live demo's explore.css reads */
  --logo-ink: currentColor; --logo-accent: var(--laterite);
  --border: var(--line); --surface: var(--card); --surface-2: var(--card-2); --font-body: var(--body); --font-mono: var(--mono);
  --font-display: var(--head); --tile-off: #E6E2D8; --tile-on: var(--fg); --accent-text: var(--accent); --focus: var(--laterite);
  --band-bg: var(--inv-bg); --band-fg: var(--inv-fg); --band-muted: var(--inv-muted); --band-border: var(--inv-line); --error: var(--alert); --success: var(--ok);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #141418; --fg: #EEEDE7; --muted: #ABA89F; --line: rgba(238, 237, 231, .14); --line-2: rgba(238, 237, 231, .3);
  --card: #1C1C22; --card-2: #26262D; --accent: #F08A73; --btn-accent: #F08A73; --on-accent: #1E1E24;
  --inv-bg: var(--paper); --inv-fg: var(--carbon); --inv-muted: #57554F; --inv-line: rgba(30, 30, 36, .18);
  --ok: #7FC79B; --ok-bg: rgba(127, 199, 155, .14); --warn: #E6B44C; --warn-bg: rgba(230, 180, 76, .14); --alert: #FF8A80; --alert-bg: rgba(255, 138, 128, .12);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3); --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
  --grain-blend: screen; --grain-op: .04; --tile-off: #2A2A31;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--body); overflow-x: hidden;
  -webkit-tap-highlight-color: transparent; transition: background-color .4s, color .4s; }
@view-transition { navigation: auto; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -.015em; line-height: 1.05; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--laterite); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--laterite); color: #fff; }
.mono, .label { font-family: var(--mono); font-feature-settings: "tnum"; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 70; opacity: var(--grain-op); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.crosses { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M60 55v10M55 60h10' stroke='%23B9B3A3' stroke-width='1'/%3E%3C/svg%3E"); }

/* ---------- type ---------- */
.wrap { max-width: var(--max); margin: 0 auto; }
.eyebrow { font: 500 12.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.h1 { font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -.03em; line-height: .98; }
.h2 { font-size: clamp(34px, 4.6vw, 66px); letter-spacing: -.025em; }
.h3 { font-size: clamp(20px, 1.7vw, 25px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 640px; margin-top: 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tile-mark { width: 34px; height: 34px; flex: none; color: currentColor; }
.tile-mark .t-off { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 1.6 1.4; opacity: .55; }
.tile-mark .t-lift { fill: var(--laterite); }

/* ---------- buttons and chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 6px;
  font: 500 15.5px/1.1 var(--body); text-decoration: none; background: var(--fg); color: var(--bg); border: 1px solid var(--fg); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--laterite-deep); border-color: var(--laterite-deep); color: #fff; }
.btn:active { transform: scale(.97); }
.btn-accent { background: var(--btn-accent); border-color: var(--btn-accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn .i { width: 18px; height: 18px; }
.btn-arrow { display: inline-flex; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent); text-decoration: none; }
.link .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover .i { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; cursor: pointer; font-size: 14.5px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.chip:hover { border-color: var(--fg); }
.chip:active { transform: scale(.96); }
.chip.is-on, .chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 500 12.5px/1.5 var(--body); white-space: nowrap;
  background: var(--card-2); color: var(--fg); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.waiting, .badge.accent { background: color-mix(in srgb, var(--laterite) 14%, transparent); color: var(--accent); }
.badge.alert { background: var(--alert-bg); color: var(--alert); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }

/* ---------- header ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--top-h); display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter); color: var(--fg); transition: color .35s, background-color .35s, box-shadow .35s;
  background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
.top.scrolled { box-shadow: 0 1px 0 var(--line); }
.logo { display: block; height: 34px; color: inherit; flex: none; }
.logo-svg, .logo .logo-h { height: 100%; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 6px; border: 0; background: none;
  font-size: 15px; text-decoration: none; cursor: pointer; opacity: .85; transition: opacity .2s, background .2s; }
.nav-link:hover, .drop.open .nav-link { opacity: 1; background: color-mix(in srgb, var(--fg) 7%, transparent); }
.nav-link.is-on { opacity: 1; box-shadow: inset 0 -2px 0 var(--laterite); border-radius: 0; }
.nav-link .i { width: 15px; height: 15px; transition: transform .25s; }
.drop { position: relative; }
.drop.open .nav-link .i { transform: rotate(180deg); }
.drop-panel { position: absolute; left: -12px; top: calc(100% + 12px); width: min(620px, 80vw); padding: 10px; border-radius: 12px; z-index: 5;
  background: var(--bg); color: var(--fg); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.drop.open .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop-list a { display: flex; gap: 12px; padding: 12px; border-radius: 8px; text-decoration: none; transition: background .15s; }
.drop-list a:hover { background: var(--card); }
.drop-list .tile-mark { width: 26px; height: 26px; margin-top: 2px; }
.drop-list b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.drop-list small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drop-all { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 14px 12px 8px; border-top: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--accent); text-decoration: none; }
.drop-all .i { width: 17px; height: 17px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.signin { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; text-decoration: none; opacity: .8; padding: 0 6px; height: 40px; }
.signin:hover { opacity: 1; }
.signin .i { width: 18px; height: 18px; }
.theme { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: transform .3s var(--ease), border-color .2s; }
.theme:hover { border-color: currentColor; }
.theme:active { transform: rotate(-30deg) scale(.92); }
.theme .i { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease); }
.theme .i-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="dark"] .theme .i-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="dark"] .theme .i-moon { opacity: 1; transform: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; margin-right: -8px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; right: 17px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; right: 11px; transform: rotate(-45deg); }

/* phones: full-screen menu that grows out of the button */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); color: var(--fg); padding: calc(var(--top-h) + 12px) 20px calc(20px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0 at calc(100% - 38px) 34px); visibility: hidden; transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s .6s; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 38px) 34px); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1); }
.menu-open { overflow: hidden; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav > *, .menu-foot { opacity: 0; transform: translateY(26px); transition: opacity .3s, transform .3s; }
.menu-open .menu-nav > *, .menu-open .menu-foot { opacity: 1; transform: none; transition: opacity .5s calc(.18s + var(--k) * .05s), transform .6s var(--ease) calc(.18s + var(--k) * .05s); }
.m-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font: 800 clamp(30px, 9vw, 40px)/1.1 var(--head);
  letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.m-link::-webkit-details-marker { display: none; }
.m-link .i { width: 26px; height: 26px; transition: transform .3s; }
.m-group[open] .m-link .i { transform: rotate(180deg); }
.m-group ul { list-style: none; padding: 6px 0 12px; }
.m-group li a { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 17px; text-decoration: none; }
.m-group .tile-mark { width: 22px; height: 22px; }
.m-group .m-all { color: var(--accent); font-weight: 500; gap: 8px; }
.menu-foot { margin-top: auto; padding-top: 28px; }
.m-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-ways a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 10px; background: var(--card);
  border: 1px solid var(--line); font-size: 14px; text-decoration: none; }
.m-ways a:first-child { background: var(--btn-accent); border-color: var(--btn-accent); color: var(--on-accent); }
.m-signin { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 14px; border-radius: 10px; border: 1px solid var(--line-2);
  text-decoration: none; font-size: 15px; }
.m-coord { margin-top: 18px; text-align: center; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }

/* ---------- footer, action bar, prototype pill ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 80px) var(--gutter) 28px; font-size: 14.5px; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1fr 1.2fr; gap: 32px; }
.foot .logo { height: 30px; }
.foot-tag { margin-top: 14px; font: 700 20px/1.2 var(--head); }
.foot-legal { margin-top: 10px; color: var(--muted); font-size: 13px; max-width: 300px; }
.foot-h { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot ul .i { display: inline; width: 13px; height: 13px; vertical-align: -1px; }
.foot-contact p + p { margin-top: 8px; }
.foot-office { color: var(--muted); }
.foot-base { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; font: 12px/1.6 var(--mono); color: var(--muted); }
.proto-link { color: var(--accent); }
.actionbar { display: none; }
.proto-pill { position: fixed; left: 16px; bottom: 16px; z-index: 39; padding: 7px 12px; border-radius: 999px; font: 500 11.5px/1 var(--mono);
  letter-spacing: .04em; text-decoration: none; background: var(--fg); color: var(--bg); opacity: .8; transition: opacity .3s, transform .3s; }
.proto-pill:hover { opacity: 1; }
.proto-pill.off { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* ---------- page parts ---------- */
main { display: block; }
.section { padding: clamp(72px, 10vw, 136px) var(--gutter); position: relative; }
.section-head { max-width: 860px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.page-hero { padding: calc(var(--top-h) + clamp(32px, 6vw, 80px)) var(--gutter) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 13px/1.4 var(--mono); color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .5; }
.hero-mark { position: absolute; right: 0; top: 0; width: clamp(120px, 16vw, 220px); height: auto; color: var(--fg); opacity: .9; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2vw, 28px); border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
a.card:hover { border-color: var(--laterite); transform: translateY(-3px); box-shadow: var(--shadow); }
a.card:active { transform: scale(.985); }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card .num { position: absolute; right: 18px; top: 18px; font: 12px/1 var(--mono); color: var(--muted); }
.card .q { font: 13px/1.5 var(--mono); color: var(--accent); }
.card .more { margin-top: auto; padding-top: 6px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--laterite); transform: rotate(20deg); }
.band { background: var(--inv-bg); color: var(--inv-fg); }
.band .muted, .band .lead { color: var(--inv-muted); }
.band .eyebrow { color: var(--laterite); }
.band .btn { background: var(--inv-fg); color: var(--inv-bg); border-color: var(--inv-fg); }
.band .btn:hover { background: var(--laterite-deep); border-color: var(--laterite-deep); color: #fff; }
.band .btn-ghost { background: transparent; color: var(--inv-fg); border-color: var(--inv-line); }
.cta-band { padding: clamp(56px, 8vw, 104px) var(--gutter); }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 60px); }
.cta-band .ctas { justify-content: flex-end; margin: 0; }

/* accordions (FAQ, offerings) */
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 17.5px; line-height: 1.35; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat;
  transition: transform .35s var(--ease), background-color .2s; }
.acc[open] summary::after { transform: rotate(135deg); background-color: var(--card-2); }
.acc .acc-body { padding: 0 0 22px; color: var(--muted); max-width: 720px; }
.faq-list { border-top: 1px solid var(--line); }
details.acc::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
details.acc[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* forms */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label, .field > .flabel { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 var(--body); color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357554F' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--laterite) 22%, transparent); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--alert); }
.field .err { font-size: 13.5px; color: var(--alert); display: none; }
.field.has-error .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form { display: grid; gap: 18px; }
.flash { padding: 12px 16px; border-radius: 6px; font-size: 15px; border: 1px solid transparent; }
.flash.ok { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.flash.error { background: var(--alert-bg); color: var(--alert); border-color: color-mix(in srgb, var(--alert) 30%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 8px;
  cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.choice:hover { border-color: var(--fg); }
.choice:active { transform: scale(.985); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--laterite) 7%, var(--bg)); box-shadow: inset 0 0 0 1px var(--accent); }
.choice:has(input:focus-visible) { outline: 2px solid var(--laterite); outline-offset: 2px; }
.choice .tile-mark { width: 26px; height: 26px; }
.choice b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.choice small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 44px 0 12px; scroll-margin-top: calc(var(--top-h) + 24px); }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--muted); }

/* reveals: content is visible without the script; with it, it rises in once */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }
[data-words] .w { display: inline-block; }
.js [data-reveal] .w { opacity: 0; transform: translateY(.45em); transition: opacity .7s, transform .7s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.js [data-reveal].in .w { opacity: 1; transform: none; }

/* swipe rows on phones: cards snap one by one, the next one peeks in */
.swipe-dots { display: none; }

/* ---------- phones and tablets ---------- */
@media (max-width: 1100px) {
  .nav, .signin span { display: none; }
  .signin { padding: 0 4px; }
  .burger { display: block; }
  .top-actions { margin-left: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 1101px) { .menu { display: none; } }
@media (max-width: 820px) {
  :root { --top-h: 60px; }
  body { font-size: 16px; }
  .top { gap: 12px; }
  .logo { height: 28px; }
  .top-cta { display: none; }
  .theme { width: 38px; height: 38px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band .wrap { grid-template-columns: 1fr; gap: 24px; }
  .cta-band .ctas { justify-content: flex-start; }
  .ctas .btn { flex: 1 1 auto; }
  .hero-mark { display: none; }
  .acc summary { font-size: 16.5px; padding: 18px 0; }
  .proto-pill { display: none; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .foot-grid { gap: 28px 20px; }
  .swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: start; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .swipe-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width .3s var(--ease), background .3s; }
  .swipe-dots i.on { width: 22px; background: var(--laterite); }
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.9fr; gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-top: 1px solid var(--line);
    transition: transform .4s var(--ease); }
  .actionbar.off { transform: translateY(110%); }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 10px;
    font-size: 12px; font-weight: 500; text-decoration: none; transition: transform .15s, background .2s; }
  .actionbar a:active { transform: scale(.94); background: var(--card-2); }
  .actionbar .i { width: 22px; height: 22px; }
  .actionbar .ab-main { flex-direction: row; gap: 9px; font-size: 15px; background: var(--btn-accent); color: var(--on-accent); }
  .actionbar .ab-main:active { background: var(--btn-accent); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .rv, .js [data-reveal] .w { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
