/* self-hosted Google Fonts (OFL): Instrument Serif, Geist, Geist Mono — latin + latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/geist-normal-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/geist-normal-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-normal-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-normal-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geistmono-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geistmono-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geistmono-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geistmono-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrumentserif-italic-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrumentserif-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrumentserif-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrumentserif-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #06070b; --bg2: #0b0d13; --card: #0e1118; --card2: #131722; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --text: #eef0f5; --muted: #a3aabb; --faint: #8b91a5;
  --ember: #ff6a2b; --amber: #ffb35c; --teal: #6ee7d4; --ok: #6ee7d4; --err: #ff8a7a;
  --serif: "Instrument Serif", ui-serif, Georgia, serif; --sans: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
p a, li a, td a { text-decoration: underline; text-decoration-color: rgba(255,179,92,.5); text-underline-offset: 3px; }
p a:hover, li a:hover { color: var(--amber); }
img, video { display: block; max-width: 100%; }
::selection { background: rgba(255,106,43,.35); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 860px; }

/* a11y */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #0a0b10; padding: 10px 16px; border-radius: 999px; font-weight: 500; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible, nav .links a:focus-visible, .menu-btn:focus-visible { border-radius: 999px; }
.cell:focus-visible, .chapters button:focus-visible { border-radius: 24px; }

