/* Black Card · the site.
   One ground (the card's near-black), one type family (IBM Plex Sans for
   words and figures), one accent (blue, reserved for the primary action).
   No italics. No em or en dashes in copy. */
:root {
  color-scheme: dark;
  --bg: #0B0C11; --bg-2: #101117; --bg-3: #14161E;
  --ink: #F6F7F9; --ink-2: #C9CCD6; --mute: #7C8194; --mute-2: #585E70;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --blue: #2C6FF0; --blue-600: #1B57D6; --blue-300: #8CB3F8;
  --green: #34C08A; --red: #E86464;
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,0,0,1); --ease-out: cubic-bezier(.05,.7,.1,1);
  --gutter: clamp(20px, 5vw, 72px); --max: 1360px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 4px; border-radius: 6px; }
.skip { position: absolute; left: 20px; top: -80px; padding: 10px 14px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 8px; z-index: 50; }
.skip:focus { top: 16px; }
.figure { font-variant-numeric: tabular-nums lining-nums; }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--mute-2); }
.h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; margin-top: 18px; }
.lede { color: var(--mute); font-size: 17px; max-width: 640px; margin-top: 18px; }
.lede-cue { color: var(--blue); font-size: 17px; font-weight: 500; margin-top: 14px; }
.section { padding: clamp(84px, 11vw, 160px) 0; position: relative; }
.section-head { display: block; }
.section-head .lede { margin-top: 16px; }
.grain { pointer-events: none; position: fixed; inset: 0; z-index: 40; opacity: .035; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* header */
.top { position: fixed; inset: 0 0 auto; height: 72px; z-index: 30; display: flex; align-items: center; transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(11,12,17,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 600; letter-spacing: .16em; }
.brand img { width: 26px; height: 26px; }
.top-nav { display: flex; gap: 30px; font-size: 14.5px; color: var(--mute); }
.top-actions { display: flex; align-items: center; gap: 22px; }
.top-signin { font-size: 14.5px; color: var(--mute); transition: color .2s; }
.top-signin:hover { color: var(--ink); }
.top-nav a { position: relative; padding: 6px 0; transition: color .2s; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.top-nav a:hover, .top-nav a.is-active { color: var(--ink); }
.top-nav a.is-active::after { transform: scaleX(1); }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 500; border: 1px solid var(--line-2); transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn.small { height: 40px; padding: 0 18px; font-size: 14px; }

/* hero */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; padding-top: 72px; position: relative; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg .glow { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -12vw; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(140,160,210,.14), rgba(11,12,17,0) 62%); }
.hero-bg .ring { position: absolute; right: 8vw; top: 50%; width: min(46vw, 720px, 100svh - 220px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(255,255,255,.05); box-shadow: 0 0 0 70px rgba(255,255,255,.008), 0 0 0 71px rgba(255,255,255,.028); }
.hero-copy { padding: 40px 0; }
.hero h1 { font-size: clamp(46px, 6.8vw, 100px); font-weight: 500; letter-spacing: -.045em; line-height: .98; margin-top: 26px; }
.hero h1 span { color: var(--mute); }
.hero .lede { font-size: 18px; max-width: 480px; margin-top: 26px; }
.cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-line { font-size: clamp(22px, 2.1vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); margin-top: 64px; max-width: 640px; }
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; }
#card-canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease-out); }
#card-canvas.is-ready { opacity: 1; }
.card-shadow { position: absolute; left: 50%; bottom: 8%; width: 60%; height: 12%; transform: translateX(-46%); border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.7), transparent 70%); filter: blur(12px); z-index: -1; }
.card-fallback { position: absolute; inset: 12% 8%; border-radius: 4.5% / 7%; background: linear-gradient(125deg, #34363d, #16171b 45%, #0b0c11 70%, #24262c); border: 1px solid rgba(255,255,255,.18); transform: rotateY(-14deg) rotateX(8deg) rotateZ(-6deg); display: none; }
.no-webgl .card-fallback { display: block; }
.no-webgl #card-canvas { display: none; }
.scroll-hint { position: absolute; left: 0; bottom: 28px; display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.scroll-hint i { width: 36px; height: 1px; background: var(--mute-2); display: block; overflow: hidden; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: sweep 2.2s var(--ease) infinite; }
@keyframes sweep { 40% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* the structure film: the family's chart on a dark stage, the entity's dossier as a white sheet */
.structure { padding-top: clamp(60px, 8vw, 120px); }
.film { position: relative; margin-top: 44px; }
.f-screen { position: relative; width: 1280px; height: 700px; transform-origin: top left; border-radius: 18px; overflow: hidden; background: #0E0F15; color: #F6F7F9; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 100px rgba(0,0,0,.6), inset 0 1px rgba(255,255,255,.14); font-family: var(--font); font-size: 14px; }
.f-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 38%, rgba(44,111,240,.22), transparent 70%); pointer-events: none; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.is-open.f-screen::before { transform: translateX(-330px); }
.f-bar { position: relative; z-index: 2; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.f-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: #F6F7F9; }
.f-brand img { width: 22px; height: 22px; }
.f-bar-mid { font-size: 14px; color: #C9CCD6; }
.f-chip { font-size: 12px; font-weight: 600; color: #7FD6A8; background: rgba(31,138,91,.18); border: 1px solid rgba(91,196,147,.28); border-radius: 999px; padding: 6px 12px; }
.f-body { position: relative; height: 644px; overflow: hidden; }
.f-chart-wrap { position: absolute; left: 0; top: 0; width: 1280px; height: 644px; display: grid; place-items: center; }
.f-tree { position: relative; transition: transform .85s var(--ease); }
.f-edges { position: absolute; inset: 0; overflow: visible; }
.f-edges path { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.5; transition: stroke .4s; }
.f-edges path.is-lit { stroke: #2C6FF0; stroke-width: 2; }
.f-edges path.is-under { opacity: 0; }
.f-edges path { transition: stroke .4s, opacity .5s; }
.f-node { position: absolute; width: 172px; height: 62px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.14); text-align: left; cursor: pointer; font: inherit; color: #F6F7F9; display: flex; flex-direction: column; justify-content: center; gap: 3px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .3s, box-shadow .3s, background .3s, transform .3s, opacity .5s; }
.f-node b { font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-node small { font-size: 12px; color: #A4A9B8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-node:hover { border-color: rgba(255,255,255,.34); }
.f-node.is-under { opacity: 0; pointer-events: none; }
.f-node.is-path { border-color: rgba(44,111,240,.6); }
.f-node.is-active { border-color: #2C6FF0; background: rgba(44,111,240,.16); box-shadow: 0 0 0 4px rgba(44,111,240,.22), 0 18px 48px rgba(44,111,240,.28); transform: translateY(-2px); }
.f-node.is-active small { color: #C9CCD6; }
.f-top { background: #F6F7F9; border-color: #F6F7F9; color: #0B0C11; }
.f-top small { color: #585E70; }
.f-top.is-path { border-color: #F6F7F9; box-shadow: 0 0 0 4px rgba(44,111,240,.22); }
.f-top.is-active { background: #F6F7F9; border-color: #F6F7F9; color: #0B0C11; box-shadow: 0 0 0 4px rgba(44,111,240,.3), 0 18px 48px rgba(44,111,240,.3); }
.f-top.is-active small { color: #585E70; }
.f-dossier { position: absolute; top: 14px; right: 14px; bottom: 14px; width: 660px; padding: 22px 26px 26px; overflow: hidden; background: #fff; color: #14161E; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.55); transform: translateX(110%); transition: transform .85s var(--ease); }
.is-open .f-dossier { transform: none; }
.f-dossier.is-in > * { animation: f-in .55s var(--ease-out) both; }
.f-dossier.is-in > :nth-child(2) { animation-delay: .1s; } .f-dossier.is-in > :nth-child(3) { animation-delay: .2s; } .f-dossier.is-in > :nth-child(4) { animation-delay: .3s; } .f-dossier.is-in > :nth-child(5) { animation-delay: .38s; }
@keyframes f-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.f-kind { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #585E70; }
.f-dossier-head h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; }
.f-dossier .v2-asset-stat-strip { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; align-items: center; padding: 14px 18px; margin-top: 14px; background: #F8F9FB; border: 1px solid #E0E2E9; border-radius: 14px; }
.f-dossier .v2-asset-stat-strip > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-dossier .v2-asset-stat-strip > div > span:first-child { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #585E70; }
.f-dossier .v2-asset-stat-strip strong { font-size: 24px; font-weight: 600; color: #14161E; font-variant-numeric: tabular-nums; }
.f-dossier .v2-asset-stat-strip b { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.v2-prior-capsule { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10px; color: #585E70; }
.v2-prior-capsule > b { font-size: 11px; } .v2-prior-capsule > span { font-size: 11px; font-weight: 600; }
.f-screen .up { color: #16724A !important; } .f-screen .down { color: #B83636 !important; } .f-screen .flat { color: #7C8194 !important; }
.f-chart { margin-top: 12px; border: 1px solid #E0E2E9; border-radius: 14px; background: #fff; }
.f-chart .v2-chart-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 0; }
.f-chart .v2-chart-head h3 { font-size: 14px; font-weight: 600; } .f-chart .v2-chart-head span { font-size: 11.5px; color: #7C8194; }
.f-chart-body { padding: 8px 16px 10px; }
.f-chart-cap { display: flex; align-items: baseline; gap: 8px; font-size: 11px; color: #7C8194; } .f-chart-cap b { font-size: 15px; color: #14161E; font-weight: 600; font-variant-numeric: tabular-nums; }
.f-hist { width: 100%; height: 96px; display: block; margin-top: 4px; overflow: visible; }
.f-hist-area { fill: url(#f-fill); } .f-hist-line { fill: none; stroke: #2C6FF0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .f-hist-dot { fill: #2C6FF0; stroke: #fff; stroke-width: 2; }
.f-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: #A4A9B8; margin-top: 2px; }
.f-sub { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-size: 13px; font-weight: 600; } .f-sub span:last-child { font-size: 12px; font-weight: 500; color: #1B57D6; }
/* the family dashboard's asset card, as it ships */
.f-dossier .v2-asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.f-dossier .v2-asset-card { padding: 0; border: 1px solid #E0E2E9; background: #fff; border-radius: 18px; overflow: hidden; text-align: left; box-shadow: 0 2px 3px #14161E03, 0 10px 22px #14161E04; }
.f-dossier .v2-card-inner { padding: 16px 18px 0; }
.f-dossier .v2-identity { display: flex; align-items: center; gap: 12px; } .f-dossier .v2-identity > div { min-width: 0; flex: 1; } .f-dossier .v2-identity strong { font-size: 13.5px; font-weight: 600; line-height: 1.4; display: block; }
.f-logo { display: inline-flex; flex: none; align-items: center; justify-content: center; border: 1px solid #EDEEF2; background: #fff; } .f-glyph { background: #F6F7F9; border-color: #E0E2E9; color: #7C8194; }
.v2-vc { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); align-items: center; gap: 8px; padding: 16px 0 14px; }
.f-screen .bc-overline { font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #585E70; }
.v2-vc-num { margin-top: 5px; font-size: 16px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.v2-vc-after { text-align: right; }
.v2-vc-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; } .v2-vc-mid span { display: flex; align-items: center; gap: 4px; } .v2-vc-mid i { width: 100%; height: 1px; background: currentColor; opacity: .35; }
.f-dossier .v2-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #EDEEF2; background: #F8F9FB; padding: 11px 18px; font-size: 11px; color: #3E4353; } .f-dossier .v2-card-footer > span:first-child { font-weight: 500; } .f-dossier .v2-card-footer > span:last-child { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.f-cursor { position: absolute; left: 0; top: 0; z-index: 5; opacity: 0; transition: opacity .3s; pointer-events: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
.f-cursor.is-on { opacity: 1; }
.f-cursor i { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -14px 0 0 -13px; border-radius: 50%; border: 2px solid #2C6FF0; opacity: 0; transform: scale(.4); }
.f-cursor.is-click i { animation: f-click .45s var(--ease-out); }
@keyframes f-click { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }
.f-controls { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--mute); }
.f-play { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.f-play .ic-play { display: none; } .film:not(.is-playing) .f-play .ic-play { display: block; } .film:not(.is-playing) .f-play .ic-pause { display: none; }
.f-hint { margin-left: auto; color: var(--mute-2); }
@media (max-width: 760px) { .f-hint { display: none; } }

/* surfaces: the phone in front of the dashboard, capped so a big screen does not get a poster */
.surfaces { padding-top: 40px; }
.stage { position: relative; margin: 44px auto 0; width: min(100%, 880px, 100vh); padding-left: clamp(40px, 9%, 90px); perspective: 1600px; }
.device { position: relative; background: #15161c; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 1px rgba(255,255,255,.14); overflow: hidden; }
.device.desk { border-radius: 14px; padding: 6px; width: 100%; }
.device.desk img { border-radius: 9px; }
.device.desk::before { content: ""; display: block; height: 20px; margin: -2px 0 4px; background: radial-gradient(circle at 10px 50%, #3a3d47 4px, transparent 5px), radial-gradient(circle at 28px 50%, #3a3d47 4px, transparent 5px), radial-gradient(circle at 46px 50%, #3a3d47 4px, transparent 5px); }
.stage .tilt { position: absolute; left: 0; bottom: -24px; width: 24%; max-width: 210px; transform: rotateY(16deg) translateZ(30px); transform-style: preserve-3d; z-index: 2; }
.device.phone { border-radius: 30px; padding: 6px; }
.device.phone img { border-radius: 24px; }
.stage-caps { display: flex; justify-content: center; gap: 28px; margin-top: 48px; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.stage-caps b { color: var(--ink); font-weight: 500; }

/* the walkthrough */
.walk { padding-bottom: clamp(60px, 8vw, 120px); }
.tour { margin-top: 48px; outline: none; }
.tour:focus-visible { outline: none; }
.tour-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tour-tabs button { display: flex; align-items: center; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 16px; font-weight: 500; color: var(--mute); cursor: pointer; text-align: left; transition: background .2s, color .2s, border-color .2s; }
.tour-tabs button small { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 13px; color: var(--mute); flex: none; transition: background .2s, color .2s, border-color .2s; }
.tour-tabs button:hover { color: var(--ink); border-color: var(--line-2); }
.tour-tabs button.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tour-tabs button.is-active small { background: var(--blue); color: #fff; border-color: var(--blue); }
.tour-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 6px 0 18px; }
.tour-kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.tour-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(44,111,240,.22); }
.tour-title { font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.pains-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.pains-label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); }
.pains { display: flex; flex-wrap: wrap; gap: 8px; }
.pains li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 11px; }
.pains li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mute); }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); }
.seg button { background: none; border: 0; border-radius: 8px; padding: 9px 18px; font-size: 14px; font-weight: 500; color: var(--mute); cursor: pointer; transition: background .2s, color .2s; }
.seg button.is-active { background: var(--ink); color: var(--bg); }
.tour-body { position: relative; margin-top: 18px; }
.tour-body.is-cover .tour-head, .tour-body.is-cover .tour-stage { visibility: hidden; }
/* the cover: one dark card per seat, drawn rather than screenshotted, with one thing to press */
.tour-cover { position: absolute; inset: 0; z-index: 6; border-radius: 20px; overflow: hidden; background: #0A0B10; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 50px 120px rgba(0,0,0,.65), inset 0 1px rgba(255,255,255,.12); opacity: 0; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; will-change: transform; }
.tour-cover.is-on { opacity: 1; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1); pointer-events: auto; }
.tour-cover.is-on:hover { transition: opacity .6s var(--ease), transform .12s linear; }
.cover-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cover-shine { position: absolute; inset: 0; background: radial-gradient(520px 520px at var(--mx, 70%) var(--my, 40%), rgba(255,255,255,.07), transparent 60%); pointer-events: none; transition: opacity .4s; }
.cover-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(24px, 4vw, 52px); }
.cover-eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.cover-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: var(--ink); font-size: 13px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.cover-title { font-size: clamp(30px, 3.6vw, 54px); font-weight: 500; letter-spacing: -.03em; line-height: 1.06; margin-top: 22px; color: var(--ink); text-wrap: balance; max-width: 820px; }
.cover-cta { display: flex; justify-content: center; margin-top: 36px; }
.cover-start { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 12px; border: 0; background: var(--blue); color: #fff; font: 500 16px/1 var(--font); cursor: pointer; transition: background .18s var(--ease), transform .18s var(--ease); }
.cover-start:hover { background: var(--blue-600); transform: translateY(-1px); }
.cover-start svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s var(--ease); }
.cover-start:hover svg { transform: translate(2px, -2px); }
.cover-start::before { content: ""; position: absolute; inset: -6px; border-radius: 16px; border: 1.5px solid rgba(44,111,240,.55); animation: cover-ring 2.4s var(--ease-out) infinite; pointer-events: none; }
@keyframes cover-ring { 0% { opacity: .9; transform: scale(.94); } 70% { opacity: 0; transform: scale(1.12); } 100% { opacity: 0; transform: scale(1.12); } }
.cover-hint { position: absolute; right: clamp(24px, 4vw, 52px); bottom: clamp(24px, 4vw, 52px); display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); }
.cover-hint i { width: 36px; height: 1px; background: var(--mute-2); display: block; overflow: hidden; position: relative; }
.cover-hint i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: sweep 2.2s var(--ease) infinite; }
.tour-body.is-cover ~ .tour-bar .tour-ticks i { background: var(--line); }
@media (max-width: 760px) { .cover-hint { display: none; } .cover-start { height: 48px; padding: 0 20px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .cover-start::before { animation: none; } .cover-hint i::after { animation: none; } }
.tour-stage { display: grid; place-items: center; }
.frame { position: relative; overflow: visible; background: #15161c; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 100px rgba(0,0,0,.65), inset 0 1px rgba(255,255,255,.14); }
.frame.desk { width: min(100%, 1120px, (100svh - 368px) * 1.6); aspect-ratio: 1920 / 1200; border-radius: 14px; padding: 6px; }
.frame.phone { width: min(100%, 340px, (100svh - 368px) * 0.4875); aspect-ratio: 780 / 1600; border-radius: 40px; padding: 8px; }
.frame img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); border-radius: 9px; }
.frame.phone img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 32px; }
.frame img.is-on { opacity: 1; }
.beacon { position: absolute; transform: translate(-50%, -50%); background: rgba(44,111,240,.14); border: 1.5px solid var(--blue); border-radius: 8px; cursor: pointer; padding: 0; z-index: 3; transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease); }
.beacon i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(44,111,240,.3); }
.beacon i::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid var(--blue); animation: pulse 1.8s var(--ease-out) infinite; }
.beacon:hover { background: rgba(44,111,240,.24); }
.beacon.nudge { animation: nudge .5s var(--ease); }
@keyframes nudge { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 40% { transform: translate(-50%, -50%) scale(1.12); } }
@keyframes pulse { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.tip { position: absolute; z-index: 4; width: 280px; max-width: 100%; background: var(--bg-3); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px 12px; box-shadow: 0 24px 60px rgba(0,0,0,.55); transition: left .45s var(--ease), top .45s var(--ease); }
.tip.left { transform: translateX(-100%); }
.tip.up { transform: translateY(-100%); }
.tip.left.up { transform: translate(-100%, -100%); }
.tip.beside { transform: none; left: calc(100% + 28px) !important; }
.tip.beside.up { transform: translateY(-100%); }
.tour-stage > .tip { position: static; transform: none !important; width: 100%; max-width: 480px; margin: 14px auto 0; }
.tip .tip-n { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.tip strong { display: block; font-size: 17px; font-weight: 500; margin-top: 6px; letter-spacing: -.01em; }
.tip p { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }
.tip-row { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.tip-row button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: none; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.tip-row button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tip-row .tip-next { background: var(--blue); border-color: var(--blue); color: #fff; }
.tip-row .tip-next:hover { background: var(--blue-600); }
.tip-row .tip-back { width: 34px; padding: 0; justify-content: center; }
.tip-row .tip-back:disabled { opacity: .35; cursor: default; }
.tour-done { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; width: min(90%, 380px); background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 24px 60px rgba(0,0,0,.6); text-align: center; }
.tour-done strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.tour-done p { color: var(--mute); font-size: 15px; margin-top: 6px; }
.tour-done .tip-row { justify-content: center; margin-top: 16px; }
.tour-bar { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.tour-ticks { display: flex; gap: 4px; flex: 1; }
.tour-ticks i { flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; transition: background .3s; }
.tour-ticks i.is-done { background: var(--ink); }
.tour-ticks i.is-now { background: var(--blue); }
.tour-count { font-size: 13.5px; color: var(--mute); min-width: 44px; text-align: right; }
.tour-actions { display: flex; gap: 8px; flex: none; }
.tour-restart, .tour-skip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s; }
.tour-restart:hover, .tour-skip:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.tour-restart svg, .tour-skip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tour-skip { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.tour-skip:hover { background: #fff; border-color: #fff; }
.tour-done .tip-row a.btn { height: 40px; padding: 0 18px; font-size: 14px; }
.tour.is-pinned .tour-tabs button.is-active { box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* spine */
.spine { position: relative; overflow: hidden; padding-bottom: clamp(40px, 5vw, 64px); }
.spine-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 60%, rgba(120,140,200,.08), transparent 70%); }
.chain { margin: 56px auto 0; max-width: 760px; position: relative; display: grid; gap: 0; }
.chain::before { content: ""; position: absolute; left: 41px; top: 42px; bottom: 42px; width: 1px; background: var(--line-2); }
.chain .beam { position: absolute; left: 41px; top: 42px; height: calc(100% - 84px); width: 1px; background: var(--ink); transform: scaleY(0); transform-origin: top; }
.node { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 28px; align-items: start; padding: 14px 0; }
.node .dot { width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(160deg, #1b1d25, #0e0f14); border: 1px solid var(--line-2); display: grid; place-items: center; box-shadow: 0 24px 50px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.12); transition: border-color .4s, box-shadow .4s, transform .5s var(--ease); position: relative; z-index: 1; }
.node .dot svg { width: 30px; height: 30px; stroke: var(--ink-2); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.node.is-lit .dot { border-color: rgba(255,255,255,.4); box-shadow: 0 34px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06), inset 0 1px rgba(255,255,255,.2); }
.node h4 { margin-top: 12px; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.node p { font-size: 15.5px; color: var(--mute); margin-top: 6px; max-width: 520px; }
.node .who { display: inline-block; margin-top: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); }
.closing { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px 48px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.closing p { font-size: clamp(22px, 2.1vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); max-width: 720px; }
.closing-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.rule p { color: var(--mute); font-size: 16px; max-width: 520px; }
.rule strong { color: var(--ink); font-weight: 500; }

/* enter */
.foot { padding: 0 0 28px; }
.enter .spaces { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr .85fr; gap: 16px; }
.space { background: linear-gradient(150deg, #15171d, #0f1015); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 14px; position: relative; overflow: hidden; transition: border-color .3s; }
.space:hover { border-color: var(--line-2); }
.space-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.space-top svg { width: 28px; height: 28px; stroke: var(--ink-2); fill: none; stroke-width: 1.3; }
.space-top span { font-size: 13px; letter-spacing: .12em; color: var(--mute-2); }
.space h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.space p { font-size: 15px; color: var(--mute); margin: 8px 0 22px; min-height: 40px; }
.links { border-top: 1px solid var(--line); }
.destination { min-height: 52px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.05); gap: 12px; transition: color .18s, padding .18s; }
.destination:last-child { border-bottom: 0; }
.destination svg { width: 15px; height: 15px; stroke: var(--mute); fill: none; stroke-width: 1.5; stroke-linecap: round; transition: transform .18s, stroke .18s; }
.destination:hover { color: var(--ink); padding-left: 4px; }
.destination:hover svg { transform: translate(3px, -3px); stroke: var(--ink); }
.admin .links { border-top: 0; }
.admin .destination { background: var(--blue); color: #fff; border-radius: 9px; padding: 0 14px; min-height: 46px; border: 0; }
.admin .destination svg { stroke: #fff; }
.admin .destination:hover { background: var(--blue-600); padding-left: 14px; }
.admin-note { display: flex; gap: 8px; align-items: center; color: var(--mute-2); font-size: 13.5px; margin-top: 16px; }
.admin-note svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.5; }

footer { margin-top: 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 13.5px; color: var(--mute-2); }
footer span:last-child { color: var(--mute); text-align: right; }

@media (max-width: 1080px) {
  .closing { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 0; }
  .hero-art { max-width: 520px; justify-self: center; order: -1; margin-top: -20px; }
  .hero-copy { padding: 10px 0 80px; }
  .hero-bg .glow { right: 50%; top: 30%; transform: translate(50%, -50%); width: 90vw; height: 90vw; }
  .hero-bg .ring { right: 50%; top: 30%; transform: translate(50%, -50%); width: min(64vw, 46svh); }
  .scroll-hint { display: none; }
  .stage { padding-left: 0; }
  .stage .tilt { left: -8px; bottom: -16px; width: 30%; transform: rotateY(12deg); }
  .tour-head { grid-template-columns: 1fr; gap: 16px; }
  .rule { grid-template-columns: 1fr; gap: 20px; }
  .foot { padding-top: 0; }
.enter .spaces { grid-template-columns: 1fr 1fr; }
  .admin { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .top { height: 64px; }
  .top-nav, .top-signin { display: none; }
  .brand { font-size: 12px; }
  .hero { padding-top: 84px; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .facts { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .foot { padding-top: 0; }
.enter .spaces { grid-template-columns: 1fr; }
  .space p { min-height: 0; }
  .node { grid-template-columns: 56px 1fr; gap: 18px; }
  .node .dot { width: 56px; height: 56px; border-radius: 16px; }
  .chain::before, .chain .beam { left: 27px; }
  .tour-tabs { grid-template-columns: 1fr 1fr; }
  .tour-tabs button { padding: 12px 14px; font-size: 15px; }
  footer { flex-direction: column; }
  footer span:last-child { text-align: left; }
}
@media (max-width: 760px) {
  .frame.phone { width: min(100%, 300px); }
  .tip, .tip.left, .tip.up, .tip.left.up { position: static; transform: none; width: 100%; margin-top: 14px; }
  .tour-stage { display: block; }
  .tour-frame { margin-inline: auto; }
  .tour-frame.phone .tip { width: min(100%, 300px); margin-inline: auto; }
  .tour-done { width: min(92%, 320px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
