/* Scova Labs website. Same tokens as the shared identity layer (design/identity/scova-identity.css):
   lime is the one highlight, warn and risk for states only, no glow, every number carries its unit.
   Fonts are self-hosted; never link fonts.googleapis.com. */
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/geist-mono-latin-ext-d09800.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/geist-mono-latin-b291d8.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 200 500; font-display: swap; src: url(../fonts/lexend-latin-ext-83ea95.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 200 500; font-display: swap; src: url(../fonts/lexend-latin-45b4c6.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend Exa'; font-style: normal; font-weight: 200 400; font-display: swap; src: url(../fonts/lexend-exa-latin-ext-a2f3ac.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend Exa'; font-style: normal; font-weight: 200 400; font-display: swap; src: url(../fonts/lexend-exa-latin-8a2a5f.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Share Tech Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/share-tech-mono-latin-de0fcc.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #080909;
  --surface: #121413;
  --surface-2: #1A1D1C;
  --line: rgba(240,241,237,0.12);
  --line-strong: rgba(240,241,237,0.28);
  --text: #F0F1ED;
  --muted: #929A96;
  --signal: #B4FC00;
  --signal-text: #B4FC00;
  --signal-ink: #080909;
  --warn: #FF7A00;
  --risk: #FF2D55;
  --id-ink: 240, 241, 237;
  --hatch: repeating-linear-gradient(135deg, rgba(var(--id-ink), 0.09) 0 1px, transparent 1px 6px);
  --display: "Lexend Exa", "Lexend", system-ui, sans-serif;
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --term: "Share Tech Mono", "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --reveal: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F3F3EF;
  --surface: #E9EAE5;
  --surface-2: #DFE0DA;
  --line: rgba(8,9,9,0.12);
  --line-strong: rgba(8,9,9,0.3);
  --text: #0B0C0C;
  --muted: #5C6360;
  --signal: #6DC200;
  --signal-text: #4A7200;
  --signal-ink: #0B0C0C;
  --id-ink: 8, 9, 9;
  --hatch: repeating-linear-gradient(135deg, rgba(var(--id-ink), 0.12) 0 1px, transparent 1px 6px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 300; line-height: 1.55; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 34px; }
a { color: inherit; }
img, svg, canvas { display: block; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--signal-ink); }
h1, h2, h3, h4 { font-weight: 200; margin: 0; text-wrap: balance; letter-spacing: -0.015em; line-height: 1.15; }
[id] { scroll-margin-top: 80px; }
p { margin: 0; }
b, strong { font-weight: 400; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--text); color: var(--bg); padding: 8px 12px; font-family: var(--mono); font-size: 12px; }
.skip:focus { top: 8px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 900px) { .wrap { padding-inline: 40px; } }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); }
.term { font-family: var(--term); letter-spacing: 0.06em; }
.muted { color: var(--muted); }
.sig { color: var(--signal-text); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* wordmark: crossbar-less A drawn as a lambda */
.lam { height: 0.7em; width: 0.7em; overflow: visible; display: inline-block; }
.lam path { fill: none; stroke: currentColor; stroke-linejoin: miter; }
.mark { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 300; font-size: 16px; letter-spacing: 0.32em; text-decoration: none; white-space: nowrap; }
.mark .lam { margin-right: 0.12em; } .mark .lam path { stroke-width: 7.5; }
.mark i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); display: inline-block; margin-left: -0.05em; }
.mark .prod { margin-left: 0.9em; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.word { display: flex; align-items: baseline; font-family: var(--display); font-size: clamp(52px, 9vw, 128px); font-weight: 200; letter-spacing: 0.2em; line-height: 0.9; }
.word .lam { margin-right: 0.14em; } .word .lam path { stroke-width: 4.4; }
.word span { display: inline-block; animation: letter 700ms var(--reveal) both; }
.word span:nth-child(2) { animation-delay: 90ms; } .word span:nth-child(3) { animation-delay: 180ms; } .word span:nth-child(4) { animation-delay: 270ms; } .word span:nth-child(5) { animation-delay: 360ms; }
.word i { width: 0.13em; height: 0.13em; border-radius: 50%; background: var(--signal); display: inline-block; animation: dot 500ms var(--reveal) 700ms both; }
.word.sm { font-size: clamp(34px, 5.6vw, 76px); letter-spacing: 0.16em; }
@keyframes letter { from { opacity: 0.15; transform: translateY(0.12em); } to { opacity: 1; transform: none; } }
@keyframes dot { from { opacity: 0; transform: translateY(-0.6em); } to { opacity: 1; transform: none; } }
.tag { font-family: var(--display); font-weight: 300; font-size: 13px; letter-spacing: 0.5em; color: var(--muted); text-transform: uppercase; }
.tag .by { display: block; margin-top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; min-height: 64px; }
.nav { display: flex; gap: 4px 26px; font-size: 13px; }
.nav a { color: var(--muted); text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; transition: color 120ms var(--ease), border-color 120ms var(--ease); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--text); border-color: var(--text); }
@media (hover: hover) { .nav a:hover { color: var(--text); border-color: var(--text); } }
.top-r { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; }
.seg button { font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; background: none; color: var(--muted); border: 0; padding: 7px 9px; cursor: pointer; min-height: 32px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.icon-btn { font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: none; color: var(--text); border: 1px solid var(--line-strong); border-radius: 2px; padding: 7px 10px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; min-height: 32px; }
@media (hover: hover) { .icon-btn:hover { border-color: var(--text); } }
.icon-btn .half { width: 11px; height: 11px; border-radius: 50%; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 18px; gap: 0; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a[aria-current="page"] { color: var(--signal-text); border-color: var(--line); }
  .top.open .nav { display: flex; }
  .menu-btn { display: inline-flex; }
  .top-r .cmd-btn { display: none; }
}
.nav-ccy { display: none; }
@media (max-width: 520px) { .top-r .seg { display: none; } .top.open .nav-ccy { display: inline-flex; margin-top: 14px; width: max-content; } }
@media (max-width: 360px) { .mark .prod { display: none; } }

/* buttons */
.btn { --b: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--bg); background: var(--text); border: 1px solid var(--text); border-radius: 2px; padding: 12px 18px; min-height: 44px; cursor: pointer; transition: transform 160ms var(--ease), background 120ms var(--ease), color 120ms var(--ease); position: relative; }
@media (hover: hover) { .btn:hover { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); } }
.btn.ghost { background: none; color: var(--text); border-color: var(--line-strong); }
@media (hover: hover) { .btn.ghost:hover { border-color: var(--text); background: none; color: var(--text); } }
.btn .arr { transition: transform 160ms var(--ease); }
@media (hover: hover) { .btn:hover .arr { transform: translateX(3px); } }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero canvas.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; min-height: min(760px, calc(100svh - 98px)); padding-block: 64px 40px; align-content: space-between; pointer-events: none; }
.hero .wrap > * { pointer-events: auto; }
.hero-copy { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 26px; align-self: start; }
.thesis { font-size: clamp(20px, 2vw, 28px); font-weight: 200; max-width: 30ch; }
.lede { font-size: 16px; color: var(--muted); max-width: 52ch; }
.hero-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 48px; }
.hero-legend { display: grid; grid-template-columns: auto auto; gap: 4px 16px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right; }
.vlabel { position: absolute; right: 14px; bottom: 120px; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; pointer-events: none; }
.reg { position: absolute; inset: 24px; pointer-events: none; }
.reg::before, .reg::after, .reg i::before, .reg i::after { content: "+"; position: absolute; font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1; }
.reg::before { left: 0; top: 0; } .reg::after { right: 0; top: 0; } .reg i::before { left: 0; bottom: 0; } .reg i::after { right: 0; bottom: 0; }
@media (max-width: 1000px) { .hero .wrap { min-height: 700px; } .hero .word { font-size: clamp(44px, 6.6vw, 64px); } .hero .word.sm { font-size: clamp(30px, 4.4vw, 44px); } .thesis { font-size: 20px; } .hero-legend { text-align: left; } }
@media (max-width: 860px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero .wrap { min-height: 0; padding-top: 40px; }
  .hero canvas.art { position: relative; height: 340px; inset: auto; order: 2; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-legend { text-align: left; }
  .vlabel, .reg { display: none; }
}

.status-line { font-family: var(--mono); font-size: 12px; color: var(--muted); min-height: 1.5em; }
.status-line b { color: var(--text); font-weight: 400; }
.caret { display: inline-block; width: 7px; height: 12px; background: var(--text); vertical-align: -1px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* sections */
section.block { border-bottom: 1px solid var(--line); }
section.block > .wrap { padding-block: 72px; display: flex; flex-direction: column; gap: 32px; }
@media (max-width: 700px) { section.block > .wrap { padding-block: 48px; } }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 22ch; }
.sec-head .label b { color: var(--text); font-weight: 400; }
.sec-head p { max-width: 46ch; color: var(--muted); }
.kicker { display: flex; flex-direction: column; gap: 14px; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; } .s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
@media (max-width: 1000px) { .s3, .s4 { grid-column: span 6; } .s5, .s6, .s7, .s8 { grid-column: span 12; } }
@media (max-width: 640px) { .s3, .s4 { grid-column: span 12; } }

/* panels with corner brackets that pick up the cursor */
.panel { border: 1px solid var(--line); border-radius: 2px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; background: var(--bg); }
.panel.fill { background: var(--surface); }
.panel.br { border-color: transparent; }
.panel.br::before { content: ""; position: absolute; inset: -1px; pointer-events: none; border: 1px solid var(--line); border-radius: 2px; }
.cb { position: absolute; width: 10px; height: 10px; border-color: var(--muted); border-style: solid; pointer-events: none; transition: border-color 160ms var(--ease), transform 200ms var(--ease); }
.cb.tl { left: -1px; top: -1px; border-width: 1px 0 0 1px; } .cb.tr { right: -1px; top: -1px; border-width: 1px 1px 0 0; }
.cb.bl { left: -1px; bottom: -1px; border-width: 0 0 1px 1px; } .cb.brr { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
@media (hover: hover) { .panel:hover .cb { border-color: var(--text); } }
@media (hover: hover) { .panel:hover .cb.tl { transform: translate(-3px, -3px); } .panel:hover .cb.tr { transform: translate(3px, -3px); } }
@media (hover: hover) { .panel:hover .cb.bl { transform: translate(-3px, 3px); } .panel:hover .cb.brr { transform: translate(3px, 3px); } }
.panel h3 { font-size: 22px; font-weight: 300; }
.panel p { color: var(--muted); font-size: 14px; }
.note { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* product cards on the home page */
.prod-card { text-decoration: none; min-height: 420px; justify-content: space-between; cursor: pointer; }
.prod-card canvas { width: 100%; height: 180px; }
.prod-card .pc-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.prod-card h3 { font-family: var(--display); font-size: 20px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 300; }
.prod-card .for { font-size: 14px; color: var(--muted); }
.prod-card .go { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-top: 1px solid var(--line); padding-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.prod-card .go span:last-child { white-space: nowrap; }
@media (hover: hover) { .prod-card:hover .go span:last-child { color: var(--signal-text); } }
.mini-est { display: none; }
@media (max-width: 1000px) { .mini-est { position: fixed; left: 0; right: 0; bottom: 34px; z-index: 14; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line-strong); font-family: var(--mono); font-size: 13px; text-decoration: none; } .mini-est span:last-child { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); } body.has-mini { padding-bottom: 80px; } }

/* spec sheet */
.spec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; font-family: var(--term); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.spec dt { display: flex; gap: 8px; align-items: baseline; color: var(--muted); min-width: 0; }
.spec dt::after { content: ""; flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(var(--id-ink), 0.35); transform: translateY(-3px); }
.spec dd { margin: 0; text-align: right; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .spec { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }

.demo { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); border: 1px solid rgba(var(--id-ink), 0.28); background: var(--hatch); padding: 5px 9px; border-radius: 2px; font-family: var(--term); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; width: max-content; max-width: 100%; }

/* numbered feature list */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.feats > div { padding: 22px 24px 26px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); }
.feats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.feats > div:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.feats .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.feats h3 { font-size: 20px; font-weight: 300; }
.feats p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .feats { grid-template-columns: minmax(0, 1fr); } .feats > div, .feats > div + div { padding-left: 0; border-left: 0; } }

