/* The home page ("Feierabend") and its thank-you page. A night stage first: the big clock beside the phone, a glow
   that takes the light's colour, the words after the picture. Cooler and deeper than Graphite; light mode is the same
   scene in the morning. The animation itself is home-flow.css, generated by src/site/flow.ts; this file holds the
   layout and the still frame shown when motion is reduced. */

@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/site/InstrumentSans_400Regular.ttf?v=a22cb26e") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/site/InstrumentSans_500Medium.ttf?v=55c9b7e8") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/site/InstrumentSans_600SemiBold.ttf?v=cb223170") format("truetype"); }
/* Instrument Sans' digits and colon only, with the width axis, for the big clock. */
@font-face {
  font-family: "PlugReady Clock"; font-style: normal; font-display: block;
  font-weight: 400 700; font-stretch: 75% 100%;
  src: url("/site/InstrumentSans-clock.woff2?v=3123e9f4") format("woff2");
}

:root {
  color-scheme: dark;
  /* Night, the same scene: deep blue overhead, a last warm line at the horizon. */
  --sky-0: #070b17; --sky-1: #0d1630; --sky-2: #1a2342; --sky-3: #1e2040; --sky-4: #33283a;
  --sun: rgba(255, 150, 90, 0.20); --sun-core: rgba(255, 200, 150, 0.10);
  --cloud: rgba(150, 165, 215, 0.10);
  --bottom: #060910;
  --ink: #eef1f6;
  --soft: #a0a9ba;
  --line: rgba(238, 241, 246, 0.16);
  --field: rgba(238, 241, 246, 0.06);
  --field-edge: rgba(238, 241, 246, 0.37); /* 3:1 against the page, WCAG 1.4.11 */
  --card: rgba(238, 241, 246, 0.045);
  --card-edge: rgba(238, 241, 246, 0.09);
  --error: #ffa198;
  --btn: #eef1f6;
  --btn-text: #0d1220;
  --mark-ready: #94e7b9;
  --glow-blue: rgba(69, 129, 255, 0.34);
  --glow-green: rgba(93, 242, 170, 0.24);
  /* spacing scale (rem): 0.5 / 1 / 1.5 / 2.5 / 4 / 6 */
  --gut: 1.5rem;
}
/* The narrowest phones (320–374 px) give the words a little more room. */
@media (max-width: 23.4rem) { :root { --gut: 1.25rem; } }
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    /* 19:55 in a German summer: still-blue sky overhead, a hazy gold band where the sun is about to touch down. */
    --sky-0: #a6c6ea; --sky-1: #cfe1f2; --sky-2: #eaeef0; --sky-3: #fbe6bf; --sky-4: #f7cf8f;
    --sun: rgba(255, 190, 90, 0.78); --sun-core: rgba(255, 244, 214, 0.95);
    --cloud: rgba(255, 255, 255, 0.55);
    --bottom: #f4f3f0;
    --ink: #101a30;
    --soft: #38455e;
    --line: rgba(16, 26, 48, 0.2);
    --field: rgba(255, 255, 255, 0.85);
    --field-edge: rgba(16, 26, 48, 0.47);
    --card: rgba(255, 255, 255, 0.72);
    --card-edge: rgba(16, 26, 48, 0.08);
    --error: #b42318;
    --btn: #101a30;
    --btn-text: #ffffff;
    --mark-ready: #065c37;
    /* On the evening sky a blue glow greys the gold and a strong green one turns it olive: the sky carries the
       mood in light mode, and only a faint green answers the free point. */
    --glow-blue: transparent;
    --glow-green: rgba(10, 160, 92, 0.14);
  }
}

* { box-sizing: border-box; }
html {
  min-height: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  background: var(--bottom);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink);
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; }
a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.muted { color: var(--soft); }

.top { display: flex; justify-content: center; align-items: center; height: 3.5rem; }
.mark { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; text-decoration: none; }
.mark .mark-r { color: var(--mark-ready); }
@media (min-width: 56rem) { .top { height: 4.5rem; } }

