/* ============ fonts: self-hosted, SIL Open Font License (see /assets/fonts/LICENSE.txt) ============ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2-variations"), url("/assets/fonts/inter-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-var.woff2") format("woff2-variations"), url("/assets/fonts/space-grotesk-latin-var.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-var.woff2") format("woff2-variations"), url("/assets/fonts/jetbrains-mono-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Silkscreen"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/silkscreen-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Silkscreen"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/silkscreen-latin-700.woff2") format("woff2"); }

/* ============ tokens ============ */
:root {
  --bg: #0F0E1A; --bg-2: #15132A; --ink: #F2F0FF; --muted: #B9B4CF; --dim: #8F8AAD;
  --violet: #6A3DF0; --violet-2: #8B6CFF; --violet-hover: #7A52F5; --accent-text: #A994FF; --green: #34D39A; --gold: #FFC83D; --paper: #F6F5F0;
  --glass: rgba(27, 25, 46, 0.74); --glass-strong: rgba(21, 19, 38, 0.9); --glass-line: rgba(255, 255, 255, 0.09); --glass-hi: rgba(255, 255, 255, 0.16);
  --glow: rgba(106, 61, 240, 0.34); --grid: rgba(139, 108, 255, 0.055);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75), 0 2px 0 0 rgba(255, 255, 255, 0.04) inset;
  --btn-ink: #FFFFFF; --gold-ink: #FFC83D; --green-ink: #34D39A; --stamp-ink: #A994FF; --red-ink: #FF8A8F;
  --icon-p: #F6F5F0; --icon-d: #4A4670; --icon-k: #15123A; --icon-a: #8B6CFF; --icon-g: #34D39A; --icon-y: #FFC83D;
  --door: linear-gradient(90deg, #17152B 0%, #221F3A 55%, #1B1930 100%);
  --letter: #F6F5F0; --letter-ink: #2B2848;
  --caret: #34D39A;
  --mark-glow: drop-shadow(0 10px 22px rgba(106, 61, 240, 0.38));
  /* Lex Laboratory mark (lexlaboratory.com neon on dark) */
  --lex-a: #00FFC3; --lex-b: #5FD0FF; --lex-c: #7B4FFF; --lex-side-near: #0B5E52; --lex-side-far: #2A1A66;
  --lex-glow: rgba(0, 255, 195, 0.2); --lex-shadow: rgba(0, 255, 195, 0.35);
  /* motion tokens (animate skill): strong curves, UI stays under 300ms */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 160ms; --t-ui: 200ms; --t-hover: 240ms; --t-reveal: 640ms; --stagger: 60ms;
  --gutter: 16px; --wrap: 1200px; --radius: 16px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F6F5F0; --bg-2: #ECEAF3; --ink: #15132A; --muted: #47435F; --dim: #5E5A7A;
    --accent-text: #5530D6; --gold-ink: #7A5700; --green-ink: #137A55; --stamp-ink: #5530D6; --red-ink: #B42318;
    --glass: rgba(255, 255, 255, 0.76); --glass-strong: rgba(255, 255, 255, 0.94); --glass-line: rgba(15, 14, 26, 0.1); --glass-hi: rgba(255, 255, 255, 0.95);
    --glow: rgba(139, 108, 255, 0.26); --grid: rgba(106, 61, 240, 0.06);
    --shadow: 0 30px 70px -34px rgba(40, 30, 90, 0.35), 0 1px 0 0 rgba(255, 255, 255, 0.9) inset;
    --icon-p: #2B2848; --icon-d: #B9B4A7; --icon-y: #D9A400; --icon-g: #1FA877;
    --door: linear-gradient(90deg, #E9E6F4 0%, #F8F7FC 55%, #ECE9F6 100%);
    --letter: #FFFFFF; --caret: #6A3DF0;
    --mark-glow: drop-shadow(0 10px 20px rgba(40, 30, 90, 0.28));
    --lex-a: #00B48C; --lex-b: #2B8FD6; --lex-c: #6A3CF0; --lex-side-near: #0E7A68; --lex-side-far: #3B28A0;
    --lex-glow: rgba(0, 180, 140, 0.16); --lex-shadow: rgba(0, 150, 120, 0.25);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F6F5F0; --bg-2: #ECEAF3; --ink: #15132A; --muted: #47435F; --dim: #5E5A7A;
  --accent-text: #5530D6; --gold-ink: #7A5700; --green-ink: #137A55; --stamp-ink: #5530D6; --red-ink: #B42318;
  --glass: rgba(255, 255, 255, 0.76); --glass-strong: rgba(255, 255, 255, 0.94); --glass-line: rgba(15, 14, 26, 0.1); --glass-hi: rgba(255, 255, 255, 0.95);
  --glow: rgba(139, 108, 255, 0.26); --grid: rgba(106, 61, 240, 0.06);
  --shadow: 0 30px 70px -34px rgba(40, 30, 90, 0.35), 0 1px 0 0 rgba(255, 255, 255, 0.9) inset;
  --icon-p: #2B2848; --icon-d: #B9B4A7; --icon-y: #D9A400; --icon-g: #1FA877;
  --door: linear-gradient(90deg, #E9E6F4 0%, #F8F7FC 55%, #ECE9F6 100%);
  --letter: #FFFFFF; --caret: #6A3DF0;
  --mark-glow: drop-shadow(0 10px 20px rgba(40, 30, 90, 0.28));
  --lex-a: #00B48C; --lex-b: #2B8FD6; --lex-c: #6A3CF0; --lex-side-near: #0E7A68; --lex-side-far: #3B28A0;
  --lex-glow: rgba(0, 180, 140, 0.16); --lex-shadow: rgba(0, 150, 120, 0.25);
  color-scheme: light;
}

/* the same two token sets on any container (the header/footer comparison page) */
.t-dark {
  --bg: #0F0E1A; --bg-2: #15132A; --ink: #F2F0FF; --muted: #B9B4CF; --dim: #8F8AAD;
  --violet: #6A3DF0; --violet-2: #8B6CFF; --violet-hover: #7A52F5; --accent-text: #A994FF; --green: #34D39A; --gold: #FFC83D; --paper: #F6F5F0;
  --glass: rgba(27, 25, 46, 0.74); --glass-strong: rgba(21, 19, 38, 0.9); --glass-line: rgba(255, 255, 255, 0.09); --glass-hi: rgba(255, 255, 255, 0.16);
  --glow: rgba(106, 61, 240, 0.34); --grid: rgba(139, 108, 255, 0.055);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75), 0 2px 0 0 rgba(255, 255, 255, 0.04) inset;
  --btn-ink: #FFFFFF; --gold-ink: #FFC83D; --green-ink: #34D39A; --stamp-ink: #A994FF; --red-ink: #FF8A8F;
  --icon-p: #F6F5F0; --icon-d: #4A4670; --icon-k: #15123A; --icon-a: #8B6CFF; --icon-g: #34D39A; --icon-y: #FFC83D;
  --door: linear-gradient(90deg, #17152B 0%, #221F3A 55%, #1B1930 100%);
  --letter: #F6F5F0; --letter-ink: #2B2848;
  --caret: #34D39A;
  --mark-glow: drop-shadow(0 10px 22px rgba(106, 61, 240, 0.38));
  /* Lex Laboratory mark (lexlaboratory.com neon on dark) */
  --lex-a: #00FFC3; --lex-b: #5FD0FF; --lex-c: #7B4FFF; --lex-side-near: #0B5E52; --lex-side-far: #2A1A66;
  --lex-glow: rgba(0, 255, 195, 0.2); --lex-shadow: rgba(0, 255, 195, 0.35);
    color-scheme: dark; }
.t-light {
  --bg: #F6F5F0; --bg-2: #ECEAF3; --ink: #15132A; --muted: #47435F; --dim: #5E5A7A;
  --accent-text: #5530D6; --gold-ink: #7A5700; --green-ink: #137A55; --stamp-ink: #5530D6; --red-ink: #B42318;
  --glass: rgba(255, 255, 255, 0.76); --glass-strong: rgba(255, 255, 255, 0.94); --glass-line: rgba(15, 14, 26, 0.1); --glass-hi: rgba(255, 255, 255, 0.95);
  --glow: rgba(139, 108, 255, 0.26); --grid: rgba(106, 61, 240, 0.06);
  --shadow: 0 30px 70px -34px rgba(40, 30, 90, 0.35), 0 1px 0 0 rgba(255, 255, 255, 0.9) inset;
  --icon-p: #2B2848; --icon-d: #B9B4A7; --icon-y: #D9A400; --icon-g: #1FA877;
  --door: linear-gradient(90deg, #E9E6F4 0%, #F8F7FC 55%, #ECE9F6 100%);
  --letter: #FFFFFF; --caret: #6A3DF0;
  --mark-glow: drop-shadow(0 10px 20px rgba(40, 30, 90, 0.28));
  --lex-a: #00B48C; --lex-b: #2B8FD6; --lex-c: #6A3CF0; --lex-side-near: #0E7A68; --lex-side-far: #3B28A0;
  --lex-glow: rgba(0, 180, 140, 0.16); --lex-shadow: rgba(0, 150, 120, 0.25);
  color-scheme: light; }

/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
body::before { /* pixel grid + mirrored glows: the glass has something to refract */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 420px at 12% -6%, var(--glow), transparent 70%),
    radial-gradient(600px 420px at 88% -6%, var(--glow), transparent 70%),
    radial-gradient(900px 600px at 50% 120%, var(--glow), transparent 70%),
    repeating-linear-gradient(0deg, var(--grid) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 24px);
  background-position: center top;
}
img, svg, canvas { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.px { font-family: Silkscreen, monospace; letter-spacing: 0.04em; text-transform: uppercase; }
@media (min-width: 480px) { .nw { white-space: nowrap; } }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 50%; top: 8px; z-index: 200; transform: translate(-50%, -160%); background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: transform var(--t-ui) var(--ease-out); }
.skip:focus { transform: translate(-50%, 0); }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 10px; }
.glass {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}

/* the Black Tie mark: full bleed, integer scale, never framed */
.mark { display: block; line-height: 0; }
.mark-svg { shape-rendering: crispEdges; image-rendering: pixelated; }
.mark--48 .mark-svg { width: 48px; height: 48px; }
.mark--72 .mark-svg { width: 72px; height: 72px; }
.mark--96 .mark-svg { width: 96px; height: 96px; }
.mark--glow { filter: var(--mark-glow); }

/* ============ typewriter ============ */
/* The full text stays in the layout from the first frame (untyped characters are
   only visibility:hidden), so typing never moves anything. Screen readers read
   the .sr copy; the typed copy is aria-hidden. */
.tw .c { visibility: visible; }
.tw.is-armed .c { visibility: hidden; }
.tw.is-armed .c.on { visibility: visible; }
.tw .c.cur { position: relative; }
.tw .c.cur::after {
  content: ""; position: absolute; left: calc(100% + 0.06em); top: 0.16em; bottom: 0.12em; width: max(3px, 0.09em);
  font-family: "JetBrains Mono", ui-monospace, monospace; background: var(--caret); pointer-events: none;
}
.tw.is-done .c.cur::after { animation: tw-blink 1060ms steps(1) 3, tw-out 240ms var(--ease-out) 3180ms forwards; }
.tw.is-keep.is-done .c.cur::after { animation: tw-blink 1060ms steps(1) infinite; }
@keyframes tw-blink { 50% { opacity: 0; } }
@keyframes tw-out { to { opacity: 0; } }
/* Hero headline: hidden until the script takes it over, with a CSS failsafe
   that shows it anyway if the script never runs. */
.js .h1[data-tw]:not(.tw-ready) { animation: tw-failsafe 1ms linear 2600ms both; }
@keyframes tw-failsafe { from { visibility: hidden; } to { visibility: visible; } }

/* command bar, brand lockup and footer: see chrome.css (variants A/B/C) */

/* elevator panel menu (mobile + tablet) */
.sheet {
  pointer-events: auto; width: min(560px, 100% - 2 * var(--gutter)); margin: 10px auto 0; padding: 18px;
  transform-origin: 50% 0; transform: translateY(-8px) scale(0.97); opacity: 0; visibility: hidden;
  transition: transform 260ms var(--ease-out), opacity var(--t-ui) var(--ease-out), visibility 0s linear 260ms;
  background: var(--glass-strong);
}
.sheet.is-instant { transition: none; }
.sheet.is-open { transform: none; opacity: 1; visibility: visible; transition: transform 260ms var(--ease-out), opacity var(--t-ui) var(--ease-out); }
.sheet__title { text-align: center; font: 400 11px/1 Silkscreen, monospace; color: var(--dim); margin-bottom: 14px; }
.sheet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.floor-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border-radius: 14px; text-align: center;
  text-decoration: none; color: var(--ink); border: 1px solid var(--glass-line); font: 500 13px/1.2 Inter, sans-serif;
  opacity: 0; transform: translateY(6px); transition: opacity var(--t-hover) var(--ease-out), transform var(--t-hover) var(--ease-out), background-color var(--t-ui) var(--ease-out);
}
.sheet.is-open .floor-btn { opacity: 1; transform: none; transition-delay: calc(var(--i) * 30ms); }
.floor-btn b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 400 12px/1 Silkscreen, monospace; border: 1px solid var(--glass-line); background: var(--glass-hi); }
.floor-btn[aria-current="true"] b { background: var(--violet); color: #fff; border-color: transparent; box-shadow: 0 0 0 4px rgba(106, 61, 240, 0.25); }
.sheet__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sheet__foot .pill { width: 100%; }
.sheet__foot .pill .lbl { display: inline; }
@media (hover: hover) and (pointer: fine) { .floor-btn:hover { background: var(--glass-hi); } }

/* ============ floors (sections) ============ */
main { display: block; }
.floor { position: relative; padding: clamp(88px, 12vw, 150px) 0 clamp(40px, 6vw, 72px); overflow: clip; }
.floor__head { display: grid; justify-items: center; gap: 14px; text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.tag { display: inline-flex; align-items: center; gap: 10px; text-wrap: balance; font: 400 11px/1.2 Silkscreen, monospace; color: var(--accent-text); letter-spacing: 0.06em; text-align: center; }
.tag::before, .tag::after { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: 0.5; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.04; font-weight: 600; max-width: 18ch; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 60ch; margin-inline: auto; text-wrap: balance; }

/* staggered reveal. `translate` (not `transform`) carries the entrance so hover
   transforms stay independent. Hidden only once the script has proved its
   observers work (html.motion), so content is readable at rest otherwise. */
.rv {
  transition-property: opacity, translate, transform, border-color, background-color;
  transition-duration: var(--t-reveal), 760ms, var(--t-hover), var(--t-hover), var(--t-ui);
  transition-timing-function: var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger) + 240ms), calc(var(--i, 0) * var(--stagger) + 240ms), 0s, 0s, 0s;
}
.motion .floor[data-reveal]:not(.is-open) .rv { opacity: 0; translate: 0 16px; }

