/* Axolotl website stylesheet — one school day, dawn to night.
   ============================================================================
   The homepage is a parent's day. Every section carries its time (7:15 AM to
   9:40 PM) and a `t-*` class for its light, and each section's gradient starts
   where the one above it ended, so scrolling reads as the day getting later:
   dawn apricot, daylight cream, golden afternoon, rose-to-lilac dusk, indigo
   night. The page ends in the dark, with the footer inside the night.

   Everything that is not light stays constant through the day: one serif for
   headlines (the last words in italic are the payoff), one sans for text, one
   mono for small labels, one ink, one button. Only the sky changes.

   Ollie, the mascot, is the only pink on the page.

   Motion: the rotating "who has an agent" line, Ollie idling on top of the
   phone, floating phones and drifting light. All of it stops under
   prefers-reduced-motion, which shows the final frame instead. */

:root {
  /* type */
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ink on the light part of the day. Measured against the darkest light
     background (golden #F2C58E): ink 13.9:1, ink-2 9.7:1, muted 6.2:1,
     faint 4.6:1, accent 4.6:1. */
  --ink: #1e1712;
  --ink-2: #3a2e26;
  --muted: #54443a;
  --faint: #6b5a4d;
  --accent: #9a4518;
  --accent-soft: #ffe2c4;
  --line: rgba(30, 23, 18, 0.14);
  --paper: #fffbf6;

  /* the night. On #0B0D26: on-night 16.8:1, muted 8.7:1, faint 6.1:1. */
  --night: #0b0d26;
  --on-night: #f4f1ff;
  --on-night-muted: #bcb9dc;
  --on-night-faint: #9f9cc9;
  --lilac: #c9c3ff;
  --peach: #ffc3a8;
  --night-line: rgba(255, 255, 255, 0.14);

  /* the one status colour that means done */
  --done: #1f6b45;
  --error: #9f2a1c;

  /* the day's light, one stop per boundary */
  --dawn: #fad6b6;
  --morning: #f7eee4;
  --day: #f5f2ec;
  --noon: #f4ede2;
  --afternoon: #f6ddb6;
  --golden: #f2c58e;
  --dusk: #2b2656;

  --wrap: 1200px;
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--morning);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--morning);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Film grain over the whole day, so the gradients read as light rather than
   as flat fills. It never takes clicks. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.022em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  font-size: clamp(50px, 7.4vw, 104px);
}

h2 {
  font-size: clamp(42px, 5.6vw, 78px);
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--accent);
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--morning);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid #1f7ae8;
  outline-offset: 3px;
  border-radius: 6px;
}

.lead {
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
}

.caption {
  font-size: 13.5px;
  color: var(--faint);
}

.caption.center {
  text-align: center;
  margin-top: 28px;
}

.line-note {
  margin-top: 28px;
  font-size: 14.5px;
  color: var(--faint);
}

.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--accent);
}

/* ── the time stamp every section opens with ────────────────────────────── */

.time-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
}

.time-chip-time {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1;
  color: var(--accent);
}

.time-chip-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── buttons and forms ──────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: 600 15.5px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.button.primary {
  background: var(--ink);
  color: var(--morning);
}

.button.primary:hover {
  background: #3a2c22;
}

.button:active {
  transform: translateY(1px);
}

.button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.pill-form {
  width: 100%;
  max-width: 540px;
}

.pill-field {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -24px rgba(90, 45, 15, 0.45);
}

.pill-field:focus-within {
  border-color: rgba(30, 23, 18, 0.4);
}

.pill-field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px var(--sans);
}

.pill-field input:focus {
  outline: none;
}

/* Browsers paint autofilled fields light blue; keep the pill's own look. */
.pill-field input:-webkit-autofill,
.pill-field input:-webkit-autofill:hover,
.pill-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  transition: background-color 600000s 0s, color 600000s 0s;
}

.pill-field input::placeholder {
  color: var(--faint);
}

.pill-field .button {
  min-height: 50px;
}

.form-note {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--faint);
}

.form-error {
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--error);
}

.form-success {
  max-width: 540px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 500;
}

.form-success:focus {
  outline: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 14.5px;
  font-weight: 500;
}

.field .hint {
  font-weight: 400;
  color: var(--faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(30, 23, 18, 0.22);
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
}

.field textarea {
  resize: vertical;
}

.highlight {
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ── header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--dawn);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  min-height: 44px;
  padding: 0 20px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(30, 23, 18, 0.25);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.site-nav ul {
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink-2);
}