/* role strip (contact topics) */
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles button { font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: none; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 2px; padding: 8px 12px; cursor: pointer; min-height: 36px; }
.roles button[aria-pressed="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }
.role-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; min-height: 150px; }
.role-out h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 200; }
.role-out ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.role-out li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 14px; color: var(--muted); }
.role-out li::before { content: "→"; font-family: var(--mono); color: var(--text); }
.role-out li a { color: var(--text); }
@media (max-width: 800px) { .role-out { grid-template-columns: minmax(0, 1fr); } }

/* long-form text */
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 68ch; }
.prose h3 { font-size: 19px; font-weight: 400; margin-top: 10px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 15px; }
.prose a { color: var(--text); }
.draft { display: flex; flex-direction: column; gap: 10px; border: 1px dashed var(--line-strong); background: var(--hatch); padding: 22px; min-height: 140px; }
.draft p { color: var(--muted); max-width: 60ch; }
.draft a { color: var(--text); }
a.row-btn { text-decoration: none; }

/* role pack */
.role-pick { max-width: 420px; }
.pack { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 32px; border-top: 1px solid var(--line-strong); padding-top: 24px; min-height: 220px; }
.pack > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pack h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 200; }
.pack p { color: var(--muted); font-size: 15px; max-width: 44ch; }
.pack ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pack li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 14px; }
.pack li::before { content: "→"; font-family: var(--mono); }
.pack li a { color: var(--text); }
.pack .chip { text-decoration: none; }
@media (hover: hover) { .pack .chip:hover { border-color: var(--text); } }
.pack .btns { flex-direction: column; align-items: stretch; }
.pack-wk, .pack-q, .pack-x { border-top: 1px solid var(--line); padding-top: 18px; }
.pack-wk ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; position: relative; }
.pack-wk li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; font-size: 14px; padding: 7px 0 7px 18px; position: relative; }
.pack-wk li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.pack-wk li + li::after { content: ""; position: absolute; left: 5px; top: -8px; height: 20px; border-left: 1px dotted var(--line-strong); }
.pack-wk .d { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.pack-q .qq { font-size: 17px; font-weight: 200; color: var(--text); margin: 0; }
.pack-x .ax { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; font-size: 14px; }
.pack-x .ax-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.pack-x .ax-k.sig { color: var(--signal-text); }
.pack-x button.chip { background: none; color: var(--text); cursor: pointer; font: inherit; font-family: var(--mono); font-size: 11px; }
@media (hover: hover) { .pack-x button.chip:hover { border-color: var(--signal); } }
@media (max-width: 1000px) { .pack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pack-a { grid-column: 1 / -1; } }
@media (max-width: 640px) { .pack { grid-template-columns: minmax(0, 1fr); } }

/* principles */
.princ { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.princ > div { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line-strong); padding-top: 16px; }
.princ h3 { font-size: 18px; font-weight: 300; }
.princ p { font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .princ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .princ { grid-template-columns: minmax(0, 1fr); } }

/* the demo sandbox window */
.sandbox { border: 1px solid var(--line-strong); border-radius: 4px; background: var(--bg); overflow: hidden; position: relative; }
.sb-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.sb-bar .dots { display: flex; gap: 6px; } .sb-bar .dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-strong); }
.sb-bar .t { font-family: var(--term); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.sb-bar .left { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.sb-bar .left b { color: var(--text); font-weight: 400; }
.sb-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 520px; }
.sb-body > * { min-width: 0; }
.sb-side { border-right: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.sb-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .sb-body { grid-template-columns: minmax(0, 1fr); } .sb-side { border-right: 0; border-bottom: 1px solid var(--line); } }
.sb-lock { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding: 12px 14px; background: var(--surface); }
.sb-lock button { font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--hatch); color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 2px; padding: 7px 10px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; min-height: 34px; }
@media (hover: hover) { .sb-lock button:hover { color: var(--text); border-color: var(--text); } }
.sb-lock svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.sb-end { position: absolute; inset: 41px 0 0; background: color-mix(in srgb, var(--bg) 88%, transparent); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 3; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sandbox.ended .sb-end { display: flex; }
.sandbox.ended.reviewed .sb-end { display: none; }
.sb-end > div { max-width: 460px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line-strong); background: var(--bg); padding: 28px; }
.sb-end h3 { font-size: 26px; font-weight: 200; }
.sb-end p { color: var(--muted); font-size: 14px; }
.toast-lock { position: absolute; left: 50%; bottom: 70px; transform: translate(-50%, 8px); opacity: 0; transition: opacity 160ms var(--ease), transform 160ms var(--ease); background: var(--text); color: var(--bg); font-family: var(--mono); font-size: 12px; padding: 9px 14px; border-radius: 2px; pointer-events: none; z-index: 4; max-width: calc(100% - 32px); }
.toast-lock.on { opacity: 1; transform: translate(-50%, 0); }