/* hero entrance: CSS only, runs even if the script never does */
.in { animation: in-rise 760ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 80ms); }
@keyframes in-rise { from { opacity: 0; translate: 0 14px; } }
/* hold the entrance until the brand fonts are in (max 900 ms, see <head>) */
.fonts-wait .in { animation-play-state: paused; }

/* ============ hero ============ */
.hero { padding-top: clamp(100px, 10vw, 128px); }
.hero__copy { display: grid; justify-items: center; text-align: center; gap: 18px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 14px; border-radius: 999px; font: 500 13px/1.3 Inter, sans-serif; color: var(--muted); text-align: center; }
.chip b { color: var(--ink); font-weight: 600; }
.dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
/* live ping on the compositor (transform + opacity), not a repainting box-shadow */
.dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(52, 211, 154, 0.55); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3.4); opacity: 0; } }
/* infinite loops sleep while their floor is off screen (idle CPU) */
.is-away *, .is-away *::before, .is-away *::after { animation-play-state: paused !important; }
.h1 { font-size: clamp(2.6rem, 6.2vw, 6rem); line-height: 1; font-weight: 700; letter-spacing: -0.04em; max-width: 14ch; }
.h1 .hl { color: var(--accent-text); white-space: nowrap; }
.hero__lead { max-width: 58ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); text-wrap: balance; }
@media (max-width: 419px) { .chip__date { display: none; } }
.cta { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; gap: 12px; width: 100%; }
.btn {
  position: relative; min-height: 56px; padding: 0 14px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  font: 600 15px/1.2 Inter, sans-serif; text-decoration: none; color: #fff; background: var(--violet); border: 1px solid rgba(255, 255, 255, 0.14); cursor: pointer;
  box-shadow: 0 16px 40px -18px rgba(106, 61, 240, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn::before { /* pixel shine that sweeps once on hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-60%); transition: transform 0s linear 300ms, opacity 0s linear 300ms;
}
.os-note { min-height: 14px; font: 400 10px/14px Silkscreen, monospace; color: var(--green-ink); text-align: center; }
.btn .yours { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); font: 400 10px/1 Silkscreen, monospace; color: var(--green-ink); white-space: nowrap; opacity: 0; transition: opacity var(--t-ui) var(--ease-out); }
.btn.is-yours .yours { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); background: var(--violet-hover); box-shadow: 0 22px 44px -18px rgba(106, 61, 240, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
  .btn:hover::before { opacity: 1; transform: translateX(60%); transition: transform 600ms var(--ease-out), opacity 0s; }
}
.trust { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 8px 22px; margin-top: 14px; color: var(--dim); font-size: 13px; }
.trust span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.trust span::before { content: ""; width: 6px; height: 6px; background: var(--green); }
@media (max-width: 560px) { .trust { text-align: left; column-gap: 16px; } .trust { grid-template-columns: repeat(2, minmax(0, max-content)); } .trust span { justify-content: flex-start; } }
@media (max-width: 479px) { .cta { grid-template-columns: minmax(0, 1fr); max-width: 320px; } .btn .yours { display: none; } }

/* boardroom window */
.window-wrap { width: min(1440px, 100% - 2 * var(--gutter)); margin: clamp(36px, 4vw, 56px) auto 0; }
.window { position: relative; padding: 10px; border-radius: 26px; }
.window__glass { position: relative; height: clamp(300px, 44vw, 660px); border-radius: 18px; overflow: hidden; background: #0B0A14; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.office { position: absolute; inset: 0; display: grid; place-items: center; }
.office canvas { cursor: default; }
.window__glass::after { /* reflection sheen */
  content: ""; position: absolute; inset: -20% -10%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.07) 46%, transparent 54%, transparent 62%, rgba(255, 255, 255, 0.05) 66%, transparent 70%);
  animation: sheen 14s linear infinite alternate;
}
@keyframes sheen { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
.mullion { position: absolute; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)); pointer-events: none; }
.mullion--l { left: 33.333%; transform: translateX(-50%); } .mullion--r { left: 66.666%; transform: translateX(-50%); }
.blinds { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(10, 1fr); pointer-events: none; }
.blinds i { background: linear-gradient(180deg, #1D1B33, #121022); border-bottom: 1px solid rgba(255, 255, 255, 0.05); transform-origin: 50% 0; transform: scaleY(1); animation: blind 700ms var(--ease-io) forwards; animation-delay: calc(300ms + var(--k) * 50ms); }
@keyframes blind { to { transform: scaleY(0); } }
/* nameplate on the window frame: straddles the glass edge instead of covering the art */
.window__label { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); z-index: 3; display: inline-flex; gap: 10px; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font: 400 10px/1 Silkscreen, monospace; color: #E8E5F7; background: rgba(15, 14, 26, 0.88); border: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; white-space: nowrap; }
.window__label .dot { width: 6px; height: 6px; }
@media (max-width: 599px) { .wl-mid { display: none; } }
.window__label b { font-weight: 400; color: #34D39A; font-variant-numeric: tabular-nums; }

/* APPROVED — CEO stamp (from the annual report). Transitions, not keyframes:
   Sign off can be pressed again before the last stamp lifts. */
.stamp {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; padding: 9px 20px 8px;
  border: 3px double currentColor; border-radius: 10px; color: var(--stamp-ink);
  font: 400 15px/1.1 Silkscreen, monospace; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.stamp small { font-size: 9px; margin-top: 3px; letter-spacing: 0.14em; }
.stamp--green { color: var(--green-ink); }
.stamp-slot { display: flex; justify-content: center; margin-top: clamp(22px, 3vw, 34px); padding: 12px 0; }
.motion .floor[data-reveal] .stamp-slot .stamp { opacity: 0; transform: rotate(-4deg) scale(1.8); }
.motion .floor[data-reveal].is-stamped .stamp-slot .stamp { opacity: 1; transform: rotate(-4deg) scale(1); transition: opacity 180ms var(--ease-out), transform 420ms var(--ease-out); }
.approve { position: absolute; left: 50%; top: 50%; z-index: 3; pointer-events: none; transform: translate(-50%, -50%) rotate(-6deg) scale(1.7); opacity: 0; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.approve .stamp { background: rgba(246, 245, 240, 0.94); color: #16865F; font-size: 18px; padding: 12px 24px 10px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); }
.approve.is-on { opacity: 1; transform: translate(-50%, -50%) rotate(-6deg) scale(1); transition: opacity 120ms var(--ease-out), transform 220ms var(--ease-out); }

/* the table: live console under the window */
.table { margin-top: 12px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; padding: 12px; border-radius: 22px; }
.kpi { display: grid; align-content: center; justify-items: center; gap: 4px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--glass-line); text-align: center; }
.kpi__n { display: inline-block; font: 600 30px/1 "Space Grotesk", sans-serif; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi__n.bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { 30% { transform: translateY(-3px) scale(1.06); } }
.kpi__l { font: 400 10px/1.2 Silkscreen, monospace; color: var(--dim); }
.kpi--gold .kpi__n { color: var(--gold-ink); }
.kpi--green .kpi__n { color: var(--green-ink); }
.console { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.act {
  min-width: 132px; height: 64px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass-hi); color: var(--ink);
  display: grid; place-items: center; align-content: center; gap: 6px; cursor: pointer; font: 600 14px/1 Inter, sans-serif;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out);
}
.act small { font: 400 10px/1 Silkscreen, monospace; color: var(--muted); }
.act:active { transform: scale(0.96); }
.act[disabled] { opacity: 0.5; cursor: not-allowed; }
.act--primary { background: var(--violet); color: #fff; border-color: transparent; }
.act--primary small { color: rgba(255, 255, 255, 0.94); }
@media (hover: hover) and (pointer: fine) { .act:not([disabled]):hover { border-color: var(--violet-2); transform: translateY(-2px); } .act--primary:not([disabled]):hover { background: var(--violet-hover); } }
.ticker { grid-column: 1 / -1; height: 22px; overflow: hidden; text-align: center; font: 500 13px/22px "JetBrains Mono", monospace; color: var(--muted); }
.ticker span { display: inline-block; transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out); }
.ticker span.out { transform: translateY(-100%); opacity: 0; }
.ticker span.in { transform: translateY(100%); opacity: 0; transition: none; }
@media (max-width: 767px) {
  .table { grid-template-columns: 1fr 1fr; }
  .console { grid-column: 1 / -1; grid-row: 1; }
  .act { min-width: 0; }
  .ticker { font-size: 11px; height: 36px; line-height: 18px; }
}

/* hover card */
.hc { position: fixed; left: 0; top: 0; z-index: 70; width: 248px; padding: 14px; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 6px)) scale(0.96); transform-origin: 50% 100%; transition: opacity 160ms var(--ease-out), transform var(--t-ui) var(--ease-out); background: var(--glass-strong); }
.hc.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 12px)); }
.hc.is-below { transform: translate(-50%, 30px) scale(0.96); transform-origin: 50% 0; }
.hc.is-below.is-on { transform: translate(-50%, 36px); }
.hc__top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; }
.hc__av { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 400 12px/1 Silkscreen, monospace; color: #0F0E1A; }
.hc__who { text-align: center; }
.hc__who b { display: block; font: 600 16px/1.2 "Space Grotesk", sans-serif; }
.hc__who span { display: block; font-size: 12px; color: var(--dim); text-wrap: balance; }
.ring { width: 44px; height: 44px; }
.ring circle { fill: none; stroke-width: 4; }
.ring .bgc { stroke: var(--glass-line); } .ring .fgc { stroke: var(--green); stroke-linecap: butt; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring text { font: 600 10px Inter, sans-serif; fill: var(--ink); }
.hc__row { margin-top: 12px; display: grid; gap: 6px; font-size: 12px; text-align: center; }
.hc__status { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }
.hc__status i { width: 8px; height: 8px; }
.hc__order { font-family: "JetBrains Mono", monospace; color: var(--muted); }

/* news wire: constant motion, so linear; it pauses under the pointer */
.wire { position: relative; overflow: hidden; margin-top: clamp(40px, 5vw, 64px); border-block: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; justify-content: center; }
.wire::before, .wire::after { content: ""; position: absolute; top: 0; bottom: 0; width: min(12vw, 140px); z-index: 1; pointer-events: none; }
.wire::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.wire::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.wire__track { display: flex; flex: none; width: max-content; animation: wire 46s linear infinite; }
.wire__set { display: flex; flex: none; }
.wire__set span { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding-inline: 22px; white-space: nowrap; font: 400 11px/1 Silkscreen, monospace; color: var(--muted); letter-spacing: 0.05em; }
.wire__set span::before { content: ""; width: 6px; height: 6px; background: var(--violet-2); }
.wire__set span:nth-child(3n)::before { background: var(--green); }
.wire__set span:nth-child(3n + 2)::before { background: var(--gold); }
@keyframes wire { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .wire:hover .wire__track { animation-play-state: paused; } }

/* ============ cards ============ */
.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid--4, .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .grid--4, .grid--6 { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; padding: 28px 24px 26px; display: grid; justify-items: center; align-content: start; gap: 12px; text-align: center; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--t-hover) var(--ease-out); background: radial-gradient(260px 200px at var(--mx, 50%) var(--my, 0%), rgba(139, 108, 255, 0.18), transparent 70%); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-4px); border-color: rgba(139, 108, 255, 0.45); } .card:hover::before { opacity: 1; } .card:hover .icon-tile { transform: translateY(-2px) rotate(-3deg); } }
.card h3 { font-size: 1.25rem; font-weight: 600; }
.card p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; text-wrap: balance; }
.ic { width: 48px; height: 48px; image-rendering: pixelated; }
.ic .p { fill: var(--icon-p); } .ic .d { fill: var(--icon-d); } .ic .k { fill: var(--icon-k); } .ic .a { fill: var(--icon-a); } .ic .g { fill: var(--icon-g); } .ic .y { fill: var(--icon-y); }
.icon-tile { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; border: 1px solid var(--glass-line); background: var(--glass-hi); transition: transform var(--t-hover) var(--ease-out); }
.num { font: 400 11px/1 Silkscreen, monospace; color: var(--accent-text); }