.site-nav a:hover {
  color: var(--accent);
}

@media (min-width: 900px) {
  .site-nav {
    position: absolute;
    top: 0;
    left: 50%;
    height: 84px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
  }

  .site-nav .wrap {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0;
  }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    padding: 4px 0 20px;
    border-top: 1px solid var(--line);
  }

  .site-header[data-nav-open="true"] .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav li a,
  .nav-lang {
    display: block;
    padding: 12px 0;
    font-size: 17px;
  }
}

/* ── the day's light ────────────────────────────────────────────────────── */

.section {
  position: relative;
  padding: clamp(80px, 10vw, 136px) 0;
}

.t-morning {
  background: linear-gradient(180deg, var(--dawn) 0%, #f9e2cc 55%, var(--morning) 100%);
}

.t-day {
  background: linear-gradient(180deg, var(--morning), var(--day));
}

.t-noon {
  background: linear-gradient(180deg, var(--day), var(--noon));
}

.t-afternoon {
  background: linear-gradient(180deg, var(--noon), var(--afternoon));
}

.t-golden {
  background: linear-gradient(180deg, var(--afternoon), var(--golden));
}

.t-golden h2 em,
.t-golden .time-chip-time {
  color: #8c3d12;
}

.t-dusk {
  background: linear-gradient(180deg, var(--golden) 0%, #e4a08a 26%, #a86e8a 55%, #4e3c74 80%, var(--dusk) 100%);
}

.t-dusk h2 em {
  color: var(--ink);
}

.t-dusk .time-chip-time {
  color: #7a2e1c;
}

.t-night,
.t-night-deep,
.site-footer {
  color: var(--on-night);
}

.t-night {
  background: linear-gradient(180deg, var(--dusk) 0%, #151739 30%, var(--night) 100%);
  overflow: hidden;
}

.t-night-deep {
  background: var(--night);
}

:is(.t-night, .t-night-deep) .lead {
  color: var(--on-night-muted);
}

:is(.t-night, .t-night-deep) .caption,
:is(.t-night, .t-night-deep) .form-note,
:is(.t-night, .t-night-deep) .time-chip-label {
  color: var(--on-night-faint);
}

:is(.t-night, .t-night-deep) .time-chip-time {
  color: var(--lilac);
}

:is(.t-night, .t-night-deep) h2 em {
  color: var(--peach);
}

:is(.t-night, .t-night-deep) .text-link:hover {
  color: var(--peach);
}

:is(.t-night, .t-night-deep) .button.primary {
  background: var(--on-night);
  color: var(--night);
}

:is(.t-night, .t-night-deep) .button.primary:hover {
  background: #fff;
}

:is(.t-night, .t-night-deep) .pill-field {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

:is(.t-night, .t-night-deep) .pill-field input {
  color: var(--on-night);
}

:is(.t-night, .t-night-deep) .pill-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--on-night);
  caret-color: var(--on-night);
}

:is(.t-night, .t-night-deep) .pill-field input::placeholder {
  color: var(--on-night-faint);
}

:is(.t-night, .t-night-deep) .form-error {
  color: #ffb4a6;
}

:is(.t-night, .t-night-deep) .form-success {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--night-line);
}

:is(.t-night, .t-night-deep) .field input,
:is(.t-night, .t-night-deep) .field textarea {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--on-night);
}

:is(.t-night, .t-night-deep) .field .hint {
  color: var(--on-night-faint);
}

/* ── shared layouts ─────────────────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.split-copy .lead {
  margin-top: 22px;
}

.center-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.center-head .lead {
  margin-top: 20px;
}

.head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 52px;
}

.glass {
  background: rgba(255, 251, 244, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

:is(.t-night, .t-night-deep) .glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--night-line);
}

.device {
  display: block;
  height: auto;
  filter: drop-shadow(0 34px 44px rgba(90, 45, 15, 0.3));
}

@media (max-width: 899px) {
  .split,
  .head-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-split {
    gap: 20px;
    margin-bottom: 36px;
  }
}

/* ── 7:15 AM · the hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 0;
}

/* The phones rise out of the morning instead of stopping on a hard edge. */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(247, 238, 228, 0), var(--morning));
  pointer-events: none;
}

