/* The Isaac's Well website (index.html and the path pages): the template is a measured replica of the ouraring.com home
 * page (boxes, type, spacing and motion per role), carrying Isaac's Well's copy (docs/platform/03-copy.md).
 * Every colour, easing and duration below is a token on :root; the palettes (assets/shared/palettes.css) map these
 * tokens onto each palette's roles. Breakpoints: 768, 1024, 1280, 1440. Faces: Albert Sans and Instrument Serif
 * (SIL OFL), self-hosted as 'IW Landing Sans' and 'IW Landing Serif', behind each palette's own faces. */

@font-face { font-family: 'IW Landing Sans'; src: url('../fonts/landing-sans.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'IW Landing Serif'; src: url('../fonts/landing-display.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
/* Fallbacks sized to the two faces' widths, so text wraps the same before and after they load (no layout shift) */
@font-face { font-family: 'IW Landing Sans Fallback'; src: local('Arial'); size-adjust: 107%; }
@font-face { font-family: 'IW Landing Serif Fallback'; src: local('Times New Roman'); size-adjust: 83%; }

:root {
  --l-font-sans: 'IW Landing Sans', 'IW Landing Sans Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --l-font-serif: 'IW Landing Serif', 'IW Landing Serif Fallback', ui-serif, Georgia, serif;
  /* Weights: Oura's 300 / 400 / 700 sans render as 240 / 460 / 580 here; the serif is one weight (spec §3.1). */
  --l-light: 240;
  --l-regular: 460;
  --l-bold: 580;

  /* Colour roles (spec §4) */
  --l-paper: #f7f1e8;
  --l-paper-2: #efe6db;
  --l-ink: #4a4741;
  --l-ink-strong: #000000;
  --l-ink-muted: #838280;
  --l-ink-soft: #a8a5a0;
  --l-ink-label: #c9c4bc;
  --l-hairline: #d3d1ce;
  --l-hairline-dark: rgba(131, 130, 128, 0.2);
  --l-dark: #1c1b1a;
  --l-dark-2: #3a3837;
  --l-chip-dark: #404040;
  --l-glass: rgba(34, 36, 40, 0.4);
  --l-nav-glass: rgba(74, 71, 65, 0.1);
  --l-ring: rgba(74, 71, 65, 0.25);
  --l-promo: #ced4b8;
  --l-white: #ffffff;
  --l-white-60: rgba(255, 255, 255, 0.6);
  --l-white-50: rgba(255, 255, 255, 0.5);
  --l-white-06: rgba(255, 255, 255, 0.06);
  --l-paper-40: rgba(247, 241, 232, 0.4);
  --l-paper-80: rgba(247, 241, 232, 0.85);
  --l-paper-16: rgba(247, 241, 232, 0.16);
  --l-shadow: rgba(0, 0, 0, 0.25);
  --l-scrim: rgba(28, 27, 26, 0.6);
  --l-card-scrim: rgba(28, 27, 26, 0.6);
  --l-card-veil: rgba(28, 27, 26, 0.72);
  --l-card-veil-soft: rgba(28, 27, 26, 0.3);
  /* The CTA: the palette's primary (palettes.css); hover is one step darker. These are the template's own values. */
  --l-cta: #2a6964;
  --l-cta-hover: #1b4a46;

  /* The app as it appears in the miniatures (cards, phones, the sheets, the letter card), kept as landing tokens */
  --l-app-desk: #f7f1e8;
  --l-app-desk-2: #efe6db;
  --l-app-card: #ffffff;
  --l-app-ink: #22201c;
  --l-app-ink-2: #4a4741;
  --l-app-muted: #6b665e;
  --l-app-ink-4: #8f8a81;
  --l-app-border: #e6ded2;
  --l-app-border-strong: #d6ccbe;
  --l-app-brand-tint: #e2eeeb;
  --l-app-brand-mark: #4f8b85;
  --l-app-success: #376e3e;
  --l-app-you: #85580a;
  --l-app-you-tint: #f6ecd5;
  --l-app-shadow-edge: rgba(52, 40, 24, 0.05);
  --l-app-shadow-1: rgba(52, 40, 24, 0.06);
  --l-app-shadow-2: rgba(52, 40, 24, 0.1);
  --l-phone-shadow: rgba(0, 0, 0, 0.35);
  --l-scan: rgba(66, 132, 126, 0.28);
  /* Materials: hi, mid, deep, and deep at 45% for an edge (the initials avatars and the drawings) */
  --l-mat-clay-hi: #f7ebe2;  --l-mat-clay: #ebd3c2;  --l-mat-clay-deep: #8c4d31;  --l-mat-clay-45: rgba(140, 77, 49, 0.45);
  --l-mat-slate-hi: #edf2f5; --l-mat-slate: #d3dee6; --l-mat-slate-deep: #3f5b72; --l-mat-slate-45: rgba(63, 91, 114, 0.45);
  --l-mat-sage-hi: #eef2e8;  --l-mat-sage: #d5e0cc;  --l-mat-sage-deep: #4d6847;  --l-mat-sage-45: rgba(77, 104, 71, 0.45);
  --l-mat-teal-hi: #ebf4f2;  --l-mat-teal: #cde3df;  --l-mat-teal-deep: #24605b;  --l-mat-teal-45: rgba(36, 96, 91, 0.45);
  /* Radii (the template's, and 4 · 8 · 12 · 20 · 28 · pill for the miniatures). Miniatures
   * scale with their phone or card, so they take a fixed radius from this scale rather than an em multiple. */
  --l-radius-xs: 4px;
  --l-radius-tag: 6px;
  --l-radius-sm: 8px;
  --l-radius-md: 12px;
  --l-radius-lg: 20px;
  --l-radius-glass: 24px;
  --l-radius-xl: 28px;
  --l-radius-footer: 48px;
  --l-radius-full: 9999px;
  --l-radius-phone: 16px;
  --l-radius-screen: 13px;
  /* Motion (spec §7): Oura's curves; landing reveals stay within 600 ms (01-standards P5.1) */
  --l-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --l-ease-out: cubic-bezier(0, 0, 0.58, 1);
  --l-ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --l-ease-label: cubic-bezier(0, 0, 0.2, 1);
  --l-fast: 150ms;
  --l-label: 200ms;
  --l-base: 300ms;
  --l-glass-t: 400ms;
  --l-slow: 500ms;
  --l-reveal: 600ms;

  /* Page grid: 22 columns between gutters (24, 64 from 1024; from 1440 the content stops at 1312) */
  --l-g: 24px;
  --l-col: calc((100vw - 2 * var(--l-g)) / 22);
}
@media (min-width: 768px) { :root { --l-radius-phone: 28px; --l-radius-screen: 24px; } }
@media (min-width: 1024px) { :root { --l-g: 64px; --l-radius-phone: 36px; --l-radius-screen: 32px; } }
@media (min-width: 1440px) { :root { --l-g: calc((100vw - 1312px) / 2); } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; transition-timing-function: var(--l-ease); animation-timing-function: var(--l-ease); }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--l-paper);
  color: var(--l-ink);
  font-family: var(--l-font-sans);
  font-weight: var(--l-regular);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 2px; }