/* steps: a memo travels the axis */
.steps { position: relative; }
.steps__rail { position: absolute; left: 12.5%; right: 12.5%; top: 66px; height: 2px; background: linear-gradient(90deg, transparent, var(--glass-line) 10%, var(--glass-line) 90%, transparent); pointer-events: none; }
.steps__memo { position: absolute; top: -5px; left: 0; width: 14px; height: 10px; background: var(--paper); box-shadow: inset 0 -2px 0 #CFCBDA; animation: memo 6s var(--ease-io) infinite; }
.steps__memo::after { content: ""; position: absolute; left: 5px; top: 4px; width: 4px; height: 4px; background: var(--violet); }
@keyframes memo { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(calc(var(--rail, 600px) - 14px)); opacity: 0; } }
@media (max-width: 1023px) { .steps__rail { display: none; } }
.steps .card { z-index: 1; }
.steps ol { list-style: none; padding: 0; margin: 0; }

/* extras chips */
.extras { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 10px; margin-top: 28px; }
.extras span { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); border: 1px solid var(--glass-line); background: var(--glass); text-align: center; }
.extras .exp { color: var(--gold-ink); border-color: rgba(255, 200, 61, 0.35); }
@media (max-width: 899px) { .extras { grid-template-columns: repeat(2, auto); } }
@media (max-width: 479px) { .extras { grid-template-columns: minmax(0, 1fr); justify-items: center; } }

/* engines: desk nameplates */
.plate { padding: 26px 20px 22px; grid-template-rows: auto auto auto 1fr auto; }
.plate__bar { align-self: end; }
.plate__mono { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; font: 400 22px/1 Silkscreen, monospace; color: #0F0E1A; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18), 0 0 0 4px var(--glass-line); transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .plate:hover .plate__mono { transform: translateY(-3px); } }
.plate__role { font: 400 10px/1.2 Silkscreen, monospace; color: var(--dim); }
.plate__bar { width: 100%; height: 6px; border-radius: 3px; background: var(--glass-line); overflow: hidden; }
.plate__bar i { display: block; height: 100%; width: var(--w); background: var(--green); transform-origin: 0 50%; }
.motion .floor:not(.is-open) .plate__bar i { transform: scaleX(0); }
.motion .plate__bar i { transition: transform 1.2s var(--ease-out) calc(var(--i, 0) * var(--stagger) + 600ms); }
.fine { margin-top: 26px; text-align: center; color: var(--dim); font-size: 13px; max-width: 70ch; margin-inline: auto; }

/* privacy: card | vault | card */
.vault { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.vault__core { display: grid; justify-items: center; align-content: center; gap: 16px; padding: 30px 20px; text-align: center; }
.vault__core .ic { width: 96px; height: 96px; }
.code { font: 500 14px/1 "JetBrains Mono", monospace; padding: 10px 14px; border-radius: 10px; background: #0B0A14; color: #E8E5F7; border: 1px solid rgba(255, 255, 255, 0.08); }
.code .k { color: #A994FF; } .code .v { color: #34D39A; }
.list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; width: 100%; }
.list li { text-wrap: balance; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--glass-line); font-size: 14px; color: var(--muted); }
.list li b { color: var(--ink); font-weight: 600; }
@media (max-width: 899px) { .vault { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } .vault__core { order: -1; } }

/* letter from the CEO */
.letter { position: relative; max-width: 780px; margin: 0 auto; padding: clamp(28px, 5vw, 60px) clamp(20px, 5vw, 72px); border-radius: 18px; background: var(--letter); color: #0F0E1A; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.6); }
.letter::before, .letter::after { content: ""; position: absolute; top: 18px; width: 22px; height: 22px; border-top: 2px solid #8B6CFF; }
.letter::before { left: 18px; border-left: 2px solid #8B6CFF; } .letter::after { right: 18px; border-right: 2px solid #8B6CFF; }
.letter__salute { text-align: center; font: 600 clamp(18px, 2vw, 21px)/1.3 "Space Grotesk", sans-serif; }
.letter__body { margin-top: 16px; text-align: center; text-wrap: pretty; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.75; color: var(--letter-ink); }
@media (min-width: 640px) { .letter__body { text-align: justify; text-align-last: center; hyphens: auto; -webkit-hyphens: auto; } }
.sig { margin: 28px auto 0; width: 220px; max-width: 100%; text-align: center; }
.sig svg { width: 220px; max-width: 100%; height: 70px; }
.motion .floor:not(.is-open) .sig svg { clip-path: inset(0 100% 0 0); }
.motion .sig svg { transition: clip-path 1400ms var(--ease-io) 900ms; clip-path: inset(0 0 0 0); }
.sig__who { border-top: 1px solid #CFCBDA; padding-top: 8px; font: 400 10px/1.4 Silkscreen, monospace; letter-spacing: 0.04em; text-transform: uppercase; color: #4A4670; }

/* pricing — PRICING swappable block */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1179px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; } }
@media (max-width: 639px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 440px; } }
/* subgrid: badge, name, price, note, list and button share rows across the plans */
.plan { padding: 30px 22px 26px; grid-row: span 6; grid-template-rows: subgrid; row-gap: 12px; }
.plan .btn { align-self: end; }
.plan__price { font: 700 2.6rem/1 "Space Grotesk", sans-serif; letter-spacing: -0.03em; display: inline-flex; align-items: baseline; gap: 6px; }
.plan__price small { font: 500 14px/1 Inter, sans-serif; color: var(--dim); letter-spacing: 0; }
.plan__alt { min-height: 20px; font-size: 13px; color: var(--muted); text-wrap: balance; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 4px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; align-content: start; }
.plan li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 2px; background: var(--green); }
.plan .btn { width: 100%; max-width: 280px; min-height: 50px; }
.plan--soon { border-style: dashed; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--glass-line); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: var(--glass-hi); box-shadow: none; } }
.badge { display: inline-flex; min-height: 26px; align-items: center; padding: 4px 10px; border-radius: 999px; font: 400 10px/1.1 Silkscreen, monospace; text-align: center; }
.badge--g { background: rgba(52, 211, 154, 0.14); color: var(--green-ink); }
.badge--y { background: rgba(255, 200, 61, 0.16); color: var(--gold-ink); }
.badge--v { background: rgba(139, 108, 255, 0.16); color: var(--accent-text); }
.plans-note { margin-top: 22px; text-align: center; color: var(--dim); font-size: 13px; }

/* minutes */
.minutes { max-width: 860px; margin-inline: auto; padding: clamp(26px, 4vw, 44px); }
.minutes__head { display: grid; justify-items: center; gap: 8px; text-align: center; padding-bottom: 20px; border-bottom: 1px dashed var(--glass-line); }
.minutes__v { font: 700 2.4rem/1 "Space Grotesk", sans-serif; }
.minutes ol { list-style: none; counter-reset: m; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.minutes li { counter-increment: m; text-wrap: balance; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--glass-line); font-size: 14px; color: var(--muted); text-align: center; }
.minutes li::before { content: "§" counter(m, decimal-leading-zero); display: block; font: 400 10px/1 Silkscreen, monospace; color: var(--accent-text); margin-bottom: 8px; }
.minutes li b { color: var(--ink); }
.minutes__foot { display: flex; justify-content: center; margin-top: 24px; }
@media (max-width: 599px) { .minutes ol { grid-template-columns: minmax(0, 1fr); } }