.sun {
  position: absolute;
  left: 50%;
  top: 360px;
  width: min(1000px, 140vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #ffc08a 0%, rgba(255, 192, 138, 0.55) 45%, rgba(255, 192, 138, 0) 100%);
  animation: sun 10s ease-in-out infinite;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy .time-chip {
  margin-bottom: 18px;
}

.hero-copy .lead {
  margin: 24px auto 28px;
  max-width: 660px;
}

.hero-copy .pill-form {
  margin: 0 auto;
  text-align: left;
}

.hero-copy .form-note {
  text-align: center;
}

.trust-line {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--faint);
}

/* The rolling line. Twelve lines in a column: eleven people who have an agent,
   then parents, then the first line again so the loop joins without a jump.
   The column slides up one line at a time; each line holds, parents holds
   longest, and the strike and the headline's colour land together. */
.agents {
  --line: 1.25em;
  height: var(--line);
  overflow: hidden;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.3vw, 46px);
  line-height: var(--line);
  color: var(--faint);
}

.agents-track {
  display: flex;
  flex-direction: column;
  animation: agents 27s cubic-bezier(0.7, 0, 0.2, 1) infinite;
}

.agents-track > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--line);
  white-space: nowrap;
}

.agents-parents {
  color: var(--ink);
}

.agents-parents s {
  position: relative;
  text-decoration: none;
  margin-left: 0.25em;
}

.agents-parents s::after {
  content: "";
  position: absolute;
  left: 0;
  top: 55%;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  animation: strike 27s ease-in-out infinite;
}

.hero h1 em {
  animation: payoff 27s ease-in-out infinite;
}

@keyframes agents {
  0%, 4.89% { transform: translateY(0); }
  6.11%, 11% { transform: translateY(calc(var(--line) * -1)); }
  12.22%, 17.11% { transform: translateY(calc(var(--line) * -2)); }
  18.33%, 23.22% { transform: translateY(calc(var(--line) * -3)); }
  24.44%, 29.33% { transform: translateY(calc(var(--line) * -4)); }
  30.56%, 35.44% { transform: translateY(calc(var(--line) * -5)); }
  36.67%, 41.56% { transform: translateY(calc(var(--line) * -6)); }
  42.78%, 47.67% { transform: translateY(calc(var(--line) * -7)); }
  48.89%, 53.78% { transform: translateY(calc(var(--line) * -8)); }
  55%, 59.89% { transform: translateY(calc(var(--line) * -9)); }
  61.11%, 66% { transform: translateY(calc(var(--line) * -10)); }
  67.22%, 97.56% { transform: translateY(calc(var(--line) * -11)); }
  100% { transform: translateY(calc(var(--line) * -12)); }
}

@keyframes strike {
  0%, 70.48% { width: 0; }
  73.74%, 96.74% { width: 100%; }
  100% { width: 0; }
}

@keyframes payoff {
  0%, 73.74% { color: var(--ink); }
  77%, 95.93% { color: var(--accent); }
  100% { color: var(--ink); }
}

/* Three phones stacked in depth, Ollie hiding behind the middle one. */
.hero-stage {
  position: relative;
  width: 780px;
  max-width: 100%;
  height: 560px;
  margin: 116px auto 0;
}

.hero-stage .device {
  position: absolute;
}

.hero-stage .device:nth-child(1) {
  left: 0;
  top: 96px;
  width: 270px;
  animation: float-l 9s ease-in-out infinite;
}

.hero-stage .device:nth-child(2) {
  right: 0;
  top: 96px;
  width: 270px;
  animation: float-r 10s ease-in-out 0.8s infinite;
}

.hero-stage .device:nth-child(4) {
  left: 50%;
  top: 56px;
  width: 310px;
  margin-left: -155px;
  filter: drop-shadow(0 40px 50px rgba(90, 45, 15, 0.35));
  animation: float-m 8s ease-in-out 0.3s infinite;
}

.peek {
  position: absolute;
  left: 50%;
  top: -86px;
  width: 200px;
  height: 200px;
  margin-left: -100px;
  transform-origin: 50% 90%;
  /* Always there, perched on the phone, with a slow idle. */
  animation: ollie-idle 9s ease-in-out infinite;
}

/* Settled in: a breath, a look to one side, a small bob. */
@keyframes ollie-idle {
  0%, 100% { transform: translateY(0) rotate(0); }
  20% { transform: translateY(-5px) rotate(0); }
  40% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(0) rotate(-4deg); }
  58% { transform: translateY(0) rotate(-4deg); }
  66% { transform: translateY(0) rotate(0); }
  82% { transform: translateY(-4px) rotate(2deg); }
}

@keyframes float-l {
  0%, 100% { transform: translateY(0) rotate(-11deg); }
  50% { transform: translateY(-12px) rotate(-11deg); }
}

