/* Präzision in Bewegung: a dark stage, the brand green as light, the real screens floating in depth. */

/* ---------- Fonts (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../assets/fonts/archivo-latin-standard-normal.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../assets/fonts/archivo-latin-ext-standard-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url(../assets/fonts/newsreader-latin-standard-italic.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url(../assets/fonts/newsreader-latin-ext-standard-italic.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../assets/fonts/montserrat-latin-wght-normal.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../assets/fonts/montserrat-latin-ext-wght-normal.woff2)
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --night: #040806; /* the stage */
  --forest: #0a1b11; /* deep green */
  --moss: #13301f; /* lit surfaces */
  --signal: #5eb130; /* brand green: the light */
  --signal-hi: #a4df78; /* green for small text on dark */
  --mist: #e7efe8; /* text */
  --mist-2: #a8bbad; /* secondary text */
  --hair: rgba(214, 236, 218, 0.13);
  --amber: #f0b43c; /* "zu klären" */

  /* the app's own paper and ink, for rebuilt screens */
  --paper: #f4f4f1;
  --card: #fff;
  --ink: #18201b;
  --ink-2: #59655d;
  --rule: #e3e6e1;
  --ok-ink: #2b7311;
  --ok-bg: #e3f2d8;
  --warn-ink: #7f5200;
  --warn-bg: #fcefcd;
  --mute-bg: #eceee9;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --app: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4.5vw, 64px);
  --top-h: 64px;
  --out: cubic-bezier(0.16, 0.84, 0.24, 1);
  --io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.anim {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--mist);
  font-family: var(--display);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* film grain: one static layer */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}
a {
  color: inherit;
}
::selection {
  background: rgba(94, 177, 48, 0.45);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--signal-hi);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--signal);
  color: #06140a;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section[id] {
  scroll-margin-top: var(--top-h);
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(214, 236, 218, 0.08);
  border: 1px solid var(--hair);
  padding: 0.08em 0.4em;
  border-radius: 6px;
  color: var(--mist);
  white-space: nowrap;
}
kbd {
  font-family: var(--display);
  font-style: normal;
  font-size: 0.72em;
  font-weight: 600;
  display: inline-block;
  min-width: 1.7em;
  padding: 0.12em 0.45em;
  text-align: center;
  border-radius: 6px;
  border: 1px solid rgba(214, 236, 218, 0.28);
  border-bottom-width: 2px;
  color: var(--mist);
  background: rgba(214, 236, 218, 0.06);
  vertical-align: 0.12em;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 780;
  font-stretch: 118%;
  letter-spacing: -0.032em;
  line-height: 0.98;
  color: var(--mist);
  text-wrap: balance;
}
.display.xl {
  font-size: clamp(3rem, 9.8vw, 8.9rem);
  font-stretch: 125%;
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.display.l {
  font-size: clamp(2.15rem, 5.4vw, 5rem);
}
.display.m {
  font-size: clamp(2rem, 4.4vw, 3.9rem);
}
.display.s {
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-stretch: 110%;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.12;
}
.display .ln {
  display: block;
}
.voice {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.2rem, 1.75vw, 1.55rem);
  line-height: 1.38;
  color: var(--mist-2);
  text-wrap: pretty;
}
.lede {
  font-size: clamp(1.03rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--mist-2);
  max-width: 46ch;
  text-wrap: pretty;
}
.body-l {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.6;
  color: var(--mist-2);
  max-width: 52ch;
  text-wrap: pretty;
}
.body-s {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--mist-2);
  max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font: 600 1rem / 1 var(--display);
  font-stretch: 108%;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition:
    transform 0.25s var(--out),
    background-color 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.btn:active {
  transform: translateY(1px) scale(0.985);
}
.btn-primary {
  background: var(--signal);
  color: #06140a;
  box-shadow:
    0 0 0 1px rgba(164, 223, 120, 0.35) inset,
    0 10px 40px -10px rgba(94, 177, 48, 0.75);
}
.btn-primary:hover {
  background: #6cc23b;
  box-shadow:
    0 0 0 1px rgba(164, 223, 120, 0.5) inset,
    0 12px 50px -8px rgba(94, 177, 48, 0.95);
}
.btn-ghost {
  color: var(--mist);
  background: rgba(214, 236, 218, 0.04);
  box-shadow: 0 0 0 1px rgba(214, 236, 218, 0.28) inset;
}
.btn-ghost:hover {
  background: rgba(214, 236, 218, 0.09);
  box-shadow: 0 0 0 1px rgba(214, 236, 218, 0.5) inset;
}
.btn-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
  background: var(--signal);
  color: #06140a;
}
.btn-small:hover {
  background: #6cc23b;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Header ---------- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--top-h);
  transition:
    background-color 0.4s,
    box-shadow 0.4s;
}
.top.solid {
  background: rgba(4, 8, 6, 0.72);
  box-shadow: 0 1px 0 var(--hair);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.top-in {
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.16rem;
}
/* Wordmark: the compound shown as what it means, Verein heavy, Ruhe light, one colour */
.wm {
  font-family: var(--display);
  font-stretch: 116%;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
  color: var(--mist);
}
.wm b {
  font-weight: 760;
}
.wm span {
  font-weight: 320;
  letter-spacing: -0.012em;
}
.mark {
  width: 26px;
  height: 26px;
  stroke: var(--signal);
  filter: drop-shadow(0 0 6px rgba(94, 177, 48, 0.55));
  flex: none;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
}
.top-nav a:not(.btn) {
  text-decoration: none;
  color: var(--mist-2);
  transition: color 0.2s;
}
.top-nav a:not(.btn):hover {
  color: var(--mist);
}

/* ---------- Glass screens ---------- */
.glass {
  position: relative;
  overflow: hidden;
  border-radius: clamp(10px, 1.1vw, 16px);
  background: #0d1711;
  box-shadow:
    0 0 0 1px rgba(214, 236, 218, 0.16),
    0 40px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 140px -40px rgba(94, 177, 48, 0.55);
}
.glass img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--top-h) + clamp(40px, 8vh, 96px));
  isolation: isolate;
}
.hero-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 38% at 50% 64%, rgba(94, 177, 48, 0.3), transparent 70%),
    radial-gradient(40% 30% at 50% 0%, rgba(94, 177, 48, 0.1), transparent 75%),
    linear-gradient(
      180deg,
      rgba(4, 8, 6, 0) 0%,
      rgba(10, 27, 17, 0.55) 55%,
      rgba(4, 8, 6, 0) 100%
    );
}
.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-title {
  text-shadow: 0 0 60px rgba(94, 177, 48, 0.25);
}
.hero-voice {
  margin-top: clamp(16px, 2.4vh, 28px);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  color: var(--mist);
}
.hero-lede {
  margin-top: 14px;
}
.hero-ctas {
  margin-top: clamp(24px, 4vh, 40px);
  justify-content: center;
}
.hero-stage {
  perspective: 1700px;
  perspective-origin: 50% 10%;
  margin-top: clamp(40px, 7vh, 80px);
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}
.hero-rise {
  transform-style: preserve-3d;
  transform-origin: 50% 0;
}
.hero-tilt {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  transform-style: preserve-3d;
  transform-origin: 50% 0;
  transform: rotateX(16deg) scale(0.96);
}
.hero-screen {
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.sheen {
  position: absolute;
  inset: -20% -60%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 58%
  );
  transform: translateX(-70%);
  opacity: 0;
}
.orbit {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}
.orb {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  font: 600 clamp(0.8rem, 1.05vw, 0.98rem) / 1.2 var(--app);
  color: var(--mist);
  background: rgba(16, 34, 23, 0.78);
  box-shadow:
    0 0 0 1px rgba(214, 236, 218, 0.18) inset,
    0 20px 50px -12px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
/* one callout per "Was ansteht" row (61.8 %, 68.1 %, 74.4 % of the screen's height), pulled towards the viewer */
.orb-1 {
  right: calc(100% - 17.5%);
  top: 59.1%;
  transform: translateZ(90px);
}
.orb-3 {
  left: calc(100% - 13%);
  top: 65.4%;
  transform: translateZ(130px);
}
.orb-2 {
  right: calc(100% - 17.5%);
  top: 71.7%;
  transform: translateZ(60px);
}
.orb::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44px;
  height: 1px;
}
.orb-l::after {
  left: 100%;
  background: linear-gradient(
    90deg,
    rgba(214, 236, 218, 0.5),
    rgba(214, 236, 218, 0)
  );
}
.orb-r::after {
  right: 100%;
  background: linear-gradient(
    270deg,
    rgba(214, 236, 218, 0.5),
    rgba(214, 236, 218, 0)
  );
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.dot-amber {
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}
.dot-green {
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
}
.dot-ring {
  border: 2px solid var(--signal-hi);
}

/* ---------- 2 · The evening ---------- */
.evening {
  position: relative;
  padding: clamp(80px, 14vh, 160px) 0 clamp(120px, 22vh, 240px);
}
/* the clock sits behind the line being read, like a time code under a subtitle */
.clock {
  --cs: clamp(5.5rem, 23vw, 19rem);
  position: sticky;
  top: calc(55vh - var(--cs) * 0.5);
  z-index: 0;
  text-align: center;
  pointer-events: none;
  line-height: 1;
  height: 0;
  overflow: visible;
  margin: 0;
}
.clock-face {
  display: inline-grid;
  font-family: var(--display);
  font-weight: 160;
  font-stretch: 125%;
  letter-spacing: -0.05em;
  font-size: var(--cs);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: transparent;
}
.cf {
  grid-area: 1 / 1;
}
.cf-warm {
  -webkit-text-stroke: 1.2px rgba(236, 206, 140, 0.34);
}
.cf-cold {
  -webkit-text-stroke: 1.6px rgba(170, 196, 255, 0.62);
  opacity: 0;
}
.evening-lines {
  position: relative;
  z-index: 1;
  padding-top: clamp(140px, 30vh, 330px);
  text-align: center;
}
.line {
  margin: 0 auto clamp(120px, 24vh, 260px);
  max-width: 21ch;
  font-size: clamp(1.75rem, 4.3vw, 3.6rem);
  line-height: 1.16;
  font-weight: 360;
  color: var(--mist);
}
.turn-wrap {
  position: relative;
}
.turn {
  margin: 0 auto;
  max-width: 14ch;
  color: var(--mist);
  text-shadow: 0 0 50px rgba(94, 177, 48, 0.55);
}
.turn-sub {
  margin: 20px auto 0;
  max-width: 30ch;
  color: var(--mist);
}

/* ---------- Sticky scenes ---------- */
.stage {
  position: relative;
  padding-block: clamp(80px, 12vh, 140px);
}
.anim .scene {
  height: var(--len, 300vh);
}
.anim .scene > .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  /* biome-ignore lint/suspicious/noDuplicateProperties: 100vh above is the fallback for browsers without svh */
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block: calc(var(--top-h) + 12px) 20px;
}