.news :focus-visible, .notes :focus-visible, .footer :focus-visible, .card :focus-visible { outline-color: var(--l-paper); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 24px; border-radius: var(--l-radius-full); background: var(--l-ink); color: var(--l-paper); text-decoration: none; }
.skip:focus { top: 16px; }
.page { position: relative; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- pills */
.pill {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--l-radius-full);
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--l-regular);
  text-align: center;
  text-decoration: none;
  transition-property: color, background-color, border-color, opacity, box-shadow, transform, filter;
  transition-duration: var(--l-fast);
  transition-timing-function: var(--l-ease);
}
.pill-cta { background: var(--l-cta); color: var(--l-white); font-weight: var(--l-bold); }
.pill-cta:hover { background: var(--l-cta-hover); }
.pill-teal { background: var(--l-cta); color: var(--l-white); }
.pill-teal:hover { background: var(--l-cta-hover); }
.pill-dark { background: var(--l-ink); color: var(--l-paper); }
.pill-dark:hover { background: var(--l-dark); }
.pill-ghost { background: transparent; color: var(--l-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pill-ghost:hover { background: var(--l-nav-glass); }
.pill-light { background: var(--l-paper); color: var(--l-ink); }
.pill-light:hover { background: var(--l-paper-2); }
.pill-arrow svg { display: inline-block; width: 11px; height: 11px; margin-left: 6px; vertical-align: 0; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------------------------------------------------------------- announcement bar and header */
.top-layer { position: absolute; inset: 0; z-index: 50; pointer-events: none; }
.promo {
  height: 52px;
  padding: 14px 4px;
  background: var(--l-promo);
  text-align: center;
  pointer-events: auto;
}
.promo-text {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 4px;
  margin-top: 2px;
  vertical-align: top;
  font-size: 14px;
  line-height: 21px;
  font-weight: var(--l-bold);
  text-align: center;
  color: var(--l-ink);
  background: var(--l-promo);
}
.promo-text a { text-underline-offset: 3px; }

.nav {
  position: sticky;
  top: 0;
  height: 90px;
  padding: 8px 0;
  pointer-events: auto;
  transition: all var(--l-slow) var(--l-ease);
}
.nav.is-hidden { top: -112px; }
.nav-nav { position: relative; z-index: 2; margin-top: 8px; padding: 8px 0; }
.nav-glass {
  position: absolute;
  top: 0; bottom: 0; left: 12px; right: 12px;
  border-radius: var(--l-radius-sm);
  background: var(--l-nav-glass);
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  opacity: 0;
  transition: opacity var(--l-glass-t) var(--l-ease);
}
.nav.is-scrolled .nav-glass { opacity: 1; }
.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  margin: 0 var(--l-g);
}
.nav-logo { display: block; padding: 12px 0; color: var(--l-ink); line-height: 0; }
.logo { display: block; width: 93px; height: 13px; }
.nav-links { display: none; transition: opacity var(--l-fast) var(--l-ease); }
.nav-link {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--l-radius-full);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  transition-property: color, background-color, border-color, opacity, box-shadow, transform, filter;
  transition-duration: var(--l-fast);
  transition-timing-function: var(--l-ease);
}
.nav-link span {
  text-align: left;
  text-decoration: underline transparent;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition-property: color, text-decoration-color;
  transition-duration: var(--l-base);
  transition-timing-function: var(--l-ease);
}
.nav-link:hover span { text-decoration-color: var(--l-ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; transition: opacity var(--l-fast) var(--l-ease); }
.nav-login {
  display: inline-block;
  height: 40px;
  padding: 8px 16px;
  border-radius: var(--l-radius-full);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition-property: color, background-color, border-color, opacity, box-shadow, transform, filter;
  transition-duration: var(--l-base);
  transition-timing-function: var(--l-ease);
}
.nav-login:hover { background: var(--l-nav-glass); }
.nav-cta {
  display: inline-block;
  height: 40px;
  padding: 7px 16px;
  border: 1px solid var(--l-ink);
  border-radius: var(--l-radius-full);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition-property: color, background-color, border-color;
  transition-duration: var(--l-base);
  transition-timing-function: var(--l-ease);
}
.nav-cta:hover { background: var(--l-ink); color: var(--l-paper); }
@media (max-width: 479.98px) { .nav-login { display: none; } }
.nav-menu {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--l-ring);
  border-radius: var(--l-radius-full);
  background: transparent;
  cursor: pointer;
  transition-property: color, background-color, border-color, opacity, box-shadow, transform, filter;
  transition-duration: var(--l-base);
  transition-timing-function: var(--l-ease);
}
.nav-menu:hover { border-color: var(--l-ink); background: var(--l-nav-glass); }
.nav-menu span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  margin: -0.75px 0 0 -8px;
  border-radius: var(--l-radius-xs);
  background: var(--l-ink);
  transition: transform var(--l-base) var(--l-ease-in-out);
}
.nav-menu span:first-child { transform: translateY(-3px); }
.nav-menu span:last-child { transform: translateY(3px); }
.nav-menu[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1;
  height: 0;
  overflow: hidden;
  background: var(--l-paper);
  box-shadow: 0 25px 50px -12px var(--l-shadow);
  visibility: hidden;
  transition: height var(--l-glass-t) var(--l-ease-in-out), visibility 0s linear var(--l-glass-t);
}
.nav.is-open .mobile { height: 100vh; height: 100svh; visibility: visible; transition: height var(--l-glass-t) var(--l-ease-in-out); }
.mobile-list { display: flex; flex-direction: column; padding: 112px 0 80px; }
.mobile-items { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mobile-item, .mobile-subitem {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: var(--l-radius-full);
  font-size: 30px;
  line-height: 36px;
  text-decoration: none;
}
.mobile-sub { display: flex; flex-direction: column; align-items: flex-start; margin-top: 32px; }
.mobile-orgs { display: flex; flex-direction: column; align-items: flex-start; margin: -4px 0 4px 16px; }
.mobile-org { display: block; padding: 8px 24px; border-radius: var(--l-radius-full); font-size: 18px; line-height: 26px; text-decoration: none; }
.mobile-org:hover { background: var(--l-nav-glass); }
.mobile-subitem { font-size: 16px; line-height: 24px; }
.mobile-item:hover, .mobile-subitem:hover { background: var(--l-nav-glass); }

@media (min-width: 768px) {
  .nav-glass { left: 24px; right: 24px; }
  .nav-bar { padding: 0 32px; }
  .nav-actions { gap: 16px; }
  .nav-login { height: 48px; padding: 12px 24px; }
  .nav-cta { height: 48px; padding: 11px 24px; }
  .nav-menu { width: 48px; height: 48px; }
  .mobile-list { margin: 0 32px; padding-bottom: 16px; }
}
@media (min-width: 1024px) {
  .nav-bar { padding: 0; height: auto; }
  .logo { width: 144px; height: 20px; }
  .nav-links { display: flex; margin: 0 auto; }
  .nav-menu, .mobile { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 100vh; height: 100svh; background: var(--l-paper); isolation: isolate; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } }
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  height: 200px;
  background: linear-gradient(to bottom, var(--l-paper) 45%, transparent);
  opacity: 0.92;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(to bottom, transparent, var(--l-scrim));
}
.hero-content {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--l-g);
  right: var(--l-g);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 48px;
}
.hero-stack { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 320px; max-width: 100%; text-align: center; color: var(--l-paper); }
.hero-title {
  font-family: var(--l-font-serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 52.8px;
  letter-spacing: -2.4px;
  text-wrap: pretty;
  max-width: 460px;
}
.hero-lede { font-size: 20px; line-height: 22px; letter-spacing: -0.5px; text-wrap: pretty; }
/* "Meet someone who" + one ending at a time. Every ending sits in the same grid cell, so the H1 keeps the height of the
 * tallest at every width and nothing below it moves (CLS 0); landing.js turns them, one every 3.2 s, with a soft
 * vertical crossfade. Under reduced motion only the first shows. Screen readers get the .vh sentence. */
.hero-h { display: block; }
.rot { display: grid; }
.rot-end { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(0.28em); transition: opacity var(--l-reveal) var(--l-ease), transform var(--l-reveal) var(--l-ease), visibility 0s var(--l-ease) var(--l-reveal); }
.rot-end.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rot-end.is-out { transform: translateY(-0.28em); }
.hero-cta-wrap { position: relative; display: block; }
.hero-note { position: absolute; left: 50%; top: 100%; width: max-content; margin-top: 10px; transform: translateX(-50%); font-size: 14px; line-height: 21px; color: var(--l-paper); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-cta-wrap { animation: hero-in var(--l-reveal) var(--l-ease-out) both; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(25px); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }

@media (min-width: 768px) {
  .hero-title { font-size: 72px; line-height: 79.2px; letter-spacing: -3.6px; max-width: none; }
}
/* Every ending breaks at the same place (.rb), so the H1 wraps the same at each one: two lines below 768 and from 1280;
 * between, the copy is wide enough for "Meet someone who" and any ending on one line each. */
.rb { display: block; }
@media (min-width: 768px) and (max-width: 1279.98px) { .hero-copy { width: 660px; } .rb { display: none; } }
@media (min-width: 1280px) {
  .hero { min-height: 800px; }
  .hero-media::after { display: none; }
  .hero-content { right: auto; width: calc(var(--l-col) * 10); justify-content: center; align-items: flex-start; padding-bottom: 0; }
  .hero-stack { align-items: flex-start; gap: 40px; }
  .hero-copy { align-items: flex-start; width: 480px; text-align: left; color: var(--l-ink); }
  .hero-note { left: -10px; transform: none; padding: 2px 10px; border-radius: var(--l-radius-full); background: var(--l-paper-80); color: var(--l-ink); }
  .hero-title { font-size: 80px; line-height: 88px; letter-spacing: -4px; }
}

/* ---------------------------------------------------------------- statement */
.statement { overflow: hidden; padding-bottom: 64px; }
.st-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100vw - 2 * var(--l-g));
  margin: 64px auto 0;
  text-align: center;
}
.st-title {
  font-family: var(--l-font-serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 61.6px;
  letter-spacing: -2.04px;
  text-wrap: balance;
}
.st-lede { align-self: stretch; margin-top: 24px; font-size: 24px; line-height: 30px; letter-spacing: -0.6px; }
.st-pills { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
@media (min-width: 768px) {
  .st-copy { width: calc(var(--l-col) * 16); }
  .st-title { font-size: 60px; line-height: 66px; }
}
@media (min-width: 1024px) {
  .st-copy { margin-top: 128px; }
  .st-title { font-size: 68px; line-height: 74.8px; }
  .st-lede { letter-spacing: -1.2px; }
  .st-pills { flex-direction: row; }
}
@media (min-width: 1280px) { .st-copy { width: calc(var(--l-col) * 14); } }

/* ---------------------------------------------------------------- find your path: four calm tiles, each a link */
.paths { padding: 40px 0; }
.paths-head { display: flex; flex-direction: column; align-items: flex-start; margin: 0 var(--l-g); }
.paths-row { display: grid; grid-template-columns: 100%; gap: 16px; margin: 40px var(--l-g) 0; }
.paths-row > li { display: flex; }
.path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 24px;
  border-radius: var(--l-radius-sm);
  background: var(--l-paper-2);
  color: var(--l-ink);
  text-decoration: none;
  transition: box-shadow var(--l-base) var(--l-ease);
}
.path:hover { box-shadow: inset 0 0 0 1px var(--l-ring); }
.path-mark { display: block; flex: none; width: 44px; height: 44px; fill: none; stroke: var(--l-cta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.path-mark .pm-fill { fill: var(--l-app-brand-tint); stroke: none; }
.path-mark .pm-soft { stroke: var(--l-app-brand-mark); }
.path-h { margin-top: 20px; font-family: var(--l-font-serif); font-weight: 400; font-size: 26px; line-height: 30px; color: var(--l-ink-strong); }
.path-text { margin-top: 8px; font-size: 16px; line-height: 24px; }
.path-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: var(--l-bold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.path-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--l-base) var(--l-ease); }
.path:hover .path-link svg { transform: translateX(3px); }
.paths-line { margin: 32px var(--l-g) 0; font-size: 16px; line-height: 24px; }
@media (min-width: 768px) {
  .paths-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .path { padding: 28px; }
  .path-h { margin-top: 32px; }
}
@media (min-width: 1024px) {
  .paths { padding: 80px 0; }
  .paths-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .path-mark { width: 48px; height: 48px; }
  .path-h { margin-top: 48px; font-size: 28px; line-height: 32px; }
  .paths-line { margin-top: 40px; }
}
@media (min-width: 1280px) {
  .path { padding: 32px; }
  .path-text { font-size: 18px; line-height: 27px; }
}

/* ---------------------------------------------------------------- how it works: the four parts (a swipe row below 1024, one grid from 1024) */
.how { padding: 24px 0 40px; }
.how-head { display: flex; flex-direction: column; align-items: flex-start; margin: 0 var(--l-g); }
.how-title { align-self: stretch; margin-top: 24px; font-family: var(--l-font-serif); font-weight: 400; font-size: 40px; line-height: 44px; text-wrap: balance; }
.how-text { align-self: stretch; margin-top: 16px; font-size: 20px; line-height: 30px; }
.cards { margin: 32px 0 0 var(--l-g); }
.cards-track {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0 24px 0 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cards-track::-webkit-scrollbar { display: none; }
.cards-track > li { flex: none; scroll-snap-align: start; }
.card {
  position: relative;
  width: 312px;
  height: 420px;
  padding-bottom: 32px;
  transition: all var(--l-slow) var(--l-ease);
}
.card-frame {
  position: relative;
  height: 100%;
  border-radius: var(--l-radius-md);
  overflow: hidden;
  isolation: isolate;
  background: var(--l-dark);
  color: var(--l-paper);
}
.card-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, var(--l-card-scrim), var(--l-card-scrim) 20%, transparent 60%);
  pointer-events: none;
  transition: background-color var(--l-base) var(--l-ease);
}
.card-media {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 110%;
  max-width: none;
  object-fit: cover;
  transform: translateY(-20%);
  will-change: transform;
}
.card-chip {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  overflow: hidden;
  isolation: isolate;
}
.chip-glass {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--l-radius-glass);
  background: var(--l-glass);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.chip-icon { display: block; flex: none; width: 24px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip-label { font-size: 12px; line-height: 18px; }
.card-plus {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: block;
  width: 45px;
  height: 45px;
  padding: 16px;
  border: 0;
  border-radius: var(--l-radius-full);
  background: var(--l-paper);
  color: var(--l-ink);
  cursor: pointer;
  transition-property: color, background-color, border-color, opacity, box-shadow, transform, filter;
  transition-duration: var(--l-fast);
  transition-timing-function: var(--l-ease);
}
.card-plus:hover { background: var(--l-paper-2); }
.card-plus svg { display: block; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform var(--l-base) var(--l-ease); }
.card.is-open .card-plus svg { transform: rotate(45deg); }
.card-body { position: absolute; left: 24px; bottom: 24px; z-index: 1; width: min(376px, calc(100% - 48px)); }
.card-title { font-size: 28px; line-height: 28px; font-weight: var(--l-light); }
.card-text, .card-cta-wrap, .card-aside { display: none; }
.card-text { margin-top: 16px; font-size: 16px; line-height: 22px; }
.card-cta-wrap { margin-top: 16px; }
.card.is-open .card-text, .card.is-open .card-cta-wrap { display: block; animation: fade-in var(--l-base) var(--l-ease-out) both; }
.card.is-open .card-chip { visibility: hidden; }
@media (max-width: 767.98px) { .card.is-open .card-title { display: none; } .card.is-open .card-text { margin-top: 0; } }
.card.is-open .card-frame::after { background-color: var(--l-card-veil); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.card-aside { position: absolute; right: 0; bottom: 0; z-index: 1; width: calc(25% - 12px); padding: 0 24px 24px 0; }
.aside-quote { position: relative; padding: 16px; isolation: isolate; }
.aside-quote::before, .tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--l-radius-md);
  background: var(--l-glass);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.aside-who { display: flex; align-items: center; gap: 16px; }
.aside-av { --av: 50px; }
.aside-name { font-size: 16px; line-height: 24px; }
.aside-role { display: flex; font-size: 14px; line-height: 21px; }
.aside-text { margin-top: 24px; font-family: var(--l-font-serif); font-weight: 400; font-size: 18px; line-height: 27px; }
.aside-stat { margin-top: 24px; aspect-ratio: 220 / 138.64; }
.tile { position: relative; height: 100%; padding: 16px; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.tile-k { font-size: 12px; line-height: 18px; color: var(--l-paper); }
.tile-v { margin-top: 4px; font-size: 18px; line-height: 24px; }
.tile-bar { height: 4px; margin-top: 12px; border-radius: var(--l-radius-xs); background: var(--l-paper-16); overflow: hidden; }
.tile-bar span { display: block; height: 100%; border-radius: var(--l-radius-xs); background: var(--l-paper); }

.cards-controls { margin-right: 24px; }
.cards-rule { position: relative; height: 1px; overflow: hidden; background: var(--l-hairline); }
.cards-progress {
  position: absolute;
  inset: 0;
  background: var(--l-ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--l-base) var(--l-ease);
}
.cards-arrows { display: flex; justify-content: flex-end; gap: 16px; padding: 24px 0 16px; }
.arrow {
  display: block;
  width: 45px;
  height: 44px;
  padding: 16px 12px;
  border: 0;
  border-radius: var(--l-radius-full);
  background: var(--l-ink);
  color: var(--l-paper);
  cursor: pointer;
}
.arrow svg { display: block; width: 21px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.arrow:disabled { background: var(--l-paper); color: var(--l-ink-muted); cursor: default; }

@media (min-width: 768px) {
  .card { width: 493px; height: 658px; }
  .card-chip { padding: 16px 24px; }
  .card-plus { width: 53px; height: 53px; padding: 20px; }
  .card-title { font-size: 32px; line-height: 32px; }
  .card-text { margin-top: 24px; font-size: 18px; line-height: 24.75px; }
  .card-cta-wrap { margin-top: 24px; }
}
/* From 1024 the four parts are one grid (two by two, four across from 1280): no sideways scroll, no arrows.
 * "+" opens a part in place: the miniature gives way to the words, the quote and the button. */
@media (min-width: 1024px) {
  .how { padding: 40px 0 80px; }
  .cards { margin: 40px var(--l-g) 0; }
  .cards-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 0; overflow: visible; scroll-snap-type: none; }
  .cards-track > li { min-width: 0; }
  .cards-controls { display: none; }
  .card { width: auto; height: 600px; padding-bottom: 0; }
  .card-title { font-size: 40px; line-height: 40px; }
  .card.is-open .card-title { display: none; }
  .card.is-open .card-text { margin-top: 0; }
  .card.is-open .card-aside { display: block; animation: fade-in var(--l-base) var(--l-ease-out) both; }
  .card-aside { left: 24px; right: 24px; top: 96px; bottom: auto; width: auto; padding: 0; }
  .aside-stat { display: none; }
  .card-aside .aside-stat:only-child { display: block; }
}
@media (min-width: 1280px) {
  .cards-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { height: 640px; }
  .card-frame { container-type: inline-size; }
  .card-chip { top: 20px; left: 20px; padding: 12px 16px; }
  .card-plus { top: 20px; right: 20px; width: 45px; height: 45px; padding: 16px; }
  .card-frame .card-obj { top: 92px; width: calc(100cqw - 32px); font-size: calc((100cqw - 32px) / 28.6); }
  .card-body { left: 20px; bottom: 20px; width: calc(100% - 40px); }
  .card-title { font-size: 32px; line-height: 34px; }
  .card-text { margin-top: 16px; font-size: 16px; line-height: 22px; }
  .card-cta-wrap { margin-top: 16px; }
  .card-aside { left: 20px; right: 20px; top: 84px; }
  .aside-quote { padding: 14px; }
  .aside-who { gap: 12px; }
  .aside-av { --av: 40px; }
  .aside-text { margin-top: 12px; font-size: 16px; line-height: 22px; }
}

/* The product, drawn in each card: the app's parts in miniature, floating over the photo (hidden while a card is open).
 * Sizes are in em of the card's miniature scale (9 px below 768, 13 px from 768): radii 28/20/12/8 → 2.2/1.5/0.9/0.6 em. */
.card-obj {
  position: absolute;
  top: 74px;
  left: 50%;
  z-index: 1;
  width: calc(100% - 48px);
  transform: translateX(-50%);
  font-size: 9px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--l-app-ink);
  text-align: left;
}
.card.is-open .card-obj { visibility: hidden; opacity: 0; }
@media (max-width: 767.98px) {
  .sr-name span, .sr .sr-found, .obj-plan .pp-next, .pp-w, .pp-bar, .el-acts span, .el-foot { display: none; }
  .sr-brand { padding: 0.55em 0.75em; }
  .pp { padding: 0.7em 0.9em 0.8em; }
  .pp-ch { gap: 0.2em; margin-top: 0.4em; }
  .pp-ch li { padding: 0.35em 0.5em; }
  .pp-n { font-size: 1.5em; }
}
.card-obj.obj-week, .card-obj.obj-badge { width: max-content; max-width: calc(100% - 48px); }
@media (min-width: 768px) {
  .card-obj { top: 112px; width: 372px; font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 1279.98px) { .obj-plan .pp-next, .obj-plan .sr-found li:nth-child(n+5) { display: none; } }
.ic { display: inline-block; flex: none; width: 1.25em; height: 1.25em; vertical-align: -0.25em; overflow: visible; }

/* A sample person: never a photograph (03-copy.md §1), but the initial in the display serif on a tint of the palette.
 * Size it with --av; the tints are the palette's four materials. */
.av {
  --av: 2.4em;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2em;
  height: 2em;
  padding-top: 0.06em;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--a-hi), var(--a-mid) 70%);
  box-shadow: inset 0 0 0 1px var(--a-edge);
  color: var(--a-deep);
  font-family: var(--l-font-serif);
  font-weight: 400;
  font-style: normal;
  font-size: calc(var(--av) / 2);
  line-height: 1;
  letter-spacing: 0;
}
.av--clay { --a-hi: var(--l-mat-clay-hi); --a-mid: var(--l-mat-clay); --a-deep: var(--l-mat-clay-deep); --a-edge: var(--l-mat-clay-45); }
.av--teal { --a-hi: var(--l-mat-teal-hi); --a-mid: var(--l-mat-teal); --a-deep: var(--l-mat-teal-deep); --a-edge: var(--l-mat-teal-45); }
.av--slate { --a-hi: var(--l-mat-slate-hi); --a-mid: var(--l-mat-slate); --a-deep: var(--l-mat-slate-deep); --a-edge: var(--l-mat-slate-45); }
.av--sage { --a-hi: var(--l-mat-sage-hi); --a-mid: var(--l-mat-sage); --a-deep: var(--l-mat-sage-deep); --a-edge: var(--l-mat-sage-45); }

/* the app's card: surface, radius 28, shadow-1 */
.sr, .pp, .obj-week, .obj-courses, .obj-badge { border-radius: var(--l-radius-lg); background: var(--l-app-card); box-shadow: 0 0 0 1px var(--l-app-shadow-edge), 0 0.15em 0.3em var(--l-app-shadow-1), 0 1.4em 3em -1em var(--l-phone-shadow); }

/* 1 · Join: the application as sent (the address, who and which church, what was given), then where it stands */
.obj-plan { display: flex; flex-direction: column; gap: 0.8em; }
.sr { padding: 0.9em; }
.sr-url { position: relative; display: flex; align-items: center; gap: 0.6em; height: 2.9em; padding: 0 0.45em 0 1em; overflow: hidden; border-radius: var(--l-radius-md); background: var(--l-app-card); box-shadow: inset 0 0 0 1px var(--l-app-ink-4); }
.sr-url::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--l-scan), transparent); transform: translateX(-100%); opacity: 0; }
.sr-globe { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: var(--l-app-muted); stroke-width: 1.2; }
.sr-addr { flex: 1; min-width: 0; font-weight: 500; font-size: 1.05em; }
.sr-state { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.3em 0.8em; border-radius: var(--l-radius-full); background: var(--l-app-brand-tint); color: var(--l-cta); font-weight: 500; font-size: 0.92em; }
.sr-state i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--l-cta); }
.sr-brand { display: flex; align-items: center; gap: 0.75em; margin-top: 0.7em; padding: 0.75em 0.8em; border-radius: var(--l-radius-md); background: var(--l-app-desk); }
.sr-mark { --av: 2.6em; }
.sr-name { flex: 1; min-width: 0; line-height: 1.25; }
.sr-name b { display: block; font-family: var(--l-font-serif); font-weight: 400; font-size: 1.5em; line-height: 1.1; color: var(--l-app-ink); }
.sr-name span { color: var(--l-app-muted); }
.sr-swatches { display: flex; flex: none; }
.sr-swatches i { width: 1.3em; height: 1.3em; margin-left: -0.3em; border-radius: 50%; box-shadow: 0 0 0 0.16em var(--l-app-desk); background: var(--l-cta); }
.sr-swatches i:nth-child(2) { background: var(--l-mat-clay-deep); }
.sr-swatches i:nth-child(3) { background: var(--l-app-brand-tint); }
.sr-found { display: flex; flex-wrap: wrap; gap: 0.4em; margin-top: 0.65em; }
.sr-found li { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.25em 0.7em 0.25em 0.4em; border-radius: var(--l-radius-full); background: var(--l-app-desk-2); color: var(--l-app-ink-2); }
.sr-tick { position: relative; width: 1em; height: 1em; border-radius: 50%; background: var(--l-cta); }
.sr-tick::after { content: ''; position: absolute; left: 0.32em; top: 0.2em; width: 0.26em; height: 0.46em; border: solid var(--l-white); border-width: 0 0.12em 0.12em 0; transform: rotate(45deg); }