@keyframes float-r {
  0%, 100% { transform: translateY(0) rotate(11deg); }
  50% { transform: translateY(-10px) rotate(11deg); }
}

@keyframes float-m {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes sun {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.9; }
  50% { transform: translateX(-50%) scale(1.06); opacity: 1; }
}

/* School paper drifting behind the phones: the mess the phones sort out. */
.clutter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.paper {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(90, 45, 15, 0.15);
  filter: blur(2.5px);
  opacity: 0.82;
}

.paper i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #e6d9cb;
}

.paper i:nth-child(2n) {
  width: 70%;
}

.paper b {
  margin-top: auto;
  height: 1px;
  background: #b9a99a;
}

.paper-slip {
  left: calc(50% - 560px);
  top: 700px;
  width: 210px;
  height: 280px;
  transform: rotate(-9deg);
}

.paper-menu {
  left: calc(50% + 380px);
  top: 660px;
  width: 220px;
  height: 290px;
  background: #fff8ec;
  transform: rotate(7deg);
  filter: blur(3px);
}

.paper-note {
  left: calc(50% + 470px);
  top: 520px;
  width: 128px;
  height: 128px;
  background: #ffe58f;
  transform: rotate(-4deg);
}

.paper-card {
  left: calc(50% - 640px);
  top: 520px;
  width: 190px;
  height: 118px;
  background: #fff;
  transform: rotate(12deg);
  filter: blur(3px);
  opacity: 0.7;
}

@media (max-width: 899px) {
  .clutter {
    display: none;
  }

  .hero-stage {
    width: 100%;
    height: 440px;
    margin-top: 96px;
  }

  .hero-stage .device:nth-child(1),
  .hero-stage .device:nth-child(2) {
    display: none;
  }

  .hero-stage .device:nth-child(4) {
    width: 260px;
    margin-left: -130px;
  }

  .peek {
    width: 170px;
    height: 170px;
    margin-left: -85px;
    top: -60px;
  }

  /* On a phone the rolling line wraps to two lines, so each step is taller. */
  .agents {
    --line: 2.5em;
    font-size: 24px;
    line-height: 1.25;
  }

  .agents-track > span {
    white-space: normal;
    text-align: center;
    padding: 0 8px;
  }

  .agents-parents {
    flex-wrap: wrap;
    gap: 0 0.25em;
  }

  .agents-parents s {
    margin-left: 0;
  }
}

/* ── 8:30 AM · the inbox ───────────────────────────────────────────────── */

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.step-grid li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  font-size: 15.5px;
  line-height: 1.5;
}

.step-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.inbox-stage {
  position: relative;
  height: 690px;
  margin: 0;
}

.inbox-card {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 70px;
  width: 300px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(60, 40, 20, 0.35);
}

.inbox-label {
  padding-bottom: 10px;
  font-size: 12.5px;
  color: var(--faint);
}

.inbox-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inbox-card li {
  padding: 9px 0;
  border-top: 1px solid #efe7dd;
  font-size: 14px;
  color: #8a7b70;
}

.inbox-card li.is-flagged {
  margin: 0 -12px;
  padding: 10px 12px;
  border-radius: 10px;
  border-top: 0;
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 500;
}

.inbox-stage .device {
  position: absolute;
  left: 268px;
  top: 0;
  width: 310px;
  animation: float-m 9s ease-in-out infinite;
}

.inbox-stage .caption {
  position: absolute;
  left: 268px;
  bottom: 0;
  width: 310px;
  text-align: center;
}

@media (max-width: 899px) {
  .step-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .inbox-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .inbox-card,
  .inbox-stage .device,
  .inbox-stage .caption {
    position: static;
  }

  .inbox-card {
    width: 100%;
    max-width: 400px;
  }

  .inbox-stage .device {
    width: 250px;
    margin-top: -40px;
  }

  .inbox-stage .caption {
    width: auto;
    margin-top: 12px;
  }
}

/* ── 11:48 AM · the week ───────────────────────────────────────────────── */

.carousel {
  position: relative;
  margin-top: 56px;
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.week-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.week-card .device {
  width: 100%;
  max-width: 265px;
  margin-bottom: 14px;
  transform: rotate(-2.5deg);
}

.week-card:nth-child(even) {
  padding-top: 64px;
}

.week-card:nth-child(even) .device {
  transform: rotate(2.5deg);
}

.week-time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.week-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
}

.carousel-arrow {
  display: none;
}

