/*
 VOICE   premium, calm, a little dramatic: a launch page for a serious tool
 IDEA    a climb: the page gets warmer and the board sees more the higher you go
 PICTURE the Evergreen position, sticky, with arrows drawn level by level
 COLOUR  black ground, bronze #c2a15f / #d9b46a, one red for danger
 TYPE    Barlow Condensed for display, Barlow for text (the GM Knight "Broadcast" pair)
*/
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #070707; --raise: #111111; --raise-2: #181715; --rule: #26231f;
  --text: #ece8e1; --silver: #a3a09a; --gold: #c2a15f; --gold-2: #d9b46a; --red: #e0524a;
  --heat: 0;
  color-scheme: dark;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--bg); overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 "Barlow", system-ui, sans-serif; overflow-x: clip; }
a { color: var(--gold-2); }
h1, h2, h3 { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: .005em; margin: 0; text-wrap: balance; }
.eyebrow { font: 500 14px/1 "Barlow", sans-serif; color: var(--gold); margin: 0 0 14px; }
.lead { font-size: 19px; color: #cfcac2; max-width: 60ch; }
.fine { font-size: 14px; color: var(--silver); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; font: 500 16px/1 "Barlow", sans-serif; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s; cursor: pointer; border: 1px solid transparent; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 17px; }
.btn-gold { background: linear-gradient(180deg, #d9b46a, #b48f4c); color: #0b0906; box-shadow: 0 8px 30px -10px rgba(217, 180, 106, .6); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(217, 180, 106, .8); }
.btn-ghost { color: var(--text); border-color: #3a352d; background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn.soon { background: #1b1915; color: var(--silver); box-shadow: none; cursor: default; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px max(4vw, 18px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 7, 7, .82); backdrop-filter: blur(14px); border-color: var(--rule); }
.nav-brand .by, .foot-brand .by { font: 400 14px "Barlow", sans-serif; color: var(--silver); align-self: center; margin-top: 3px; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 22px/1 "Barlow Condensed", sans-serif; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--silver); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { min-height: 40px; padding: 8px 18px; font-size: 15px; }

/* hero */
.hero { position: relative; overflow: visible; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; padding: 110px max(6vw, 20px) 80px; max-width: 1320px; margin: 0 auto; }
.hero-glow { position: absolute; inset: -10% -20% auto auto; width: 70vw; height: 90vh; background: radial-gradient(closest-side, rgba(194, 161, 95, .20), rgba(194, 161, 95, 0) 70%); pointer-events: none; }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .96; }
.hero h1 .w { color: var(--text); }
.hero h1 .w.gold { color: var(--gold-2); }
.hero .lead { margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-logo { width: 88%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .8)) drop-shadow(0 0 40px rgba(217, 180, 106, .18)); animation: float 7s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(194, 161, 95, .22); }
.r1 { inset: 8%; } .r2 { inset: 18%; border-color: rgba(194, 161, 95, .14); } .r3 { inset: -2%; border-color: rgba(194, 161, 95, .08); }
.ring { animation: pulse 6s ease-in-out infinite; } .r2 { animation-delay: 1.2s; } .r3 { animation-delay: 2.4s; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1px solid #3a352d; border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* sections */
section { position: relative; }
.uses, .how, .pricing, .install { max-width: 1180px; margin: 0 auto; padding: clamp(50px, 6vw, 90px) max(5vw, 20px) 20px; }
.uses h2.big { font-size: clamp(44px, 7vw, 96px); line-height: .98; }
.uses h2, .how h2, .pricing h2, .install h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; margin-bottom: 18px; }

/* every knight logo: the red eye glows */
.knight { position: relative; display: inline-block; line-height: 0; flex: none; }
.knight img { display: block; }
.eye-glow { position: absolute; left: 25.6%; top: 26.2%; width: 7%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, #ff5a40 0%, rgba(255, 40, 20, .85) 35%, rgba(255, 30, 10, 0) 70%); box-shadow: 0 0 6px 2px rgba(255, 40, 20, .7), 0 0 18px 6px rgba(255, 30, 10, .35); mix-blend-mode: screen; pointer-events: none; animation: eye-glow 3.2s ease-in-out infinite; }
.knight:not(.knight-lg) .eye-glow { width: 16%; box-shadow: 0 0 4px 1px rgba(255, 40, 20, .9), 0 0 10px 3px rgba(255, 30, 10, .5); }
.knight-lg .eye-glow { width: 4%; box-shadow: 0 0 14px 5px rgba(255, 40, 20, .75), 0 0 50px 18px rgba(255, 30, 10, .3); }
@keyframes eye-glow { 0%, 100% { opacity: .55; } 45% { opacity: 1; } 55% { opacity: .85; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cta-row { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 22px; text-align: center; }
.cta-row .fine { margin: 0; }

/* THE LEVELS: a full-screen stage; the level changes with big, layered transitions */
.show { position: relative; overflow: clip; }
.show::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(60vw 70vh at 50% 60%, rgba(217, 180, 106, calc(.03 + var(--heat) * .18)), transparent 70%); transition: background 1.2s ease; }
.bg-elo { position: absolute; z-index: 0; left: 0; right: 0; top: 50%; text-align: center; pointer-events: none; transform: translateY(-50%); }
.bg-elo span { display: inline-block; font: 700 clamp(240px, 38vw, 620px)/.8 "Barlow Condensed", sans-serif; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(217, 180, 106, .22); background: linear-gradient(180deg, rgba(217, 180, 106, .16), rgba(217, 180, 106, 0) 80%); -webkit-background-clip: text; background-clip: text; }
#bg-elo.out { transition: transform .32s ease-in, opacity .32s ease-in, filter .32s; opacity: 0; filter: blur(10px); }
[data-dir="up"] ~ * #bg-elo.out, .show:has([data-dir="up"]) #bg-elo.out { transform: translateY(-18%) scale(.9); }
.show:has([data-dir="down"]) #bg-elo.out { transform: translateY(18%) scale(.9); }
#bg-elo.in { animation: bg-in 1.1s cubic-bezier(.16, .84, .24, 1) both; }
.show:has([data-dir="down"]) #bg-elo.in { animation-name: bg-in-down; }
@keyframes bg-in { from { opacity: 0; transform: translateY(26%) scale(1.25); filter: blur(14px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bg-in-down { from { opacity: 0; transform: translateY(-26%) scale(1.25); filter: blur(14px); } to { opacity: 1; transform: none; filter: none; } }

.show-head { max-width: 1180px; margin: 0 auto; padding: 0 max(5vw, 20px) 10px; text-align: center; will-change: transform, opacity; }
.show-head h2 { font-size: clamp(48px, 8vw, 120px); line-height: .94; margin-bottom: 18px; }
.show-head h2 span { color: var(--gold-2); }
.show-head .lead { margin: 0 auto; max-width: 42em; }
.pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 84px max(3vw, 18px) 16px; transform-origin: 50% 0; will-change: transform, opacity; }
.pin-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) 340px; gap: clamp(20px, 2.6vw, 44px); align-items: center; max-width: 1480px; width: 100%; margin: 0 auto; }
/* a light sweeps across the stage on every change */
.sweep { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.sweep::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -80%; background: linear-gradient(100deg, transparent, rgba(255, 226, 170, .10) 45%, rgba(255, 240, 210, .22) 50%, rgba(255, 226, 170, .10) 55%, transparent); transform: skewX(-14deg); }
.sweep.go::before { animation: sweep .9s cubic-bezier(.4, 0, .2, 1); }
@keyframes sweep { to { left: 140%; } }
.hint { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 0; color: var(--silver); font-size: 14px; }
.mouse { width: 18px; height: 28px; border: 1.5px solid #6f6a60; border-radius: 10px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: var(--gold-2); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(5px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-3px); } }

/* the story */
.s-step { margin: 0 0 4px; color: var(--silver); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.s-elo { margin: 0; font: 600 clamp(90px, 9.4vw, 160px)/.86 "Barlow Condensed", sans-serif; background: linear-gradient(180deg, #f6e6c2, #b48f4c); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.s-title { font-size: clamp(32px, 3.2vw, 48px); margin: 6px 0 2px; }
.s-fact { margin: 0 0 16px; color: var(--gold); font-size: 15px; }
.s-story { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: #d9d4cb; margin: 0 0 18px; }
.s-help { border-left: 2px solid var(--gold); background: rgba(217, 180, 106, .06); border-radius: 0 12px 12px 0; padding: 13px 16px; }
.s-help-h { margin: 0 0 5px; font: 600 18px "Barlow Condensed", sans-serif; color: var(--gold-2); }
.s-help p:last-child { margin: 0; font-size: 15px; line-height: 1.55; color: #d3cec5; }

/* out: text flies off and blurs, the board turns on its edge; in: big staggered entrance */
.slide.out > * { transition: opacity .3s ease-in, transform .3s ease-in, filter .3s; opacity: 0; transform: translateY(-40px); filter: blur(10px); }
[data-dir="down"] .slide.out > * { transform: translateY(40px); }
.slide.in > * { animation: rise-big .9s cubic-bezier(.16, .84, .24, 1) both; }
[data-dir="down"] .slide.in > * { animation-name: rise-big-down; }
.slide.in .s-elo { animation-name: elo-in; animation-duration: 1s; }
.slide.in > :nth-child(1) { animation-delay: 0ms; } .slide.in > :nth-child(2) { animation-delay: 40ms; }
.slide.in > :nth-child(3) { animation-delay: 130ms; } .slide.in > :nth-child(4) { animation-delay: 190ms; }
.slide.in > :nth-child(5) { animation-delay: 270ms; } .slide.in > :nth-child(6) { animation-delay: 370ms; }
.stage.out { transition: transform .32s ease-in, opacity .32s ease-in, filter .32s; transform: perspective(1200px) rotateY(-75deg) scale(.88); opacity: 0; filter: blur(4px); }
[data-dir="down"] .stage.out { transform: perspective(1200px) rotateY(75deg) scale(.88); }
.stage.in { animation: flip-in 1s cubic-bezier(.16, .84, .24, 1) both; }
[data-dir="down"] .stage.in { animation-name: flip-in-down; }
@keyframes rise-big { from { opacity: 0; transform: translateY(70px); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise-big-down { from { opacity: 0; transform: translateY(-70px); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes elo-in { from { opacity: 0; transform: scale(1.6) translateY(20px); filter: blur(16px); letter-spacing: .1em; } to { opacity: 1; transform: none; filter: none; } }
@keyframes flip-in { from { opacity: 0; transform: perspective(1200px) rotateY(75deg) scale(.88); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes flip-in-down { from { opacity: 0; transform: perspective(1200px) rotateY(-75deg) scale(.88); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* the board */
.stage { width: 100%; max-width: min(580px, calc(100svh - 250px)); justify-self: center; transform-style: preserve-3d; }
.board { border-radius: 10px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 calc(var(--heat) * 80px) rgba(217, 180, 106, calc(var(--heat) * .25)); transition: box-shadow 1.2s ease; }
.board-svg { display: block; width: 100%; height: 100%; }
.board .coord { font: 600 15px "Barlow", sans-serif; }
.board .piece { transition: transform .55s cubic-bezier(.3, .7, .2, 1), opacity .3s; }
.board .piece.taken { opacity: 0; }
.board .mark.danger { fill: rgba(224, 82, 74, .35); }
.board .arrow { opacity: 0; transition: opacity .3s; }
.board .arrow.on { opacity: .92; }
.board .arrow line { transition: stroke-dashoffset .6s cubic-bezier(.3, .7, .2, 1); }
.board .arrow.dim.on { opacity: .75; }
.board .num-bg { fill: #0b0906; stroke: #d9b46a; stroke-width: 3; }
.board .num { font: 600 24px "Barlow Condensed", sans-serif; fill: #f1dfb8; text-anchor: middle; }
.board.beyond { outline: 2px solid rgba(217, 180, 106, .55); }
.board-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; color: var(--silver); font-size: 15px; }
.plays strong { color: var(--text); font: 600 20px "Barlow Condensed", sans-serif; }
.verdict { font: 500 14px "Barlow", sans-serif; color: #0b0906; background: var(--gold); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }

/* the GM Knight panel, same design as the extension */
.gk { background: #000; border: 1px solid #242424; border-radius: 14px; padding: 12px 12px 8px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); max-height: calc(100svh - 110px); overflow: hidden; display: flex; flex-direction: column; }
.gk-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #242424; margin-bottom: 8px; }
.gk-name { font: 600 18px "Barlow Condensed", sans-serif; flex: 1; }
.gk-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #9b9ea4; }
.gk-live i { width: 7px; height: 7px; border-radius: 50%; background: #e0524a; box-shadow: 0 0 8px #e0524a; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.gk-h { margin: 0 0 8px; font: 600 20px/1.1 "Barlow Condensed", sans-serif; }
.eyes { position: relative; display: flex; flex-direction: column; gap: 3px; }
.eye-hl { position: absolute; left: 0; top: 0; border: 1px solid #c2a15f; border-radius: 8px; background: rgba(194, 161, 95, .1); box-shadow: 0 0 24px rgba(217, 180, 106, .18); pointer-events: none; transition: transform .5s cubic-bezier(.2, .9, .2, 1), width .3s, height .3s; }
.gk { transition: box-shadow .4s, border-color .4s; }
.gk:hover { border-color: #3a3328; box-shadow: 0 0 0 1px rgba(217, 180, 106, .15), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.eye { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 3px 10px; border: 1px solid #242424; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; font: inherit; transition: border-color .25s, background .25s; }
.eye:hover { border-color: #3a3a3a; }
.eye .n { font: 600 20px/1 "Barlow Condensed", sans-serif; width: 46px; flex: none; display: flex; align-items: center; height: 22px; transition: color .25s; }
.eye .n svg { width: 26px; height: 26px; }
.eye .tx { min-width: 0; }
.eye .t { display: block; font-size: 13px; line-height: 1.25; }
.eye .d { display: block; font-size: 11px; line-height: 1.3; color: #9b9ea4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eye[aria-checked="true"] { border-color: transparent; }
.eye[aria-checked="true"] .n { color: #c2a15f; }
.gk-block { padding: 7px 2px 6px; border-top: 1px solid #242424; margin-top: 6px; }
.gk-bh { margin: 0 0 4px; font: 600 15px "Barlow Condensed", sans-serif; color: #9b9ea4; }
.gk-move { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.gk-move #gk-san { font: 600 26px/1 "Barlow Condensed", sans-serif; }
.gk .badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.gk .badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa58a; }
.gk .badge.best::before { background: #8fb35a; } .gk .badge.great::before { background: #6d93c4; } .gk .badge.brilliant::before { background: #3fb6a8; }
.gk-line { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 14px; }
.gk-line .no { color: #6f7277; }
.gk-line .mv:first-of-type { color: var(--gold-2); }
.gk-eyes p { margin: 0 0 3px; font-size: 12.5px; color: #cfcac2; display: flex; gap: 8px; }
.gk-eyes .k { flex: none; width: 48px; color: #9b9ea4; }
.truth { max-width: 860px; margin: 30px auto 0; padding: 0 20px; text-align: center; color: #cfcac2; font-size: 17px; }
.truth strong { color: var(--gold-2); }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; padding: clamp(50px, 6vw, 90px) max(5vw, 20px) 50px; }
.faq h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; margin-bottom: 26px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 clamp(20px, 2vw, 26px) "Barlow Condensed", sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 30px "Barlow", sans-serif; color: var(--gold-2); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: #cfcac2; font-size: 17px; max-width: 46em; animation: rise .5s ease both; }

/* uses */
.use-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.use { position: relative; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-start; gap: 0; background: linear-gradient(180deg, #141210, #0b0a09); border: 1px solid var(--rule); border-radius: 22px; padding: 28px; transition: border-color .3s, transform .4s cubic-bezier(.2, .8, .2, 1); }
.use::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(217, 180, 106, .14), transparent); pointer-events: none; }
.use-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.use { min-height: 210px; }


.use:hover { border-color: #4a4032; transform: translateY(-3px); }
.use-ic { width: 34px; height: 34px; color: var(--gold-2); }
.use h3 { font-size: 26px; line-height: 1.1; margin: 0 0 8px; padding-top: 22px; }
.use p { margin: 0; font-size: 15px; color: var(--silver); }

/* how */
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { border-top: 1px solid #3a352d; padding-top: 18px; }
.steps .n { font: 600 44px/1 "Barlow Condensed", sans-serif; color: var(--gold); }
.steps h3 { font-size: 26px; margin: 10px 0 6px; }
.steps p { margin: 0; color: var(--silver); font-size: 16px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 34px auto 0; max-width: 900px; }
.pricing > .eyebrow, .pricing > h2 { text-align: center; }
.plan { position: relative; background: #0f0e0d; border: 1px solid var(--rule); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.plan-pro { border-color: #6b5832; background: linear-gradient(180deg, #17140f, #0d0c0a); box-shadow: 0 30px 80px -40px rgba(217, 180, 106, .45); }
.plan h3 { font-size: 30px; }
.plan .badge { position: absolute; top: 18px; right: 18px; margin: 0; background: var(--gold); color: #0b0906; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.price { font: 600 52px/1 "Barlow Condensed", sans-serif; margin: 12px 0 18px; white-space: nowrap; }
.price span { font: 400 16px "Barlow", sans-serif; color: var(--silver); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; color: #d3cec5; border-bottom: 1px solid #1c1a17; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.plan .fine { margin: 12px 0 0; }

/* install */
.install { text-align: center; }
.install-logo { width: 150px; height: auto; filter: drop-shadow(0 0 30px rgba(217, 180, 106, .25)); }
.install h2 { max-width: 16em; margin: 14px auto 26px; }
.install-note { color: var(--silver); max-width: 40em; margin: 14px auto 18px; }
.browsers { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.browsers li a, .browsers li span { display: inline-block; padding: 8px 16px; border: 1px solid #3a352d; border-radius: 999px; color: var(--silver); text-decoration: none; font-size: 15px; }
.browsers li a:hover { color: var(--gold-2); border-color: var(--gold); }

.fair { max-width: 760px; text-align: center; padding-bottom: 70px; }
.fair h3 { font-size: 24px; margin-bottom: 8px; }
.fair p { color: var(--silver); margin: 0; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 26px max(5vw, 20px); border-top: 1px solid var(--rule); color: var(--silver); font-size: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 600 18px "Barlow Condensed", sans-serif; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--silver); text-decoration: none; }
.foot a:hover { color: var(--gold-2); }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* tablets and phones: board on top (sticky), story below */
@media (max-width: 1180px) {
  .pin-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 290px; }
  .s-story { font-size: 15px; }
}
@media (max-width: 980px) {
  .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; text-align: left; min-height: auto; }
  .hero-art { max-width: 340px; margin: 0 auto; order: -1; }
  .scroll-cue { display: none; }
  /* phone: the level strip on top, the board, then the story */
  .pin { padding: 76px 14px 20px; min-height: 0; }
  .bg-elo { top: 40%; }
  .pin-grid { grid-template-columns: 1fr; gap: 12px; }
  .hint { margin-top: 14px; }
  .mouse { display: none; }
  .gk { order: -1; background: transparent; border: 0; padding: 0; box-shadow: none; max-height: none; overflow: visible; }
  .gk-head, .gk-h, .gk-block { display: none; }
  .eyes { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; padding: 2px 0; }
  .eyes::-webkit-scrollbar { display: none; }
  .eye { width: auto; flex: none; padding: 6px 10px; gap: 8px; }
  .eye .n { width: auto; font-size: 18px; }
  .eye .n svg { width: 22px; height: 22px; }
  .eye .d { display: none; }
  .eye .t { font-size: 12px; white-space: nowrap; }
  .stage { order: 0; max-width: min(86vw, 54svh); }
  .slide { order: 1; }
  .s-elo { font-size: 72px; }
  .s-title { font-size: 28px; }
  .s-story { font-size: 16px; }
  .bg-elo { top: 46%; }
  .use-grid .use { grid-column: auto !important; min-height: 190px; }
  .steps, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .use-grid { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
  .nav-cta { padding: 8px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* the Robot icon in place of a number */
.s-elo.robot svg { width: .9em; height: .9em; color: #d9b46a; display: block; }
#bg-elo.robot svg { width: .75em; height: .75em; color: rgba(217, 180, 106, .14); display: inline-block; }

/* THE PATH: a road down the page; each Elo stop lights up as the gold fill reaches it */
.path { max-width: 1240px; margin: 0 auto; padding: clamp(50px, 6vw, 90px) max(4vw, 18px) 20px; }
.path-head { text-align: center; max-width: 860px; margin: 0 auto 50px; }
.path-head h2 { font-size: clamp(40px, 6vw, 84px); line-height: .98; margin-bottom: 18px; }
.path-head h2 span { color: var(--gold-2); }
.path-head .lead { margin: 0 auto; }
.road { position: relative; display: flex; flex-direction: column; gap: 46px; padding: 20px 0; }
.road-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #1f1c18; border-radius: 3px; }
.road-line i { display: block; width: 100%; height: 0; background: linear-gradient(180deg, #8b7240, #f0d79c); border-radius: 3px; box-shadow: 0 0 18px rgba(217, 180, 106, .6); }
.stop { position: relative; display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; gap: 28px; }
.stop-dot { grid-column: 2; grid-row: 1; justify-self: center; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: #0d0c0b; border: 2px solid #2b2722; z-index: 1; transition: border-color .5s, box-shadow .5s, transform .5s cubic-bezier(.2, .9, .2, 1); }
.stop-dot span { font: 600 28px/1 "Barlow Condensed", sans-serif; color: #5f5a52; transition: color .5s; display: grid; place-items: center; }
.stop-dot svg { width: 36px; height: 36px; }
.stop.lit .stop-dot { border-color: #d9b46a; box-shadow: 0 0 0 6px rgba(217, 180, 106, .08), 0 0 36px rgba(217, 180, 106, .45); transform: scale(1.08); }
.stop.lit .stop-dot span { color: #f1dfb8; }
.stop-card, .stop-board { opacity: .3; transition: opacity .7s ease, transform .9s cubic-bezier(.16, .84, .24, 1), filter .7s; }
.stop.left .stop-card { grid-column: 1; grid-row: 1; text-align: right; transform: translateX(-60px); }
.stop.left .stop-board { grid-column: 3; grid-row: 1; transform: translateX(60px) rotate(4deg); }
.stop.right .stop-card { grid-column: 3; grid-row: 1; transform: translateX(60px); }
.stop.right .stop-board { grid-column: 1; grid-row: 1; justify-self: end; transform: translateX(-60px) rotate(-4deg); }
.stop.lit .stop-card, .stop.lit .stop-board { opacity: 1; filter: none; transform: none; }
.stop-elo { margin: 0 0 6px; color: var(--gold); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.stop-card h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; margin-bottom: 10px; }
.stop-feat { margin: 0 0 10px; color: #d3cec5; font-size: 16px; line-height: 1.55; }
.stop-feat span { display: block; font: 600 16px "Barlow Condensed", sans-serif; color: var(--gold-2); margin-bottom: 2px; }
.stop-move { margin: 0; color: var(--silver); font-size: 14px; }
.stop-move strong { color: var(--text); }
.stop-board { width: min(100%, 340px); }
.stop.left .stop-board { justify-self: start; }
.mini-svg { display: block; width: 100%; border-radius: 10px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .95); }

/* BROWSERS: the logos drop in big and settle, one after another, when the section comes into view */
.browsers-show { padding: clamp(60px, 7vw, 100px) 20px; text-align: center; overflow: clip; }
.bw-sticky h2 { font-size: clamp(40px, 6vw, 84px); line-height: 1; margin-bottom: 46px; }
.bw-sticky h2 span { color: var(--gold-2); }
.bw-row { display: flex; gap: clamp(24px, 6vw, 90px); justify-content: center; perspective: 1200px; }
.bw { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: var(--text); opacity: 0; transform: translateY(80px) scale(1.9) rotateY(-50deg); filter: blur(18px); }
.browsers-show.in .bw { animation: bw-in .65s cubic-bezier(.16, .84, .24, 1) forwards; }
.browsers-show.in .bw:nth-child(2) { animation-delay: .1s; }
.browsers-show.in .bw:nth-child(3) { animation-delay: .2s; }
@keyframes bw-in { to { opacity: 1; transform: none; filter: none; } }
.bw img { width: clamp(110px, 14vw, 200px); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); transition: transform .4s cubic-bezier(.2, .9, .2, 1); }
.bw:hover img { transform: translateY(-8px) scale(1.06); }
.bw-name { font: 600 clamp(22px, 2.4vw, 32px) "Barlow Condensed", sans-serif; }
.bw-btn { font-size: 14px; color: #0b0906; background: var(--gold); border-radius: 999px; padding: 7px 16px; }
.bw:not(.mine) .bw-btn { background: transparent; color: var(--gold-2); border: 1px solid #4a4032; }

/* privacy page + footer */
.legal { max-width: 760px; margin: 0 auto; padding: 130px 22px 70px; }
.legal h1 { font-size: clamp(40px, 6vw, 70px); margin-bottom: 14px; }
.legal h2 { font-size: 28px; margin: 34px 0 8px; }
.legal p, .legal li { color: #d3cec5; font-size: 17px; line-height: 1.65; }
.legal .meta { color: var(--silver); font-size: 15px; margin: 0; }
.legal .short { margin-top: 24px; padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(217, 180, 106, .06); border-radius: 0 12px 12px 0; color: var(--text); }
.legal a { color: var(--gold-2); }
.foot .copy { color: var(--silver); font-size: 14px; }

@media (max-width: 860px) {
  .road-line { left: 30px; }
  .stop { grid-template-columns: 60px 1fr; gap: 14px 16px; }
  .stop-dot { grid-column: 1; width: 60px; height: 60px; }
  .stop-dot span { font-size: 20px; }
  .stop-dot svg { width: 26px; height: 26px; }
  .stop.left .stop-card, .stop.right .stop-card { grid-column: 2; grid-row: 1; text-align: left; transform: translateY(30px); }
  .stop.left .stop-board, .stop.right .stop-board { grid-column: 2; grid-row: 2; justify-self: start; transform: translateY(30px); width: min(100%, 300px); }
  .bw-row { flex-direction: column; gap: 22px; }
  .bw { flex-direction: row; gap: 16px; }
  .bw img { width: 76px; }
  .bw-sticky h2 { margin-bottom: 28px; }
  .bw { transform: translateX(60px) scale(1.4); }
}

.board .mark.target { fill: rgba(217, 180, 106, .45); }
.tagline { margin: 0 0 18px; font-size: 14px; color: #bfb7a8; letter-spacing: .02em; }
.slide.out > .tagline, .slide.in > .tagline { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; transition: none; }

/* the GM Knight panel, small, at each stop of the path */
.mock { background: #000; border: 1px solid #2a2622; border-radius: 12px; padding: 12px 14px 14px; font-size: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(217, 180, 106, .04); text-align: left; }
.stop.lit .mock { border-color: #4a4032; }
.mock-head { display: flex; align-items: center; gap: 8px; font: 600 15px "Barlow Condensed", sans-serif; padding-bottom: 9px; margin-bottom: 10px; border-bottom: 1px solid #222; }
.mock .m-h { margin: 0 0 6px; font: 600 14px "Barlow Condensed", sans-serif; color: #9b9ea4; }
.mock .m-h:not(:first-of-type) { margin-top: 10px; }
.mock .m-move { margin: 0; display: flex; align-items: baseline; gap: 10px; font: 600 24px "Barlow Condensed", sans-serif; }
.mock .m-move .m-badge { font: 400 13px "Barlow", sans-serif; }
.m-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.m-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa58a; }
.m-badge.best::before { background: #8fb35a; } .m-badge.inaccuracy::before { background: #d9b44a; } .m-badge.mistake::before { background: #d98a3d; } .m-badge.blunder::before { background: #c9443b; }
.mock .m-threat { margin: 8px 0 0; display: flex; align-items: center; gap: 8px; color: #f0b3ad; }
.mock .m-threat i { width: 22px; height: 3px; background: #e0524a; border-radius: 2px; position: relative; flex: none; }
.mock .m-threat i::after { content: ""; position: absolute; right: -4px; top: -4px; border: 5.5px solid transparent; border-left: 7px solid #e0524a; border-right: 0; }
.mock .m-row { margin: 0; padding: 6px 0; display: flex; gap: 10px; align-items: baseline; border-top: 1px solid #1a1a1a; color: #d3cec5; }
.mock .m-row:first-of-type { border-top: 0; }
.mock .m-row .m-badge { width: 92px; flex: none; }
.mock .m-row.on { color: var(--text); }
.mock .m-row .m-elo { font: 600 20px/1 "Barlow Condensed", sans-serif; width: 48px; color: #9b9ea4; }
.mock .m-row.on .m-elo { color: #c2a15f; }
.mock .m-big { margin: 0 0 4px; font: 600 26px "Barlow Condensed", sans-serif; }
.mock .m-text { margin: 0 0 10px; color: #bdb8b0; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.mock .m-dot { width: 9px; height: 9px; border-radius: 50%; background: #e0524a; flex: none; }
.mock .m-btn { display: inline-block; border: 1px solid #3a3a3a; border-radius: 8px; padding: 7px 14px; font-size: 13px; }
.mock .m-line { margin: 0; font-size: 15px; }
.mock .m-line b { color: #6f7277; font-weight: 400; }
.mock .m-line.dim { color: #9b9ea4; }
.mock .m-graph { display: block; width: 100%; height: 70px; margin: 2px 0 8px; background: #0b0b0b; border-radius: 6px; }
.mock .m-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mock .m-seg span { border: 1px solid #242424; border-radius: 7px; padding: 6px 4px; text-align: center; font-size: 12.5px; }
.mock .m-seg small { display: block; font-size: 10.5px; color: #9b9ea4; }
.mock .m-seg .on { border-color: #c2a15f; background: rgba(194, 161, 95, .1); color: #f1dfb8; }
.mock .m-perf { margin: 6px 0 0; display: grid; grid-template-columns: 46px 1fr 44px; gap: 10px; align-items: center; color: #bdb8b0; }
.mock .m-perf i { height: 6px; border-radius: 3px; background: #1d1b18; position: relative; overflow: hidden; }
.mock .m-perf i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, #8b7240, #d9b46a); }
.mock .m-perf b { font: 600 18px "Barlow Condensed", sans-serif; color: var(--text); text-align: right; }
.mock .m-eye { margin: 0 0 8px; display: flex; align-items: center; gap: 12px; padding: 7px 10px; border: 1px solid #c2a15f; border-radius: 8px; background: rgba(194, 161, 95, .08); }
.mock .m-eye .n { font: 600 22px/1 "Barlow Condensed", sans-serif; color: #c2a15f; width: 46px; display: grid; place-items: start; }
.mock .m-eye .n svg { width: 26px; height: 26px; }
.mock .m-eye .t { display: block; font-size: 13.5px; }
.mock .m-eye .d { display: block; font-size: 11.5px; color: #9b9ea4; }
@media (max-width: 980px) { .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .use-grid { grid-template-columns: 1fr !important; } .nav-brand .by { display: none; } }

/* browser silhouette inside the install buttons */
.b-ic { display: inline-block; width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.28em; margin-right: .5em; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; -webkit-mask-mode: luminance; mask-mode: luminance; }
.btn-gold .b-ic, .bw.mine .bw-btn .b-ic { -webkit-mask: none; mask: none; background: var(--ic) center / contain no-repeat; filter: grayscale(1) contrast(4) brightness(.4); }
.btn { display: inline-flex; align-items: center; justify-content: center; }
.bw-btn { display: inline-flex; align-items: center; }

/* the rotating last word */
.uses h2.big .rot { display: inline-grid; perspective: 800px; }
.rot-w { grid-area: 1 / 1; opacity: 0; transform: translateY(55%) rotateX(-75deg); filter: blur(6px); transform-origin: 50% 50% -40px; transition: opacity .55s ease, transform .7s cubic-bezier(.2, .9, .2, 1), filter .55s; background: linear-gradient(100deg, #b48f4c 0%, #f6e3b8 40%, #d9b46a 55%, #b48f4c 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }
.rot-w.on { opacity: 1; transform: none; filter: none; }
.rot-w.off { opacity: 0; transform: translateY(-55%) rotateX(75deg); filter: blur(6px); }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.price [data-price] { font: inherit; color: inherit; }

/* DEMO video */
.demo { max-width: 1240px; margin: 0 auto; padding: clamp(50px, 6vw, 90px) max(4vw, 18px) 10px; text-align: center; }
.demo h2 { font-size: clamp(40px, 6vw, 84px); line-height: 1; margin-bottom: 34px; }
.demo-frame { border-radius: 20px; overflow: hidden; border: 1px solid #2a2622; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), 0 0 80px rgba(217, 180, 106, .10); background: #070707; }
.demo-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.demo h2 span { color: var(--gold-2); }