/* ---------- 3 · The month ---------- */
.month {
  --len: 260vh;
  background: radial-gradient(
    60% 50% at 75% 50%,
    rgba(94, 177, 48, 0.12),
    transparent 70%
  );
}
.month-grid {
  display: grid;
  grid-template-columns: minmax(0, 4.8fr) minmax(0, 7.2fr);
  grid-template-areas: "head head" "steps screens";
  column-gap: clamp(40px, 5vw, 80px);
  row-gap: clamp(22px, 4vh, 44px);
  align-items: center;
}
.month-head {
  grid-area: head;
}
.month-head .display {
  font-size: clamp(2.15rem, 4.4vw, 4rem);
}
.month-head .voice {
  margin-top: 10px;
  max-width: none;
}
.steps {
  grid-area: steps;
  align-self: center;
  list-style: none;
  padding: 0;
  position: relative;
  display: grid;
  gap: clamp(12px, 2.2vh, 22px);
  --rail: 1;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  border-radius: 2px;
}
.steps::before {
  background: rgba(214, 236, 218, 0.12);
}
.steps::after {
  background: linear-gradient(var(--signal-hi), var(--signal));
  transform-origin: 50% 0;
  transform: scaleY(var(--rail));
  box-shadow: 0 0 12px rgba(94, 177, 48, 0.8);
}
.step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  transition: opacity 0.6s var(--out);
}
.step-dot {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night);
  box-shadow: 0 0 0 2px rgba(214, 236, 218, 0.3) inset;
  z-index: 1;
}
.step-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--signal);
  box-shadow:
    0 0 0 6px rgba(94, 177, 48, 0.16),
    0 0 28px rgba(94, 177, 48, 0.75);
  transform: scale(1);
  transition: transform 0.55s var(--out);
}
.step-dot b {
  position: relative;
  font: 650 0.95rem / 1 var(--display);
  color: var(--mist);
  opacity: 0;
  transition: opacity 0.3s;
}
.step-dot svg {
  position: absolute;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #06140a;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 0.45s var(--out) 0.12s,
    opacity 0.3s 0.12s;
}
.step-body h3 {
  font: 700 clamp(1.15rem, 1.6vw, 1.4rem) / 1.15 var(--display);
  font-stretch: 112%;
  letter-spacing: -0.015em;
  padding-top: 6px;
}
.step-fact {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  font: 600 0.84rem / 1.35 var(--app);
  color: var(--signal-hi);
  background: rgba(94, 177, 48, 0.14);
  box-shadow: 0 0 0 1px rgba(94, 177, 48, 0.28) inset;
}
.step-fact-amber {
  color: #f6cd75;
  background: rgba(240, 180, 60, 0.12);
  box-shadow: 0 0 0 1px rgba(240, 180, 60, 0.32) inset;
}
.step-text {
  margin-top: 7px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--mist-2);
  max-width: 46ch;
}
.month-screens {
  grid-area: screens;
  position: relative;
  aspect-ratio: 16 / 10;
  perspective: 1500px;
}
.mscreen {
  position: absolute;
  inset: 0;
  transform: rotateY(-13deg) rotateX(3deg);
  transform-origin: 30% 50%;
  transition:
    opacity 0.7s var(--out),
    transform 0.9s var(--out);
}
.step-caption {
  display: none;
}
/* motion states */
.anim .step {
  opacity: 0.78;
}
.anim .step:not(.active):not(.done) h3 {
  color: var(--mist-2);
}
.anim .step.active,
.anim .step.done {
  opacity: 1;
}
.anim .step:not(.done) .step-dot::before {
  transform: scale(0);
}
.anim .step:not(.done) .step-dot b {
  opacity: 1;
}
.anim .step:not(.done) .step-dot svg {
  opacity: 0;
  transform: scale(0.4) rotate(-20deg);
}
.anim .step.active:not(.done) .step-dot {
  box-shadow:
    0 0 0 2px var(--signal-hi) inset,
    0 0 22px rgba(94, 177, 48, 0.35);
}
.anim .mscreen {
  opacity: 0;
  transform: rotateY(-13deg) rotateX(3deg) translateZ(-120px) translateX(4%);
}
.anim .mscreen.on {
  opacity: 1;
  transform: rotateY(-13deg) rotateX(3deg);
}
html:not(.anim) .mscreen {
  position: relative;
  inset: auto;
  transform: none;
}
html:not(.anim) .month-screens {
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: start;
}

