/* 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: "Nextplug 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;
  --top: #10141b;
  --bottom: #06080b;
  --ink: #eef1f5;
  --soft: #8f98a5;
  --line: rgba(238, 241, 245, 0.13);
  --field: rgba(238, 241, 245, 0.05);
  --error: #ffa198;
  --btn: #eef1f5;
  --btn-text: #0e1218;
  --glow-blue: rgba(69, 129, 255, 0.34);
  --glow-green: rgba(93, 242, 170, 0.24);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --top: #eef1f5;
    --bottom: #dce2e9;
    --ink: #111620;
    --soft: #566071;
    --line: rgba(17, 22, 32, 0.14);
    --field: rgba(255, 255, 255, 0.65);
    --error: #b42318;
    --btn: #111620;
    --btn-text: #ffffff;
    --glow-blue: rgba(69, 129, 255, 0.26);
    --glow-green: rgba(22, 190, 112, 0.22);
  }
}

* { box-sizing: border-box; }
html {
  min-height: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  background: var(--bottom) linear-gradient(to bottom, var(--top), var(--bottom) 70rem) no-repeat;
}
@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.55;
  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; letter-spacing: -0.01em; text-decoration: none; }
@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; padding: 0.5rem 1rem 0; overflow-x: clip; }
.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: "Nextplug 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 .t-after { position: absolute; inset: 0; }
.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: 22rem; margin: 0 auto; font-size: clamp(1.625rem, 6.4vw, 2.25rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.scene-sub { max-width: 22rem; margin: 0.5rem auto 0; color: var(--soft); font-size: 0.9375rem; line-height: 1.45; text-wrap: pretty; }

@media (max-width: 55.99rem) {
  /* The first screen holds the headline, the sub, the clock row and the whole phone: the phone takes what is left. */
  .has-headline { display: flex; flex-direction: column; height: calc(100svh - 3.5rem); min-height: 36rem; padding-top: 0.25rem; }
  .has-headline .scene-grid { flex: 1; min-height: 0; display: flex; flex-direction: column; row-gap: 0.875rem; }
  /* Clock and caption side by side; the caption takes the rest of the row, room for two lines of 33 characters. */
  .has-headline .clock-row { display: flex; align-items: center; justify-content: center; gap: clamp(0.625rem, 3vw, 0.75rem); max-width: 24rem; margin: 0.875rem auto 0; }
  .has-headline .big-clock { flex: none; font-size: clamp(2.5rem, 12vw, 3rem); }
  .has-headline .caps { flex: 0 1 15.5rem; min-width: 0; width: auto; height: 2.9em; margin: 0; font-size: clamp(0.8125rem, 3.6vw, 0.875rem); line-height: 1.45; text-align: left; }
  .has-headline .phone-slot { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; container-type: size; }
  .has-headline .phone-slot .phone { --phone-w: min(76vw, 18.5rem, calc(100cqh / 2.1)); }
  .has-headline .scene-foot { margin-top: 0.25rem; }
}

@media (min-width: 56rem) {
  .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, 30rem) auto; }
  .has-headline .scene-text { text-align: left; }
  .has-headline .scene-headline { max-width: 14em; margin: 0; font-size: clamp(2.25rem, 2vw + 1.25rem, 3.25rem); line-height: 1.06; }
  .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); }
}

/* 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) 1rem 0; text-align: center; }
.intro-heading { font-size: clamp(2rem, 2.8vw + 1rem, 3.25rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.022em; text-wrap: balance; }
.lead { max-width: 34rem; margin: 1.25rem auto 0; font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem); color: var(--soft); text-wrap: pretty; }
.small { max-width: 32rem; margin: 1rem auto 0; font-size: 0.9375rem; color: var(--soft); text-wrap: pretty; }
/* The filled link to the form, shaped like the app's button. */
.cta {
  display: inline-flex; align-items: center; justify-content: center; height: 3.25rem; margin-top: 2rem; padding: 0 1.5rem;
  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.06); }

.waitlist { max-width: 34rem; margin: clamp(5rem, 10vw, 8rem) auto 0; padding: 0 1rem; scroll-margin-top: 1.5rem; }
.waitlist h2 { font-size: clamp(1.75rem, 1.6vw + 1rem, 2.25rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.wl-lead { margin-top: 1rem; }
.wl-status { margin: 0.75rem 0 2.25rem; color: var(--soft); font-size: 0.9375rem; }

.waitlist-form { display: block; }
.field { margin: 0 0 1.75rem; 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(--line); 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(--line); 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: 34rem; margin: clamp(4rem, 8vw, 6rem) auto 0; padding: 0 1rem; color: var(--soft); font-size: 0.9375rem; }
.sources h2 { font-size: 1rem; font-weight: 600; color: var(--ink); }
.sources p { margin-top: 0.375rem; }
.page-foot {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; max-width: 34rem; margin: 3rem auto 0; padding: 1.5rem 1rem 2.5rem;
  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);
  border-radius: calc(var(--w) * 0.15);
  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.122);
  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;
  height: calc(34 * var(--u)); padding: 0 calc(26 * 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(11 * 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(34 * 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: 85%; 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: 60%; }
.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); }

/* 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; }
