@font-face { font-family: "DM Serif Display"; src: url("/assets/fonts/DMSerifDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("/assets/fonts/DMSerifDisplay-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/Roboto-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/Roboto-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/Roboto-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #16171C;
  --surface: #202129;
  --raised: #2A2B36;
  --mat: #121318;
  --dot: #2E2F3C;
  --line: #34354A;
  --text: #EDECF4;
  --text-2: #A7A6B8;
  --text-3: #8D8CA5;
  --accent: #4FE38A;
  --on-accent: #07230F;
  --paper: #F3EBDD;
  --paper-2: #E7DDCB;
  --ink: #1F1C18;
  --ink-2: #5C554B;
  --vermilion: #C8432A;
  --sol: #E2683C;
  --mem: #6A4FD8;
  --hl: #FFCA2E;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Roboto", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --g: clamp(16px, 1.7vw, 28px);
  --top: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.04; }
h2 { font-size: clamp(38px, 4.4vw, 68px); }
em { font-style: italic; }
[id] { scroll-margin-top: calc(var(--top) + 16px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: 8px; font-weight: 500; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer; background: none; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .apple { width: 15px; height: 18px; margin-top: -2px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: #69EBA0; }
.btn-quiet { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-quiet:hover { border-color: var(--text-3); background: var(--raised); }

.slot { display: flex; align-items: center; justify-content: center; }
.pc { display: block; width: 100%; height: 100%; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .42)); }
.phone { position: relative; border-radius: 13% / 6%; padding: 2.4%; background: #050507; box-shadow: 0 0 0 1px #3A3B4A, 0 28px 60px rgba(0, 0, 0, .5); }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 1206 / 2622; border-radius: 11% / 5.1%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.top { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: var(--top); padding: 0 var(--g); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-stuck { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-family: var(--serif); font-size: 21px; text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 2px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.nav a { padding: 7px 16px; border-radius: 999px; font-size: 15px; color: var(--text-2); text-decoration: none; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--raised); }
.nav a[aria-current="page"] { color: var(--text); background: var(--raised); }
.nav .nav-cta { display: none; }
.top-cta { justify-self: end; min-height: 40px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; }

.hero { display: grid; grid-template-columns: minmax(340px, 28%) minmax(0, 1fr); gap: var(--g); padding: 8px var(--g) var(--g); }
.rail { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: calc(100vh - var(--top) - 24px); padding: 20px 8px 0 4px; }
.rail h1 { font-size: clamp(46px, 4.7vw, 84px); }
.rail h1 em { display: block; color: var(--accent); }
.rail-lead { margin-top: 24px; font-size: clamp(17px, 1.3vw, 20px); color: var(--text-2); max-width: 30em; }
.rail-lead strong { font-weight: 500; color: var(--text); }
.rail-sub { margin-top: 12px; font-size: clamp(17px, 1.3vw, 20px); color: var(--text-2); max-width: 30em; }
.rail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tryit { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.tryit-title { font-size: 14px; font-weight: 500; color: var(--text-2); margin-bottom: 12px; }
.tryit-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.tryit-row + .tryit-row { margin-top: 10px; }
.suit-btn { display: grid; place-items: center; width: 100%; aspect-ratio: 1; min-width: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); color: var(--text); cursor: pointer; transition: transform .15s var(--ease), background-color .15s, border-color .15s; }
.suit-btn svg { width: 58%; height: 58%; }
.suit-btn:hover { border-color: var(--text-3); }
.suit-btn[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ink-btn { position: relative; width: 100%; aspect-ratio: 1; min-width: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.ink-btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); transition: transform .15s var(--ease); }
.ink-btn:hover::before { transform: scale(1.1); }
.ink-btn[aria-pressed="true"]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 35px; height: 35px; margin: -17.5px 0 0 -17.5px; border-radius: 50%; border: 2px solid var(--text); }

.showcase { position: relative; min-width: 0; overflow: hidden; container-type: size; min-height: calc(100vh - var(--top) - 8px - var(--g)); border: 1px dashed var(--line); border-radius: 22px; background-color: var(--mat); background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 16px 16px; }
.showcase > * { --pw: min(37cqw, 50cqh); --cw: min(30cqw, 41cqh); position: absolute; }
.show-phone { left: 50%; top: 6cqh; width: var(--pw); z-index: 2; transform: translateX(-50%); }
.show-card { width: var(--cw); aspect-ratio: 63 / 88; }
.show-card .slot { width: 100%; height: 100%; }
.show-ace { top: 26cqh; left: calc(50% - var(--pw) / 2 - var(--cw) * .82); z-index: 1; transform: rotate(-8deg); animation: deal-left .7s var(--ease) both; }
.show-back { top: 20cqh; left: calc(50% + var(--pw) / 2 - var(--cw) * .18); z-index: 1; transform: rotate(8deg); animation: deal-right .7s var(--ease) both; }
@keyframes deal-left { from { opacity: 0; transform: translateX(32%) rotate(0deg); } }
@keyframes deal-right { from { opacity: 0; transform: translateX(-32%) rotate(0deg); } }
.slot-sheet .sheet { width: auto; height: 100%; max-width: 100%; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .5)); }
.flip { animation: flip .55s var(--ease); }
@keyframes flip { 0% { transform: rotateY(0) scale(1); } 48% { transform: rotateY(88deg) scale(.96); } 52% { transform: rotateY(-88deg) scale(.96); } 100% { transform: rotateY(0) scale(1); } }




.bench-wrap { padding: clamp(64px, 8vw, 120px) var(--g) clamp(48px, 6vw, 96px); background: #000; }
.bench-head { max-width: 1100px; margin-bottom: 36px; }
.bench-head p { margin-top: 16px; max-width: 46em; color: var(--text-2); font-size: 18px; }
.bench { display: grid; grid-template-columns: minmax(240px, 22%) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.tools { display: flex; flex-direction: column; gap: 2px; }
.tool { display: block; width: 100%; padding: 13px 16px; border: 0; border-bottom: 1px solid #26272F; border-radius: 0; background: none; color: var(--text); text-align: left; cursor: pointer; transition: background-color .2s, color .2s; }
.tool:hover .tool-name { color: var(--accent); }
.tool-name { display: block; font-family: var(--serif); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.15; transition: color .15s; }
.tool-desc { display: none; margin-top: 6px; font-size: 15px; line-height: 1.45; }
.tool[aria-selected="true"] { background: var(--paper); color: var(--ink); border-radius: 12px; border-bottom-color: transparent; }
.tool[aria-selected="true"]:hover .tool-name { color: var(--ink); }
.tool[aria-selected="true"] .tool-desc { display: block; }
.panel { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 640px; padding: 20px; border-radius: 22px; background-color: var(--accent); background-image: radial-gradient(rgba(7, 35, 15, .28) 1.1px, transparent 1.5px); background-size: 18px 18px; overflow: hidden; }
.stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.stage-card { position: absolute; top: 50%; left: 50%; width: min(29%, 300px); aspect-ratio: 63 / 88; transform: translate(-50%, -50%) translateX(var(--x, 0)) rotate(var(--r, 0deg)) scale(var(--s, 1)); transition: transform .45s var(--ease); }
.stage-card.is-focus { z-index: 2; }
.stage-card.is-side { filter: saturate(.95); }
.stage-single { width: min(33%, 320px); }
.controls { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 18px; background: var(--bg); }
.scope { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.scope[hidden] { display: none; }
.scope-label { margin-right: 8px; font-size: 14px; color: var(--text-2); }
.scope button, .chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 15px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.scope button:hover, .chip:hover { border-color: var(--text-3); }
.scope button[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.scope .scope-reset { margin-left: auto; background: none; color: var(--text-2); border-color: transparent; }
.scope .scope-reset:hover { color: var(--text); border-color: var(--line); }
.opts { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.opt-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.opt-label { font-size: 13px; color: var(--text-2); }
.opt-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-swatch { position: relative; width: 40px; padding: 0; background: var(--swatch) !important; }
.chip-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.chip-icon { display: grid; place-items: center; width: 44px; padding: 0; }
.chip-icon svg { width: 22px; height: 22px; }
.tool-desc-m { display: none; }

.court-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; padding: clamp(64px, 8vw, 120px) var(--g); }
.court-view { min-width: 0; }
.court-mat { display: grid; place-items: center; aspect-ratio: 1 / 1.02; max-height: 760px; width: 100%; padding: 6%; border-radius: 22px; background-color: var(--mat); background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 16px 16px; border: 1px dashed var(--line); }
.court-mat .slot { height: 100%; aspect-ratio: 63 / 88; max-width: 100%; }
.court-styles { margin-top: 12px; justify-content: center; }
.court-copy h2 { max-width: 11em; }
.court-list { margin-top: 32px; display: grid; gap: 24px; }
.court-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
.court-list svg { width: 30px; height: 30px; color: var(--accent); }
.court-list h3 { font-size: 19px; font-weight: 500; line-height: 1.3; }
.court-list p { margin-top: 4px; color: var(--text-2); }
.court-note { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-3); }

.loop { position: relative; height: 320vh; background: var(--paper); color: var(--ink); }
.loop-stick { position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow: hidden; display: block; }
.step { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 60%) minmax(0, 40%); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.step.is-on { opacity: 1; visibility: visible; }
.step-left { position: relative; overflow: hidden; }
.word { position: absolute; left: var(--g); top: 2vh; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(120px, 15.2vw, 300px); line-height: .95; letter-spacing: -.02em; white-space: nowrap; }
.step-visual { position: absolute; left: 0; right: 0; top: 24%; bottom: 0; }
.step-visual .phone { position: absolute; left: 26%; top: 8%; width: clamp(240px, 24%, 340px); transform: rotate(-7deg); transition: transform .7s var(--ease); }
.step-card { position: absolute; left: 53%; top: 24%; width: clamp(170px, 19%, 290px); aspect-ratio: 63 / 88; transform: rotate(10deg); transition: transform .7s var(--ease); }
.step:not(.is-on) .phone { transform: rotate(-3deg) translateY(40px); }
.step:not(.is-on) .step-card { transform: rotate(16deg) translateY(70px); }
.step-right { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(24px, 4vw, 72px) 110px; border-left: 1px solid rgba(31, 28, 24, .22); }
.step-n { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.step-lead { margin-top: 12px; font-family: var(--serif); font-size: clamp(30px, 3.1vw, 52px); line-height: 1.08; }
.step-body { margin-top: 18px; font-size: 18px; color: #3B362E; max-width: 32em; }
.ruler { position: absolute; left: 60%; right: 0; bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; height: 44px; padding: 0 clamp(24px, 4vw, 72px); }
.ruler i { display: block; width: 2px; height: 16px; background: rgba(31, 28, 24, .28); transition: background-color .2s; }
.ruler i.is-major { height: 38px; }
.ruler i.is-on { background: var(--ink); }

.outs { padding: clamp(64px, 8vw, 120px) var(--g); }
.outs h2 { max-width: 15em; margin: 0 auto 44px; text-align: center; }
.outs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px); max-width: 1500px; margin: 0 auto; }
.out { min-width: 0; }
.out-mat { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 16 / 10.4; overflow: hidden; padding: 20px; border-radius: 16px; background-color: var(--surface); background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 16px 16px; }
.out h3 { margin-top: 16px; font-size: 21px; font-weight: 500; line-height: 1.25; }
.out p { margin-top: 6px; color: var(--text-2); font-size: 16px; }
.out-mat p.file-meta { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.out-mat .slot-sheet { height: 100%; width: 100%; }
.mini-fan { position: relative; width: 62%; height: 92%; }
.mini-fan > div { position: absolute; left: 50%; top: 50%; height: 100%; aspect-ratio: 63 / 88; transform: translate(-50%, -50%) translateX(var(--x)) rotate(var(--r)); }
.wall-phone { position: absolute; left: 50%; top: 11%; width: 31%; aspect-ratio: 1206 / 2622; transform: translateX(-50%); border-radius: 13% / 6%; overflow: hidden; background: #050507; box-shadow: 0 0 0 4px #050507, 0 0 0 5px #3A3B4A, 0 18px 40px rgba(0, 0, 0, .5); }
.wall-phone .wp-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.wall-phone .wp-bg .pc { width: 100%; height: 100%; flex: none; filter: none; }
.wall-phone .wp-clock { position: absolute; left: 0; right: 0; top: 9%; text-align: center; font-weight: 500; font-size: clamp(24px, 2.6vw, 42px); line-height: 1; color: #FFFDF7; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.file-chip { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 14px 18px; border-radius: 14px; background: var(--paper); color: var(--ink); font-weight: 500; font-size: 16px; box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
.file-chip svg { width: 24px; height: 30px; flex: none; }
.file-chip span { min-width: 0; overflow-wrap: anywhere; }
.theme-card { position: relative; width: min(92%, 360px); padding: 16px 18px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); display: grid; gap: 2px; }
.theme-over { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--text-2); }
.theme-text { font-size: 19px; line-height: 1.3; }
.theme-stamp { justify-self: end; margin-top: 6px; padding: 2px 10px; border: 2px solid var(--accent); border-radius: 6px; color: var(--accent); font-family: var(--serif); font-size: 18px; transform: rotate(-6deg); }
.off-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(92%, 400px); }
.off-list li { padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); text-align: center; font-size: 15px; line-height: 1.25; }

.play { padding: clamp(64px, 8vw, 120px) var(--g); background: #0F2A1A; }
.play-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 36px; }
.play-head p { max-width: 32em; color: #C8DACE; font-size: 18px; }
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.plate { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 18px 22px 24px; border-radius: 20px; text-align: center; }
.plate-tag { align-self: flex-start; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.plate h3 { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 46px); line-height: 1.05; }
.plate img { width: min(72%, 320px); margin: 10px 0; }
.plate p { margin-top: auto; font-size: 16px; line-height: 1.4; max-width: 24em; }
.plate-sol { background: var(--sol); color: #16171C; }
.plate-sol .plate-tag { background: #16171C; color: #fff; }
.plate-mem { background: var(--mem); color: #fff; }
.plate-mem .plate-tag { background: #fff; color: #16171C; }
.plate-hl { background: var(--hl); color: #16171C; }
.plate-hl .plate-tag { background: #16171C; color: #fff; }

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 96px); padding: clamp(64px, 8vw, 120px) var(--g); max-width: 1500px; margin: 0 auto; }
.faq-side p { margin-top: 12px; color: var(--text-2); }
.faq-side a { color: var(--accent); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; display: block; padding: 20px 44px 20px 0; font-size: 19px; font-weight: 500; line-height: 1.35; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary i { position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; transition: transform .25s var(--ease); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: currentColor; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 22px 0; color: var(--text-2); }

.contact { padding: clamp(64px, 8vw, 120px) var(--g); background: var(--paper); color: var(--ink); }
.contact h2 { max-width: 19em; font-size: clamp(36px, 4.4vw, 68px); }
.contact h2 em { color: #7A3A1E; }
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(36px, 5vw, 72px); }
.contact-fields { min-width: 0; }
.field { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; min-height: 72px; border-bottom: 1px solid var(--ink); cursor: text; }
.field span { font-size: 16px; }
.field input, .field select { width: 100%; height: 56px; padding: 0 8px; border: 0; background: none; font-size: 17px; border-radius: 0; }
.field select { cursor: pointer; }
.field input:focus, .field select:focus { outline: none; }
.field:focus-within { border-bottom-width: 2px; }
.contact-direct { margin-top: 22px; font-size: 16px; color: var(--ink-2); }
.contact-direct a { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.contact-msg { min-width: 0; }
.box { display: block; padding: 14px 16px; border: 1px solid var(--ink); border-radius: 16px; }
.box span { display: block; font-size: 16px; }
.box textarea { display: block; width: 100%; min-height: 200px; margin-top: 8px; padding: 0; border: 0; background: none; resize: vertical; font-size: 17px; }
.box textarea:focus { outline: none; }
.box:focus-within { box-shadow: 0 0 0 1px var(--ink); }
.contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.contact .btn-accent { background: var(--ink); color: var(--paper); }
.contact .btn-accent:hover { background: #38322A; }
.form-status { font-size: 15px; color: var(--ink-2); }

.foot { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px clamp(20px, 3vw, 48px); padding: clamp(48px, 5vw, 72px) var(--g) 28px; background: #101115; }
.foot-brand img { width: 44px; height: 44px; border-radius: 11px; }
.foot-brand p { margin-top: 14px; max-width: 22em; color: var(--text-2); font-size: 16px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.foot-col h2 { align-self: stretch; margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font: 400 14px/1.3 var(--sans); letter-spacing: 0; color: var(--text-3); }
.foot-col a { color: var(--text); text-decoration: none; font-size: 16px; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--accent); }
.foot-copy { grid-column: 1 / -1; padding-top: 12px; font-size: 14px; color: var(--text-3); }

.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; }

.help-top { padding: clamp(40px, 5vw, 72px) var(--g) 28px; border-bottom: 1px solid var(--line); }
.help-top h1 { font-size: clamp(40px, 4.6vw, 72px); }
.help-search { position: relative; margin-top: 24px; max-width: 1500px; }
.help-search input { width: 100%; height: 56px; padding: 0 20px 0 52px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 17px; }
.help-search input::placeholder { color: var(--text-3); }
.help-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.help-search svg { position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; color: var(--text-3); pointer-events: none; }
.help-body { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding: 32px var(--g) clamp(56px, 7vw, 96px); max-width: 1560px; margin: 0 auto; }
.help-side h2, .help-main > h2 { font: 500 22px/1.25 var(--sans); letter-spacing: 0; }
.help-topics { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; position: sticky; top: calc(var(--top) + 16px); }
.help-topic { display: block; width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: 10px; background: none; color: var(--text); text-align: left; font-size: 16px; font-weight: 500; line-height: 1.3; cursor: pointer; }
.help-topic:hover { background: var(--surface); }
.help-topic[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.help-main { min-width: 0; }
.help-count { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; align-items: start; }
.tip { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tip[hidden] { display: none; }
.tip summary { display: block; padding: 16px 18px; cursor: pointer; list-style: none; }
.tip summary::-webkit-details-marker { display: none; }
.tip summary:hover b { color: var(--accent); }
.tip summary b { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; }
.tip summary span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--text-2); }
.tip[open] { background: var(--raised); }
.tip ol, .tip .tip-body { margin: 0; padding: 0 18px 18px 18px; font-size: 16px; color: var(--text); }
.tip ol { padding-left: 38px; }
.tip li + li { margin-top: 6px; }
.help-empty { margin-top: 18px; padding: 22px; border: 1px dashed var(--line); border-radius: 12px; color: var(--text-2); }
.help-empty a, .help-more a { color: var(--accent); }
.help-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; margin-top: 32px; padding: 22px 24px; border-radius: 16px; background: var(--paper); color: var(--ink); }
.help-more h2 { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.help-more p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }
.help-more a.btn { background: var(--ink); color: var(--paper); }
.help-more a.btn:hover { background: #38322A; }

.legal { max-width: 760px; margin: 0 auto; padding: clamp(44px, 6vw, 84px) var(--g) clamp(56px, 7vw, 96px); }
.legal h1 { font-size: clamp(46px, 6vw, 84px); }
.legal-updated { margin-top: 14px; color: var(--text-3); font-size: 15px; }
.legal-tabs { position: sticky; top: var(--top); z-index: 10; display: flex; gap: 22px; margin-top: 30px; overflow-x: auto; scrollbar-width: none; background: var(--bg); border-bottom: 1px solid var(--line); }
.legal-tabs::-webkit-scrollbar { display: none; }
.legal .legal-tabs a { flex: none; padding: 12px 0; font-size: 15px; color: var(--text-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.legal .legal-tabs a:hover { color: var(--text); }
.legal .legal-tabs a.is-on { color: var(--text); border-bottom-color: var(--accent); }
.legal-lead { margin-top: 32px; font-family: var(--serif); font-size: clamp(25px, 2.4vw, 32px); line-height: 1.22; }
.legal section { margin-top: 44px; }
.legal section[id] { scroll-margin-top: calc(var(--top) + 68px); }
.legal section h2 { font: 500 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.legal section h3 { margin-top: 20px; font-size: 18px; font-weight: 500; line-height: 1.3; }
.legal section p { margin-top: 12px; color: #CFCEDA; }
.legal section h3 + p { margin-top: 4px; }
.legal section ul { margin-top: 12px; display: grid; gap: 8px; }
.legal section li { position: relative; padding-left: 18px; color: #CFCEDA; }
.legal section li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.legal a { color: var(--accent); overflow-wrap: anywhere; }

.nf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; min-height: calc(100vh - var(--top) - 200px); padding: 48px var(--g); max-width: 1100px; margin: 0 auto; }
.nf h1 { font-size: clamp(42px, 5vw, 72px); }
.nf p { margin: 16px 0 24px; color: var(--text-2); }
.nf .slot { max-width: 320px; aspect-ratio: 63 / 88; margin: 0 auto; width: 100%; }

@media (max-width: 1240px) {
  .nav a { padding: 7px 12px; }
  .brand span { font-size: 19px; }
  .panel { min-height: 600px; }
}

@media (max-width: 960px) {
  body { font-size: 16px; }
  :root { --top: 62px; }
  .top { grid-template-columns: 1fr auto; }
  .top-cta { display: none; }
  .menu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
  .menu-btn i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s var(--ease), opacity .2s; }
  .menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: absolute; left: var(--g); right: var(--g); top: calc(var(--top) - 4px); flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; border-radius: 16px; background: var(--surface); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; font-size: 17px; color: var(--text); }
  .nav a[aria-current="page"] { background: var(--raised); color: var(--accent); }
  .nav .nav-cta { display: flex; justify-content: center; margin-top: 6px; background: var(--accent); color: var(--on-accent); font-weight: 500; border-radius: 999px; }
  .nav .nav-cta:hover { background: #69EBA0; color: var(--on-accent); }

  .hero { grid-template-columns: minmax(0, 1fr); }
  .rail { display: contents; }
  .rail-copy { order: 1; padding-top: 14px; }
  .showcase { order: 2; min-height: 0; aspect-ratio: 1 / 1.04; border-radius: 16px; }
  .showcase > * { --pw: min(40cqw, 46cqh); --cw: min(32cqw, 36cqh); }
  .tryit { order: 3; }
  .rail h1 { font-size: clamp(48px, 11vw, 84px); }

  .bench { grid-template-columns: minmax(0, 1fr); }
  .tools { flex-direction: row; gap: 6px; overflow-x: auto; margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 2px; scrollbar-width: none; }
  .tools::-webkit-scrollbar { display: none; }
  .tool { flex: none; width: auto; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; min-height: 44px; }
  .tool-name { font-family: var(--sans); font-size: 15px; font-weight: 500; }
  .tool[aria-selected="true"] { border-radius: 999px; border-color: var(--paper); }
  .tool[aria-selected="true"] .tool-desc { display: none; }
  .tool-desc-m { display: block; margin: 0 0 4px; color: var(--text-2); font-size: 16px; }
  .panel { min-height: 0; padding: 12px; border-radius: 18px; }
  .stage { min-height: 76vw; max-height: 560px; }
  .stage-card { width: 40%; }
  .stage-single { width: 50%; }
  .controls { padding: 12px; }
  .opts { gap: 12px; }

  .court-wrap { grid-template-columns: minmax(0, 1fr); }
  .court-mat { aspect-ratio: 1 / 1.14; }

  .loop { height: auto; }
  .loop-stick { position: static; height: auto; overflow: visible; }
  .step { position: static; display: block; opacity: 1; visibility: visible; padding: 44px 0 0; }
  .step + .step { border-top: 1px solid rgba(31, 28, 24, .22); }
  .step-left { overflow: hidden; height: 112vw; max-height: 720px; }
  .word { top: 0; font-size: 24vw; }
  .step-visual { top: 24vw; }
  .step-visual .phone { left: 12%; top: 3%; width: 48%; }
  .step-card { left: 53%; top: 18%; width: 36%; }
  .step:not(.is-on) .phone { transform: rotate(-7deg); }
  .step:not(.is-on) .step-card { transform: rotate(10deg); }
  .step-right { padding: 28px var(--g) 44px; border-left: 0; }
  .ruler { display: none; }

  .outs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play-head { grid-template-columns: minmax(0, 1fr); }
  .plates { grid-template-columns: minmax(0, 1fr); }
  .plate img { width: min(52%, 240px); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }

  .help-body { grid-template-columns: minmax(0, 1fr); }
  .help-side { min-width: 0; }
  .help-side h2 { display: none; }
  .help-topics { position: static; flex-direction: row; gap: 6px; margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 4px; overflow-x: auto; scrollbar-width: none; }
  .help-topics::-webkit-scrollbar { display: none; }
  .help-topic { flex: none; width: auto; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; white-space: nowrap; }
  .help-topic[aria-pressed="true"] { border-color: var(--accent); }
  .help-grid { grid-template-columns: minmax(0, 1fr); }
  .help-more { grid-template-columns: minmax(0, 1fr); }
  .help-more a.btn { justify-self: start; }

  .nf { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 621px) and (max-width: 960px) {
  .suit-btn { aspect-ratio: auto; height: 52px; }
  .suit-btn svg { width: 28px; height: 28px; }
  .ink-btn { aspect-ratio: auto; height: 44px; }
}

@media (max-width: 620px) {
  .tryit-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .suit-btn { aspect-ratio: auto; height: 48px; }
  .suit-btn svg { width: 26px; height: 26px; }
  .ink-btn { aspect-ratio: auto; height: 44px; }
  .outs-grid { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-col:last-of-type { grid-column: 1 / -1; }
  .field { grid-template-columns: 76px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