/* where the application stands: four steps in words, two by two, the current one tinted */
.pp { padding: 0.9em 1.1em 1em; }
.pp-k { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; font-size: 1.05em; }
.pp-k span + span { font-weight: 400; font-size: 0.9em; color: var(--l-app-muted); }
.pp-ch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4em; margin-top: 0.6em; }
.pp-ch li { display: flex; gap: 0.5em; padding: 0.55em 0.7em; border-radius: var(--l-radius-md); line-height: 1.25; color: var(--l-app-muted); }
.pp-ch .is-here { background: var(--l-app-brand-tint); color: var(--l-app-ink); }
.pp-ch li:not(.is-here) .pp-s { color: inherit; }
.pp-n { flex: none; font-family: var(--l-font-serif); font-weight: 400; font-size: 1.7em; line-height: 0.95; color: var(--l-cta); }
.pp-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pp-t b { font-weight: 500; color: var(--l-app-ink); }
.pp-s { color: var(--l-app-ink-2); }
.pp-bar { display: block; height: 0.3em; margin-top: 0.4em; border-radius: var(--l-radius-full); background: var(--l-app-card); overflow: hidden; }
.pp-bar i { display: block; height: 100%; border-radius: inherit; background: var(--l-cta); transform-origin: left center; }
.pp-next { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3em 0.7em; margin-top: 0.8em; }
.pp-next span { color: var(--l-app-muted); }
.pp-next b { font-weight: 500; }
.pp-next em { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.2em 0.7em 0.2em 0.5em; border-radius: var(--l-radius-full); background: var(--l-app-you-tint); color: var(--l-app-you); font-style: normal; font-size: 0.92em; }
.pp-next .ic { width: 1.1em; height: 1.1em; }

