
/* Layout, after the reference: a 12-column grid, the conversation in the left 8 columns starting at mid-height (a bottom
   sheet on phones), the visual behind it full-screen, a 4px progress line along the bottom, round back button bottom-left,
   a sound toggle bottom-right, a thin fixed header. */
:root {
  --bg: #e2e2e2; --bg2: #c9c9cb; --fg: #000000; --fg20: rgba(0,0,0,.2); --dot: 10,10,10; --pill: #ffffff; --ok: #06c167; --bad: #c8321f;
  --display: "Outfit", "Helvetica Neue", Arial, sans-serif; --ui: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --fs: 15px; --margin: 2.6666667rem; --gutter: 20px; --cols: 12; --header: 4rem; --dialog: 2.5333333rem; --unit: 2.6666667rem;
  color-scheme: light;
}
@media (max-width: 1024px) { :root { --margin: 1.3333333rem; --cols: 8; --dialog: 1.75rem; } }
@media (max-width: 699px) { :root { --cols: 4; --gutter: 10px; } }
@media (min-width: 1600px) { :root { --fs: 17px } } @media (min-width: 2000px) { :root { --fs: 19px } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #141416; --bg2: #000000; --fg: #ffffff; --fg20: rgba(255,255,255,.2); --dot: 244,244,244; --pill: #1e1e22; color-scheme: dark } }
:root[data-theme="dark"] { --bg: #141416; --bg2: #000000; --fg: #ffffff; --fg20: rgba(255,255,255,.2); --dot: 244,244,244; --pill: #1c1c21; color-scheme: dark }
html { font-size: var(--fs); }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.3 var(--ui); -webkit-font-smoothing: antialiased; overflow: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
::selection { background: var(--fg); color: var(--bg); }
.stage { position: fixed; inset: 0; background: radial-gradient(120% 90% at 50% 35%, var(--bg) 0%, var(--bg2) 100%); }
/* the visual, behind everything */
.cars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cars img { position: absolute; left: 0; width: var(--cw, 230px); height: auto; will-change: transform; }
canvas.viz { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.cars { z-index: 0; }
/* the formulas: the harmonic series and what it drags along, written faint in the empty sky above the text */
.math { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.math > span { position: absolute; font: 500 var(--ms, 1.7rem)/1.15 "Caveat", "Segoe Print", "Bradley Hand", cursive; letter-spacing: .01em; color: var(--fg); opacity: var(--mo, .4); white-space: nowrap; transform: rotate(var(--mr, 0deg)); animation: drift var(--md, 28s) ease-in-out infinite alternate; animation-delay: var(--mdl, 0s); text-shadow: 0 0 1px color-mix(in srgb, var(--fg) 40%, transparent); }
.math > span.big { font-size: calc(var(--ms, 1.7rem) * 1.8); font-weight: 700; opacity: .34; }
.math i { font-style: italic; } .math sup, .math sub { font-size: .62em; } .math .frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; line-height: 1; margin: 0 .12em; } .math .frac b { font-weight: inherit; border-bottom: 2px solid currentColor; padding: 0 .1em .06em; } .math .frac u { text-decoration: none; padding-top: .06em; }
@keyframes drift { from { translate: 0 0 } to { translate: var(--mx, 12px) var(--my, -10px) } }
@media (max-width: 1024px) { .math { inset: 0 0 calc(50% + 8px) 0; --ms: 1rem } .math > span.big { font-size: 1.45rem } .math > span:nth-child(n+13) { display: none } }
@media (prefers-reduced-motion: reduce) { .math > span { animation: none } }
/* the lockup: paid in UBER stock, on Solana — plain words, set small and low, where the road used to be */
.lockup { position: fixed; left: calc(max(var(--margin), env(safe-area-inset-left, 0px)) + var(--unit) + 1rem); bottom: calc(var(--margin) + var(--unit) / 2 - .55rem + env(safe-area-inset-bottom, 0px)); z-index: 2; display: flex; align-items: center; gap: .6em; font: 400 1.15rem/1 var(--display); letter-spacing: .14em; opacity: .55; pointer-events: none; }
.lockup .u { font-weight: 400; } .lockup .x { opacity: .6; font-size: .9em; } .lockup .r { display: inline-flex; align-items: center; gap: .3em; letter-spacing: .02em; }
.lockup svg { width: 1.1em; height: 1.1em; fill: var(--ok); }
@media (max-width: 1024px) { .lockup { display: none } }
/* the car, parked between the choices and the bust, with its line under it */
.car { position: fixed; left: 27vw; bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px)); width: 24vw; max-width: 420px; margin: 0; z-index: 2; pointer-events: none; display: grid; gap: .4rem; justify-items: center; }
.car img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 18px rgba(0,0,0,.35)); animation: idle 5s ease-in-out infinite; }
.car figcaption { font: 400 clamp(.95rem, 1.15vw, 1.25rem)/1.25 var(--display); text-align: center; letter-spacing: .01em; opacity: .9; }
@keyframes idle { 0%, 100% { translate: 0 0 } 50% { translate: 0 -3px } }
@media (max-width: 1024px) { .car { display: none } }
@media (max-width: 1400px) { .car { left: 30vw; width: 22vw } }
/* header */
.hd { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; width: 100%; height: var(--header); z-index: 800; display: grid; align-items: center; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--gutter); padding: 0 max(var(--margin), env(safe-area-inset-left, 0px)) 0 max(var(--margin), env(safe-area-inset-right, 0px)); box-sizing: border-box; font: 400 1.2rem/1.2 var(--display); }
.wordmark { grid-column: 1 / 3; color: inherit; text-decoration: none; white-space: nowrap; }
.wordmark sup { font-size: .55em; vertical-align: super; margin-left: .05em; }
.cta { grid-column: 10 / 13; justify-self: end; display: flex; align-items: center; gap: 1.1rem; white-space: nowrap; }
.cta .buy { color: inherit; text-decoration: none; }
.cta .buy:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .1em; }
.xbtn { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; color: inherit; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); transition: background .2s, border-color .2s, transform .2s; }
.xbtn svg { width: 1rem; height: 1rem; fill: currentColor; }
.xbtn:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 10%, transparent); transform: translateY(-1px); }
.xbtn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.menu-toggler { display: none; grid-column: 3 / 5; justify-self: end; font: inherit; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
@media (max-width: 1024px) { .wordmark { grid-column: 1 / 5 } .cta { grid-column: 5 / 9; gap: .8rem } .xbtn { width: 2.2rem; height: 2.2rem } .menu-toggler { display: none } }
@media (max-width: 699px) { .wordmark { grid-column: 1 / 3 } .cta { grid-column: 3 / 5 } }
/* the conversation column */
.main { position: absolute; inset: 0; overflow: auto; padding: 0 max(var(--margin), env(safe-area-inset-right, 0px)) 0 max(var(--margin), env(safe-area-inset-left, 0px)); box-sizing: border-box; z-index: 2; width: 100%;
  padding-right: calc((100vw - var(--gutter) * (var(--cols) - 1) - var(--margin) * 2) * 4 / var(--cols) + var(--gutter) * 4 + var(--margin)); scrollbar-width: none; }
.main::-webkit-scrollbar { display: none; }
.step { position: relative; min-height: fit-content; padding: 50vh var(--gutter) 0 0; }
@media (max-width: 1024px) {
  .main { inset: calc(50% - 8px) 0 0 0; padding-right: max(var(--margin), env(safe-area-inset-right, 0px)); background: var(--bg); border-radius: 8px 8px 0 0; transition: inset .3s cubic-bezier(.215,.61,.355,1); }
  .step { padding: 1.3333333rem 1.3333333rem 1.3333333rem 0; }
}
.prev { position: absolute; display: block; font: 300 var(--dialog)/1.1 var(--display); transform: translate3d(0, calc(-100% - var(--unit)), 0) scale(.8); transform-origin: top left; filter: blur(4px); cursor: pointer; user-select: none; transition: transform .3s cubic-bezier(.215,.61,.355,1), filter .3s cubic-bezier(.215,.61,.355,1); max-width: 24ch; }
.prev:hover { filter: blur(3px); }
.prev:empty { display: none; }
.dialog { display: block; margin: 0; font: 300 var(--dialog)/1.1 var(--display); transform-origin: top left; transition: transform .3s cubic-bezier(.215,.61,.355,1), filter .3s cubic-bezier(.215,.61,.355,1); max-width: 24ch; }
.step.expanded .dialog { transform: translate3d(0, 0, 0) scale(.9); }
.step.leaving .dialog { transform: translate3d(0, calc(-100% - var(--unit)), 0) scale(.8); filter: blur(4px); }
.dialog .w { display: inline-block; white-space: nowrap; }
.dialog .l { display: inline-block; opacity: 0; transform: translate3d(0, 40%, 0); transition: opacity .3s cubic-bezier(.215,.61,.355,1), transform .45s cubic-bezier(.215,.61,.355,1); }
.dialog .l.in { opacity: 1; transform: translate3d(0, 0, 0); }
.dialog.cursor::after { content: ""; display: inline-block; height: .5em; width: .4em; margin-left: .25em; transform: scaleY(1.75) translateY(5%); transform-origin: bottom center; background: var(--fg); animation: cursor linear 1s infinite; }
@keyframes cursor { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
.content { margin-top: 1.3333333rem; width: 100%; opacity: 0; pointer-events: none; transform: translate3d(0, 1.3333333rem, 0); transition: opacity .3s cubic-bezier(.215,.61,.355,1), transform .3s cubic-bezier(.215,.61,.355,1); padding-bottom: 10.666667rem; display: grid; gap: 1rem; justify-items: start; }
@media (max-width: 1024px) { .content { padding-bottom: 5.3333333rem } }
.content.in { opacity: 1; pointer-events: all; transform: translate3d(0, 0, 0); transition-delay: .1s; }
/* the content sits on a frosted panel so the road and the cars behind never fight the text */
.content > :not(.choices) { position: relative; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 1.3333333rem; padding: 1rem 1.1rem; box-sizing: border-box; }
.content > .hint { padding: .6rem .9rem; }
.content > .amount { padding: .6rem 1rem; }
.content > .choices { position: relative; }
.choices { padding: .2rem 0 }
.choices { display: flex; flex-wrap: wrap; max-width: calc((100vw - var(--gutter) * (var(--cols) - 1) - var(--margin) * 2) * 3 / var(--cols) + var(--gutter) * 3 + 8rem); }
.pill { position: relative; display: inline-flex; align-items: center; gap: .8em; font: 400 1rem/1.2 var(--display); letter-spacing: .01em; border-radius: 999px; background: var(--pill); color: var(--fg); padding: .8em 1.5em; margin: 0 .45em .55em 0; border: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent), 0 10px 24px -14px rgba(0,0,0,.6); cursor: pointer; text-decoration: none; overflow: hidden; transition: transform .25s cubic-bezier(.215,.61,.355,1), border-color .25s, box-shadow .25s; }
.pill::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, #fff 10%, transparent), transparent 60%); opacity: 0; transition: opacity .25s; }
.pill:hover, .pill:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--fg) 40%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent), 0 14px 28px -14px rgba(0,0,0,.7); }
.pill:hover::before, .pill:focus-visible::before { opacity: 1; }
.pill:active { transform: translateY(0); }
.pill.ghost { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 22%, transparent); box-shadow: none; opacity: .85; }
.pill span:last-child:not(:first-child) { opacity: .6; font-size: .9em; }
.pill span { pointer-events: none; }
.pill:focus-visible, .back:focus-visible, .sound:focus-visible, .drop:focus-visible, input:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
/* inputs, after the floating-label fields */
.field { width: min(28rem, 100%); display: grid; gap: .5rem; }
.floating { position: relative; }
.floating input { width: 100%; box-sizing: border-box; font: 400 1.2rem/1.3 var(--ui); color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--fg); padding: 1.1em 0 .4em; font-variant-numeric: tabular-nums; }
.floating input::placeholder { color: transparent; }
.floating label { position: absolute; left: 0; top: 1.1em; font: 400 1.2rem/1.3 var(--ui); color: var(--fg); opacity: .5; transform-origin: top left; transition: transform .2s cubic-bezier(.215,.61,.355,1), opacity .2s; pointer-events: none; }
.floating input:focus ~ label, .floating input:not(:placeholder-shown) ~ label { transform: scale(.75) translateY(-1.5em); opacity: .7; }
.hint { font: 400 .8rem/1.4 var(--ui); opacity: .6; max-width: 46ch; }
.hint.bad { color: var(--bad); opacity: 1; }
.next { display: block; margin-left: auto; margin-right: 0; }
.drop { width: min(28rem, 100%); box-sizing: border-box; border: 1px dashed var(--fg20); border-radius: 1.3333333rem; padding: 1.6rem 1.2rem; cursor: pointer; display: grid; gap: .25rem; justify-items: center; text-align: center; transition: border-color .15s; background: var(--bg); }
.drop:hover, .drop.over { border-color: var(--fg); }
.drop b { font: 500 .95rem/1.3 var(--ui); }
.drop span { font: 400 .8rem/1.4 var(--ui); opacity: .6; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.preview { width: min(28rem, 100%); display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; align-items: center; border: 1px solid var(--fg20); border-radius: 1.3333333rem; padding: .8rem; box-sizing: border-box; background: var(--bg); }
.preview img { width: 6rem; height: 6rem; object-fit: cover; border-radius: .8rem; background: var(--fg20); filter: grayscale(1); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; font: 400 .85rem/1.4 var(--ui); font-variant-numeric: tabular-nums; }
.kv span { opacity: .55; }
.kv b { font-weight: 500; }
.checks { display: grid; gap: .6rem; width: min(26rem, 100%); }
.runs { display: grid; gap: .8rem; width: min(30rem, 100%); }
.run { border: 1px solid var(--fg20); border-radius: 1rem; padding: .8rem 1rem; display: grid; gap: .5rem; }
.run .top { display: flex; justify-content: space-between; font: 400 .95rem/1 var(--display); } .run .top span { opacity: .7; }
.run .bar { height: .45rem; border-radius: 1rem; background: var(--fg20); overflow: hidden; } .run .bar i { display: block; height: 100%; background: #f4b728; }
.chk { display: grid; grid-template-columns: 1.2rem 1fr auto; gap: .7rem; align-items: center; font: 400 .9rem/1.3 var(--ui); opacity: .3; transition: opacity .3s; }
.chk.on { opacity: 1; }
.chk i { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid var(--fg20); display: inline-grid; place-items: center; font-size: .65rem; font-style: normal; }
.chk.ok i { border-color: var(--ok); color: var(--ok); }
.chk.ko i { border-color: var(--bad); color: var(--bad); }
.chk em { font-style: normal; opacity: .6; font-variant-numeric: tabular-nums; font-size: .8rem; }
.amount { font: 300 clamp(2.4rem, 6vw, 4.6rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.amount small { font: 400 .95rem/1.3 var(--ui); opacity: .6; margin-left: .5em; }
.card { width: min(26rem, 100%); aspect-ratio: 1.6; max-width: 100%; border-radius: 1.3333333rem; overflow: hidden; border: 1px solid var(--fg20); }
.card canvas { width: 100%; height: 100%; display: block; }
.tx { font: 400 .8rem/1 var(--ui); opacity: .6; color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.tx:hover { opacity: 1; }
.board { width: min(40rem, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--fg20); border: 1px solid var(--fg20); border-radius: 1.3333333rem; overflow: hidden; }
.board > div { background: var(--bg); padding: 1rem .9rem; display: grid; gap: .3rem; }
.board .lbl { font: 400 .7rem/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.board .val { font: 300 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.board .sub { font: 400 .75rem/1.3 var(--ui); opacity: .55; }
@media (max-width: 560px) { .board { grid-template-columns: 1fr 1fr } }
.feed { width: min(40rem, 100%); display: grid; font: 400 .85rem/1.4 var(--ui); }
.feed div { display: grid; grid-template-columns: 1fr auto auto auto; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--fg20); font-variant-numeric: tabular-nums; }
.feed div:first-child { border-top: 0; }
.feed .m { opacity: .55; }
.feed .a { font-weight: 500; }
.feed a.tx { font: 400 .8rem var(--ui); color: inherit; opacity: .55; text-decoration: none; border-bottom: 1px solid var(--fg20); align-self: center; }
.feed a.tx:hover, .feed a.tx:focus-visible { opacity: 1; }
.formula { font: 400 .85rem/1.55 var(--ui); max-width: 52ch; display: grid; gap: .5rem; }
.claimnow { width: min(28rem, 100%); display: grid; gap: .3rem; }
.seg { display: inline-flex; gap: .3rem; padding: .25rem; border-radius: 999px; border: 1px solid var(--fg20); margin-bottom: .6rem; }
.seg button { font: 400 .9rem/1 var(--display); border: 0; border-radius: 999px; padding: .6em 1.1em; background: transparent; color: var(--fg); cursor: pointer; opacity: .7; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); opacity: 1; }
.chat { width: min(40rem, 100%); display: grid; gap: .7rem; }
.chat .top { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; font: 400 .85rem/1.3 var(--ui); }
.chat select, .chat input, .chat textarea { font: 400 .95rem/1.4 var(--ui); color: var(--fg); background: transparent; border: 1px solid var(--fg20); border-radius: .8rem; padding: .6em .8em; box-sizing: border-box; }
.chat select { max-width: 100%; } .chat select option { color: #000; }
.chatlog { display: grid; gap: .6rem; max-height: 44vh; overflow-y: auto; padding-right: .2rem; }
.msg { padding: .65em .9em; border-radius: 1rem; font: 400 .95rem/1.45 var(--ui); white-space: pre-wrap; word-break: break-word; }
.msg.u { justify-self: end; background: var(--fg); color: var(--bg); max-width: 85%; }
.msg.a { justify-self: start; border: 1px solid var(--fg20); max-width: 95%; }
.chatbar { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: end; }
.chatbar textarea { resize: none; min-height: 2.8rem; max-height: 9rem; }
.keybox { font: 400 .8rem/1.4 ui-monospace, Menlo, monospace; word-break: break-all; padding: .7em .9em; border: 1px dashed var(--fg20); border-radius: .8rem; }
.claimnow span { font: 400 .75rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.claimnow b { font: 300 2.2rem/1.05 var(--display); font-variant-numeric: tabular-nums; color: var(--fg); } .claimnow b em { font: 400 1rem var(--ui); font-style: normal; opacity: .65; margin-left: .3em; }
.claimnow small { font: 400 .8rem/1.4 var(--ui); opacity: .6; }
.ca { display: inline-flex; align-items: center; gap: .8rem; font: 400 .9rem/1 var(--ui); color: var(--fg); background: transparent; border: 1px dashed color-mix(in srgb, var(--fg) 30%, transparent); border-radius: 999px; padding: .65em 1.1em; cursor: pointer; margin-top: .2rem; }
.ca:disabled { cursor: default; opacity: .7; } .ca .k { font-weight: 500; letter-spacing: .12em; opacity: .55; } .ca .v { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; } .ca .c { opacity: .55; text-decoration: underline; text-underline-offset: .15em; }
.ca:not(:disabled):hover { border-style: solid; }
.content > .ca { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: .65em 1.1em; }
.hsvg { width: 100%; max-width: 420px; height: auto; display: block; font: 400 11px var(--ui); fill: var(--fg); }
.hsvg line { stroke: var(--fg20); stroke-width: 1; } .hsvg path { fill: none; stroke-width: 2; } .hsvg .hn { stroke: var(--fg); } .hsvg .top { stroke: var(--fg); stroke-dasharray: 4 4; opacity: .45; }
.thms { display: grid; gap: .8rem; width: min(44rem, 100%); }
.thm { display: grid; grid-template-columns: 1.3rem 1fr; gap: .7rem; align-items: start; font: 400 .85rem/1.45 var(--ui); }
.thm i { width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1px solid var(--ok); color: var(--ok); display: inline-grid; place-items: center; font-size: .7rem; font-style: normal; margin-top: .15rem; }
.thm.ko i { border-color: var(--bad); color: var(--bad); }
.thm b { font-weight: 500; display: block; } .thm code { display: block; font: 400 .74rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; opacity: .8; margin: .25rem 0; white-space: pre-wrap; word-break: break-word; } .thm span { opacity: .6; font-size: .78rem; }
.formula code { font: 400 .8rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid var(--fg20); background: var(--bg); border-radius: .8rem; padding: .7rem .9rem; display: block; white-space: pre-wrap; }
/* chrome */
.progress { position: fixed; bottom: 0; left: 0; width: 100%; border-top: 4px solid var(--fg); transform: scaleX(var(--p, 0)); transform-origin: bottom left; transition: transform .3s cubic-bezier(.215,.61,.355,1); z-index: 900; }
.back { position: fixed; left: max(var(--margin), env(safe-area-inset-left, 0px)); bottom: calc(var(--margin) + env(safe-area-inset-bottom, 0px)); width: var(--unit); height: var(--unit); display: flex; align-items: center; justify-content: center; background: var(--fg); color: var(--bg); border: 0; border-radius: 50%; cursor: pointer; z-index: 900; transition: opacity .3s cubic-bezier(.215,.61,.355,1), transform .3s cubic-bezier(.215,.61,.355,1); }
.back[hidden] { display: flex; opacity: 0; transform: scale(.8); pointer-events: none; }
.back svg { width: 45%; height: 45%; fill: currentColor; }
.sound { position: fixed; right: max(var(--margin), env(safe-area-inset-right, 0px)); bottom: calc(var(--margin) + env(safe-area-inset-bottom, 0px)); background: var(--fg); display: flex; flex-direction: column; border-radius: var(--unit); border: 0; padding: 0; cursor: pointer; z-index: 900; }
.sound::before { content: ""; display: block; position: absolute; top: 0; left: 0; width: var(--unit); height: var(--unit); box-sizing: border-box; background: var(--bg); border-radius: 50%; border: 3px solid var(--fg); transform: translate3d(0, 0, 0); transition: transform .3s cubic-bezier(.215,.61,.355,1); }
.sound.muted::before { transform: translate3d(0, 100%, 0); }
.sound i { position: relative; z-index: 1; width: var(--unit); height: var(--unit); display: flex; align-items: center; justify-content: center; }
.sound i svg { width: 100%; height: 25%; transition: fill .3s; }
.sound .on svg { fill: var(--fg) } .sound.muted .on svg { fill: var(--bg) }
.sound .off svg { fill: var(--bg) } .sound.muted .off svg { fill: var(--fg) }
@media (max-width: 1024px) { .sound { bottom: calc(50% + 8px + .6rem); right: .9rem; --unit: 2.2rem } .back { left: .9rem; bottom: calc(.9rem + env(safe-area-inset-bottom, 0px)) } .choices { max-width: 100%; gap: .1rem } .pill { font-size: 1.02rem; padding: .7em 1.35em; margin: 0 .25em .5em 0 } .demo { display: none } .step { padding-top: 1.6rem } .content { margin-top: 1.6rem; gap: 1.2rem } .drop { padding: 1.4rem 1rem } .drop b { font-size: 1.05rem } .hint { font-size: .9rem } .floating input, .floating label { font-size: 1.3rem } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.demo { position: fixed; top: calc(var(--header) + env(safe-area-inset-top, 0px)); left: max(var(--margin), env(safe-area-inset-left, 0px)); font: 400 .7rem/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; opacity: .45; z-index: 3; }
@media (prefers-reduced-motion: reduce) { .dialog .l, .content, .prev, .dialog, .progress { transition: none } .dialog.cursor::after { animation: none } }
/* ================================================================== paper theme: the landing and the desk share it */
:root, :root[data-theme="dark"] { --bg: #eadfc9; --bg2: #ded0b4; --fg: #313131; --fg20: rgba(49,49,49,.2); --dot: 49,49,49; --pill: #f6edda; --ok: #2b49c9; --bad: #c8321f; color-scheme: light;
  --display: "Geist", "Helvetica Neue", Arial, sans-serif; --ui: "Geist", "Helvetica Neue", Arial, sans-serif;
  --paper: #eadfc9; --card: #f6edda; --ink: #313131; --ink2: #4a4741; --muted: #5e5950; --orange-ink: #a8391a; --line: #a19d94; --blue: #243fa5; --orange: #ec633d; --hand: "Architects Daughter", "Segoe Print", cursive; --mono: "Geist Mono", ui-monospace, monospace; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #eadfc9; --bg2: #ded0b4; --fg: #313131; --fg20: rgba(49,49,49,.2); --dot: 49,49,49; --pill: #f6edda; color-scheme: light } }
.stage { background: var(--paper); background-image: linear-gradient(rgba(49,49,49,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(49,49,49,.06) 1px, transparent 1px); background-size: 22px 22px; }
.pill { background: var(--card); border: 1px solid var(--line); box-shadow: none; font-family: var(--mono); font-size: .92rem; letter-spacing: -.01em; }
.pill:hover, .pill:focus-visible { box-shadow: none; border-color: var(--ink); }
.dialog, .prev { font-family: var(--display); font-weight: 400; letter-spacing: -.035em; }
.math > span { font-family: var(--hand); color: var(--ink); } .math { opacity: .28; }
.car, .lockup { display: none !important; }
/* the landing: a paper page above the desk; the desk opens when you claim */
body:not(.desk) { overflow-y: auto; overflow-x: hidden; } .landing { overflow-x: clip; }
body:not(.desk) .stage { visibility: hidden; }
body.desk .landing { display: none; }
.landing { position: relative; z-index: 900; min-height: 100vh; color: var(--ink); font-family: var(--ui); background: var(--paper);
  background-image: linear-gradient(rgba(49,49,49,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(49,49,49,.06) 1px, transparent 1px); background-size: 22px 22px; }
.landing a { color: inherit; }
.l-wrap { width: min(1440px, 100% - 2 * clamp(16px, 2.2vw, 28px)); margin: 0 auto; }
.l-top { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 14px clamp(16px, 2.2vw, 28px); }
.l-coord { font: 400 .72rem/1.05 var(--hand); color: var(--ink); opacity: .85; }
.l-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); background: #fff; border: 1px solid var(--line); padding: 6px 6px 6px 10px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.l-logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; font: 500 1.05rem/1 var(--display); letter-spacing: -.03em; }
.l-logo i { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 30px; height: 30px; } .l-logo i b { background: var(--blue); } .l-logo i b:nth-child(2) { border-radius: 50% 50% 0 0; } .l-logo i b:nth-child(3) { border-radius: 50%; } .l-logo i b:nth-child(4) { border-radius: 0 0 0 100%; }
.l-links { display: flex; gap: clamp(.8rem, 1.6vw, 1.6rem); font: 400 .88rem/1 var(--mono); }
.l-links a { text-decoration: none; } .l-links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.l-cta { display: inline-flex; align-items: center; gap: .6rem; background: var(--blue); color: #fff !important; text-decoration: none; font: 500 .9rem/1 var(--mono); padding: 6px 14px 6px 6px; border: 0; cursor: pointer; }
.l-cta i { width: 28px; height: 28px; background: var(--orange); display: grid; place-items: center; } .l-cta i::after { content: ""; width: 12px; height: 12px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: skewX(-12deg); }
.l-cta:hover { background: #1b3191; } .l-cta:focus-visible, .l-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.l-mail { justify-self: end; font: 400 .85rem/1 var(--hand); text-decoration: none; letter-spacing: .02em; }
@media (max-width: 900px) { .l-coord, .l-links { display: none } .l-top { grid-template-columns: 1fr auto; } .l-nav { justify-self: start } }
.l-hero { position: relative; text-align: center; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.l-h1 { position: relative; display: inline-block; } .l-hero h1 { margin: 0; font: 500 clamp(2.7rem, 8vw, 8.6rem)/.9 var(--display); letter-spacing: -.055em; color: #2c2c2c; }
.l-note { position: absolute; font: 400 clamp(.85rem, 1.25vw, 1.35rem)/.95 var(--hand); color: var(--muted); text-transform: uppercase; transform: rotate(-4deg); }
.l-note.a { right: calc(100% + 1.2rem); top: 22%; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.l-note.b { left: calc(100% + 1rem); bottom: 18%; text-align: left; white-space: nowrap; } .l-note.b s { text-decoration-thickness: 1.5px; }
@media (max-width: 1100px) { .l-note.a { position: static; display: inline-block; margin-bottom: 1rem } .l-note.b { position: static; display: block; margin-top: 1rem; text-align: center } .l-h1 { display: block } }
.l-band { position: relative; border: 1px solid var(--line); overflow: hidden; background: var(--blue); }
.l-band img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.l-band figcaption { position: absolute; right: 1.2rem; bottom: 1rem; display: flex; align-items: center; gap: .5rem; color: #fff; font: 500 clamp(.8rem, 1.1vw, 1rem)/1.2 var(--ui); text-shadow: 0 1px 8px rgba(11,25,65,.6); }
.l-band figcaption i { width: 14px; height: 14px; background: var(--orange); flex: none; }
@media (max-width: 700px) { .l-band img { aspect-ratio: 4 / 3; object-position: 58% 60% } .l-band figcaption { position: static; padding: .7rem .9rem; background: var(--blue); color: #fff; text-shadow: none; font-size: .95rem; justify-content: flex-start; text-align: left } .l-mail { display: none } .l-cta { white-space: nowrap; font-size: .8rem } .l-top { grid-template-columns: 1fr; justify-items: center } }
.l-sec { padding: clamp(3.5rem, 8vw, 7rem) 0 0; }
.l-h2 { font: 500 clamp(2.2rem, 5vw, 4.8rem)/.95 var(--display); letter-spacing: -.05em; margin: 0 0 clamp(1.5rem, 3vw, 2.6rem); max-width: 16ch; }
.l-h2 em { font: 400 .34em/1 var(--hand); color: var(--muted); font-style: normal; letter-spacing: 0; display: block; transform: rotate(-3deg); margin-bottom: .6em; text-transform: uppercase; }
.l-lede { font: 400 clamp(1.05rem, 1.5vw, 1.4rem)/1.35 var(--ui); letter-spacing: -.02em; color: var(--ink2); max-width: 46ch; margin: 0 0 2rem; }
.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed var(--ink); }
.l-steps > div { padding: 1.6rem 1.6rem 1.8rem 0; border-right: 1px dashed var(--line); } .l-steps > div + div { padding-left: 1.6rem; } .l-steps > div:last-child { border-right: 0; }
.l-steps b { display: block; font: 400 1.6rem/1 var(--hand); color: var(--orange-ink); margin-bottom: .9rem; }
.l-steps h3 { margin: 0 0 .5rem; font: 500 clamp(1.25rem, 1.8vw, 1.7rem)/1.1 var(--display); letter-spacing: -.035em; } .l-steps p { margin: 0; color: var(--ink2); line-height: 1.45; max-width: 34ch; }
@media (max-width: 800px) { .l-steps { grid-template-columns: 1fr } .l-steps > div, .l-steps > div + div { padding: 1.3rem 0; border-right: 0; border-bottom: 1px dashed var(--line) } }
.l-rows { border-top: 1px dashed var(--ink); }
.l-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 1rem; align-items: baseline; padding: clamp(.9rem, 1.6vw, 1.35rem) 0; border-bottom: 1px dashed var(--ink); font: 500 clamp(1.05rem, 1.9vw, 1.7rem)/1.1 var(--display); letter-spacing: -.035em; }
.l-row span { color: var(--ink2); font-weight: 400; } .l-row small { font: 400 .9rem/1 var(--mono); color: var(--muted); letter-spacing: 0; text-align: right; white-space: nowrap; }
.l-row button { all: unset; cursor: pointer; color: var(--blue); } .l-row button::after { content: " →"; font-family: var(--mono); font-size: .7em; opacity: .8; } .l-row button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; } .l-row:hover button { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 640px) { .l-row { grid-template-columns: 1fr auto } .l-row small { grid-column: 1 / -1; text-align: left } }
.l-paper { background: #fdf8f0; border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 4.5rem); box-shadow: 6px 6px 0 rgba(49,49,49,.08); }
.l-formula { font: 400 clamp(1.3rem, 3.2vw, 2.9rem)/1.2 var(--mono); letter-spacing: -.04em; color: var(--ink); margin: 0 0 1.6rem; overflow-x: auto; white-space: nowrap; }
.l-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } .l-terms div { border-top: 1px solid var(--line); padding-top: .9rem; } .l-terms b { font: 500 1.1rem/1.2 var(--display); display: block; margin-bottom: .35rem; letter-spacing: -.02em; } .l-terms p { margin: 0; color: var(--ink2); line-height: 1.45; }
.l-terms .hand { font: 400 1.05rem/1.2 var(--hand); color: var(--orange-ink); margin-top: .6rem; }
@media (max-width: 800px) { .l-terms { grid-template-columns: 1fr } }
.l-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); }
.l-card { background: var(--card); border: 1px solid var(--line); padding: clamp(1.3rem, 2.6vw, 2.2rem); display: grid; gap: .8rem; align-content: start; }
.l-card .big { font: 500 clamp(2.6rem, 5vw, 4.4rem)/.9 var(--display); letter-spacing: -.05em; color: var(--ink); } .l-card h3 { margin: 0; font: 500 1.3rem/1.15 var(--display); letter-spacing: -.03em; } .l-card p { margin: 0; color: var(--ink2); line-height: 1.45; }
.l-card ul { margin: 0; padding: 0; list-style: none; font: 400 .92rem/1.6 var(--mono); color: var(--ink); } .l-card li::before { content: "✓ "; color: var(--ink); }
@media (max-width: 800px) { .l-two { grid-template-columns: 1fr } }
.l-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px dashed var(--ink); border-bottom: 1px dashed var(--ink); margin-bottom: 1.4rem; }
.l-stats div { padding: 1.2rem 1rem 1.2rem 0; } .l-stats b { display: block; font: 500 clamp(1.8rem, 3.4vw, 3rem)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; } .l-stats span { font: 400 .82rem/1.2 var(--mono); color: var(--muted); }
@media (max-width: 800px) { .l-stats { grid-template-columns: 1fr 1fr } }
.l-feed { display: grid; } .l-feed a { display: grid; grid-template-columns: 8rem 1fr auto auto; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--line); text-decoration: none; font: 400 .95rem/1.2 var(--ui); align-items: baseline; }
.l-feed a:hover { background: rgba(255,255,255,.35); } .l-feed .m { font-family: var(--mono); color: var(--muted); font-size: .85rem; } .l-feed .v { font-weight: 500; font-variant-numeric: tabular-nums; } .l-feed .t { font: 400 .8rem/1 var(--mono); color: var(--blue); }
@media (max-width: 640px) { .l-feed a { grid-template-columns: 1fr auto } .l-feed .m, .l-feed .t { display: none } }
.l-next { background: var(--blue); color: #fdf8f0; padding: clamp(1.6rem, 4vw, 3.6rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; border: 1px solid var(--line); }
.l-next h2 { margin: 0; font: 500 clamp(2rem, 4.4vw, 4rem)/.95 var(--display); letter-spacing: -.05em; } .l-next p { margin: 0; line-height: 1.45; opacity: .85; } .l-next .hand { font: 400 1.1rem/1 var(--hand); color: #f4b728; display: block; margin-bottom: .8rem; transform: rotate(-3deg); }
@media (max-width: 800px) { .l-next { grid-template-columns: 1fr } }
#l-wp { scroll-margin-top: 5.5rem; }
#l-wp .l-h2 { text-align: center; max-width: none; margin-left: auto; margin-right: auto; } #l-wp > em, #l-wp .l-h2 em { text-align: center; }
.l-wp { max-width: 62rem; margin: 0 auto; font: 400 1.05rem/1.65 var(--ui); color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: clamp(1.2rem, 4vw, 3rem); box-shadow: 6px 6px 0 rgba(49,49,49,.08); }
.l-wp .lead { font-size: 1.2rem; line-height: 1.5; margin-top: 0; } .l-wp h3 { font: 500 1.5rem/1.15 var(--display); letter-spacing: -.03em; margin: 2.2rem 0 .7rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); }
.l-wp ol, .l-wp ul { padding-left: 1.3rem; } .l-wp li { margin: .35rem 0; } .l-wp .f { font: 400 1.05rem/1.5 var(--mono); color: var(--ink); overflow-x: auto; }
.l-wp table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .8rem 0; } .l-wp th, .l-wp td { text-align: left; padding: .5rem .6rem; border-bottom: 1px dashed var(--line); vertical-align: top; } .l-wp th { font-weight: 600; }
.l-wp .ca { font-family: var(--mono); font-size: .82rem; word-break: break-all; } .l-wp a { color: var(--blue); }
.l-faq details { border-bottom: 1px dashed var(--ink); } .l-faq { border-top: 1px dashed var(--ink); }
.l-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: clamp(.9rem, 1.6vw, 1.3rem) 0; font: 500 clamp(1rem, 1.7vw, 1.45rem)/1.2 var(--display); letter-spacing: -.03em; }
.l-faq summary::-webkit-details-marker { display: none; } .l-faq summary::after { content: "+"; font: 400 1.4em/1 var(--mono); color: var(--muted); } .l-faq details[open] summary::after { content: "−"; }
.l-faq p { margin: 0 0 1.3rem; max-width: 62ch; color: var(--ink2); line-height: 1.5; }
.l-foot { padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem; display: grid; gap: 1.6rem; justify-items: center; text-align: center; }
.l-foot .big { font: 500 clamp(2.4rem, 6vw, 5.6rem)/.9 var(--display); letter-spacing: -.055em; max-width: 14ch; margin: 0; }
.l-btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--blue); color: #fff; font: 500 1rem/1 var(--mono); padding: 8px 18px 8px 8px; border: 0; cursor: pointer; text-decoration: none; } .l-btn i { width: 32px; height: 32px; background: var(--orange); } .l-btn:hover { background: #1b3191; }
.l-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 14px 18px; }
.l-ca { font: 400 .85rem/1.4 var(--mono); color: var(--ink2); background: none; border: 1px dashed var(--line); padding: .6rem .9rem; cursor: pointer; max-width: 100%; overflow-wrap: anywhere; text-align: left; } .l-ca:hover { border-color: var(--ink); }
.l-small { font: 400 .78rem/1.5 var(--mono); color: var(--muted); max-width: 70ch; }
.l-desk-exit { position: fixed; top: calc(.9rem + env(safe-area-inset-top, 0px)); left: 50%; translate: -50% 0; z-index: 950; display: none; font: 400 .8rem/1 var(--mono); background: #fff; border: 1px solid var(--line); padding: .55rem .8rem; color: var(--ink); text-decoration: none; }
body.desk .l-desk-exit { display: block; }
@media (prefers-reduced-motion: no-preference) { .l-hero h1, .l-band { animation: rise .9s cubic-bezier(.2,.7,.2,1) both } .l-band { animation-delay: .12s } @keyframes rise { from { opacity: 0; transform: translateY(18px) } } }
.l-sky { position: absolute; inset: 0 -2vw; pointer-events: none; z-index: 0; }
.l-sky span { position: absolute; font: 400 clamp(.75rem, 1.15vw, 1.25rem)/1.1 var(--hand); color: var(--ink); opacity: .42; white-space: nowrap; transform: rotate(var(--r)); }
.l-hero .l-h1 { z-index: 1; }
.fr { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; line-height: 1; margin: 0 .12em; font-size: .9em; } .fr b { font-weight: inherit; border-bottom: 1.5px solid currentColor; padding: 0 .1em .06em; } .fr u { text-decoration: none; padding-top: .06em; }
.l-sky sub, .l-sky sup, .l-strip sub, .l-strip sup, .l-side sub, .l-side sup { font-size: .62em; }
@media (max-width: 900px) and (min-width: 701px) { .l-sky span:nth-child(n+7) { display: none } .l-sky span { opacity: .3 } }

.l-band img { aspect-ratio: 3.6 / 1; object-position: 50% 88%; }
.l-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 1.1rem 0 0; font: 400 clamp(.8rem, 1.05vw, 1.05rem)/1.2 var(--hand); color: var(--ink2); }
.l-strip span:nth-child(even) { transform: rotate(-1.5deg); } .l-strip span:nth-child(odd) { transform: rotate(1deg); }
.l-sec { position: relative; } .l-side { position: absolute; right: 0; top: clamp(3.5rem, 8vw, 7rem); font: 400 clamp(1rem, 2vw, 1.9rem)/1 var(--hand); color: var(--ink); opacity: .4; transform: rotate(-5deg); white-space: nowrap; }
@media (max-width: 700px) { .l-side { display: none } .l-band img { aspect-ratio: 4 / 3; object-position: 58% 60% } .l-formula { white-space: normal; font-size: clamp(1.05rem, 5.2vw, 1.5rem); line-height: 1.45 }
  .l-sky span { opacity: .28 } .l-sky span:nth-child(n+3) { display: none } .l-sky span { top: 1% !important; } .l-strip { justify-content: flex-start; gap: .4rem 1.2rem } }
@media (max-width: 380px) { .l-cta { padding-right: 10px } .l-logo { font-size: .95rem } .l-nav { gap: .6rem } .l-row { font-size: 1rem } }
.l-sub { position: relative; z-index: 1; margin: clamp(1.2rem, 2.4vw, 2rem) auto 0; max-width: 52ch; font: 400 clamp(1rem, 1.45vw, 1.3rem)/1.4 var(--ui); letter-spacing: -.02em; color: var(--ink2); }
.l-note.b { line-height: 1.05; }
.l-top { background: linear-gradient(var(--paper) 70%, transparent); }
.l-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.l-alt > div { border: 1px dashed var(--ink); padding: 1.1rem 1.2rem; display: grid; gap: .45rem; align-content: start; }
.l-band figcaption { top: clamp(.9rem, 2.2vw, 2rem); bottom: auto; left: clamp(1rem, 14%, 16rem); right: clamp(1rem, 12%, 14rem); justify-content: center; text-align: center; color: var(--ink); text-shadow: none; font: 500 clamp(.95rem, 1.7vw, 1.7rem)/1.2 var(--display); letter-spacing: -.03em; }
.l-band figcaption i { width: .7em; height: .7em; }
.l-alt b { font: 500 1.25rem/1.1 var(--display); letter-spacing: -.03em; } .l-alt span { color: var(--ink2); line-height: 1.45; }
.l-alt button, .l-alt a { justify-self: start; all: unset; cursor: pointer; font: 400 .88rem/1 var(--mono); color: var(--blue); text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 700px) { .l-alt { grid-template-columns: 1fr } .l-band figcaption { position: static; padding: .7rem .9rem; background: var(--blue); color: #fff; font-size: .95rem; justify-content: flex-start; text-align: left } }
/* ================================================================== the AI chat: a full LLM chat app, same paper */
.fc { display: none; position: fixed; inset: 0; z-index: 960; background: var(--paper); color: var(--ink); font-family: var(--ui);
  background-image: linear-gradient(rgba(49,49,49,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(49,49,49,.05) 1px, transparent 1px); background-size: 22px 22px; }
body.chat .fc { display: grid; grid-template-columns: 272px 1fr; } body.chat { overflow: hidden; } body.chat .landing { display: none; }
.fc-side { border-right: 1px solid var(--line); background: rgba(246,237,218,.92); display: grid; grid-template-rows: auto auto 1fr auto; min-height: 0; padding: 14px; gap: 12px; }
.fc-brand { display: flex; align-items: center; justify-content: space-between; } .fc-brand a { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: inherit; font: 500 1.05rem/1 var(--display); letter-spacing: -.03em; }
.fc-brand a i { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 24px; height: 24px; } .fc-brand a i b { background: var(--blue); } .fc-brand a i b:nth-child(2) { border-radius: 50% 50% 0 0; } .fc-brand a i b:nth-child(3) { border-radius: 50%; } .fc-brand a i b:nth-child(4) { border-radius: 0 0 0 100%; }
.fc-ib { all: unset; cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--ink2); } .fc-ib:hover { background: rgba(49,49,49,.07); } .fc-ib:focus-visible { outline: 2px solid var(--blue); }
.fc-new { all: unset; cursor: pointer; display: flex; align-items: center; gap: .55rem; padding: .7rem .85rem; border: 1px solid var(--line); background: #fff; font: 500 .9rem/1 var(--ui); } .fc-new:hover { border-color: var(--ink); } .fc-new:focus-visible { outline: 2px solid var(--blue); }
.fc-new::before { content: "+"; font: 400 1.2rem/1 var(--mono); color: var(--orange-ink); }
.fc-list { overflow: auto; min-height: 0; display: grid; align-content: start; gap: 2px; margin: 0 -6px; padding: 0 6px; }
.fc-list h4 { margin: .6rem .5rem .3rem; font: 400 .72rem/1 var(--mono); color: var(--muted); letter-spacing: .02em; }
.fc-item { all: unset; cursor: pointer; display: flex; align-items: center; gap: .4rem; padding: .55rem .6rem; border-radius: 8px; font: 400 .88rem/1.25 var(--ui); color: var(--ink); } .fc-item span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-item:hover, .fc-item[aria-current="true"] { background: rgba(36,63,165,.09); } .fc-item .x { opacity: 0; font: 400 .9rem/1 var(--mono); color: var(--muted); padding: 0 .2rem; } .fc-item:hover .x { opacity: 1; }
.fc-acct { border-top: 1px dashed var(--line); padding-top: 12px; display: grid; gap: .5rem; font-size: .85rem; }
.fc-bal { display: flex; justify-content: space-between; align-items: baseline; } .fc-bal b { font: 500 1.35rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .fc-bal span { font: 400 .75rem/1 var(--mono); color: var(--muted); }
.fc-acct button, .fc-acct summary { all: unset; cursor: pointer; font: 400 .82rem/1.3 var(--mono); color: var(--blue); } .fc-acct button:hover, .fc-acct summary:hover { text-decoration: underline; }
.fc-acct .hint { opacity: 1; color: var(--ink2); font-size: .78rem; } .fc-acct input { width: 100%; box-sizing: border-box; font: 400 .8rem/1.3 var(--mono); padding: .45rem .5rem; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.fc-acct pre { white-space: pre-wrap; word-break: break-all; font: 400 .7rem/1.4 var(--mono); background: #fff; border: 1px solid var(--line); padding: .5rem; margin: .3rem 0 0; }
.fc-main { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; min-width: 0; }
.fc-top { display: flex; align-items: center; gap: .6rem; padding: 10px 16px; }
.fc-top .menu { display: none; }
.fc-model { position: relative; } .fc-model select { appearance: none; font: 500 .92rem/1 var(--ui); color: var(--ink); background: transparent; border: 1px solid transparent; padding: .55rem 2rem .55rem .7rem; border-radius: 8px; cursor: pointer; max-width: min(60vw, 420px); text-overflow: ellipsis; }
.fc-model select:hover, .fc-model select:focus { border-color: var(--line); background: #fff; outline: none; } .fc-model::after { content: "⌄"; position: absolute; right: .7rem; top: 50%; translate: 0 -62%; pointer-events: none; color: var(--muted); }
.fc-top .sp { flex: 1; } .fc-top .home { font: 400 .82rem/1 var(--mono); color: var(--ink2); text-decoration: none; } .fc-top .home:hover { text-decoration: underline; }
.fc-scroll { overflow: auto; min-height: 0; } .fc-col { width: min(760px, 100% - 32px); margin: 0 auto; padding: 8px 0 24px; }
.fc-hello { min-height: 100%; display: grid; place-content: center; text-align: center; gap: 1rem; padding: 2rem 16px 1rem; }
.fc-hello h1 { margin: 0; font: 500 clamp(2rem, 4.6vw, 3.4rem)/1 var(--display); letter-spacing: -.05em; } .fc-hello .note { font: 400 1.05rem/1 var(--hand); color: var(--orange-ink); transform: rotate(-2deg); }
.fc-sugg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; width: min(680px, 100%); margin: .8rem auto 0; text-align: left; }
.fc-sugg button { all: unset; cursor: pointer; border: 1px solid var(--line); background: rgba(255,255,255,.55); padding: .8rem .9rem; display: grid; gap: .25rem; } .fc-sugg button:hover { border-color: var(--ink); background: #fff; } .fc-sugg button:focus-visible { outline: 2px solid var(--blue); }
.fc-sugg b { font: 500 .92rem/1.2 var(--ui); } .fc-sugg span { font: 400 .82rem/1.3 var(--ui); color: var(--muted); }
.fc-msg { padding: 14px 0; display: grid; gap: .5rem; } .fc-msg.u { justify-items: end; }
.fc-msg.u .body { background: #fff; border: 1px solid var(--line); padding: .7rem .95rem; max-width: 85%; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 1rem/1.5 var(--ui); }
.fc-msg.a { grid-template-columns: 28px minmax(0, 1fr); column-gap: .85rem; } .fc-av { width: 28px; height: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; margin-top: 2px; } .fc-av b { background: var(--blue); } .fc-av b:nth-child(2) { border-radius: 50% 50% 0 0; } .fc-av b:nth-child(3) { border-radius: 50%; } .fc-av b:nth-child(4) { border-radius: 0 0 0 100%; }
.fc-msg.a .body { font: 400 1rem/1.62 var(--ui); overflow-wrap: anywhere; min-width: 0; } .fc-msg.a .body > :first-child { margin-top: 0; } .fc-msg.a .body > :last-child { margin-bottom: 0; }
.fc-msg.a .body p, .fc-msg.a .body ul, .fc-msg.a .body ol { margin: 0 0 .8em; } .fc-msg.a .body h1, .fc-msg.a .body h2, .fc-msg.a .body h3 { font: 500 1.15rem/1.3 var(--display); letter-spacing: -.02em; margin: 1.1em 0 .4em; }
.fc-msg.a .body code { font: 400 .88em/1.4 var(--mono); background: rgba(36,63,165,.08); padding: .08em .3em; } .fc-msg.a .body pre { position: relative; background: #1d2440; color: #f6edda; padding: .9rem 1rem; overflow: auto; margin: 0 0 .9em; } .fc-msg.a .body pre code { background: none; padding: 0; color: inherit; font-size: .85rem; }
.fc-msg.a .body a { color: var(--blue); } .fc-msg.a .body blockquote { margin: 0 0 .8em; padding-left: .9rem; border-left: 2px solid var(--line); color: var(--ink2); }
.fc-acts { grid-column: 2; display: flex; gap: .3rem; align-items: center; font: 400 .75rem/1 var(--mono); color: var(--muted); } .fc-acts button { all: unset; cursor: pointer; padding: .3rem .45rem; border-radius: 6px; } .fc-acts button:hover { background: rgba(49,49,49,.07); color: var(--ink); }
.fc-src { grid-column: 2; display: flex; flex-wrap: wrap; gap: .35rem; } .fc-src a { font: 400 .75rem/1 var(--mono); border: 1px solid var(--line); padding: .35rem .5rem; color: var(--ink2); text-decoration: none; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(255,255,255,.6); } .fc-src a:hover { border-color: var(--ink); }
.fc-dots::after { content: "●"; animation: fcp 1s infinite; color: var(--blue); } @keyframes fcp { 50% { opacity: .2 } }
.fc-err { color: #b3361e; font-size: .92rem; }
.fc-dock { padding: 0 16px 14px; } .fc-box { width: min(760px, 100%); margin: 0 auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 12px 30px -18px rgba(11,25,65,.35); display: grid; }
.fc-box:focus-within { border-color: var(--ink); }
.fc-box textarea { resize: none; border: 0; outline: 0; background: transparent; font: 400 1rem/1.5 var(--ui); color: var(--ink); padding: .9rem 1rem .3rem; max-height: 40vh; min-height: 1.5em; }
.fc-box textarea::placeholder { color: var(--muted); }
.fc-tools { display: flex; align-items: center; gap: .4rem; padding: .4rem .5rem .5rem; }
.fc-chip { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; font: 400 .8rem/1 var(--mono); color: var(--ink2); border: 1px solid var(--line); padding: .45rem .6rem; } .fc-chip[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); } .fc-chip:focus-visible { outline: 2px solid var(--blue); }
.fc-send { all: unset; cursor: pointer; margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; background: var(--blue); color: #fff; } .fc-send:hover { background: #1b3191; } .fc-send:disabled { opacity: .35; cursor: default; } .fc-send.stop { background: var(--ink); } .fc-send:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.fc-send svg { width: 16px; height: 16px; fill: currentColor; }
.fc-fine { width: min(760px, 100%); margin: .45rem auto 0; text-align: center; font: 400 .72rem/1.3 var(--mono); color: var(--muted); }
.fc-gate { width: min(760px, 100%); margin: 0 auto .6rem; border: 1px dashed var(--ink); background: rgba(246,237,218,.9); padding: .7rem .9rem; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; font-size: .9rem; } .fc-gate b { font-weight: 500; } .fc-gate button { all: unset; cursor: pointer; font: 500 .82rem/1 var(--mono); background: var(--blue); color: #fff; padding: .55rem .75rem; } .fc-gate button.g { background: transparent; color: var(--blue); text-decoration: underline; padding: 0; }
.fc-scrim { display: none; } .fc-gate[hidden] { display: none; } .fc-gate { box-sizing: border-box; } #fc-close { display: none; }
@media (max-width: 820px) { #fc-close { display: grid } }
@media (max-width: 820px) { body.chat .fc { grid-template-columns: 1fr; } .fc-side { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 3; translate: -105% 0; transition: translate .25s ease; box-shadow: 10px 0 40px rgba(0,0,0,.18); }
  .fc.open .fc-side { translate: 0 0; } .fc.open .fc-scrim { display: block; position: fixed; inset: 0; background: rgba(11,25,65,.25); z-index: 2; } .fc-top .menu { display: grid; } .fc-sugg { grid-template-columns: 1fr; } .fc-sugg button:nth-child(n+3) { display: none } .fc-top .home { display: none } }
@media (prefers-reduced-motion: reduce) { .fc-side { transition: none } .fc-dots::after { animation: none } }
/* ================================================================== the claim desk, redrawn in the paper UI (no bust, no sky) */
body.desk #viz, body.desk .math, body.desk .sound, body.desk .demo, body.desk .prev, body.desk .cars { display: none !important; }
body.desk .stage { background: var(--paper); background-image: linear-gradient(rgba(49,49,49,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(49,49,49,.06) 1px, transparent 1px); background-size: 22px 22px; }
body.desk .hd { height: 64px; background: linear-gradient(var(--paper) 75%, transparent); }
body.desk .wordmark { display: flex; align-items: center; gap: .55rem; font: 500 1.1rem/1 var(--display); letter-spacing: -.03em; }
body.desk .wordmark sup { display: none; }
body.desk .main { inset: 64px 0 0 0; padding: 0 16px; overflow: auto; background: none; border-radius: 0; }
body.desk .step { max-width: 760px; margin: 0 auto; padding: clamp(1.5rem, 6vh, 4rem) 0 6rem; min-height: auto; }
body.desk .dialog { font: 500 clamp(1.7rem, 3.6vw, 2.8rem)/1.05 var(--display); letter-spacing: -.045em; transform: none !important; filter: none !important; color: #2c2c2c; }
body.desk .dialog.cursor::after { background: var(--orange); }
body.desk .content { margin-top: 1.6rem; gap: .9rem; display: grid; } body.desk .content > * { width: 100%; box-sizing: border-box; } body.desk .content > .seg { width: auto; justify-self: start; } body.desk .field .pill.next { justify-self: end; width: auto; }
body.desk .content > :not(.choices) { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid var(--line); border-radius: 0; box-shadow: 6px 6px 0 rgba(49,49,49,.07); padding: 1rem 1.2rem; }
body.desk .content > .hint { background: transparent; border: 0; box-shadow: none; padding: 0; color: var(--ink2); opacity: 1; }
body.desk .choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: .6rem; max-width: none; padding: 0; }
body.desk .pill { margin: 0; justify-content: space-between; border-radius: 0; background: #fff; border: 1px solid var(--line); padding: .95rem 1.05rem; font: 500 .98rem/1.2 var(--ui); letter-spacing: -.01em; color: var(--ink); box-shadow: none; }
body.desk .pill:hover, body.desk .pill:focus-visible { border-color: var(--ink); transform: translateY(-1px); background: #fffdf8; }
body.desk .pill.ghost { background: transparent; border-style: dashed; font-weight: 400; color: var(--ink2); opacity: 1; }
body.desk .pill:first-child:not(.ghost) { background: var(--blue); color: #fff; border-color: var(--blue); }
body.desk .seg { border-radius: 0; border-color: var(--line); background: #fff; padding: 4px; } body.desk .seg button { border-radius: 0; font: 400 .9rem/1 var(--mono); } body.desk .seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
body.desk .floating input { font-family: var(--mono); font-size: 1.05rem; } body.desk .field { width: 100%; }
body.desk .drop { border-radius: 0; border: 1.5px dashed var(--ink); background: #fff; padding: 2.2rem 1.4rem; width: 100%; } body.desk .drop b { font: 500 1.15rem/1.2 var(--display); letter-spacing: -.02em; }
body.desk .checks { width: 100%; } body.desk .chk { border-bottom: 1px dashed var(--line); padding: .55rem 0; }
body.desk .amount { font: 500 clamp(2.6rem, 6vw, 4.4rem)/1 var(--display); letter-spacing: -.05em; color: var(--ink); }
body.desk .amount small { display: block; margin-top: .6rem; font: 400 .9rem/1.4 var(--ui); color: var(--ink2); letter-spacing: 0; }
body.desk .tx { font: 400 .85rem/1 var(--mono); color: var(--blue); }
body.desk .ca { border-radius: 0; border: 1px dashed var(--line); background: transparent; }
body.desk .progress { border-top: 3px solid var(--orange); }
body.desk .back { border-radius: 0; background: #fff; border: 1px solid var(--line); color: var(--ink); } body.desk .back svg { fill: var(--ink); }
@media (max-width: 1024px) { body.desk .main { inset: 64px 0 0 0; padding: 0 16px; } body.desk .step { padding: 1.4rem 0 6rem; } }
/* ================================================================== Zcash runs: a mining dashboard in the paper UI */
.zm { display: none; position: fixed; inset: 0; z-index: 958; overflow: auto; background: var(--paper); color: var(--ink); font-family: var(--ui);
  background-image: linear-gradient(rgba(49,49,49,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(49,49,49,.06) 1px, transparent 1px); background-size: 22px 22px; }
body.mine .zm { display: block; } body.mine { overflow: hidden; } body.mine .landing { display: none; }
.zm-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 1rem; padding: 12px clamp(16px, 2.4vw, 32px); background: linear-gradient(var(--paper) 80%, transparent); flex-wrap: wrap; }
.zm-top .l-logo { margin-right: .4rem; } .zm-top .tag { font: 400 .8rem/1 var(--mono); color: var(--ink2); border: 1px solid var(--line); padding: .35rem .55rem; background: #fff; }
.zm-top nav { display: flex; gap: 1.2rem; margin-left: auto; font: 400 .85rem/1 var(--mono); } .zm-top nav a { color: var(--ink); text-decoration: none; } .zm-top nav a:hover { text-decoration: underline; }
.zm-wrap { width: min(1280px, 100% - 2 * clamp(16px, 2.4vw, 32px)); margin: 0 auto; padding-bottom: 4rem; }
.zm-head { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; padding: clamp(1.2rem, 3vw, 2.4rem) 0 1.4rem; }
.zm-head h1 { margin: 0; font: 500 clamp(2.2rem, 5vw, 4.4rem)/.95 var(--display); letter-spacing: -.055em; } .zm-head h1 em { display: block; font: 400 .3em/1 var(--hand); color: var(--orange-ink); font-style: normal; letter-spacing: 0; margin-bottom: .7em; transform: rotate(-2deg); text-transform: uppercase; }
.zm-who { display: flex; gap: .5rem; align-items: center; } .zm-who input { width: min(380px, 70vw); box-sizing: border-box; font: 400 .9rem/1 var(--mono); padding: .75rem .8rem; border: 1px solid var(--line); background: #fff; color: var(--ink); } .zm-who input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.zm-who button { all: unset; cursor: pointer; font: 500 .85rem/1 var(--mono); background: var(--blue); color: #fff; padding: .8rem 1rem; } .zm-who button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.zm-kpis { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: #fff; }
.zm-kpis > div { padding: 1rem 1.1rem; border-right: 1px solid var(--line); } .zm-kpis > div:last-child { border-right: 0; }
.zm-kpis span { display: block; font: 400 .72rem/1 var(--mono); color: var(--muted); margin-bottom: .55rem; } .zm-kpis b { font: 500 clamp(1.3rem, 2.2vw, 1.9rem)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; } .zm-kpis small { display: block; margin-top: .35rem; font: 400 .75rem/1.2 var(--mono); color: var(--ink2); }
.zm-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; margin-top: 1rem; }
.zm-card { background: #fff; border: 1px solid var(--line); box-shadow: 6px 6px 0 rgba(49,49,49,.07); padding: clamp(1rem, 2vw, 1.5rem); min-width: 0; }
.zm-card h2 { margin: 0 0 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: 500 1.2rem/1.1 var(--display); letter-spacing: -.03em; }
.zm-badge { font: 500 .72rem/1 var(--mono); padding: .4rem .55rem; border: 1px solid currentColor; letter-spacing: .03em; } .zm-badge.live { color: #1c7a3e; } .zm-badge.live::before { content: "● "; animation: fcp 1.2s infinite; } .zm-badge.sim { color: #b27a00; } .zm-badge.done { color: var(--muted); } .zm-badge.wait { color: var(--orange-ink); }
.zm-big { display: flex; align-items: baseline; gap: .6rem; font: 500 clamp(2.6rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; } .zm-big small { font: 400 1.1rem/1 var(--mono); color: var(--ink2); letter-spacing: 0; }
.zm-chart { width: 100%; height: 120px; display: block; margin: .8rem 0 1rem; }
.zm-prog { height: 10px; background: var(--paper); border: 1px solid var(--line); } .zm-prog i { display: block; height: 100%; background: #f4b728; transition: width .6s; }
.zm-progl { display: flex; justify-content: space-between; margin-top: .45rem; font: 400 .78rem/1 var(--mono); color: var(--ink2); }
.zm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 1.1rem; border-top: 1px dashed var(--line); }
.zm-stats div { padding: .85rem .6rem .2rem 0; } .zm-stats span { display: block; font: 400 .7rem/1 var(--mono); color: var(--muted); margin-bottom: .4rem; } .zm-stats b { font: 500 1.15rem/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.zm-empty { padding: 1.4rem 0 .4rem; color: var(--ink2); line-height: 1.5; } .zm-empty b { color: var(--ink); }
.zm-side { display: grid; gap: 1rem; align-content: start; }
.zm-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: .8rem; counter-reset: s; } .zm-steps li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .5rem; line-height: 1.4; color: var(--ink2); font-size: .92rem; counter-increment: s; } .zm-steps li::before { content: counter(s) "."; font: 400 1.05rem/1.3 var(--hand); color: var(--orange-ink); } .zm-steps b { color: var(--ink); font-weight: 500; }
.zm-cta { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .6rem; background: var(--blue); color: #fff; font: 500 .95rem/1 var(--mono); padding: .95rem 1rem; margin-top: 1rem; } .zm-cta:hover { background: #1b3191; } .zm-cta i { width: 18px; height: 18px; background: var(--orange); }
.zm-addr { font: 400 .82rem/1.4 var(--mono); word-break: break-all; background: var(--paper); border: 1px dashed var(--line); padding: .6rem .7rem; margin: .4rem 0; } .zm-link { font: 400 .8rem/1 var(--mono); color: var(--blue); }
.zm-table { width: 100%; border-collapse: collapse; font-size: .9rem; } .zm-table th { text-align: left; font: 400 .72rem/1 var(--mono); color: var(--muted); padding: .55rem .5rem; border-bottom: 1px solid var(--ink); white-space: nowrap; } .zm-table td { padding: .7rem .5rem; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.zm-tw { overflow-x: auto; } .zm-fine { font: 400 .75rem/1.5 var(--mono); color: var(--muted); margin-top: 1rem; max-width: 80ch; }
@media (max-width: 960px) { .zm-kpis { grid-template-columns: repeat(2, 1fr); } .zm-kpis > div { border-bottom: 1px solid var(--line); } .zm-grid { grid-template-columns: 1fr; } .zm-head { grid-template-columns: 1fr; } .zm-stats { grid-template-columns: repeat(2, 1fr); } .zm-top nav { margin-left: 0; width: 100%; overflow-x: auto; white-space: nowrap; gap: 1rem; padding-bottom: .2rem; } }
.l-burger { all: unset; display: none; cursor: pointer; width: 36px; height: 36px; place-content: center; gap: 5px; } .l-burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.l-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .l-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; } .l-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.l-burger:focus-visible { outline: 2px solid var(--blue); }
.l-menu { position: absolute; left: clamp(16px, 2.2vw, 28px); right: clamp(16px, 2.2vw, 28px); top: calc(100% - 4px); background: #fff; border: 1px solid var(--line); box-shadow: 6px 6px 0 rgba(49,49,49,.08); display: grid; padding: .4rem 1rem 1rem; z-index: 6; }
.l-menu[hidden] { display: none; } .l-menu a { padding: .85rem 0; border-bottom: 1px dashed var(--line); text-decoration: none; font: 500 1.05rem/1 var(--ui); letter-spacing: -.01em; color: var(--ink); } .l-menu .l-cta { margin-top: .9rem; justify-content: center; padding: 10px 14px 10px 10px; }
@media (max-width: 900px) { .l-burger { display: grid; } .l-nav > .l-cta { display: none; } .l-top { position: sticky; } .l-nav { width: 100%; justify-content: space-between; box-sizing: border-box; } .l-top { grid-template-columns: 1fr; } }
