/* DRAWVENGE · Pure CSS. All visual tokens are editable here. */
:root {
  --bg: #080c12;
  --surface: #0e141d;
  --surface-raised: #121b25;
  --text: #f5f5ef;
  --muted: #a1adb8;
  --subtle: #76838f;
  --line: #242e38;
  --red: #ff545e;
  --cyan: #38d8ec;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1240px;
  --gutter: 48px;
  --radius: 16px;
  --header-height: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.6; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button, input, summary { touch-action: manipulation; }
button, summary { user-select: none; }
img, svg { max-width: 100%; }
img { display: block; }
svg { overflow: visible; }
p, h1, h2, h3 { margin: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
::selection { background: #6be8f0; color: #080c12; }
[hidden] { display: none !important; }
.sr-only, .svg-sprite { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--cyan); color: var(--bg); border-radius: 6px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--text); background: var(--text); color: #10141a; font-weight: 700; font-size: 14px; border-radius: 6px; padding: 14px 23px; min-height: 48px; transition: background .2s, transform .2s, border-color .2s; white-space: nowrap; }
.button:hover { background: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }
.button-small { font-size: 13px; padding: 9px 17px; min-height: 43px; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #44515d; transition: color .2s; }
.text-link:hover { color: var(--cyan); }
.text-red { color: var(--red); }
.text-cyan { color: var(--cyan); }
.text-outline { color: transparent; -webkit-text-stroke: 1.2px #a0aeb7; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .13em; line-height: 1.5; display: flex; gap: 12px; align-items: center; font-weight: 500; color: #c2cad1; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 13px #ff545e60; }
.cyan-dot { background: var(--cyan); box-shadow: 0 0 13px #38d8ec50; }
.section-number { display: inline-block; font-size: 10px; color: var(--subtle); padding-right: 10px; border-right: 1px solid var(--line); }
.section-space { padding-block: 100px; }
h2 { font-size: clamp(32px, 3.6vw, 49px); font-weight: 750; line-height: 1.14; letter-spacing: -.042em; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 42px; }
.section-heading .eyebrow { margin-bottom: 21px; }
.section-intro { color: var(--muted); font-size: 15px; line-height: 1.8; padding-bottom: 4px; }

/* Navigation */
.site-header { height: var(--header-height); border-bottom: 1px solid #26303b9c; background: #080c12f0; position: sticky; top: 0; z-index: 30; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 10px; align-items: center; font-size: 19px; font-weight: 850; letter-spacing: -.06em; line-height: 1; white-space: nowrap; }
.brand img { border-radius: 10px; }
.brand-dot { color: var(--red); }
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav > a:not(.button) { color: #b6c0ca; font-size: 13px; padding-block: 12px; transition: color .2s; }
.main-nav > a:not(.button):hover { color: #fff; }
.header-cta { margin-left: 11px; }
.menu-toggle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-toggle span { height: 1px; width: 19px; background: var(--text); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.section-grid::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#b5c9d103 1px, transparent 1px), linear-gradient(90deg,#b5c9d103 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(#000,transparent); }
.hero-glow { position: absolute; z-index: -1; pointer-events: none; width: 800px; height: 740px; border-radius: 50%; filter: blur(12px); }
.hero-glow-red { background: radial-gradient(ellipse,#ff46500b,transparent 65%); top: -290px; left: -320px; }
.hero-glow-blue { background: radial-gradient(ellipse,#1dd3ee0e,transparent 64%); right: -170px; top: -20px; }
.hero-layout { display: grid; grid-template-columns: 1.18fr 1fr; gap: 44px; align-items: center; padding-block: 64px 58px; min-height: 680px; }
.hero-copy { padding-bottom: 22px; position: relative; z-index: 1; }
.hero-copy .eyebrow { margin-bottom: 25px; }
h1 { font-size: clamp(43px, 5.1vw, 75px); line-height: 1.025; letter-spacing: -.068em; font-weight: 900; }
h1 span { display: block; white-space: nowrap; }
.hero-description { margin-top: 26px; font-size: 17px; color: #b5c0ca; line-height: 1.8; letter-spacing: -.012em; }
.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-store-buttons { margin-top: 31px; }
.store-button { display: inline-flex; align-items: center; gap: 14px; min-height: 66px; border: 1px solid #3a4651; padding: 11px 15px; border-radius: 8px; background: #111923; transition: border-color .2s, transform .2s, background .2s; }
.store-button:hover { border-color: #7b8b96; background: #1a2530; transform: translateY(-3px); }
.store-google { background: var(--text); border-color: var(--text); color: #141a20; }
.store-google:hover { background: #fff; border-color: #fff; }
.store-button small { display: block; line-height: 1.4; font-size: 8px; font-weight: 650; letter-spacing: .09em; opacity: .76; }
.store-button strong { display: block; font-size: 19px; letter-spacing: -.035em; line-height: 1.3; font-weight: 650; }
.store-icon { width: 25px; height: 29px; flex-shrink: 0; }
.apple-logo { width: 25px; padding: 1px; }
.store-arrow { width: 16px; height: 16px; margin-left: 7px; opacity: .68; }
.hero-subline { margin-top: 17px; display: flex; align-items: center; gap: 18px; font-size: 11px; color: #96a3af; }
.hero-subline a { display: inline-flex; align-items: center; gap: 7px; color: #d4dde3; }
.hero-subline a:hover { color: var(--cyan); }
.hero-subline .icon { width: 15px; }
.hero-features { margin-top: 41px; display: flex; flex-wrap: wrap; gap: 10px 16px; color: #96a4b0; font-size: 10px; font-family: var(--mono); }
.hero-features span { display: flex; align-items: center; gap: 7px; }
.hero-features span::before { content: "+"; color: var(--cyan); font-size: 12px; }
.hero-visual { position: relative; max-width: 500px; width: 100%; margin-left: auto; }
.arena-overline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: #92a4b0; }
.arena-coordinates { color: #b2bfc8; }
.arena-frame { position: relative; border: 1px solid #37424d; border-radius: 14px; background: linear-gradient(145deg,#141c26,#0b111b 40%,#101a25); box-shadow: 0 30px 90px #0005, 0 1px 0 #fff1 inset; overflow: hidden; }
.arena-topline { display: flex; align-items: center; justify-content: space-between; padding: 18px 23px 9px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.arena-topline > span:first-child { display: flex; gap: 8px; align-items: center; }
.tiny-square { width: 5px; height: 5px; background: var(--red); }
.preview-badge { font-size: 7px; color: #9aa8b6; border: 1px solid #3a4652; padding: 3px 6px; border-radius: 3px; letter-spacing: .07em; }
.arena { position: relative; margin: 3px 18px 0; aspect-ratio: 440 / 410; }
.arena-svg { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; }
.arena.drawing-enabled { cursor: crosshair; touch-action: none; outline: 1px dashed #ff545e55; border-radius: 10px; }
.arena.drawing-enabled .arena-svg { touch-action: none; }
.arena-tag { position: absolute; font-family: var(--mono); font-size: 9px; font-weight: 650; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid; border-radius: 5px; pointer-events: none; }
.arena-tag i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.arena-tag-red { top: 21%; left: 2%; color: #ff8990; background: #2a151ee8; border-color: #68333d; transform: rotate(-6deg); }
.arena-tag-cyan { bottom: 15%; right: 1%; color: #6be5f4; background: #102b37f2; border-color: #265767; transform: rotate(5deg); }
.draw-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #080d1675; color: #fff; pointer-events: none; font-size: 18px; font-weight: 650; text-shadow: 0 2px 12px #000; }
.draw-overlay span { font-size: 11px; color: #d5c4c4; margin-top: 5px; }
.arena-controls { display: flex; padding: 14px 20px; border-top: 1px solid #293440; gap: 8px; }
.sketch-button { display: flex; gap: 8px; align-items: center; justify-content: center; flex: 1; background: #f1f4ee; color: #111b23; border: 1px solid #f1f4ee; min-height: 40px; padding: 8px; border-radius: 5px; font-size: 12px; font-weight: 650; transition: background .2s; }
.sketch-button:hover { background: var(--cyan); border-color: var(--cyan); }
.sketch-button[aria-pressed="true"] { background: #332028; border-color: #9b4953; color: #ffb9bb; }
.sketch-button .icon { width: 16px; height: 16px; }
.icon-button { background: #16212d; color: #c3cdd5; border: 1px solid #33414e; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; padding: 10px; min-width: 42px; min-height: 42px; transition: background .2s, color .2s; }
.icon-button:hover { background: #253444; color: #fff; }
.icon-button .icon { width: 17px; height: 17px; }
.arena-footnote { display: flex; align-items: flex-start; gap: 11px; padding: 13px 5px 0; color: #8493a0; font-size: 9px; line-height: 1.7; }
.handwritten-arrow { display: block; color: var(--cyan); font-size: 26px; line-height: 1; transform: rotate(-12deg); }
.no-js-note { padding: 14px; text-align: center; font-size: 12px; color: var(--muted); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding-block: 22px; color: #a0aeba; font-family: var(--mono); font-size: 9px; letter-spacing: .11em; }
.hero-bottom a { display: grid; place-items: center; border: 1px solid #2e3b47; border-radius: 50%; width: 30px; height: 30px; }
.hero-bottom a .icon { transform: rotate(90deg); width: 14px; }

/* The loop */
.how-section { border-top: 1px solid #16212a; }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(120deg,#111720,#0b1118); }
.step-card { padding: 25px 29px 31px; min-width: 0; position: relative; }
.step-card:not(:last-child) { border-right: 1px solid var(--line); }
.step-top { display: flex; align-items: center; justify-content: space-between; color: #9fadb9; }
.step-index { font-family: var(--mono); font-size: 9px; letter-spacing: .09em; }
.step-top .icon { width: 17px; height: 17px; color: #708493; }
.step-illustration { height: 120px; margin-block: 23px 18px; }
.step-illustration svg { width: 100%; height: 100%; }
.grid-line { stroke: #26313c; stroke-dasharray: 3 8; }
.step-card h3 { font-size: 19px; letter-spacing: -.035em; margin-bottom: 9px; line-height: 1.3; }
.step-card p { font-size: 13px; color: #9daab6; line-height: 1.85; }

/* Game modes */
.modes-section { padding-top: 8px; }
.modes-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.mode-card { position: relative; min-height: 440px; border: 1px solid #40303a; border-radius: var(--radius); background: radial-gradient(ellipse at 100% 50%,#431d2645,transparent 65%),linear-gradient(115deg,#15151d,#0e141e); overflow: hidden; padding: 33px 35px 61px; }
.mode-shot { border-color: #263e49; background: radial-gradient(ellipse at 100% 50%,#17374560,transparent 65%),linear-gradient(115deg,#121a21,#0d1721); }
.mode-info { position: relative; z-index: 1; }
.mode-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 9px; font-family: var(--mono); letter-spacing: .1em; color: #bbc1c8; }
.mode-card h3 { font-size: 59px; font-weight: 850; letter-spacing: -.05em; line-height: .98; margin-top: 27px; }
.mode-card p { color: #acb8c2; font-size: 13px; line-height: 1.8; margin-top: 22px; }
.mode-card .text-link { margin-top: 23px; font-size: 12px; gap: 8px; }
.mode-card .text-link .icon { width: 16px; height: 16px; }
.mode-art { position: absolute; width: 59%; height: 89%; right: -15px; top: 17px; pointer-events: none; opacity: .94; }
.mode-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 34px; display: flex; justify-content: space-between; border-top: 1px solid #ffffff12; font-family: var(--mono); font-size: 8px; color: #adbac5; letter-spacing: .1em; }
.mode-bottom span:first-child { color: var(--subtle); }
.async-note { margin-top: 25px; display: flex; gap: 9px; align-items: center; justify-content: center; color: #92a1af; font-size: 12px; }
.async-note .icon { width: 15px; color: var(--cyan); }
.async-note strong { font-weight: 600; color: #d4dbe0; }

/* Rivalry */
.rivalry-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 65% 90%,#14303c22,transparent 70%),#0b1017; }
.rivalry-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.rivalry-layout .eyebrow { margin-bottom: 28px; }
.rivalry-layout h2 { font-size: clamp(40px,4.4vw,64px); font-weight: 850; line-height: .99; letter-spacing: -.055em; }
.rivalry-copy { margin-top: 24px; font-size: 14px; line-height: 1.9; color: #a2afbc; }
.chat-scene { padding: 10px 0; }
.chat-heading { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: #8f9eab; display: flex; align-items: center; gap: 9px; margin-bottom: 27px; }
.chat-row { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 15px; }
.chat-avatar { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 9px; font-family: var(--mono); font-size: 11px; border: 1px solid; flex-shrink: 0; }
.avatar-red { background: #2d1922; color: #fc969e; border-color: #61333c; }
.avatar-cyan { background: #112a36; color: #75ddec; border-color: #28505e; }
.chat-bubble { min-width: 236px; border: 1px solid #40313d; border-radius: 13px 13px 13px 3px; background: linear-gradient(120deg,#241820,#171820); padding: 14px 19px; }
.chat-bubble small { display: block; color: #da969d; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; margin-bottom: 4px; }
.chat-bubble p { font-size: 16px; letter-spacing: -.025em; }
.mini-attack { display: block; height: 51px; margin-top: 7px; width: 175px; }
.mini-attack svg { width: 100%; height: 100%; }
.chat-row-right { justify-content: flex-end; }
.chat-bubble-cyan { background: linear-gradient(120deg,#112630,#11202a); border-color: #263f4c; border-radius: 13px 13px 3px 13px; }
.chat-bubble-cyan small { color: #8dc9d4; }
.chat-bubble-cyan p span { display: inline-block; padding-left: 18px; color: var(--cyan); }
.chat-caption { display: block; text-align: right; margin-top: 22px; font-family: var(--mono); font-size: 10px; color: #8093a2; padding-right: 40px; }

/* Honest small-format store artwork, not synthetic app screenshots. */
.screens-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.screen-card { min-width: 0; }
.screen-image-stage { height: 328px; display: flex; align-items: center; justify-content: center; border: 1px solid #25313c; border-radius: 12px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 80%,#85263133,transparent 65%),linear-gradient(145deg,#151922,#0c121a); }
.screen-image-stage::before, .screen-image-stage::after { content: ""; position: absolute; border: 1px solid #ffffff08; border-radius: 50%; height: 225px; width: 225px; }
.screen-image-stage::after { height: 330px; width: 330px; }
.screen-cyan { background: radial-gradient(ellipse at 50% 80%,#24647844,transparent 65%),linear-gradient(145deg,#141c24,#0c121a); }
.screenshot-trigger { display: block; position: relative; z-index: 1; border: 1px solid #44515b; border-radius: 6px; box-shadow: 0 20px 45px #0008; transition: transform .25s; }
.screenshot-trigger:hover { transform: translateY(-5px); }
.screenshot-trigger img { border-radius: 5px; width: 128px; height: auto; }
.zoom-hint { position: absolute; display: flex; align-items: center; justify-content: center; right: -13px; bottom: 15px; height: 28px; width: 28px; border-radius: 50%; background: #263742; border: 1px solid #748590; box-shadow: 0 2px 5px #0008; }
.zoom-hint .icon { width: 13px; height: 13px; }
.screen-caption { display: flex; align-items: flex-start; gap: 13px; padding: 19px 2px 0; }
.screen-caption > span { font-family: var(--mono); font-size: 9px; color: #7c8d9d; padding-top: 4px; }
.screen-caption h3 { font-size: 16px; line-height: 1.5; font-weight: 650; letter-spacing: -.025em; }
.screen-caption p { font-size: 12px; color: #9cabb8; margin-top: 3px; }

/* FAQ */
.faq-section { padding-top: 35px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; }
.faq-heading .eyebrow { margin-bottom: 23px; }
.faq-heading h2 { font-size: 37px; }
.faq-heading > p:not(.eyebrow) { margin-top: 29px; color: #9aa9b6; font-size: 13px; }
.faq-heading .text-link { margin-top: 8px; font-size: 13px; }
.faq-list { border-top: 1px solid #33404b; }
.faq-list details { border-bottom: 1px solid #2b3641; }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; padding: 22px 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 17px; height: 17px; color: #c3ced7; transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); color: var(--cyan); }
.faq-answer { padding: 0 37px 23px 0; color: #a3b1be; font-size: 13px; line-height: 1.85; }
.faq-answer strong { color: #d9e1e7; font-weight: 600; }

/* Last move */
.download-section { padding-block: 0 70px; }
.download-card { text-align: center; padding: 56px 24px 43px; border: 1px solid #363844; border-radius: 18px; background: radial-gradient(ellipse at 20% 50%,#491d3028,transparent 65%),radial-gradient(ellipse at 100% 10%,#193a442f,transparent 65%),#10161f; position: relative; overflow: hidden; isolation: isolate; }
.download-icon { margin-inline: auto; border-radius: 15px; margin-bottom: 21px; box-shadow: 0 7px 20px #0005; }
.download-card .eyebrow { justify-content: center; font-size: 9px; }
.download-card h2 { margin-top: 22px; font-size: clamp(49px,5.3vw,76px); font-weight: 850; line-height: .99; letter-spacing: -.06em; }
.download-copy { color: #b0bdc9; font-size: 15px; margin-top: 19px; }
.download-card .store-buttons { justify-content: center; margin-top: 26px; }
.download-orbit { position: absolute; width: 580px; height: 580px; border: 1px solid #ff6b740f; border-radius: 50%; top: 70px; left: -345px; z-index: -1; }
.download-orbit::before, .download-orbit::after { position: absolute; content: ""; border: 1px solid #ff6b740e; border-radius: 50%; inset: -60px; }
.download-orbit::after { inset: -120px; }
.download-orbit-two { left: auto; right: -280px; top: -270px; border-color: #4accdb16; }
.download-orbit-two::before, .download-orbit-two::after { border-color: #4accdb0d; }
.share-game { border: 0; background: none; font-size: 11px; color: #abb8c3; padding: 14px; margin-top: 15px; gap: 8px; }
.share-game .icon { width: 14px; height: 14px; }
.site-footer { padding-bottom: 26px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 7px 0 29px; border-bottom: 1px solid var(--line); }
.footer-top .brand { font-size: 16px; }
.footer-top p { color: #8496a5; font-size: 12px; }
.footer-top .text-link { font-size: 11px; text-decoration: none; }
.footer-top .icon { width: 15px; height: 15px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: 9px; color: #91a0ac; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { padding-block: 9px; }
.footer-bottom a:hover { color: var(--text); }
.mobile-download { display: none; }

/* Native dialogs + feedback. The core page works without JS. */
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%,25px); background: #1c3440; border: 1px solid #52717c; padding: 13px 22px; z-index: 80; font-size: 13px; border-radius: 8px; box-shadow: 0 15px 40px #0006; opacity: 0; visibility: hidden; transition: opacity .2s,transform .2s,visibility .2s; max-width: min(90%,440px); text-align: center; pointer-events: none; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }
dialog { background: #101923; color: var(--text); border: 1px solid #485969; border-radius: 14px; padding: 18px; box-shadow: 0 35px 100px #000a; max-height: calc(100dvh - 40px); }
dialog::backdrop { background: #03080ddb; backdrop-filter: blur(9px); }
.screenshot-dialog { width: min(420px,calc(100vw - 30px)); }
.dialog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; color: #abbac7; }
.screenshot-dialog > img { display: block; width: auto; height: min(56dvh, 475px); max-width: 100%; object-fit: contain; margin-inline: auto; border-radius: 6px; }
.dialog-caption { display: flex; align-items: center; justify-content: space-between; gap: 13px; font-size: 13px; margin-top: 17px; }
.dialog-caption p { text-align: center; }
.rotate-arrow { transform: rotate(180deg); }
.share-dialog { width: min(470px,calc(100vw - 30px)); padding: 32px; }
.share-dialog > .dialog-close { float: right; margin: -16px -16px 10px 15px; }
.share-dialog h2 { font-size: 26px; margin: 15px 0; }
.share-dialog > p { color: #adbac7; font-size: 14px; }
.share-dialog label { display: block; margin: 24px 0 7px; font-size: 12px; }
.share-dialog input { width: 100%; background: #070c12; border: 1px solid #4b5d6f; border-radius: 5px; color: #d9eaf2; font-size: 13px; padding: 13px; }
.share-dialog .share-note { font-size: 11px; margin-top: 15px; }

@media (min-width: 1600px) { :root { --container: 1320px; } h1 { font-size: 81px; } .hero-layout { min-height: 735px; gap: 60px; } .hero-visual { max-width: 525px; } }
@media (max-width: 1190px) {
  :root { --gutter: 34px; }
  .hero-layout { gap: 28px; grid-template-columns: 1.15fr 1fr; }
  h1 { font-size: 5.18vw; }
  .hero-description { font-size: 15px; }
  .hero-features { font-size: 9px; gap: 9px 11px; }
  .store-button { gap: 11px; padding: 10px 12px; }
  .store-arrow { margin-left: 1px; }
  .store-button strong { font-size: 17px; }
  .store-icon { width: 23px; }
  .step-card { padding-inline: 22px; }
  .step-card h3 { font-size: 17px; }
  .step-card p { font-size: 12px; }
  .mode-card { padding-inline: 26px; }
  .mode-art { width: 56%; right: -20px; }
  .rivalry-layout { gap: 45px; }
  .faq-layout { gap: 50px; }
}
@media (max-width: 959px) {
  :root { --header-height: 76px; --gutter: 28px; }
  .main-nav { gap: 21px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 25px; padding-block: 48px 35px; min-height: 590px; }
  h1 { font-size: 5vw; }
  .hero-copy .eyebrow { font-size: 9px; margin-bottom: 21px; }
  .hero-description { font-size: 14px; }
  .desktop-break { display: none; }
  .hero-store-buttons { gap: 8px; }
  .hero-store-buttons .store-button { gap: 8px; padding: 10px; min-height: 57px; }
  .hero-store-buttons .store-arrow { display: none; }
  .store-button small { font-size: 7px; }
  .hero-subline { flex-wrap: wrap; gap: 7px 15px; font-size: 10px; }
  .hero-features { margin-top: 23px; }
  .hero-features span { font-size: 9px; }
  .arena-topline { padding-inline: 15px; font-size: 9px; }
  .preview-badge { font-size: 6px; }
  .arena { margin-inline: 10px; }
  .arena-controls { padding: 12px; gap: 6px; }
  .sketch-button { font-size: 10px; gap: 5px; }
  .icon-button { min-width: 38px; min-height: 40px; padding: 8px; }
  .section-space { padding-block: 75px; }
  .section-intro { font-size: 13px; }
  .step-card { padding-inline: 17px; }
  .step-card p br { display: none; }
  .step-card h3 { font-size: 16px; }
  .modes-section { padding-top: 0; }
  .mode-card { padding-inline: 23px; min-height: 419px; }
  .mode-card h3 { font-size: 51px; }
  .mode-art { width: 54%; right: -12px; opacity: .68; }
  .mode-card p { font-size: 12px; }
  .mode-kicker { font-size: 8px; }
  .mode-bottom { padding-inline: 22px; font-size: 7px; }
  .rivalry-layout { gap: 28px; }
  .rivalry-copy { font-size: 12px; }
  .chat-bubble { min-width: 200px; padding: 13px 15px; }
  .chat-bubble p { font-size: 14px; }
  .screen-image-stage { height: 305px; }
  .screen-caption { gap: 8px; }
  .screen-caption h3 { font-size: 14px; }
  .screen-caption p { font-size: 11px; }
  .faq-heading h2 { font-size: 31px; }
  .faq-layout { gap: 30px; grid-template-columns: .9fr 1.2fr; }
  .faq-list summary { font-size: 13px; }
  .footer-bottom { flex-wrap: wrap; gap: 9px; }
}
@media (max-width: 740px) {
  :root { --gutter: 23px; --header-height: 70px; }
  .brand { font-size: 18px; }
  .brand img { width: 35px; height: 35px; }
  .menu-toggle:not([hidden]) { display: flex; }
  body:not(.js-ready) .site-header { height: auto; position: relative; }
  body:not(.js-ready) .header-inner { flex-wrap: wrap; padding-block: 14px; }
  body:not(.js-ready) .main-nav { flex-wrap: wrap; gap: 10px 20px; }
  body.js-ready .main-nav { display: none; position: absolute; top: calc(var(--header-height) - 1px); left: 0; right: 0; background: #0e1620; padding: 19px var(--gutter) 25px; box-shadow: 0 24px 28px #0007; border-bottom: 1px solid #44515e; align-items: stretch; flex-direction: column; gap: 8px; }
  body.js-ready .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { font-size: 15px; padding: 12px 0; }
  .header-cta { margin: 8px 0 0; width: max-content; }
  .hero-layout { grid-template-columns: minmax(0,1fr); padding-block: 48px 34px; gap: 30px; }
  .hero-copy { padding-bottom: 0; }
  .hero-copy .eyebrow { margin-bottom: 21px; font-size: 9px; }
  h1 { font-size: clamp(34px,10.1vw,68px); letter-spacing: -.067em; line-height: 1.03; }
  .hero-description { max-width: 460px; font-size: 15px; margin-top: 21px; line-height: 1.8; }
  .hero-store-buttons { margin-top: 25px; gap: 10px; }
  .hero-store-buttons .store-button { padding: 11px 14px; gap: 12px; min-height: 62px; }
  .store-button strong { font-size: 18px; }
  .store-button small { font-size: 7px; }
  .hero-subline { font-size: 10px; margin-top: 15px; }
  .hero-features { margin-top: 21px; gap: 7px 12px; }
  .hero-features span { font-size: 8px; }
  .hero-visual { max-width: 460px; margin: 9px auto 0; }
  .arena-overline { font-size: 8px; }
  .arena-topline { padding: 17px 17px 7px; }
  .preview-badge { font-size: 6px; }
  .arena { margin-inline: 14px; }
  .arena-controls { padding: 13px; }
  .sketch-button { font-size: 11px; min-height: 42px; }
  .icon-button { min-width: 42px; min-height: 42px; }
  .arena-tag { font-size: 8px; }
  .arena-footnote { font-size: 9px; }
  .hero-bottom { padding-block: 19px; font-size: 7px; letter-spacing: .07em; gap: 10px; }
  .hero-bottom a { width: 26px; height: 26px; flex-shrink: 0; }
  .hero-bottom span { max-width: 130px; }
  .hero-bottom span:last-child { text-align: right; }
  .section-space { padding-block: 62px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading .eyebrow { margin-bottom: 19px; }
  h2 { font-size: clamp(29px,6.4vw,40px); }
  .section-intro { margin-top: 18px; font-size: 13px; }
  .section-intro br { display: none; }
  .eyebrow { font-size: 9px; }
  .steps-grid { grid-template-columns: minmax(0,1fr); }
  .step-card { padding: 24px; display: grid; grid-template-columns: 1fr 105px; column-gap: 16px; }
  .step-card:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .step-top { grid-column: 1 / -1; margin-bottom: 16px; }
  .step-illustration { grid-column: 2; grid-row: 2 / span 2; height: 90px; margin: 0; width: 105px; align-self: center; }
  .step-illustration svg { overflow: visible; }
  .step-card h3 { grid-column: 1; grid-row: 2; font-size: 17px; margin-bottom: 9px; align-self: end; }
  .step-card p { grid-column: 1; grid-row: 3; font-size: 12px; }
  .modes-section { padding-top: 0; }
  .modes-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .mode-card { min-height: 415px; padding: 28px 26px 61px; }
  .mode-card h3 { font-size: 57px; }
  .mode-card p { font-size: 13px; }
  .mode-kicker { font-size: 8px; }
  .mode-art { opacity: .88; width: 58%; right: -16px; }
  .mode-bottom { padding-inline: 26px; font-size: 8px; }
  .async-note { align-items: flex-start; justify-content: flex-start; font-size: 11px; margin-top: 18px; }
  .async-note .icon { margin-top: 2px; }
  .rivalry-layout { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .rivalry-layout h2 { font-size: clamp(42px,10vw,64px); }
  .rivalry-copy { font-size: 13px; line-height: 1.8; }
  .rivalry-copy br { display: none; }
  .chat-scene { max-width: 445px; width: 100%; padding: 0; margin: 0 auto; }
  .chat-bubble { min-width: 218px; padding: 14px 17px; }
  .chat-bubble p { font-size: 15px; }
  .chat-heading { font-size: 8px; }
  .screens-grid { gap: 12px; }
  .screen-image-stage { height: 242px; border-radius: 9px; padding-inline: 11px; }
  .screenshot-trigger img { width: 97px; }
  .screen-caption { gap: 0; padding-top: 14px; }
  .screen-caption > span { display: none; }
  .screen-caption h3 { font-size: 12px; }
  .screen-caption p { font-size: 10px; line-height: 1.6; }
  .zoom-hint { width: 23px; height: 23px; bottom: 10px; right: -8px; }
  .faq-section { padding-top: 0; }
  .faq-layout { grid-template-columns: minmax(0,1fr); gap: 31px; }
  .faq-heading h2 { font-size: 32px; }
  .faq-heading > p:not(.eyebrow) { margin-top: 21px; }
  .faq-list summary { font-size: 13px; padding-block: 20px; }
  .faq-answer { font-size: 12px; line-height: 1.85; padding-right: 23px; }
  .download-section { padding-bottom: 43px; }
  .download-card { padding: 38px 14px 25px; }
  .download-icon { width: 59px; height: 59px; }
  .download-card .eyebrow { font-size: 7px; letter-spacing: .1em; }
  .download-card h2 { font-size: clamp(42px,10vw,67px); }
  .download-copy { font-size: 12px; }
  .download-card .store-buttons { gap: 9px; }
  .download-card .store-button { gap: 9px; padding: 10px; min-height: 59px; }
  .download-card .store-arrow { display: none; }
  .download-card .store-button strong { font-size: 17px; }
  .download-card .store-icon { width: 21px; }
  .share-game { font-size: 10px; }
  .site-footer { padding-bottom: 109px; }
  .footer-top { flex-wrap: wrap; gap: 20px; padding-bottom: 23px; }
  .footer-top p { display: none; }
  .footer-top .brand { font-size: 15px; }
  .footer-top .brand img { width: 30px; height: 30px; }
  .footer-bottom { gap: 10px; font-size: 9px; padding-top: 20px; }
  .footer-bottom nav { gap: 20px; }
  .mobile-download { position: fixed; z-index: 28; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 9px; background: #0c141ded; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid #354351; padding: 11px 17px calc(11px + env(safe-area-inset-bottom,0px)); transition: transform .25s; }
  .mobile-download.is-hidden { transform: translateY(115%); pointer-events: none; visibility: hidden; }
  .mobile-download img { border-radius: 10px; width: 35px; height: 35px; }
  .mobile-download > span { flex: 1; min-width: 0; }
  .mobile-download strong { display: block; font-size: 10px; line-height: 1.4; font-weight: 800; letter-spacing: -.02em; }
  .mobile-download small { display: block; color: #92a4b3; font-size: 8px; line-height: 1.7; }
  .mobile-download .button { font-size: 11px; gap: 9px; padding-inline: 13px; }
  .mobile-download .icon { width: 15px; }
  .toast { bottom: 89px; font-size: 12px; }
}
@media (max-width: 400px) {
  :root { --gutter: 19px; }
  .hero-layout { padding-top: 37px; }
  h1 { font-size: 10.1vw; }
  .hero-description { font-size: 14px; }
  .hero-store-buttons .store-button { gap: 8px; padding: 10px 11px; }
  .hero-store-buttons .store-button strong { font-size: 17px; }
  .hero-features { column-gap: 10px; }
  .hero-features span { font-size: 7px; }
  .step-card { grid-template-columns: 1fr 83px; column-gap: 8px; padding: 22px 20px; }
  .step-illustration { width: 83px; }
  .step-card h3 { font-size: 16px; }
  .step-card p { font-size: 11px; }
  .mode-art { right: -24px; opacity: .75; }
  .screen-image-stage { height: 207px; padding-inline: 8px; }
  .screenshot-trigger img { width: 81px; }
  .screens-grid { gap: 8px; }
  .screen-caption h3 { font-size: 11px; }
  .screen-caption p { font-size: 9px; }
  .download-card .store-button { padding: 9px; gap: 8px; }
  .download-card .store-button strong { font-size: 15px; }
  .download-card .store-button small { font-size: 6px; }
  .download-card .store-icon { width: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header { position: static; }
  .hero-layout { padding-top: 20px; }
  .hero-visual { max-width: 380px; }
  .mobile-download, .menu-toggle, .arena-controls, .share-game { display: none !important; }
  .section-space { padding-block: 30px; }
  .site-footer { padding-bottom: 0; }
  details .faq-answer { display: block !important; }
  .mode-card, .step-card, .screen-card { break-inside: avoid; }
}