/* 4 · Introduced: the water ring on the desk, widening once, then the mutual moment and what is never shown */
.obj-week { display: flex; align-items: center; gap: 1.3em; padding: 1em 1.4em 1em 1em; }
.wk-desk { position: relative; flex: none; display: grid; place-items: center; width: 8.4em; height: 8.4em; border-radius: var(--l-radius-md); background: var(--l-app-desk-2); box-shadow: inset 0 0.08em 0.15em var(--l-app-shadow-1); }
.wk-ring { position: relative; width: 6.4em; height: 6.4em; }
.wk-ring i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 0.12em var(--l-cta); opacity: var(--o); transform: scale(var(--r)); }
.wk-ring i:nth-child(1) { --r: 1; --o: 0.25; }
.wk-ring i:nth-child(2) { --r: 0.68; --o: 0.5; }
.wk-ring i:nth-child(3) { --r: 0.38; --o: 0.85; }
.wk-ring b { position: absolute; left: 50%; top: 50%; width: 0.9em; height: 0.9em; margin: -0.45em 0 0 -0.45em; border-radius: 50%; background: var(--l-cta); }
.wk-copy { min-width: 0; max-width: 17em; }
.wk-caps { font-size: 0.85em; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--l-app-muted); }
.wk-v { margin-top: 0.3em; font-family: var(--l-font-serif); font-size: 1.75em; line-height: 1.08; letter-spacing: -0.01em; }
.wk-s { margin-top: 0.3em; color: var(--l-app-muted); }
.wk-split { display: flex; flex-wrap: wrap; gap: 0.35em; margin-top: 0.6em; }
.wk-split li { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.2em 0.7em 0.2em 0.5em; border-radius: var(--l-radius-full); background: var(--l-app-desk-2); color: var(--l-app-ink-2); font-size: 0.92em; }
.wk-split .ic { width: 1.1em; height: 1.1em; }

/* 2 · Affirmed: the elder's one page (four things to confirm, each ticked in turn, the counselor, one answer) */
.obj-courses { padding: 1.1em 1.2em 1.1em; }
.co-head { font-family: var(--l-font-serif); font-weight: 400; font-size: 1.55em; line-height: 1.12; letter-spacing: -0.01em; }
.el-list { margin-top: 0.6em; border-top: 1px solid var(--l-app-border); }
.el-list li { display: flex; align-items: center; gap: 0.6em; padding: 0.42em 0; border-bottom: 1px solid var(--l-app-border); color: var(--l-app-ink-2); }
.el-tick { flex: none; width: 1.35em; height: 1.35em; padding: 0.18em; border-radius: 50%; background: var(--l-app-brand-tint); fill: none; stroke: var(--l-cta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.el-tick path { stroke-dasharray: 14; stroke-dashoffset: 0; }
.el-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; margin-top: 0.6em; padding: 0.45em 0.5em 0.45em 0.75em; border-radius: var(--l-radius-md); background: var(--l-app-desk); }
.el-row b { padding: 0.2em 0.8em; border-radius: var(--l-radius-full); background: var(--l-app-card); box-shadow: inset 0 0 0 1px var(--l-app-border-strong); font-weight: 500; }
.el-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35em 0.9em; margin-top: 0.75em; }
.el-btn { padding: 0.45em 1.1em; border-radius: var(--l-radius-full); background: var(--l-cta); color: var(--l-white); font-weight: 500; }
.el-acts span { color: var(--l-app-muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.el-foot { margin-top: 0.6em; font-size: 0.92em; color: var(--l-app-muted); }

/* 3 · This week: one profile as a man sees it. The 4:5 photograph is a sample's initial, never a face. */
.obj-badge { display: flex; flex-direction: column; align-items: center; padding: 1.4em 2em 1.3em; text-align: center; }
.pf-photo { position: relative; display: grid; place-items: center; width: 8.6em; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--l-radius-md); background: linear-gradient(160deg, var(--l-mat-clay-hi), var(--l-mat-clay) 75%); box-shadow: inset 0 0 0 1px var(--l-mat-clay-45); color: var(--l-mat-clay-deep); }
.pf-photo b { font-family: var(--l-font-serif); font-weight: 400; font-size: 4.6em; line-height: 1; }
.pf-photo i { position: absolute; left: 0.55em; top: 0.55em; padding: 0.1em 0.6em; border-radius: var(--l-radius-full); background: var(--l-app-card); color: var(--l-app-muted); font-style: normal; font-weight: 500; font-size: 0.82em; }
.medal-name { margin-top: 0.8em; font-weight: 500; font-size: 1.25em; line-height: 1.3; }
.medal-date { margin-top: 0.1em; color: var(--l-app-muted); }
.pf-trust { max-width: 14em; margin-top: 0.7em; padding-top: 0.7em; border-top: 1px solid var(--l-app-border); font-size: 1.12em; line-height: 1.35; color: var(--l-app-ink); text-wrap: balance; }

/* The miniatures play once when they come into view (landing.js adds .is-play; off under reduced motion) */
.reveal-on [data-play] .sr-brand, .reveal-on [data-play] .sr-found li, .reveal-on [data-play] .pp,
.reveal-on [data-play] .el-list li, .reveal-on [data-play] .el-row, .reveal-on [data-play] .el-acts,
.reveal-on [data-play].obj-badge .pf-photo, .reveal-on [data-play] .wk-ring i, .reveal-on [data-play] .wk-ring b { opacity: 0; }
.reveal-on [data-play] .el-tick path { stroke-dashoffset: 14; }
.reveal-on [data-play].is-play .sr-url::after { animation: scan var(--l-reveal) var(--l-ease-in-out) 2 both; }
.reveal-on [data-play].is-play .sr-brand { animation: lift var(--l-slow) var(--l-ease-out) 1000ms both; }
.reveal-on [data-play].is-play .sr-found li { animation: lift var(--l-base) var(--l-ease-out) both; animation-delay: calc(1200ms + var(--i) * 150ms); }
.reveal-on [data-play].is-play .pp { animation: lift var(--l-slow) var(--l-ease-out) 2000ms both; }
.reveal-on [data-play].is-play .pp-bar i { animation: grow var(--l-reveal) var(--l-ease-out) 2400ms both; }
.reveal-on [data-play].is-play .el-list li { animation: lift var(--l-base) var(--l-ease-out) both; animation-delay: calc(var(--i) * 120ms); }
.reveal-on [data-play].is-play .el-tick path { animation: draw var(--l-base) var(--l-ease-out) both; animation-delay: calc(450ms + var(--i) * 220ms); }
.reveal-on [data-play].is-play .el-row { animation: lift var(--l-slow) var(--l-ease-out) 1300ms both; }
.reveal-on [data-play].is-play .el-acts { animation: lift var(--l-slow) var(--l-ease-out) 1500ms both; }
.reveal-on [data-play].is-play .pf-photo { animation: medal-in var(--l-reveal) var(--l-ease-out) both; }
.reveal-on [data-play].is-play .wk-ring b { animation: medal-in var(--l-base) var(--l-ease-out) both; }
.reveal-on [data-play].is-play .wk-ring i { animation: ring 900ms var(--l-ease-out) both; }
.reveal-on [data-play].is-play .wk-ring i:nth-child(2) { animation-delay: 160ms; }
.reveal-on [data-play].is-play .wk-ring i:nth-child(1) { animation-delay: 320ms; }
@keyframes scan { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(250%); } }
@keyframes lift { from { opacity: 0; transform: translateY(0.8em); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 14; } to { stroke-dashoffset: 0; } }
@keyframes medal-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
/* a drop on still water: each ring starts small and bright, and widens once to rest */
@keyframes ring { from { opacity: 1; transform: scale(0.1); } to { opacity: var(--o); transform: scale(var(--r)); } }
@media (min-width: 1440px) { .cards-controls { margin-right: var(--l-g); } }