/* roof: the release crate lifts off (from the living tower) */
.roof { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 10px 10px clamp(30px, 5vw, 56px); background: linear-gradient(180deg, transparent 40%, rgba(106, 61, 240, 0.18)), var(--glass); }
.roof__sky { position: relative; width: 100%; height: clamp(220px, 28vw, 380px); border-radius: 16px; overflow: hidden; background: #0B0A14; }
.roof__sky canvas { position: absolute; left: 50%; top: 0; transform: translateX(-50%); image-rendering: pixelated; }
.roof__count { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); display: inline-flex; gap: 8px; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font: 400 10px/1 Silkscreen, monospace; color: #E8E5F7; background: rgba(15, 14, 26, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); white-space: nowrap; }
.roof__count b { font-weight: 400; color: #FFC83D; font-variant-numeric: tabular-nums; display: inline-block; }
.roof__count b.bump { animation: bump 420ms var(--ease-out); }
.roof__copy { display: grid; justify-items: center; gap: 16px; padding-inline: clamp(8px, 4vw, 40px); }
.files { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; gap: 12px; width: 100%; }
.files span { font: 400 11px/1.4 "JetBrains Mono", monospace; color: var(--dim); overflow-wrap: anywhere; }
@media (max-width: 479px) { .files { grid-template-columns: minmax(0, 1fr); max-width: 320px; } }
.roof__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 8px 20px; font-size: 13px; color: var(--dim); }
.roof__meta a { color: var(--accent-text); }
@media (max-width: 599px) { .roof__meta { grid-template-columns: minmax(0, 1fr); } }

/* Lex Laboratory LEX mark in CSS 3D (ported from the app's LexLogo3D) */
.lex3d { position: relative; display: grid; place-items: center; width: 168px; height: 96px; perspective: 700px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; border-radius: 16px; }
.lex3d[data-dragging] { cursor: grabbing; }
.lex3d__glow { position: absolute; inset: 20% 18% 22%; background: radial-gradient(closest-side, var(--lex-glow), transparent); filter: blur(14px); pointer-events: none; }
.lex3d__body { position: relative; width: 120px; aspect-ratio: 630 / 262; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(-28deg); will-change: transform; }
.lex3d__slice { position: absolute; inset: 0; transform-style: preserve-3d; backface-visibility: visible; }
.lex3d__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lex3d__svg--side { color: var(--lex-side-near); filter: brightness(0.85); }
.lex3d__slice:nth-child(n + 6) .lex3d__svg--side { color: var(--lex-side-far); }
.lex3d__slice--front .lex3d__svg { filter: drop-shadow(0 0 6px var(--lex-shadow)); }
.lex3d__stop--a { stop-color: var(--lex-a); } .lex3d__stop--b { stop-color: var(--lex-b); } .lex3d__stop--c { stop-color: var(--lex-c); }
.lex3d__floor { position: absolute; left: 26%; right: 26%; bottom: 10px; height: 8px; border-radius: 50%; background: radial-gradient(closest-side, var(--lex-shadow), transparent); filter: blur(4px); pointer-events: none; }

/* ============ reduced motion: fewer, gentler — keep fades, drop travel ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .in { animation: in-fade 400ms linear both; animation-delay: 0ms; }
  @keyframes in-fade { from { opacity: 0; } }
  .js .h1[data-tw]:not(.tw-ready) { animation: none; }
  .blinds i { animation: fadeout 400ms linear 200ms forwards; transform: none; }
  @keyframes fadeout { to { opacity: 0; } }
  .window__glass::after, .steps__memo, .dot::after { animation: none; }
  .wire__track { animation: none; }
  .wire__set + .wire__set { display: none; }
  .motion .floor[data-reveal]:not(.is-open) .rv { translate: none; }
  .rv { transition-duration: 400ms, 0s, 0s, var(--t-hover), var(--t-ui); transition-delay: 0s; transition-timing-function: linear; }
  .fl__roll, .hc, .sheet, .floor-btn { transition-duration: 1ms; }
  .motion .floor:not(.is-open) .plate__bar i { transform: none; }
  .motion .floor:not(.is-open) .sig svg { clip-path: none; }
  .motion .floor[data-reveal] .stamp-slot .stamp { opacity: 1; transform: rotate(-4deg); }
  .approve, .approve.is-on { transform: translate(-50%, -50%) rotate(-6deg); transition: opacity 200ms linear; }
  .tw .c.cur::after { display: none; }
  .btn::before { display: none; }
  .kpi__n.bump, .roof__count b.bump { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .card:hover, .btn:hover, .act:not([disabled]):hover, .card:hover .icon-tile, .plate:hover .plate__mono { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .roof__count { display: none; } }

/* ============ legal page ============ */
/* the static page waits for its fonts too (max 900 ms): no fallback-font reflow */
.legal-page { transition: opacity 240ms var(--ease-out); }
.fonts-wait .legal-page { opacity: 0; }
.legal-page { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; padding: 56px 0 64px; text-align: center; }
.legal-page__home { position: relative; display: inline-flex; color: var(--ink); text-decoration: none; }
.legal-page__home::before { content: ""; position: absolute; inset: -14px -10px; }
.legal-page__home .brand__word { font-size: 32px; }
.legal-page__home .brand__bow { display: block; margin: 0 5px 0 4px; transform: translateY(2px); line-height: 0; }
/* static page (no script): whole device pixels per bow cell (9x5) at common zoom levels */
.legal-page .mark-svg { width: 27px; height: 15px; }
@media (resolution: 1.1dppx) { .legal-page .mark-svg { width: 24.5455px; height: 13.6364px; } }
@media (resolution: 1.25dppx) { .legal-page .mark-svg { width: 28.8px; height: 16px; } }
@media (resolution: 1.5dppx) { .legal-page .mark-svg { width: 30px; height: 16.6667px; } }
@media (resolution: 1.75dppx) { .legal-page .mark-svg { width: 25.7143px; height: 14.2857px; } }
@media (resolution: 2.25dppx) { .legal-page .mark-svg { width: 28px; height: 15.5556px; } }
@media (resolution: 2.5dppx) { .legal-page .mark-svg { width: 28.8px; height: 16px; } }
.legal-card { width: min(760px, 100%); padding: clamp(20px, 4vw, 32px); display: grid; gap: 12px; text-align: center; }
.legal-card h2 { font-size: 1.25rem; font-weight: 600; }
.legal-card p { color: var(--muted); font-size: 15px; }
.legal-card a, .legal-page .copy a { color: var(--accent-text); }
.license { margin: 0; padding: 16px; border-radius: 12px; background: #0B0A14; color: #E8E5F7; border: 1px solid rgba(255, 255, 255, 0.08); font: 400 12px/1.6 "JetBrains Mono", ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; text-align: left; }
.legal-page .copy { margin-top: 10px; width: 100%; text-align: center; }
.legal-page .copy > a { position: relative; }
.legal-page .copy > a::before { content: ""; position: absolute; inset: -12px -8px; }

/* ============ chrome: command bar, brand lockup, footer ============
   Three variants share ONE markup; the attribute data-brand on <html> (or on any
   container, as on opciones-header-footer.html) picks the look:
     a «Placa»  official app icon tile + wordmark, nav centred, tools right
     b «Solapa» symmetric: nav split around a centred tuxedo crest
     c «Moño»   wordmark whose dot is the violet pixel bow tie (default)
   Swapping later = change data-brand. Nothing else. */

/* ---- brand lockup ---- */
.brand { position: relative; flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.brand .mark { flex: none; }
.brand__tile { --mk: 28px; }
.brand__crest { --mk: 28px; display: none; border-radius: 7px; overflow: hidden; box-shadow: 0 0 0 1px var(--glass-hi); }
.brand__word { display: inline-flex; align-items: baseline; font: 600 18px/1 "Space Grotesk", Inter, sans-serif; letter-spacing: -0.025em; white-space: nowrap; }
.brand__dot { display: inline-flex; align-items: center; align-self: stretch; }
.brand__period { color: var(--accent-text); }
.brand__bow { --mk: 18px; display: none; margin: 0 3px 0 2px; transform: translateY(1px); }
.brand__word .mark { line-height: 0; }

/* ---- command bar ---- */
.cmd { position: fixed; top: 10px; left: 0; right: 0; z-index: 80; pointer-events: none; }
.cmd__bar {
  pointer-events: auto; position: relative; width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto;
  min-height: 58px; padding: 6px 7px 6px 14px; display: flex; align-items: center; gap: 4px; border-radius: 14px;
}
/* elevator readout: a hairline, the floor number that rolls, the floor name */
.cmd__floor { flex: none; display: none; align-items: center; gap: 6px; height: 20px; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--glass-line); font: 400 10px/1 Silkscreen, monospace; color: var(--dim); white-space: nowrap; }
.fl__digits { display: inline-block; height: 12px; overflow: hidden; color: var(--ink); line-height: 12px; }
.fl__roll { display: flex; flex-direction: column; transition: transform 420ms var(--ease-out); }
.fl__roll span { display: block; height: 12px; text-align: center; }
.fl__name { display: inline-block; min-width: 5ch; transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
.fl__name.is-swap { opacity: 0; transform: translateY(-4px); }

.cmd__navs { display: none; gap: 2px; }
.cmd__nav { display: flex; gap: 2px; }
.cmd__link {
  position: relative; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 9px;
  font: 500 13px/1 Inter, sans-serif; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out);
}
.cmd__link::before { content: ""; position: absolute; inset: -4px 0; } /* 44 px hit area, same look */
.cmd__link::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 2px; margin-left: -7px; background: var(--violet-2); transform: scaleX(0); transition: transform var(--t-hover) var(--ease-out); }
.cmd__link[aria-current="true"] { color: var(--ink); }
.cmd__link[aria-current="true"]::after { transform: scaleX(1); }

.cmd__util { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.ib {
  position: relative; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px; padding: 0;
  background: transparent; color: var(--muted); cursor: pointer; text-decoration: none; font: 400 10px/1 Silkscreen, monospace;
  transition: color var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out);
}
.ib::before { content: ""; position: absolute; inset: -4px; }
.ib svg { width: 15px; height: 15px; }
.menu-btn {
  position: relative; flex: none; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border-radius: 9px;
  border: 1px solid var(--glass-line); background: transparent; color: var(--ink); cursor: pointer; font: 500 13px/1 Inter, sans-serif;
  transition: background-color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out);
}
.menu-btn::before { content: ""; position: absolute; inset: -5px -4px; }
.menu-btn .bars { position: relative; width: 14px; height: 9px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform var(--t-hover) var(--ease-out); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-3.75px) rotate(-45deg); }
.cta-pill {
  position: relative; flex: none; height: 36px; margin-left: 6px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 9px;
  background: var(--violet); color: #fff; font: 600 13px/1 Inter, sans-serif; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background-color var(--t-ui) var(--ease-out), transform var(--t-press) var(--ease-out);
}
.cta-pill::before { content: ""; position: absolute; inset: -4px -2px; }
.cta-pill svg { width: 14px; height: 14px; }
.cta-pill:active, .menu-btn:active, .ib:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .cmd__link:hover { color: var(--ink); background: var(--glass-hi); }
  .ib:hover { color: var(--ink); background: var(--glass-hi); }
  .menu-btn:hover { background: var(--glass-hi); }
  .cta-pill:hover { background: var(--violet-hover); }
}
.pill { /* sheet footer and small secondary buttons */
  flex: none; position: relative; height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--glass-line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 13px/1 Inter, sans-serif; color: var(--ink); background: transparent; cursor: pointer; text-decoration: none;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) var(--ease-out);
}
.pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .pill:hover { background: var(--glass-hi); } }

