@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(assets/nunito.woff2) format('woff2');
}

:root {
  --bg: #0a0b0e;
  --bg-2: #111318;
  --txt: #f2f3f7;
  --mut: rgba(242, 243, 247, .62);
  --faint: rgba(242, 243, 247, .34);
  --line: rgba(255, 255, 255, .08);
  --accent: #3d7bff;

  --image: #b197fc;
  --video: #ff8094;
  --audio: #5be08f;
  --document: #74b0ff;
  --data: #ffd84d;
  --archive: #ffb878;
  --folder: #9cc8ff;
  --model: #5fd4d8;
  --cad: #c9a8ff;
  --typeface: #f2a2d0;
  --book: #ffa98a;
  --ok: #5be08f;

  --brand: 'Nunito', ui-rounded, system-ui, sans-serif;
  --body: 'Geist', -apple-system, system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --round: ui-rounded, 'SF Pro Rounded', 'Nunito', system-ui, sans-serif;

  /* Ring surfaces, mirroring the app's two styles. */
  --sec-fill: rgba(18, 20, 36, .55); --sec-stroke: rgba(255, 255, 255, .13);
  --lens-fill: rgba(10, 12, 24, .7); --lens-stroke: rgba(255, 255, 255, .16);
  --pre-fill: rgba(18, 20, 36, .8); --tint-op: .36; --backdrop: rgba(14, 16, 26, .55);

  --spring: cubic-bezier(.2, 1.35, .4, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
  --gut: clamp(16px, 4vw, 56px);
  --W: min(78vh, 52vw, 660px);
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--txt); -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font: 400 17px/1.55 var(--body); background: var(--bg); overflow-x: hidden; }
a { color: inherit; }
kbd {
  display: inline-grid; place-items: center; min-width: 1.7em; height: 1.55em; padding: 0 .35em;
  font: 700 .82em/1 var(--round); color: var(--txt);
  background: linear-gradient(180deg, #2a2d37, #1b1d24); border-radius: .35em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 0 #07080a, 0 3px 8px rgba(0, 0, 0, .5);
  vertical-align: .08em;
}
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.label { color: var(--faint); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 60; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut); pointer-events: none;
}
.top > * { pointer-events: auto; }
.brand { text-decoration: none; }
.wordmark { font: 800 26px/1 var(--brand); letter-spacing: -.02em; display: inline-flex; align-items: center; }
.ring-o {
  display: inline-block; width: .62em; height: .62em; margin-left: .04em; margin-top: .1em;
  background: url(assets/ring-o.svg) center/contain no-repeat;
}
.top-nav { display: flex; gap: 6px; font-size: 14px; }
.top-nav a {
  text-decoration: none; color: var(--mut); padding: 7px 12px; border-radius: 99px; transition: color .2s, background .2s;
}
.top-nav a:hover { color: var(--txt); background: rgba(255, 255, 255, .06); }
.top-nav .top-cta { color: var(--txt); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* ---------- tour stage ---------- */
.track { position: relative; height: 1100vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.desk {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(61, 123, 255, .07), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.4px) 0 0/28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 100%);
}
.desk-files { position: absolute; inset: 0; opacity: var(--ui, 0); }
.desk-file {
  all: unset; box-sizing: border-box;
  position: absolute; display: grid; justify-items: center; gap: 6px; width: 92px;
  font: 500 11px/1.25 var(--body); color: var(--mut); text-align: center; cursor: pointer;
  transition: opacity .4s, filter .4s;
}
.desk-file span { padding: 1px 5px; border-radius: 4px; }
.desk-file:hover span { background: rgba(61, 123, 255, .85); color: #fff; }
.desk-file.away { opacity: 0; pointer-events: none; }
.desk-file.dim { opacity: .35; filter: saturate(.4); }

.doc-icon {
  --k: var(--document);
  position: relative; width: 46px; height: 58px; border-radius: 5px 13px 5px 5px;
  background: linear-gradient(170deg, #fdfdfd, #dfe2ea);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 8px 18px rgba(0, 0, 0, .45);
  display: grid; place-items: end center; padding-bottom: 8px;
}
.doc-icon::before {
  content: ''; position: absolute; top: 0; right: 0; width: 13px; height: 13px;
  background: linear-gradient(225deg, transparent 50%, #c4c8d3 50%); border-bottom-left-radius: 3px;
}
.doc-icon span {
  font: 800 9px/1 var(--brand); letter-spacing: .04em; color: #fff; background: var(--k);
  padding: 3px 5px; border-radius: 3px; filter: saturate(1.15) brightness(.82);
}
.desk-file .doc-icon { transform: rotate(var(--r, 0deg)); }

.hero { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hero .kicker { position: absolute; top: 12.5vh; left: var(--gut); color: var(--mut); margin: 0; }
.hero h1 { margin: 0; font: 850 min(7.2vw, 11vh, 128px)/.95 var(--brand); letter-spacing: -.035em; }
.hero .h-a { position: absolute; top: calc(12.5vh + 26px); left: var(--gut); }
.hero h1 em {
  position: absolute; right: var(--gut); bottom: 5vh; font-size: 1.08em; color: #dfe4ff; line-height: 1.05; white-space: nowrap;
}
.hero .lede {
  position: absolute; left: var(--gut); bottom: 9vh; max-width: 30ch; margin: 0; color: var(--mut); font-size: 16px;
}

.wheel-wrap {
  position: absolute; left: 50%; top: 50%; width: var(--W); height: var(--W); translate: -50% -50%; z-index: 4;
}
.wheel-wrap::before {
  content: ''; position: absolute; inset: calc(var(--W) * .155); border-radius: 50%;
  background: var(--backdrop); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  opacity: var(--bd, 0); transition: opacity .5s;
}
.wheel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.sec { transform-box: fill-box; transform-origin: center; cursor: pointer; }
.sec.in { animation: secIn .5s var(--spring) var(--d) both; }
@keyframes secIn {
  from { transform: translate(calc(var(--ux) * -46px), calc(var(--uy) * -46px)) scale(.55); opacity: 0; }
  60% { opacity: 1; }
  to { transform: none; opacity: 1; }
}
.sec.out { transition: transform .3s var(--out), opacity .25s; transform: scale(.4); opacity: 0; }
.lift { transform-box: fill-box; transform-origin: center; transition: transform .28s var(--spring); }
.sec.hot .lift { transform: translate(calc(var(--ux) * 9px), calc(var(--uy) * 9px)) scale(1.04); }
.sec .gl { fill: var(--k); opacity: 0; transition: opacity .25s; }
.sec.hot .gl { opacity: .7; }
.sec .body { fill: var(--sec-fill); stroke: var(--sec-stroke); stroke-width: 1; }
.sec .tint { fill: var(--k); opacity: 0; transition: opacity .2s; }
.sec.hot .tint { opacity: var(--tint-op); }
.sec .edge { fill: none; stroke: transparent; stroke-width: 1.4; transition: stroke .2s; }
.sec.hot .edge { stroke: var(--kz); }
.sec .rim { fill: none; stroke: var(--k); stroke-width: 3; stroke-linecap: round; opacity: 0; transition: opacity .2s; }
.sec.hot .rim { opacity: 1; }
.sec .dflt { fill: var(--k); }
.sec .ic { fill: none; stroke: var(--kz); stroke-width: 1.5; }
.wheel text { fill: var(--txt); text-anchor: middle; dominant-baseline: central; font-family: var(--round); }
.wheel .n { font-size: 15px; font-weight: 750; }
.wheel .s { font-size: 10.5px; fill: var(--mut); transition: fill .2s; }
.sec.hot .s { fill: var(--txt); }

.pre { transform-box: fill-box; transform-origin: center; animation: preIn .32s var(--spring) var(--d) both; }
@keyframes preIn { from { transform: scale(.78); opacity: 0; } to { transform: none; opacity: 1; } }
.pre .pb { fill: var(--pre-fill); stroke: color-mix(in srgb, var(--k) 55%, transparent); stroke-width: 1; }
.pre .pt { fill: var(--k); opacity: 0; transition: opacity .2s; }
.pre.hot .pt { opacity: .5; }
.pre text { font-size: 11px; font-weight: 700; }

.lens { opacity: 0; transition: opacity .35s; }
.lens.on { opacity: 1; }
.lens-bg { fill: var(--lens-fill); }
.lens-edge { fill: none; stroke: var(--lens-stroke); stroke-width: 1; }
.lens-glow { fill: var(--k); opacity: .35; }
#needle { transition: transform .45s var(--spring); }
#needlePath { fill: none; stroke: var(--k); stroke-width: 3; stroke-linecap: round; }
.l-name { font-size: 12.5px; font-weight: 700; }
.l-big { font-size: 21px; font-weight: 850; fill: var(--k) !important; }
.l-m { font-size: 10.5px; fill: var(--mut) !important; }
.l-ok { font-size: 12px; font-weight: 800; fill: var(--ok) !important; }
.ll { transform-box: fill-box; transform-origin: center; }
.ll.swap { animation: llIn .2s var(--out) both; }
@keyframes llIn { from { opacity: .2; transform: scale(.94); } to { opacity: 1; transform: none; } }

.file-chip {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; pointer-events: none;
  transition: opacity .3s;
}
.file-chip .doc-icon { width: 62px; height: 78px; padding-bottom: 11px; transition: transform .35s var(--spring), box-shadow .35s; }
.file-chip .doc-icon span { font-size: 11px; }
.file-chip.held .doc-icon { transform: scale(1.08) rotate(-4deg); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 22px 40px rgba(0, 0, 0, .6); }
.file-chip.gone { opacity: 0; }
.desk-file:focus-visible span { outline: 2px solid var(--accent); }

.cursor {
  position: absolute; width: 26px; height: 26px; left: 50%; top: 50%; z-index: 5; pointer-events: none;
  fill: #fff; stroke: #000; stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
  opacity: 0;
}
.keycap {
  position: absolute; left: 50%; top: calc(50% + 58px); translate: -50% 0; display: flex; align-items: center; gap: 10px;
  font: 500 13px var(--body); color: var(--mut); opacity: 0; z-index: 5; white-space: nowrap;
}
.keycap kbd { font-size: 20px; transition: transform .12s, box-shadow .12s; }
.keycap.down kbd { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 #07080a, 0 1px 4px rgba(0, 0, 0, .5); background: linear-gradient(180deg, #2f4f9e, #22397a); }

.panel {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 4;
  width: calc((100vw - var(--W)) / 2 - var(--gut) * 1.4); max-width: 360px;
  opacity: 0; visibility: hidden;
}
.panel-l { left: var(--gut); }
.panel-r { right: var(--gut); }
.panel p { margin: 0; }
.step-no { color: var(--faint); margin-bottom: 18px !important; }
.kind-tag { display: inline-flex; align-items: center; gap: 8px; font: 700 13px var(--brand); color: var(--k); letter-spacing: .02em; text-transform: uppercase; }
.kind-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--k); box-shadow: 0 0 12px var(--k); }
.file-name { font-size: clamp(18px, 2vw, 26px); margin: 10px 0 6px !important; color: var(--txt); word-break: break-all; letter-spacing: -.01em; }
.file-meta { color: var(--mut); font-size: 14px; }
.chap-say { margin-top: 22px !important; color: var(--mut); font-size: 15px; max-width: 32ch; }
.opt-title { font: 850 clamp(30px, 3.6vw, 52px)/1 var(--brand); letter-spacing: -.03em; margin: 0; color: var(--k); }
.opt-sub { margin-top: 8px !important; font: 600 15px var(--brand); color: var(--txt); }
.opt-say { margin-top: 14px !important; color: var(--mut); font-size: 15px; min-height: 4.8em; }
.result {
  margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line);
}
.result .mono { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.res-bar i { display: block; height: 100%; width: 50%; border-radius: inherit; background: var(--k); transition: width .5s var(--out); }
.res-size { color: var(--k); }

.chapters {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 6; display: flex; gap: 4px;
  padding: 5px; border-radius: 99px; background: rgba(20, 22, 30, .7); box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; max-width: calc(100vw - 32px); overflow-x: auto; scrollbar-width: none;
}
.chapters button {
  all: unset; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px;
  font: 600 12.5px var(--brand); color: var(--mut); white-space: nowrap; transition: color .2s, background .2s;
}
.chapters button i { width: 6px; height: 6px; border-radius: 50%; background: var(--k); opacity: .6; }
.chapters button:hover { color: var(--txt); }
.chapters button.on { color: var(--txt); background: rgba(255, 255, 255, .09); }
.chapters button.on i { opacity: 1; box-shadow: 0 0 8px var(--k); }
.chapters button:focus-visible { outline: 2px solid var(--accent); }

.scroll-hint { position: absolute; right: var(--gut); top: 50%; translate: 0 -50%; writing-mode: vertical-rl; flex-direction: column; color: var(--faint); margin: 0; z-index: 5; display: flex; align-items: center; gap: 10px; }
.scroll-hint::before { content: ''; width: 1px; height: 26px; background: linear-gradient(var(--faint), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.toast {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 7; display: flex; gap: 14px; align-items: center;
  padding: 14px 22px 14px 16px; border-radius: 22px; background: rgba(22, 24, 34, .9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 60px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; white-space: nowrap;
}
.toast b { display: block; font: 800 17px var(--brand); }
.toast small { color: var(--mut); font-size: 13px; }
.toast-check { width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 18%, transparent); position: relative; }
.toast-check::after { content: ''; position: absolute; left: 12px; top: 8px; width: 8px; height: 14px; border: solid var(--ok); border-width: 0 3px 3px 0; rotate: 45deg; }

/* ---------- gestures ---------- */
.gestures { padding: 22vh var(--gut) 18vh; max-width: 1240px; margin: 0 auto; }
.g-line { font: 800 clamp(34px, 5.6vw, 84px)/1.08 var(--brand); letter-spacing: -.035em; margin: 0 0 .18em; color: var(--txt); }
.g-line:nth-child(3) { padding-left: 6vw; }
.g-line:nth-child(4) { padding-left: 12vw; }
.g-item { display: inline-flex; align-items: center; gap: .22em; font-family: var(--serif); font-style: italic; font-weight: 400; color: #dfe4ff; letter-spacing: -.01em; }
.g-item kbd { font-size: .55em; font-style: normal; animation: press 2.4s ease-in-out infinite; }
@keyframes press { 0%, 40%, 100% { transform: none; } 45%, 85% { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 #07080a; background: linear-gradient(180deg, #2f4f9e, #22397a); } }
.mini-doc { display: inline-block; width: .5em; height: .64em; border-radius: .05em .14em .05em .05em; background: linear-gradient(170deg, #fdfdfd, #dfe2ea); animation: shake 2.4s ease-in-out infinite; }
@keyframes shake { 0%, 50%, 100% { transform: none; } 55% { transform: translateX(-.12em) rotate(-8deg); } 60% { transform: translateX(.12em) rotate(8deg); } 65% { transform: translateX(-.1em) rotate(-6deg); } 70% { transform: translateX(.08em) rotate(5deg); } 75% { transform: none; } }
.notch { display: inline-block; width: .9em; height: .3em; transform-origin: 50% 0; border-radius: 0 0 .14em .14em; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); position: relative; top: -.32em; animation: notch 2.4s ease-in-out infinite; }
@keyframes notch { 0%, 30%, 100% { transform: none; } 45%, 85% { transform: scale(1.5, 1.7); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 .5em rgba(61, 123, 255, .6); } }
.g-foot { margin: 6vh 0 0 auto; max-width: 38ch; color: var(--mut); font-size: 18px; }

/* ---------- local ---------- */
.local { position: relative; padding: 16vh var(--gut); max-width: 1240px; margin: 0 auto; }
.meter { height: 120px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.meter svg { width: 100%; height: 100%; overflow: visible; }
#flatline { fill: none; stroke: var(--ok); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(91, 224, 143, .6)); }
.big { font: 850 clamp(48px, 9vw, 150px)/.92 var(--brand); letter-spacing: -.045em; margin: 0; }
.big em { font-size: .62em; line-height: 1.1; color: #dfe4ff; display: inline-block; margin-top: .1em; }
.zero { color: var(--ok); }
.local-say { max-width: 52ch; color: var(--mut); font-size: 19px; margin: 32px 0 0; }
.try {
  margin-top: 12vh; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; max-width: 720px;
  padding: 26px; border-radius: 28px; border: 1.5px dashed rgba(255, 255, 255, .16); transition: border-color .3s, background .3s;
}
.try.over { border-color: var(--accent); background: rgba(61, 123, 255, .06); }
.try-ring { width: 84px; height: 84px; display: grid; place-items: center; }
.big-o { width: 84px; height: 84px; margin: 0; animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.try-title { margin: 0; font: 800 24px var(--brand); letter-spacing: -.02em; }
.try-say { margin: 6px 0 0; color: var(--mut); font-size: 15px; }

/* ---------- formats ---------- */
.formats { position: relative; min-height: 120vh; display: grid; align-items: center; padding: 10vh var(--gut); overflow: hidden; }
.orbit { position: absolute; right: -24vmin; top: 50%; width: 120vmin; height: 120vmin; translate: 0 -50%; }
.orbit-ring { position: absolute; inset: var(--i); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .05); animation: spin var(--t) linear infinite; animation-direction: var(--dir); }
.orbit-ring span {
  position: absolute; left: 50%; top: 50%; font: 700 13px var(--mono); color: var(--k); white-space: nowrap;
  transform: rotate(var(--a)) translateY(var(--r)) rotate(calc(-1 * var(--a)));
  translate: -50% -50%; padding: 4px 8px; border-radius: 6px; background: color-mix(in srgb, var(--k) 10%, var(--bg));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k) 30%, transparent);
}
.orbit-core { position: absolute; inset: 41%; border-radius: 50%; background: url(assets/orbo-icon.png) center/contain no-repeat; filter: drop-shadow(0 20px 50px rgba(61, 123, 255, .35)); }
.formats-copy { position: relative; max-width: 620px; z-index: 1; }
.formats-copy > p { color: var(--mut); font-size: 18px; margin: 28px 0 0; }
.formats .big { font-size: clamp(44px, 6.4vw, 104px); }
.fam { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fam li { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; font: 650 13px var(--brand); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.fam li svg { width: 15px; height: 15px; stroke: var(--k); fill: none; }

/* ---------- download ---------- */
.get { text-align: center; padding: 18vh var(--gut) 14vh; display: grid; justify-items: center; }
.app-icon { width: 160px; height: 160px; filter: drop-shadow(0 30px 60px rgba(61, 123, 255, .3)); margin-bottom: 40px; }
.get .big { font-size: clamp(48px, 8vw, 132px); }
.get-say { max-width: 46ch; color: var(--mut); font-size: 18px; margin: 30px 0 0; }
.get-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px 14px 18px; border-radius: 18px; text-decoration: none; text-align: left;
  transition: transform .25s var(--spring), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn b { display: block; font: 800 17px var(--brand); letter-spacing: -.01em; }
.btn small { display: block; font-size: 12.5px; opacity: .72; }
.btn svg { width: 26px; height: 26px; fill: currentColor; }
.btn-main { background: var(--accent); color: #fff; box-shadow: 0 12px 34px rgba(61, 123, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-main[aria-disabled="true"] { cursor: default; }
.btn-coffee { background: #ffdd00; color: #1a1300; box-shadow: 0 12px 34px rgba(255, 221, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .5); }
.cup { position: relative; width: 24px; height: 26px; }
.cup::before { content: ''; position: absolute; left: 2px; bottom: 0; width: 16px; height: 15px; border-radius: 2px 2px 6px 6px; background: #1a1300; }
.cup::after { content: ''; position: absolute; right: 0; bottom: 4px; width: 5px; height: 7px; border: 2.5px solid #1a1300; border-left: 0; border-radius: 0 5px 5px 0; }
.cup i { position: absolute; bottom: 17px; width: 2.5px; height: 7px; border-radius: 2px; background: #1a1300; opacity: 0; animation: steam 2s ease-in-out infinite; }
.cup i:nth-child(1) { left: 5px; }
.cup i:nth-child(2) { left: 9px; animation-delay: .4s; }
.cup i:nth-child(3) { left: 13px; animation-delay: .8s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(3px); } 40% { opacity: .7; } 100% { opacity: 0; transform: translateY(-5px); } }
.btn-coffee:hover .cup i { animation-duration: 1.1s; }
.get-foot { color: var(--faint); margin-top: 26px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 30px var(--gut) 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.foot p { margin: 0; }
.foot a { color: var(--mut); text-decoration: none; }
.foot a:hover { color: var(--txt); }
.foot-links { display: flex; gap: 18px; }

/* ---------- drop preview ---------- */
.drop-veil {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(10, 11, 14, .35), rgba(10, 11, 14, .82) 40%);
}
.drop-veil.on { opacity: 1; }
.wheel-mini { position: absolute; width: 440px; height: 440px; left: var(--x, 50%); top: var(--y, 50%); translate: -50% -50%; }
.drop-note {
  position: absolute; left: 50%; bottom: 7vh; translate: -50% 0; margin: 0; padding: 12px 18px; border-radius: 14px; text-align: center;
  background: rgba(22, 24, 34, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 14px; color: var(--mut); max-width: min(560px, 90vw);
}
.drop-note b { color: var(--txt); }
.drop-veil.dropped { pointer-events: auto; cursor: pointer; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  :root { --W: min(92vw, 52vh, 520px); }
  .wheel-wrap { top: 40%; }
  .panel { top: auto; bottom: 74px; translate: none; width: auto; max-width: none; }
  .panel-l { left: var(--gut); right: 52%; }
  .panel-r { right: var(--gut); left: 52%; }
  .chap-say, .opt-say, .result, .file-meta { display: none; }
  .step-no { margin-bottom: 8px !important; }
  .opt-title { font-size: 28px; }
  .hero h1 { font-size: 11vw; }
  .desk-files { display: none; }
  .hero .lede { bottom: calc(7vh + 13vw); font-size: 15px; }
  .scroll-hint { display: none; }
  .top-nav a:not(.top-cta) { display: none; }
  .orbit { right: -50vmin; opacity: .45; }
  .try { grid-template-columns: 1fr; }
  .wheel-mini { width: min(440px, 92vw); height: min(440px, 92vw); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Room for umlaut dots under the small label. */
.label + .big { margin-top: .2em; }

/* ---------- glass style ---------- */
.sec, .pre, .lens, .wheel { --kz: var(--k); }
html.glass {
  --sec-fill: rgba(255, 255, 255, .12); --sec-stroke: rgba(255, 255, 255, .30);
  --lens-fill: rgba(255, 255, 255, .14); --lens-stroke: rgba(255, 255, 255, .38);
  --pre-fill: rgba(255, 255, 255, .18); --tint-op: .46; --backdrop: rgba(255, 255, 255, .06);
}
html.glass .sec, html.glass .pre, html.glass .lens { --kz: color-mix(in srgb, var(--k) 38%, #fff); }
html.glass .wheel text { paint-order: stroke; stroke: rgba(10, 14, 50, .22); stroke-width: 1.6px; stroke-linejoin: round; }
html.glass .wheel .s { fill: rgba(255, 255, 255, .8); }
html.glass .l-big { fill: #fff !important; }
html.glass .wheel-wrap::before { -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8); }

/* A soft "wallpaper" so the glass has something to refract. */
.stage::before {
  content: ''; position: absolute; inset: -10%; pointer-events: none; opacity: 0; transition: opacity .8s var(--out);
  background:
    radial-gradient(38% 42% at 30% 38%, rgba(61, 123, 255, .55), transparent 70%),
    radial-gradient(34% 38% at 70% 62%, rgba(95, 212, 216, .38), transparent 70%),
    radial-gradient(30% 34% at 62% 26%, rgba(255, 184, 120, .30), transparent 70%),
    radial-gradient(28% 30% at 36% 74%, rgba(255, 128, 148, .24), transparent 70%);
  filter: blur(40px); animation: drift 26s ease-in-out infinite alternate;
}
html.glass .stage::before { opacity: 1; }
@keyframes drift { to { transform: translate3d(3%, -2%, 0) rotate(8deg) scale(1.06); } }

.style-switch {
  position: absolute; left: var(--gut); bottom: 22px; z-index: 6; display: flex; padding: 4px; border-radius: 99px;
  background: rgba(20, 22, 30, .6); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.style-switch button {
  all: unset; cursor: pointer; padding: 6px 12px; border-radius: 99px; font: 600 12.5px var(--brand); color: var(--mut); transition: color .2s, background .2s;
}
.style-switch button[aria-pressed="true"] { color: var(--txt); background: rgba(255, 255, 255, .12); }
.style-switch button:focus-visible { outline: 2px solid var(--accent); }
html.glass .style-switch { background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .18); }
@media (max-width: 980px) {
  .style-switch { left: auto; right: var(--gut); bottom: auto; top: 64px; }
}

/* ---------- Windows visitors ---------- */
html.win .mac-only { display: none; }
html.win .btn-win { order: -1; }
html.win .btn-mac { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
html:not(.win) .btn-win { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
kbd.mod-key { min-width: 1.7em; }

.get-note { max-width: 58ch; margin: 26px auto 0; color: var(--faint); font-size: 14px; line-height: 1.55; }
.get-foot a { color: var(--mut); text-decoration: none; border-bottom: 1px solid var(--line); }
.get-foot a:hover { color: var(--txt); }