/* type */
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); flex: none; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h1 i, h2 i, h3 i { font-style: italic; color: var(--amber); }
h1 { font-size: clamp(52px, 7.4vw, 104px); line-height: .96; letter-spacing: -.025em; margin: 26px 0; }
h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1; margin: 20px 0 0; }
h3 { font: 400 clamp(28px, 2.6vw, 36px)/1.08 var(--serif); letter-spacing: -.01em; margin: 14px 0 14px; }
.sub { color: var(--muted); font-weight: 300; font-size: 18px; max-width: 640px; }
.mono { font-family: var(--mono); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font: 500 15px var(--sans); color: var(--text); background: transparent; border: 1px solid var(--line2); transition: background .2s, transform .2s, border-color .2s; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.32); }
.btn.solid { background: #fff; color: #0a0b10; border-color: #fff; }
.btn.solid:hover { background: #ffe9dc; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn .arr { transition: transform .2s; } .btn:hover .arr { transform: translateX(3px); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* nav */
nav { position: fixed; inset: 18px 0 auto; z-index: 50; transition: inset .3s; }
nav .wrap { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand svg { width: 26px; height: 26px; }
nav .links { margin: 0 auto; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(14,17,24,.66); border: 1px solid var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
nav .links a { padding: 7px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
nav .links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
nav .links a.on { color: var(--text); background: rgba(255,255,255,.09); }
nav .right { display: flex; align-items: center; gap: 6px; }
nav .right .in { font-size: 14px; color: var(--muted); padding: 0 12px; } nav .right .in:hover { color: var(--text); }
nav .btn { height: 38px; padding: 0 18px; font-size: 14px; }
/* mobile menu */
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(14,17,24,.66); backdrop-filter: blur(12px); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; margin-left: 4px; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--text); transition: transform .25s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu { margin: 10px 16px 0; padding: 8px; border-radius: 22px; background: rgba(14,17,24,.94); border: 1px solid var(--line2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: grid; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
.menu[hidden] { display: none; }
.menu a { padding: 14px 16px; border-radius: 14px; font: 400 26px/1.1 var(--serif); }
.menu a:hover { background: rgba(255,255,255,.05); }
nav.scrolled::before { content: ""; position: absolute; inset: -18px 0 -12px; z-index: -1; background: linear-gradient(180deg, rgba(6,7,11,.92), rgba(6,7,11,0)); pointer-events: none; }

/* home hero */
.hero { position: relative; min-height: clamp(760px, 100vh, 980px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero > .wrap { width: 100%; }
.hero .art { position: absolute; inset: 4% -2% -4% 42%; z-index: -2; background: url(/img/hero_dark_walls.webp?v=5b5253b7) 46% 50% / auto 118% no-repeat; opacity: .92;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 55% 48%, #000 40%, transparent 78%), linear-gradient(180deg, transparent 0, transparent 10%, #000 30%); -webkit-mask-composite: source-in;
  mask-image: radial-gradient(ellipse 62% 70% at 55% 48%, #000 40%, transparent 78%), linear-gradient(180deg, transparent 0, transparent 10%, #000 30%); mask-composite: intersect;
  animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.08) translateY(-14px); } }
.grid-bg::before, .hero::before { content: ""; position: absolute; inset: 0; z-index: -3; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000, transparent 70%); }
.hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -380px; height: 560px; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,106,43,.42), rgba(255,106,43,.12) 55%, transparent); filter: blur(10px); }
.hero .copy { max-width: 640px; padding: 140px 0 120px; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 36px; font-weight: 300; }
.hero .lead b { color: var(--text); font-weight: 500; }
.float { position: absolute; z-index: 2; border-radius: 18px; padding: 16px 18px; background: rgba(16,19,28,.58); border: 1px solid var(--line2); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); font-size: 13.5px; }
.float .k { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); flex: none; }
.f1 { right: 3%; top: 17%; width: 330px; animation: bob 7s ease-in-out infinite; }
.f1 .q { background: linear-gradient(135deg, #ff7a3a, #ff5a1f); color: #fff; padding: 10px 14px; border-radius: 14px 14px 4px 14px; line-height: 1.45; }
.f1 .a { margin-top: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.f1 .a b { color: var(--text); font-weight: 500; } .f1 .a .ok { color: var(--teal); }
.f2 { left: 47%; bottom: 11%; width: 230px; animation: bob 8s ease-in-out -3s infinite; }
.f2 .n { font: 400 40px/1 var(--serif); } .f2 .n small { font: 400 13px var(--sans); color: var(--muted); margin-left: 6px; }
.f2 .bar { height: 4px; border-radius: 4px; margin-top: 14px; background: linear-gradient(90deg, #3b4cca, #3fb6d9, #7ed67a, #f2c94c, #ff6a2b); }
.f3 { right: 4%; bottom: 16%; animation: bob 9s ease-in-out -5s infinite; }
.f3 .n { font: 400 30px/1 var(--serif); color: var(--amber); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* subpage header */
.phead { position: relative; isolation: isolate; padding: 190px 0 80px; overflow: hidden; }
.phead::after { content: ""; position: absolute; left: 50%; top: -520px; width: 1300px; height: 760px; transform: translateX(-50%); border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(255,106,43,.22), rgba(255,106,43,.05) 60%, transparent); }
.phead h1 { font-size: clamp(48px, 6.4vw, 92px); max-width: 980px; margin: 22px 0 22px; }
.phead .sub { font-size: 19px; max-width: 700px; margin: 0; }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--bg2); }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: scroll 40s linear infinite; font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.marquee span { display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--ember); opacity: .7; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* sections */
section { padding: 140px 0; position: relative; }
section.tight { padding-top: 40px; }
.head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.head p { color: var(--muted); font-weight: 300; margin: 0; font-size: 17px; }

/* video stage + chapters */
.stage { position: relative; border-radius: 28px; padding: 14px; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 90%; background: radial-gradient(closest-side, rgba(255,106,43,.35), transparent); pointer-events: none; }
.stage video { width: 100%; height: auto; border-radius: 18px; position: relative; border: 1px solid var(--line); }
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; position: relative; }
.chapters button { all: unset; cursor: pointer; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.45; transition: background .2s, border-color .2s, color .2s; }
.chapters button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.chapters button b { display: block; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.chapters button.on { background: rgba(255,106,43,.1); border-color: rgba(255,106,43,.5); color: var(--text); }
.chapters button.on b { color: var(--amber); }
.chapters .prog { display: block; height: 2px; margin-top: 12px; background: var(--line); border-radius: 2px; overflow: hidden; }
.chapters .prog i { display: block; height: 100%; width: 0; background: var(--ember); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 16px; }
.cell { position: relative; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; transition: border-color .3s; }
a.cell:hover { border-color: var(--line2); }
.cell .media { position: absolute; inset: 0; }
.cell .media img, .cell .media video { filter: brightness(.86); width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
a.cell:hover .media img, a.cell:hover .media video { transform: scale(1.03); }
.cell .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,24,0) 20%, rgba(14,17,24,.75) 58%, var(--card) 88%); }
.cell .t { position: relative; }
.tag { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.cell h3 { font-size: 30px; line-height: 1.05; margin: 8px 0 6px; }
.cell p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 460px; }
.span2 { grid-column: span 2; } .tall { grid-row: span 2; }
.cell.etabs { background: radial-gradient(120% 90% at 100% 0%, rgba(110,231,212,.12), transparent 50%), var(--card); justify-content: space-between; }
.flow { display: flex; flex-direction: column; gap: 10px; font: 500 13px var(--mono); }
.flow div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.flow div span { color: var(--faint); margin-left: auto; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.flow .arrow { justify-content: center; padding: 0; border: 0; background: none; color: var(--ember); }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.numbers > div { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.numbers > div:last-child { border-right: 0; margin-right: 0; }
.numbers .n { font: 400 clamp(46px, 5vw, 72px)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.numbers .n sup { font-size: .45em; }
.numbers p { color: var(--muted); font-size: 14.5px; margin: 14px 0 0; max-width: 240px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; padding-top: 44px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ember) 20%, var(--amber) 60%, rgba(110,231,212,.8) 90%, transparent); box-shadow: 0 0 24px rgba(255,106,43,.6); }
.steps > div { padding-right: 36px; }
.steps .d { display: inline-block; font: 500 11px var(--mono); letter-spacing: .14em; color: var(--amber); border: 1px solid rgba(255,179,92,.4); padding: 4px 9px; border-radius: 6px; }
.steps h4 { font: 400 28px/1.1 var(--serif); margin: 18px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; padding: 70px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature.rev { grid-template-columns: 1.25fr 1fr; } .feature.rev .txt { order: 2; }
.feature p { color: var(--muted); margin: 0 0 18px; font-weight: 300; font-size: 16.5px; }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { padding-left: 28px; position: relative; font-size: 15px; color: #d7dae3; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 2px; background: var(--ember); box-shadow: 0 0 8px rgba(255,106,43,.7); }
.frame { position: relative; border-radius: 20px; border: 1px solid var(--line2); overflow: hidden; background: var(--card); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 6px rgba(255,255,255,.02); }
.frame[data-full] { cursor: zoom-in; }
.frame img, .frame video { width: 100%; height: auto; }
.frame.chat { max-width: 400px; margin: 0 auto; }
.cap { font-size: 13px; color: var(--faint); margin-top: 12px; }
.cap.c { text-align: center; }

/* small cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.card h4 { margin: 18px 0 6px; font: 400 24px/1.1 var(--serif); }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,106,43,.1); color: var(--amber); border: 1px solid rgba(255,106,43,.25); }
.ico svg { width: 20px; height: 20px; }

/* gallery (demos) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; }
.gallery figcaption b { color: var(--text); display: block; font: 400 22px/1.15 var(--serif); margin-bottom: 4px; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.complex { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.complex .side { display: grid; gap: 18px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; font-size: 13.5px; color: var(--muted); }
.facts b { display: block; font: 400 30px/1.1 var(--serif); color: var(--text); margin-bottom: 4px; }

/* verification table */
.tablewrap { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); }
table.v { width: 100%; border-collapse: collapse; font-size: 15px; }
table.v th, table.v td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.v th { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--faint); background: var(--bg2); }
table.v td { color: #d7dae3; } table.v td:nth-child(2) { color: var(--muted); }
table.v td.r { font-family: var(--mono); font-size: 13.5px; color: var(--teal); white-space: nowrap; }
table.v tr:last-child td { border-bottom: 0; }
.note { margin-top: 26px; padding: 22px 24px; border-radius: 18px; border: 1px solid rgba(110,231,212,.25); background: radial-gradient(120% 120% at 0% 0%, rgba(110,231,212,.08), transparent 60%), var(--card); color: var(--muted); }
.note b { color: var(--text); font-weight: 500; }

/* pricing + faq */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 34px; position: relative; overflow: hidden; }
.price.hl { border-color: rgba(255,106,43,.45); background: radial-gradient(120% 80% at 50% 120%, rgba(255,106,43,.22), transparent 60%), var(--card); }
.price .big { font: 400 84px/1 var(--serif); margin: 18px 0 10px; }
.price p { color: var(--muted); }
.price ul.ticks { margin-top: 22px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 400 24px/1.2 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font: 300 18px var(--sans); color: var(--muted); transition: transform .3s, background .3s; }
details[open] summary::after { transform: rotate(45deg); background: rgba(255,106,43,.12); border-color: rgba(255,106,43,.4); color: var(--amber); }
details p { color: var(--muted); margin: 14px 0 0; font-weight: 300; max-width: 760px; }

/* signup */
.signup { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.signup h1 { font-size: clamp(48px, 6vw, 84px); }
form.sf { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line2); border-radius: 26px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
form.sf label { display: grid; gap: 8px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
form.sf .full { grid-column: 1 / -1; }
form.sf input, form.sf select, form.sf textarea { font: 15px var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); background: rgba(255,255,255,.03); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
form.sf select option { background: var(--card); }
form.sf input:focus, form.sf select:focus, form.sf textarea:focus { outline: none; border-color: rgba(255,106,43,.7); box-shadow: 0 0 0 4px rgba(255,106,43,.14); }
form.sf .hp { position: absolute; left: -5000px; }
form.sf .chk { display: flex; gap: 12px; align-items: flex-start; font: 14px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
form.sf .chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ember); flex: none; }
.msg { font-size: 14.5px; min-height: 20px; }
.msg.ok { color: var(--ok); } .msg.err { color: var(--err); }

/* prose (legal) */
.prose h3 { font-size: 30px; margin: 46px 0 10px; }
.prose p { color: var(--muted); font-weight: 300; font-size: 16.5px; }

/* final cta */
.final { text-align: center; padding: 170px 0 200px; overflow: hidden; isolation: isolate; }
.final::after { content: ""; position: absolute; left: 50%; bottom: -420px; width: 1400px; height: 700px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,106,43,.5), rgba(255,106,43,.1) 60%, transparent); z-index: -1; pointer-events: none; }
.final h2 { font-size: clamp(52px, 8vw, 120px); margin: 22px 0 26px; }
.final p { color: var(--muted); margin: 0 auto 34px; max-width: 520px; font-weight: 300; font-size: 18px; }
.final .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(4,5,8,.9); backdrop-filter: blur(6px); display: none; place-items: center; z-index: 60; padding: 30px; cursor: zoom-out; }
.lb.open { display: grid; } .lb img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.lb-x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(14,17,24,.8); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.float .n sup, .n sup { font-size: .5em; line-height: 0; }
.cell.tall .media img { object-position: left top; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  nav .links, nav .right .in { display: none; } nav .right { margin-left: auto; } .menu-btn { display: inline-flex; }
  .hero .art { inset: 0 -30% 0 0; opacity: .28; }
  .float { display: none; }
  .head { grid-template-columns: 1fr; gap: 20px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; } .span2 { grid-column: auto; } .tall { grid-row: span 1; }
  .cell { padding: 0; } .cell .media { position: relative; height: 210px; border-bottom: 1px solid var(--line); } .cell .media::after { background: linear-gradient(180deg, transparent 55%, rgba(14,17,24,.6)); }
  .cell .t { padding: 22px; } .cell.etabs { padding: 22px; } .cell.etabs .t { padding: 22px 0 0; }
  .chapters { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; } .numbers > div:nth-child(2) { border-right: 0; margin-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .feature, .feature.rev, .signup, .two, .complex { grid-template-columns: 1fr; gap: 32px; } .feature.rev .txt { order: 0; }
  .cards, .gallery { grid-template-columns: 1fr; } .gallery .big { grid-column: auto; grid-row: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  form.sf { grid-template-columns: 1fr; }
  section { padding: 96px 0; } .phead { padding: 140px 0 50px; } .final { padding: 120px 0 150px; }
  table.v th, table.v td { padding: 14px 16px; } table.v th:nth-child(2), table.v td:nth-child(2) { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; } nav .btn { padding: 0 14px; }
  .chapters, .numbers, .facts { grid-template-columns: 1fr; } .numbers > div { border-right: 0; margin-right: 0; }
  .price { padding: 26px; } form.sf { padding: 20px; }
  table.v td.r { white-space: normal; }
}