/* ---- variant A «Placa» and C «Moño»: brand left, nav on the exact axis ---- */
[data-brand="a"] .brand__word .brand__period { color: var(--accent-text); }
[data-brand="c"] .brand__tile, [data-brand="b"] .brand__tile { display: none; }
[data-brand="c"] .brand__period { display: none; }
[data-brand="c"] .brand__bow { display: block; }
[data-brand="c"] .brand__word { font-size: 19px; }
@media (min-width: 1260px) {
  [data-brand="a"] .cmd__navs, [data-brand="c"] .cmd__navs { display: flex; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}
@media (min-width: 1380px) { [data-brand="a"] .cmd__floor, [data-brand="c"] .cmd__floor { display: inline-flex; } }

/* ---- variant B «Solapa»: nav split, crest on the axis ---- */
[data-brand="b"] .cmd__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-left: 7px; column-gap: 8px; }
[data-brand="b"] .brand { grid-column: 2; grid-row: 1; justify-self: center; }
[data-brand="b"] .brand__crest { display: block; }
[data-brand="b"] .brand__period { color: var(--accent-text); }
[data-brand="b"] .cmd__navs { display: contents; }
[data-brand="b"] .cmd__nav { display: none; }
[data-brand="b"] .cmd__nav--l { grid-column: 1; grid-row: 1; justify-self: end; }
[data-brand="b"] .cmd__nav--r { grid-column: 3; grid-row: 1; justify-self: start; }
[data-brand="b"] .cmd__util { grid-column: 1; grid-row: 1; justify-self: start; margin-left: 0; flex-direction: row-reverse; }
[data-brand="b"] .cta-pill { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
@media (min-width: 1260px) { [data-brand="b"] .cmd__nav { display: flex; } }

/* ---- small screens: theme + language live in the elevator panel ---- */
@media (max-width: 719px) {
  .cmd__util .ib { display: none; }
  .cmd__bar { padding-left: 12px; }
  [data-brand="b"] .cmd__bar { padding-left: 7px; }
}
@media (max-width: 419px) {
  .menu-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .menu-btn .lbl { display: none; }
  .cta-pill { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .cta-pill .lbl { display: none; }
  .cmd__bar { min-height: 58px; }
  .brand__word { font-size: 17px; }
  [data-brand="c"] .brand__word { font-size: 18px; }
}

/* ============ footer ============ */
.foot { position: relative; margin-top: clamp(40px, 6vw, 80px); padding: clamp(56px, 7vw, 88px) 0 40px; border-top: 1px solid var(--glass-line); }
.foot__in { display: grid; justify-items: center; gap: clamp(28px, 4vw, 40px); text-align: center; }
.foot__brand { display: grid; justify-items: center; gap: 12px; }
.foot__home { position: relative; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; border-radius: 12px; }
.foot__home::before { content: ""; position: absolute; inset: -8px; }
.foot__tile { --mk: 40px; }
.foot__crest { --mk: 40px; display: none; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--glass-hi), 0 14px 30px -14px rgba(0, 0, 0, 0.6); }
.foot__home .brand__word { font-size: 26px; }
.foot__home .brand__bow { --mk: 27px; margin: 0 5px 0 4px; transform: translateY(2px); }
.foot__tag { font-size: 14px; color: var(--muted); max-width: 40ch; }
.foot__cols { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.foot__col { display: grid; align-content: start; justify-items: center; gap: 2px; }
.foot__col h2 { margin-bottom: 6px; font: 400 10px/1.2 Silkscreen, monospace; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; }
.foot__col a { position: relative; display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; color: var(--muted); text-decoration: none; text-wrap: balance; transition: color var(--t-ui) var(--ease-out); }
.foot__col a::before { content: ""; position: absolute; inset: -6px -10px; }
@media (hover: hover) and (pointer: fine) { .foot__col a:hover, .foot__home:hover .brand__word { color: var(--ink); } }
.foot__rule { width: min(100%, 520px); height: 1px; background: linear-gradient(90deg, transparent, var(--glass-line) 20%, var(--glass-line) 80%, transparent); position: relative; }
.foot__rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--violet-2); transform: translate(-50%, -50%) rotate(45deg); }
.foot__maker { display: grid; justify-items: center; gap: 6px; }
.copy { display: grid; justify-items: center; gap: 4px; color: var(--dim); font-size: 12.5px; }
.copy a { color: var(--muted); }
.copy .legal { position: relative; font-size: 12px; line-height: 22px; color: var(--dim); }
.copy .legal::before { content: ""; position: absolute; inset: -11px -8px; }
@media (max-width: 767px) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* A «Colofón»: columns mirrored around the crest (left block right-aligned, right block left-aligned) */
[data-brand="a"] .foot__in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: clamp(24px, 5vw, 72px); align-items: start; }
[data-brand="a"] .foot__brand { grid-column: 2; grid-row: 1; align-self: center; }
[data-brand="a"] .foot__cols { display: contents; }
[data-brand="a"] .foot__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; grid-row: 1; }
[data-brand="a"] .foot__pair--l { grid-column: 1; }
[data-brand="a"] .foot__pair--l .foot__col { justify-items: end; text-align: right; }
[data-brand="a"] .foot__pair--r { grid-column: 3; }
[data-brand="a"] .foot__pair--r .foot__col { justify-items: start; text-align: left; }
[data-brand="a"] .foot__rule, [data-brand="a"] .foot__maker { grid-column: 1 / -1; }
[data-brand="a"] .foot__tile { display: block; }
[data-brand="a"] .foot__home { flex-direction: column; gap: 10px; }
[data-brand="a"] .foot__home .brand__word { font-size: 22px; }
@media (max-width: 899px) {
  [data-brand="a"] .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  [data-brand="a"] .foot__brand { grid-column: 1 / -1; grid-row: 1; }
  [data-brand="a"] .foot__pair { grid-row: 2; grid-template-columns: minmax(0, 1fr); }
  [data-brand="a"] .foot__pair--l { grid-column: 1; } [data-brand="a"] .foot__pair--r { grid-column: 2; }
}
/* B «Eje»: one axis; the crest, the line, a single row of the essentials */
[data-brand="b"] .foot__tile { display: none; }
[data-brand="b"] .foot__crest { display: block; }
[data-brand="b"] .foot__home { flex-direction: column; gap: 12px; }
[data-brand="b"] .foot__home .brand__word { font-size: 22px; }
[data-brand="b"] .foot__cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; max-width: 760px; }
[data-brand="b"] .foot__pair { display: contents; }
[data-brand="b"] .foot__col { display: contents; }
[data-brand="b"] .foot__col h2, [data-brand="b"] .foot__col a:not(.key) { display: none; }
/* C «Firma»: the wordmark as a signature over four even columns */
[data-brand="c"] .foot__tile, [data-brand="c"] .foot__crest { display: none; }
[data-brand="c"] .foot__home .brand__word { font-size: clamp(30px, 4.4vw, 44px); }
[data-brand="c"] .foot__home .brand__bow { --mk: 36px; margin: 0 7px 0 6px; transform: translateY(3px); }
[data-brand="c"] .foot__pair { display: contents; }
[data-brand="a"] .foot__home .brand__bow, [data-brand="b"] .foot__home .brand__bow { display: none; }

/* Lex Laboratory: small, above the copyright, in every variant */
.foot .lex3d { width: 132px; height: 76px; }
.foot .lex3d__body { width: 96px; }

/* the bar waits for the brand fonts like the page (max 900 ms): no header reflow */
.fonts-wait .cmd { opacity: 0; }
.cmd { transition: opacity 240ms var(--ease-out); }

/* ============ C «Moño»: the bow absorbs the name and becomes the app icon ============
   Resting state = the official icon; hover / keyboard focus unfolds «pixel.ceo».
   Transform + opacity only. The brand box always keeps the full wordmark width,
   so nothing in the bar reflows; the floor readout follows with a transform.
   --dx (per letter), --bdx (bow) and --fdx (readout) are measured in app.js. */
.brand__icon { --mk: 32px; display: none; }
[data-brand="c"] .cmd .brand__icon { display: flex; align-items: center; position: absolute; left: 0; top: 0; bottom: 0; line-height: 0; pointer-events: none; }
[data-brand="c"] .cmd .brand__icon .mark-svg { display: block; }
.brand__word--anim .bl { display: inline-block; }
[data-brand="c"] .cmd .brand { --t-logo: 620ms; --e-logo: cubic-bezier(0.22, 1, 0.36, 1); }
[data-brand="c"] .cmd .brand .bl,
[data-brand="c"] .cmd .brand .brand__bow,
[data-brand="c"] .cmd .brand__icon,
[data-brand="c"] .cmd .cmd__floor {
  transition-property: transform, opacity; transition-duration: var(--t-logo, 620ms); transition-timing-function: var(--e-logo, cubic-bezier(0.22, 1, 0.36, 1));
}
/* open (the name): icon waits folded inside the bow */
[data-brand="c"] .cmd .brand .bl { transition-duration: var(--t-logo, 620ms), 420ms; transition-delay: calc(140ms + var(--k) * 30ms); }
[data-brand="c"] .cmd .brand__icon { opacity: 0; transform: translateX(var(--bdx, 40px)) scale(0.56); transition-delay: 0ms; }
[data-brand="c"] .cmd .brand .brand__bow { transition-delay: 0ms; }
/* closed (the icon): letters slide and shrink into the bow, the bow grows into the icon */
[data-brand="c"] .cmd .brand.is-closed .bl { opacity: 0; transform: translateX(var(--dx, 0px)) scale(0.2); transition-duration: 540ms, calc(240ms + var(--k) * 70ms); transition-delay: calc(var(--k) * 25ms); }
[data-brand="c"] .cmd .brand.is-closed .brand__bow { opacity: 0; transform: translateX(calc(var(--bdx, 40px) * -1)) scale(1.78); transition-delay: 160ms; }
[data-brand="c"] .cmd .brand.is-closed .brand__icon { opacity: 1; transform: none; transition-delay: 160ms; }
[data-brand="c"] .cmd .cmd__floor { transition-delay: 60ms; }
[data-brand="c"] .cmd .brand.is-closed ~ .cmd__floor { transform: translateX(var(--fdx, 0px)); transition-delay: 200ms; }
/* reduced motion: a simple crossfade, nothing travels */
@media (prefers-reduced-motion: reduce) {
  [data-brand="c"] .cmd .brand .bl, [data-brand="c"] .cmd .brand .brand__bow, [data-brand="c"] .cmd .brand__icon, [data-brand="c"] .cmd .cmd__floor { transition-duration: 220ms; transition-delay: 0ms !important; transition-timing-function: linear; }
  [data-brand="c"] .cmd .brand.is-closed .bl, [data-brand="c"] .cmd .brand.is-closed .brand__bow { transform: none; }
  [data-brand="c"] .cmd .brand__icon, [data-brand="c"] .cmd .brand.is-closed .brand__icon { transform: none; }
  [data-brand="c"] .cmd .brand.is-closed ~ .cmd__floor { transform: none; }
}