@media (max-width: 999px) {
  .carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 calc(50% - 130px) 8px;
  }

  .carousel-track::-webkit-scrollbar {
    display: none;
  }

  .week-card {
    flex: 0 0 260px;
    scroll-snap-align: center;
    transition: opacity 0.2s ease;
  }

  .week-card:nth-child(even) {
    padding-top: 0;
  }

  .week-card .device,
  .week-card:nth-child(even) .device {
    transform: none;
  }

  .week-card:not(.is-active) {
    opacity: 0.55;
  }

  .carousel-arrow:not([hidden]) {
    position: absolute;
    top: 240px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    cursor: pointer;
  }

  .carousel-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .carousel-arrow:disabled {
    opacity: 0.35;
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }
}

/* ── 3:05 PM · help your kid already qualifies for ──────────────────────── */

.timeline {
  padding: 34px 36px 36px;
}

.timeline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.timeline-head h3 {
  font-family: var(--serif);
  font-size: 30px;
}

.tl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 18px 0 0;
  border-top: 1px solid #d9bfa0;
}

.tl-step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px #fbf3e6;
}

.tl-step.is-pending::before {
  background: #fbf3e6;
  border: 2px dashed var(--accent);
}

.tl-step.is-done::before {
  background: var(--done);
}

.tl-when {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.tl-step h3 {
  font-size: 15px;
  font-weight: 600;
}

.tl-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e9dccb;
  font-size: 13.5px;
  line-height: 1.45;
}

.tl-meta {
  font-size: 11.5px;
  color: var(--faint);
}

.tl-card strong {
  font-weight: 600;
}

.tl-card mark {
  background: var(--accent-soft);
  color: inherit;
  padding: 0 2px;
}

.tl-letter {
  border: 0;
  border-radius: 6px;
  box-shadow: 0 14px 30px -14px rgba(60, 35, 15, 0.35);
  transform: rotate(-1.2deg);
}

.tl-letter-text {
  font-family: Georgia, "Times New Roman", serif;
  color: #2a221c;
}

.tl-sent {
  font-size: 12px;
  font-weight: 600;
  color: var(--done);
}

.tl-track {
  font-size: 12.5px;
  color: var(--muted);
}

.tl-bar {
  display: block;
  height: 6px;
  margin-bottom: 7px;
  border-radius: 99px;
  background: #ebd9c2;
  overflow: hidden;
}

.tl-bar span {
  display: block;
  width: 17%;
  height: 100%;
  background: var(--ink);
}

.bubble {
  width: fit-content;
  max-width: 96%;
  padding: 10px 13px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.38;
}

.bubble.in {
  background: #e9e6df;
}

.bubble.out {
  margin-left: auto;
  background: #1f7ae8;
  color: #fff;
}

.also {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 36px;
}

.also-label {
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.72);
  border: 1px solid var(--line);
  font-size: 14.5px;
}

@media (max-width: 999px) {
  .timeline {
    padding: 24px 20px;
  }

  .timeline-head {
    flex-direction: column;
    gap: 4px;
  }

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

  .tl-step {
    padding: 0 0 26px 24px;
    border-top: 0;
    border-left: 1px solid #d9bfa0;
  }

  .tl-step:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
  }

  .tl-step::before {
    top: 2px;
    left: -6px;
  }

  .bubble.out {
    margin-left: auto;
  }
}

/* ── 3:40 PM · every family makes the school easier ────────────────────── */

.path-split {
  align-items: start;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 30px;
  padding: 0;
  list-style: none;
}

.path-steps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1.5px solid var(--ink);
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.path-step-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8c3d12;
}

.path-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 30px 26px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 30px 60px rgba(90, 45, 15, 0.2);
}

.path-eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.path-card h3 {
  margin: 0;
  max-width: 17ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.05;
  text-wrap: balance;
}

.path-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.path-two p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.path-label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.path-two .path-label {
  color: var(--ink);
}

