/* OneTool — "the keymap". Light aluminum page, white keycaps, violet only when something is pressed. */
:root {
  --paper: #E9EBEF;
  --paper-2: #F6F7F9;
  --ink: #17181C;
  --graphite: #555A66;
  --hair: rgba(23, 24, 28, 0.11);
  --signal: #5B45FF;
  --signal-deep: #3A2BC2;
  --mark: #FFE45C;
  --key-side: #C2C6CF;
  --font: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sym: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 48px; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; text-align: left; cursor: pointer; }
img { display: block; }
:focus-visible { outline: 2.5px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 6px; z-index: 20; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Keycaps ---------- */
.k {
  display: inline-grid; place-items: center;
  min-width: 1.85em; height: 1.85em; padding: 0 0.42em;
  margin: 0 0.08em;
  font-family: var(--sym); font-size: 0.8em; font-weight: 600; line-height: 1;
  color: var(--ink);
  background: linear-gradient(#FFFFFF, #F7F8FA);
  border-radius: 0.38em;
  box-shadow: 0 0.13em 0 var(--key-side), 0 0.2em 0.5em rgba(23, 24, 28, 0.14), inset 0 -1px 0 rgba(23, 24, 28, 0.05);
  transform: translateY(0);
  transition: transform 0.09s ease-out, box-shadow 0.09s ease-out, color 0.15s, background 0.15s;
  vertical-align: 0.08em;
}
.k.is-down {
  transform: translateY(0.11em);
  box-shadow: 0 0.02em 0 var(--key-side), 0 0.06em 0.18em rgba(23, 24, 28, 0.16);
  color: #fff;
  background: var(--signal);
}
.k--lg { font-size: 26px; min-width: 1.9em; }
.k--icon { padding: 0 0.35em; }
.glyph { display: grid; grid-template-columns: repeat(2, 0.42em); gap: 0.12em; }
.glyph i { width: 0.42em; height: 0.42em; border-radius: 0.1em; background: currentColor; opacity: 0.4; }
.glyph i:first-child { opacity: 1; }

/* ---------- Menu-bar header ---------- */
.menubar {
  position: sticky; top: 0; z-index: 10;
  height: 34px;
  display: flex; align-items: center; gap: 22px;
  padding: 0 max(16px, calc((100vw - 1240px) / 2));
  background: rgba(233, 235, 239, 0.78);
  backdrop-filter: saturate(170%) blur(20px);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  border-bottom: 1px solid var(--hair);
  font-size: 14px; font-weight: 500;
}
.menubar a { text-decoration: none; }
.menubar__app { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.menubar__app img { border-radius: 4px; }
.menubar__menus { display: flex; gap: 20px; }
.menubar__menus a { color: var(--ink); padding: 3px 8px; margin: 0 -8px; border-radius: 5px; }
.menubar__menus a:hover { background: rgba(23, 24, 28, 0.08); }
.menubar__right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-variant-numeric: tabular-nums; }
.menubar__glyph { display: grid; grid-template-columns: repeat(2, 6px); gap: 2px; }
.menubar__glyph i { width: 6px; height: 6px; border-radius: 1.5px; background: var(--ink); opacity: 0.4; }
.menubar__glyph i:first-child { opacity: 1; }

/* ---------- Intro ---------- */
.intro { max-width: 1240px; margin: 0 auto; padding: 96px 16px 56px; }
h1 {
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.048em;
  max-width: 15ch;
}
.intro__lede { max-width: 36em; margin-top: 30px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--graphite); }
.intro__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 38px; }
.intro__req { color: var(--graphite); font-size: 15.5px; line-height: 1.7; }