/* the full name lives in the mobile panel (touch keeps the icon in the bar) */
.sheet__brand { display: none; justify-content: center; margin: 0 0 12px; color: var(--ink); }
.sheet__brand .brand__word { font-size: 22px; }
[data-brand="c"] .sheet__brand .brand__period { display: none; }
[data-brand="c"] .sheet__brand .brand__bow { display: block; --mk: 22px; margin: 0 4px 0 3px; transform: translateY(1px); line-height: 0; }
[data-brand="c"] .sheet__brand { display: flex; }

/* the signature footer's copyright: a sentence, not a stamp */
.copy { max-width: 64ch; text-wrap: balance; line-height: 1.6; }
.copy__own { color: var(--muted); font-size: 12.5px; }
.copy__contact { color: var(--dim); font-size: 12.5px; }
.copy__addr { color: var(--dim); font-size: 12.5px; }
.copy__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 12px; color: var(--dim); }
.copy__contact a, .copy__own a { position: relative; color: var(--ink); text-decoration: underline; text-decoration-color: var(--glass-hi); text-underline-offset: 3px; }
.copy .legal { margin-top: 4px; }

/* elevator panel: the main pages first, then this page's floors */
.sheet__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.sheet__links .pill { width: 100%; height: 44px; padding: 0 8px; font-weight: 500; }
.sheet__grid:empty { display: none; }
@media (max-width: 419px) { .sheet__links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ feature floors (iteration 3) ============ */
.badge--soon { background: transparent; color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(255, 200, 61, 0.5); }
.badge--live { background: rgba(52, 211, 154, 0.14); color: var(--green-ink); }
.badge--exp { background: transparent; color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(139, 108, 255, 0.5); }

/* a feature floor: the visual and the points share the axis */
.feat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.feat--rev > .feat__vis { order: 2; }
@media (max-width: 959px) { .feat { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; } .feat--rev > .feat__vis { order: 0; } }
.feat__vis { position: relative; min-width: 0; }
.pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pt { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pt__ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--glass-hi); border: 1px solid var(--glass-line); }
.pt h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pt p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.pt code, .kbd { font: 500 12px/1 "JetBrains Mono", monospace; padding: 3px 6px; border-radius: 5px; background: var(--glass-hi); border: 1px solid var(--glass-line); color: var(--ink); white-space: nowrap; }
.pt--soon { border-style: dashed; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 719px) { .pts--2 { grid-template-columns: minmax(0, 1fr); } }
.sub { margin-top: clamp(32px, 4vw, 48px); margin-bottom: 16px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.sub h3 { font-size: 1.35rem; font-weight: 600; }
.sub p { color: var(--muted); max-width: 62ch; font-size: 15px; text-wrap: balance; }
.note { margin-top: 18px; text-align: center; color: var(--dim); font-size: 13px; max-width: 72ch; margin-inline: auto; text-wrap: balance; }

/* UI crops: a small app window drawn in HTML/CSS */
.ui { position: relative; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass-strong); box-shadow: var(--shadow); overflow: hidden; }
.ui__bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--glass-line); font: 400 10px/1 Silkscreen, monospace; color: var(--dim); letter-spacing: 0.05em; }
.ui__bar .dot3 { display: inline-flex; gap: 5px; margin-right: 6px; }
.ui__bar .dot3 i { width: 7px; height: 7px; border-radius: 2px; background: var(--glass-line); }
.ui__bar .grow { flex: 1; }
.ui__body { padding: 14px; }

/* staff wall: one terminal per engine */
.terms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.term { --c: #8B6CFF; position: relative; flex: 0 0 calc((100% - 6 * 12px) / 7); min-width: 0; border-radius: 10px; background: #0B0A14; border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; outline: none; cursor: default;
  transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out), border-color var(--t-ui) var(--ease-out); }
@media (max-width: 1099px) { .term { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 599px) { .term { flex-basis: calc((100% - 12px) / 2); } }
.term__bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px; background: #15132A; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.term__ico { flex: none; line-height: 0; }
.term__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12px/1 Inter, sans-serif; color: #F2F0FF; }
.term__cmd { flex: none; font: 400 10px/1 "JetBrains Mono", monospace; color: #B9B4CF; }
.term__screen { display: grid; place-items: center; padding: 6px 0; min-height: 112px; background: #0B0A14; }
.term__screen canvas { image-rendering: pixelated; }
.term:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; transform: translateY(-6px) scale(1.06); z-index: 2; border-color: var(--c); box-shadow: 0 22px 40px -22px var(--c); }
@media (hover: hover) and (pointer: fine) { .term:hover { transform: translateY(-6px) scale(1.06); z-index: 2; border-color: var(--c); box-shadow: 0 22px 40px -22px var(--c); } }
@media (prefers-reduced-motion: reduce) { .term, .term:hover, .term:focus-visible { transform: none !important; } }

/* hiring in five steps */
.hire5 { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: h; list-style: none; padding: 0; }
.hire5 li { counter-increment: h; position: relative; padding: 16px 14px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); text-align: center; font-size: 13.5px; color: var(--muted); text-wrap: balance; }
.hire5 li::before { content: counter(h, decimal-leading-zero); display: block; margin-bottom: 6px; font: 400 10px/1 Silkscreen, monospace; color: var(--accent-text); }
.hire5 li b { display: block; margin-bottom: 4px; font: 600 15px/1.2 "Space Grotesk", sans-serif; color: var(--ink); }
@media (max-width: 899px) { .hire5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hire5 li:last-child { grid-column: 1 / -1; } }

/* projects: the tower (floors = project folders) */
.tower { display: grid; gap: 8px; }
.tower__fl { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--glass-line); background: var(--glass-hi); }
.tower__fl.is-on { border-color: rgba(139, 108, 255, 0.55); box-shadow: inset 3px 0 0 var(--violet-2); }
.tower__n { font: 400 11px/1 Silkscreen, monospace; color: var(--accent-text); text-align: center; }
.tower__p { min-width: 0; display: grid; gap: 4px; }
.tower__p b { font: 600 14px/1.2 Inter, sans-serif; }
.tower__p span { font: 400 11.5px/1.3 "JetBrains Mono", monospace; color: var(--muted); overflow-wrap: anywhere; }
.tower__who { display: flex; gap: 4px; }
.tower__who i { width: 10px; height: 14px; border-radius: 2px; background: var(--c); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(15, 14, 26, 0.18); }
.branches { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 4px 66px; }
.branch { --c: var(--green); display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 8px; border-radius: 6px; font: 400 11px/1.2 "JetBrains Mono", monospace; color: var(--muted); border: 1px dashed var(--glass-line); }
.branch::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 1px; background: var(--c); box-shadow: 0 0 0 1px rgba(15, 14, 26, 0.18); }
@media (max-width: 479px) { .branches { padding-left: 0; } .tower__fl { grid-template-columns: 40px minmax(0, 1fr) auto; } }