.path-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.path-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.path-stat-v {
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.path-stat-l {
  font-size: 13px;
  color: var(--faint);
}

.path-never {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5ebdd;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.path-never strong {
  margin-right: 6px;
  color: var(--ink);
}

.path-stamp {
  position: absolute;
  top: 58px;
  right: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  border: 2.5px solid var(--done);
  border-radius: 50%;
  background: rgba(255, 251, 246, 0.9);
  color: var(--done);
  text-align: center;
  transform: rotate(-8deg);
}

.path-stamp-top,
.path-stamp-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.path-stamp-name {
  margin: 2px 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.05;
}

.path-more {
  padding: 0 4px;
}

.path-more ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.path-more li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.path-official {
  color: var(--done);
}

.path-status {
  color: var(--faint);
}

.path-note {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .path-stamp {
    animation: path-stamp 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both;
  }

  @keyframes path-stamp {
    0%, 30% { opacity: 0; transform: rotate(-14deg) scale(1.5); }
    60% { opacity: 1; transform: rotate(-8deg) scale(0.95); }
    100% { opacity: 1; transform: rotate(-8deg) scale(1); }
  }
}

@media (max-width: 899px) {
  .path-card h3 {
    max-width: 13ch;
  }
}

@media (max-width: 599px) {
  .path-steps,
  .path-two {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .path-card {
    padding: 22px 20px;
  }

  .path-stamp {
    top: 52px;
    right: 14px;
    width: 84px;
    height: 84px;
  }

  .path-stamp-name {
    font-size: 14px;
  }

  .path-card h3 {
    max-width: none;
    padding-right: 90px;
    font-size: 26px;
  }
}

/* ── 6:30 PM · your circle ──────────────────────────────────────────────── */

.circle-split {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.circle-phone {
  display: flex;
  justify-content: center;
}

.circle-phone .device {
  width: min(340px, 100%);
  filter: drop-shadow(0 34px 44px rgba(40, 20, 40, 0.4));
}

.circle-week-label {
  margin: 30px 0 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.circle-week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  max-width: 600px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.circle-week li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 248, 240, 0.4);
  border-radius: 12px;
  background: rgba(255, 248, 240, 0.22);
  font-size: 14.5px;
  color: var(--ink);
}

.circle-week li span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.circle-week li.is-set {
  background: var(--paper);
  font-weight: 600;
}

.circle-rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.circle-rules li {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 246, 236, 0.35);
  font-size: 15.5px;
  line-height: 1.5;
  color: #f6eef9;
}

.circle-rules strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: #fff8f0;
}

.circle-soon {
  margin: 28px 0 0;
  color: #f6eef9;
}

.circle-soon .text-link {
  color: #fff8f0;
}

.soon-tag {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach);
}

@media (max-width: 899px) {
  .circle-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .circle-phone {
    order: 2;
  }
}

@media (max-width: 599px) {
  .circle-week {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── 9:40 PM · everything's handled ─────────────────────────────────────── */

.stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  animation: twinkle 4s ease-in-out infinite;
}

.stars i:nth-child(1) { left: 12%; top: 40px; }
.stars i:nth-child(2) { left: 34%; top: 72px; width: 2px; height: 2px; animation-delay: 1s; }
.stars i:nth-child(3) { left: 48%; top: 28px; animation-delay: 0.5s; }
.stars i:nth-child(4) { left: 95%; top: 64px; width: 2px; height: 2px; animation-delay: 2s; }
.stars i:nth-child(5) { left: 4%; top: 300px; width: 2px; height: 2px; animation-delay: 1.5s; }
.stars i:nth-child(6) { left: 72%; top: 110px; animation-delay: 2.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.9; }
}

.sum-label {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-faint);
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.summary li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.sum-mark {
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.is-done .sum-mark {
  background: var(--on-night);
}

.is-done .sum-mark svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--night);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.is-waiting .sum-mark {
  border: 1.5px dashed var(--peach);
}

.sum-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sum-text strong {
  font-weight: 500;
}

.sum-text span {
  font-size: 13.5px;
  color: var(--on-night-muted);
}

.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 96px;
}

.promise {
  padding: 28px;
}

.promise h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
}

.promise p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--on-night-muted);
}

.promise-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 22px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.quote {
  margin: 0;
  padding: 28px;
}

#voices {
  margin-top: 96px;
}

#voices h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.join {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 120px;
  text-align: center;
}

.join::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  width: 620px;
  max-width: 100%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 195, 168, 0.18), rgba(255, 195, 168, 0));
  pointer-events: none;
}

.sleeper {
  position: relative;
  width: 300px;
  margin: -30px 0 -40px;
  animation: float-m 7s ease-in-out infinite;
}

.join h2 {
  position: relative;
}

.join .lead {
  position: relative;
  margin: 22px auto 28px;
}

.join .pill-form {
  position: relative;
  text-align: left;
}

.join .form-note {
  text-align: center;
}

.join-alt {
  position: relative;
  margin-top: 18px;
}

@media (max-width: 899px) {
  .promises,
  .quote-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 64px;
  }

  .sleeper {
    width: 230px;
  }
}

/* ── schools band, questions, footer ────────────────────────────────────── */