/* ---------------------------------------------------------------------------------------------------------------
   The scene. Without a scene headline: on phones the clock and caption sit above the phone, on wide screens beside it,
   right-aligned. With one (.has-headline): on phones the headline, the sub, a compact clock row and the whole phone fill
   the first screen; on wide screens the words and the clock make a left column beside the phone. */

.scene { position: relative; isolation: isolate; padding: 0.5rem var(--gut) 2.5rem; overflow-x: clip; }
/* The sky: it starts behind the header and runs down to a gold horizon that melts into the page. The sun sits low,
   under the phone; two thin streaks of cloud catch the light. */
.scene::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -4.5rem; bottom: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 5% at 18% 26%, var(--cloud), transparent),
    radial-gradient(ellipse 34% 3.5% at 84% 38%, var(--cloud), transparent),
    radial-gradient(ellipse 60% 3% at 62% 56%, var(--cloud), transparent),
    radial-gradient(ellipse 34% 20% at 50% 82%, var(--sun-core), transparent 70%),
    radial-gradient(ellipse 85% 38% at 50% 86%, var(--sun), transparent 72%),
    linear-gradient(to bottom, var(--sky-0) 0%, var(--sky-1) 30%, var(--sky-2) 55%, var(--sky-3) 78%, var(--sky-4) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}
.top { position: relative; z-index: 1; }
.scene-grid { display: grid; justify-items: center; row-gap: 1.75rem; }
.scene-text { text-align: center; }
.big-clock {
  position: relative; display: inline-block;
  font-family: "PlugReady Clock", "Instrument Sans", sans-serif; font-stretch: 75%; font-weight: 500;
  font-size: clamp(5.25rem, 26vw, 8rem); line-height: 0.86; letter-spacing: -0.01em;
}
.big-clock span { display: block; }
.big-clock { display: inline-grid; }
.big-clock span { grid-area: 1 / 1; }
.caps { position: relative; width: min(21rem, calc(100vw - 2rem)); height: 3.2em; margin: 1rem auto 0; color: var(--soft); }
.cap { position: absolute; left: 0; right: 0; top: 0; text-wrap: balance; }