/* ---------------------------------------------------------------- the outcome */
.stat { padding: 40px 0; }
.stat-copy { width: calc(100vw - 2 * var(--l-g)); margin: 0 auto; text-align: center; }
.stat-title {
  font-family: var(--l-font-serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 61.6px;
  letter-spacing: -2.04px;
  text-wrap: balance;
}
.stat-title sup { font-size: 14px; line-height: 14px; vertical-align: super; }
.stat-title sup a { text-decoration: none; }
.stat-lede { margin-top: 24px; font-size: 24px; line-height: 30px; letter-spacing: -0.6px; }
.stat-lede sup { font-size: 12px; line-height: 0; vertical-align: super; }
.stat-lede sup a { text-decoration: none; }
.stat-note { margin-top: 16px; font-size: 14px; line-height: 21px; }
.stat-cta-wrap { padding-top: 24px; }
.stat-frame { position: relative; margin-top: 48px; overflow: hidden; }
.stat-media { position: relative; width: 123%; margin-left: -11.5%; aspect-ratio: 2600 / 1341; container-type: inline-size; }
@media (min-width: 768px) {
  .stat-copy { width: calc(var(--l-col) * 16); }
  .stat-title { font-size: 60px; line-height: 66px; }
}
@media (min-width: 1024px) {
  .stat { padding: 80px 32px; }
  .stat-copy { width: calc((100vw - 192px) * 16 / 22); }
  .stat-title { font-size: 68px; line-height: 74.8px; }
  .stat-lede { letter-spacing: -1.2px; }
  .stat-frame { margin-top: 80px; }
  .stat-media { width: 100%; margin-left: 0; }
}
@media (min-width: 1280px) {
  .stat-copy { width: calc((100vw - 192px) * 14 / 22); }
  .stat-frame { max-width: 1248px; margin: 80px auto 0; width: calc(100% - 128px); }
}
@media (min-width: 1440px) { .stat-copy { width: 794.18px; } }

/* ---------------------------------------------------------------- phones: the app, drawn in HTML */
.fan { position: absolute; inset: 0; }
.fan:focus-visible { outline-offset: -2px; }
.phone {
  position: absolute;
  aspect-ratio: 9 / 19.5;
  padding: 0.42em;
  border-radius: var(--l-radius-phone);
  background: var(--l-dark);
  box-shadow: 0 1.6em 3.2em -1.2em var(--l-phone-shadow);
}
.phone-c { left: 38.57%; top: 2%; height: 96%; z-index: 3; font-size: 1.09cqw; }
.phone-s1 { left: 19.5%; top: 8%; height: 84%; z-index: 2; font-size: 0.952cqw; }
.phone-s2 { left: 60.5%; top: 8%; height: 84%; z-index: 2; font-size: 0.952cqw; }
.phone-o1 { left: 3.43%; top: 14%; height: 72%; z-index: 1; font-size: 0.815cqw; }
.phone-o2 { left: 79.43%; top: 14%; height: 72%; z-index: 1; font-size: 0.815cqw; }
/* Below 768 the fan would shrink past reading: the phones become a swipe row at a legible size, This week first */
@media (max-width: 767.98px) {
  .stat-media { width: auto; margin-left: 0; aspect-ratio: auto; }
  .fan { position: static; display: flex; gap: 16px; padding: 8px var(--l-g) 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--l-g); scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .fan .phone { position: relative; left: auto; top: auto; flex: none; width: 236px; height: auto; font-size: 11.3px; scroll-snap-align: start; }
  .fan .phone-c { order: -1; }
}
.screen { position: relative; height: 100%; padding: 0.9em 1.1em; border-radius: var(--l-radius-screen); overflow: hidden; }
/* The app in the phones, at phone scale (1 em ≈ the app's 13 px meta) */
.app-ui { background: var(--l-app-desk); color: var(--l-app-ink); font-family: var(--l-font-sans); font-size: 1em; line-height: 1.4; font-weight: 400; text-align: left; }
.app-ui p { margin: 0; }
.ui-status { display: flex; justify-content: space-between; align-items: center; padding: 0.2em 0.6em 0.9em; font-size: 0.9em; font-weight: 500; }
.ui-status i { display: block; width: 2.2em; height: 0.9em; border-radius: var(--l-radius-xs); border: 0.12em solid var(--l-app-ink); }
.ui-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 0.7em 0.4em 1.5em; background: var(--l-app-card); box-shadow: 0 -1px 0 var(--l-app-border); font-size: 0.7em; color: var(--l-app-muted); }
.ui-tabs span { display: flex; flex-direction: column; align-items: center; gap: 0.25em; }
.ui-tabs .ic { width: 1.9em; height: 1.9em; }
.ui-tabs .is-on { color: var(--l-cta); font-weight: 500; --ic-tint: var(--l-app-brand-tint); }
/* every screen says it is a sample */
.ui-sample { position: absolute; top: 4.2em; right: 1.1em; z-index: 1; padding: 0.15em 0.65em; border-radius: var(--l-radius-full); background: var(--l-app-desk-2); color: var(--l-app-muted); font-size: 0.68em; font-weight: 500; letter-spacing: 0.04em; }
.ui-title { margin-top: 0.15em; padding-right: 3.6em; font-family: var(--l-font-serif); font-weight: 400; font-size: 2.2em; line-height: 1.1; letter-spacing: -0.01em; }
.ui-title .ui-k { display: block; margin-top: 0.25em; font-family: var(--l-font-sans); font-size: 0.36em; letter-spacing: 0; }
.ui-caps { margin-top: 1.1em; font-size: 0.72em; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--l-app-muted); }
.ui-k { font-size: 0.82em; color: var(--l-app-muted); }
.ui-ct { font-weight: 500; }
.ui-h { margin-top: 0.5em; font-family: var(--l-font-serif); font-size: 1.6em; line-height: 1.1; letter-spacing: -0.01em; }
.ui-card { margin-top: 0.7em; padding: 0.9em 1em; border-radius: var(--l-radius-md); background: var(--l-app-card); box-shadow: 0 0 0 1px var(--l-app-shadow-edge), 0 0.08em 0.15em var(--l-app-shadow-1), 0 0.3em 0.9em var(--l-app-shadow-1); }
.ui-btn { display: inline-block; margin-top: 0.8em; padding: 0.6em 1.2em; border-radius: var(--l-radius-full); background: var(--l-cta); color: var(--l-white); font-weight: 500; font-size: 0.88em; }
.ui-bridge { margin-top: 0.6em; font-size: 0.85em; line-height: 1.4; color: var(--l-app-ink-2); }
.ui-small { margin-top: 0.3em; font-size: 0.82em; line-height: 1.4; color: var(--l-app-ink-2); }
.ui-acts { display: flex; align-items: center; gap: 0.9em; }
.ui-lnk { margin-top: 0.8em; font-size: 0.82em; font-weight: 500; color: var(--l-cta); }
.ui-foot { margin-top: 1em; font-size: 0.78em; color: var(--l-app-muted); text-align: center; }
.ui-chev { flex: none; width: 0.48em; height: 0.48em; margin: 0 0.25em 0 0.4em; border: solid var(--l-app-ink-4); border-width: 0.13em 0.13em 0 0; transform: rotate(45deg); }
/* This week: a few people, each with the trust mark, then the open interest, then a clear end */
.ui-people { display: flex; flex-direction: column; gap: 0.55em; margin-top: 1em; }
.ui-people + .ui-caps { margin-top: 1.8em; }
.ui-person, .ui-open { display: flex; align-items: center; gap: 0.7em; padding: 0.75em 0.8em; }
.ui-person { margin-top: 0; }
.ui-person .av { --av: 2.5em; }
.ui-open .av { --av: 2.2em; }
.ui-pt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.ui-pt b { overflow: hidden; font-weight: 500; font-size: 0.9em; white-space: nowrap; text-overflow: ellipsis; }
.ui-trust { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.76em; color: var(--l-app-ink-2); }
.ui-trust::before { content: ''; flex: none; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--l-cta); }
.ui-open .ui-lnk { margin-top: 0; font-size: 0.78em; }
/* Waiting for your elders: the steps on a thread, done, here, to come */
.ui-steps { display: flex; flex-direction: column; margin-top: 0.9em; }
.ui-steps li { display: flex; align-items: center; gap: 0.7em; padding: 0.42em 0; font-size: 0.86em; color: var(--l-app-muted); }
.ui-steps b { font-weight: 500; color: var(--l-app-ink); }
.ui-steps li > i { position: relative; flex: none; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--l-app-card); box-shadow: inset 0 0 0 0.13em var(--l-app-border-strong); }
.ui-steps li:not(:last-child) > i::after { content: ''; position: absolute; left: 50%; top: 100%; width: 0.13em; height: 0.95em; margin-left: -0.065em; background: var(--l-app-border-strong); }
.ui-steps .is-done > i { background: var(--l-cta); box-shadow: none; }
.ui-steps .is-done > i::before { content: ''; position: absolute; left: 0.42em; top: 0.24em; width: 0.32em; height: 0.56em; border: solid var(--l-white); border-width: 0 0.13em 0.13em 0; transform: rotate(45deg); }
.ui-steps .is-done:not(:last-child) > i::after { background: var(--l-cta); }
.ui-steps .is-here > i { box-shadow: inset 0 0 0 0.13em var(--l-cta); }
.ui-steps .is-here > i::before { content: ''; position: absolute; inset: 0.36em; border-radius: 50%; background: var(--l-cta); }
.ui-list { margin-top: 0.5em; border-radius: var(--l-radius-md); background: var(--l-app-card); box-shadow: 0 0 0 1px var(--l-app-shadow-edge), 0 0.08em 0.15em var(--l-app-shadow-1); }
.ui-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 0.72em 0.85em; font-size: 0.86em; }
.ui-list li + li { box-shadow: 0 -1px 0 var(--l-app-border); }
.ui-rows { margin-top: 0.9em; }
.ui-rows li { padding: 0.62em 0.85em; }
.ui-rows li > span { display: flex; flex-direction: column; line-height: 1.3; }
.ui-rows b { font-weight: 500; }
/* A profile: the photograph is a sample's initial (one of three), then the trust mark and her or his words */
.ui-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.02; border-radius: var(--l-radius-md); background: linear-gradient(160deg, var(--l-mat-slate-hi), var(--l-mat-slate) 75%); box-shadow: inset 0 0 0 1px var(--l-mat-slate-45); color: var(--l-mat-slate-deep); }
.ui-photo b { font-family: var(--l-font-serif); font-weight: 400; font-size: 6em; line-height: 1; }
.ui-dots { position: absolute; left: 0; right: 0; top: 0.65em; display: flex; justify-content: center; gap: 0.3em; }
.ui-dots i { width: 1.7em; height: 0.24em; border-radius: var(--l-radius-full); background: var(--l-app-card); opacity: 0.5; }
.ui-dots .is-on { opacity: 1; }
.ui-photo .ui-sample { top: auto; bottom: 0.7em; right: 0.7em; background: var(--l-app-card); }
/* An introduction: the panel, the safety prompt before the first message, the thread, the field */
.ui-panel { background: var(--l-app-card); }
.ui-navhead { display: flex; align-items: center; gap: 0.7em; padding-bottom: 0.8em; box-shadow: 0 1px 0 var(--l-app-border); }
.ui-navhead .av { --av: 2.6em; }
.ui-navhead div { flex: 1; min-width: 0; }
.ui-navhead .ui-sample { position: static; }
.ui-navname { font-weight: 500; }
.ui-safety { margin-top: 0.9em; padding: 0.8em 0.9em; border-radius: var(--l-radius-md); background: var(--l-app-brand-tint); font-size: 0.86em; line-height: 1.4; }
.ui-safety p + p { margin-top: 0.25em; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 0.4em; margin-top: 0.7em; }
.ui-chip { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.4em 0.9em; border-radius: var(--l-radius-full); font-size: 0.92em; background: var(--l-app-card); box-shadow: inset 0 0 0 1px var(--l-app-border-strong); color: var(--l-app-ink); }
.ui-chip.is-on { background: var(--l-cta); box-shadow: none; color: var(--l-white); font-weight: 500; }
.ui-chat { display: flex; flex-direction: column; gap: 0.6em; margin-top: 1em; }
.ui-msg { max-width: 86%; padding: 0.55em 0.85em; border-radius: var(--l-radius-lg) var(--l-radius-lg) var(--l-radius-lg) var(--l-radius-xs); background: var(--l-app-desk-2); font-size: 0.88em; line-height: 1.4; }
.ui-msg-me { align-self: flex-end; border-radius: var(--l-radius-lg) var(--l-radius-lg) var(--l-radius-xs) var(--l-radius-lg); background: var(--l-cta); color: var(--l-white); }
.ui-ask { position: absolute; left: 1.1em; right: 1.1em; bottom: 5.4em; display: flex; align-items: center; justify-content: space-between; padding: 0.35em 0.35em 0.35em 1.1em; border-radius: var(--l-radius-full); background: var(--l-app-card); box-shadow: inset 0 0 0 1px var(--l-app-ink-4); font-size: 0.85em; color: var(--l-app-muted); }
.ui-ask i { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--l-app-border-strong); color: var(--l-app-ink); }

/* The founders' letter, set like a page on the evening band (index.astro #letter) */
.fl {
  position: relative;
  width: min(100%, 560px);
  padding: 28px 24px 26px;
  border-radius: var(--l-radius-xs);
  background: var(--l-app-card);
  color: var(--l-app-ink);
  box-shadow: 0 0 0 1px var(--l-app-shadow-edge), 0 40px 80px -36px var(--l-phone-shadow);
  transform: rotate(-1.2deg);
  font-family: var(--l-font-serif);
  font-size: 18px;
  line-height: 1.45;
}
.fl p + p { margin-top: 0.7em; }
.fl-head { display: flex; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--l-app-border); color: var(--l-cta); }
.fl-mark { display: block; width: 132px; height: auto; }
.fl-dear { font-size: 1.12em; }
.fl .fl-sign { margin-top: 1.1em; }
.fl-sign span { display: block; font-style: italic; }
.fl-lord { font-size: 0.8em; letter-spacing: 0.06em; }
.fl-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--l-font-sans); font-size: 15px; line-height: 22px; font-weight: var(--l-bold); color: var(--l-cta); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fl-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--l-base) var(--l-ease); }
.fl-link:hover svg { transform: translateX(3px); }
@media (min-width: 768px) { .fl { padding: 40px 44px 34px; font-size: 19px; } }