.section-band {
  padding: 96px 0 40px;
}

.band {
  padding-top: 40px;
  border-top: 1px solid var(--night-line);
}

.band .lead {
  margin: 18px 0 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: start;
}

.contact-grid form {
  margin-top: 30px;
  max-width: 560px;
}

.contact-grid h2 {
  font-size: clamp(38px, 4.4vw, 60px);
}

.contact-grid .lead {
  margin-top: 16px;
}

.inline-panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}

:is(.t-night, .t-night-deep) .inline-panel {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--night-line);
}

.inline-panel summary {
  padding: 18px 22px;
  font-weight: 500;
  cursor: pointer;
}

.panel-body {
  padding: 0 22px 22px;
}

.panel-body h3 {
  margin: 18px 0 6px;
  font-size: 15.5px;
  font-weight: 600;
}

.panel-body .panel-title {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.panel-body p {
  font-size: 14.5px;
  line-height: 1.55;
  opacity: 0.85;
}

.panel-body .text-link {
  display: inline-block;
  margin-top: 16px;
}

@media (max-width: 899px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

.site-footer {
  background: var(--night);
  border-top: 1px solid var(--night-line);
  padding: 36px 0 110px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand-footer {
  font-size: 26px;
}

.brand-footer img {
  width: 38px;
  height: 38px;
}

.site-footer p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--on-night-faint);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul a {
  font-size: 14.5px;
  text-decoration: none;
  color: var(--on-night-muted);
}

.site-footer ul a:hover {
  color: var(--on-night);
}

.sticky-join {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 40;
  transform: translateX(-50%);
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(30, 23, 18, 0.12);
  background: #fffdf9;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
}

.sticky-join[hidden] {
  display: none;
}

/* ── /employers ───────────────────────────────────────────────────────────── */

.hero-schools {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--dawn) 0%, #f9e2cc 60%, var(--morning) 100%);
}

.hero-schools h1 {
  max-width: 900px;
}

.hero-schools .lead {
  margin: 24px 0 30px;
  max-width: 680px;
}

.schools-eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-schools h1 em {
  color: var(--accent);
}

.hero-schools .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}

/* ── the fund homepage ── */

.hero-fund {
  padding: 56px 0 72px;
}

.hero-fund::after {
  display: none;
}

.hero-fund h1 {
  font-size: clamp(42px, 5.4vw, 76px);
}

.hero-fund .trust-line {
  margin-top: 22px;
}

.fund-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.fund-phone .device {
  width: min(340px, 100%);
}

.money-split {
  align-items: start;
  margin-bottom: 48px;
}

.money-table td:first-child {
  font-weight: 600;
}

.scan-cards {
  margin-top: 36px;
}

.scan-cards .never-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 899px) {
  .scan-cards .never-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.scan-lists {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.scan-lists h3 {
  margin-bottom: 12px;
}

.scan-estimate {
  margin: 32px 0 26px;
}

@media (max-width: 799px) {
  .scan-lists {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

#disability .brief-card {
  margin-top: 28px;
}

#members-band-title + .lead,
.section-band .lead {
  max-width: 640px;
}

/* the same request, with and without a front door */

.door-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
  align-items: start;
}

.door-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 28px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.door-after {
  border: 1.5px solid var(--done);
  box-shadow: 0 30px 60px -20px rgba(31, 107, 69, 0.28);
}

.door-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.door-after .door-label span:first-child {
  color: var(--done);
}

.door-to {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.door-subject {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
}

.door-body {
  position: relative;
  max-height: 9.6em;
  margin: 0;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.door-body::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3.2em;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0), var(--paper));
}

.door-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.door-rows div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 12px;
}

.door-rows dt {
  font-size: 13px;
  font-weight: 600;
}

.door-rows dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}

.door-sent {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--done);
}

.door-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.door-foot li {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5ebdd;
  font-size: 13px;
  color: var(--muted);
}

.door-before .door-foot li {
  background: #f8e1d9;
  color: var(--error);
}

.door-after .door-foot li {
  background: #e3efe6;
  color: var(--done);
}

/* paths: steps stacked beside the card */

.path-steps-stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 0;
}

/* staff texting, and the Monday brief */

.staff-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 44px;
  align-items: start;
}

.staff-thread {
  margin: 0;
  padding: 22px 22px 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
}

.staff-thread figcaption {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--faint);
}

.staff-thread ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-msg {
  max-width: 82%;
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.38;
}

.staff-msg-in {
  align-self: flex-start;
  background: #e9e9eb;
  color: #111;
}