/* ---------- 4 · Bank statement ---------- */
.statement {
  --len: 340vh;
  background: radial-gradient(
    55% 45% at 70% 55%,
    rgba(94, 177, 48, 0.1),
    transparent 70%
  );
}
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: "head ledger" "tray ledger";
  column-gap: clamp(32px, 4vw, 64px);
  row-gap: 32px;
  align-items: start;
}
.statement-head {
  grid-area: head;
  align-self: end;
}
.statement-head .display {
  font-size: clamp(2.15rem, 3.6vw, 3.4rem);
}
.statement-head .voice {
  margin-top: 16px;
  max-width: 30ch;
}
.app {
  font-family: var(--app);
  color: var(--ink);
}
.ledger-wrap {
  grid-area: ledger;
}
.ledger {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 50px 100px -40px rgba(0, 0, 0, 0.9),
    0 0 140px -40px rgba(94, 177, 48, 0.5);
}
.ledger-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 16px 20px 14px;
}
.ledger-title {
  font-weight: 700;
  font-size: 1.05rem;
}
.ledger-file {
  font-size: 0.8rem;
  color: var(--ink-2);
  margin-top: 2px;
}
.counts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cnt {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}
.cnt b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cnt-open {
  background: var(--warn-bg);
  color: var(--warn-ink);
}
.cnt-match {
  background: var(--ok-bg);
  color: var(--ok-ink);
}
.cnt-out {
  background: var(--mute-bg);
  color: var(--ink-2);
}
.ledger-cols,
.bk {
  display: grid;
  grid-template-columns: 58px minmax(0, 1.2fr) minmax(0, 1.15fr) 92px 84px;
  column-gap: 14px;
  padding-inline: 20px;
}
.ledger-cols {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-2);
  padding-block: 9px;
  border-top: 1px solid var(--rule);
  background: #fafaf8;
}
.ledger-cols span:last-child {
  text-align: right;
}
.ledger-window {
  position: relative;
  overflow: hidden;
}
.bk-list {
  list-style: none;
  padding: 0;
  transition: transform 0.7s var(--out);
}
.bk {
  position: relative;
  grid-template-areas: "date name member state amt" "date purpose why state amt";
  align-items: center;
  min-height: 54px;
  padding-block: 8px;
  border-top: 1px solid var(--rule);
  font-size: 0.84rem;
  line-height: 1.3;
}
.bk > * {
  position: relative;
  z-index: 1;
}
.bk-who,
.bk-member {
  display: contents;
}
.bk-date {
  grid-area: date;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  align-self: start;
  padding-top: 1px;
}
.bk-who b {
  grid-area: name;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bk-who small {
  grid-area: purpose;
  font-size: 0.76rem;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bk-m {
  grid-area: member;
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ok-ink);
}
.bk-m:empty {
  display: none;
}
.bk-m-open {
  color: var(--warn-ink);
  font-weight: 500;
}
.bk-why {
  grid-area: why;
  font-size: 0.72rem;
  color: var(--ink-2);
  line-height: 1.3;
}
.bk-state {
  grid-area: state;
  display: grid;
  justify-items: start;
}
.st {
  grid-area: 1 / 1;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    opacity 0.35s,
    transform 0.45s var(--out);
}
.st-wait {
  color: var(--ink-2);
  background: var(--mute-bg);
  opacity: 0;
}
.st-match {
  color: var(--ok-ink);
  background: var(--ok-bg);
}
.st-open {
  color: var(--warn-ink);
  background: var(--warn-bg);
}
.st-out {
  color: var(--ink-2);
  background: var(--mute-bg);
}
.bk-amt {
  grid-area: amt;
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bk-amt.neg {
  color: var(--ink-2);
  font-weight: 600;
}
.bk::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    var(--amber) 0 3px,
    rgba(240, 180, 60, 0.13) 3px
  );
  opacity: 0;
  transition: opacity 0.6s;
}
.bk[data-kind="open"]::after {
  opacity: 1;
}
.bk::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(94, 177, 48, 0.28) 45%,
    rgba(94, 177, 48, 0.05) 70%,
    transparent
  );
  transform: translateX(-100%);
  opacity: 0;
}
.tray {
  grid-area: tray;
  align-self: start;
  background: var(--card);
  border-radius: 14px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 30px 70px -30px rgba(0, 0, 0, 0.9),
    0 0 90px -30px rgba(240, 180, 60, 0.45);
}
.tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
  padding: 2px 4px 10px;
}
.tray-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--warn-ink);
  background: var(--warn-bg);
  padding: 3px 10px;
  border-radius: 999px;
}
.tray-cards {
  position: relative;
}
.tray-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.86rem;
  color: var(--ink-2);
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--rule) inset;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.anim .tray.empty .tray-empty {
  opacity: 1;
}
.tray-card {
  border-radius: 10px;
  padding: 11px 13px;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--rule) inset,
    3px 0 0 var(--amber) inset;
  transition:
    opacity 0.5s var(--out),
    transform 0.7s var(--out);
}
.tray-card + .tray-card {
  margin-top: 8px;
}
.tc-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.tc-top b {
  color: var(--ink);
  font-weight: 600;
}
.tc-amt {
  font-variant-numeric: tabular-nums;
}
.tc-why {
  font-size: 0.82rem;
  margin-top: 3px;
  color: var(--ink);
}
.tc-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 9px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tc-btn {
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--mute-bg);
  box-shadow: 0 0 0 1px var(--rule) inset;
}
/* motion states */
.anim .bk {
  transition:
    opacity 0.55s var(--out),
    transform 0.7s var(--out);
}
.anim .bk:not(.in) {
  opacity: 0;
  transform: translateX(-36px);
}
.anim .bk:not(.done) .bk-m,
.anim .bk:not(.done) .bk-why {
  opacity: 0;
  transform: translateX(-12px);
}
.anim .bk .bk-m,
.anim .bk .bk-why {
  transition:
    opacity 0.45s var(--out),
    transform 0.6s var(--out);
}
.anim .bk.in:not(.done) .st-wait {
  opacity: 1;
}
.anim .bk:not(.done) .st:not(.st-wait) {
  opacity: 0;
  transform: scale(0.8);
}
.anim .bk:not(.done)::after {
  opacity: 0;
}
.anim .bk.done::before {
  animation: scan 0.9s var(--out) 1;
}
@keyframes scan {
  0% {
    transform: translateX(-100%);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
.anim .tray-card:not(.in) {
  opacity: 0;
  transform: translateX(70px) scale(0.96);
}
.anim .tray-card.in {
  opacity: 1;
  transform: none;
}

.statement-facts {
  padding: clamp(56px, 9vh, 100px) 0 0;
}
.facts3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.fact {
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  position: relative;
}
.fact::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
}
.fact h3 {
  font: 700 1.12rem / 1.25 var(--display);
  font-stretch: 110%;
  letter-spacing: -0.01em;
}
.fact p {
  margin-top: 8px;
  color: var(--mist-2);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 40ch;
}

/* ---------- 5 · Search ---------- */
.search {
  padding: clamp(90px, 14vh, 160px) 0;
  position: relative;
  background: radial-gradient(
    50% 55% at 70% 50%,
    rgba(94, 177, 48, 0.12),
    transparent 70%
  );
}
.search-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.search-head .display {
  margin-top: 28px;
}
.search-head .voice {
  margin-top: 18px;
  max-width: 32ch;
}
.keys {
  display: flex;
  gap: 12px;
}
.key {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font: 600 1.9rem / 1 var(--display);
  color: var(--mist);
  background: linear-gradient(180deg, #1b3324, #0e1f15);
  box-shadow:
    0 0 0 1px rgba(214, 236, 218, 0.22) inset,
    0 6px 0 #07120b,
    0 6px 0 1px rgba(214, 236, 218, 0.12),
    0 18px 40px -10px rgba(0, 0, 0, 0.8);
  transition: transform 0.18s var(--out);
}
.key svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--mist);
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.key::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow:
    0 0 0 1px var(--signal-hi) inset,
    0 0 30px rgba(94, 177, 48, 0.7);
  opacity: 0;
  transition: opacity 0.25s;
}
.keys.press .key {
  transform: translateY(5px);
}
.keys.press .key::after {
  opacity: 1;
}
.search-screen {
  aspect-ratio: 16 / 10.5;
}
.search-screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  opacity: 0.72;
}
.search-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 14, 0.35);
  z-index: 0;
}
.palette {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 11%;
  width: min(78%, 560px);
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  transition:
    opacity 0.35s var(--out),
    transform 0.5s var(--out);
}
.pal-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 1.02rem;
  min-height: 54px;
}
.pal-input svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 2;
  flex: none;
}
.pal-q {
  white-space: pre;
}
.caret {
  width: 2px;
  height: 1.2em;
  background: var(--ink);
  margin-left: -6px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.pal-results {
  padding: 8px 8px 6px;
}
.pal-results:empty {
  padding: 0;
}
.pal-group {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 10px 6px;
}
.pal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.93rem;
  transition:
    opacity 0.3s,
    transform 0.4s var(--out);
}
.pal-row small {
  font-size: 0.8rem;
  color: var(--ink-2);
}
.pal-row.on {
  background: #ecefe9;
}
.pal-foot {
  display: flex;
  gap: 18px;
  padding: 10px 18px;
  border-top: 1px solid var(--rule);
  font-size: 0.76rem;
  color: var(--ink-2);
}
.palette.closed {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px) scale(0.97);
}
.pal-results.fresh .pal-row,
.pal-results.fresh .pal-group {
  animation: rowin 0.45s var(--out) both;
}
.pal-results.fresh > :nth-child(2) {
  animation-delay: 0.03s;
}
.pal-results.fresh > :nth-child(3) {
  animation-delay: 0.06s;
}
.pal-results.fresh > :nth-child(4) {
  animation-delay: 0.09s;
}
.pal-results.fresh > :nth-child(5) {
  animation-delay: 0.12s;
}
.pal-results.fresh > :nth-child(6) {
  animation-delay: 0.15s;
}
@keyframes rowin {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 6 · Members and phones ---------- */
.members {
  padding: clamp(90px, 16vh, 180px) 0 clamp(60px, 10vh, 120px);
  position: relative;
}
.members-title {
  max-width: 14ch;
}
.members-voice {
  margin-top: 18px;
  max-width: 40ch;
}
.duo {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(60px, 12vh, 140px);
}
.duo-flip .duo-text {
  order: 2;
}
.duo-text .display {
  max-width: 16ch;
}
.duo-text .body-l {
  margin-top: 18px;
}
.duo-text .body-s {
  margin-top: 12px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  display: grid;
  gap: 12px;
  max-width: 46ch;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--mist-2);
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}
.skills {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 46ch;
}
.skills li {
  padding: 7px 14px;
  border-radius: 999px;
  font: 500 0.9rem / 1.2 var(--app);
  color: var(--mist);
  background: rgba(214, 236, 218, 0.05);
  box-shadow: 0 0 0 1px rgba(214, 236, 218, 0.2) inset;
}
.skills b {
  color: var(--signal-hi);
  font-weight: 600;
  margin-left: 3px;
}
.duo-visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1400px;
  padding-block: 20px;
}
.duo-visual::before {
  content: "";
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(94, 177, 48, 0.32),
    transparent
  );
  z-index: 0;
}
.phone {
  --w: clamp(240px, 24vw, 310px);
  position: relative;
  z-index: 1;
  width: var(--w);
  aspect-ratio: 390 / 820;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.15);
  background: linear-gradient(150deg, #2a3a30 0%, #0b120e 40%, #050806 100%);
  box-shadow:
    0 0 0 1px rgba(214, 236, 218, 0.22) inset,
    0 0 0 1.5px #000,
    0 60px 100px -40px rgba(0, 0, 0, 0.95),
    0 0 90px -20px rgba(94, 177, 48, 0.35);
  transform-style: preserve-3d;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: calc(var(--w) * 0.125);
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.phone-status {
  flex: none;
  height: calc(var(--w) * 0.11);
  background: #12201a;
  display: flex;
  align-items: center;
  padding-inline: calc(var(--w) * 0.09);
  font: 600 calc(var(--w) * 0.042) / 1 var(--app);
  color: #e9efe9;
  position: relative;
}
.phone-status-light {
  background: #f7f6f0;
  color: #1b1f1c;
}
.island {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30%;
  height: 52%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #000;
}
.phone-bar {
  display: block;
  width: 100%;
  height: auto;
  flex: none;
  position: relative;
  z-index: 1;
}
.phone-view {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.phone-scroll,
.phone-still {
  display: block;
  width: 100%;
  height: auto;
}
/* applicant's phone behind, the office's lock screen in front */
.pair {
  min-height: calc(clamp(240px, 24vw, 310px) * 2.25);
}
.pair .phone {
  position: absolute;
  top: 50%;
  left: 50%;
}
.phone-back {
  --w: clamp(220px, 19vw, 262px);
  transform: translate(-104%, -44%) rotateY(16deg);
}
.phone-front {
  transform: translate(-10%, -52%) rotateY(-12deg);
  z-index: 2;
}
.phone-status-clear {
  background: transparent;
}
.lockscreen {
  background: radial-gradient(
    120% 70% at 50% 0%,
    #1d4a2b 0%,
    #0c1d13 55%,
    #060c08 100%
  );
}
.lock-time {
  text-align: center;
  margin-top: calc(var(--w) * 0.07);
  font: 200 calc(var(--w) * 0.24) / 1 var(--display);
  font-stretch: 125%;
  letter-spacing: -0.04em;
  color: #e9f2ea;
  font-variant-numeric: tabular-nums;
}
.notice {
  position: absolute;
  z-index: 3;
  left: 5%;
  right: 5%;
  top: 36%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(24, 36, 29, 0.9);
  color: #eef3ee;
  font: 400 0.74rem / 1.35 var(--app);
  box-shadow:
    0 0 0 1px rgba(214, 236, 218, 0.18) inset,
    0 20px 40px -10px rgba(0, 0, 0, 0.6),
    0 0 40px -6px rgba(94, 177, 48, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    opacity 0.6s var(--out),
    transform 0.9s cubic-bezier(0.2, 1.4, 0.3, 1);
}
.notice-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--signal);
  display: grid;
  place-items: center;
}
.notice-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #06140a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.notice-text b {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 2px;
}
.notice-time {
  font-size: 0.68rem;
  color: #b5c4b8;
}
.anim .pair:not(.play) .notice {
  opacity: 0;
  transform: translateY(-40px) scale(0.94);
}
.anim .pair .notice {
  transition-delay: 0.35s;
}