/* ---------------------------------------------------------------- new sections, built from the feature's anatomy and tokens */
.pc-title, .std-title, .paths-title { align-self: stretch; margin-top: 24px; font-family: var(--l-font-serif); font-weight: 400; font-size: 40px; line-height: 44px; text-wrap: balance; }
.pc-text, .std-text { align-self: stretch; margin-top: 16px; font-size: 20px; line-height: 30px; }
@media (min-width: 768px) {
  .pc-title, .std-title, .paths-title { margin-top: 32px; font-size: 56px; line-height: 61.6px; }
}

/* Your profile, close up: the copy, four paper pages fanned (what others see, what is never shown, what the elders and
 * counselors see), then three privacy promises, each a small drawing that plays once. */
.pc { padding: 40px 0; }
.pc-grid { display: grid; grid-template-columns: 100%; row-gap: 40px; margin: 0 var(--l-g); }
.pc-copy { display: flex; flex-direction: column; align-items: flex-start; }
.pc-copy .pill { margin-top: 24px; }
.pc-stage { padding: 6% 4% 5% 3%; border-radius: var(--l-radius-glass); background: var(--l-paper-2); }
.pc-fan { position: relative; aspect-ratio: 100 / 134; container-type: inline-size; }
.sheet {
  --s: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: calc(10 - var(--s));
  width: 68cqw;
  aspect-ratio: 816 / 1056;
  overflow: hidden;
  border-radius: var(--l-radius-xs);
  background: var(--l-app-card);
  box-shadow: 0 0 0 1px var(--l-app-shadow-edge), 0 1.6cqw 4cqw -1.6cqw var(--l-phone-shadow);
  container-type: inline-size;
  transform: translate(calc(var(--s) * 10cqw), calc((3 - var(--s)) * 15cqw)) rotate(calc(var(--s) * 1.6deg - 2deg));
  transition: transform var(--l-base) var(--l-ease);
}
.sheet[data-page="never"] { --s: 1; }
.sheet[data-page="elders"] { --s: 2; }
.sheet[data-page="counselors"] { --s: 3; }
.sheet-btn { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0; border: 0; border-radius: var(--l-radius-xs); background: none; cursor: pointer; transition: box-shadow var(--l-fast) var(--l-ease); }
.sheet-btn:hover { box-shadow: inset 0 0 0 1px var(--l-ring); }
.sheet-btn:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 4px; }
/* a page: its type in em of the page's width, so it scales with the fan like paper */
.sh { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 7cqw 7.5cqw; font-size: 2.85cqw; line-height: 1.42; color: var(--l-app-ink-2); text-align: left; }
.sh p + p { margin-top: 0.4em; }
.sh i { font-style: italic; }
.sh-head { display: flex; align-items: center; gap: 0.8em; }
.sh-head .av { --av: 3.4em; }
.sh-name { font-family: var(--l-font-serif); font-size: 1.8em; line-height: 1.1; color: var(--l-app-ink); }
.sh .sh-meta { margin-top: 0.15em; color: var(--l-app-muted); }
.sh .sh-caps { margin-top: 0.95em; font-size: 0.78em; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--l-cta); }
.sh .sh-rule { margin-top: 0.9em; padding-top: 0.9em; border-top: 1px solid var(--l-app-border); }
.sh .sh-small { margin-top: 0.9em; font-size: 0.85em; color: var(--l-app-muted); }
.sh-acts { display: flex; align-items: center; gap: 1em; margin-top: 0.6em; color: var(--l-app-muted); }
.sh-btn { padding: 0.4em 1.1em; border-radius: var(--l-radius-full); background: var(--l-cta); color: var(--l-white); font-weight: 500; }
.sh-k { display: flex; align-items: center; gap: 0.45em; margin-bottom: 0.7em; padding-bottom: 0.7em; border-bottom: 1px solid var(--l-app-border); font-family: var(--l-font-serif); font-size: 1.7em; line-height: 1.1; color: var(--l-app-ink); }
.sh-mark { flex: none; width: 0.8em; height: 0.8em; color: var(--l-cta); }
.sh .sh-q { margin: 0.6em 0; padding: 0.8em 1em; border-radius: var(--l-radius-sm); background: var(--l-app-brand-tint); font-family: var(--l-font-serif); font-size: 1.15em; line-height: 1.3; color: var(--l-app-ink); }
.sh-never li { padding: 0.75em 0; border-bottom: 1px solid var(--l-app-border); font-size: 1.12em; color: var(--l-app-ink-2); }
.sh-never span { position: relative; }
/* struck through lightly, line by line, once the stage is in view */
.sh-never span::after { content: ''; position: absolute; left: -0.15em; right: -0.15em; top: 56%; height: 0.08em; border-radius: var(--l-radius-full); background: var(--l-mat-clay-deep); opacity: 0.7; transform-origin: left center; }
.reveal-on .pc-stage.is-in .sh-never span::after { transition: transform var(--l-slow) var(--l-ease-out) calc(500ms + var(--i) * 140ms); }
.reveal-on .pc-stage:not(.is-in) .sh-never span::after { transform: scaleX(0); }
.pc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin-top: 16px; }
.pc-tab { padding: 4px 6px; border: 0; background: none; font-size: 14px; line-height: 20px; color: var(--l-ink); cursor: pointer; text-decoration: underline transparent; text-underline-offset: 6px; transition: text-decoration-color var(--l-base) var(--l-ease); }
.pc-tab:hover { text-decoration-color: var(--l-ink-muted); }
.pc-tab[aria-pressed="true"] { color: var(--l-ink-strong); font-weight: var(--l-bold); text-decoration-color: var(--l-ink-strong); }
@media (min-width: 768px) {
  .pc-fan { aspect-ratio: 100 / 110; }
  .sheet { width: 60cqw; transform: translate(calc(var(--s) * 13cqw), calc((3 - var(--s)) * 10.6cqw)) rotate(calc(var(--s) * 1.8deg - 2.5deg)); }
  .pc-tab { font-size: 16px; line-height: 24px; }
}
@media (min-width: 1024px) {
  .pc { padding: 80px 0; }
  .pc-grid { grid-template-columns: calc(var(--l-col) * 7) 1fr; column-gap: var(--l-col); align-items: center; }
}

/* Three privacy promises */
.pc-channels { display: flex; gap: 16px; margin: 32px 0 0; padding: 0 var(--l-g); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--l-g); scrollbar-width: none; }
.pc-channels::-webkit-scrollbar { display: none; }
.ch { flex: none; width: 78%; scroll-snap-align: start; }
.ch-stage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: var(--l-radius-lg); background: var(--l-paper-2); container-type: inline-size; overflow: hidden; }
.ch-cap { margin-top: 12px; font-size: 16px; line-height: 24px; font-weight: var(--l-bold); text-align: center; }
@media (min-width: 768px) {
  .pc-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px var(--l-g) 0; padding: 0; overflow: visible; }
  .ch { width: auto; }
}
/* Each drawing rests in its final state; under motion it starts from the beginning and plays once its card is revealed
 * (the transitions apply only on the way in, so the start state is set instantly).
 * 1 · Private until mutual: two letters, one sealed and one still waiting; the second arrives, then both open together. */
.ch-mutual { gap: 7cqw; }
.env { position: relative; width: 33cqw; aspect-ratio: 3 / 2; margin-top: 8cqw; perspective: 80cqw; }
.env-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--l-radius-xs);
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), var(--l-app-border-strong) 50%, transparent calc(50% + 0.5px)) left bottom / 50% 62% no-repeat,
    linear-gradient(to top left, transparent calc(50% - 0.5px), var(--l-app-border-strong) 50%, transparent calc(50% + 0.5px)) right bottom / 50% 62% no-repeat,
    var(--l-app-card);
  box-shadow: 0 0 0 1px var(--l-app-shadow-edge), 0 2cqw 4cqw -2cqw var(--l-phone-shadow);
}
.env-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 0;
  height: 62%;
  background: var(--l-mat-clay);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0;
  transform: rotateX(180deg);
}
.env-flap::after { content: ''; position: absolute; left: 50%; bottom: 8%; width: 3.2cqw; height: 3.2cqw; margin-left: -1.6cqw; border-radius: 50%; background: var(--l-mat-clay-deep); opacity: 0; }
.env-note {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 6%;
  z-index: 1;
  height: 86%;
  border-radius: 2px;
  background: linear-gradient(var(--l-app-border) 0 0) 18% 26% / 64% 0.6cqw no-repeat, linear-gradient(var(--l-app-border) 0 0) 18% 44% / 50% 0.6cqw no-repeat, var(--l-app-card);
  box-shadow: 0 0 0 1px var(--l-app-shadow-edge);
  transform: translateY(-46%);
}
.reveal-on .ch.is-in .env-b { transition: opacity var(--l-glass-t) var(--l-ease-out) 250ms, transform var(--l-glass-t) var(--l-ease-out) 250ms; }
.reveal-on .ch.is-in .env-flap { transition: transform var(--l-slow) var(--l-ease-in-out) 950ms, z-index 0s linear 1200ms; }
.reveal-on .ch.is-in .env-flap::after { transition: opacity var(--l-label) var(--l-ease) 850ms; }
.reveal-on .ch.is-in .env-note { transition: transform var(--l-slow) var(--l-ease-out) 1350ms; }
.reveal-on .ch:not(.is-in) .env-b { opacity: 0.35; transform: translateY(2cqw); }
.reveal-on .ch:not(.is-in) .env-flap { z-index: 3; transform: none; }
.reveal-on .ch:not(.is-in) .env-a .env-flap::after { opacity: 1; }
.reveal-on .ch:not(.is-in) .env-note { transform: none; }
/* 2 · Location stripped: a photograph whose map pin lifts away */
.lp { position: relative; width: 52cqw; aspect-ratio: 4 / 3.1; overflow: hidden; border-radius: var(--l-radius-sm); background: linear-gradient(to bottom, var(--l-mat-slate-hi), var(--l-mat-slate)); box-shadow: 0 0 0 1.4cqw var(--l-app-card), 0 3cqw 6cqw -2cqw var(--l-phone-shadow); transform: rotate(-3deg); }
.lp-sun { position: absolute; right: 18%; top: 16%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: var(--l-mat-clay); }
.lp-hill { position: absolute; left: -25%; right: 15%; bottom: -62%; height: 110%; border-radius: 50%; background: var(--l-mat-sage); }
.lp-hill-2 { left: 35%; right: -35%; bottom: -74%; background: var(--l-mat-teal); }
.lp-pin { position: absolute; left: 50%; top: 13%; width: 10cqw; margin-left: 3cqw; color: var(--l-mat-clay-deep); opacity: 0; }
.lp-pin svg { display: block; width: 100%; fill: var(--l-mat-clay); stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.reveal-on .ch.is-in .lp-pin { animation: pin-away 1900ms var(--l-ease) 300ms both; }
@keyframes pin-away {
  0% { opacity: 0; transform: translateY(-4cqw); }
  18% { opacity: 1; transform: none; }
  62% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-3cqw) scale(0.8); }
}
/* 3 · No contact details: a profile card whose phone and email lines stay blank */
.nc { display: flex; flex-direction: column; gap: 2.6cqw; width: 66cqw; padding: 5cqw; border-radius: var(--l-radius-md); background: var(--l-app-card); box-shadow: 0 0 0 1px var(--l-app-shadow-edge), 0 3cqw 6cqw -3cqw var(--l-phone-shadow); font-size: 3.6cqw; line-height: 1.3; color: var(--l-app-ink); }
.nc-top { display: flex; align-items: center; gap: 0.7em; margin-bottom: 0.2em; }
.nc .av { --av: 2.8em; }
.nc-name b { display: block; font-family: var(--l-font-serif); font-weight: 400; font-size: 1.45em; line-height: 1.1; }
.nc-name i { font-style: normal; font-size: 0.88em; color: var(--l-app-muted); }
.nc-row { display: flex; align-items: center; gap: 0.5em; padding-top: 2.4cqw; border-top: 1px solid var(--l-app-border); color: var(--l-app-muted); }
.nc-row .ic { width: 1.25em; height: 1.25em; }
.nc-row span { width: 3.4em; }
.nc-row > i { position: relative; flex: 1; height: 1.1em; background: repeating-linear-gradient(90deg, var(--l-app-border-strong) 0 0.45em, transparent 0.45em 0.8em) left bottom / 100% 1px no-repeat; }
/* a caret waits in each empty line, blinks twice, and goes */
.nc-row > i::after { content: ''; position: absolute; left: 0.1em; top: 0.05em; bottom: 0.15em; width: 0.08em; background: var(--l-cta); opacity: 0; }
.reveal-on .ch.is-in .nc-row > i::after { animation: caret 1100ms steps(1) 700ms 2; }
.reveal-on .ch.is-in .nc-row + .nc-row > i::after { animation-delay: 900ms; }
@keyframes caret { 0%, 100% { opacity: 0; } 25%, 75% { opacity: 1; } 50% { opacity: 0; } }