/* missions: the board */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.board__col { display: grid; align-content: start; gap: 8px; min-width: 0; }
.board__h { display: flex; justify-content: space-between; align-items: center; font: 400 10px/1 Silkscreen, monospace; color: var(--dim); padding: 4px 2px 8px; border-bottom: 1px solid var(--glass-line); }
.tk { display: grid; gap: 8px; padding: 10px; border-radius: 9px; background: var(--glass); border: 1px solid var(--glass-line); font-size: 12.5px; line-height: 1.35; }
.tk__ref { font: 400 10px/1 Silkscreen, monospace; color: var(--accent-text); }
.tk__who { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.tk__who i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.tk--need { border-color: rgba(255, 200, 61, 0.55); animation: needpulse 2.4s ease-in-out infinite; }
.tk__ask { display: flex; gap: 6px; }
.tk__ask span { flex: 1; text-align: center; padding: 6px 0; border-radius: 6px; font: 600 11px/1 Inter, sans-serif; border: 1px solid var(--glass-line); color: var(--ink); }
.tk__ask span:first-child { color: var(--green-ink); border-color: rgba(52, 211, 154, 0.5); }
.tk__stamp { justify-self: start; font: 400 9px/1 Silkscreen, monospace; color: var(--green-ink); border: 2px double currentColor; border-radius: 5px; padding: 4px 6px; transform: rotate(-3deg); }
@keyframes needpulse { 50% { box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.14); } }
@media (max-width: 559px) { .board { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .tk--need { animation: none; } }

/* work mode: office / work switch */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; border: 1px solid var(--glass-line); background: var(--glass); }
.seg button { position: relative; min-width: 104px; height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 600 13px/1 Inter, sans-serif; cursor: pointer; transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out); }
.seg button::before { content: ""; position: absolute; inset: -4px 0; }
.seg button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.seg .kbd { margin-left: 6px; font-size: 10px; padding: 2px 5px; background: rgba(127, 127, 160, 0.18); border-color: transparent; color: inherit; }
.modes { display: grid; justify-items: center; gap: 14px; }
.stage { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #0B0A14; border: 1px solid rgba(255, 255, 255, 0.08); }
.stage__office, .stage__work { position: absolute; inset: 0; transition: opacity 260ms var(--ease-out), transform 360ms var(--ease-out); }
.stage[data-show="office"] .stage__work { opacity: 0; transform: scale(0.98); pointer-events: none; }
.stage[data-show="work"] .stage__office { opacity: 0; }
.stage__office { display: grid; place-items: center; background: linear-gradient(180deg, #1C1A2E 0 28%, #2B2848 28% 29%, #221F38 29%); }
.stage__office .desks { display: grid; grid-template-columns: repeat(4, 34px); gap: 22px 26px; margin-top: 24px; }
.stage__office .desks i { position: relative; height: 16px; border-radius: 2px; background: #6E4C34; box-shadow: inset 0 3px 0 #8E6444; }
.stage__office .desks i::before { content: ""; position: absolute; left: 11px; top: -13px; width: 12px; height: 13px; border-radius: 3px 3px 0 0; background: var(--c, #8B6CFF); }
.stage__work { display: grid; grid-template-columns: 30% minmax(0, 1fr); background: #0F0E1A; }
.stage__side { padding: 34px 10px 10px; display: grid; align-content: start; gap: 6px; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.stage__side span { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 6px; border-radius: 5px; font: 500 11px/1 Inter, sans-serif; color: #B9B4CF; white-space: nowrap; overflow: hidden; }
.stage__side span.on { background: rgba(139, 108, 255, 0.2); color: #F2F0FF; }
.stage__side span i { flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
.stage__term { position: relative; padding: 34px 14px 12px; display: grid; align-content: start; gap: 8px; }
.stage__term b { display: block; height: 5px; border-radius: 1px; background: #4A4670; width: var(--w); }
.stage__term b.c { background: #D97757; } .stage__term b.g { background: #34D39A; }
.stage__mini { position: absolute; right: 10px; bottom: 10px; width: 26%; aspect-ratio: 16 / 10; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.16); background: linear-gradient(180deg, #1C1A2E 0 35%, #221F38 35%); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8); }
.stage__mini::after { content: ""; position: absolute; inset: 52% 16% 22%; background: repeating-linear-gradient(90deg, #6E4C34 0 14%, transparent 14% 25%); }
.stage__cap { position: absolute; left: 12px; top: 12px; z-index: 1; font: 400 9.5px/1 Silkscreen, monospace; color: #B9B4CF; letter-spacing: 0.05em; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; width: 100%; aspect-ratio: 16 / 6; padding: 4px; border-radius: 10px; border: 1px dashed rgba(255, 200, 61, 0.5); }
.split i { border-radius: 5px; background: repeating-linear-gradient(180deg, rgba(139, 108, 255, 0.24) 0 3px, transparent 3px 9px), #0B0A14; }
.split i:first-child { grid-row: span 2; }

/* office: furniture that works */
.furn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1023px) { .furn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .furn { grid-template-columns: minmax(0, 1fr); } }
.furn li { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 18px 14px 16px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); text-align: center; }
.furn li.is-soon { border-style: dashed; background: transparent; }
.furn__art { width: 76px; height: 64px; display: grid; place-items: center; border-radius: 10px; background: var(--glass-hi); border: 1px solid var(--glass-line); }
.furn h3 { font-size: 1rem; font-weight: 600; }
.furn p { font-size: 13px; color: var(--muted); text-wrap: balance; }
.ring-bell { transform-origin: 50% 10%; animation: bell 3.2s var(--ease-out) infinite; }
@keyframes bell { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(12deg); } 80% { transform: rotate(-10deg); } 86% { transform: rotate(6deg); } 92% { transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .ring-bell { animation: none; } }
.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 899px) { .looks { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }
.look { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 20px 16px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); text-align: center; }
.look h3 { font-size: 1.02rem; font-weight: 600; }
.look p { font-size: 13.5px; color: var(--muted); text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 10px; border-radius: 7px; border: 1px solid var(--glass-line); font-size: 12.5px; color: var(--muted); background: var(--glass-hi); }
.chips span.is-soon { border-style: dashed; background: transparent; color: var(--gold-ink); }
.sw { flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }

/* control room: quota rings and machine meters */
.meters { display: grid; gap: 12px; }
.rings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rg { display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border-radius: 10px; background: var(--glass); border: 1px solid var(--glass-line); text-align: center; }
.rg__wrap { position: relative; display: block; width: 64px; height: 64px; }
.rg__ring { display: block; --p: 60; --rc: var(--green); width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--rc) calc(var(--p) * 1%), var(--glass-line) 0); -webkit-mask: radial-gradient(circle, transparent 24px, #000 25px); mask: radial-gradient(circle, transparent 24px, #000 25px); }
.rg__wrap b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 14px/1 "Space Grotesk", sans-serif; }
.rg__who { font-size: 12.5px; font-weight: 600; }
.rg__win { font: 400 10px/1.3 Silkscreen, monospace; color: var(--muted); }
.mbars { display: grid; gap: 10px; padding: 14px; border-radius: 10px; background: var(--glass); border: 1px solid var(--glass-line); }
.bar { display: grid; grid-template-columns: 72px minmax(0, 1fr) 58px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.bar__t { height: 8px; border-radius: 3px; background: var(--glass-line); overflow: hidden; }
.bar__t i { display: block; height: 100%; width: var(--w); background: var(--c, var(--violet-2)); border-radius: 3px; transform-origin: 0 50%; }
.motion .floor:not(.is-open) .bar__t i { transform: scaleX(0); }
.motion .bar__t i { transition: transform 1.1s var(--ease-out) 500ms; }
@media (prefers-reduced-motion: reduce) { .motion .floor:not(.is-open) .bar__t i { transform: none; } }
.bar__v { text-align: right; font: 500 12px/1 "JetBrains Mono", monospace; color: var(--ink); }

/* security */
.sec-ui .ui__body { display: grid; gap: 14px; }
.ui__lbl { font: 400 10px/1 Silkscreen, monospace; color: var(--dim); letter-spacing: 0.05em; }
.auto3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 3px; border-radius: 10px; border: 1px solid var(--glass-line); }
.auto3 span { display: grid; place-items: center; gap: 4px; padding: 9px 4px; border-radius: 7px; font: 600 12.5px/1.1 Inter, sans-serif; color: var(--muted); text-align: center; }
.auto3 span small { font: 400 9.5px/1.2 Silkscreen, monospace; color: var(--dim); }
.auto3 span.on { background: var(--violet); color: #fff; }
.auto3 span.on small { color: rgba(255, 255, 255, 0.92); }
.rules { display: grid; gap: 6px; }
.rule { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--glass-line); font-size: 12px; }
.rule__k { font: 400 9.5px/1 Silkscreen, monospace; text-align: center; padding: 5px 0; border-radius: 5px; }
.rule__k--ok { color: var(--green-ink); background: rgba(52, 211, 154, 0.14); }
.rule__k--no { color: var(--red-ink); background: rgba(229, 72, 77, 0.12); }
.rule code { font: 500 12px/1.2 "JetBrains Mono", monospace; overflow-wrap: anywhere; }
.rule__s { font-size: 11.5px; color: var(--dim); white-space: nowrap; }
@media (max-width: 419px) { .rule { grid-template-columns: 70px minmax(0, 1fr); } .rule__s { grid-column: 2; } }
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ladder span { position: relative; padding: 9px 6px; border-radius: 7px; text-align: center; font: 400 10px/1.2 Silkscreen, monospace; color: var(--muted); background: var(--glass-hi); border: 1px solid var(--glass-line); }
.ladder span:nth-child(3) { color: var(--gold-ink); border-color: rgba(255, 200, 61, 0.5); }

/* automation: the week, integrations */
.week { display: grid; grid-template-columns: 44px repeat(7, minmax(0, 1fr)); gap: 4px; font: 400 9.5px/1 Silkscreen, monospace; color: var(--dim); }
.week span { display: grid; place-items: center; height: 26px; border-radius: 5px; }
.week .c { background: var(--glass-hi); border: 1px solid var(--glass-line); }
.week .on { background: rgba(139, 108, 255, 0.22); border: 1px solid rgba(139, 108, 255, 0.55); color: var(--ink); }
.week .off { background: rgba(255, 200, 61, 0.14); border: 1px solid rgba(255, 200, 61, 0.45); color: var(--gold-ink); }
.integr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 559px) { .integr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.integr span { display: grid; gap: 4px; padding: 10px; border-radius: 8px; border: 1px solid var(--glass-line); background: var(--glass); font: 600 12.5px/1.2 Inter, sans-serif; }
.integr span small { font: 400 11px/1.3 Inter, sans-serif; color: var(--muted); }

/* get started */
.start { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
@media (max-width: 959px) { .start { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; } }
.path { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: s; }
.path li { counter-increment: s; position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; padding: 0 0 22px; }
.path li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 400 12px/1 Silkscreen, monospace; color: var(--ink); background: var(--glass-hi); border: 1px solid var(--glass-line); }
.path li::after { content: ""; position: absolute; left: 21.5px; top: 48px; bottom: 4px; width: 1px; background: var(--glass-line); }
.path li:last-child::after { display: none; }
.path li:last-child { padding-bottom: 0; }
.path h3 { font-size: 1.05rem; font-weight: 600; padding-top: 2px; }
.path p { font-size: 14px; color: var(--muted); }
.specs { display: grid; gap: 12px; }
.spec { padding: 20px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); }
.spec h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.spec dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; font-size: 13.5px; }
.spec dt { color: var(--dim); }
.spec dd { margin: 0; color: var(--ink); }
.spec .cta-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 419px) { .spec dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .spec dd { margin-bottom: 8px; } }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 8px; }
.faq details { border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); }
.faq summary { text-wrap: balance; position: relative; list-style: none; min-height: 56px; display: flex; align-items: center; padding: 14px 52px 14px 20px; cursor: pointer; font: 600 15.5px/1.35 "Space Grotesk", sans-serif; letter-spacing: -0.01em; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--dim); border-bottom: 1.5px solid var(--dim); transform: rotate(45deg); transition: transform var(--t-hover) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }
.faq details > div p + p { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { background: var(--glass-hi); } }

/* pricing: three plans, features to come */
.plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1020px; margin-inline: auto; }
@media (max-width: 1179px) { .plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1020px; } }
@media (max-width: 899px) { .plans--3 { grid-template-columns: minmax(0, 1fr); max-width: 440px; } }
.plan__soon { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 16px 12px; border-radius: 10px; border: 1px dashed var(--glass-line); text-align: center; }
.plan__soon span { font: 400 10px/1.2 Silkscreen, monospace; letter-spacing: 0.06em; color: var(--gold-ink); }
.plan__soon p { font-size: 12.5px; color: var(--muted); text-wrap: balance; }
.plan__soon i { display: flex; gap: 4px; }
.plan__soon i b { width: 18px; height: 5px; border-radius: 2px; background: var(--glass-line); }

/* the official app icon on the roof, next to the files */
.roof__app { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass-hi); text-align: left; }
.roof__app .mark { --mk: 40px; }
.roof__app b { display: block; font: 600 14px/1.2 Inter, sans-serif; color: var(--ink); }
.roof__app span span { font-size: 12px; color: var(--muted); }

/* guide page */
.fonts-wait .doc-wrap, .fonts-wait .opts { opacity: 0; }
.doc-wrap, .opts { transition: opacity 240ms var(--ease-out); }
.doc-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-top: 110px; padding-bottom: 40px; align-items: start; }
@media (max-width: 959px) { .doc-wrap { grid-template-columns: minmax(0, 1fr); } }
.toc { position: sticky; top: 92px; display: grid; gap: 2px; padding: 14px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); max-height: calc(100vh - 110px); overflow: auto; }
.toc p { margin: 0 0 8px 8px; font: 400 10px/1 Silkscreen, monospace; color: var(--dim); letter-spacing: 0.06em; }
.toc a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 8px; border-radius: 8px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.toc a::before { content: ""; position: absolute; inset: -4px 0; }
.toc a b { font: 400 10px/1 Silkscreen, monospace; color: var(--accent-text); min-width: 18px; }
.toc a[aria-current="true"] { background: var(--glass-hi); color: var(--ink); }
.toc a[aria-current="true"] b { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--ink); background: var(--glass-hi); } }
@media (max-width: 959px) { .toc { display: none; } }
.doc-head { display: grid; gap: 14px; margin-bottom: 32px; }
.doc-head .tag { justify-self: start; }
.doc-head .tag::before { display: none; }
.doc-head .h2 { max-width: 20ch; }
.doc-head .lead { margin-inline: 0; text-wrap: pretty; }
.doc { scroll-margin-top: 96px; padding: clamp(22px, 3vw, 32px); margin-bottom: 16px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass); }
.doc > h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; margin-bottom: 12px; }
.doc > h2 b { font: 400 12px/1 Silkscreen, monospace; color: var(--accent-text); }
.doc h3 { font-size: 1.08rem; font-weight: 600; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 15px; color: var(--muted); line-height: 1.7; }
.doc p + p { margin-top: 10px; }
.doc ol, .doc ul { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--accent-text); }
.doc code { font: 500 13px/1.3 "JetBrains Mono", monospace; padding: 2px 6px; border-radius: 5px; background: var(--glass-hi); border: 1px solid var(--glass-line); color: var(--ink); overflow-wrap: anywhere; }
.tbl-wrap { overflow-x: auto; margin-top: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 10px; border-bottom: 1px solid var(--glass-line); vertical-align: top; color: var(--muted); }
.tbl th { font: 400 10px/1.2 Silkscreen, monospace; letter-spacing: 0.05em; color: var(--dim); }
.tbl td:first-child { color: var(--ink); font-weight: 600; }
.callout { margin-top: 14px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(255, 200, 61, 0.45); background: rgba(255, 200, 61, 0.07); font-size: 14px; color: var(--muted); }
.callout b { color: var(--gold-ink); font: 400 10px/1 Silkscreen, monospace; margin-right: 8px; }
.doc-end { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* resources landing: two doors */
.res-page { padding: 120px 0 24px; transition: opacity 240ms var(--ease-out); }
.fonts-wait .res-page { opacity: 0; }
.gates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin-inline: auto; }
@media (max-width: 719px) { .gates { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
.gate { position: relative; display: grid; justify-items: center; align-content: start; gap: 12px; padding: 32px 26px 28px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--shadow); color: var(--ink); text-align: center; text-decoration: none;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform var(--t-hover) var(--ease-out), border-color var(--t-ui) var(--ease-out); }
.gate__art { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass-hi); }
.gate__k { font: 400 10px/1.2 Silkscreen, monospace; letter-spacing: 0.06em; color: var(--accent-text); text-transform: uppercase; }
.gate__t { font: 600 clamp(1.6rem, 2.6vw, 2rem)/1.1 "Space Grotesk", sans-serif; letter-spacing: -0.02em; }
.gate__d { max-width: 42ch; font-size: 14.5px; color: var(--muted); text-wrap: balance; }
.gate__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.gate__meta span { min-height: 26px; display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--glass-line); font-size: 12px; color: var(--muted); }
.gate__go { margin-top: 4px; font-weight: 600; font-size: 14px; color: var(--accent-text); }
@media (hover: hover) and (pointer: fine) { .gate:hover { transform: translateY(-4px); border-color: rgba(139, 108, 255, 0.5); } }
@media (prefers-reduced-motion: reduce) { .gate:hover { transform: none; } }
.res-more { display: grid; justify-items: center; gap: 12px; margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--dim); }
.res-more p { text-wrap: balance; }
.res-more a:not(.pill) { color: var(--accent-text); }

