/* Wordmark: Bricolage Grotesque ExtraBold (SIL OFL 1.1), latin subset, self-hosted */
@font-face { font-family: "ClipTen Wordmark"; src: url("/assets/clipten-wordmark.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ClipTen — clipten.com
   White paper, black ink, and one neon green that behaves like a keyboard backlight:
   it only lights where a key is pressed or a slot is full. */

:root {
  color-scheme: only light;
  --bg: #ffffff;
  --bg-2: #f6f7f5;
  --ink: #0b0d0c;
  --ink-2: #2a2e2c;
  --muted: #5e6561;
  --faint: #969c98;
  --line: #e8eae7;
  --line-2: #d9dcd8;

  --neon: #2bff88;
  --neon-2: #12e874;
  --neon-ink: #007a3f;
  --neon-soft: #d9ffe9;
  --glow: rgba(43, 255, 136, .55);
  --glow-soft: rgba(43, 255, 136, .22);

  --cap-hi: #ffffff;
  --cap-lo: #f2f3f1;
  --cap-edge: #dcdfdb;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--neon); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 20px; height: 20px; flex: none; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--neon-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--ink); }

/* ------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 650 17px/1 var(--display); letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand .wm { font: 800 20px/1 "ClipTen Wordmark", var(--display); letter-spacing: -.035em; }
.brand .wm span { color: var(--neon-ink); }
.links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.links a {
  position: relative; display: block; padding: 10px 14px;
  font-size: 14.5px; font-weight: 520; color: var(--muted); transition: color .2s;
}
.links a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 8px 1px var(--glow); opacity: 0; transform: scale(0); transition: opacity .25s, transform .35s var(--spring);
}
.links a:hover { color: var(--ink); }
.links a[aria-current="page"], .links a[aria-current="true"] { color: var(--ink); }
.links a[aria-current="page"]::after, .links a[aria-current="true"]::after { opacity: 1; transform: scale(1); }
.menu-btn { display: none; width: 42px; height: 42px; margin-left: 4px; border-radius: 12px; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.menu-btn span + span { margin-top: 5px; }
.nav.open .menu-btn span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: grid; align-content: center; justify-items: center; }
  .nav .cap-btn { margin-left: auto; }
  .links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 24px; background: #fff; box-shadow: 0 30px 40px -20px rgba(10, 20, 14, .12);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease);
  }
  .nav.open .links { opacity: 1; transform: none; pointer-events: auto; }
  .links a { padding: 16px 0; font: 600 24px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); border-bottom: 1px solid var(--line); }
  .links a::after { left: auto; right: 4px; top: 50%; bottom: auto; margin: -3px 0 0; width: 6px; height: 6px; }
}
@media (max-width: 400px) { .nav .cap-btn { display: none; } .menu-btn { margin-left: auto; } }

/* ------------------------------------------------------------ keycaps: the one material on the site */
.key {
  --kh: 60px; --w: 1;
  position: relative; display: grid; place-items: center;
  width: calc(var(--kh) * var(--w)); height: var(--kh); border-radius: calc(var(--kh) * .2);
  background: linear-gradient(180deg, var(--cap-hi) 0%, var(--cap-lo) 100%);
  color: var(--ink-2); font: 550 calc(var(--kh) * .3)/1 var(--sans);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgba(10, 20, 14, .04),
    0 0 0 1px rgba(10, 20, 14, .07),
    0 3px 0 var(--cap-edge),
    0 4px 2px rgba(10, 20, 14, .05),
    0 16px 22px -14px rgba(10, 20, 14, .35);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), color .2s;
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.key::after {                       /* backlight */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1.5px var(--neon), 0 0 18px 3px var(--glow), 0 10px 30px -6px var(--glow);
  opacity: 0; transition: opacity .35s;
}
.key .led {
  position: absolute; top: 18%; right: 18%; width: calc(var(--kh) * .09); height: calc(var(--kh) * .09); min-width: 4px; min-height: 4px;
  border-radius: 50%; background: #dfe2de; transition: background .3s, box-shadow .3s;
}
.key small { position: absolute; left: 16%; bottom: 14%; font: 600 calc(var(--kh) * .14)/1 var(--sans); color: var(--faint); letter-spacing: .02em; }
.key.mod { justify-items: start; padding-left: 16%; font-size: calc(var(--kh) * .34); }
.key.mod.win { font-size: calc(var(--kh) * .24); font-weight: 650; }
.key.down {
  transform: translateY(3px);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(10, 20, 14, .04), 0 0 0 1px rgba(10, 20, 14, .08), 0 0 0 var(--cap-edge), 0 2px 5px -2px rgba(10, 20, 14, .25);
}
.key.down, .key.lit { color: var(--neon-ink); }
.key.down::after, .key.lit::after { opacity: 1; }
.key.full .led { background: var(--neon); box-shadow: 0 0 6px 1px var(--glow); }
.key.space { --w: 1; width: 100%; }

/* Mac and Windows both live in the page; os.js picks one before first paint. */
.os-win .m-mac, html:not(.os-win) .m-win { display: none !important; }

/* A real keyboard: numbers, the bottom-left letters, and the modifier row of the visitor's own computer.
   Twenty half-key columns, so a ⌘ can be a key and a half wide and space can stretch. */
.board, .stage {
  --gap: clamp(3px, .9vw, 8px);
  --pad: clamp(10px, 2.2vw, 20px);
  /* ten keys, nine gaps and the padding always fit inside the page gutters */
  --kh: clamp(20px, calc((100vw - var(--sbar, 0px) - var(--gutter) * 2 - var(--gap) * 9 - var(--pad) * 2) / 10), 58px);
}
@media (hover: hover) and (pointer: fine) { .board, .stage { --sbar: 18px; } }   /* 100vw counts a desktop scrollbar */
.board {
  --u: calc((var(--kh) - var(--gap)) / 2);
  position: relative; display: grid; grid-template-columns: repeat(20, var(--u)); gap: calc(var(--gap) + 2px) var(--gap);
  width: max-content; margin: 0 auto; padding: var(--pad);
  border-radius: clamp(18px, 3vw, 30px);
  background: linear-gradient(180deg, #f4f5f3, #eceeeb);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(10, 20, 14, .05), 0 1px 0 #fff, 0 40px 80px -40px rgba(10, 20, 14, .35), 0 12px 30px -20px rgba(10, 20, 14, .2);
}
.board::before {                    /* the glow that spills under the keyboard */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -30px; height: 60px; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%); filter: blur(18px);
  opacity: .45; transition: opacity .6s;
}
.board.glow::before { opacity: 1; }
.board .key { --kh: inherit; grid-column: span var(--c, 2); width: auto; }
.board .key.q { color: #7d837f; font-weight: 500; font-size: calc(var(--kh) * .27); }

/* Legends. Mac: glyph up top, the word below, tucked toward the space bar. Windows: one word, left. */
.key .g, .key .w { position: absolute; line-height: 1; pointer-events: none; white-space: nowrap; }
.key .g { font: 450 calc(var(--kh) * .25)/1 var(--sans); color: var(--ink-2); }
.key .w { font: 550 calc(var(--kh) * .135)/1 var(--sans); letter-spacing: .01em; color: #7d837f; }
.key .c-tr { top: 15%; right: 12%; } .key .c-br { bottom: 15%; right: 12%; }
.key .c-tl { top: 15%; left: 12%; }  .key .c-bl { bottom: 15%; left: 12%; }
.key .lw { left: 15%; top: 50%; transform: translateY(-50%); font: 600 calc(var(--kh) * .2)/1 var(--sans); color: var(--ink-2); letter-spacing: 0; }
.key .lw.q { color: #7d837f; font-weight: 500; }
.key .globe { position: absolute; left: 12%; bottom: 14%; width: calc(var(--kh) * .22); height: calc(var(--kh) * .22); color: #7d837f; }
.key .logo { width: calc(var(--kh) * .24); height: calc(var(--kh) * .24); fill: #7d837f; }
.key.down .g, .key.down .w, .key.down .lw { color: var(--neon-ink); }
.os-win .key { border-radius: calc(var(--kh) * .12); }
@media (max-width: 560px) {
  .board .key .w:not(.lw):not(.keep) { display: none; }
  .board .key .w.keep { top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); font-size: calc(var(--kh) * .24); }
  .board .key .g.c-tr, .board .key .g.c-tl { top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); font-size: calc(var(--kh) * .34); }
  .board .key .globe { display: none; }
  .key .lw { left: 50%; transform: translate(-50%, -50%); font-size: calc(var(--kh) * .24); }
}

/* Numbered badges: which key went first, second, third. */
.ob {
  position: absolute; z-index: 3; top: -8px; left: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font: 700 11px/1 var(--sans); font-style: normal; color: var(--neon); background: var(--ink);
  box-shadow: 0 0 0 2px #fff, 0 4px 10px -3px rgba(0, 0, 0, .45); animation: ob .4s var(--spring) both;
}
.ob.bad { color: #fff; background: #e5484d; }
@keyframes ob { from { transform: scale(0); } }
@media (max-width: 560px) { .ob { width: 16px; height: 16px; font-size: 9.5px; top: -7px; left: -5px; } }

/* The pointer: a white hand, index finger out. Its hotspot is the fingertip. */
.hand {
  position: absolute; z-index: 9; left: 0; top: 0; width: 40px; height: 45px; pointer-events: none;
  opacity: 0; transition: opacity .35s var(--ease); will-change: transform;
}
.hand.on { opacity: 1; }
.hand svg { width: 100%; height: 100%; overflow: visible; transform-origin: 35% 8%; transition: transform .18s var(--ease); filter: drop-shadow(0 7px 9px rgba(10, 20, 14, .22)) drop-shadow(0 1px 1.5px rgba(10, 20, 14, .25)); }
.hand.press svg { transform: scale(.88) translateY(1.5px); }
.hand .ring { position: absolute; left: 14px; top: 2px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid rgba(10, 20, 14, .28); opacity: 0; }
.hand.press .ring { animation: ring .55s var(--ease); }
@keyframes ring { from { opacity: 1; transform: scale(.2); } to { opacity: 0; transform: scale(1); } }

/* Selected text, the way the computer draws it: light blue on a Mac, Windows blue with white text. */
.hl {
  position: absolute; left: 0; top: 50%; height: 1.4em; margin-top: -.7em; padding: 0 1px; margin-left: -1px; line-height: 1.4em;
  white-space: nowrap; color: var(--ink); background: #b3d7ff; border-radius: 2px; pointer-events: none;
  clip-path: inset(0 100% 0 0);
}
.os-win .hl { color: #fff; background: #0078d7; border-radius: 0; }
.sel .hl { clip-path: inset(0 0 0 0); }
.win.dim .sel .hl { color: var(--ink); background: #dcdcdc; }
.t { position: relative; }

/* ------------------------------------------------------------ buttons */
.cap-btn {                          /* a small keycap button, for the nav */
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  background: linear-gradient(180deg, #fff, #f3f4f2);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 20, 14, .09), 0 2px 0 var(--cap-edge), 0 8px 14px -10px rgba(10, 20, 14, .3);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.cap-btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 20, 14, .1), 0 0 0 var(--cap-edge), 0 2px 4px -2px rgba(10, 20, 14, .3); }
.btn-ink {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 14px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 3px 0 #000, 0 14px 24px -12px rgba(0, 0, 0, .45);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.btn-ink:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 3px 0 #000, 0 14px 30px -10px rgba(0, 0, 0, .45), 0 0 0 4px var(--glow-soft); }
.btn-ink:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 #000, 0 4px 10px -6px rgba(0, 0, 0, .5); }
.btn-ink svg { width: 18px; height: 18px; }

/* Download for Mac / Windows. Real platform buttons, paused until launch. */
.dls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.dl {
  position: relative; display: inline-flex; align-items: center; gap: 13px; min-width: 232px; height: 64px; padding: 0 22px 0 18px;
  border-radius: 16px; text-align: left; background: var(--ink); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 3px 0 #000, 0 18px 30px -16px rgba(0, 0, 0, .5);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .2s;
}
.dl svg { width: 26px; height: 26px; fill: currentColor; }
.dl span { display: grid; gap: 4px; }
.dl small { font: 600 11.5px/1 var(--sans); letter-spacing: .02em; opacity: .7; }
.dl b { font: 650 18px/1 var(--display); letter-spacing: -.015em; white-space: nowrap; }
.dl .dl-word { display: inline; }

.soon, .soon:hover { cursor: not-allowed; }
.dl.soon {
  background: linear-gradient(180deg, #f7f8f6, #eff0ee); color: #a4aaa6;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 20, 14, .07), 0 2px 0 var(--cap-edge);
}
.dl.soon small { display: inline-flex; align-items: center; gap: 7px; color: var(--neon-ink); opacity: 1; }
.cap-btn.soon { color: #8d938f; }
.pulse { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--neon); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 7px rgba(43, 255, 136, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 255, 136, 0); } }
.soon.nope { animation: nope .4s var(--ease); }
@keyframes nope { 20% { translate: -6px 0; } 45% { translate: 5px 0; } 70% { translate: -3px 0; } 90% { translate: 1px 0; } }

/* ------------------------------------------------------------ type */
.h1 { font: 700 clamp(40px, 7.4vw, 88px)/.98 var(--display); letter-spacing: -.045em; }
.h2 { font: 700 clamp(32px, 5vw, 58px)/1.02 var(--display); letter-spacing: -.04em; }
.lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.glow-word { position: relative; white-space: nowrap; z-index: 0; }
.glow-word::before {
  content: ""; position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .06em; height: .34em; border-radius: .08em;
  background: var(--neon); box-shadow: 0 0 24px 2px var(--glow);
  transform-origin: left; transform: scaleX(0); animation: mark .9s .35s var(--ease) forwards;
}
@keyframes mark { to { transform: scaleX(1); } }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------ home: hero */
.hero { position: relative; padding: clamp(36px, 6vh, 68px) 0 clamp(40px, 6vh, 64px); overflow: hidden; }
.hero::before {                     /* faint dot grid, fades out toward the edges */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(10, 20, 14, .09) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 38%, #000 20%, transparent 75%); mask-image: radial-gradient(60% 55% at 50% 38%, #000 20%, transparent 75%);
}
.eyebrow { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px; font: 600 14px/1.2 var(--sans); color: var(--muted); }
.eyebrow a { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); border-bottom: 1.5px solid var(--neon-2); padding-bottom: 1px; transition: border-color .2s; }
.eyebrow a:hover { border-color: var(--ink); }
.eyebrow svg { width: 14px; height: 14px; fill: currentColor; }
.hero .lede { margin-top: 22px; }
.hero .dls { margin-top: 32px; }

/* The stage: an order page, a reply, and the keyboard between them. All three share one width. */
.stage {
  --stage-w: calc(var(--kh) * 10 + var(--gap) * 9 + var(--pad) * 2);
  position: relative; width: var(--stage-w); max-width: 100%; margin: clamp(40px, 6vh, 60px) auto 0; text-align: left;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.6vw, 16px); margin: 0 0 clamp(14px, 2.4vw, 22px); padding: 0; list-style: none; }
.steps li { position: relative; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; font: 600 clamp(12px, 1.6vw, 14.5px)/1.2 var(--sans); color: var(--faint); transition: color .3s; }
.steps li::before, .steps li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 3px; }
.steps li::after { right: 0; background: var(--line); }
.steps li::before { z-index: 1; width: 0; background: var(--neon); box-shadow: 0 0 10px var(--glow); transition: width .6s var(--ease); }
.steps li.on, .steps li.done { color: var(--ink); }
.steps li.on::before, .steps li.done::before { width: 100%; }
.steps kbd {
  display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px;
  font: 650 12px/1 var(--sans); color: var(--ink-2); background: linear-gradient(#fff, #f2f3f1);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 20, 14, .1), 0 1.5px 0 var(--cap-edge); transition: box-shadow .3s, color .3s;
}
.steps li.on kbd { color: var(--neon-ink); box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px var(--neon), 0 0 12px var(--glow-soft); }

.desk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 20px); margin-bottom: clamp(22px, 3.6vw, 34px); }
.win {
  min-width: 0; border-radius: clamp(12px, 1.6vw, 16px); background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -30px rgba(10, 20, 14, .35);
  transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.win.active { box-shadow: 0 0 0 1.5px var(--neon), 0 0 0 5px var(--glow-soft), 0 24px 48px -26px rgba(10, 20, 14, .35); }
.win.dim { opacity: .5; transform: scale(.975); }
.win .bar { display: flex; align-items: center; gap: 10px; height: clamp(30px, 4vw, 38px); padding: 0 clamp(9px, 1.4vw, 13px); background: var(--bg-2); border-bottom: 1px solid var(--line); font: 600 clamp(11px, 1.4vw, 12.5px)/1 var(--sans); color: var(--muted); white-space: nowrap; }
.win .bar b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ctl { display: flex; align-items: center; gap: 6px; flex: none; }
.ctl i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.ctl i:nth-child(2) { background: #febc2e; }
.ctl i:nth-child(3) { background: #28c840; }
.os-win .ctl { order: 2; margin-left: auto; gap: 12px; }
.os-win .ctl i { width: 9px; border-radius: 0; box-shadow: none; }
.os-win .ctl i:nth-child(1) { height: 1.4px; background: var(--muted); }
.os-win .ctl i:nth-child(2) { height: 9px; background: none; box-shadow: inset 0 0 0 1.3px var(--muted); }
.os-win .ctl i:nth-child(3) { height: 9px; background: linear-gradient(45deg, transparent 44%, var(--muted) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--muted) 44% 56%, transparent 56%); }
.rows { padding: clamp(4px, .8vw, 8px) clamp(6px, 1.2vw, 12px) clamp(8px, 1.2vw, 12px); }
.row { display: grid; gap: 3px; padding: clamp(5px, .8vw, 7px) 0; }
.row + .row { border-top: 1px solid var(--line); }
.lbl { padding-left: 7px; font: 650 clamp(9.5px, 1.2vw, 10.5px)/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.val {
  --vh: clamp(26px, 3.4vw, 32px);
  position: relative; display: block; width: 100%; height: var(--vh); padding: 0 7px; border-radius: 7px; text-align: left;
  font: 550 clamp(12.5px, 1.6vw, 15px)/var(--vh) var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent;
}
.practice .src .val:hover { background: var(--bg-2); }
.src .val { cursor: text; }
.dst .val { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.dst .val:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.dst .val.focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.dst .val.focus::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.18em; background: var(--ink); animation: caret 1s steps(1) infinite; }
.dst .val.filled { background: #fff; animation: filled 1s var(--ease); }
.dst .val.off { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
@keyframes filled { from { background: var(--neon-soft); box-shadow: inset 0 0 0 1.5px var(--neon), 0 0 18px var(--glow); } }
.val.hint { animation: hint 1.6s var(--ease) infinite; }
@keyframes hint { 50% { box-shadow: inset 0 0 0 1.5px var(--neon), 0 0 14px var(--glow-soft); } }
@keyframes caret { 50% { opacity: 0; } }

.board .key[data-n] { cursor: pointer; }
.board .key[data-n]:hover:not(.down) { transform: translateY(-1px); }
.board.ask .key[data-n]::after { animation: ask 1.6s var(--ease) infinite; }
@keyframes ask { 50% { opacity: .5; } }

.guide { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(18px, 3vw, 26px); }
.say { display: block; min-height: 52px; max-width: 32em; margin: 0; text-align: center; font: 600 clamp(14.5px, 1.8vw, 16.5px)/1.55 var(--sans); color: var(--ink-2); }
.say b { color: var(--neon-ink); }
.say kbd, .kbd {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; margin: 0 1px; border-radius: 6px;
  font: 650 12.5px/1 var(--sans); color: var(--ink-2); background: linear-gradient(#fff, #f2f3f1);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 20, 14, .1), 0 1.5px 0 var(--cap-edge); vertical-align: 1px;
}
.say kbd.hot { color: var(--neon-ink); box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px var(--neon), 0 0 12px var(--glow-soft); }
.cap-btn.learn { height: 46px; padding: 0 16px 0 19px; font-size: 14.5px; }
.cap-btn.learn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.cap-btn.learn:hover svg { transform: translateX(3px); }
.cap-btn.nudge { animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px var(--neon), 0 2px 0 var(--cap-edge), 0 0 22px var(--glow); } }

.fly {
  position: absolute; z-index: 5; left: 0; top: 0; padding: 7px 11px; border-radius: 9px; pointer-events: none; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5), 0 0 18px var(--glow-soft);
}
.tip {
  position: absolute; z-index: 5; padding: 7px 10px; border-radius: 9px; pointer-events: none; white-space: nowrap;
  font: 600 12.5px/1 var(--sans); background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .5), 0 0 16px var(--glow-soft);
  animation: tip-in .4s var(--spring); transition: opacity .35s;
}
.tip b { margin-right: 6px; color: var(--neon); }
.tip.out { opacity: 0; }
@keyframes tip-in { from { opacity: 0; transform: translateY(6px) scale(.9); } }

/* ------------------------------------------------------------ home: how it works */
.band { padding: clamp(56px, 8vh, 84px) 0; }
.how { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.moves { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.move {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 320px; padding: 28px 30px 26px; border-radius: 28px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(10, 20, 14, .35);
}
.move h3 { font: 700 30px/1 var(--display); letter-spacing: -.035em; }
.move p { margin-top: 8px; color: var(--muted); }
.move .scene {
  --kh: clamp(52px, 7vw, 76px); --g: clamp(8px, 1.4vw, 14px);
  --to-x: calc(var(--kh) * 1.275 + var(--g)); --to-y: calc(44px + var(--kh) / 2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding-top: 16px;
}
.move .drop { position: relative; width: 100%; height: 36px; }
.trio { display: flex; align-items: center; gap: var(--g); }
.trio .key { --kh: inherit; }
.trio .key.mod { --w: 1.55; }
.move .item {
  position: absolute; left: 50%; top: 0; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; background: var(--ink); color: #fff; white-space: nowrap; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5);
  transform: translateX(-50%); opacity: 0;
}
.move .item svg { width: 15px; height: 15px; }
.move .line {
  display: flex; align-items: center; gap: 10px; height: 50px; margin-top: 30px; padding: 0 16px; border-radius: 13px; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--faint);
}
.move .line b { font-weight: 550; color: var(--ink); }
.move .line .caret { display: inline-block; width: 2px; height: 18px; background: var(--ink); animation: caret 1s steps(1) infinite; }

/* The two moves are pure CSS loops. They run only while on screen. */
.move * { animation-duration: 5.6s; animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-play-state: paused; }
.move.play * { animation-play-state: running; }
.move .caret { animation-duration: 1s; animation-timing-function: steps(1); }
.k-mod { animation-name: k-mod; }
.k-letter { animation-name: k-letter; }
.k-num { animation-name: k-num; }
@keyframes k-mod {
  0%, 12% { transform: none; color: var(--ink-2); }
  16%, 70% { transform: translateY(3px); color: var(--neon-ink); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 20, 14, .08), 0 0 0 var(--cap-edge), 0 2px 5px -2px rgba(10, 20, 14, .25); }
  76%, 100% { transform: none; color: var(--ink-2); }
}
@keyframes k-letter {
  0%, 26% { transform: none; color: var(--ink-2); }
  30%, 34% { transform: translateY(3px); color: var(--neon-ink); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 20, 14, .08), 0 0 0 var(--cap-edge), 0 2px 5px -2px rgba(10, 20, 14, .25); }
  39%, 100% { transform: none; color: var(--ink-2); }
}
@keyframes k-num {
  0%, 44% { transform: none; color: var(--ink-2); }
  48%, 52% { transform: translateY(3px); color: var(--neon-ink); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 20, 14, .08), 0 0 0 var(--cap-edge), 0 2px 5px -2px rgba(10, 20, 14, .25); }
  57%, 100% { transform: none; color: var(--ink-2); }
}
.k-mod::after { animation-name: glow-mod; }
.k-letter::after { animation-name: glow-letter; }
.k-num::after { animation-name: glow-num; }
@keyframes glow-mod { 0%, 12% { opacity: 0; } 16%, 70% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes glow-letter { 0%, 26% { opacity: 0; } 30%, 36% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes glow-num { 0%, 44% { opacity: 0; } 48%, 60% { opacity: 1; } 68%, 100% { opacity: 0; } }
.save .k-num .led { animation-name: led-save; }
@keyframes led-save { 0%, 49% { background: #dfe2de; box-shadow: none; } 51%, 92% { background: var(--neon); box-shadow: 0 0 6px 1px var(--glow); } 97%, 100% { background: #dfe2de; box-shadow: none; } }
.paste .k-num .led { background: var(--neon); box-shadow: 0 0 6px 1px var(--glow); animation: none; }
.save .item { animation-name: item-in; }
@keyframes item-in {
  0%, 4% { opacity: 0; transform: translate(-50%, -10px); }
  10%, 40% { opacity: 1; transform: translate(-50%, 0); }
  50%, 100% { opacity: 0; transform: translate(calc(-50% + var(--to-x)), var(--to-y)) scale(.3); }
}
.paste .item { animation-name: item-out; }
@keyframes item-out {
  0%, 49% { opacity: 0; transform: translate(calc(-50% + var(--to-x)), calc(var(--to-y) * -1)) scale(.3); }
  58% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  66%, 100% { opacity: 0; transform: translate(-50%, 40px) scale(.9); }
}
.save .line .src { animation-name: src; }
@keyframes src { 0%, 4% { background: transparent; } 8%, 44% { background: var(--neon-soft); box-shadow: 0 0 0 1px rgba(43, 255, 136, .5); } 52%, 100% { background: transparent; box-shadow: none; } }
.line .src { padding: 2px 4px; border-radius: 4px; color: var(--ink); font-weight: 550; }
.paste .line .got { opacity: 0; animation-name: got; color: var(--ink); font-weight: 550; }
@keyframes got { 0%, 64% { opacity: 0; } 68%, 94% { opacity: 1; } 100% { opacity: 0; } }
.paste .line .ph { animation-name: ph; }
@keyframes ph { 0%, 64% { opacity: 1; } 68%, 94% { opacity: 0; width: 0; } 100% { opacity: 1; } }

.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-top: clamp(40px, 6vh, 56px); color: var(--ink-2); font-size: 15px; font-weight: 550; }
.facts > span { display: inline-flex; align-items: center; gap: 10px; }
.facts svg { width: 20px; height: 20px; color: var(--neon-ink); }

/* ------------------------------------------------------------ home: ten keys */
.ten { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(56px, 8vh, 84px) 0 clamp(48px, 7vh, 72px); text-align: center; }
.row10 { --kh: clamp(28px, calc((100vw - 90px) / 10), 68px); display: flex; justify-content: center; gap: clamp(5px, 1vw, 12px); margin: 0 auto 36px; }
.row10 .key { --kh: inherit; cursor: pointer; }
.row10 .key.wave { animation: wave 5s var(--ease) infinite; animation-delay: calc(var(--i) * 120ms); }
.row10 .key.wave::after { animation: wave-glow 5s var(--ease) infinite; animation-delay: calc(var(--i) * 120ms); }
.row10 .key.wave .led { animation: wave-led 5s var(--ease) infinite; animation-delay: calc(var(--i) * 120ms); }
@keyframes wave { 0%, 8% { transform: none; color: var(--ink-2); } 12% { transform: translateY(3px); color: var(--neon-ink); } 20%, 100% { transform: none; color: var(--ink-2); } }
@keyframes wave-glow { 0%, 8% { opacity: 0; } 12%, 30% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes wave-led { 0%, 10% { background: #dfe2de; box-shadow: none; } 13%, 70% { background: var(--neon); box-shadow: 0 0 6px 1px var(--glow); } 85%, 100% { background: #dfe2de; box-shadow: none; } }
.ten .h2 { max-width: 12em; margin: 0 auto; }
.ten .fine { margin-top: 24px; font-size: 14px; color: var(--faint); }

/* ------------------------------------------------------------ inner pages */
.page { padding: clamp(56px, 10vh, 104px) 0 clamp(72px, 10vh, 112px); }
.page-head { text-align: center; }
.page-head .lede { margin: 18px auto 0; }
.narrow { max-width: 760px; }

/* pricing */
.month { max-width: 880px; margin: 56px auto 0; }
.month .ticks { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; }
.month .ticks i { height: 16px; border-radius: 4px; background: var(--neon); box-shadow: 0 0 10px var(--glow-soft); transform-origin: bottom; }
.month.play .ticks i { animation: tick .5s var(--spring) both; animation-delay: calc(var(--i) * 22ms); }
@keyframes tick { from { transform: scaleY(.1); opacity: 0; } }
.month .cap { display: flex; justify-content: space-between; margin-top: 12px; font-size: 14px; color: var(--muted); }
.month .cap b { color: var(--ink); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 40px auto 0; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(10, 20, 14, .3); }
.plan.best { box-shadow: 0 0 0 1.5px var(--ink), 0 30px 60px -40px rgba(10, 20, 14, .45); }
.plan h2 { font: 650 18px/1 var(--display); letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; }
.plan h2 em { font: 600 12.5px/1 var(--sans); font-style: normal; color: var(--neon-ink); display: inline-flex; gap: 7px; align-items: center; }
.plan .amt { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.plan .amt b { font: 700 58px/1 var(--display); letter-spacing: -.05em; }
.plan .amt span { color: var(--muted); }
.mini { --kh: clamp(20px, 3.3vw, 30px); display: flex; gap: clamp(3px, .6vw, 6px); margin: 26px 0 24px; }
.mini .key { --kh: inherit; border-radius: 7px; font-size: calc(var(--kh) * .38); }
.mini .key.lit .led { background: var(--neon); box-shadow: 0 0 6px 1px var(--glow); }
.mini .key .led { top: 14%; right: 14%; min-width: 3px; min-height: 3px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--neon-ink); flex: none; }
.plan .dl { margin-top: auto; width: 100%; min-width: 0; justify-content: center; height: 56px; }
.plan .dl span { justify-items: center; }

.qa { max-width: 760px; margin: 88px auto 0; }
.qa h2 { margin-bottom: 20px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 18px/1.35 var(--display); letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 14px; height: 14px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0); }
.qa .a { padding: 0 0 24px; color: var(--muted); max-width: 40em; }
.qa .a b { color: var(--ink); }

/* privacy */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 56px auto 0; max-width: 980px; }
.pillar { padding: 28px; border-radius: 24px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.pillar .key { --kh: 52px; margin-bottom: 22px; }
.pillar .key svg { width: 22px; height: 22px; color: var(--ink); }
.pillar.play .key { animation: press-once 1.2s var(--ease) both; animation-delay: calc(var(--i) * 180ms + 200ms); }
.pillar.play .key::after { animation: glow-once 1.2s var(--ease) both; animation-delay: calc(var(--i) * 180ms + 200ms); }
@keyframes press-once { 20% { transform: translateY(3px); } 45%, 100% { transform: none; } }
@keyframes glow-once { 0% { opacity: 0; } 20%, 100% { opacity: 1; } }
.pillar h3 { font: 650 19px/1.2 var(--display); letter-spacing: -.02em; }
.pillar p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* long-form text */
.prose { max-width: 720px; margin: 72px auto 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose h2 { margin: 56px 0 12px; font: 700 28px/1.15 var(--display); letter-spacing: -.03em; color: var(--ink); }
.prose h3 { margin: 32px 0 6px; font: 650 18.5px/1.3 var(--display); letter-spacing: -.015em; color: var(--ink); }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--neon-2); }
.prose a { text-decoration: underline; text-decoration-color: var(--neon-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose code { font: 500 14px/1 var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.prose .updated { color: var(--faint); font-size: 14px; }
.table { overflow-x: auto; margin: 16px 0 20px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: 12.5px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
tr:last-child td { border-bottom: 0; }

/* support */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 56px auto 0; }
.contact .plan p { margin: 8px 0 24px; color: var(--muted); }
.contact .plan h2 { font-size: 22px; letter-spacing: -.025em; }
.contact .btn-ink { margin-top: auto; align-self: flex-start; }

/* small pages */
.solo { max-width: 620px; margin: 0 auto; text-align: center; }
.solo .row10, .solo .trio { justify-content: center; margin: 0 auto 40px; }
.solo .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.solo .plan { text-align: left; margin-top: 40px; }

/* ------------------------------------------------------------ footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 44px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
footer nav a:hover { color: var(--ink); }
footer .base { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }
footer .base a:hover { color: var(--ink); }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* ------------------------------------------------------------ small screens */
@media (max-width: 860px) {
  .moves, .plans, .contact { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .move { min-height: 0; padding: 24px 20px 22px; }
  .move .scene { gap: 20px; padding-top: 18px; }
  .move .line { margin-top: 22px; }
}
@media (max-width: 560px) {
  .steps kbd { width: 20px; height: 20px; border-radius: 6px; font-size: 11px; }
  .steps li { gap: 7px; align-items: flex-start; }
  .ctl i { width: 7px; height: 7px; }
  .os-win .ctl { display: none; }
  .dls { flex-wrap: nowrap; gap: 10px; }
  .dl { flex: 1; min-width: 0; height: 58px; padding: 0 12px; gap: 10px; }
  .dl svg { width: 22px; height: 22px; }
  .dl b { font-size: 16.5px; }
  .dl small { font-size: 10.5px; gap: 5px; }
  .dl .dl-word { display: none; }
  .plan { padding: 26px 22px; }
  footer nav { margin-left: 0; }
}

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

/* ---------- platform guides (/mac, /windows) */
.page-head .eyebrow svg { width: 15px; height: 15px; }
.page .moves { margin-top: clamp(40px, 7vh, 64px); }
.page .prose { margin-top: clamp(48px, 8vh, 80px); }
.prose kbd.kbd { font-size: .85em; vertical-align: .08em; }
.prose td:first-child { font-weight: 600; white-space: nowrap; }
.end { margin-top: 72px; text-align: center; }
.end .dls { justify-content: center; }
.end .fine { margin-top: 14px; font-size: 14px; color: var(--faint); }

/* ------------------------------------------------------------ home: where the platforms live now */
.made { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin-top: 28px; font: 550 14px/1.2 var(--sans); color: var(--muted); }
.made a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.made a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.made svg { width: 13px; height: 13px; fill: currentColor; }

/* ------------------------------------------------------------ how it works */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 650 12.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--neon-ink); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--glow); }
.sec { padding: clamp(64px, 10vh, 112px) 0 0; }
.sec-head { max-width: 640px; margin: 0 auto; text-align: center; }
.sec-head .lede { margin: 16px auto 0; }

/* The two-page flow */
.flow { margin-top: clamp(36px, 6vh, 56px); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 244px; margin: 0 auto clamp(22px, 3.4vw, 30px); padding: 4px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; font: 600 14.5px/1 var(--sans); color: var(--muted); transition: color .3s; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg kbd { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font: 700 11px/1 var(--sans); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .3s, background .3s, box-shadow .3s; }
.seg button[aria-selected="true"] kbd { color: var(--neon); background: var(--ink); box-shadow: none; }
.seg .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 20, 14, .06), 0 2px 6px -2px rgba(10, 20, 14, .18); transition: transform .5s var(--spring); }
.seg[data-page="paste"] .knob { transform: translateX(100%); }

.scenes { display: grid; margin-bottom: clamp(22px, 3.6vw, 32px); }
.scenes > .win { grid-area: 1 / 1; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scenes > .win[hidden] { display: block; opacity: 0; transform: translateY(8px) scale(.985); pointer-events: none; visibility: hidden; }
.doc { padding: clamp(14px, 2.4vw, 22px) clamp(14px, 2.4vw, 24px) clamp(16px, 2.6vw, 24px); font: 450 clamp(14px, 1.8vw, 16.5px)/1.75 var(--sans); color: var(--ink-2); }
.doc .pick { position: relative; font-weight: 600; color: var(--ink); white-space: nowrap; }
.doc .field { position: relative; display: inline-block; min-width: 9.5em; height: 1.6em; vertical-align: -.35em; padding: 0 6px; border-radius: 6px; font-weight: 600; line-height: 1.6em; color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.doc .field.focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.doc .field.focus:empty::after, .doc .field.focus.caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: var(--ink); animation: caret 1s steps(1) infinite; }
.doc .field.filled { animation: filled 1s var(--ease); }
.doc .ghost { display: grid; gap: 9px; margin-top: 14px; }
.doc .ghost i { display: block; height: 8px; border-radius: 4px; background: var(--bg-2); }
.doc .ghost i:nth-child(1) { width: 92%; } .doc .ghost i:nth-child(2) { width: 64%; }

.tl { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.6vw, 14px); margin: clamp(20px, 3vw, 28px) 0 0; padding: 0; list-style: none; }
.tl li { position: relative; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; color: var(--faint); transition: color .3s; min-width: 0; }
.tl li::before, .tl li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 3px; }
.tl li::after { right: 0; background: var(--line); }
.tl li::before { z-index: 1; width: 0; background: var(--neon); box-shadow: 0 0 10px var(--glow); transition: width .5s var(--ease); }
.tl li.on, .tl li.done { color: var(--ink); }
.tl li.on::before, .tl li.done::before { width: 100%; }
.tl .kbd { flex: none; min-width: 30px; height: 30px; font-size: 13.5px; border-radius: 8px; transition: box-shadow .3s, color .3s; }
.tl li.on .kbd { color: var(--neon-ink); box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px var(--neon), 0 0 12px var(--glow-soft); }
.tl b { display: block; font: 650 clamp(12.5px, 1.6vw, 14.5px)/1.2 var(--sans); }
.tl small { display: block; margin-top: 3px; font: 500 12.5px/1.2 var(--sans); color: var(--faint); }
.flow .guide { margin-top: clamp(16px, 2.6vw, 22px); }
.flow .say { min-height: 28px; }
.ctls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ctls .cap-btn { height: 42px; }
.ctls svg { width: 16px; height: 16px; }
.verdict { display: inline-flex; align-items: center; gap: 8px; }
.verdict i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 12px; color: var(--neon); background: var(--ink); }
.verdict.no i { color: #fff; background: #e5484d; }

/* Order matters */
.orders { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; max-width: 980px; margin: clamp(36px, 6vh, 52px) auto 0; align-items: stretch; }
.ord-list { display: grid; gap: 10px; }
.ord { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; text-align: left; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background .3s; }
.ord:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.ord[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink), 0 18px 30px -24px rgba(10, 20, 14, .4); }
.seq { display: flex; align-items: center; gap: 4px; }
.seq .kbd { min-width: 28px; height: 28px; font-size: 13px; margin: 0; }
.seq em { padding: 0 3px; font: 600 11px/1 var(--sans); font-style: normal; color: #e5484d; white-space: nowrap; }
.ord b { display: block; font: 650 15.5px/1.25 var(--sans); }
.ord small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-style: normal; font-size: 13px; font-weight: 700; color: var(--neon-ink); background: var(--neon-soft); }
.mark.no { color: #c4282d; background: #ffe5e6; }
.ord-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 300px; padding: 40px 24px 30px; border-radius: 24px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ord-stage .trio { --kh: clamp(54px, 6vw, 70px); --g: 12px; position: relative; }
.ord-stage .trio .key.mod { --w: 1.5; }
.ord-stage .trio .key .g { font-size: calc(var(--kh) * .3); }
.letgo { position: absolute; left: 50%; top: 18px; padding: 6px 10px; border-radius: 8px; font: 650 12px/1 var(--sans); color: #c4282d; background: #ffe5e6; transform: translate(-50%, -6px); opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.letgo.on { opacity: 1; transform: translate(-50%, 0); }
.ord-out { display: flex; align-items: center; gap: 10px; min-height: 48px; max-width: 320px; text-align: left; font: 600 14.5px/1.35 var(--sans); color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.ord-out.on { opacity: 1; transform: none; }
.ord-out .mark { flex: none; }
.tab-toast { position: absolute; top: 18px; left: 50%; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 10px; font: 600 12.5px/1 var(--sans); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -12px rgba(10, 20, 14, .35); transform: translate(-50%, -8px); opacity: 0; transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
.tab-toast i { display: flex; gap: 3px; }
.tab-toast i b { width: 22px; height: 12px; border-radius: 3px 3px 0 0; background: var(--line); }
.tab-toast i b:first-child { background: var(--ink); }
.tab-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* When to use it */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 6vh, 52px); }
.uc { display: flex; flex-direction: column; padding: 14px 14px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -48px rgba(10, 20, 14, .35); }
.uc h3 { margin: 18px 8px 0; font: 650 18px/1.2 var(--display); letter-spacing: -.02em; }
.uc p { margin: 6px 8px 0; font-size: 14.5px; color: var(--muted); }
.uc-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 14px; border-radius: 16px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.uc-art > div { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; min-width: 0; padding: 10px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -16px rgba(10, 20, 14, .3); }
.uc-art .ttl { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; font: 650 10px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-art .ttl svg { width: 11px; height: 11px; flex: none; }
.uc-art span { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; height: 22px; font: 550 11.5px/1 var(--sans); color: var(--ink-2); white-space: nowrap; }
.uc-art em { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; font: 700 9.5px/1 var(--sans); font-style: normal; color: var(--muted); background: linear-gradient(#fff, #f0f1ef); box-shadow: 0 0 0 1px rgba(10, 20, 14, .1), 0 1px 0 var(--cap-edge); }
.uc-art u { position: relative; min-width: 0; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.uc-art .from u::before { content: ""; position: absolute; inset: -1px -2px; z-index: -1; background: #b3d7ff; transform-origin: left; transform: scaleX(0); }
.os-win .uc-art .from u::before { background: #0078d7; }
.uc-art .from u { z-index: 0; }
.uc-art .into u { flex: 1; height: 16px; border-radius: 4px; background: var(--bg-2); color: transparent; line-height: 16px; padding: 0 4px; }
.uc-art .file { width: 12px; height: 14px; flex: none; color: var(--muted); }
/* one loop per card: select and save each line, then paste each line */
.uc * { animation-duration: 8s; animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-play-state: paused; animation-fill-mode: both; animation-delay: calc(var(--i, 0) * 650ms); }
.uc.play * { animation-play-state: running; }
.uc .from u::before { animation-name: uc-sel; }
.os-win .uc .from u { animation-name: uc-sel-ink; }
.uc .from em { animation-name: uc-key; }
.uc .into u { animation-name: uc-fill; }
.uc .into em { animation-name: uc-key-paste; }
@keyframes uc-sel { 0%, 3% { transform: scaleX(0); } 8%, 16% { transform: scaleX(1); } 20%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes uc-sel-ink { 0%, 5% { color: var(--ink-2); } 7%, 17% { color: #fff; } 20%, 100% { color: var(--ink-2); } }
@keyframes uc-key { 0%, 13% { color: var(--muted); background: linear-gradient(#fff, #f0f1ef); box-shadow: 0 0 0 1px rgba(10, 20, 14, .1), 0 1px 0 var(--cap-edge); } 16%, 88% { color: var(--ink); background: var(--neon); box-shadow: 0 0 0 1px var(--neon-2), 0 0 8px var(--glow); } 96%, 100% { color: var(--muted); background: linear-gradient(#fff, #f0f1ef); box-shadow: 0 0 0 1px rgba(10, 20, 14, .1), 0 1px 0 var(--cap-edge); } }
@keyframes uc-key-paste { 0%, 44% { transform: none; } 46% { transform: translateY(1.5px); box-shadow: 0 0 0 1.5px var(--neon), 0 0 8px var(--glow); color: var(--neon-ink); } 50%, 100% { transform: none; } }
@keyframes uc-fill { 0%, 46% { color: transparent; background: var(--bg-2); } 48% { color: var(--ink); background: var(--neon-soft); } 56%, 88% { color: var(--ink); background: transparent; } 96%, 100% { color: transparent; background: var(--bg-2); } }

/* What stays normal */
.normal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: clamp(36px, 6vh, 52px) auto 0; }
.normal article { padding: 26px; border-radius: 22px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.normal .seq { margin-bottom: 18px; }
.normal .seq .kbd { min-width: 34px; height: 34px; font-size: 14px; border-radius: 9px; }
.normal h3 { font: 650 18px/1.2 var(--display); letter-spacing: -.02em; }
.normal p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Works with */
.kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 32px auto 0; padding: 0; list-style: none; }
.kinds li { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 13px; border-radius: 12px; font: 600 14.5px/1 var(--sans); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -18px rgba(10, 20, 14, .35); }
.kinds svg { width: 18px; height: 18px; color: var(--neon-ink); }
.kinds-note { margin-top: 18px; text-align: center; font-size: 14.5px; color: var(--faint); }

/* Practice */
.practice .stage { margin-top: clamp(32px, 5vh, 48px); }
.practice .src .val, .practice .board .key[data-n] { cursor: pointer; }
.practice .guide .cap-btn { height: 42px; }

/* ------------------------------------------------------------ support: bug reward */
.reward { position: relative; max-width: 880px; margin: 56px auto 0; padding: clamp(28px, 5vw, 48px); border-radius: 32px; background: #fff; box-shadow: 0 0 0 1.5px var(--ink), 0 40px 80px -50px rgba(10, 20, 14, .45); overflow: hidden; }
.reward::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-soft), transparent); pointer-events: none; }
.reward-top { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.reward-top .key { --kh: 58px; }
.reward-top .key svg { width: 24px; height: 24px; }
.reward-top .arrow { width: 22px; height: 22px; color: var(--faint); }
.reward h2 { font: 700 clamp(28px, 4.2vw, 44px)/1.05 var(--display); letter-spacing: -.04em; }
.reward > p { margin-top: 12px; max-width: 36em; font-size: 17px; color: var(--muted); }
.reward ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; }
.reward li { position: relative; padding: 16px 16px 18px; border-radius: 16px; font-size: 14.5px; color: var(--ink-2); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); counter-increment: s; }
.reward li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 10px; border-radius: 7px; font: 700 12px/1 var(--sans); color: var(--neon); background: var(--ink); }
.reward li b { color: var(--ink); }
.reward-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.reward-act .fine { font-size: 14px; color: var(--faint); }
.btn-ink.busy { opacity: .8; pointer-events: none; }
.btn-ink.busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fallback { margin-top: 22px; padding: 18px 20px; border-radius: 18px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); animation: tip-in .45s var(--ease); }
.fallback h3 { font: 650 16.5px/1.3 var(--sans); }
.fallback p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.fallback .row-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.fallback .dl { height: 52px; min-width: 0; }
.contact.one { grid-template-columns: 1fr; max-width: 880px; }
.contact.one .plan { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.contact.one .plan p { margin: 4px 0 0; }
.contact.one .btn-ink { margin-top: 0; }

@media (max-width: 860px) {
  .orders { grid-template-columns: 1fr; }
  .ord-stage { order: -1; min-height: 240px; }
  .uses { grid-template-columns: 1fr 1fr; }
  .normal { grid-template-columns: 1fr; }
  .reward ol { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .uses { grid-template-columns: 1fr; }
  .tl li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tl small { display: none; }
  .ord { gap: 12px; padding: 14px; }
  .seq .kbd { min-width: 24px; height: 24px; font-size: 12px; }
}