/* Our standard: five promises, and the letter of commendation as it leads every profile */
.std { padding: 40px 0; }
.std-grid { display: grid; grid-template-columns: 100%; row-gap: 48px; margin: 0 var(--l-g); }
.std-copy { display: flex; flex-direction: column; align-items: flex-start; }
.std-list { align-self: stretch; margin-top: 32px; border-top: 1px solid var(--l-hairline); counter-reset: none; }
.std-list li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--l-hairline); font-size: 18px; line-height: 26px; color: var(--l-ink-strong); }
.std-n { flex: none; width: 24px; font-family: var(--l-font-serif); font-size: 30px; line-height: 28px; color: var(--l-ink); }
.std-fig { position: relative; display: flex; flex-direction: column; align-items: center; }
.vf { position: relative; width: 100%; max-width: 460px; border-radius: var(--l-radius-lg); background: var(--l-app-card); box-shadow: 0 30px 60px -30px var(--l-phone-shadow); color: var(--l-app-ink); }
.vf-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--l-app-border); }
.vf-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--l-app-border); }
.vf-bar span { flex: 1; margin-left: 10px; padding: 3px 12px; border-radius: var(--l-radius-full); background: var(--l-app-desk); font-size: 13px; line-height: 18px; color: var(--l-app-muted); text-align: center; }
.vf-body { padding: 28px 28px 32px; }
.vf-top { display: flex; align-items: center; gap: 18px; font-size: 16px; }
.vf-av { --av: 72px; }
.vf-clinic { font-size: 14px; line-height: 20px; color: var(--l-app-muted); }
.vf-badge { margin-top: 2px; font-family: var(--l-font-serif); font-size: 32px; line-height: 34px; letter-spacing: -0.01em; }
.vf-date { margin-top: 4px; font-size: 14px; line-height: 20px; font-weight: var(--l-bold); color: var(--l-app-success); }
.vf-text { margin-top: 22px; font-size: 17px; line-height: 26px; color: var(--l-app-ink); }
.vf-src { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--l-app-border); font-family: var(--l-font-serif); font-size: 18px; line-height: 26px; color: var(--l-app-ink-2); }
.vf-src-k { display: block; margin-bottom: 6px; font-family: var(--l-font-sans); font-size: 12px; line-height: 16px; font-weight: var(--l-bold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--l-app-muted); }
/* the folded-letter mark, tucked at the card's corner; it settles in when the figure appears */
.vf-scan { position: absolute; right: -10px; bottom: -22px; display: block; width: 76px; height: 76px; padding: 14px; border-radius: var(--l-radius-sm); background: var(--l-app-card); box-shadow: 0 12px 30px -12px var(--l-phone-shadow), 0 0 0 1px var(--l-app-shadow-edge); color: var(--l-cta); --ic-tint: var(--l-app-brand-tint); transform: rotate(6deg); }
.vf-scan .ic { width: 100%; height: 100%; }
.reveal-on .std-fig.is-in .vf-scan { transition: transform var(--l-slow) var(--l-ease-out) 450ms, opacity var(--l-slow) var(--l-ease-out) 450ms; }
.reveal-on .std-fig:not(.is-in) .vf-scan { opacity: 0; transform: translateY(12px) rotate(16deg); }
.std-cap { margin-top: 40px; font-size: 16px; line-height: 24px; text-align: center; text-wrap: balance; }
@media (min-width: 1024px) {
  .std { padding: 80px 0; }
  .std-grid { grid-template-columns: 1fr calc(var(--l-col) * 9); column-gap: var(--l-col); align-items: center; }
  .std-list li { font-size: 20px; line-height: 28px; padding: 18px 0; }
}

/* How it works, closed by the organizations' reason (one standard, less variation; 5 Nov review, item 11) */
.how-org { display: flex; flex-direction: column; align-items: flex-start; margin: 40px var(--l-g) 0; padding: 24px; border-radius: var(--l-radius-sm); background: var(--l-app-brand-tint); color: var(--l-ink-strong); }
.how-org-k { font-size: 14px; line-height: 21px; font-weight: var(--l-bold); text-transform: uppercase; letter-spacing: 1.12px; }
.how-org-t { margin-top: 12px; font-family: var(--l-font-serif); font-size: 26px; line-height: 30px; text-wrap: balance; }
.how-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.how-link { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--l-bold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.how-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--l-base) var(--l-ease); }
.how-link:hover svg { transform: translateX(3px); }
@media (min-width: 768px) {
  .how-title { margin-top: 32px; font-size: 56px; line-height: 61.6px; }
  .how-text { max-width: calc(var(--l-col) * 16); }
  .how-org { padding: 32px; }
  .how-org-t { font-size: 30px; line-height: 36px; max-width: calc(var(--l-col) * 16); }
}
@media (min-width: 1024px) {
  .how-org { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 32px; }
  .how-org-k { flex-basis: 100%; }
  .how-org-t { flex: 1; }
}

/* Questions: pairs on hairlines; from 768 the heading takes the first cell of a two-column grid */
.qa { padding: 40px 0; }
.qa-grid { display: grid; grid-template-columns: 100%; column-gap: 30px; margin: 0 var(--l-g); }
.qa-head { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 32px; }
.qa-title { align-self: stretch; margin-top: 24px; font-family: var(--l-font-serif); font-weight: 400; font-size: 40px; line-height: 44px; }
.qa-note { align-self: stretch; max-width: 40em; margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--l-ink-muted); }
.qa-item { padding: 24px 0; border-top: 1px solid var(--l-hairline); }
.qa-item h3 { font-family: var(--l-font-serif); font-weight: 400; font-size: 26px; line-height: 30px; color: var(--l-ink-strong); }
.qa-item p { margin-top: 10px; font-size: 18px; line-height: 27px; }
.qa-item a { text-underline-offset: 3px; }
@media (min-width: 768px) {
  .qa-grid { grid-template-columns: 1fr 1fr; }
  .qa-head { grid-column: 1 / -1; max-width: calc(var(--l-col) * 16); padding-bottom: 40px; }
  .qa-title { margin-top: 32px; font-size: 56px; line-height: 61.6px; }
  .qa-item { padding: 32px 0 40px; }
}
@media (min-width: 1024px) {
  .qa { padding: 80px 0; }
  .qa-grid { column-gap: var(--l-col); }
  .qa-item h3 { font-size: 30px; line-height: 36px; }
  .qa-item p { max-width: 34em; font-size: 20px; line-height: 30px; }
}

/* ---------------------------------------------------------------- stories */
.stories { padding: 40px 0; }
.stories-row { display: flex; flex-direction: column; gap: 24px; margin: 0 var(--l-g); }
.story { display: flex; flex-direction: column; padding: 24px; border-radius: var(--l-radius-sm); background: var(--l-paper-2); }
.story-tagwrap { padding-bottom: 24px; }
.story-tag {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--l-radius-tag);
  background: var(--l-chip-dark);
  color: var(--l-paper);
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--l-bold);
  text-transform: uppercase;
}
.story-tag span { display: block; line-height: 18px; }
.story-quote { padding-bottom: 24px; font-family: var(--l-font-serif); font-weight: 400; font-style: italic; font-size: 18px; line-height: 22.5px; color: var(--l-ink-strong); }
.story-person { display: flex; align-items: center; margin-top: auto; }
.story-av { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--l-radius-full); background: var(--l-app-brand-tint); color: var(--l-cta); --ic-tint: var(--l-app-card); }
.story-av .ic { width: 18px; height: 18px; }
.story-label { padding-left: 16px; font-size: 13px; line-height: 18px; color: var(--l-ink); }
.story-name { padding-left: 16px; font-size: 16px; line-height: 24px; font-weight: var(--l-bold); }
@media (min-width: 768px) {
  .stories { padding: 80px 0; }
  .stories-row { flex-direction: row; gap: 30px; }
  .story { flex: 1 1 0; min-width: 0; padding: 28px; }
  .story-tagwrap { padding-bottom: 48px; }
  .story-quote { font-size: 24px; line-height: 30px; }
}
@media (min-width: 1024px) {
  .story { padding: 40px; }
  .story-av { width: 60px; height: 60px; }
  .story-av .ic { width: 30px; height: 30px; }
  .story-name { font-size: 20px; line-height: 30px; }
}

/* ---------------------------------------------------------------- the closing feature: the founders' letter */
.feature { padding: 40px 0; }
.feature-grid { display: grid; grid-template-columns: 100%; row-gap: 24px; margin-left: var(--l-g); }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 40px 0; margin-right: var(--l-g); }
.eyebrow { align-self: stretch; font-size: 16px; line-height: 24px; font-weight: var(--l-bold); text-transform: uppercase; letter-spacing: 1.28px; }
.feature-title { align-self: stretch; margin-top: 24px; font-family: var(--l-font-serif); font-weight: 400; font-size: 40px; line-height: 44px; }
.feature-text { align-self: stretch; margin-top: 4px; font-size: 20px; line-height: 30px; }
.feature-copy .pill { margin-top: 24px; }
.feature-media {
  grid-row: 1;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--l-radius-glass) 0 0 var(--l-radius-glass);
  overflow: hidden;
  background: var(--l-dark);
  container-type: size;
}
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: calc(var(--l-col) * 8) 1fr; column-gap: var(--l-col); align-items: stretch; }
  .feature-copy { margin-right: 0; }
  .feature-media { grid-row: auto; aspect-ratio: auto; }
  .eyebrow { letter-spacing: 1.6px; }
  .feature-title { margin-top: 32px; font-size: 56px; line-height: 61.6px; }
  .feature-copy .pill { margin-top: 32px; }
}
@media (min-width: 768px) and (max-width: 1023.98px) { .feature-title span { display: inline-block; max-width: 180px; } }
@media (min-width: 1024px) {
  .feature { padding: 80px 0; }
  .feature-title { margin-top: 40px; }
  .feature-copy .pill { margin-top: 40px; }
}
@media (min-width: 1280px) {
  .feature-grid { align-items: center; }
  .feature-media { aspect-ratio: 4 / 3; }
}
/* The dark evening band, used once on the landing: the letter is a page under lamplight */
.feature-night { background: var(--l-dark); color: var(--l-paper); }
.feature-night :focus-visible { outline-color: var(--l-paper); }
.feature-night .feature-media { container-type: normal; display: flex; align-items: center; justify-content: center; aspect-ratio: auto; padding: 40px 24px 48px; background: radial-gradient(90% 75% at 72% 18%, color-mix(in srgb, var(--l-mat-clay-deep) 30%, var(--l-dark-2)), var(--l-dark) 72%); }
@media (min-width: 768px) { .feature-night .feature-media { padding: 64px 48px; } }
@media (min-width: 1280px) { .feature-night .feature-media { padding: 72px 64px; } }