/* ---------- 7 · Trust ---------- */
.trust {
  position: relative;
  padding: clamp(90px, 16vh, 180px) 0 clamp(60px, 10vh, 110px);
  isolation: isolate;
}
.trust-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(10, 27, 17, 0.55) 30%,
      rgba(10, 27, 17, 0.55) 70%,
      transparent
    ),
    radial-gradient(
      45% 40% at 72% 55%,
      rgba(94, 177, 48, 0.14),
      transparent 70%
    );
}
.trust-title {
  max-width: 18ch;
}
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(48px, 8vh, 90px);
  align-items: start;
}
.trust-grid > div > p {
  margin-top: 14px;
  color: var(--mist-2);
  max-width: 46ch;
}
.roles {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: grid;
  gap: 0;
}
.roles li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid var(--hair);
}
.roles li:last-child {
  border-bottom: 1px solid var(--hair);
}
.roles b {
  font: 650 1.02rem / 1.3 var(--display);
  font-stretch: 108%;
  color: var(--mist);
}
.roles span {
  font-size: 0.92rem;
  color: var(--mist-2);
  line-height: 1.5;
}
.log {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 40px 90px -40px rgba(0, 0, 0, 0.95),
    0 0 120px -40px rgba(94, 177, 48, 0.45);
}
.log-e {
  position: relative;
  padding: 16px 64px 16px 20px;
  border-top: 1px solid var(--rule);
  transition:
    opacity 0.6s var(--out),
    transform 0.8s var(--out);
}
.log-e:first-child {
  border-top: 0;
}
.log-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  font-size: 0.92rem;
}
.log-top time {
  font-size: 0.8rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.log-who {
  font-size: 0.84rem;
  color: var(--ink-2);
  margin: 2px 0 6px;
}
.log-ch {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 0.82rem;
  line-height: 1.5;
}
.log-ch span:first-child {
  color: var(--ink-2);
  min-width: 9.5em;
}
.log-ch s {
  color: #8b958e;
  text-decoration: none;
}
.log-ch s::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 10px;
  margin-left: 8px;
  vertical-align: -0.05em;
  background: currentColor;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5L12 5l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5L12 5l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.log-ch .to {
  font-weight: 600;
}
.lock {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ok-bg);
  display: grid;
  place-items: center;
}
.lock svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ok-ink);
  stroke-width: 2;
  stroke-linecap: round;
  overflow: visible;
}
.shackle {
  transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.4, 1);
}
.anim .log:not(.play) .log-e {
  opacity: 0;
  transform: translateY(-18px);
}
.anim .log:not(.play) .shackle {
  transform: translateY(-3.5px);
}
.anim .log.play .log-e:nth-child(2) {
  transition-delay: 0.25s;
}
.anim .log.play .log-e:nth-child(3) {
  transition-delay: 0.5s;
}
.anim .log.play .log-e:nth-child(1) .shackle {
  transition-delay: 0.7s;
}
.anim .log.play .log-e:nth-child(2) .shackle {
  transition-delay: 0.95s;
}
.anim .log.play .log-e:nth-child(3) .shackle {
  transition-delay: 1.2s;
}
.trust-facts {
  margin-top: clamp(56px, 10vh, 110px);
}