/* list rows inside demos */
.rows { display: flex; flex-direction: column; max-height: 470px; overflow-y: auto; overscroll-behavior: contain; }
/* a scrolling list fades at the bottom edge so the last row reads as "more below", not cut off */
.sb-side .rows { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); padding-bottom: 28px; }
/* side by side, the list fills the side panel down to the bottom of the demo instead of stopping at a fixed height */
@media (min-width: 901px) { .sb-side .rows { flex: 1 1 0; height: 0; min-height: 320px; max-height: none; } }
@media (max-width: 900px) { .sb-side .rows { max-height: 380px; } }
.row-btn { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 8px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14px; transition: background 120ms var(--ease); }
@media (hover: hover) { .row-btn:hover { background: var(--surface); } }
.row-btn[aria-pressed="true"] { background: var(--surface-2); box-shadow: inset 2px 0 0 var(--signal); }
.row-btn:focus-visible { outline: 1px solid var(--text); outline-offset: -1px; }
.row-btn .sub { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.row-btn .r { font-family: var(--mono); font-size: 12px; text-align: right; }
.filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.field > span b { color: var(--text); font-weight: 400; letter-spacing: 0.04em; text-transform: none; }
select, input[type="text"], input[type="email"], input[type="number"], input[type="tel"], textarea { background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 2px; font: inherit; font-size: 14px; padding: 9px 10px; min-height: 42px; width: 100%; min-width: 0; }
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--text); }
input[type="range"] { accent-color: var(--text); width: 100%; margin: 0; height: 42px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--signal); width: 16px; height: 16px; margin: 0; flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check.off { opacity: 0.45; cursor: not-allowed; }