/* ---------------------------------------------------------------- the founding papers (dark band) */
.news { padding: 32px 0; background: var(--l-dark); color: var(--l-paper); }
.news-eyebrow { margin: 0 var(--l-g); font-size: 18px; line-height: 27px; font-weight: var(--l-bold); text-transform: uppercase; letter-spacing: 0.9px; }
.news-grid { margin-top: 40px; }
.news-feature { position: relative; height: 600px; margin: 0 var(--l-g); }
.news-frame { position: absolute; inset: 0; border-radius: var(--l-radius-sm); overflow: hidden; }
.news-img { position: absolute; top: 0; left: 0; width: 100%; height: 115%; max-width: none; object-fit: cover; will-change: transform; }
.news-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 66.67%; opacity: 0.4; background: linear-gradient(to bottom, transparent, var(--l-ink-strong)); }
.news-body { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; height: 100%; padding: 32px; }
.chip-light { padding: 8px 12px; border-radius: var(--l-radius-tag); background: var(--l-paper); color: var(--l-ink-strong); font-size: 12px; line-height: 16px; font-weight: var(--l-bold); text-transform: uppercase; }
.chip-light span { display: block; line-height: 18px; }
.news-bottom { align-self: stretch; }
.news-ftitle { font-size: 28px; line-height: 35px; letter-spacing: -1.4px; font-weight: var(--l-regular); }
.news-bottom .pill { margin-top: 32px; }
.news-list {
  display: flex;
  gap: 24px;
  margin: 24px 0 0 var(--l-g);
  padding-right: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.news-list::-webkit-scrollbar { display: none; }
.news-list > li { flex: none; width: 75vw; scroll-snap-align: start; }
.news-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 24px; border-radius: var(--l-radius-sm); overflow: hidden; background: var(--l-paper); color: var(--l-ink-strong); }
.news-title { margin-bottom: 144px; font-size: 24px; line-height: 30px; font-weight: var(--l-regular); }
.news-arrow {
  display: block;
  align-self: flex-end;
  width: 45px;
  height: 45px;
  padding: 16px;
  border-radius: var(--l-radius-full);
  background: var(--l-ink);
  color: var(--l-paper);
  transition-property: color, background-color, border-color, opacity, box-shadow, transform, filter;
  transition-duration: var(--l-fast);
  transition-timing-function: var(--l-ease);
}
.news-arrow:hover { background: var(--l-dark); }
.news-arrow svg { display: block; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.news-card .news-arrow:focus-visible { outline-color: var(--l-ink); }
.news-pager { display: flex; align-items: center; justify-content: space-between; height: 25px; margin: 16px var(--l-g); }
.pager-count { font-size: 16px; line-height: 24px; }
.pager-dots { display: flex; gap: 8px; }
.pager-dot { display: inline-block; width: 24px; height: 24px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.pager-dot span { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--l-paper-40); }
.pager-dot.is-on span { background: var(--l-paper); }
@media (min-width: 768px) {
  .news-grid { display: grid; grid-template-columns: calc(var(--l-col) * 13) calc(var(--l-col) * 8); column-gap: var(--l-col); align-items: stretch; margin: 40px var(--l-g) 0; }
  .news-feature { height: auto; margin: 0; }
  .news-ftitle { font-size: 32px; line-height: 40px; letter-spacing: -1.6px; }
  .news-list { flex-direction: column; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .news-list > li { width: auto; }
  .news-card { height: auto; }
  .news-title { margin-bottom: 48px; }
  .news-pager { display: none; }
}
@media (min-width: 1024px) {
  .news { padding: 64px 0; }
  .news-ftitle { font-size: 40px; line-height: 50px; letter-spacing: -2px; }
}
@media (min-width: 1280px) { .news-bottom { padding-right: 200px; } }

/* ---------------------------------------------------------------- notes */
.notes { padding: 64px 0 32px; background: var(--l-dark); color: var(--l-paper); }
.notes-rule { display: flex; flex-direction: column; gap: 24px; margin: 0 var(--l-g); padding: 24px 0 20px; border-top: 1px solid var(--l-hairline-dark); }
.notes-list { display: flex; flex-direction: column; gap: 4px; }
.notes-list li { font-size: 14px; line-height: 21px; }
.notes-list li { margin-bottom: 4px; }
.notes-list sup { font-size: 10px; line-height: 0; }

/* ---------------------------------------------------------------- footer */
.footer { position: relative; z-index: 1; margin-top: -48px; padding-top: 48px; color: var(--l-paper); isolation: isolate; }
.footer-shape { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.footer-shape::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--l-radius-footer) var(--l-radius-footer) 0 0;
  background: radial-gradient(120% 120% at 10% 20%, var(--l-dark-2), var(--l-dark));
}
.footer-in { padding: 64px var(--l-g); }
.footer-top { display: flex; flex-direction: column; gap: 40px; }
.footer-logo { display: block; width: 200px; color: var(--l-paper); }
.footer-mark { display: block; width: 100%; height: auto; }
.footer-main { display: flex; flex-direction: column-reverse; gap: 48px; margin-top: 40px; }
.signup { display: grid; grid-template-columns: 100%; row-gap: 24px; column-gap: 40px; align-content: start; }
.signup-title { font-family: var(--l-font-serif); font-weight: 400; font-size: 28px; line-height: 35px; letter-spacing: -0.7px; color: var(--l-ink-soft); }
.signup-form { position: relative; height: 64px; }
.signup-label {
  position: absolute;
  left: 20px;
  top: 32px;
  z-index: 1;
  width: calc(100% - 68px);
  overflow: hidden;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  color: var(--l-ink-label);
  pointer-events: none;
  transform-origin: left top;
  transition: all var(--l-label) var(--l-ease-label);
}
.signup-input {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 40px;
  padding: 8px 48px 8px 20px;
  border: 0;
  border-radius: var(--l-radius-md);
  background: var(--l-ink);
  color: var(--l-paper);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.4px;
  box-shadow: inset 0 1px 0 0 var(--l-white-06);
  transition-property: color, background-color, border-color, opacity, box-shadow, transform, filter;
  transition-duration: var(--l-fast);
  transition-timing-function: var(--l-ease);
}
.signup-input:focus { outline: none; }
.signup-input:focus-visible { outline: 2px solid var(--l-white-50); outline-offset: 0; }
.signup-input:focus + .signup-submit, .signup-form:focus-within .signup-label, .signup-input:not(:placeholder-shown) ~ .signup-label { color: var(--l-paper); }
.signup-form:focus-within .signup-label, .signup-form.has-value .signup-label { transform: translateY(-32px) scale(0.75); }
.signup-submit {
  position: absolute;
  right: 8px;
  top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--l-radius-sm);
  background: transparent;
  color: var(--l-white-60);
  cursor: pointer;
  transition-property: color, background-color, border-color, opacity, box-shadow, transform, filter;
  transition-duration: var(--l-fast);
  transition-timing-function: var(--l-ease);
}
.signup-submit:hover { color: var(--l-white); }
.signup-submit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.signup-done { position: absolute; left: 0; top: 0; font-size: 14px; line-height: 21px; color: var(--l-paper); }
.signup-done:empty { display: none; }
.signup-form.is-done .signup-label, .signup-form.is-done .signup-input, .signup-form.is-done .signup-submit { visibility: hidden; }
.signup-privacy { display: none; font-size: 12px; line-height: 18px; color: var(--l-ink-soft); }
.signup-privacy a { text-underline-offset: 3px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 32px; align-content: start; min-height: 568px; }
.footer-col h2 { margin-bottom: 8px; font-size: 16px; line-height: 24px; font-weight: var(--l-bold); color: var(--l-ink-soft); }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li { font-size: 16px; line-height: 24px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-rule { height: 1px; margin-top: 40px; background: var(--l-ink); }
.legal { display: grid; grid-template-columns: 100%; row-gap: 24px; margin-top: 24px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.legal-links li { font-size: 12px; line-height: 18px; }
.legal-links a, .legal-btn { font-size: 12px; line-height: 16px; color: var(--l-ink-soft); text-decoration: none; }
.legal-links a:hover, .legal-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-btn { padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.legal-links li:first-child a { display: inline-block; min-width: 106.86px; }
.copyright, .credits { font-size: 12px; line-height: 18px; color: var(--l-ink-soft); }
@media (min-width: 768px) {
  .signup { grid-template-columns: 440px 240px; grid-template-rows: auto 18px; row-gap: 8px; }
  .signup-title { grid-column: 1; grid-row: 1; font-size: 32px; line-height: 40px; letter-spacing: -0.8px; }
  .signup-form { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); min-height: 304px; }
  .legal { row-gap: 16px; }
}
@media (min-width: 1024px) {
  .footer-top { flex-direction: row; gap: 8px; }
  .footer-main { flex-direction: row; margin-top: 64px; }
  .signup { flex: none; width: 256px; grid-template-columns: 256px; grid-template-rows: none; row-gap: 32px; }
  .signup-title { grid-column: auto; grid-row: auto; font-size: 40px; line-height: 50px; letter-spacing: -1px; }
  .signup-form { grid-column: auto; grid-row: auto; align-self: auto; width: 241px; }
  .signup-privacy { display: block; }
  .footer-cols { flex: 1; min-width: 0; grid-template-columns: repeat(3, 1fr); row-gap: 0; align-content: stretch; min-height: 424px; }
}
@media (min-width: 1280px) {
  .signup { width: 384px; grid-template-columns: 384px; }
  .signup-form { width: 320px; }
  .footer-cols { min-height: 328px; }
}
@media (min-width: 1440px) { .footer-cols { min-height: 304px; } }

/* ---------------------------------------------------------------- scroll entrances (landing.js adds .reveal-on when motion is allowed) */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity var(--l-reveal) var(--l-ease-out), transform var(--l-reveal) var(--l-ease-out); }
.reveal-on [data-reveal="fade"] { transform: none; transition: opacity var(--l-reveal) var(--l-ease-out); }
.reveal-on [data-reveal="blur"] { transform: none; filter: blur(5px); transition: opacity var(--l-reveal) var(--l-ease-out), filter var(--l-reveal) var(--l-ease-out); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------------------------------------------------------------- reduced motion: everything still, nothing waits */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
  .card-media, .news-img { transform: none !important; top: -5%; }
}