/* ============ board minutes (novedades) ============ */
.news-page { padding: 120px 0 24px; transition: opacity 240ms var(--ease-out); }
.fonts-wait .news-page, .fonts-wait .err-page { opacity: 0; }
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(20px, 3vw, 32px); align-items: start; max-width: 1080px; margin-inline: auto; }
@media (max-width: 899px) { .news-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; } }
.rels { display: grid; gap: 16px; min-width: 0; }
.rel { padding: clamp(20px, 3vw, 30px); border-radius: 14px; display: grid; gap: 12px; }
.rel__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--glass-line); }
.rel__v { font: 700 2rem/1 "Space Grotesk", sans-serif; letter-spacing: -0.02em; }
.rel__date { font: 400 11px/1.2 Silkscreen, monospace; color: var(--muted); letter-spacing: 0.04em; }
.rel__chips { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.rel__intro { font-size: 15.5px; color: var(--ink); text-wrap: pretty; }
.rel__block { display: grid; gap: 8px; }
.rel__h { font: 400 10px/1.2 Silkscreen, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.rel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rel li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.rel li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--violet-2); }
.rel li strong { color: var(--ink); font-weight: 600; }
.rel code { font: 500 0.88em "JetBrains Mono", monospace; padding: 1px 5px; border-radius: 4px; background: var(--glass-hi); border: 1px solid var(--glass-line); color: var(--ink); overflow-wrap: anywhere; }
.news-side { position: sticky; top: 92px; display: grid; gap: 12px; }
@media (max-width: 899px) { .news-side { position: static; } }
.direct { padding: 20px; border-radius: 12px; display: grid; gap: 10px; }
.direct h2 { font-size: 1.05rem; font-weight: 600; }
.direct p { font-size: 13.5px; color: var(--muted); }
.direct__v { font: 700 1.6rem/1 "Space Grotesk", sans-serif; }
.direct__links { display: grid; gap: 8px; }
.direct__links a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--glass-line); color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.direct__links a span { font: 400 11px/1.2 "JetBrains Mono", monospace; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; text-align: right; }
@media (hover: hover) and (pointer: fine) { .direct__links a:hover { background: var(--glass-hi); } }
/* home: the latest minutes, from the same data */
.minutes__rel .rel { box-shadow: none; }
.minutes-more { display: flex; justify-content: center; margin-top: 18px; }
/* 404 */
.err-page { min-height: 70vh; padding: 130px 0 40px; display: grid; justify-items: center; align-content: center; gap: 16px; text-align: center; transition: opacity 240ms var(--ease-out); }
.err-page .code404 { font: 400 13px/1 Silkscreen, monospace; color: var(--accent-text); letter-spacing: 0.1em; }
.err-page .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

[data-page="legal"] .legal-page { padding-top: 120px; }
.err-page .mark { width: 64px; height: 64px; display: grid; place-items: center; }

/* privacy notice: long-form reading */
.pv-page { padding: 120px 0 40px; transition: opacity 240ms var(--ease-out); }
.fonts-wait .pv-page { opacity: 0; }
.pv { max-width: 760px; margin-inline: auto; padding: clamp(22px, 5vw, 48px); border-radius: 14px; display: grid; gap: 28px; }
.pv__head { display: grid; gap: 10px; padding-bottom: 20px; border-bottom: 1px dashed var(--glass-line); }
.pv__head .h2 { text-wrap: balance; }
.pv__sec { display: grid; gap: 12px; }
.pv h2 { font: 600 1.2rem/1.3 "Space Grotesk", sans-serif; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.pv p, .pv li { font-size: 15.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; max-width: 68ch; }
.pv strong { color: var(--ink); font-weight: 600; }
.pv a { color: var(--accent-text); text-underline-offset: 3px; }
.pv ul, .pv ol { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.pv ul { list-style: none; padding-left: 16px; }
.pv ul li { position: relative; }
.pv ul li::before { content: ""; position: absolute; left: -16px; top: 0.7em; width: 6px; height: 6px; background: var(--violet-2); }
.pv ol li::marker { color: var(--accent-text); font-weight: 600; }
.pv__intro p { font-size: 13px; color: var(--dim); }

/* ============ the download card (variant B «truck», letter A) ============ */
.ob { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.ob[hidden], .ob [hidden] { display: none !important; }
.ob__scrim { position: absolute; inset: 0; background: rgba(8, 7, 16, 0.62); opacity: 0; transition: opacity 220ms var(--ease-out); }
.ob__card { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 0 0 22px; border-radius: 14px; background: var(--glass-strong);
  opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 240ms var(--ease-out), transform 280ms var(--ease-out); }
.ob.is-open .ob__scrim { opacity: 1; }
.ob.is-open .ob__card { opacity: 1; transform: none; }
.ob__x { position: absolute; right: 8px; top: 8px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.ob__x svg { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .ob__x:hover { background: var(--glass-hi); color: var(--ink); } }
/* the road: the truck drives the sealed letter to the mailbox */
.ob__scene { padding: 22px 64px 12px 24px; border-bottom: 1px solid var(--glass-line); background: linear-gradient(180deg, rgba(106, 61, 240, 0.12), transparent); border-radius: 14px 14px 0 0; }
.ob__road { position: relative; height: 60px; border-bottom: 2px dashed var(--glass-line); }
.ob__truck { position: absolute; left: 0; bottom: 2px; line-height: 0; transition: transform 1250ms cubic-bezier(0.65, 0, 0.35, 1); }
.ob__box { position: absolute; right: 0; bottom: 0; line-height: 0; }
.ob.is-sending .ob__truck, .ob.is-done .ob__truck { transform: translateX(var(--trip, 260px)); }
.ob.is-sending .ob__truck svg { animation: ob-bump 240ms steps(2) infinite; }
@keyframes ob-bump { 50% { transform: translateY(-1px); } }
.ob .ob-flag { transform-box: fill-box; transform-origin: 0 100%; transform: rotate(90deg); transition: transform 300ms var(--ease-out) 1100ms; }
.ob.is-done .ob-flag { transform: none; }
.ob .ob-mail { opacity: 0; transition: opacity 200ms linear 1200ms; }
.ob.is-done .ob-mail { opacity: 1; }
/* copy and form */
.ob__form, .ob__done { padding: 18px 24px 0; display: grid; gap: 10px; }
.ob__tag { font: 400 10px/1.2 Silkscreen, monospace; letter-spacing: 0.08em; color: var(--accent-text); text-transform: uppercase; }
.ob__tag--ok { color: var(--green-ink); }
.ob__title { font: 600 1.45rem/1.15 "Space Grotesk", sans-serif; letter-spacing: -0.02em; text-wrap: balance; }
.ob__body { font-size: 14.5px; color: var(--muted); text-wrap: pretty; }
.ob__f { display: grid; gap: 10px; margin-top: 4px; }
.ob__lbl { font-size: 13px; font-weight: 600; }
.ob__in { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--glass-line); background: var(--bg); color: var(--ink); font: 400 15px/1 Inter, sans-serif; }
.ob__in::placeholder { color: var(--dim); }
.ob__in:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 1px; }
.ob__in[aria-invalid="true"] { border-color: var(--red-ink); }
.ob__err { font-size: 13px; color: var(--red-ink); }
.ob__consent { margin-top: -4px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.ob__consent a { color: var(--accent-text); white-space: nowrap; }
.ob__topics { margin: 2px 0 0; padding: 0; border: 0; display: grid; gap: 2px; }
.ob__topics legend { margin-bottom: 4px; padding: 0; font-size: 13px; font-weight: 600; }
.ob__chk { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; min-height: 44px; padding: 6px 0; cursor: pointer; }
.ob__chk input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; top: 8px; left: 0; }
.ob__tick { width: 18px; height: 18px; margin-top: 2px; border-radius: 4px; border: 1px solid var(--dim); background: var(--bg); display: grid; place-items: center; transition: background-color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out); }
.ob__tick::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform var(--t-ui) var(--ease-out); }
.ob__chk input:checked + .ob__tick { background: var(--violet); border-color: var(--violet); }
.ob__chk input:checked + .ob__tick::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.ob__chk input:focus-visible + .ob__tick { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.ob__chk b { display: block; font-size: 14px; font-weight: 600; }
.ob__chk small { display: block; font-size: 12.5px; color: var(--muted); }
.ob__founder { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 5px 10px; border-radius: 7px; border: 1px dashed rgba(255, 200, 61, 0.5); font-size: 13px; color: var(--gold-ink); }
.ob__founder::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--gold); }
.ob__founder.is-gone { color: var(--muted); border-color: var(--glass-line); }
.ob__founder.is-gone::before { background: var(--dim); }
.ob__send { width: 100%; min-height: 48px; }
.ob__send[aria-disabled="true"] { opacity: 0.75; cursor: progress; }
.ob__fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.ob__fine a { color: var(--accent-text); }
.ob__done { text-align: left; }
@media (prefers-reduced-motion: reduce) {
  .ob__card, .ob__scrim { transition-duration: 1ms; transform: none; }
  .ob__truck { transition: opacity 200ms linear; }
  .ob.is-sending .ob__truck svg { animation: none; }
  .ob .ob-flag, .ob .ob-mail { transition-delay: 0ms; }
}