.staff-msg-out {
  align-self: flex-end;
  background: #0b7ae5;
  color: #fff;
}

.brief-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 28px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(90, 45, 15, 0.25);
}

.brief-rows {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-rows li {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.brief-v {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.brief-rows-money li {
  grid-template-columns: 7.2rem minmax(0, 1fr);
}

.brief-rows-money .brief-v {
  font-size: 30px;
}

.brief-l {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 15.5px;
  line-height: 1.4;
}

.brief-note {
  font-size: 13.5px;
  color: var(--done);
}

.brief-foot {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5ebdd;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.network-note {
  margin-top: 28px;
  max-width: 720px;
  color: var(--on-night-faint);
}

@media (max-width: 899px) {
  .door-pair,
  .staff-pair,
  .att-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 599px) {
  .door-card,
  .brief-card {
    padding: 22px 20px;
  }

  .door-rows div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* attendance: four levers beside a parent's thread */

.att-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 44px;
  align-items: start;
}

.att-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
}

.att-items article {
  padding-top: 14px;
  border-top: 1.5px solid var(--ink);
}

.att-items h3 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
}

.att-items p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.att-research {
  max-width: 760px;
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--faint);
}

/* the flywheel */

.fly-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: fly;
}

.fly-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px 24px;
  border-radius: 20px;
  border: 1px solid var(--night-line);
  background: rgba(255, 255, 255, 0.04);
  counter-increment: fly;
}

.fly-steps li::before {
  content: counter(fly);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--night);
  font: 600 14px/1 var(--sans);
}

.fly-steps li:last-child::after {
  content: "↺";
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 22px;
  color: var(--peach);
}

.fly-steps strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.12;
}

.fly-steps span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-night-muted);
}

.fly-example {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 620px;
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid rgba(201, 195, 255, 0.5);
  background: rgba(201, 195, 255, 0.08);
}

.fly-example-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-night-faint);
}

.fly-row {
  display: grid;
  grid-template-columns: 12em minmax(0, 1fr) 2em;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--on-night-muted);
}

.fly-row b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: var(--on-night);
  text-align: right;
}

.fly-dots {
  display: flex;
  gap: 8px;
}

.fly-dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--peach);
}

.fly-row.is-after .fly-dots i {
  background: #7fd6a4;
}

.connect-table td:first-child {
  width: 34%;
}

@media (max-width: 899px) {
  .fly-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .fly-steps,
  .att-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .fly-row {
    grid-template-columns: minmax(0, 1fr) 2em;
  }

  .fly-row .fly-dots {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .connect-table td:first-child {
    width: auto;
  }
}

.section h2 + .lead {
  margin-top: 18px;
}

.year-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  font-size: 15.5px;
}

.year-table th {
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--faint);
}

.year-table td {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}

.year-table td:first-child {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
}

@media (max-width: 799px) {
  .year-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .year-table,
  .year-table tbody,
  .year-table tr,
  .year-table td {
    display: block;
  }

  .year-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .year-table td {
    padding: 4px 0;
    border: 0;
  }

  .year-table td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
  }
}

.plain-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  max-width: 720px;
}

.plain-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  line-height: 1.55;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.tension {
  max-width: 820px;
  margin-top: 40px;
  padding: 28px 30px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.tension h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
}

.tension p + p {
  margin-top: 12px;
}

.never-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.never-grid article {
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.never-grid h3 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}

.section-sheet {
  background: var(--paper);
}

.section-sheet h3 {
  margin-top: 28px;
  font-size: 17px;
  font-weight: 600;
}

.section-sheet p {
  margin-top: 14px;
  max-width: 760px;
}

@media (max-width: 699px) {
  .never-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── small screens ──────────────────────────────────────────────────────── */

@media (max-width: 599px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .brand {
    font-size: 26px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-bar {
    min-height: 68px;
  }

  .header-cta {
    padding: 0 16px;
    font-size: 14.5px;
  }

  .pill-field input {
    padding: 0 14px;
  }

  .pill-field .button {
    padding: 0 18px;
  }
}

/* ── reduced motion: the final frame, held ──────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .agents-track {
    transform: translateY(calc(var(--line) * -11));
  }

  .agents-parents s::after {
    width: 100%;
  }

  .hero h1 em {
    color: var(--accent);
  }

  .hero-stage .device:nth-child(1) {
    transform: rotate(-11deg);
  }

  .hero-stage .device:nth-child(2) {
    transform: rotate(11deg);
  }
}
