/* IKTEN landing · prototype C-light «Ο ΠΙΝΑΚΑΣ ΕΛΕΓΧΟΥ», white and black.
   One theme: warm white paper, ink-black lettering, white keys and black keys.
   Green exists in two places only: the excavator of the logo and the ink of the approval stamp.
   Radius rule: plates 18px · screens 9px · key caps 8-11px · LEDs and the knob round.
   Motion: transform and opacity only. z-index scale: page 0 · sticky stage 5 · top bar 50 · skip link 60. */

@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 1 1000; font-display: block;
  src: url(../fonts/sofia-sans-extra-condensed-greek.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 1 1000; font-display: block;
  src: url(../fonts/sofia-sans-extra-condensed-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Commissioner"; font-style: oblique 0deg 12deg; font-weight: 100 900; font-display: swap;
  src: url(../fonts/commissioner-greek.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Commissioner"; font-style: oblique 0deg 12deg; font-weight: 100 900; font-display: swap;
  src: url(../fonts/commissioner-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  /* ── paper: the ground ── */
  --paper: #f5f3ed;        /* the page: the warm white of paper */
  --paper-2: #eeebe3;      /* the alternate ground (the section of the keyboard) */
  --tray: #e6e4dc;         /* recessed trays: the deck of the keys */
  --white: #ffffff;        /* key caps, plates, sheets of paper */
  --plate-lo: #f8f7f2;     /* the lower end of a plate */
  /* ── ink ── */
  --ink: #131311;          /* lettering, black caps, the hairlines of the machine */
  --ink-2: #45443f;        /* secondary text */
  --ink-3: #66655e;        /* quiet text and engraved labels */
  --ink-4: #a6a398;        /* idle marks, ticks, rails. Never text */
  --line: rgba(19, 19, 17, .13);
  --line-2: rgba(19, 19, 17, .3);
  /* ── keys ── */
  --cap-side: #bcb8ab;     /* the side of a white cap: it shows the travel */
  --blk-a: #30302d;        /* a black cap, top of its light */
  --blk-b: #141412;        /* a black cap, bottom */
  --glass: #151513;        /* black glass: bezels, read-outs, the output bay */
  --sh: 44, 38, 24;        /* the colour of every shadow: warm, never pure black */
  /* ── the two greens that are allowed ── */
  --mark: #34c759;         /* the excavator of the logo */
  --stamp: #157a36;        /* the ink of the approval stamp */

  --f-display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-text: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;
  --out: cubic-bezier(.23, 1, .32, 1);
  --inout: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.3, 1.45, .5, 1);
  --stampe: cubic-bezier(.2, 1.35, .35, 1);
  --pad: clamp(16px, 2.8vw, 44px);
  --top-h: 60px;
  /* wide monitors: the inner content of every section stops at --page-max and is centred, the grounds stay full-bleed.
     --page-gut is the side padding that does it (percentages resolve against the section's own width where it is used) */
  --page-max: 1840px;
  --page-gut: max(var(--pad), calc((100% - var(--page-max)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 14px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper) url(../img/tooth.png); color: var(--ink);
  font: 420 17px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
b, strong { font-weight: 640; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 60; padding: 10px 14px; border-radius: 8px;
  background: var(--ink); color: #fff; font-weight: 640; text-decoration: none; }
.skip:focus { top: 10px; }
.ik-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* hidden means hidden, also for a key whose class sets a display */
[hidden] { display: none !important; }

/* ───────────────────────────── shared parts ───────────────────────────── */
/* a lamp: a ring when it is off, a full black dot when it is on */
.led { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-4); }
.led.is-on { background: var(--ink); box-shadow: 0 0 0 3px rgba(19, 19, 17, .13); }
.led.is-blink { animation: led 1.6s steps(1, end) infinite; }
@keyframes led { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

.plate { display: inline-flex; align-items: center; gap: 8px;
  font: 700 14px/1 var(--f-display); letter-spacing: .14em; color: var(--ink-2); }
.plate--quiet { display: inline; font: 420 12.5px/1.2 var(--f-text); letter-spacing: 0; color: var(--ink-3); }

.big { font: 900 clamp(52px, 6.6vw, 112px)/.86 var(--f-display); letter-spacing: -.008em; color: var(--ink); }

/* A KEY. The outer box is the well and the side of the cap; the cap moves down inside it.
   Only `transform` changes. White cap with a black legend by default; `--ink` is the black cap. */
.key {
  --kd: 5px; --top-a: #ffffff; --top-b: #f4f2ec; --side: var(--cap-side); --txt: var(--ink); --edge: var(--ink);
  --hi: rgba(255, 255, 255, .95); --seam: rgba(19, 19, 17, .46);
  position: relative; display: inline-block; padding: 0 0 var(--kd); border: 0; border-radius: 11px;
  background: var(--side); color: var(--txt); text-decoration: none; cursor: pointer; text-align: left;
  box-shadow: 0 0 0 1px var(--edge), 0 3px 4px -1px rgba(var(--sh), .22), 0 12px 16px -12px rgba(var(--sh), .6);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
}
.key__cap {
  display: flex; align-items: center; justify-content: center; gap: .55em; height: 100%;
  border-radius: 10px; background: linear-gradient(180deg, var(--top-a), var(--top-b));
  box-shadow: inset 0 1px 0 var(--hi), 0 1px 0 var(--seam);      /* light on the top edge, a line where the cap meets its side */
  transition: transform 190ms var(--spring);
}
.key:active .key__cap, .key.is-down .key__cap { transform: translateY(var(--kd)); transition: transform 60ms linear; }
@media (hover: hover) and (pointer: fine) {
  .key:hover .key__cap { transform: translateY(1px); }
  .key:active .key__cap, .key.is-down .key__cap { transform: translateY(var(--kd)); }
}
.key:focus-visible { outline-offset: 4px; border-radius: 11px; }
.key--ink { --top-a: var(--blk-a); --top-b: var(--blk-b); --side: #000; --txt: #fff; --hi: rgba(255, 255, 255, .34); --seam: rgba(255, 255, 255, .17); }
.key--paper { --edge: #000; }                                   /* a white key on the black slab */
.key--ghost { --top-a: #2b2b28; --top-b: #171715; --side: #000; --txt: #fff; --edge: rgba(255, 255, 255, .5); --hi: rgba(255, 255, 255, .22); --seam: rgba(255, 255, 255, .12); }
.key--lg .key__cap { padding: .56em .88em .52em; font: 700 clamp(23px, 1.72vw, 34px)/1 var(--f-display); letter-spacing: .012em; white-space: nowrap; }
.key--lg .ik-ico { font-size: .68em; }
.key--sm .key__cap { padding: 8px 12px 7px; font: 700 17px/1 var(--f-display); letter-spacing: .03em; }
.key--sq .key__cap { width: 100%; padding: 0; }
.ik-ico { display: inline-block; width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.1em; }

/* odometer: digit wheels */
.odo { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; line-height: 1; vertical-align: baseline; }
.odo__d { display: inline-block; height: 1em; overflow: hidden; }
.odo__s { display: block; transition: transform 1100ms var(--out); }
.odo__s > span { display: block; height: 1em; line-height: 1; text-align: center; }
.odo__c { display: inline-block; }
/* the counter of a machine: black drums, white numerals */
/* the white numerals belong to the drums: a counter that no script has built yet stays black on the paper and readable */
.odo--big { gap: .04em; margin-right: .07em; }
.odo--big .odo__d {
  position: relative; padding: 0 .05em; border-radius: .075em; height: .92em; color: #fff;
  background: linear-gradient(180deg, #333330 0%, #1a1a18 44%, #0c0c0b 100%);
  box-shadow: inset 0 .022em 0 rgba(255, 255, 255, .24), inset 0 -.1em .11em rgba(0, 0, 0, .5), 0 0 0 1px #000, 0 .045em .06em rgba(var(--sh), .4);
}
.odo--big .odo__s > span { height: .92em; line-height: .96; }
.odo--big .odo__c { color: var(--ink); }
/* a plain numeral that rolls: the knowledge numbers */
.odo--num .odo__d { height: .86em; }
.odo--num .odo__s > span { height: .86em; line-height: .9; }

/* ───────────────────────────── top bar ───────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--top-h); padding: 0 var(--page-gut);
  display: flex; align-items: center; gap: 28px;
  background: var(--paper) url(../img/tooth.png); box-shadow: 0 1px 0 var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; flex: none; text-decoration: none; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; color: var(--mark); margin-top: -3px; }
.brand__name { font: 800 25px/1 var(--f-text); letter-spacing: -.035em; }
.top__nav { display: flex; gap: 26px; margin-left: 18px; min-width: 0; }
.top__nav a, .foot__nav a { font: 540 15px/1 var(--f-text); color: var(--ink-2); text-decoration: none; padding: 8px 0; white-space: nowrap; }
.top__nav a:hover, .foot__nav a:hover, .menu__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.top__nav a[aria-current="true"], .menu__nav a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.soon { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font: 750 16.5px/1 var(--f-display); letter-spacing: .13em; color: var(--ink); }
/* «Σύνδεση» and «Μενού»: two small physical keys, like every other control of the machine (white cap, ink outline, travel) */
.top .key--sm { --kd: 3px; flex: none; }
.top .key--sm .key__cap { padding: 8px 13px 7px; gap: 7px; white-space: nowrap; }
.top .key--sm .ik-ico { font-size: 17px; stroke-width: 2.1; }
.login:not([href]) { cursor: default; }
html:not(.js) [data-app-link]:not([href]) { display: none; }
/* «Μενού»: a key that stays down while its panel is open (a latch); below 1100 px only */
.menu { display: none; position: static; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary .key__cap { transform: translateY(var(--kd)); }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 1; max-height: calc(100svh - var(--top-h)); overflow: auto; overscroll-behavior: contain;
  padding: 6px var(--page-gut) 18px; background: var(--paper) url(../img/tooth.png);
  box-shadow: 0 1px 0 var(--ink), 0 24px 30px -18px rgba(var(--sh), .55); }
.menu__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.menu__nav a { display: flex; align-items: center; min-height: 52px; padding: 6px 2px; font: 620 18px/1.2 var(--f-text); color: var(--ink); text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--line-2); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 16px; }
.menu__soon { display: none; align-items: center; gap: 9px; font: 750 16.5px/1 var(--f-display); letter-spacing: .13em; }
.menu__login { display: none; max-width: 100%; }
.top .menu__login .key__cap { white-space: normal; flex-wrap: wrap; justify-content: flex-start; row-gap: 3px; }
.top .menu__login small { margin-left: 0; }
.menu__login small { margin-left: .6em; font: 520 13px/1 var(--f-text); letter-spacing: 0; color: var(--ink-3); }
/* six links from 1240 px, four from 1100 px, the «Μενού» key below 1100 px */
@media (max-width: 1239px) { .top__wide { display: none; } }
@media (max-width: 1099px) {
  .top__nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 640px) {
  .top { gap: 10px; }
  /* on a phone «Σύνδεση» lives in the panel, with the words «για όσους έχουν ήδη λογαριασμό» beside it */
  .top > .login { display: none; }
  .menu__login { display: inline-block; }
  .menu__nav { grid-template-columns: minmax(0, 1fr); }
  .menu__nav a { min-height: 50px; font-size: 17.5px; }
}
@media (max-width: 380px) {
  .top { gap: 8px; }
  .top > .soon { font-size: 14px; letter-spacing: .04em; gap: 7px; }
}
@media (max-width: 344px) {
  /* the 63 in two columns: three keys of 85 px cannot hold ΑΝΑΚΕΦΑΛΑΙΩΤΙΚΟΣ even at 13 px */
  .wall .banks { --cols: 2; }
  /* the pad of the nine stations keeps three columns: a little less padding lets ΑΝΑΚΕΦΑΛΑΙΩΤΙΚΟΣ stay in its cap */
  .dial .station__k { padding: 6px 3px 5px 4px; }
  /* a narrower bay, so the longest word of a name (Ανακεφαλαιωτικός) fits beside it */
  .wall .stage { grid-template-columns: minmax(0, 36%) minmax(0, 1fr) auto; }
  .wall .stage__n { font-size: 14.5px; }
}
/* a phone at 150 % zoom (about 260 px): names of three lines need a little more height, still the same for every key */
@media (max-width: 300px) { .wall .stage { min-height: 214px; } }
@media (max-width: 344px) {
  /* a phone at 150 % zoom, the narrowest screens: the status moves into the panel too, nothing leaves the bar */
  .top > .soon { display: none; }
  .menu { margin-left: auto; }
  .menu__soon { display: inline-flex; }
}

/* ───────────────────────────── 1 · hero ───────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 44px);
  align-items: center; padding: clamp(18px, 3.4vh, 40px) var(--page-gut) clamp(28px, 5vh, 60px);
  /* the small viewport (Safari with its bars): it does not change while the bars fold, so nothing relays out on scroll */
  min-height: calc(100vh - var(--top-h)); min-height: calc(100svh - var(--top-h));
}
.hero__copy { min-width: 0; }
.mega { font: 900 clamp(58px, min(8.6vw, 15.2vh), 172px)/.9 var(--f-display); letter-spacing: -.012em; color: var(--ink);
  font-size: clamp(58px, min(8.6vw, 15.2svh), 172px); }
.mega__l { display: block; white-space: nowrap; }
.js .mega__l { animation: rise 640ms var(--out) both; }
.js .mega__l:nth-child(2) { animation-delay: 70ms; }
.js .mega__l:nth-child(3) { animation-delay: 140ms; }
.js .mega__l:nth-child(4) { animation-delay: 210ms; }
@keyframes rise { from { opacity: 0; transform: translateY(.16em); } }
.mega__l + .mega__l { margin-top: .035em; }
.mega__dot { color: var(--ink); }

/* the word that is a key: a black cap with a white legend */
.capword { display: inline-block; vertical-align: baseline; padding-bottom: .08em; margin: .02em 0 0 -.02em;
  border-radius: .115em; background: #000;
  box-shadow: 0 0 0 .012em #000, 0 .035em .04em rgba(var(--sh), .4), 0 .12em .14em -.08em rgba(var(--sh), .8); }
.capword__cap { display: block; padding: .055em .13em 0; line-height: .9; border-radius: .105em;
  background: linear-gradient(180deg, #353532 0%, #1b1b19 52%, #121211 100%); color: #fff;
  box-shadow: inset 0 .02em 0 rgba(255, 255, 255, .36), inset 0 -.016em 0 rgba(255, 255, 255, .1), 0 .012em 0 rgba(255, 255, 255, .2);
  transition: transform 200ms var(--spring); }
.capword.is-down .capword__cap { transform: translateY(.08em); transition: transform 60ms linear; }
/* it is a key: pressed, the film starts from step 1 (js/demo.js). Only once the film runs; before that it is lettering */
.hero.is-film .capword { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
@media (hover: hover) and (pointer: fine) {
  .hero.is-film .capword:hover .capword__cap { transform: translateY(.015em); }
  .hero.is-film .capword.is-down .capword__cap { transform: translateY(.08em); }
}
/* the full stop after ΧΑΡΤΙ comes with the slip, never before it (no «ΒΓΑΙΝΕΙ ΤΟ» with a lone dot under it) */
.js .slipbox + .mega__dot { animation: dot-in 140ms linear 1480ms backwards; }
@keyframes dot-in { from { opacity: 0; } }
/* the headline waits for its own font (js/demo.js, at most 3 s): never a black box and a white box without letters */
.hero.is-fontwait .mega { visibility: hidden; }
.hero.is-fontwait .mega *, .hero.is-fontwait .mega__l { animation-play-state: paused !important; }

/* the word that is a slip of paper, coming out of a slot.
   .slip cuts only at the slot (its top edge) · .slip__feed moves and carries the shadow · .slip__paper is the sheet */
.slipbox { display: inline-block; vertical-align: baseline; position: relative; margin: .035em 0 0 -.02em; }
.slip { display: block; position: relative; padding-top: .05em; clip-path: inset(0 -.4em -.4em -.4em); }
.slip::before { content: ""; position: absolute; left: -.035em; right: -.035em; top: 0; height: .05em; border-radius: .025em;
  background: #000; box-shadow: 0 .012em 0 rgba(255, 255, 255, .9); z-index: 2; }
.slip__feed { display: block; position: relative;
  filter: drop-shadow(0 0 .005em rgba(var(--sh), .75)) drop-shadow(0 .03em .028em rgba(var(--sh), .26)) drop-shadow(0 .09em .1em rgba(var(--sh), .2));
  transition: transform 700ms var(--out); }
.slip__paper { display: block; padding: .075em .13em .06em; line-height: .9; background: #fff; color: var(--ink);
  -webkit-mask: radial-gradient(.05em at 50% 100%, #0000 96%, #000) 50% 100% / .15em 100% repeat-x;
          mask: radial-gradient(.05em at 50% 100%, #0000 96%, #000) 50% 100% / .15em 100% repeat-x; }
.js .slip__feed { animation: slip-out 720ms var(--out) 900ms backwards; }
@keyframes slip-out { from { transform: translateY(-104%); } }
.js .capword__cap { animation: cap-down 480ms linear 660ms backwards; }
@keyframes cap-down { 0%, 100% { transform: none; } 20%, 46% { transform: translateY(.08em); } }
.slip.is-nudge .slip__feed { transform: translateY(-9%); transition: transform 120ms linear; }
/* the engineer's seal: lands on the slip when the film reaches the approval, after the slip is out (js/demo.js).
   It is ink, the same as the stamp of the paper in the film: no ground of its own, no shadow, multiplied onto what is
   under it, uneven through the same grain. Outer ring (lighter), inner ring, a tick. Stamp ink, the second green. */
.slip__stamp { position: absolute; z-index: 3; right: -.232em; top: -.075em; width: .424em; height: .424em; border-radius: 50%;
  border: .013em solid var(--stamp); background: transparent; mix-blend-mode: multiply;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.5 1.72'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.5 1.72'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0; transform: rotate(-24deg) scale(1.7); pointer-events: none; }
.slip__stamp::after { content: ""; position: absolute; inset: .02em; border-radius: 50%; border: .03em solid var(--stamp); }
.slip__stamp::before { content: ""; position: absolute; left: .11em; top: .124em; width: .166em; height: .086em;
  border: solid var(--stamp); border-width: 0 0 .045em .045em; transform: rotate(-45deg); }
.slip.is-stamped + .slip__stamp { opacity: .93; transform: rotate(-12deg) scale(1); transition: transform 340ms var(--stampe), opacity 90ms linear; }
html:not(.js) .slip__stamp { opacity: .93; transform: rotate(-12deg); }

.hero__sub { margin-top: clamp(16px, 2.6vh, 26px); max-width: 30em; font-size: clamp(16.5px, 1.25vw, 20px); line-height: 1.5; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3vh, 30px); }
.key--count .odo { margin: 0 .2em; padding: .1em .12em .06em; border-radius: 5px; color: #fff; font-weight: 800;
  background: linear-gradient(180deg, #30302d, #111110); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px #000; }

/* the machine around the screen: white enamel, a black hairline, black glass */
.console {
  position: relative; min-width: 0; padding: 12px; border-radius: 18px;
  background: linear-gradient(180deg, var(--white), var(--plate-lo));
  box-shadow: 0 0 0 1px var(--ink), inset 0 1px 0 #fff, 0 3px 0 0 rgba(var(--sh), .1),
              0 28px 34px -26px rgba(var(--sh), .4), 0 60px 80px -52px rgba(var(--sh), .6);
}
.console__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 11px; }
.screen {
  position: relative; aspect-ratio: 1440 / 880; overflow: hidden; border-radius: 9px; background: #faf9f5;
  box-shadow: 0 0 0 1px #000, 0 0 0 6px var(--glass), 0 0 0 7px #000; margin: 7px; contain: paint;
}
.screen__fade { position: absolute; inset: 0; background: #f6f5f0; opacity: 0; pointer-events: none; transition: opacity 260ms linear; }
.screen__fade.is-on { opacity: 1; }
.screen__nojs { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--ink-3); }
/* the read-out: black glass, white lettering */
.readout { display: flex; align-items: center; gap: 14px; margin: 15px 6px 12px; padding: 10px 16px; min-height: 56px;
  border-radius: 9px; color: #fff; background: linear-gradient(180deg, #232321, #111110);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .7), inset 0 0 0 1px #000, 0 1px 0 #fff; }
.readout__n { font: 800 22px/1 var(--f-display); letter-spacing: .06em; color: #fff; font-variant-numeric: tabular-nums; flex: none;
  padding-right: 14px; box-shadow: 1px 0 0 rgba(255, 255, 255, .26); }
.readout__n:empty { display: none; }
.readout__t { font: 620 clamp(16px, 1.34vw, 21px)/1.25 var(--f-text); letter-spacing: -.008em; color: #fff;
  transition: opacity 180ms linear, transform 260ms var(--out); }
.readout__t.is-out { opacity: 0; transform: translateY(6px); transition: none; }
.transport { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; padding: 0 6px 4px; }
.chapters { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.chapters li { display: flex; }
.chap { width: 100%; }
.chap .key__cap { position: relative; overflow: hidden; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  gap: 2px; min-height: 56px; padding: 9px 9px 7px; }
.chap__n { font: 800 14px/1 var(--f-display); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chap__t { font: 750 clamp(14px, 1.15vw, 18px)/1 var(--f-display); letter-spacing: .06em; color: var(--ink); }
.chap__bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.chap.is-done .chap__bar { transform: scaleX(1); opacity: .26; }
/* the chapter that plays is the black key */
.chap[aria-current="step"] { --top-a: var(--blk-a); --top-b: var(--blk-b); --side: #000; --txt: #fff; --hi: rgba(255, 255, 255, .34); --seam: rgba(255, 255, 255, .17); }
.chap[aria-current="step"] .chap__t { color: #fff; }
.chap[aria-current="step"] .chap__n { color: rgba(255, 255, 255, .72); }
.chap[aria-current="step"] .chap__bar { background: #fff; }
#demo-toggle { width: 100%; }
#demo-toggle .key__cap { min-height: 56px; font-size: 20px; }
#demo-toggle .ik-ico { stroke: none; }
#demo-toggle.is-step .ik-ico { stroke: currentColor; stroke-width: 2.4; }

/* ───────────── 1 · hero at every real size (all the hero's media rules live here, nowhere else) ─────────────
   Two columns from 901 x 561. Below that one column: phones upright (640 and narrower), 641 to 900, and short
   landscape windows (560 tall and less: a phone on its side). Heights use svh (Safari with its bars) after a vh
   line for older browsers. The console is never taller than the window. */
@media (min-width: 901px) and (min-height: 561px) {
  /* the console's height is its screen (0.611 of its width less 38 px) and 225 px of head, read-out and keys */
  .console { justify-self: end;
    width: min(100%, calc((91.6vh - var(--top-h) - 225px) * 1.636 + 38px));
    width: min(100%, calc((91.6svh - var(--top-h) - 225px) * 1.636 + 38px)); }
}
@media (min-width: 901px) and (min-height: 561px) and (max-height: 820px) {
  /* a short laptop window (1280 x 720, 1366 x 657, 1536 x 730): the console is sized by the height, the read-out and
     the keys share one row, the chapter keys carry their number (the name is in the read-out and in their label) */
  .hero { grid-template-columns: minmax(0, 1fr) auto; padding-top: 14px; padding-bottom: 24px; }
  .mega { font-size: clamp(58px, min(8.6vw, 14.6vh), 172px); font-size: clamp(58px, min(8.6vw, 14.6svh), 172px); }
  .hero__ask { display: none; }
  .hero__sub { margin-top: 12px; }
  .hero__cta { margin-top: 14px; }
  .console { width: min(58vw, calc((100vh - var(--top-h) - 180px) * 1.636 + 38px));
    width: min(58vw, calc((100svh - var(--top-h) - 180px) * 1.636 + 38px));
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
  .console__head, .screen, .steps { grid-column: 1 / -1; }
  .readout { margin: 13px 0 4px 6px; height: 48px; min-height: 0; padding: 6px 14px; overflow: hidden; }
  .readout__t { font-size: 15px; line-height: 1.2; }
  .transport { grid-template-columns: 44px minmax(0, 1fr); gap: 6px; padding: 0 6px 0 0; margin-top: 13px; align-self: start; }
  .chapters { grid-template-columns: repeat(7, 40px); gap: 6px; }
  .chap .key__cap { min-height: 44px; padding: 0; align-items: center; justify-content: center; }
  .chap__t { display: none; }
  .chap__n { font-size: 19px; color: var(--ink); }
  .chap[aria-current="step"] .chap__n { color: #fff; }
  #demo-toggle .key__cap { min-height: 44px; }
}
@media (max-width: 900px), (max-height: 560px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; align-items: start; }
}
@media (max-width: 900px) {
  .mega { font-size: clamp(58px, 15.5vw, 150px); }
}
@media (min-width: 641px) and (max-width: 900px) and (min-height: 561px) {
  /* a tablet upright, a narrow window: the headline on two lines, the key and the slip in one column */
  .mega { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: end; column-gap: .2em; row-gap: .07em;
    font-size: min(13.6vw, 13.5vh); font-size: min(13.6vw, 13.5svh); }
  .mega__l + .mega__l { margin-top: 0; }
  .hero { padding-top: 16px; }
  .hero__sub { max-width: 38em; margin-top: 16px; }
  .hero__cta { margin-top: 18px; }
  .console { justify-self: center;
    width: min(100%, calc((100vh - var(--top-h) - 16px - 225px) * 1.636 + 38px));
    width: min(100%, calc((100svh - var(--top-h) - 16px - 225px) * 1.636 + 38px)); }
}
@media (min-width: 641px) and (max-width: 900px) and (min-height: 561px) and (max-height: 760px) {
  /* the same, in a short window: the console is narrowed by the height, so the chapter keys carry their number only */
  .chap .key__cap { min-height: 44px; padding: 0; align-items: center; justify-content: center; }
  .chap__t { display: none; }
  .chap__n { font-size: 19px; color: var(--ink); }
  .chap[aria-current="step"] .chap__n { color: #fff; }
  #demo-toggle .key__cap { min-height: 44px; }
}
@media (max-width: 640px) {
  /* a phone upright. The poster, then the film with its read-out, then the sentence and the two keys: on an iPhone
     in Safari (about 390 x 664 under the bars) the four lines and the playing film with its caption are the first
     screen. The headline gives up a little size to the height (never under 44 px), never a line. */
  .hero { padding-top: 10px; gap: 12px; }
  .hero__copy { display: contents; }
  .console { order: 1; padding: 8px; border-radius: 14px; margin-inline: calc(var(--pad) * -.5); }
  .hero__sub { order: 2; }
  .hero__cta { order: 3; }
  .mega { font-size: clamp(44px, min(15.4vw, (100vh - 161px - 75vw) / 4.05), 150px);
          font-size: clamp(44px, min(15.4vw, (100svh - 161px - 75vw) / 4.05), 150px); }
  .hero__sub { margin-top: 2px; font-size: 15px; line-height: 1.42; }
  .hero__ask { display: none; }
  .hero__cta { margin-top: 0; gap: 9px; flex-wrap: nowrap; }
  .hero__cta .key { flex: 1 1 auto; }
  .hero__cta .key--count { flex: 0 1 auto; }
  .console__head { padding: 2px 4px 7px; }
  .screen { aspect-ratio: 4 / 3; margin: 6px; box-shadow: 0 0 0 1px #000, 0 0 0 5px var(--glass), 0 0 0 6px #000; }
  .readout { margin: 10px 5px 8px; padding: 9px 12px; min-height: 62px; }
  .readout__t { font-size: 16px; }
  .chap .key__cap { min-height: 50px; padding: 8px 8px 6px; }
  .chap__t { font-size: 15px; letter-spacing: .04em; }
  /* the play key sits in the grid of chapters, as its eighth key */
  .transport { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; padding: 0 5px 3px; }
  .transport > .chapters { display: contents; }
  #demo-toggle { grid-column: 4; grid-row: 2; }
}
@media (max-width: 380px) {
  /* the two actions keep 16 px from the edges of the narrowest phone */
  .hero__cta { gap: 8px; }
  .hero__cta .key { flex: 1 1 0; min-width: 0; }
  .hero__cta .key--count { flex: 0 1 auto; }
  .hero__cta .key--lg .key__cap { padding: 13px 8px 12px; font-size: 19.5px; gap: .4em; }
  .key--count .odo { margin: 0 .14em; }
}
@media (max-width: 339px) {
  /* 320 px (Display Zoom) and a phone at 150 % zoom: the two keys stack, each whole */
  .hero__cta { flex-wrap: wrap; }
  .hero__cta .key, .hero__cta .key--count { flex: 1 1 100%; }
}
@media (orientation: landscape) and (max-height: 560px) {
  /* a phone on its side (932 x 430, 844 x 390, 667 x 375) and any window as short: the headline on two lines, sized by
     the height; under it the console, as tall as the window, its read-out and keys beside the screen */
  .hero { padding-top: 12px; padding-bottom: 20px; gap: 16px; }
  .hero__copy { display: block; }
  .mega { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: end; column-gap: .2em; row-gap: .07em;
    font-size: min(12vw, 21.5vh); font-size: min(12vw, 21.5svh); }
  .mega__l + .mega__l { margin-top: 0; }
  .hero__sub { margin-top: 10px; max-width: 42em; font-size: 15px; line-height: 1.42; }
  .hero__ask { display: none; }
  .hero__cta { margin-top: 12px; flex-wrap: nowrap; }
  .console { --con-h: calc(100vh - var(--top-h) - 16px); --con-h: calc(100svh - var(--top-h) - 16px);
    justify-self: center; width: auto; max-width: 100%; margin-inline: 0; padding: 8px; border-radius: 14px;
    display: grid; grid-template-columns: auto minmax(150px, 340px); grid-template-rows: auto auto minmax(0, 1fr); column-gap: 10px; }
  .console__head { grid-column: 1 / -1; padding: 2px 4px 7px; }
  .screen { grid-column: 1; grid-row: 2 / span 2; aspect-ratio: 1440 / 880; margin: 6px;
    width: calc((var(--con-h) - 16px - 25px - 12px) * 1.636); max-width: calc(100vw - 2 * var(--pad) - 210px);
    box-shadow: 0 0 0 1px #000, 0 0 0 5px var(--glass), 0 0 0 6px #000; }
  .readout { grid-column: 2; grid-row: 2; margin: 6px 0 8px; padding: 8px 12px; min-height: 0; gap: 10px; }
  .readout__n { font-size: 19px; padding-right: 10px; }
  .readout__t { font-size: 15px; line-height: 1.25; }
  .transport { grid-column: 2; grid-row: 3; align-self: end; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0 0 4px; }
  .transport > .chapters { display: contents; }
  #demo-toggle { grid-column: 4; grid-row: 2; }
  .chap .key__cap { min-height: 44px; padding: 0; align-items: center; justify-content: center; }
  .chap__t { display: none; }
  .chap__n { font-size: 19px; color: var(--ink); }
  .chap[aria-current="step"] .chap__n { color: #fff; }
  #demo-toggle .key__cap { min-height: 44px; }
}

/* ───────────────────────────── 2 · the wall of 63 ───────────────────────────── */
.wall, .radio, .know { padding: clamp(56px, 9vh, 110px) var(--page-gut) clamp(40px, 7vh, 80px); border-top: 1px solid var(--ink); }
.wall { background: var(--paper-2) url(../img/tooth.png); }
.wall__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: end; margin-bottom: clamp(22px, 4vh, 40px); }
.wall__lede > p:first-child, .radio__lede, .know__lede { max-width: 34em; font-size: clamp(16.5px, 1.2vw, 19.5px); color: var(--ink-2); text-wrap: pretty; }
.selector { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.selector__gap { flex: 0 0 100%; height: 0; }
.sel { --kd: 4px; border-radius: 9px; }
.sel .key__cap { gap: 8px; padding: 8px 11px 7px; border-radius: 8px; font: 750 16.5px/1 var(--f-display); letter-spacing: .07em; color: var(--ink-2); }
.sel[aria-checked="true"] { --top-a: var(--blk-a); --top-b: var(--blk-b); --side: #000; --hi: rgba(255, 255, 255, .34); --seam: rgba(255, 255, 255, .17); }
.sel[aria-checked="true"] .key__cap { color: #fff; transform: translateY(2px); }
.sel[aria-checked="true"] .led { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
/* touch: a small key takes a tap 44 px tall although its cap stays as drawn (an invisible margin above and below it) */
.sel::after, .key--sm::after { content: ""; position: absolute; left: 0; right: 0; top: min(0px, calc((100% - 44px) / 2)); bottom: min(0px, calc((100% - 44px) / 2)); }
.selector__say { margin-top: 12px; min-height: 1.5em; font-size: 15px; color: var(--ink-3); }

.deck { display: grid; grid-template-columns: minmax(320px, 24vw) minmax(0, 1fr); gap: 14px; align-items: start; }
.stage { position: sticky; top: calc(var(--top-h) + 14px); z-index: 5; padding: 12px; border-radius: 18px;
  background: linear-gradient(180deg, var(--white), var(--plate-lo));
  box-shadow: 0 0 0 1px var(--ink), inset 0 1px 0 #fff, 0 3px 0 0 rgba(var(--sh), .1), 0 30px 40px -30px rgba(var(--sh), .5); }
/* the output bay: black glass, the paper of the button comes up in it */
.stage__more, .stage__sheet { display: none; }
/* the safeguard of the shell: a section whose script did not start shows its plain text (the list out of <noscript>) */
.wall.is-plain .selector, .wall.is-plain .deck, .radio.is-plain .board { display: none; }
.stage__more .ik-ico { transition: transform 190ms var(--out); }
/* open: the key stays down (a latch) and its chevron turns */
.stage__more[aria-expanded="true"] .key__cap { transform: translateY(var(--kd)); }
.stage__more[aria-expanded="true"] .ik-ico { transform: rotate(180deg); }
/* tablets: the keys stay as dense as on a desktop (the widest word, ΑΝΑΚΕΦΑΛΑΙΩΤΙΚΟΣ, needs a key 94 px wide) */
@media (min-width: 821px) and (max-width: 1100px) { .wall .banks { --cols: 7; } }
@media (min-width: 901px) and (max-width: 1100px) {
  .wall .banks { --cols: 8; }
  /* a landscape tablet: a smaller bay, so the stuck stage takes less of a short window */
  .wall .stage { grid-template-columns: minmax(0, 28%) minmax(0, 1fr) auto; }
}
/* a desktop window: the sticky stage is never taller than the window (a key with long lists scrolls inside it) */
@media (min-width: 1101px) {
  .stage { max-height: calc(100vh - var(--top-h) - 28px); max-height: calc(100svh - var(--top-h) - 28px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
/* a short desktop window (760 px and less): the two lists go into a sheet that covers the stage while it is open */
@media (min-width: 1101px) and (max-height: 760px) {
  .stage__info .stage__cols, .stage__info .stage__note { display: none; }
  .stage__more { display: inline-block; margin: 12px 8px 4px; }
  .stage__sheet:not([hidden]) { display: block; position: absolute; left: 12px; right: 12px; top: 12px; max-height: calc(100% - 76px); overflow: auto; padding: 14px 16px 16px;
    border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--ink), 0 14px 24px -12px rgba(var(--sh), .6); }
}
.stage__sheet-n { font: 660 19px/1.2 var(--f-text); letter-spacing: -.01em; }
.stage__sheet-one { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.stage__sheet .stage__cols { margin-top: 12px; }
.stage__screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 9px; margin: 7px; background: var(--glass);
  box-shadow: 0 0 0 1px #000, 0 0 0 6px var(--glass), 0 0 0 7px #000; contain: paint; }
.stage__info { padding: 14px 8px 8px; }
.stage__ph { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.stage__ph b { font: 800 16px/1 var(--f-display); letter-spacing: .14em; color: var(--ink); }
.stage__ph span { font-size: 13.5px; color: var(--ink-3); }
.stage__n { margin: 8px 0 6px; font: 660 clamp(21px, 1.7vw, 27px)/1.14 var(--f-text); letter-spacing: -.014em; text-wrap: balance; }
.stage__one { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.stage__fmt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 2px; }
.stage__fmt > span:first-child { font: 700 14px/1 var(--f-display); letter-spacing: .14em; color: var(--ink-3); margin-right: 4px; }
.fmt { padding: 5px 8px 4px; border-radius: 5px; background: var(--ink); color: #fff;
  font: 750 15px/1 var(--f-display); letter-spacing: .09em; }
.stage__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 12px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--line-2); }
.stage__cols h4 { font: 700 14px/1 var(--f-display); letter-spacing: .14em; color: var(--ink-3); margin-bottom: 7px; }
.stage__cols li { position: relative; padding-left: 13px; font-size: 13.5px; line-height: 1.38; color: var(--ink-2); }
.stage__cols li + li { margin-top: 5px; }
.stage__cols li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 1.5px; background: var(--ink); }
.stage__note { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }

/* the deck of the keys: a tray sunk into the page */
.banks { --cols: 9; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 18px 8px; padding: 14px;
  border-radius: 18px; background: var(--tray); box-shadow: inset 0 0 0 1px var(--ink), inset 0 4px 7px rgba(var(--sh), .2), 0 1px 0 #fff; }
.bank { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: 8px; }
.bank__h { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; padding: 0 2px 2px; }
.bank__h b { font: 800 19px/1 var(--f-display); letter-spacing: .12em; color: var(--ink); }
.bank__h i { padding: 3px 6px 1px; border-radius: 4px; background: var(--ink); color: #fff;
  font: 800 17px/1 var(--f-display); font-style: normal; font-variant-numeric: tabular-nums; }
.bank__h span { font-size: 13.5px; color: var(--ink-3); }
@media (min-width: 1240px) {
  .bank--2 { grid-column: 1 / span 5; }
  .bank--3 { grid-column: span 3 / -1; }
}

/* one of the 63: a white cap, a black legend. Selected: the black cap. */
.k { --kd: 4px; position: relative; display: block; width: 100%; padding: 0 0 var(--kd); border: 0; border-radius: 9px;
  background: var(--cap-side); color: var(--ink); cursor: pointer; text-align: left;
  box-shadow: 0 0 0 1px var(--ink), 0 3px 3px -1px rgba(var(--sh), .3); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.k__cap { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 4px;
  height: 74px; padding: 7px 7px 6px 8px; border-radius: 8px; background: linear-gradient(180deg, #ffffff, #f6f4ee); overflow: hidden;
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(19, 19, 17, .46); transition: transform 190ms var(--spring); }
.k__cap::after { content: ""; position: absolute; inset: 0; background: var(--tray); opacity: 0; transition: opacity 220ms linear; pointer-events: none; }
.k__top { display: flex; justify-content: space-between; align-items: flex-start; }
.k__top .ik-ico { font-size: 18px; stroke-width: 1.8; }
.k__led { width: 6px; height: 6px; margin: 2px 1px 0 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-4); }
.k__t { font: 750 15px/1 var(--f-display); letter-spacing: .024em; overflow-wrap: normal; }
.k__t.is-tight { font-size: 14px; letter-spacing: -.012em; }
.k__t.is-tighter { font-size: 13px; letter-spacing: -.016em; }
.k:active .k__cap, .k.is-down .k__cap { transform: translateY(var(--kd)); transition: transform 60ms linear; }
@media (hover: hover) and (pointer: fine) {
  .k:hover .k__cap { transform: translateY(2px); }
  .k:not(.is-off):hover .k__led { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .k:active .k__cap, .k.is-down .k__cap { transform: translateY(var(--kd)); }
}
.k:focus-visible { outline-offset: 3px; border-radius: 9px; z-index: 2; }
.k[aria-pressed="true"] { background: #000; }
.k[aria-pressed="true"] .k__cap { background: linear-gradient(180deg, var(--blk-a), var(--blk-b)); color: #fff; transform: translateY(2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 1px 0 rgba(255, 255, 255, .17); }
.k[aria-pressed="true"] .k__led { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.k[aria-pressed="true"]:active .k__cap, .k[aria-pressed="true"].is-down .k__cap { transform: translateY(var(--kd)); }
/* a key outside the filter: it sinks flat into the tray */
.k.is-off { background: #cfccc1; box-shadow: 0 0 0 1px rgba(19, 19, 17, .28); cursor: default; }
.k.is-off .k__cap { box-shadow: none; transform: translateY(var(--kd)); }
.k.is-off .k__cap::after { opacity: .8; }
.smallprint { margin-top: 18px; max-width: 70em; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }

/* ───────────────────────────── 3 · the assistant ───────────────────────────── */
.radio { background: var(--paper) url(../img/tooth.png); }
.radio__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: end; margin-bottom: clamp(22px, 4vh, 40px); }
.board { display: grid; grid-template-columns: minmax(240px, 276px) minmax(320px, 368px) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.dial, .set, .tools { border-radius: 18px; background: linear-gradient(180deg, var(--white), var(--plate-lo));
  box-shadow: 0 0 0 1px var(--ink), inset 0 1px 0 #fff, 0 3px 0 0 rgba(var(--sh), .1), 0 30px 40px -30px rgba(var(--sh), .45); }
.dial { padding: 18px 12px 12px; display: flex; flex-direction: column; gap: 14px; }
/* the selector: a black knob with a white pointer */
.knob { position: relative; width: 150px; height: 150px; margin: 0 auto; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: none; color: inherit;
  -webkit-tap-highlight-color: transparent; }
.knob__ticks { position: absolute; inset: 0; }
.knob__ticks i { position: absolute; left: 50%; top: 0; width: 2px; height: 9px; margin-left: -1px; border-radius: 1px; background: var(--ink-4); transform-origin: 50% 75px; }
.knob__ticks i.is-on { background: var(--ink); width: 4px; margin-left: -2px; height: 11px; }
.knob__body { position: absolute; inset: 17px; border-radius: 50%; background: radial-gradient(circle at 50% 26%, #4d4d49, #1f1f1d 60%, #121211);
  box-shadow: 0 0 0 1px #000, 0 6px 0 #000, 0 7px 0 1px #000, 0 20px 16px -8px rgba(var(--sh), .6), inset 0 1px 0 rgba(255, 255, 255, .42); }
.knob__turn { position: absolute; inset: 0; border-radius: 50%; transition: transform 420ms var(--spring); }
.knob__turn::before { content: ""; position: absolute; left: 50%; top: 8px; width: 5px; height: 30px; margin-left: -2.5px; border-radius: 3px; background: #fff; }
.knob__body::after { content: ""; position: absolute; z-index: 1; inset: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #2e2e2b, #161614);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .22); }
.knob:focus-visible { outline-offset: 2px; border-radius: 50%; }
.stations { display: flex; flex-direction: column; gap: 4px; }
.station { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink-2); text-align: left; cursor: pointer; font: 540 14.5px/1.2 var(--f-text); }
.station b { font: 800 18px/1 var(--f-display); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.station__k { display: none; }
.station:hover { background: rgba(19, 19, 17, .06); color: var(--ink); }
/* the station that plays: black, as the pressed key */
.station[aria-checked="true"] { background: var(--ink); color: #fff; }
.station[aria-checked="true"] b { color: #fff; }
.station[aria-checked="true"] .led { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }

.set { padding: 12px; display: flex; flex-direction: column; }
.set__screen { position: relative; flex: 1; min-height: 520px; margin: 7px; border-radius: 9px; overflow: hidden; background: #faf9f5;
  box-shadow: 0 0 0 1px #000, 0 0 0 6px var(--glass), 0 0 0 7px #000; contain: paint; }
.set__root { position: absolute; inset: 0; --chat-w: 100%; --ik-ico-stroke: 2; --ik-vh: 5.2px; }
.set__bar { display: flex; align-items: center; gap: 12px; padding: 13px 6px 4px; }
.set__note { font-size: 13.5px; color: var(--ink-3); }

.tools { position: relative; padding: 22px 22px 18px; display: flex; flex-direction: column; min-width: 0; }
.tools__n { position: absolute; right: 22px; top: 20px; display: flex; align-items: baseline; gap: 8px; font: 700 14px/1 var(--f-display); letter-spacing: .14em; color: var(--ink-3); }
.tools__n .odo { font: 800 54px/1 var(--f-display); letter-spacing: 0; margin-right: 0; }
/* the nine groups in one cell: the panel takes the height of the largest and never clips or scrolls */
.tools__panes { display: grid; flex: 1; }
.pane { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; visibility: hidden; opacity: 0; }
.pane.is-on { visibility: visible; opacity: 1; transition: opacity 220ms linear; }
.tools__g { max-width: calc(100% - 170px); min-height: 2.24em; font: 660 clamp(22px, 1.9vw, 29px)/1.12 var(--f-text); letter-spacing: -.014em; text-wrap: balance; }
.tools__what { margin-top: 8px; max-width: 40em; font-size: 15.5px; color: var(--ink-2); }
.tools__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin-top: 14px; }
.tools__list li { display: grid; grid-template-columns: 9px minmax(0, 1fr); gap: 2px 9px; align-items: baseline; align-content: start; padding: 8px 0; box-shadow: inset 0 1px 0 var(--line-2); }
.tools__list li .led { align-self: center; }
.tools__list li b { font: 620 15px/1.25 var(--f-text); }
.tools__list li span { grid-column: 2; font-size: 13.5px; line-height: 1.38; color: var(--ink-3); }
.tools__list li.is-in { grid-template-columns: minmax(0, 1fr); }
.tools__list li.is-in span { grid-column: 1; font-size: 14px; color: var(--ink-3); }
/* «ΡΩΤΑ ΚΑΙ ΑΥΤΑ» right under the list (a small group reads as a compact card with air below it) */
.tools__ex { margin: 8px 0 6px; padding-top: 18px; }
.tools__ex h4 { font: 700 14px/1 var(--f-display); letter-spacing: .14em; color: var(--ink-3); margin-bottom: 8px; }
.tools__ex ul { display: flex; flex-wrap: wrap; gap: 8px; }
.tools__ex li { max-width: 30em; }
/* an example is a button: pressed, its question plays in the chat */
.tools__ask { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px 8px 12px; border: 0; border-radius: 9px; background: transparent;
  font: 420 14.5px/1.35 var(--f-text); color: var(--ink-2); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform 190ms var(--spring); }
.tools__ask .tools__send { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.4; }
.tools__ask:active { transform: translateY(2px); transition: transform 60ms linear; }
@media (hover: hover) and (pointer: fine) {
  .tools__ask:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
}
.tools__ask:focus-visible { outline-offset: 2px; border-radius: 9px; }
/* the name of the station beside the knob: only on narrow boards, where the knob stands over the pad of keys */
.dial__top { display: flex; flex-direction: column; align-items: center; }
.dial__now { display: none; }
/* 52 = 30 that read or ask + 22 that change something: the widths are the numbers */
.split { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 8px; padding: 10px 2px 0; }
.split__part { min-width: 0; }
.split__part p { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.25; color: var(--ink-2); }
.split__part b { font: 800 clamp(34px, 3.2vw, 48px)/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.split__bar { display: block; height: 12px; margin-top: 8px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.split__part--on .split__bar { background: var(--ink); }
/* phones: the two shares one under the other, each label on one line, each bar as long as its share of the 52 */
@media (max-width: 560px) {
  .split { flex-direction: column; align-items: stretch; gap: 12px; }
  .split__part p { min-height: 0; }
  .split__part .split__bar { width: 57.7%; margin-top: 6px; }
  .split__part--on .split__bar { width: 42.3%; }
}

/* ───────────────────────────── 4 · what it knows ───────────────────────────── */
.know { background: var(--white); }
.know__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: end; margin-bottom: clamp(30px, 5.5vh, 56px); }
.know__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(26px, 4.4vh, 46px) clamp(20px, 2.6vw, 44px); }
.know__it { min-width: 0; padding-top: 16px; border-top: 3px solid var(--ink); }
/* the page reads the law first (398, then 9.000+); on a wide screen they keep their places of the approved poster */
.know__it--a { grid-column: 1 / span 8; grid-row: 1; }
.know__it--b { grid-column: 9 / span 4; grid-row: 1; }
.know__it--c { grid-column: 1 / span 4; grid-row: 2; }
.know__it--d { grid-column: 5 / span 3; grid-row: 2; }
.know__it--e { grid-column: 8 / span 5; grid-row: 2; }
/* every numeral of a row shares the top of its digits and its baseline: the full stop and the plus sit in boxes no
   taller than the digits, so 9.000+ and 398, 5.000+ and 400+ stand on one line and their captions start together */
.know__it .odo { display: flex; align-items: flex-start; font: 800 clamp(96px, 10.6vw, 176px)/1 var(--f-display); letter-spacing: -.012em; color: var(--ink); }
.know__it--a .odo { font-size: clamp(132px, 21vw, 340px); }
.know__it--b .odo { font-size: clamp(132px, 21vw, 340px); }
.know__it .odo__c { font-size: .58em; align-self: flex-start; margin-left: .04em; line-height: 1.24; }
.know__it .odo__c.is-dot { font-size: 1em; align-self: flex-start; height: .86em; margin: 0; line-height: .9; overflow: hidden; }
html:not(.js) .know__it .odo { display: block; line-height: .9; }
.know__more { display: inline-flex; align-items: center; min-height: 44px; margin-top: -10px; font-weight: 620; color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.know__more::after { content: "→"; margin-left: .35em; }
.know__it p { margin-top: clamp(10px, 1.5vh, 18px); max-width: 33em; font-size: clamp(15.5px, 1.1vw, 17.5px); line-height: 1.48; color: var(--ink-2); }
.know__it p b { color: var(--ink); font-weight: 680; }
.know__it--a p { max-width: 38em; font-size: clamp(16.5px, 1.25vw, 19.5px); }
.know__how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 44px); margin-top: clamp(30px, 5.5vh, 56px); padding-top: 18px; border-top: 1px solid var(--ink); }
.know__how li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.know__how .ik-ico { font-size: 26px; margin-top: 1px; stroke-width: 1.6; }
.know__how p { font-size: clamp(15.5px, 1.12vw, 17.5px); line-height: 1.45; color: var(--ink-2); }
.know__how p b { color: var(--ink); font-weight: 680; }

/* ───────────────────────────── 5 · outro: the one black slab ───────────────────────────── */
.outro { position: relative; overflow: hidden; padding: clamp(56px, 10vh, 120px) var(--page-gut) clamp(48px, 9vh, 100px);
  background: #111110; color: #fff; }
.outro__line { max-width: 22em; font: 640 clamp(20px, 2.1vw, 32px)/1.2 var(--f-text); letter-spacing: -.012em; text-wrap: balance; color: #fff; }
/* «ΟΧΙ ΧΑΡΤΙΑ.»: the second half of the slogan in the poster lettering, about a third of the headline under it */
.outro__no { display: block; margin-top: .22em; font: 900 clamp(40px, 4.95vw, 90px)/.86 var(--f-display); letter-spacing: -.008em; color: #fff; }
.outro__end { max-width: 30em; margin-top: clamp(18px, 3.2vh, 32px); font: 560 clamp(17px, 1.3vw, 21px)/1.4 var(--f-text); letter-spacing: -.008em; color: #fff; text-wrap: balance; }
.outro__h { margin-top: clamp(14px, 2.6vh, 28px); font: 900 clamp(88px, 16.5vw, 300px)/.8 var(--f-display); letter-spacing: -.015em; color: #fff; }
.outro__cta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 5vh, 52px); }
.outro__cta small { margin-left: .5em; font: 520 13.5px/1 var(--f-text); letter-spacing: 0; opacity: .78; }
.outro__mark { position: absolute; right: calc(var(--page-gut) - 2 * var(--pad)); bottom: -6%; width: min(46vw, 620px); height: auto; color: #fff; opacity: .1; pointer-events: none; }
.outro :focus-visible { outline-color: #fff; }
.outro .key { box-shadow: 0 0 0 1px var(--edge), 0 12px 16px -10px rgba(0, 0, 0, .9); }
/* the excavator digs while the section is on screen (the class comes from an observer) */
.dig-boom, .dig-arm { transform-box: view-box; }
.dig-boom { transform-origin: 50px 60px; }
.dig-arm { transform-origin: 29px 17px; }
.outro.is-live .dig-boom { animation: dig-boom 4.2s var(--inout) infinite alternate; }
.outro.is-live .dig-arm { animation: dig-arm 4.2s var(--inout) infinite alternate; }
@keyframes dig-boom { from { transform: rotate(-3deg); } to { transform: rotate(4deg); } }
@keyframes dig-arm { from { transform: rotate(-9deg); } to { transform: rotate(13deg); } }

.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; padding: 34px var(--page-gut) 40px; background: var(--paper) url(../img/tooth.png); color: var(--ink-3); font-size: 14px; }
.foot__brand p { margin-top: 8px; color: var(--ink-2); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; align-content: flex-start; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.foot__note { grid-column: 1 / -1; max-width: 74em; font-size: 13.5px; line-height: 1.5; }
.foot__note p + p { margin-top: 4px; }
/* without scripts: the sentence about the film's AI footage shows when the film is on the page */
html:not(.js) body:has(#tainia) .foot__film[hidden] { display: block !important; }
.foot__legal { grid-column: 1 / -1; font-size: 13px; }

/* ───────────────────────────── responsive ───────────────────────────── */
/* (the hero's own media rules are in its block: «1 · hero at every real size») */
@media (min-width: 1600px) {
  .board { grid-template-columns: 320px 420px minmax(0, 1fr); }
  .tools { padding: 28px 30px 24px; }
  .tools__n { right: 30px; top: 26px; }
  .tools__list li b { font-size: 16.5px; }
  .tools__list li span { font-size: 14px; }
  .tools__ask { font-size: 15px; }
  .tools__what { font-size: 17px; }
  .station { font-size: 16px; padding: 11px 12px; }
}
@media (min-width: 1700px) {
  .k__cap { height: 84px; padding: 9px 10px 8px; }
  .k__t { font-size: 17px; }
  .k__t.is-tight { font-size: 16px; }
  .k__t.is-tighter { font-size: 15px; }
  .k__top .ik-ico { font-size: 20px; }
}
@media (max-width: 1399px) {
  .banks { --cols: 8; }
  .k__cap { height: 76px; }
}
@media (max-width: 1399px) {
  /* under 1400 px the selector and the chat stand side by side and the list of tools lies under them, in three
     columns, as tall as the group it shows (the selector does not turn by itself here) */
  .board { grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); }
  .tools { grid-column: 1 / -1; }
  .pane { display: none; }
  .pane.is-on { display: flex; }
  .tools__ex { margin-top: 0; }
  .tools__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* the chat screen has a height of its own here (it used to stretch to 520-611 px with two thirds empty) */
  .set__screen { flex: none; height: 440px; min-height: 0; }
  .tools__g { min-height: 0; }
  /* the sentence of the group stops before the counter at the corner of the panel (it used to run under it at tablet widths) */
  .tools__what { max-width: min(40em, calc(100% - 168px)); }
}
@media (max-width: 1239px) {
  .banks { --cols: 6; }
  /* one grid for the poster: 9.000+ across, then two rows of halves */
  .know__it--a { grid-column: 1 / -1; grid-row: 1; }
  .know__it--b { grid-column: 1 / span 6; grid-row: 2; }
  .know__it--c { grid-column: 7 / span 6; grid-row: 2; }
  .know__it--d { grid-column: 1 / span 6; grid-row: 3; }
  .know__it--e { grid-column: 7 / span 6; grid-row: 3; }
}
@media (max-width: 900px) {
  .tools__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .know__how { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 1100px) {
  .wall__head, .radio__head, .know__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .deck { grid-template-columns: minmax(0, 1fr); }
  /* the stage is a bar of FIXED height (it never changes with the key, so nothing under the thumb moves):
     the bay on the left, phase, name, sentence and formats beside it, and «ΤΙ ΧΡΕΙΑΖΕΤΑΙ», which opens the whole
     sentence and the two lists in a sheet under the bar. A 7 px strip of the ground above it hides the keys that
     scroll between the top bar and the stuck stage. */
  .stage { top: calc(var(--top-h) + 6px); display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr) auto;
    grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: "bay ph ph" "bay n n" "bay one one" "bay fmt more";
    column-gap: 10px; padding: 8px 10px 8px 8px; border-radius: 14px;
    box-shadow: 0 0 0 1px var(--ink), inset 0 1px 0 #fff, 0 16px 24px -12px rgba(var(--sh), .55), 0 -7px 0 0 var(--paper-2); }
  .stage__screen { grid-area: bay; margin: 6px; align-self: start; box-shadow: 0 0 0 1px #000, 0 0 0 4px var(--glass), 0 0 0 5px #000; }
  /* the small paper is drawn at the size of the wide stage and scaled into the bay (js/wall.js sets --bay-k) */
  .stage__screen > .d { inset: auto; left: 0; top: 0; width: 308px; height: 231px; transform: scale(var(--bay-k, .5)); transform-origin: 0 0; }
  .stage__screen .d-paper, .stage__screen .d-xl { font-size: 11.2px; }
  .stage__screen .d-fan > div { font-size: 11.5px; }
  .stage__screen .d-duo > div { font-size: 10.6px; }
  .stage__screen .d-time__lbl, .stage__screen .d-bars label, .stage__screen .d-mark { font-size: 14.4px; }
  .stage__screen .d-time__say { font-size: 21.6px; }
  .stage__screen .d-bars i { height: 21.6px; }
  .stage__screen .d-count { font-size: 33px; }
  .stage__screen .d-dwg__cart { font-size: 9.8px; }
  .stage__screen .d-photos__g span { font-size: 10.8px; }
  .stage__screen .d-photos .d-h { font-size: 13px !important; }
  .stage__screen .dt { font-size: 12.5px; }
  .stage__info { display: contents; }
  .stage__ph { grid-area: ph; padding-top: 5px; }
  .stage__n { grid-area: n; font-size: 18px; margin: 5px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .stage__one { grid-area: one; font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .stage__fmt { grid-area: fmt; margin: 6px 0 1px; align-self: end; }
  .stage__more { grid-area: more; align-self: end; justify-self: end; display: inline-block; margin: 6px 0 1px; }
  .stage__fmt > span:first-child, .stage__info .stage__cols, .stage__info .stage__note, .stage__ph span { display: none; }
  .fmt { font-size: 13.5px; padding: 4px 6px 3px; }
  /* the sheet: a white plate hanging under the bar, over the keys; it scrolls inside when it is longer than the window */
  .stage__sheet:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: 60vh;
    max-height: calc(100svh - var(--top-h) - 6px - 100% - 22px); overflow: auto; overscroll-behavior: contain; padding: 14px 16px 16px;
    border-radius: 14px; background: linear-gradient(180deg, var(--white), var(--plate-lo));
    box-shadow: 0 0 0 1px var(--ink), inset 0 1px 0 #fff, 0 22px 30px -16px rgba(var(--sh), .6); }
}
@media (max-width: 640px) {
  /* a phone: the sentence takes the whole width under the bay, beside «ΤΙ ΧΡΕΙΑΖΕΤΑΙ» */
  /* min-height: the tallest case (a name of three lines beside a small bay), so every key gives the same height */
  .stage { grid-template-columns: minmax(0, 44%) minmax(0, 1fr) auto; grid-template-rows: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "bay ph ph" "bay n n" "bay fmt fmt" "one one more"; min-height: 194px; }
  .stage__n { font-size: 17px; -webkit-line-clamp: 3; }
  .stage__one { -webkit-line-clamp: 3; height: calc(3 * 1.35em); margin-top: 6px; align-self: center; }
  .stage__fmt { margin: 6px 0 2px; }
  .stage__more { align-self: center; margin: 6px 0 0; }
  .stage__more .key__cap { padding: 7px 9px 6px; font-size: 15px; gap: 5px; }
}
@media (max-width: 380px) {
  .stage__n { font-size: 16px; }
  .stage__one { font-size: 13px; }
}
@media (max-width: 820px) {
  .banks { --cols: 5; padding: 10px; gap: 16px 7px; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .set__screen { height: 430px; }
  /* the nine stations become nine keys, three by three: all of them are in view */
  .dial { padding: 12px; gap: 12px; }
  /* the knob stays on a phone (smaller), with the name of the station it points at beside it */
  .dial__top { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 2px 4px 0; }
  .knob { flex: none; transform: scale(.6); margin: -30px; }
  .dial__now { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .dial__now b { font: 800 34px/1 var(--f-display); font-variant-numeric: tabular-nums; }
  .dial__now span { font: 620 16.5px/1.25 var(--f-text); letter-spacing: -.01em; text-wrap: balance; }
  .stations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .station { --kd: 4px; display: block; padding: 0 0 var(--kd); border-radius: 9px; background: var(--cap-side); color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink), 0 3px 3px -1px rgba(var(--sh), .3); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .station:hover { background: var(--cap-side); }
  .station > .led, .station > span:not(.station__k), .station > b { display: none; }
  .station__k { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-height: 62px; padding: 7px 6px 6px 7px; border-radius: 8px; overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #f6f4ee); box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(19, 19, 17, .46); transition: transform 190ms var(--spring); }
  .station__k i { font: 800 17px/1 var(--f-display); font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; }
  .station__k em { font: 750 14.5px/1 var(--f-display); font-style: normal; letter-spacing: .024em; }
  .station__k em.is-tight { font-size: 13px; letter-spacing: 0; }
  .station__k em.is-tighter { font-size: 12px; letter-spacing: -.01em; }
  .station:active .station__k { transform: translateY(var(--kd)); transition: transform 60ms linear; }
  .station[aria-checked="true"] { background: #000; }
  .station[aria-checked="true"] .station__k { background: linear-gradient(180deg, var(--blk-a), var(--blk-b)); color: #fff; transform: translateY(2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 1px 0 rgba(255, 255, 255, .17); }
  .station[aria-checked="true"] .station__k i { color: rgba(255, 255, 255, .75); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --top-h: 54px; }
  .soon { font-size: 15px; letter-spacing: .06em; }
  .brand__name { font-size: 23px; }
  .plate--quiet { font-size: 12px; text-align: right; }
  .plate--quiet span { display: none; }
  .plate { white-space: nowrap; }
  .key--lg .key__cap { padding: 13px 12px 12px; font-size: 22px; }
  .banks { --cols: 3; gap: 16px 7px; }
  .k__cap { height: 78px; padding: 7px 7px 6px; }
  .k__t { font-size: 15px; }
  .tools { padding: 18px 16px 16px; }
  .tools__n { right: 16px; top: 16px; }
  .tools__n .odo { font-size: 44px; }
  /* the name of the group stands beside the counter (centred when it is one line) and the sentence starts under both */
  .tools__g { max-width: calc(100% - 132px); min-height: 40px; display: flex; align-items: center; }
  .tools__what { max-width: 40em; }
  .tools__list { grid-template-columns: minmax(0, 1fr); }
  .know__grid { grid-template-columns: minmax(0, 1fr); }
  .know__it--a, .know__it--b, .know__it--c, .know__it--d, .know__it--e { grid-column: 1 / -1; grid-row: auto; }
  .know__it .odo { font-size: clamp(96px, 30vw, 150px); }
  .know__it--a .odo { font-size: clamp(110px, 35vw, 180px); }
  .know__it--b .odo { font-size: clamp(110px, 35vw, 180px); }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .outro__cta .key { flex: 1 1 100%; }
  .outro__cta .key__cap { justify-content: center; flex-wrap: wrap; row-gap: 4px; white-space: normal; text-align: center; }
}
@media (max-width: 380px) {
  .key--lg .key__cap { padding: 13px 8px 12px; font-size: 19.5px; gap: .4em; }
  /* the longest word of a group name stays clear of the counter of the panel */
  .tools__g { font-size: 20px; max-width: calc(100% - 120px); }
}

/* ── without script: the film, the keyboard and the selector cannot run, so the same content is plain text ── */
/* HERO · the seven steps of the film. No script: a list under the screen. The film running (.hero.is-film, set by
   js/demo.js): text for screen readers only. Scripts on but the film never started (a file that did not arrive, a
   stale cache): after 3 s the list covers the console under its head, so the console is never an empty grey box
   with a read-out that says nothing and keys that do nothing. */
.steps { margin: 14px 10px 8px; padding-left: 1.5em; list-style: decimal; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.js .hero.is-film .steps { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the safeguard of src/shell.html found the film not started (.is-plain): the console shows its head and the steps */
.hero.is-plain .screen, .hero.is-plain .readout, .hero.is-plain .transport { display: none; }
.js .hero:not(.is-film):not(.is-plain) .steps { position: absolute; z-index: 4; left: 12px; right: 12px; top: 40px; bottom: 12px; margin: 0; overflow: auto;
  padding: clamp(16px, 4vh, 44px) 18px 16px calc(18px + 1.5em); border-radius: 9px; font-size: clamp(15px, 1.2vw, 19px); background: #faf9f5; box-shadow: 0 0 0 1px #000, 0 0 0 6px var(--glass), 0 0 0 7px #000;
  visibility: hidden; animation: steps-in 200ms linear 3s both; }
@keyframes steps-in { from { visibility: hidden; opacity: 0; } to { visibility: visible; opacity: 1; } }
.js .hero:not(.is-film) .steps li + li { margin-top: 6px; }
html:not(.js) .readout, html:not(.js) .transport, html:not(.js) .selector, html:not(.js) .deck, html:not(.js) .board { display: none; }
html:not(.js) .screen { aspect-ratio: auto; min-height: 120px; }
html:not(.js) .odo::before { content: attr(data-odo); }
.plain { columns: 3 300px; column-gap: 34px; }
.plain h3 { margin: 28px 0 8px; font: 800 22px/1.1 var(--f-display); letter-spacing: .12em; break-after: avoid; }
.plain h3:first-child { margin-top: 0; }
.plain h3 b { letter-spacing: 0; }
.plain h3 span { display: block; margin-top: 4px; font: 480 14px/1.35 var(--f-text); letter-spacing: 0; color: var(--ink-3); }
.plain dl > div { padding: 8px 0; break-inside: avoid; box-shadow: inset 0 1px 0 var(--line-2); }
.plain dt { font-weight: 620; }
.plain dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.4; color: var(--ink-3); }
.plain dd i { font-style: normal; white-space: nowrap; color: var(--ink-2); }

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