.phone-slot { position: relative; --phone-w: min(18.5rem, 76vw); }
.glow { position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.glow span { position: absolute; inset: 0; border-radius: 50%; }
.glow-blue { background: radial-gradient(closest-side, var(--glow-blue), transparent 72%); }
.glow-green { background: radial-gradient(closest-side, var(--glow-green), transparent 72%); }
.phone-slot .phone { position: relative; }

.scene-foot { display: flex; justify-content: center; margin-top: 0.75rem; }

.scene-headline { max-width: 21rem; margin: 0; font-size: clamp(2.125rem, 9.2vw, 2.5rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.032em; text-wrap: balance; }
.scene-sub { max-width: 22rem; margin: 0.5rem 0 0; color: var(--soft); font-size: 0.9375rem; line-height: 1.45; text-wrap: pretty; }

@media (max-width: 55.99rem) {
  /* No forced first screen: the headline, then the clock and its caption, then the phone, which may run past the fold.
     Room between the three, and everything starts on the same left edge. */
  .has-headline { padding-top: 1rem; }
  .has-headline .scene-grid { justify-items: stretch; row-gap: 2.5rem; }
  .has-headline .scene-text { text-align: left; }
  /* Clock and caption share one row; both scale down on narrow phones so every caption keeps to its two lines (the
     longest line, "Eine Nachricht, dann ist Schluss.", is 33 characters). */
  .has-headline .clock-row { display: flex; align-items: center; gap: clamp(0.625rem, 3vw, 1rem); margin: 1.75rem 0 0; }
  .has-headline .big-clock { flex: none; font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .has-headline .caps { flex: 1 1 0; min-width: 0; width: auto; height: 3em; margin: 0; padding-left: 0; border-left: 2px solid var(--line); font-size: clamp(0.75rem, 3.5vw, 0.9375rem); line-height: 1.5; text-align: left; }
  /* Each caption is two set lines (a <br> between them); the font scales with the screen so they never wrap. */
  .has-headline .cap { white-space: nowrap; left: clamp(0.5rem, 2.8vw, 1rem); right: 0; }
  /* The phone, button included, fits the first screen: the tap is the story. 19.4rem is what sits above and below
     it (header, headline, clock row, gaps); the phone is about 2.1 times as tall as it is wide. */
  .has-headline .phone-slot { justify-self: center; --phone-w: clamp(13.75rem, calc((100svh - 19.4rem) / 2.1), min(17.5rem, 76vw)); }
  .has-headline .glow { width: 150%; }
  .has-headline .scene-foot { margin-top: 1rem; }
}
/* Short phones (under 800 px): the clock row moves under the phone, which keeps the phone large enough to read. */
@media (max-width: 55.99rem) and (max-height: 50rem) {
  .has-headline .scene-text { display: contents; }
  .has-headline .scene-headline { order: 1; }
  .has-headline .phone-slot { order: 2; --phone-w: clamp(13.75rem, calc((100svh - 14.65rem) / 2.1), min(17.5rem, 76vw)); }
  .has-headline .clock-row { order: 3; margin-top: 0; }
}

@media (min-width: 56rem) {
  .scene { padding: 0.5rem 1rem 3rem; }
  .scene-grid { grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: clamp(3rem, 7vw, 7rem); }
  .scene-text { text-align: right; }
  .big-clock { font-size: clamp(7rem, 11vw, 10.5rem); }
  .caps { margin-right: 0; margin-left: auto; }
  .phone-slot { --phone-w: clamp(17.5rem, 23vw, 20rem); }

  .has-headline .scene-grid { grid-template-columns: minmax(0, 32rem) auto; }
  .has-headline .scene-text { text-align: left; }
  .has-headline .scene-headline { max-width: 11.5em; margin: 0; font-size: clamp(2.75rem, 2.6vw + 1.5rem, 4rem); line-height: 1.02; letter-spacing: -0.035em; }
  .has-headline .scene-sub { max-width: 28rem; margin: 1rem 0 0; font-size: 1.125rem; line-height: 1.5; }
  .has-headline .clock-row { margin-top: 2.5rem; }
  .has-headline .big-clock { font-size: clamp(4.5rem, 6vw, 6.5rem); }
  .has-headline .caps { margin: 0.75rem 0 0; }
  .has-headline .phone-slot { --phone-w: clamp(17rem, 22vw, 19.5rem); }
  .has-headline .scene-foot {
    display: grid; grid-template-columns: minmax(0, 32rem) clamp(17rem, 22vw, 19.5rem);
    justify-content: center; column-gap: clamp(3rem, 7vw, 7rem); margin-top: 1.5rem;
  }
  .has-headline .scene-foot .pause { grid-column: 2; justify-self: center; }
}

/* The still frame, shown when motion is reduced: 19:55, the last caption, the green glow, and the message on the lock
   screen. home-flow.css animates every one of these when motion is allowed. */
.big-clock .t-before, .cap1, .cap2, .glow-blue { opacity: 0; }
.cap3 { color: var(--ink); }
.scene .lock { opacity: 1; }
.scene .app { opacity: 0; }

/* Pausing the animation: a checkbox and its label, no script. Hidden when motion is reduced. */
.pause-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pause {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.25rem;
  font-size: 0.875rem; color: var(--soft); cursor: pointer;
}
.pause::before {
  content: ""; width: 0.5rem; height: 0.625rem;
  border-left: 2px solid currentColor; border-right: 2px solid currentColor;
}
.pause-input:checked + .pause::before { width: 0; height: 0; border: 0; border-left: 0.5rem solid currentColor; border-top: 0.3125rem solid transparent; border-bottom: 0.3125rem solid transparent; }
.pause:hover { color: var(--ink); }
.pause-input:focus-visible + .pause { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.pause .paused { display: none; }
.pause-input:checked + .pause .running { display: none; }
.pause-input:checked + .pause .paused { display: inline; }
.flow:has(.pause-input:checked) *, .flow:has(.pause-input:checked) { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .pause { display: none; } }

/* ---------------------------------------------------------------------------------------------------------------
   The words, the form and the rest. */

.intro { max-width: 44rem; margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) var(--gut) 0; text-align: left; }
.intro-heading { font-size: clamp(1.625rem, 1.6vw + 1rem, 2.5rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.028em; text-wrap: balance; }
.lead { max-width: 34rem; margin: 1.5rem 0 0; font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem); color: var(--soft); text-wrap: pretty; }
.small { max-width: 32rem; margin: 1.25rem 0 0; font-size: 1rem; color: var(--soft); text-wrap: pretty; }
@media (min-width: 56rem) { .intro { text-align: center; } .lead, .small { margin-left: auto; margin-right: auto; } .lead { margin-top: 1.25rem; } .small { margin-top: 1rem; } }
/* The filled link to the form, shaped like the app's button. */
.cta {
  display: inline-flex; align-items: center; justify-content: center; height: 3.5rem; margin-top: 2.5rem; padding: 0 1.75rem;
  border-radius: 0.875rem; background: var(--btn); color: var(--btn-text);
  font-weight: 600; text-decoration: none;
}
.cta:hover { text-decoration: none; filter: brightness(1.12); }
@media (max-width: 55.99rem) { .cta { display: flex; width: 100%; } }

.waitlist {
  max-width: 36rem; margin: clamp(5rem, 10vw, 8rem) auto 0; padding: 2rem var(--gut) 2.5rem; scroll-margin-top: 1.5rem;
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 1.5rem;
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(60, 50, 30, 0.18);
}
@media (max-width: 38rem) { .waitlist { margin-left: 1rem; margin-right: 1rem; padding: 1.75rem 1.25rem 2rem; } }
@media (min-width: 38rem) { .waitlist { padding: 3rem 3rem 3.25rem; } }
.waitlist h2 { font-size: clamp(1.75rem, 1.6vw + 1rem, 2.25rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.wl-lead { margin-top: 1.25rem; }
.wl-status { margin: 1rem 0 2.5rem; color: var(--soft); font-size: 0.9375rem; line-height: 1.55; }

.waitlist-form { display: block; }
.field { margin: 0 0 2rem; padding: 0; border: 0; min-width: 0; }
.field > label:not(.choice), .field > legend { display: block; padding: 0; font-weight: 500; }
.optional { color: var(--soft); font-weight: 400; }
.field-hint { margin: 0.125rem 0 0.625rem; color: var(--soft); font-size: 0.9375rem; line-height: 1.45; }
.field-error { margin: 0 0 0.625rem; color: var(--error); font-size: 0.9375rem; font-weight: 500; line-height: 1.45; }
.form-notice { margin: 0 0 1.75rem; padding-left: 0.875rem; border-left: 2px solid var(--error); font-weight: 500; }
.waitlist-form input[type="email"], .waitlist-form input[type="text"] {
  display: block; width: 100%; height: 3.25rem; padding: 0 1rem;
  font: inherit; color: var(--ink); background: var(--field);
  border: 1px solid var(--field-edge); border-radius: 0.875rem;
}
.waitlist-form input[aria-invalid="true"] { border-color: var(--error); }
.waitlist-form input:focus-visible { outline-offset: 2px; border-radius: 0.875rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.choice { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.choice input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.18rem 0 0; accent-color: var(--ink); }
.choices .choice { flex: 1 1 8rem; align-items: center; min-height: 3.25rem; padding: 0 1.125rem; border: 1px solid var(--field-edge); border-radius: 0.875rem; background: var(--field); }
.choices .choice:has(input:checked) { border-color: var(--ink); }
.choices .choice input { margin: 0; }
.consent .choice { font-size: 0.9375rem; line-height: 1.5; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.waitlist-form button {
  display: block; width: 100%; height: 3.5rem; padding: 0 1.5rem;
  font: inherit; font-weight: 600; font-size: 1.03rem; color: var(--btn-text);
  background: var(--btn); border: 0; border-radius: 0.875rem; cursor: pointer;
}
.waitlist-form button:focus-visible { outline-offset: 3px; border-radius: 0.875rem; }

.sources { max-width: 36rem; margin: clamp(4rem, 8vw, 6rem) auto 0; padding: 0 var(--gut); color: var(--soft); font-size: 0.9375rem; }
.sources h2 { font-size: 1rem; font-weight: 600; color: var(--ink); }
.sources p { margin-top: 0.5rem; line-height: 1.6; }
.page-foot {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; max-width: 36rem; margin: 3rem auto 0; padding: 1.5rem var(--gut) 3rem;
  color: var(--soft); font-size: 0.9375rem;
}
.page-foot a { color: var(--soft); }
.page-foot a:hover { color: var(--ink); }

/* The thank-you page: the same column, left-aligned. */
.is-thanks .top, .thanks { max-width: 34rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.is-thanks .top { justify-content: flex-start; }
.thanks { padding-top: 3rem; padding-bottom: 5rem; }
.thanks .intro-heading { font-size: clamp(2rem, 2.5vw + 1rem, 3rem); }
.thanks p { margin-top: 1rem; }
.thanks .lead { margin-left: 0; }

/* ---------------------------------------------------------------------------------------------------------------
   The phone: the app's home screen at the app's own proportions. 1 --u is one point on a 390-point-wide phone. The
   finish follows the colour scheme: Graphite in dark, Silver in light. */

.phone {
  --sock-occ: url("/site/graphite-occupied.png?v=947d5042");
  --sock-free: url("/site/graphite-free.png?v=5b6ac346");
  --p-top: #17181c;
  --p-bottom: #0c0d0f;
  --p-ink: #f3f4f5;
  --p-soft: #9ca2aa;
  --p-btn: #f3f4f5;
  --p-btn-text: #15171a;
  --p-ripple: rgba(0, 0, 0, 0.14);
  --p-outline: rgba(243, 244, 245, 0.3);
  --p-note: #2b2d32;
  --p-note-soft: #b5bac2;
  --p-frame: #232529;
  --p-frame-edge: rgba(255, 255, 255, 0.14);
  --p-shadow: rgba(0, 0, 0, 0.55);
  --p-wall: radial-gradient(120% 70% at 50% 20%, #23262c 0%, #101114 60%, #0a0b0d 100%);
}
@media (prefers-color-scheme: light) {
  .phone {
    --sock-occ: url("/site/silver-occupied.png?v=0cde19ba");
    --sock-free: url("/site/silver-free.png?v=be03224d");
    --p-top: #eff0f2;
    --p-bottom: #e2e4e7;
    --p-ink: #15171a;
    --p-soft: #5c626a;
    --p-btn: #15171a;
    --p-btn-text: #ffffff;
    --p-ripple: rgba(255, 255, 255, 0.2);
    --p-outline: rgba(21, 23, 26, 0.28);
    --p-note: #ffffff;
    --p-note-soft: #5c626a;
    --p-frame: #d3d6db;
    --p-frame-edge: rgba(255, 255, 255, 0.9);
    --p-shadow: rgba(40, 46, 56, 0.28);
    --p-wall: radial-gradient(120% 70% at 50% 20%, #ffffff 0%, #eceef1 55%, #dfe2e6 100%);
  }
}

.phone {
  --w: var(--phone-w, 20rem);
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.028);
  /* Concentric with the screen: its radius plus the bezel. A Pixel's corners, not a pill's. */
  border-radius: calc(var(--w) * 0.128);
  background: var(--p-frame);
  box-shadow:
    inset 0 0 0 1px var(--p-frame-edge),
    0 calc(var(--w) * 0.08) calc(var(--w) * 0.2) calc(var(--w) * -0.06) var(--p-shadow);
  font-family: "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.screen {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.1);
  background: linear-gradient(to bottom, var(--p-top), var(--p-bottom));
  color: var(--p-ink);
  --u: calc(100cqw / 390);
}
.screen p { margin: 0; }

/* Status bar: time, the camera hole, signal and battery. */
.status {
  position: absolute; z-index: 3; top: 0; left: 0; right: 0;
  /* 30 points in from the edge, clear of the corner's curve. */
  height: calc(36 * var(--u)); padding: 0 calc(30 * var(--u));
  display: flex; align-items: center; justify-content: space-between;
  font-size: calc(13.5 * var(--u)); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--p-ink);
}
.clock { position: relative; display: inline-block; }
.clock .t-after { position: absolute; left: 0; top: 0; }
.cam {
  position: absolute; left: 50%; top: calc(12.5 * var(--u));
  width: calc(11 * var(--u)); height: calc(11 * var(--u)); margin-left: calc(-5.5 * var(--u));
  border-radius: 50%; background: #050506;
}
.sys { display: flex; align-items: center; gap: calc(6 * var(--u)); }
.sig { width: calc(13 * var(--u)); height: calc(11 * var(--u)); background: var(--p-ink); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.bat { position: relative; width: calc(19 * var(--u)); height: calc(10 * var(--u)); border: calc(1.2 * var(--u)) solid var(--p-ink); border-radius: calc(2.5 * var(--u)); }
.bat::after { content: ""; position: absolute; inset: calc(1.2 * var(--u)); right: 35%; border-radius: calc(1 * var(--u)); background: var(--p-ink); }

/* The app, as HomeView lays it out: 24-point gutters, the points filling the middle. */
.app {
  position: absolute; z-index: 1; top: calc(36 * var(--u)); bottom: calc(26 * var(--u));
  left: calc(24 * var(--u)); right: calc(24 * var(--u));
  display: flex; flex-direction: column;
}
.layers { position: relative; }
.layers > * { position: absolute; left: 0; top: 0; width: 100%; }
.place { padding-top: calc(12 * var(--u)); margin-bottom: calc(10 * var(--u)); }
.place p { font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); font-weight: 500; color: var(--p-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen .op { font-size: calc(13.5 * var(--u)); line-height: calc(18 * var(--u)); font-weight: 400; color: var(--p-soft); white-space: nowrap; }
.headline { height: calc(89.2 * var(--u)); flex: none; }
.headline p { font-size: calc(41.3 * var(--u)); line-height: 1.08; letter-spacing: calc(-1.1 * var(--u)); font-weight: 500; color: var(--p-ink); }
.detail { margin-top: calc(10 * var(--u)); height: calc(44 * var(--u)); flex: none; }
.detail p { font-size: calc(16 * var(--u)); line-height: calc(22 * var(--u)); color: var(--p-soft); }

.points { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.row { display: flex; align-items: center; }
.row + .row { margin-top: calc(-3.8 * var(--u)); }
.socket { position: relative; flex: none; width: calc(177.8 * var(--u)); height: calc(177.8 * var(--u)); margin-left: calc(-8.9 * var(--u)); }
.sock { position: absolute; inset: 0; background: center / 100% 100% no-repeat; }
.sock-occ { background-image: var(--sock-occ); }
.sock-free { background-image: var(--sock-free); }
/* The glow round an in-use light while watching (halo-occupied.png in the app), drawn on the light's ring. */
.halo { position: absolute; inset: 0; opacity: 0; }
.halo > span {
  position: absolute; inset: 11.81%; border-radius: 50%;
  box-shadow: 0 0 calc(7 * var(--u)) calc(2.5 * var(--u)) rgba(69, 129, 255, 0.55), inset 0 0 calc(7 * var(--u)) calc(2.5 * var(--u)) rgba(69, 129, 255, 0.4);
}
/* The one considered moment: the light sweeps round to green from twelve o'clock. */
.sweep { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); opacity: 0; overflow: visible; }
.sweep circle { fill: none; stroke: #5df2aa; stroke-width: 1.35; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.lines { margin-left: calc(11.1 * var(--u)); padding-bottom: calc(20 * var(--u)); min-width: 0; flex: 1; }
.l-name { font-size: calc(13.5 * var(--u)); line-height: calc(20 * var(--u)); font-weight: 500; color: var(--p-soft); white-space: nowrap; }
.l-state { font-size: calc(25 * var(--u)); line-height: calc(31 * var(--u)); letter-spacing: calc(-0.4 * var(--u)); font-weight: 500; color: var(--p-ink); }
.screen .row > .lines > .l-state { margin-bottom: calc(2 * var(--u)); }
.l-state-slot { height: calc(33 * var(--u)); }
.l-line-slot { height: calc(20 * var(--u)); }
.l-line { font-size: calc(14.5 * var(--u)); line-height: calc(20 * var(--u)); color: var(--p-soft); font-variant-numeric: tabular-nums; }

.nearest { position: relative; flex: none; height: calc(44 * var(--u)); }
.nearest > div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.n-text { font-size: calc(15.5 * var(--u)); line-height: calc(22 * var(--u)); font-weight: 500; color: var(--p-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.foot { flex: none; height: calc(34 * var(--u)); display: flex; align-items: center; justify-content: space-between; font-size: calc(13.5 * var(--u)); color: var(--p-soft); }
.settings { font-weight: 600; color: var(--p-ink); }
.button { flex: none; height: calc(56 * var(--u)); }
.button > .btn { height: 100%; }
.btn {
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-radius: calc(14 * var(--u)); font-size: calc(16.5 * var(--u)); font-weight: 600; white-space: nowrap;
}
.btn-filled { background: var(--p-btn); color: var(--p-btn-text); }
.btn-quiet { box-shadow: inset 0 0 0 max(1px, calc(1 * var(--u))) var(--p-outline); color: var(--p-ink); }
/* Where a finger touches: a soft grey dot, as Android's "show taps". On the button it lands right of the label, so the
   words stay readable, and the ripple spreads from there. */
.touch {
  position: absolute; left: 50%; top: 50%; width: calc(40 * var(--u)); height: calc(40 * var(--u));
  margin: calc(-20 * var(--u)) 0 0 calc(-20 * var(--u)); border-radius: 50%;
  background: rgba(150, 155, 162, 0.5); box-shadow: 0 0 0 max(1px, calc(1 * var(--u))) rgba(255, 255, 255, 0.35);
  opacity: 0; pointer-events: none;
}
.ripple {
  position: absolute; left: 50%; top: 50%; width: calc(360 * var(--u)); height: calc(360 * var(--u));
  margin: calc(-180 * var(--u)) 0 0 calc(-180 * var(--u)); border-radius: 50%; background: var(--p-ripple);
  transform: scale(0); opacity: 0;
}
.touch-button, .ripple { left: 89%; top: 60%; }

.navbar {
  position: absolute; z-index: 3; left: 50%; bottom: calc(10 * var(--u));
  width: calc(108 * var(--u)); height: calc(4 * var(--u)); margin-left: calc(-54 * var(--u));
  border-radius: calc(2 * var(--u)); background: var(--p-ink); opacity: 0.4;
}

/* Screen off: the always-on clock on black. Then the lock screen with the message. */
.aod, .lock { position: absolute; inset: 0; opacity: 0; }
.aod { z-index: 5; background: #000; }
.aod-clock {
  position: absolute; left: 0; right: 0; top: 30%; text-align: center;
  font-size: calc(64 * var(--u)); line-height: 1; font-weight: 400; letter-spacing: calc(-1.5 * var(--u));
  color: #c9cdd3; font-variant-numeric: tabular-nums;
}
.aod-clock span { display: block; }
.aod-clock .t-after { position: absolute; left: 0; right: 0; top: 0; }
.aod-date { position: absolute; left: 0; right: 0; top: calc(30% + 76 * var(--u)); text-align: center; font-size: calc(14 * var(--u)); color: #7d838c; }
.lock { z-index: 2; background: var(--p-wall); }
.lock-clock {
  position: absolute; left: 0; right: 0; top: calc(92 * var(--u)); text-align: center;
  font-size: calc(76 * var(--u)); line-height: 1; font-weight: 400; letter-spacing: calc(-2 * var(--u)); font-variant-numeric: tabular-nums;
}
.lock-date { position: absolute; left: 0; right: 0; top: calc(180 * var(--u)); text-align: center; font-size: calc(15 * var(--u)); color: var(--p-soft); }
/* The message, as Android draws a notification. */
.lock-note {
  position: absolute; left: calc(14 * var(--u)); right: calc(14 * var(--u)); top: calc(232 * var(--u));
  display: grid; grid-template-columns: calc(30 * var(--u)) 1fr; gap: calc(12 * var(--u)); align-items: start;
  padding: calc(14 * var(--u)) calc(16 * var(--u)) calc(15 * var(--u));
  border-radius: calc(22 * var(--u)); background: var(--p-note);
  box-shadow: 0 calc(10 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, 0.28);
}
.lock-note .touch { left: 86%; top: 24%; }
.note-icon { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; background: #0c0d0f url("/site/app-icon.png?v=67a7edb9") center / 100% 100% no-repeat; }
.note-head { font-size: calc(12 * var(--u)); line-height: calc(16 * var(--u)); color: var(--p-note-soft); }
.screen .note-title { margin-top: calc(2 * var(--u)); font-size: calc(14.5 * var(--u)); line-height: calc(19 * var(--u)); font-weight: 600; color: var(--p-ink); }
.note-body { font-size: calc(14 * var(--u)); line-height: calc(19 * var(--u)); color: var(--p-ink); text-wrap: pretty; }

/* The phone's still frame: point 2 free (shown behind the lock screen until the app opens). */
.screen .s-taken, .screen .s-watch, .screen .s-busy, .screen .t-before { opacity: 0; }
.p2 .sock-occ { opacity: 0; }

/* No lone word on a last line in the form's and the credits' running text. */
.field-hint, .wl-lead, .wl-status, .consent .choice > span, .sources p, .lead, .small { text-wrap: pretty; }

/* A field with a problem says so on its controls too, not only in words. */
.has-error .choice { border-color: var(--error); }
.consent.has-error .choice input { outline: 2px solid var(--error); outline-offset: 2px; }

/* Phones: the form card's text lines up with the page's 24 px gutter, and the button that only jumps to the form
   right below it goes. */
@media (max-width: 38rem) { .waitlist { margin-left: 0.5rem; margin-right: 0.5rem; padding-left: 1rem; padding-right: 1rem; } }
@media (max-width: 55.99rem) { .intro .cta { display: none; } }

/* The confirmation link's page: its one button, shaped like the app's. */
.confirm-form { margin-top: 2rem; }
.confirm-form button {
  display: inline-flex; align-items: center; justify-content: center; height: 3.25rem; padding: 0 1.5rem;
  font: inherit; font-weight: 600; color: var(--btn-text); background: var(--btn);
  border: 0; border-radius: 0.875rem; cursor: pointer;
}
.confirm-form button:hover { filter: brightness(1.12); }
.confirm-form button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