/* ---------- 8 · Everything else ---------- */
.more {
  position: relative;
  padding: 0 0 clamp(80px, 14vh, 160px);
  overflow: hidden;
}
.wall {
  height: clamp(300px, 52vh, 560px);
  perspective: 1300px;
  perspective-origin: 50% 30%;
  position: relative;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.wall-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  gap: 28px;
  width: max-content;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(52deg) rotateZ(-22deg);
}
.wall-plane img {
  width: clamp(300px, 34vw, 520px);
  height: auto;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(214, 236, 218, 0.2),
    0 30px 60px -20px rgba(0, 0, 0, 0.9),
    0 0 80px -20px rgba(94, 177, 48, 0.45);
}
.more-title {
  position: relative;
  margin-top: -2vh;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 40px);
  margin-top: clamp(40px, 7vh, 72px);
}
.item {
  padding-top: 18px;
  border-top: 1px solid var(--hair);
}
.item h3 {
  font: 700 1.05rem / 1.25 var(--display);
  font-stretch: 108%;
  letter-spacing: -0.01em;
}
.item p {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--mist-2);
}

/* ---------- 9 · Demo ---------- */
.demo {
  position: relative;
  padding: clamp(90px, 16vh, 170px) 0;
  isolation: isolate;
}
.demo-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      60% 60% at 70% 60%,
      rgba(94, 177, 48, 0.22),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      transparent,
      rgba(10, 27, 17, 0.7) 40%,
      rgba(10, 27, 17, 0.7) 70%,
      transparent
    );
}
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.demo-text .body-l {
  margin-top: 20px;
}
.demo-text .body-s {
  margin-top: 20px;
}
.numbered {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  counter-reset: n;
  display: grid;
  gap: 14px;
  max-width: 54ch;
}
.numbered li {
  counter-increment: n;
  position: relative;
  padding-left: 48px;
  color: var(--mist-2);
  line-height: 1.55;
  min-height: 32px;
}
.numbered li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 650 0.9rem / 1 var(--display);
  color: var(--signal-hi);
  box-shadow: 0 0 0 1.5px rgba(94, 177, 48, 0.6) inset;
}
.numbered b {
  color: var(--mist);
  font-weight: 650;
}
.term {
  position: relative;
  border-radius: 16px;
  background: #07100b;
  box-shadow:
    0 0 0 1px rgba(214, 236, 218, 0.16) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 120px -30px rgba(94, 177, 48, 0.5);
  overflow: hidden;
}
.term-bar {
  height: 36px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  align-items: center;
  padding-inline: 22px;
  font-size: 0.78rem;
  color: #7f9585;
}
.term pre {
  margin: 0;
  padding: 22px 22px 84px;
  font: 500 clamp(0.9rem, 1.2vw, 1.05rem) / 1.9 var(--mono);
  color: var(--mist);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.term code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  white-space: inherit;
}
.c-dim {
  color: #7f9585;
}
.c-prompt {
  color: var(--signal-hi);
}
.c-ok {
  color: var(--signal-hi);
}
.btn-copy {
  position: absolute;
  left: 22px;
  bottom: 22px;
}
.copy-status {
  position: absolute;
  left: 180px;
  bottom: 32px;
  font-size: 0.85rem;
  color: var(--signal-hi);
}

/* ---------- 10 · Install ---------- */
.install {
  padding: clamp(60px, 10vh, 120px) 0 clamp(90px, 16vh, 170px);
  border-top: 1px solid var(--hair);
}
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.install-grid .body-l {
  margin-top: 20px;
}
.install-grid .body-s {
  margin-top: 18px;
}
.install-steps {
  margin-top: 6px;
  gap: 0;
  max-width: none;
}
.install-steps li {
  padding-block: 16px;
  border-top: 1px solid var(--hair);
  padding-left: 52px;
}
.install-steps li::before {
  top: 13px;
}
.install-steps li > span {
  display: block;
  margin-top: 2px;
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--hair);
  padding: 56px 0 64px;
}
.foot-in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px 40px;
  align-items: center;
}
.foot-name {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 1.7rem;
}
.foot-name .mark {
  width: 32px;
  height: 32px;
}
.foot-domain {
  flex-basis: 100%;
  padding-left: 44px;
  font: 450 0.92rem / 1.2 var(--display);
  letter-spacing: 0.01em;
  color: var(--mist-2);
}
.foot-voice {
  font-size: 1.15rem;
}
.foot-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--mist-2);
}
.foot-nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
}
.foot-nav a {
  color: var(--mist-2);
}
.foot-nav a:hover {
  color: var(--mist);
}