/* The download button is a keycap. */
.keycta {
  display: inline-block; text-decoration: none;
  border-radius: 16px;
  background: var(--signal-deep);
  padding-bottom: 6px;
  box-shadow: 0 14px 30px -12px rgba(58, 43, 194, 0.65);
  transition: padding 0.08s ease-out, margin 0.08s ease-out, box-shadow 0.08s;
}
.keycta__face {
  display: block;
  padding: 17px 30px;
  border-radius: 16px;
  background: linear-gradient(#6A56FF, var(--signal));
  color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.keycta:hover .keycta__face { background: linear-gradient(#7462FF, #6450FF); }
.keycta:active { padding-bottom: 1px; margin-top: 5px; box-shadow: 0 6px 14px -8px rgba(58, 43, 194, 0.65); }
.keycta--wide .keycta__face { padding: 20px 56px; font-size: 21px; }

/* ---------- Keymap: stage + list ---------- */
.keymap {
  max-width: 1240px; margin: 0 auto; padding: 24px 16px 120px;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 64px; align-items: start;
}
.stage-col { position: sticky; top: 58px; }

.stage { container-type: inline-size; border-radius: 18px; padding: 10px; background: #1C1D22; box-shadow: 0 40px 70px -40px rgba(23, 24, 28, 0.55), 0 2px 0 rgba(255,255,255,0.4) inset; }
.screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  background:
    radial-gradient(60% 70% at 85% 15%, rgba(255, 255, 255, 0.55), transparent 70%),
    linear-gradient(155deg, #AFC0F5 0%, #CDBDF2 48%, #F2CFC4 100%);
  font-size: 1.95cqw;
  line-height: 1.4;
}
.screen__bar {
  position: absolute; inset: 0 0 auto 0; height: 4.6cqw; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.2cqw;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 1.5cqw; font-weight: 600;
}
.screen__app { font-weight: 800; }
.screen__tray { display: flex; align-items: center; gap: 1.6cqw; }
.screen__icon { width: 2.6cqw; height: 2.6cqw; border-radius: 0.5cqw; background: var(--ink); opacity: 0.85; position: relative; transition: background 0.2s; }
.screen__icon::after { content: ""; position: absolute; inset: 0.55cqw; border-radius: 0.2cqw; background: linear-gradient(90deg, #fff 45%, transparent 45% 55%, rgba(255,255,255,.5) 55%); }

/* Document window */
.win {
  position: absolute; left: 7%; top: 12%; width: 62%; height: 74%;
  background: #FFFFFF; border-radius: 1.3cqw;
  box-shadow: 0 2cqw 4cqw -1.5cqw rgba(23, 24, 28, 0.35), 0 0 0 1px rgba(23, 24, 28, 0.08);
  overflow: hidden;
  transition: left 0.45s cubic-bezier(.3, 1.15, .5, 1), top 0.45s cubic-bezier(.3, 1.15, .5, 1), width 0.45s cubic-bezier(.3, 1.15, .5, 1), height 0.45s cubic-bezier(.3, 1.15, .5, 1), border-radius 0.3s;
}
.win__bar { height: 3.6cqw; display: flex; align-items: center; gap: 0.8cqw; padding: 0 1.4cqw; background: #F1F2F5; border-bottom: 1px solid #E3E5EA; font-size: 1.3cqw; color: var(--graphite); }
.win__bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #FF5F57; }
.win__bar i:nth-child(2) { background: #FEBC2E; }
.win__bar i:nth-child(3) { background: #28C840; }
.win__bar span { margin-left: 1cqw; }
.win__body { padding: 2.4cqw 2.6cqw; display: grid; gap: 1.5cqw; }
.win__h { font-size: 3.1cqw; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.win__p { color: var(--graphite); }
.win__paste { color: var(--signal); font-weight: 600; max-height: 0; opacity: 0; overflow: hidden; margin-top: -1.5cqw; transition: max-height 0.3s, opacity 0.3s, margin 0.3s; }
.caret { display: inline-block; width: 1px; height: 1.1em; background: var(--ink); margin-left: 2px; vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.win__img { height: 10cqw; border-radius: 0.9cqw; background: #2A1E22; display: grid; place-items: center; }
.win__err { font-family: ui-monospace, Menlo, monospace; font-size: 2cqw; color: #FF9C8F; }
.win__swatches { display: flex; gap: 1cqw; }
.win__swatches span { flex: 1; height: 3.4cqw; border-radius: 0.7cqw; background: #FF7A59; }
.win__swatches span:nth-child(2) { background: #FFC94A; }
.win__swatches span:nth-child(3) { background: #5B45FF; }
.win__swatches span:nth-child(4) { background: #1FB57A; }

/* Capture overlays (positions come from JS as CSS variables) */
.dim { display: none; }
.marquee {
  position: absolute; z-index: 4; pointer-events: none;
  left: var(--mx, 30%); top: var(--my, 30%); width: 0; height: 0;
  border: 1px solid #fff;
  box-shadow: 0 0 0 200cqw rgba(23, 24, 28, 0.32);
  opacity: 0;
  transition: width 0.55s cubic-bezier(.4, 0, .2, 1), height 0.55s cubic-bezier(.4, 0, .2, 1), opacity 0.15s;
}
.marquee__size { position: absolute; right: 0; bottom: -2.6cqw; font-size: 1.2cqw; font-weight: 700; color: #fff; background: rgba(23,24,28,.8); padding: 0.2cqw 0.6cqw; border-radius: 0.4cqw; white-space: nowrap; opacity: 0; transition: opacity .2s .3s; }
.stage.marquee-on .marquee { opacity: 1; }
.stage.marquee-grow .marquee { width: var(--mw, 30%); height: var(--mh, 30%); }
.stage.marquee-grow .marquee__size { opacity: 1; }

.scan { position: absolute; z-index: 5; left: var(--mx); width: var(--mw); top: var(--my); height: 2px; background: var(--mark); box-shadow: 0 0 1.4cqw 0.3cqw rgba(255, 228, 92, 0.8); opacity: 0; }
.stage.scan-on .scan { opacity: 1; animation: scan 0.9s ease-in-out 2 alternate; }
@keyframes scan { to { transform: translateY(var(--mhpx, 60px)); } }

.loupe {
  position: absolute; z-index: 5; width: 7cqw; height: 7cqw; border-radius: 50%;
  border: 0.45cqw solid #fff; background: var(--loupe, #FF7A59);
  box-shadow: 0 1cqw 2cqw rgba(23, 24, 28, 0.35);
  left: var(--lx, 50%); top: var(--ly, 50%); transform: translate(-50%, -50%) scale(0.6); opacity: 0;
  transition: left 0.5s cubic-bezier(.4, 0, .2, 1), top 0.5s cubic-bezier(.4, 0, .2, 1), background 0.2s, opacity 0.2s, transform 0.25s;
}
.loupe::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1cqw; height: 1cqw; transform: translate(-50%, -50%); border: 1.5px solid #fff; }
.stage.loupe-on .loupe { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.flash { position: absolute; inset: 0; z-index: 7; background: #fff; opacity: 0; pointer-events: none; }
.stage.flash-on .flash { animation: flash 0.35s ease-out; }
@keyframes flash { 0% { opacity: 0.85; } 100% { opacity: 0; } }

.thumb {
  position: absolute; z-index: 6; left: 2.4%; bottom: 4%; width: 22%; aspect-ratio: 4 / 3;
  border-radius: 1cqw; background: rgba(255, 255, 255, 0.55); padding: 0.6cqw;
  box-shadow: 0 1.4cqw 3cqw -1cqw rgba(23, 24, 28, 0.45), 0 0 0 1px rgba(255,255,255,.7);
  transform: translateX(-130%); transition: transform 0.4s cubic-bezier(.3, 1.2, .5, 1), padding 0.45s cubic-bezier(.3, 1.2, .5, 1), background 0.35s;
}
.thumb__img { width: 100%; height: 100%; border-radius: 0.4cqw; background: #fff; position: relative; overflow: hidden; transition: border-radius 0.35s, box-shadow 0.35s; }
.thumb__img::before { content: ""; position: absolute; left: 10%; right: 30%; top: 18%; height: 12%; border-radius: 1cqw; background: var(--ink); opacity: 0.85; }
.thumb__img::after { content: ""; position: absolute; left: 10%; right: 12%; top: 42%; height: 34%; border-radius: 0.6cqw; background: repeating-linear-gradient(#D7DAE1 0 14%, transparent 14% 30%); }
.stage.thumb-on .thumb { transform: none; }
.stage.thumb-beauty .thumb { padding: 2.2cqw; background: linear-gradient(135deg, #6E5BFF, #C86DD7); }
.stage.thumb-beauty .thumb__img { border-radius: 0.9cqw; box-shadow: 0 1cqw 2cqw -0.6cqw rgba(0,0,0,.45); }

/* Clipboard shelf */
.shelf {
  position: absolute; z-index: 6; left: 2%; right: 2%; bottom: 3%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4cqw;
  padding: 1.6cqw; border-radius: 2cqw;
  background: rgba(246, 247, 249, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2cqw 5cqw -2cqw rgba(23, 24, 28, 0.5), 0 0 0 1px rgba(255,255,255,.7);
  transform: translateY(125%);
  transition: transform 0.42s cubic-bezier(.3, 1.15, .5, 1);
}
.stage.shelf-up .shelf { transform: none; }
.clip {
  background: #fff; border-radius: 1.1cqw; overflow: hidden; height: 13cqw;
  display: flex; flex-direction: column;
  box-shadow: 0 0 0 1px rgba(23, 24, 28, 0.07);
  transform: scale(0.96); transition: transform 0.2s, box-shadow 0.2s;
}
.clip b { background: var(--c); color: #fff; font-size: 1.35cqw; padding: 0.7cqw 1cqw; }
.clip span { padding: 0.9cqw 1cqw; font-size: 1.3cqw; color: var(--graphite); line-height: 1.35; }
.clip .clip__sw { margin: 1cqw; flex: 1; padding: 0; border-radius: 0.7cqw; background: var(--signal); }
.clip .clip__img { margin: 1cqw; flex: 1; padding: 0; border-radius: 0.7cqw; background: linear-gradient(135deg, #FF7A59, #FFC94A); }
.clip.sel { transform: none; box-shadow: 0 0 0 0.3cqw var(--signal), 0 1cqw 2cqw -1cqw rgba(91, 69, 255, 0.7); }
.stage.pasted .win__paste { max-height: 3em; opacity: 1; margin-top: 0; }

/* Toast */
.toast {
  position: absolute; z-index: 8; left: 50%; bottom: 7%;
  display: flex; align-items: center; gap: 0.9cqw;
  padding: 1cqw 2cqw; border-radius: 99px;
  background: rgba(23, 24, 28, 0.86); color: #fff; font-weight: 700; font-size: 1.6cqw; white-space: nowrap;
  transform: translate(-50%, 160%); opacity: 0;
  transition: transform 0.35s cubic-bezier(.3, 1.3, .5, 1), opacity 0.2s;
}
.toast::before { content: ""; width: 1.8cqw; height: 1.8cqw; border-radius: 0.5cqw; background: var(--toast-swatch, #3DDC84); flex: none; }
.stage.toast-on .toast { transform: translate(-50%, 0); opacity: 1; }

/* Menu popover */
.pop {
  position: absolute; z-index: 7; right: 6.5%; top: 5.6cqw; width: 34%;
  padding: 1.6cqw; border-radius: 1.8cqw;
  background: rgba(246, 247, 249, 0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2cqw 5cqw -2cqw rgba(23, 24, 28, 0.5), 0 0 0 1px rgba(255,255,255,.7);
  transform-origin: 88% 0; transform: scale(0.9); opacity: 0;
  transition: transform 0.25s cubic-bezier(.3, 1.3, .5, 1), opacity 0.15s;
}
.stage.pop-on .pop { transform: none; opacity: 1; }
.stage.pop-on .screen__icon { background: var(--signal); opacity: 1; }
.pop__row { display: flex; justify-content: space-between; align-items: center; font-size: 1.6cqw; }
.pop__switch { width: 3.6cqw; height: 2.1cqw; border-radius: 99px; background: #CBCED6; position: relative; transition: background 0.2s; }
.pop__switch::after { content: ""; position: absolute; top: 0.25cqw; left: 0.25cqw; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #fff; transition: transform 0.2s cubic-bezier(.3, 1.4, .6, 1); }
.pop__status { font-size: 1.25cqw; color: var(--graphite); margin: 0.2cqw 0 1.1cqw; }
.pop__chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6cqw; }
.pop__chips span { text-align: center; font-size: 1.25cqw; font-weight: 700; padding: 0.6cqw 0; border-radius: 0.7cqw; background: rgba(23, 24, 28, 0.07); transition: background 0.2s, color 0.2s; }
.pop__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6cqw; margin-top: 1cqw; }
.pop__tiles span { font-size: 1.1cqw; font-weight: 700; padding: 1.6cqw 0.8cqw 0.8cqw; border-radius: 1cqw; background: rgba(23, 24, 28, 0.06); }
.stage.inf-on .pop__switch { background: var(--signal); }
.stage.inf-on .pop__switch::after { transform: translateX(1.5cqw); }
.stage.inf-on [data-inf] { background: var(--signal); color: #fff; }
.stage.dark-on .pop__tiles span:first-child { background: var(--signal); color: #fff; }

/* Window snapping states */
.stage.snap-half .win { left: 0; top: 4.6cqw; width: 50%; height: calc(100% - 4.6cqw); border-radius: 0; }
.stage.snap-two .win { left: 0; top: 4.6cqw; width: 66.66%; height: calc(100% - 4.6cqw); border-radius: 0; }
.stage.snap-third .win { left: 0; top: 4.6cqw; width: 33.33%; height: calc(100% - 4.6cqw); border-radius: 0; }
.stage.snap-max .win { left: 0; top: 4.6cqw; width: 100%; height: calc(100% - 4.6cqw); border-radius: 0; }

/* Under the stage: the keys being pressed */
.pressed { display: flex; align-items: center; gap: 18px; margin-top: 26px; min-height: 60px; }
.pressed__keys { display: flex; gap: 4px; }
.pressed__label { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }

/* The list */
.hint { color: var(--graphite); font-size: 15.5px; margin-bottom: 8px; }
.group { font-size: 15px; font-weight: 700; color: var(--graphite); margin: 34px 0 6px; letter-spacing: 0; }
.row {
  width: 100%;
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 18px 14px; margin: 0 -14px; width: calc(100% + 28px);
  border-radius: 14px;
  border-top: 1px solid var(--hair);
  transition: background 0.15s;
}
.row:hover { background: rgba(255, 255, 255, 0.55); }
.row.is-active { background: var(--paper-2); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 24px -18px rgba(23,24,28,.4); border-top-color: transparent; }
.row.is-active + .row, .row.is-active + .group + .row { border-top-color: transparent; }
.row__keys { padding-top: 2px; font-size: 19px; white-space: nowrap; }
.row__text b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.row__text span { display: block; color: var(--graphite); font-size: 16px; line-height: 1.5; margin-top: 4px; }
.more { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--hair); color: var(--graphite); font-size: 16px; }
.more .k { font-size: 0.85em; }

/* ---------- Privacy ---------- */
.privacy {
  background: var(--ink); color: #F2F3F6;
  padding: 120px max(16px, calc((100vw - 1240px) / 2)) 112px;
}
.privacy h2 { font-size: clamp(40px, 6.4vw, 88px); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; max-width: 12ch; }
.privacy__lede { max-width: 38em; margin-top: 28px; color: rgba(242, 243, 246, 0.7); font-size: clamp(17px, 1.5vw, 20px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 40px; border-top: 1px solid rgba(242, 243, 246, 0.16); }
.facts div { padding: 22px 20px 0 0; }
.facts dt { color: rgba(242, 243, 246, 0.6); font-size: 15px; }
.facts dd { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin-top: 2px; }
.link { color: #B3A8FF; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Download ---------- */
.download { text-align: center; padding: 128px 16px 112px; display: flex; flex-direction: column; align-items: center; }
.download img { margin-bottom: 26px; filter: drop-shadow(0 18px 24px rgba(58, 43, 194, 0.3)); }
.download h2 { font-size: clamp(40px, 6vw, 80px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin-bottom: 36px; }
.download__req { margin-top: 24px; color: var(--graphite); font-size: 16px; }
.download__note { margin-top: 6px; color: var(--graphite); font-size: 14.5px; max-width: 34em; opacity: 0.85; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; padding: 0 16px 120px; }
.faq h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 18px; }
details { border-top: 1px solid var(--hair); }
details:last-of-type { border-bottom: 1px solid var(--hair); }
summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
details p { color: var(--graphite); padding: 0 0 22px; max-width: 40em; }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding: 26px max(16px, calc((100vw - 1240px) / 2)) 34px;
  border-top: 1px solid var(--hair); color: var(--graphite); font-size: 15px;
}
.footer nav { display: flex; gap: 22px; }
.footer a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 16px 96px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); max-width: none; }
.legal .updated { color: var(--graphite); margin: 14px 0 40px; font-size: 16px; }
.legal h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 10px; }
.legal p, .legal li { color: #3D414B; font-size: 17px; line-height: 1.65; }
.legal ul { padding-left: 22px; display: grid; gap: 10px; margin-top: 10px; }
.legal a { color: var(--signal); }
.legal .summary { background: var(--paper-2); border-radius: 16px; padding: 20px 22px; color: var(--ink); box-shadow: 0 0 0 1px var(--hair); }
.legal code { font-size: 0.9em; background: rgba(23,24,28,.06); padding: 1px 5px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .keymap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stage-col { top: 42px; z-index: 3; background: var(--paper); padding-bottom: 10px; margin: 0 -16px; padding: 8px 16px 10px; box-shadow: 0 12px 16px -14px rgba(23, 24, 28, 0.25); }
  .stage { padding: 6px; border-radius: 13px; }
  .pressed { margin-top: 12px; min-height: 40px; gap: 12px; }
  .k--lg { font-size: 18px; }
  .pressed__label { font-size: 16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .menubar__menus { display: none; }
  .intro { padding-top: 56px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hint { display: none; }
  .privacy { padding-top: 88px; padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