/* range bar: low / likely / high */
.rbar { position: relative; height: 34px; }
.rbar .ax { position: absolute; left: 0; right: 0; top: 16px; border-top: 1px dotted rgba(var(--id-ink), 0.35); }
.rbar .band { position: absolute; top: 10px; height: 13px; background: var(--hatch); border: 1px solid var(--line-strong); transition: left 320ms var(--reveal), width 320ms var(--reveal); }
.rbar .mid { position: absolute; top: 4px; width: 2px; height: 25px; background: var(--text); transition: left 320ms var(--reveal); }
.rbar .mid.sig { background: var(--signal); }
.rlab { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.rlab b { color: var(--text); font-weight: 400; }
.big { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.big .n { font-family: var(--mono); font-size: 40px; font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.big .u { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); padding: 4px 9px; border-radius: 2px; font-family: var(--mono); font-size: 11px; }
.chip.ok { border-color: var(--signal); color: var(--signal-text); }
.chip.warn { border-color: var(--warn); color: var(--warn); }
.chip.risk { border-color: var(--risk); color: var(--risk); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.conf { display: inline-flex; gap: 2px; vertical-align: -1px; }
.conf u { width: 4px; height: 10px; border: 1px solid var(--muted); text-decoration: none; }
.conf u.f { background: var(--text); border-color: var(--text); }

/* pricing */
.est { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
@media (max-width: 1000px) { .est { grid-template-columns: minmax(0, 1fr); } }
.est-in { display: flex; flex-direction: column; gap: 28px; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px 16px; border-top: 1px solid var(--line-strong); padding-top: 18px; }
.step > .n { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; padding-top: 2px; }
.step > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step h2, .step h3 { font-size: 20px; font-weight: 300; }
@media (max-width: 560px) { .step { grid-template-columns: minmax(0, 1fr); } }
.opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.opts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .opts, .opts.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { all: unset; box-sizing: border-box; cursor: pointer; border: 1px solid var(--line-strong); border-radius: 2px; padding: 12px; display: flex; flex-direction: column; gap: 4px; min-height: 76px; transition: border-color 120ms var(--ease), background 120ms var(--ease); }
@media (hover: hover) { .opt:hover { border-color: var(--text); } }
.opt:focus-visible { outline: 1px solid var(--text); outline-offset: 2px; }
.opt[aria-pressed="true"] { border-color: var(--signal); background: var(--surface); box-shadow: inset 0 2px 0 var(--signal); }
.opt b { font-size: 15px; font-weight: 400; }
.opt span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
#p-tier .opt { justify-content: flex-start; position: relative; }
.opt .opt-tag { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; align-self: flex-start; }
.opt[aria-pressed="true"] .opt-tag { color: var(--signal-text); }
.opt .inc { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 12.5px; color: var(--text); line-height: 1.35; }
.opt .inc .inc-h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.opt .inc .inc-p { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.opt .inc .inc-i { font-family: var(--sans); font-size: 12.5px; color: var(--text); padding-left: 16px; position: relative; }
.opt .inc .inc-i::before { content: "+"; position: absolute; left: 0; font-family: var(--mono); color: var(--muted); }
.opt[aria-pressed="true"] .inc .inc-i::before { color: var(--signal-text); }
@media (max-width: 1180px) { #p-tier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { #p-tier { grid-template-columns: minmax(0, 1fr); } }
.prod-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 760px) { .prod-pick { grid-template-columns: minmax(0, 1fr); } }
.prod-pick .opt { min-height: 96px; }
.prod-pick .opt b { font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 300; }
.sub-opts { display: flex; flex-direction: column; gap: 10px; padding-left: 0; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 2px; }
.stepper button { all: unset; cursor: pointer; width: 38px; text-align: center; font-family: var(--mono); font-size: 16px; color: var(--text); }
@media (hover: hover) { .stepper button:hover { background: var(--surface); } }
.stepper button:focus-visible { outline: 1px solid var(--text); }
.stepper output { min-width: 44px; text-align: center; font-family: var(--mono); font-size: 14px; border-inline: 1px solid var(--line); padding: 9px 0; }
.extra { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.extra .d { display: flex; flex-direction: column; gap: 2px; }
.extra .d span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.extra.off { opacity: 0.45; }
.summary { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 18px; }
.sum-lines { display: flex; flex-direction: column; font-size: 13px; }
.sum-lines > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sum-lines > div span:last-child { font-family: var(--mono); text-align: right; white-space: nowrap; }
.sum-lines .disc span:last-child { color: var(--signal-text); }
.sum-lines .tot { border-bottom: 0; border-top: 1px solid var(--line-strong); font-size: 14px; }
.quote-only { display: flex; flex-direction: column; gap: 14px; border: 1px dashed var(--line-strong); background: var(--hatch); padding: 18px; }
.quote-only h3 { font-size: 22px; font-weight: 200; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tier-table th, .tier-table td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tier-table th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.tier-table td.p { font-family: var(--mono); white-space: nowrap; }
.tier-table tbody tr { cursor: pointer; }
@media (hover: hover) { .tier-table tbody tr:hover td { background: var(--surface); } }
.table-scroll { overflow-x: auto; }

/* contact */
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.form-msg { font-family: var(--mono); font-size: 12px; min-height: 1.5em; }
.form-msg.ok { color: var(--signal-text); } .form-msg.err { color: var(--risk); }
.preview { border: 1px solid var(--line-strong); background: var(--surface); padding: 16px; font-family: var(--term); font-size: 13px; letter-spacing: 0.02em; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 48px 40px; display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot ul a { text-decoration: none; color: var(--text); }
@media (hover: hover) { .foot ul a:hover { color: var(--signal-text); } }
.foot .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); padding-top: 18px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
@media (max-width: 800px) { .foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* status bar */
.sbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; height: 34px; background: var(--bg); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; }
.sbar > div { display: flex; gap: 22px; align-items: center; min-width: 0; }
.sbar b { color: var(--text); font-weight: 400; }
.sbar .live::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: 1px; }
.sbar button { all: unset; cursor: pointer; }
@media (hover: hover) { .sbar button:hover { color: var(--text); } }
@media (max-width: 760px) { .sbar .hide-s { display: none; } }

/* command bar */
.cmdk { position: fixed; inset: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 70%, transparent); display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.cmdk.on { display: flex; }
.cmdk > div { width: min(560px, 100%); border: 1px solid var(--line-strong); background: var(--bg); border-radius: 4px; overflow: hidden; }
.cmdk input { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; padding: 16px; min-height: 54px; }
.cmdk ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
.cmdk li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px; text-decoration: none; font-size: 14px; border-radius: 2px; }
.cmdk li a span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.cmdk li a.on { background: var(--surface-2); box-shadow: inset 2px 0 0 var(--signal); }
.cmdk .hint { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* tooltip for canvas marks */
.tip { position: fixed; z-index: 30; pointer-events: none; background: var(--text); color: var(--bg); font-family: var(--mono); font-size: 11px; padding: 6px 9px; border-radius: 2px; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity 100ms var(--ease); white-space: nowrap; }
.tip.on { opacity: 1; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--reveal), transform 700ms var(--reveal); }
.reveal.in { opacity: 1; transform: none; }
.scan { position: relative; }
.scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--signal); opacity: 0; pointer-events: none; }
.scan.in::after { animation: scan 900ms var(--reveal) 1; }
@keyframes scan { 0% { top: 0; opacity: 0.9; } 100% { top: 100%; opacity: 0; } }

/* CTA band */
canvas.dots { display: block; width: 100%; }
canvas.dots.mini { height: 104px; margin-bottom: 6px; }
canvas.dots.band { height: 180px; border-bottom: 1px solid var(--line); }
canvas.dots.strip { height: 200px; margin-top: 8px; }
canvas.dots.tall { height: 340px; margin-top: 8px; }
canvas.dots.side { height: 200px; margin-top: 24px; border: 1px solid var(--line); }
@media (max-width: 560px) { canvas.dots.tall { height: 260px; } canvas.dots.strip { height: 170px; } canvas.dots.band { height: 120px; } }
.pfile { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; padding: 16px; }
.pfile .pf-fig { display: flex; flex-direction: column; gap: 6px; }
.pfile .pf-fig canvas { width: 100%; height: 300px; display: block; }
.pfile .pf-in { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 640px) { .pfile { grid-template-columns: minmax(0, 1fr); } .pfile .pf-fig canvas { height: 260px; } }
.globe-view { gap: 10px; }
.globe-view[hidden], .sb-main[hidden] { display: none; }
.globe-top, .globe-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.globe-foot { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.globe-foot .legend { display: flex; flex-wrap: wrap; gap: 4px 14px; }
#ath-sphere { width: 100%; height: 440px; display: block; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@media (max-width: 560px) { #ath-sphere { height: 340px; } }
#f-country[hidden] { display: none; }
#globe-hint { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 200px; }
#f-country { align-self: flex-start; background: none; cursor: pointer; font: inherit; font-family: var(--mono); font-size: 11px; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; padding-block: 80px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 52px); }
.cta-band .btns { justify-content: flex-end; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } .cta-band .btns { justify-content: flex-start; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* legal and compliance (kept as separate rules) */
.foot .wrap { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .wrap > div:first-child { grid-column: 1 / -1; } }
.foot .foot-h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 12px; }
.foot .lang { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 8px 24px; align-items: end; border-top: 1px solid var(--line); padding-top: 18px; }
.foot .lang .note { max-width: 70ch; }
@media (max-width: 700px) { .foot .lang { grid-template-columns: minmax(0, 1fr); } }
.foot .legal .co { flex-basis: 100%; line-height: 1.6; }
.foot .legal a { color: var(--text); }
.linkish { all: unset; cursor: pointer; color: var(--text); font-size: 14px; }
@media (hover: hover) { .linkish:hover { color: var(--signal-text); } }
.linkish:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }
.tbc { border-bottom: 1px dashed var(--warn, #FF7A00); }
.consent { position: fixed; left: 16px; right: 16px; bottom: 46px; z-index: 40; max-width: 640px; margin-inline: auto; background: var(--bg); border: 1px solid var(--line-strong); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; font-size: 14px; }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 300px; color: var(--muted); }
.consent p b { color: var(--text); font-weight: 400; }
.consent a { color: var(--text); }
.consent .btns { gap: 8px; }
.consent .btn { min-height: 40px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 12px; margin-top: 8px; }
.legal-toc a { color: var(--text); }
.prose ul { color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 6px; padding-left: 18px; margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.prose td { color: var(--muted); }
.prose td:first-child { color: var(--text); }
.field > span .opt-l { color: var(--muted); }
.d-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
@media (max-width: 560px) { .d-types { grid-template-columns: minmax(0, 1fr); } }
.lang-top select { min-height: 36px; width: 74px; padding: 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
@media (max-width: 1180px) { .lang-top { display: none; } }
.lang-nav { display: none; }
@media (max-width: 1180px) { .top.open .lang-nav { display: flex; margin-top: 14px; } }
.translated-note { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.translated-note p { color: var(--muted); }
.translated-note b { color: var(--text); font-weight: 400; }
/* Partners demo: the proposal letter, as the product's pitch sheet */
.sheet { background: var(--bg); border: 1px solid var(--line-strong); padding: 28px; display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 90px; }
.sheet h4 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 300; line-height: 1.2; margin: 0; }
.sheet p { margin: 6px 0 0; max-width: 62ch; }
.sheet .label { display: block; }
.sheet-top, .sheet-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.sheet-row { justify-content: flex-start; }
.sheet-warn { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.sheet-tp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; font-size: 15px; }
.sheet-tp > .note { text-align: right; max-width: 22ch; }
.sheet-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-block: 1px solid var(--line); padding-block: 16px; }
.sheet-cols .n { font-family: var(--mono); font-size: 26px; line-height: 1.1; }
.sheet-tbl { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.sheet-tbl td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sheet-tbl td:last-child { text-align: right; font-family: var(--mono); font-size: 13px; white-space: nowrap; padding-left: 12px; }
.sheet-tbl b { font-weight: 400; color: var(--text); }
.sheet .sig { color: var(--signal-text); font-weight: 400; }
.sheet-track { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.sheet-code { display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.sheet-code svg { width: 210px; height: 18px; display: block; }
@media (max-width: 700px) {
  .sheet { padding: 18px; }
  .sheet-cols, .sheet-track { grid-template-columns: minmax(0, 1fr); }
  .sheet-tp { grid-template-columns: minmax(0, 1fr); }
  .sheet-tp > .note { text-align: left; max-width: none; }
}
/* booking step: the three walkthrough steps */
.steps-done { list-style: none; margin: 0; padding: 8px 20px; }
.steps-done li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps-done li:last-child { border-bottom: 0; }
.steps-done b { font-family: var(--mono); font-weight: 400; color: var(--muted); font-size: 12px; }
.steps-done .mono { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.steps-done .now span:nth-child(2) { color: var(--text); }
.steps-done .now .mono { color: var(--signal-text); }
#bk-cal[hidden], #bk-none[hidden] { display: none; }
#n-form [data-co][hidden], #confirm[hidden], #sign[hidden] { display: none; }

/* FAQ: native details, one question per row; open state marked with the lime highlight */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 17px; font-weight: 400; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); flex: none; }
.faq[open] summary::after { content: "−"; color: var(--signal-text); }
.faq summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.faq > div { padding: 0 0 16px; }
.prose .faq + .faq { margin-top: -14px; }

/* touch screens: no zoom-on-focus in iOS (inputs under 16px trigger it), no double-tap zoom delay on controls */
@media (pointer: coarse) { input, select, textarea { font-size: 16px !important; } }
a, button, label, select, summary, [role="button"] { touch-action: manipulation; }
/* the storage question stays small on phones so it never covers the page */
@media (max-width: 560px) {
  .consent { left: 8px; right: 8px; padding: 12px 14px; gap: 10px; font-size: 13px; line-height: 1.45; }
  .consent p { flex-basis: 100%; }
  .consent .btns { width: 100%; flex-wrap: nowrap; }
  .consent .btn { flex: 1 1 0; min-height: 40px; padding: 0 8px; justify-content: center; white-space: nowrap; letter-spacing: 0.06em; }
}
