:root { --c: #e2fbff; --m: #86aab8; --k: #02050b; --l: rgba(226,251,255,.2); --pad: 32px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--k); color: var(--c); font: 400 16px/1.4 "Jura", "Avenir Next", sans-serif; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; }
button, input { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; } button { cursor: pointer; } a { color: inherit; }
:focus-visible { outline: 1px solid var(--c); outline-offset: 5px; }
canvas { display: block; } [hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, .fname { font-weight: 300; letter-spacing: -.02em; }

.deep { position: relative; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; }
.fog, .ring { position: absolute; inset: 0; width: 100%; height: 100%; } .fog { image-rendering: pixelated; }
.brand { position: absolute; left: var(--pad); top: 30px; font-size: 22px; font-weight: 600; z-index: 3; }
#ask { position: absolute; right: var(--pad); top: 24px; display: flex; z-index: 3; width: min(380px, 40vw); border-bottom: 1px solid var(--c); }
#ask input { flex: 1; min-width: 0; height: 40px; font-size: 16px; } #ask input::placeholder { color: var(--m); opacity: 1; } #ask input:focus { outline: none; } #ask:focus-within { border-bottom-width: 2px; }
#ask button { padding: 0 4px 0 14px; font-weight: 600; } #ask button:hover { color: #fff; }
.core { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); z-index: 2; touch-action: pan-y; }
.core:focus-visible { outline-offset: -14px; outline-style: dashed; }
h1 { position: absolute; left: 50%; top: 46.5%; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; font-size: clamp(27px, 3.5vw, 54px); line-height: 1.14; pointer-events: none; z-index: 2; transition: opacity .9s; }
.go { position: absolute; left: 50%; top: calc(46.5% + clamp(54px, 6.4vw, 96px)); transform: translateX(-50%); font-size: 17px; font-weight: 600; pointer-events: none; z-index: 2; transition: opacity .6s; white-space: nowrap; }
body[data-st=play] h1, body[data-st=play] .go, body[data-st=live] h1, body[data-st=live] .go { opacity: 0; }
body[data-st=wait] .go { opacity: .6; }
.now { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .5s; }
.now.on { opacity: 1; }
.now b { display: block; font-weight: 300; font-size: clamp(48px, 6.4vw, 100px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; } .now span { font-size: 17px; }
.note { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); max-width: min(640px, 92vw); text-align: center; z-index: 3; background: var(--k); padding: 6px 12px; } .note:empty { display: none; } .note button { text-decoration: underline; text-underline-offset: 4px; font-weight: 600; padding: 4px; }
.bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 26px; display: flex; align-items: center; gap: 12px 34px; flex-wrap: wrap; z-index: 3; }
.tape { color: var(--c); min-width: 260px; }
.grp { display: flex; align-items: center; gap: 2px; } .grp span { margin-right: 8px; color: var(--m); }
.grp button { padding: 9px 12px; min-height: 42px; border-bottom: 1px solid transparent; white-space: nowrap; } .grp button:hover { border-color: var(--l); }
.grp button[aria-pressed=true] { border-color: var(--c); font-weight: 600; }
.picks { margin-left: auto; } .picks button { color: var(--m); } .picks button:hover { color: var(--c); }
.core { transition: opacity .3s; } .deep.still .brand, .deep.still #ask, .deep.still .bar { opacity: .16; } .brand, #ask, .bar { transition: opacity 1.2s; }

.head { display: flex; align-items: baseline; gap: 14px 36px; flex-wrap: wrap; padding: 96px var(--pad) 22px; }
h2 { font-size: clamp(42px, 6.4vw, 104px); line-height: 1; }
.line { font-size: 18px; color: var(--c); }
.say { padding: 14px var(--pad) 0; font-size: 18px; min-height: 40px; font-variant-numeric: tabular-nums; }
.learn canvas { width: 100%; height: min(62vh, 560px); min-height: 380px; touch-action: none; cursor: crosshair; border-top: 1px solid var(--l); border-bottom: 1px solid var(--l); }
.learn canvas:focus-visible { outline-offset: -6px; }
.sheet canvas { width: 100%; height: 440px; border-top: 1px solid var(--l); border-bottom: 1px solid var(--l); cursor: pointer; touch-action: pan-y; }
#save { margin-left: auto; border: 1px solid var(--c); padding: 13px 22px; font-weight: 600; min-height: 48px; } #save:hover { background: var(--c); color: var(--k); } #save:disabled { color: var(--m); border-color: var(--m); background: none; cursor: default; }
.how { padding: 110px 0 60px; } .how canvas { width: 100%; height: clamp(300px, 34vw, 520px); }
.how ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 20px var(--pad) 0; gap: 24px; } .how li { color: var(--m); font-size: 18px; } .how b { display: block; color: var(--c); font-weight: 300; font-size: clamp(26px, 2.8vw, 42px); letter-spacing: -.02em; line-height: 1.15; }
.foot { padding: 70px var(--pad) 60px; display: grid; gap: 14px; border-top: 1px solid var(--l); }
.fname { font-size: clamp(64px, 15.5vw, 250px); line-height: .95; margin-left: -.05em; letter-spacing: -.05em; overflow-wrap: anywhere; }
.fk { display: flex; gap: 10px; flex-wrap: wrap; } .fk a, .fk button { border: 1px solid var(--c); padding: 12px 22px; text-decoration: none; font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; } .fk a:hover, .fk button:hover { background: var(--c); color: var(--k); }
.fine { font-size: 14px; color: var(--m); max-width: 84ch; }
.lids { position: fixed; inset: 0; background: #000; z-index: 50; } .lids canvas { position: absolute; inset: 0; width: 100%; height: 100%; } .lids button { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); padding: 14px 24px; color: #76909c; font-size: 16px; white-space: nowrap; } .lids button:hover, .lids button:focus-visible { color: var(--c); }

@media (max-width: 860px) {
  :root { --pad: 18px; }
  .brand { top: 20px; font-size: 20px; } #ask { left: var(--pad); right: var(--pad); width: auto; top: 56px; }
  .bar { bottom: 12px; gap: 0; flex-direction: column; align-items: stretch; } .tape { min-width: 0; min-height: 24px; font-size: 14px; padding-bottom: 2px; }
  .grp { justify-content: space-between; border-top: 1px solid var(--l); } .grp button { flex: 1; padding: 9px 4px; } .picks { margin-left: 0; overflow: hidden; }
  .note { bottom: 206px; width: 92vw; font-size: 15px; }
  .head { padding: 72px var(--pad) 18px; gap: 10px; } #save { margin-left: 0; } .line { font-size: 17px; } .say { font-size: 16px; }
  .sheet canvas { height: 380px; } .how { padding: 72px 0 40px; } .how canvas { height: 690px; } .how ol { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .foot { padding: 48px var(--pad) 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
