:root {
  --ink: #07101f;
  --ink-soft: #53627a;
  --paper: #f6f7f4;
  --white: #ffffff;
  --blue: #2d6df6;
  --cyan: #19c4d8;
  --violet: #7d67ff;
  --line: rgba(7, 16, 31, .14);
  --display: "Space Grotesk", Inter, sans-serif;
  --body: Inter, sans-serif;
  --mono: "DM Mono", monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: linear(0, .009 1%, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 20.4%, 1.05 24.4%, 1.058 29.6%, 1.039 35.9%, 1.006 45.2%, .99 56.4%, 1 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .17; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 14px; color: var(--white); background: var(--ink); transform: translateY(-150%); transition: transform 180ms var(--ease-out); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 30; top: 18px; left: 50%; width: min(1180px, calc(100% - 32px)); min-height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 9px 12px 9px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; color: var(--white); background: rgba(7,16,31,.68); backdrop-filter: blur(18px) saturate(130%); transform: translateX(-50%); transition: background 240ms ease, box-shadow 240ms ease, border-color 240ms ease; }
.site-header.is-scrolled { background: rgba(7,16,31,.92); border-color: rgba(255,255,255,.09); box-shadow: 0 18px 45px rgba(7,16,31,.18); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: inherit; font-family: var(--display); font-size: 19px; font-weight: 700; text-decoration: none; letter-spacing: -.03em; }
.site-header nav { display: flex; gap: 30px; }
.site-header nav a { position: relative; color: rgba(255,255,255,.72); font-size: 14px; font-weight: 600; text-decoration: none; transition: color 160ms ease; }
.site-header nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--cyan); transform: scaleX(0); transition: transform 200ms var(--ease-out); }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--white); }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); }
.header-action { justify-self: end; padding: 12px 16px; border-radius: 11px; color: var(--ink); background: var(--white); font-size: 13px; font-weight: 700; text-decoration: none; transition: transform 180ms var(--ease-spring), background 180ms ease; }
.header-action:hover { background: #dffbff; transform: translateY(-2px); }
.header-action:active { transform: scale(.97); }

.hero { position: relative; min-height: 860px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); align-items: center; gap: clamp(42px, 7vw, 110px); padding: 150px max(32px, calc((100vw - 1240px)/2)) 100px; color: var(--white); background-color: var(--ink); background-image: linear-gradient(rgba(47,109,246,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(47,109,246,.09) 1px, transparent 1px); background-size: 64px 64px; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 46vw; height: 46vw; top: -26vw; right: -8vw; border: 1px solid rgba(25,196,216,.2); border-radius: 50%; box-shadow: 0 0 0 8vw rgba(45,109,246,.025), 0 0 0 16vw rgba(45,109,246,.018); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 600px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 1px; background: var(--cyan); }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(50px, 6.2vw, 88px); line-height: .98; letter-spacing: -.065em; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-lead { max-width: 590px; margin: 30px 0 0; color: #b9c6d9; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 50px; padding: 14px 20px; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform 180ms var(--ease-spring), box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: scale(.97); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 10px 32px rgba(45,109,246,.3); }
.button-primary:hover { background: #3978ff; box-shadow: 0 14px 38px rgba(45,109,246,.42); }
.text-link { display: inline-flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { transition: transform 180ms var(--ease-out); }
.text-link:hover span { transform: translate(3px, -2px); }

.product-demo { position: relative; z-index: 2; width: min(100%, 690px); justify-self: end; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(9,22,42,.78); box-shadow: 0 36px 90px rgba(0,0,0,.38); overflow: hidden; }
.demo-topbar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px 12px 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.demo-brand { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.demo-tabs { display: flex; gap: 3px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.055); }
.demo-tabs button { min-height: 38px; padding: 8px 12px; border: 0; border-radius: 9px; color: #94a6c0; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: color 160ms ease, background 160ms ease, transform 140ms ease; }
.demo-tabs button:hover { color: var(--white); }
.demo-tabs button:active { transform: scale(.96); }
.demo-tabs button[aria-selected="true"] { color: var(--ink); background: var(--white); }
.demo-viewport { min-height: 500px; position: relative; }
.demo-panel { position: absolute; inset: 0; padding: 38px; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity 220ms ease, transform 260ms var(--ease-out); pointer-events: none; }
.demo-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.game-preview { background: radial-gradient(circle at 78% 22%, rgba(25,196,216,.18), transparent 30%), linear-gradient(145deg, #07101f, #101f39); }
.game-hud { display: flex; justify-content: space-between; font-family: var(--mono); color: #a8b9d0; font-size: 11px; letter-spacing: .12em; }
.orbit-line { position: relative; height: 190px; margin: 20px 0 -15px; border-bottom: 1px solid rgba(25,196,216,.24); overflow: hidden; }
.orbit-line::before { content: ""; position: absolute; width: 420px; height: 130px; left: 50%; bottom: -75px; border: 1px solid var(--cyan); border-radius: 50%; transform: translateX(-50%) rotate(-8deg); box-shadow: 0 0 35px rgba(25,196,216,.12); }
.orbit-line i { position: absolute; width: 9px; height: 9px; border: 2px solid var(--white); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 7px rgba(45,109,246,.16); }
.orbit-line i:nth-child(1) { left: 17%; top: 120px; }
.orbit-line i:nth-child(2) { left: 48%; top: 86px; animation: orbit-pulse 2.6s ease-in-out infinite; }
.orbit-line i:nth-child(3) { right: 16%; top: 112px; }
@keyframes orbit-pulse { 50% { box-shadow: 0 0 0 14px rgba(25,196,216,0); background: var(--cyan); } }
.game-question { width: min(100%, 520px); margin: auto; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.game-question small { color: var(--cyan); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.game-question strong { display: block; margin: 10px 0 20px; font-family: var(--display); font-size: 22px; line-height: 1.2; }
.game-question div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.game-question button { min-height: 42px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: var(--white); background: rgba(255,255,255,.05); }
.game-question button:first-child { border-color: var(--cyan); background: rgba(25,196,216,.13); }
.demo-caption { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 21px 0 0; color: #9fb0c7; font-size: 12px; }
.demo-caption span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

.analytics-preview { color: var(--ink); background: #f8fafc; }
.preview-heading, .dashboard-head { display: flex; justify-content: space-between; align-items: center; }
.preview-heading span { font-family: var(--display); font-size: 23px; font-weight: 700; }
.preview-heading small, .dashboard-head > span { padding: 7px 9px; border-radius: 8px; color: #667289; background: #e9edf3; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.metric-line { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 11px; margin-top: 38px; }
.metric-line strong { font-family: var(--display); font-size: 62px; letter-spacing: -.06em; }
.metric-line span { color: #637087; font-size: 13px; }
.metric-line i { grid-column: 1/-1; width: 100%; height: 7px; border-radius: 10px; background: linear-gradient(90deg, var(--blue) var(--value), #e4e8ef var(--value)); }
.topic-bars { display: grid; gap: 18px; margin-top: 38px; }
.topic-bars div { display: grid; grid-template-columns: 86px 1fr 38px; align-items: center; gap: 12px; font-size: 12px; }
.topic-bars i { height: 5px; border-radius: 10px; background: linear-gradient(90deg, var(--violet) var(--value), #e3e7ed var(--value)); }
.topic-bars b { text-align: right; }
.insight-callout { margin: 40px 0 0; padding: 18px; border-left: 3px solid var(--blue); color: #4c5a70; background: #edf3ff; font-size: 13px; line-height: 1.5; }
.insight-callout span { color: var(--blue); font-family: var(--mono); font-size: 11px; }

.aux-preview { color: var(--ink); background: #eef2f7; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 12px 12px 0 0; color: #617087; background: #dfe5ed; font-family: var(--mono); font-size: 10px; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #9aa6b5; }
.window-bar i:first-child { background: #ff6d62; }
.window-bar i:nth-child(2) { background: #f4bd4f; }
.window-bar i:nth-child(3) { margin-right: 6px; background: #58c86b; }
.aux-flow { min-height: 350px; display: grid; align-content: center; gap: 16px; padding: 35px; border-radius: 0 0 12px 12px; background: var(--white); }
.aux-flow > div { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e5e8ed; }
.aux-flow > div > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #657087; background: #edf0f4; font-family: var(--mono); font-size: 12px; }
.aux-flow .is-complete > span { color: #08685f; background: #d8f5ed; }
.aux-flow p { margin: 0; }
.aux-flow strong, .aux-flow small { display: block; }
.aux-flow small { margin-top: 5px; color: #657087; }

.bot-preview { display: grid; align-content: center; gap: 13px; background: #f4f8fb; color: var(--ink); }
.chat-line { display: flex; align-items: flex-end; gap: 9px; max-width: 80%; }
.chat-line > span { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 9px; color: var(--white); background: var(--blue); font-family: var(--display); font-weight: 700; }
.chat-line p { margin: 0; padding: 13px 15px; border-radius: 15px 15px 15px 4px; background: var(--white); box-shadow: 0 8px 25px rgba(20,37,61,.07); font-size: 13px; line-height: 1.45; }
.user-line { justify-self: end; }
.user-line p { color: var(--white); background: var(--blue); border-radius: 15px 15px 4px 15px; }
.resource-line { display: flex; align-items: center; gap: 13px; width: 78%; margin: 5px 0 0 39px; padding: 15px; border: 1px solid #dfe6ef; border-radius: 14px; background: var(--white); }
.resource-line i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--white); background: var(--cyan); font-style: normal; font-size: 11px; }
.resource-line p, .resource-line strong, .resource-line small { display: block; margin: 0; }
.resource-line small { margin-top: 4px; color: #758299; }

.section-shell { width: min(1200px, calc(100% - 64px)); margin: auto; }
.experiences { padding: 130px 0 140px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .6fr; align-items: end; gap: 70px; margin-bottom: 58px; }
.section-heading .eyebrow { grid-column: 1/-1; margin: 0 0 -34px; color: var(--blue); }
.section-heading h2, .analytics-copy h2, .closing h2 { margin: 0; font-family: var(--display); font-size: clamp(42px, 5vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p:last-child, .analytics-copy > p, .closing > p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.game-reel { display: grid; grid-template-columns: 1.35fr .78fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.game-reel figure { position: relative; min-height: 250px; margin: 0; border-radius: 18px; overflow: hidden; background: #152038; }
.game-reel .reel-main { grid-row: 1 / 3; min-height: 600px; }
.game-reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out), filter 400ms ease; }
.game-reel figure:hover img { transform: scale(1.025); filter: saturate(1.1); }
.game-reel figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 52%, rgba(4,10,20,.9)); pointer-events: none; }
.game-reel figcaption { position: absolute; z-index: 2; right: 25px; bottom: 22px; left: 25px; color: var(--white); }
.game-reel figcaption span, .game-reel figcaption small { display: block; }
.game-reel figcaption span { font-family: var(--display); font-size: 22px; font-weight: 700; }
.game-reel figcaption small { margin-top: 4px; color: #c2cede; }
.reel-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.reel-footer p { margin: 0; color: var(--ink-soft); }
.reel-footer .text-link { color: var(--blue); }

.analytics-story { position: relative; padding: 140px 0; color: var(--white); background: #0a1528; overflow: hidden; }
.analytics-story::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(72,111,174,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(72,111,174,.18) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, transparent, #000 55%); }
.analytics-layout { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(55px, 8vw, 120px); }
.eyebrow.light { color: var(--cyan); }
.analytics-copy > p { margin-top: 28px; color: #aebbd0; }
.analytics-copy ul { list-style: none; margin: 38px 0; padding: 0; border-top: 1px solid rgba(255,255,255,.13); }
.analytics-copy li { display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.13); color: #d6deea; font-size: 14px; }
.analytics-copy li span { color: var(--cyan); font-family: var(--mono); font-size: 11px; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: #dffbff; }
.dashboard-stage { padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; color: var(--ink); background: #f8fafc; box-shadow: 0 40px 100px rgba(0,0,0,.35); transform: rotate(1deg); }
.dashboard-head > div small, .dashboard-head > div strong { display: block; }
.dashboard-head small { color: #738096; font-size: 11px; }
.dashboard-head strong { margin-top: 4px; font-family: var(--display); font-size: 22px; }
.dashboard-score { display: grid; grid-template-columns: .55fr 1fr; gap: 40px; align-items: end; margin: 40px 0 32px; }
.dashboard-score small, .dashboard-score strong, .dashboard-score em { display: block; }
.dashboard-score small { color: #738096; }
.dashboard-score strong { margin: 4px 0; font-family: var(--display); font-size: 61px; letter-spacing: -.06em; }
.dashboard-score sup { font-size: 22px; }
.dashboard-score em { color: #159d84; font-size: 11px; font-style: normal; }
.score-chart { height: 120px; display: flex; align-items: end; gap: 9px; padding-bottom: 8px; border-bottom: 1px solid #dbe1ea; }
.score-chart i { flex: 1; min-height: 20%; border-radius: 4px 4px 0 0; background: #b9c8e5; animation: chart-rise 800ms var(--ease-out) backwards; }
.score-chart i:nth-child(1) { height: 31%; }.score-chart i:nth-child(2) { height: 45%; }.score-chart i:nth-child(3) { height: 39%; }.score-chart i:nth-child(4) { height: 62%; background: #7da0ea; }.score-chart i:nth-child(5) { height: 56%; }.score-chart i:nth-child(6) { height: 71%; background: var(--blue); }.score-chart i:nth-child(7) { height: 68%; }.score-chart i:nth-child(8) { height: 79%; background: var(--cyan); }
@keyframes chart-rise { from { height: 0; } }
.dashboard-table { display: grid; font-size: 12px; }
.dashboard-table > div { display: grid; grid-template-columns: 1fr 1fr 60px; gap: 12px; padding: 13px 11px; border-bottom: 1px solid #e2e6ec; }
.dashboard-table .table-head { color: #7a8598; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.dashboard-table b { text-align: right; }
.dashboard-table .needs-attention { color: #ad4b42; background: #fff0ed; }
.dashboard-note { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: #59667a; font-size: 12px; }
.dashboard-note span { width: 7px; height: 7px; border-radius: 50%; background: #f06f61; }

.tools { padding: 135px 0; }
.section-heading.compact { display: block; max-width: 850px; }
.section-heading.compact .eyebrow { margin-bottom: 24px; }
.tool-lines { border-top: 1px solid var(--line); }
.tool-lines article { display: grid; grid-template-columns: 70px 1fr auto; gap: 35px; align-items: center; padding: 42px 0; border-bottom: 1px solid var(--line); }
.tool-index { color: var(--blue); font-family: var(--mono); font-size: 13px; }
.tool-kicker { margin: 0 0 9px; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.tool-lines h3 { margin: 0; font-family: var(--display); font-size: 34px; letter-spacing: -.04em; }
.tool-lines article > div:nth-child(2) > p:last-child { max-width: 650px; margin: 11px 0 0; color: var(--ink-soft); line-height: 1.6; }
.tool-lines article > a { padding: 12px 0; color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.tool-lines article > a span { display: inline-block; transition: transform 180ms var(--ease-out); }
.tool-lines article > a:hover span { transform: translate(3px,-2px); }
.quiet-label { color: #758197; font-size: 12px; }

.closing { min-height: 620px; display: grid; place-content: center; justify-items: center; padding: 100px 32px; color: var(--white); text-align: center; background: var(--ink); }
.closing > p { margin-bottom: 24px; color: var(--cyan); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.closing h2 { max-width: 900px; }
.closing .button { margin-top: 38px; }
footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; padding: 30px max(32px, calc((100vw - 1200px)/2)); color: #9ba8bb; background: var(--ink); border-top: 1px solid rgba(255,255,255,.11); font-size: 12px; }
.footer-brand { color: var(--white); }
footer p:last-child { justify-self: end; }

[data-reveal] { opacity: 1; transform: none; clip-path: none; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 12% 0); transition: opacity 600ms ease, transform 700ms var(--ease-out), clip-path 700ms var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; clip-path: inset(0); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 145px; }
  .hero-copy { max-width: 760px; }
  .product-demo { justify-self: stretch; width: 100%; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading .eyebrow { margin: 0 0 2px; }
  .analytics-layout { grid-template-columns: 1fr; }
  .analytics-copy { max-width: 700px; }
  .dashboard-stage { transform: none; }
  .tool-lines article { grid-template-columns: 45px 1fr; }
  .tool-lines article > a, .quiet-label { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  .site-header { top: 10px; width: calc(100% - 20px); min-height: 56px; padding: 7px 8px 7px 13px; border-radius: 14px; }
  .brand { font-size: 17px; }
  .brand img { width: 32px; height: 32px; }
  .header-action { padding: 11px 12px; font-size: 11px; }
  .hero { gap: 54px; padding: 118px 20px 70px; background-size: 42px 42px; }
  .hero h1 { font-size: clamp(45px, 14vw, 64px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .product-demo { border-radius: 18px; }
  .demo-topbar { align-items: flex-start; flex-direction: column; padding: 16px; }
  .demo-tabs { width: 100%; overflow-x: auto; }
  .demo-tabs button { flex: 1; min-width: 66px; min-height: 44px; }
  .demo-viewport { min-height: 500px; }
  .demo-panel { padding: 24px 18px; }
  .game-question div { grid-template-columns: 1fr; }
  .section-shell { width: calc(100% - 40px); }
  .experiences, .tools { padding: 90px 0; }
  .section-heading h2, .analytics-copy h2, .closing h2 { font-size: clamp(38px, 12vw, 56px); }
  .game-reel { display: flex; gap: 12px; margin-right: -20px; padding-right: 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .game-reel figure, .game-reel .reel-main { flex: 0 0 86%; min-height: 430px; scroll-snap-align: start; }
  .reel-footer { align-items: flex-start; flex-direction: column; }
  .analytics-story { padding: 95px 0; }
  .dashboard-stage { margin: 0 -8px; padding: 18px 14px; }
  .dashboard-score { grid-template-columns: 1fr; gap: 15px; }
  .dashboard-table > div { grid-template-columns: 1.1fr 1fr 42px; gap: 5px; font-size: 10px; }
  .tool-lines article { grid-template-columns: 1fr; gap: 17px; padding: 34px 0; }
  .tool-lines article > a, .quiet-label { grid-column: 1; }
  .closing { min-height: 540px; }
  footer { grid-template-columns: 1fr; justify-items: start; }
  footer p { margin: 0; }
  footer p:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}
.header-tools{justify-self:end;display:flex;align-items:center;gap:8px}.language-pill{display:flex;align-items:center;gap:6px;min-height:42px;padding:8px 10px;border:0;border-radius:99px;color:white;background:rgba(255,255,255,.1);font-size:10px;font-weight:700;cursor:pointer}.header-action{justify-self:auto}.access-hub{padding:125px 0}.access-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.access-grid a{position:relative;min-height:250px;display:flex;flex-direction:column;padding:27px;border:1px solid var(--line);border-radius:18px;color:var(--ink);background:white;text-decoration:none;overflow:hidden;transition:transform 180ms var(--ease-spring),box-shadow 180ms ease}.access-grid a:hover{transform:translateY(-4px);box-shadow:0 20px 55px rgba(7,16,31,.1)}.access-grid a::after{content:"";position:absolute;right:-70px;bottom:-90px;width:180px;height:180px;border:1px solid rgba(31,197,214,.25);border-radius:50%;transition:transform 500ms var(--ease-out)}.access-grid a:hover::after{transform:scale(1.25)}.access-grid span{color:var(--blue);font:10px var(--mono)}.access-grid strong{margin-top:44px;font:700 30px var(--display);letter-spacing:-.04em}.access-grid p{max-width:390px;margin:12px 0;color:var(--ink-soft);line-height:1.6}.access-grid b{margin-top:auto;color:var(--blue);font-size:12px}.demo-panel.is-active .game-question,.demo-panel.is-active .metric-line,.demo-panel.is-active .aux-flow,.demo-panel.is-active .chat-line{animation:demo-enter 420ms var(--ease-out) both}@keyframes demo-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:700px){.language-pill span:last-child{display:none}.language-pill{width:40px;justify-content:center}.header-tools{gap:5px}.access-grid{grid-template-columns:1fr}.access-hub{padding:90px 0}}

/* The portfolio becomes a working shell when a product is selected. The
   products keep their own data and permissions, while the visitor keeps one
   GaMath entry point and one browser tab. */
.workspace-shell { min-height: 100vh; padding: 132px 0 42px; color: var(--ink); background: #f2f5fa; }
.workspace-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.workspace-heading { max-width: 760px; }
.workspace-context { margin: 0 0 10px; color: var(--blue); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.workspace-heading h1 { margin: 0; font-family: var(--display); font-size: clamp(42px, 6vw, 74px); line-height: .98; letter-spacing: -.055em; }
.workspace-heading p:last-child { max-width: 62ch; margin: 16px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.workspace-close { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 11px 15px; border: 1px solid rgba(7,16,31,.18); border-radius: 11px; color: var(--ink); background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform 180ms var(--ease-out), background 180ms ease, border-color 180ms ease; }
.workspace-close:hover, .workspace-close:focus-visible { border-color: var(--blue); background: var(--white); transform: translateX(-3px); }
.workspace-close:active { transform: scale(.97); }
.workspace-rail { display: flex; gap: 6px; padding-top: 18px; }
.workspace-rail button { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 13px; border: 0; border-bottom: 2px solid transparent; color: var(--ink-soft); background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; transition: color 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out); }
.workspace-rail button:hover, .workspace-rail button:focus-visible { color: var(--ink); transform: translateY(-2px); }
.workspace-rail button[aria-selected="true"] { color: var(--ink); border-color: var(--blue); }
.workspace-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.dot-analytics { background: var(--violet); }
.dot-aux { background: #b07a14; }
.dot-bot { background: var(--cyan); }
.dot-mate101 { background: #1b8d73; }
.workspace-frame { position: relative; height: clamp(560px, calc(100vh - 278px), 900px); min-height: 520px; margin-top: 18px; overflow: hidden; border: 1px solid rgba(7,16,31,.15); border-radius: 16px; background: var(--white); box-shadow: 0 20px 55px rgba(7,16,31,.1); }
.workspace-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--white); }
.workspace-loading { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ink-soft); background: rgba(255,255,255,.96); font-size: 14px; pointer-events: none; }
.workspace-loading[hidden] { display: none; }
.workspace-loader { width: 24px; height: 24px; border: 2px solid rgba(45,109,246,.2); border-top-color: var(--blue); border-radius: 50%; animation: workspace-spin 700ms linear infinite; }
@keyframes workspace-spin { to { transform: rotate(360deg); } }
body.workspace-open { background: #f2f5fa; }
@media (max-width: 700px) {
  .workspace-shell { padding: 92px 0 20px; }
  .workspace-header { align-items: flex-start; flex-direction: column; gap: 18px; padding-bottom: 20px; }
  .workspace-heading h1 { font-size: clamp(42px, 13vw, 58px); }
  .workspace-heading p:last-child { font-size: 15px; }
  .workspace-close { min-height: 44px; }
  .workspace-rail { width: calc(100% - 40px); margin: auto; overflow-x: auto; padding-top: 12px; scrollbar-width: none; }
  .workspace-rail::-webkit-scrollbar { display: none; }
  .workspace-rail button { flex: 0 0 auto; }
  .workspace-frame { width: calc(100% - 20px); min-height: 640px; height: calc(100vh - 238px); margin-top: 12px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-loader { animation: none; }
  .workspace-close, .workspace-rail button { transition: none; }
}
.flag-icon{width:18px;height:12px;display:inline-block;flex:0 0 auto;border-radius:2px;box-shadow:0 0 0 1px rgba(11,25,48,.16)}
.flag-us{background:linear-gradient(#3c3b6e 0 0) left top/45% 54% no-repeat,repeating-linear-gradient(to bottom,#b22234 0 7.7%,#fff 7.7% 15.4%)}
.flag-gt{background:linear-gradient(to right,#4997d0 0 33%,#fff 33% 67%,#4997d0 67%)}
.access-grid a:first-child { grid-column: 1 / -1; min-height: 190px; order: 5; }