/* ---------- Time: the ambient light of the hour ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.amb {
  position: absolute;
  inset: -12%;
  opacity: 0;
  will-change: opacity, transform;
}
.amb-lamp {
  background:
    radial-gradient(
      50% 48% at 12% 4%,
      rgba(255, 196, 112, 0.22),
      rgba(255, 196, 112, 0.07) 45%,
      transparent 72%
    ),
    radial-gradient(
      40% 40% at 90% 100%,
      rgba(255, 186, 100, 0.06),
      transparent 70%
    );
}
.amb-cold {
  background:
    radial-gradient(
      70% 55% at 80% 0%,
      rgba(112, 150, 255, 0.24),
      transparent 70%
    ),
    linear-gradient(180deg, rgba(36, 64, 140, 0.18), rgba(8, 14, 40, 0.34));
}
.amb-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(150, 180, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 255, 0.1) 1px, transparent 1px);
  background-size: 116px 30px;
  -webkit-mask-image: radial-gradient(62% 55% at 50% 48%, #000, transparent);
  mask-image: radial-gradient(62% 55% at 50% 48%, #000, transparent);
}
.amb-done {
  background:
    radial-gradient(
      70% 55% at 50% 108%,
      rgba(94, 177, 48, 0.32),
      transparent 70%
    ),
    radial-gradient(
      45% 40% at 18% 6%,
      rgba(255, 204, 128, 0.12),
      transparent 70%
    );
}
.amb-day {
  background:
    linear-gradient(180deg, rgba(222, 238, 228, 0.12), transparent 50%),
    radial-gradient(
      70% 45% at 50% -5%,
      rgba(240, 250, 236, 0.12),
      transparent 70%
    );
}
main,
.foot {
  position: relative;
  z-index: 1;
}
html:not(.anim) .ambient {
  display: none;
}

/* ---------- Time: the clock in the header ---------- */
.hud {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  pointer-events: none;
}
.hud-clock {
  width: 28px;
  height: 28px;
  flex: none;
  overflow: visible;
}
.ring-off {
  stroke: rgba(214, 236, 218, 0.22);
}
.ring-on path {
  stroke: var(--signal);
  opacity: 0;
  transition: opacity 0.5s;
}
.ring-on path.on {
  opacity: 1;
}
.hand {
  stroke: var(--mist);
  stroke-width: 1.9;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 16px 16px;
}
.hand-h {
  stroke-width: 2.5;
}
.hub {
  fill: var(--mist);
}
.hud-time {
  display: inline-flex;
  font: 650 1.12rem / 1 var(--display);
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}
.hud-date {
  font: italic 400 1.02rem / 1 var(--serif);
  color: var(--mist-2);
}
.odo {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
}
.odo > span {
  display: block;
  will-change: transform;
  transition: transform 0.32s var(--out);
}
.odo > span > span {
  display: block;
  height: 1.15em;
  line-height: 1.15em;
  text-align: center;
}
.hud .colon {
  line-height: 1.15em;
  padding-inline: 0.03em;
}
.hud.snap .odo > span {
  transition-duration: 0.9s;
}
html:not(.anim) .hud {
  display: none;
}

/* Each chapter's time, for reduced motion (and screen readers) */
.stamp {
  font: italic 400 1.08rem / 1.35 var(--serif);
  color: var(--signal-hi);
  margin-bottom: 14px;
}
.anim .stamp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.evening > .stamp {
  text-align: center;
}
/* the one stamp that stays visible: the close-up rewinds the clock, so it says so */
.anim .stamp.stamp-keep {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 12px;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* When a step was done */
.step-time {
  display: inline-block;
  margin-left: 10px;
  font: 550 0.86rem / 1 var(--display);
  font-stretch: 105%;
  letter-spacing: 0.02em;
  color: var(--signal-hi);
  font-variant-numeric: tabular-nums;
  vertical-align: 0.14em;
  transition:
    opacity 0.4s,
    transform 0.5s var(--out);
}
.anim .step:not(.done) .step-time {
  opacity: 0;
  transform: translateY(6px);
}

/* The app's four-step bar, with times */
.bar {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.bar li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 9px;
  row-gap: 2px;
  align-items: center;
}
.bar li i {
  grid-row: 1 / 3;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(214, 236, 218, 0.4) inset;
}
.bar li i::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 16px rgba(94, 177, 48, 0.7);
  transition: transform 0.5s var(--out);
}
.bar li i::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4.5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #06140a;
  border-bottom: 2px solid #06140a;
  transform: rotate(45deg);
  transition: transform 0.4s var(--out) 0.1s;
}
.bar span {
  font: 600 0.88rem / 1.2 var(--display);
  font-stretch: 106%;
  color: var(--mist);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar time {
  font: 500 0.8rem / 1.2 var(--display);
  color: var(--signal-hi);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.4s;
}
.anim .bar li:not(.done) i::before {
  transform: scale(0);
}
.anim .bar li:not(.done) i::after {
  transform: rotate(45deg) scale(0);
}
.anim .bar li:not(.done) time {
  opacity: 0;
}
.anim .bar li:not(.done) span {
  color: var(--mist-2);
}
.anim .bar li.active:not(.done) i {
  box-shadow:
    0 0 0 2px var(--signal-hi) inset,
    0 0 16px rgba(94, 177, 48, 0.45);
}

/* ---------- 4b · Rückstände: pick, preview, remind ---------- */
.remind {
  --len: 280vh;
  background: radial-gradient(
    55% 45% at 30% 62%,
    rgba(94, 177, 48, 0.1),
    transparent 70%
  );
}
.remind-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "head head" "bar bar" "table pop";
  column-gap: clamp(28px, 3.4vw, 52px);
  row-gap: 20px;
  align-items: start;
}
.remind-head {
  grid-area: head;
}
.remind-head .display {
  font-size: clamp(2.15rem, 4.2vw, 4rem);
}
.remind-head .voice {
  margin-top: 12px;
  max-width: 62ch;
}
.remind-grid > .bar {
  grid-area: bar;
  margin: 0;
  max-width: 760px;
}
.rtable {
  grid-area: table;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 50px 100px -40px rgba(0, 0, 0, 0.9),
    0 0 140px -40px rgba(94, 177, 48, 0.5);
}
.rt-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-height: 56px;
  padding: 11px 16px;
  background: #eef5e8;
  border-bottom: 1px solid var(--rule);
  font-size: 0.84rem;
}
.rt-sel {
  font-weight: 600;
  margin-right: 4px;
  transition: opacity 0.4s;
}
.rt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule) inset;
  font-weight: 500;
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.rt-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rt-cols,
.rt-rows li {
  display: grid;
  grid-template-columns: 20px 46px minmax(0, 1fr) 84px 92px;
  column-gap: 12px;
  align-items: center;
  padding-inline: 16px;
}
.rt-cols {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-2);
  padding-block: 8px;
  background: #fafaf8;
  border-bottom: 1px solid var(--rule);
}
.rt-cols span:nth-child(4) {
  text-align: right;
}
.rt-rows {
  list-style: none;
  padding: 0;
}
.rt-rows li {
  min-height: 42px;
  border-top: 1px solid var(--rule);
  font-size: 0.84rem;
}
.rt-rows li:first-child {
  border-top: 0;
}
.rt-nr {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.rt-rows b {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rt-amt {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mand {
  font-size: 0.8rem;
  font-weight: 600;
  color: #b42318;
  white-space: nowrap;
}
.mand::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  vertical-align: 0.04em;
}
.mand-ok {
  color: var(--ok-ink);
}
.mand-ok::before {
  background: currentColor;
}
.cb {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 0 1.5px #8c978f inset;
}
.cb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: var(--ok-ink);
  transition: transform 0.3s var(--out);
}
.cb::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s var(--out) 0.05s;
}
.rt-more-rows {
  padding: 10px 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--ink-2);
}
.rt-more-rows .mob {
  display: none;
}
.pop {
  grid-area: pop;
  position: relative;
  z-index: 2;
  display: grid;
  padding: 18px;
  border-radius: 14px;
  background: var(--card);
  transform-origin: 0 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 40px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 110px -30px rgba(94, 177, 48, 0.55);
  transition:
    opacity 0.45s var(--out),
    transform 0.6s var(--out);
}
.pop-pre,
.pop-done {
  grid-area: 1 / 1;
  transition: opacity 0.4s;
}
.pop-done {
  align-self: center;
  justify-self: center;
  text-align: left;
}
.pop-title {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.4;
}
.pop-title svg {
  flex: none;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--ok-ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pop-note {
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.pop-sub {
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}
.pop-names {
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.pop-act {
  margin-top: 16px;
}
.rt-send {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--signal);
  color: #06140a;
  font-weight: 700;
  font-size: 0.88rem;
  transition:
    transform 0.2s var(--out),
    box-shadow 0.3s;
}
html:not(.anim) .pop-pre,
html:not(.anim) .pop-done {
  grid-area: auto;
}
html:not(.anim) .pop-done {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  justify-self: stretch;
}
html:not(.anim) .pop-act {
  display: none;
}
/* motion states, set on the scene */
.anim .rt-rows li:not(.on) .cb::before {
  transform: scale(0);
}
.anim .rt-rows li:not(.on) .cb::after {
  transform: rotate(45deg) scale(0);
}
.anim .remind:not(.sel) .rt-sel {
  opacity: 0;
}
.anim .remind.open .rt-remind {
  background: var(--ok-bg);
  box-shadow: 0 0 0 1.5px var(--ok-ink) inset;
}
.anim .remind:not(.open) .pop {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
}
.anim .remind:not(.sent) .pop-done {
  opacity: 0;
}
.anim .remind.sent .pop-pre {
  opacity: 0;
}
.anim .remind.press .rt-send {
  transform: scale(0.95);
  box-shadow: 0 0 0 5px rgba(94, 177, 48, 0.35);
}

/* ---------- 4c · 21:52 ---------- */
.settle {
  position: relative;
  padding: clamp(110px, 20vh, 220px) 0 clamp(120px, 22vh, 240px);
  text-align: center;
}
.settle h2 {
  margin: 0;
  font-weight: inherit;
}
.done-time {
  display: block;
  font: 200 clamp(5.5rem, 21vw, 17rem) / 0.95 var(--display);
  font-stretch: 125%;
  letter-spacing: -0.05em;
  color: #f4f9f0;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 60px rgba(94, 177, 48, 0.55),
    0 0 160px rgba(255, 200, 120, 0.25);
}
.done-title {
  display: block;
  margin-top: clamp(14px, 2.4vh, 28px);
}
.done-voice {
  margin: 22px auto 0;
  max-width: 32ch;
  color: var(--mist);
}
html:not(.anim) .evening {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(36, 64, 140, 0.2) 25%,
    rgba(36, 64, 140, 0.2) 80%,
    transparent
  );
}
html:not(.anim) .settle {
  background: radial-gradient(
    60% 60% at 50% 55%,
    rgba(94, 177, 48, 0.18),
    transparent 70%
  );
}

/* ---------- Load sequence (once) ---------- */
.anim .hero-rise {
  animation: rise 2.6s var(--out) 0.3s both;
}
.anim .hero-title .ln,
.anim .hero-voice,
.anim .hero-lede,
.anim .hero-ctas {
  animation: lift 1.2s var(--out) both;
}
.anim .hero-title .ln:nth-child(2) {
  animation-delay: 0.1s;
}
.anim .hero-voice {
  animation-delay: 0.35s;
}
.anim .hero-lede {
  animation-delay: 0.5s;
}
.anim .hero-ctas {
  animation-delay: 0.62s;
}
.anim .sheen {
  animation: sheen 2.2s var(--io) 1.6s both;
}
.anim .orb {
  animation: orbin 1.1s var(--out) both;
}
.anim .orb-1 {
  animation-delay: 1.5s;
}
.anim .orb-2 {
  animation-delay: 1.7s;
}
.anim .orb-3 {
  animation-delay: 1.9s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26vh) rotateX(22deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sheen {
  0% {
    opacity: 1;
    transform: translateX(-70%);
  }
  100% {
    opacity: 0.6;
    transform: translateX(70%);
  }
}
@keyframes orbin {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Short desktop windows: keep the pinned scenes inside the screen ---------- */
@media (min-width: 761px) and (max-height: 780px) {
  .anim .step-text {
    display: none;
  }
  .anim .step-caption {
    display: grid;
    grid-column: 1 / 2;
    color: var(--mist-2);
    font-size: 0.95rem;
    line-height: 1.45;
    min-height: 2.9em;
  }
  .anim .step-caption span {
    grid-area: 1 / 1;
    transition: opacity 0.5s;
  }
  .anim .step-caption span:not(.on) {
    opacity: 0;
  }
  .anim .month-grid {
    grid-template-areas: "head head" "steps screens" "caption screens";
  }
  .anim .step-caption {
    grid-area: caption;
  }
  .anim .bk {
    min-height: 44px;
    padding-block: 5px;
  }
  .anim .bk-why {
    display: none;
  }
  .anim .statement-head .voice {
    display: none;
  }
  .anim .remind-head .voice {
    display: none;
  }
  .anim .rt-rows li {
    min-height: 33px;
  }
  .anim .rt-tools {
    min-height: 48px;
    padding-block: 8px;
  }
}

/* ---------- Narrower desktops: room for the clock in the header ---------- */
@media (max-width: 1320px) {
  .top-nav a:not(.btn):nth-child(2),
  .top-nav a:not(.btn):nth-child(3) {
    display: none;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .top-nav a:not(.btn):nth-child(-n + 3) {
    display: none;
  }
  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ledger-cols,
  .bk {
    grid-template-columns: 52px minmax(0, 1.2fr) minmax(0, 1fr) 88px 78px;
    column-gap: 10px;
    padding-inline: 16px;
  }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root {
    --top-h: 56px;
  }
  body {
    font-size: 1rem;
  }
  .top-nav a:not(.btn) {
    display: none;
  }
  .brand {
    font-size: 1.08rem;
  }

  .hero {
    padding-top: calc(var(--top-h) + 36px);
  }
  .hero-lede {
    font-size: 1rem;
  }
  .hero-ctas .btn {
    flex: 1 1 auto;
    white-space: nowrap;
    padding: 0 20px;
  }
  .hero-stage {
    margin-top: 44px;
    perspective: 900px;
  }
  .orb {
    padding: 8px 12px 8px 10px;
    font-size: 0.72rem;
    gap: 7px;
  }
  .orb .dot {
    width: 8px;
    height: 8px;
  }
  .orb::after {
    display: none;
  }
  .orb-1 {
    right: auto;
    left: 2%;
    top: 50%;
    transform: translateZ(40px);
  }
  .orb-3 {
    left: auto;
    right: 2%;
    top: 62%;
    transform: translateZ(60px);
  }
  .orb-2 {
    display: none;
  }

  .line {
    margin-bottom: 22vh;
  }
  .top.timed .brand {
    opacity: 0;
  }
  .brand {
    transition: opacity 0.35s;
  }
  .hud {
    position: absolute;
    left: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    gap: 8px;
    opacity: 0;
    transition: opacity 0.35s;
  }
  .top.timed .hud {
    opacity: 1;
  }
  .hud-clock {
    width: 24px;
    height: 24px;
  }
  .hud-time {
    font-size: 1.02rem;
  }
  .hud-date {
    font-size: 0.92rem;
  }

  /* month */
  .month {
    --len: 200vh;
  }
  .month-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "screens" "steps" "caption";
    row-gap: 16px;
    align-content: center;
  }
  .month-head .voice {
    display: none;
  }
  .month-screens {
    width: min(100%, calc((100svh - 470px) * 1.6));
    justify-self: center;
  }
  .mscreen,
  .anim .mscreen.on {
    transform: rotateY(-8deg) rotateX(2deg);
  }
  .anim .mscreen {
    transform: rotateY(-8deg) rotateX(2deg) translateZ(-80px);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 12px 12px;
  }
  .steps::before,
  .steps::after {
    display: none;
  }
  .step {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
  }
  .step-dot {
    width: 28px;
    height: 28px;
  }
  .step-dot b {
    font-size: 0.8rem;
  }
  .step-dot svg {
    width: 16px;
    height: 16px;
  }
  .step-body h3 {
    font-size: 1rem;
    padding-top: 4px;
  }
  .step-fact {
    font-size: 0.72rem;
    padding: 3px 8px;
    margin-top: 5px;
    border-radius: 8px;
  }
  .month-head .display {
    font-size: 2.15rem;
  }
  .step-text {
    display: none;
  }
  .step-caption {
    display: grid;
    grid-area: caption;
    color: var(--mist-2);
    font-size: 0.95rem;
    line-height: 1.45;
    min-height: 2.9em;
  }
  .step-caption span {
    grid-area: 1 / 1;
    transition: opacity 0.5s;
  }
  .anim .step-caption span:not(.on) {
    opacity: 0;
  }
  html:not(.anim) .step-caption {
    display: none;
  }
  html:not(.anim) .step-text {
    display: block;
    font-size: 0.9rem;
  }
  html:not(.anim) .steps {
    grid-template-columns: 1fr;
  }

  /* statement */
  .statement {
    --len: 200vh;
  }
  .ledger-wrap .bar {
    display: none;
  }
  .statement-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "ledger" "tray";
    row-gap: 14px;
  }
  .statement-head .voice {
    display: none;
  }
  .ledger-head {
    padding: 12px 14px 10px;
  }
  .ledger-title {
    font-size: 0.95rem;
  }
  .cnt {
    font-size: 0.72rem;
    padding: 3px 8px;
  }
  .ledger-cols {
    display: none;
  }
  .anim .ledger-window {
    height: clamp(150px, calc(100svh - 552px), 330px);
  }
  .anim .stamp.stamp-keep {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  .bk {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name amt" "line2 state";
    column-gap: 10px;
    row-gap: 3px;
    padding-inline: 14px;
    min-height: 0;
    padding-block: 9px;
    font-size: 0.82rem;
  }
  .bk-date,
  .bk-why {
    display: none;
  }
  .bk-who small,
  .bk-m {
    grid-area: line2;
  }
  .bk-who small {
    transition: opacity 0.35s;
  }
  .bk[data-kind="match"] .bk-who small,
  .bk[data-kind="open"] .bk-who small {
    opacity: 0;
  }
  .anim .bk:not(.done) .bk-who small {
    opacity: 1;
  }
  .bk-state {
    justify-items: end;
  }
  .st {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
  .tray {
    padding: 10px;
  }
  .tray-head {
    font-size: 0.9rem;
    padding-bottom: 8px;
  }
  .tray-card {
    padding: 8px 11px;
  }
  .tc-top {
    font-size: 0.78rem;
  }
  .tc-why {
    font-size: 0.76rem;
  }
  .tc-actions {
    display: none;
  }
  .anim .tray-card:not(.in) {
    transform: translateY(18px) scale(0.97);
  }

  .facts3 {
    grid-template-columns: minmax(0, 1fr);
  }

  /* reminders */
  .remind {
    --len: 190vh;
  }
  .remind-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "bar" "table" "pop";
    row-gap: 12px;
  }
  .remind-head .display {
    font-size: 2.15rem;
  }
  .remind-head .voice {
    display: none;
  }
  .remind-grid > .bar {
    gap: 4px;
  }
  .bar li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 3px;
  }
  .bar li i {
    grid-row: auto;
    width: 20px;
    height: 20px;
  }
  .bar li i::after {
    left: 7px;
    top: 4px;
  }
  .bar span {
    font-size: 0.7rem;
    max-width: 100%;
  }
  .bar time {
    font-size: 0.7rem;
  }
  .rt-tools {
    min-height: 0;
    padding: 9px 12px;
    font-size: 0.78rem;
  }
  .rt-more {
    display: none;
  }
  .rt-cols {
    display: none;
  }
  .rt-rows li {
    grid-template-columns: 18px minmax(0, 1fr) auto auto;
    column-gap: 9px;
    padding-inline: 12px;
    min-height: 38px;
    font-size: 0.8rem;
  }
  .rt-nr {
    display: none;
  }
  .mand {
    font-size: 0.72rem;
  }
  .rt-rows li:nth-child(n + 6) {
    display: none;
  }
  .rt-more-rows {
    padding: 8px 12px;
  }
  .rt-more-rows .desk {
    display: none;
  }
  .rt-more-rows .mob {
    display: inline;
  }
  .pop {
    margin: -128px 0 0 22px;
    padding: 14px;
  }
  .pop-note {
    display: none;
  }
  .pop-title {
    font-size: 0.88rem;
  }
  html:not(.anim) .pop {
    margin: 0;
  }

  /* search */
  .search-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .key {
    width: 58px;
    height: 58px;
    border-radius: 13px;
    font-size: 1.5rem;
  }
  .key svg {
    width: 24px;
    height: 24px;
  }
  .search-screen {
    aspect-ratio: 4 / 4.4;
  }
  .palette {
    width: 90%;
    top: 7%;
  }
  .pal-input {
    padding: 12px 14px;
    min-height: 48px;
    font-size: 0.95rem;
  }

  .pal-row {
    font-size: 0.86rem;
    padding: 8px 10px;
  }
  .pal-foot {
    gap: 12px;
    padding: 9px 14px;
    font-size: 0.7rem;
  }

  /* members */
  .duo,
  .duo-flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    margin-top: 88px;
  }
  .duo-flip .duo-text {
    order: 0;
  }
  .phone {
    --w: min(262px, 72vw);
  }
  .pair {
    min-height: 480px;
  }
  .pair .phone-front {
    --w: min(212px, 57vw);
  }
  .pair .phone-back {
    --w: min(178px, 48vw);
    transform: translate(-90%, -46%) rotateY(14deg);
  }
  .pair .phone-front {
    transform: translate(-20%, -52%) rotateY(-10deg);
  }
  .notice {
    font-size: 0.66rem;
    padding: 9px 9px;
    gap: 8px;
    border-radius: 13px;
  }
  .notice-text b {
    font-size: 0.72rem;
  }
  .notice-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }
  .notice-icon svg {
    width: 15px;
    height: 15px;
  }

  /* trust */
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }
  .log-e {
    padding: 14px 56px 14px 16px;
  }
  .log-ch span:first-child {
    min-width: 0;
  }

  .more-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .wall-plane {
    gap: 18px;
  }

  .demo-grid,
  .install-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .copy-status {
    left: auto;
    right: 22px;
  }
  .foot-in {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Static and complete without motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .caret {
    animation: none;
  }
}
html:not(.anim) .clock {
  position: relative;
  top: 0;
  height: auto;
}
html:not(.anim) .evening-lines {
  padding-top: 24px;
}
html:not(.anim) .line {
  margin-bottom: 40px;
}
html:not(.anim) .hero-tilt {
  transform: none;
}
html:not(.anim) .sheen {
  display: none;
}
html:not(.anim) [data-end] {
  transform: translateY(-47%);
}
html:not(.anim) .wall-plane {
  transform: translate(-50%, -50%) rotateX(52deg) rotateZ(-22deg)
    translateX(-8%);
}
