/* ═══════════════════════════════════════════════════════════════════════════
   lifetime.elaye.store · the Homer landing (27 Sep 2026)
   Same system as the members portal (portal.elaye.store): white page, black
   ink, one grey ramp, flat hairline cards, gold only on the Picked chip and
   fills, the amber LED dot only before eyebrows and on Urgent. Source of
   truth: design/homer-landing/LANDING-BRIEF.md and the Claude Design comps
   in design/homer-landing/.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Fallback';
  src: local('Helvetica Neue'), local('Arial');
  size-adjust: 104.37%;
  ascent-override: 96.3%;
  descent-override: 28.27%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Geist Pixel Circle';
  src: url(../fonts/GeistPixel-Circle.woff2) format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --ink-hover: #1b1b1b;
  --secondary: #595959;          /* 7.0:1 on white */
  --meta: #666666;               /* 5.7:1 on white */
  --chip: #f2f2f2;
  --pressed: #e6e6e6;
  --blank: #ececec;
  --pill-border: #d9d9d9;
  --line: rgba(11, 11, 11, 0.12);
  --line-strong: rgba(11, 11, 11, 0.5);
  --guide: rgba(11, 11, 11, 0.1);
  --guide-strong: rgba(11, 11, 11, 0.18);
  --gold: #f5c242;
  --led: #dfae30;
  --band: #0b0b0b;
  --band-card: #141414;
  --band-text: #f4f3ee;
  --band-muted: #a0a0a0;
  --band-line: rgba(244, 243, 238, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(24px, calc(8.381vw - 8.686px), 112px);
  --header-h: 72px;
  --section-gap: clamp(96px, 11vw, 160px);

  /* the portal's folder object reads these (css/folder.css, paint fixed) */
  --ink-900: #131210;
  --bone-50: #faf8f3;
  --blue-700: #2a70a0;
  --white: #ffffff;
  --gold-400: #f5c242;
  --text-base: 15px;
  --text-primary: #0b0b0b;

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
html,
body {
  margin: 0;
  background: #ffffff;
}
body {
  font-family: 'Geist', 'Geist Fallback', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--ink);
}
button {
  font-family: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ── layout ───────────────────────────────────────────────────────────────── */
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section {
  padding-top: var(--section-gap);
}

/* ── type ─────────────────────────────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--secondary);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--led);
  flex: none;
}
.display {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: lowercase;
  text-wrap: balance;
}
.display-xl {
  font-size: clamp(54px, 7vw, 100px);
}
.display-l {
  font-size: clamp(44px, 6.1vw, 88px);
}
.display .soft {
  color: var(--secondary);
}
.eyebrow + .display {
  margin-top: 24px;
}
.lead {
  margin: 28px 0 0;
  max-width: 620px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--secondary);
  text-wrap: pretty;
}
.t-item {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: lowercase;
}
.body-s {
  font-size: 17px;
  line-height: 1.5;
  color: var(--secondary);
  text-wrap: pretty;
}
.note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--secondary);
}
.num {
  font-variant-numeric: tabular-nums;
}
.pixel {
  font-family: 'Geist Pixel Circle', 'Geist', ui-monospace, monospace;
  font-weight: 500;
  font-synthesis: none;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ── pills and links ──────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, transform 0.12s cubic-bezier(0.2, 0, 0, 1);
}
.pill:hover {
  background: var(--ink-hover);
  color: #fff;
}
.pill:active {
  transform: scale(0.98);
}
.pill-sm {
  min-height: 44px;
  padding: 0 24px;
  font-size: 15px;
}
.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s;
}
.link-more:hover,
.link-more:focus-visible {
  text-decoration-color: var(--ink);
}
.prose-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(11, 11, 11, 0.35);
  transition: text-decoration-color 0.15s;
}
.prose-link:hover {
  text-decoration-color: var(--ink);
}

/* ── chips ────────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.chip-ink {
  color: var(--ink);
}
.chip-urgent {
  color: var(--ink);
}
.chip-urgent::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--led);
}
.chip-pick {
  background: var(--gold);
  color: var(--ink);
}
.chip-review {
  background: var(--gold);
  color: var(--ink);
}
.chip-sent {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.chip-placed {
  background: var(--ink);
  color: #fff;
}
.chip-sq {
  padding: 0 12px;
}

/* ── card ─────────────────────────────────────────────────────────────────── */
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

/* ═══ HEADER ═════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  flex: none;
}
.brand-link .wm {
  height: 30px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav a:hover {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-actions .login {
  flex: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

/* ═══ THE WORDMARK (inline, dots power on) ═══════════════════════════════════ */
.wm {
  display: block;
  aspect-ratio: 1176.28 / 193.54;
  overflow: visible;
}
@keyframes wm-dot-on {
  0% { opacity: 0; }
  55% { opacity: 1; }
  68% { opacity: 0.45; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .wm-intro .wm-col {
    animation: wm-dot-on 420ms var(--ease) backwards;
    animation-delay: calc(140ms + var(--c) * 14ms);
  }
}

/* ═══ HERO ═══════════════════════════════════════════════════════════════════ */
.hero .wrap {
  padding-top: clamp(64px, 8.3vw, 120px);
  padding-bottom: clamp(88px, 11vw, 160px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 64px;
  align-items: center;
}
.hero .display {
  margin-top: 28px;
}
.hero .lead {
  margin-top: 36px;
  max-width: 560px;
}
.cta-row {
  margin-top: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.price-line {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.hero-object {
  display: flex;
  justify-content: flex-end;
}
.hero-object .folder {
  --s: 1.1;
  margin-right: -44px;
}

/* ═══ HERO + THE UNLOCK ═════════════════════════════════════════════════════
   One sticky stage from the top of the page; js/homer.js writes the vars on
   .stage from the scroll. The hero first; the first scroll hands over to the
   captions (.is-beats) while the folder turns gold (--gold), the shackle
   snaps open (--lift), the broken lock rises away (--float), and the folder
   opens on 03 (.is-open). Then the stage lets go and the page scrolls on.
   Without html.motion nothing pins: the hero and its locked folder. */
.show {
  position: relative;
}
.stage {
  position: relative;
}
.stage-a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 64px;
  align-items: center;
  padding-top: clamp(64px, 8.3vw, 120px);
  padding-bottom: clamp(88px, 11vw, 160px);
}
.unlock-caps {
  display: grid;
}
.unlock-caps > * {
  grid-area: 1 / 1;
  min-width: 0;
  align-self: center;
}
.caps-seq {
  display: none;
}
.unlock-count {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.caps-box {
  display: grid;
  margin-top: 24px;
}
.unlock-cap {
  grid-area: 1 / 1;
  margin: 0;
}
.unlock-object {
  display: flex;
  justify-content: flex-end;
}
.unlock-object .folder {
  --s: 1.1;
  margin-right: -44px;
}

html.motion .stage {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden;
}
html.motion .stage-a {
  height: 100%;
  padding-top: 0;
  padding-bottom: 24px;
}
html.motion .caps-seq {
  display: block;
}
html.motion .hero-copy {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s;
}
html.motion .stage.is-beats .hero-copy,
html.motion .caps-seq {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
html.motion .stage.is-beats .hero-copy {
  transform: translateY(-16px);
}
html.motion .caps-seq {
  transform: translateY(16px);
}
html.motion .stage.is-beats .caps-seq {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s;
}
html.motion .unlock-cap {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
html.motion .unlock-cap.is-on {
  opacity: 1;
  transform: none;
}
/* the folder fills with gold from the bottom up as you scroll (--gold, 0 to
   1). The fill line runs from the body's foot (y 290) to the tab's top
   (y 56) in the folder's base units; each part clips its gold layer to it.
   The gold paint is folder.css's .folder-gold. */
html.motion .show .folder {
  --folder-shadow: calc(11 + 35 * var(--gold, 0)), calc(45 - 6 * var(--gold, 0)), calc(64 - 41 * var(--gold, 0));
}
html.motion .show .folder-back::before,
html.motion .show .folder-tab::before,
html.motion .show .folder-front::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
html.motion .show .folder-back::before {
  background: linear-gradient(180deg, #8a6a1e 0%, #5e4a16 100%);
  clip-path: inset(clamp(0%, calc((290 - 234 * var(--gold, 0) - 84) / 206 * 100%), 100%) 0 0 0);
}
html.motion .show .folder-tab::before {
  background: #8a6a1e;
  clip-path: inset(clamp(0%, calc((290 - 234 * var(--gold, 0) - 56) / 34 * 100%), 100%) 0 0 0);
}
html.motion .show .folder-front::before {
  background: linear-gradient(180deg, #fbda6a 0%, #e9bd42 55%, #c39c42 100%);
  box-shadow: inset 0 calc(1.5px * var(--s)) 0 rgba(255, 246, 210, 0.7), inset 0 calc(-2px * var(--s)) 0 rgba(0, 0, 0, 0.1);
  clip-path: inset(clamp(0%, calc((290 - 234 * var(--gold, 0) - 122) / 168 * 100%), 100%) 0 0 0);
}
@supports (color: color-mix(in srgb, red, blue 50%)) {
  html.motion .show .folder {
    --gf: clamp(0, calc((var(--gold, 0) - 0.86) * 12), 1);
    --folder-sheet-face: color-mix(in srgb, #ffffff, #fbf6e8 calc(var(--gold, 0) * 100%));
    --folder-sheet-tint: color-mix(in srgb, #d3e3ec, #d9cba4 calc(var(--gold, 0) * 100%));
  }
  html.motion .show .folder-fillet {
    background: radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0) calc(12px * var(--s)), color-mix(in srgb, #3b8cc0, #8a6a1e calc(var(--gf) * 100%)) calc(12.6px * var(--s)));
  }
}
/* the lock: the shackle snaps up and swings open, then the broken lock
   rises off the folder and fades */
html.motion .show .folder-lock {
  z-index: 2;
  transform: translate(calc(var(--float, 0) * 28px), calc(var(--float, 0) * -260px)) rotate(calc(var(--float, 0) * -16deg)) scale(calc(1 - var(--float, 0) * 0.18));
  opacity: calc(1 - (var(--float, 0) - 0.55) * 2.4);
}
html.motion .show .folder-lock::before {
  transform-origin: 100% 100%;
  transform: translateY(calc(var(--lift, 0) * -12px * var(--s))) rotate(calc(var(--lift, 0) * -38deg));
}
.show .folder-sheet,
.show .folder-sheet-2,
.show .folder-front {
  transition: transform 0.55s var(--ease), top 0.55s var(--ease), height 0.55s var(--ease), left 0.55s var(--ease), width 0.55s var(--ease);
}
@keyframes sheet-in {
  from { opacity: 0; translate: 0 calc(28px * var(--s)); }
}
html.motion .show .folder.is-open .folder-sheet-2 {
  animation: sheet-in 0.55s var(--ease) backwards;
}

/* ═══ THE DEMO WINDOW ════════════════════════════════════════════════════════ */
.window {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.window-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--chip);
}
.window-dots {
  display: flex;
  gap: 7px;
}
.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pill-border);
}
.window-url {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
}
.demo-header {
  height: 64px;
  padding: 0 clamp(20px, 3.9vw, 56px);
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.demo-header .wm-img {
  height: 24px;
  width: auto;
  flex: none;
}
.demo-tabs {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.demo-tab {
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.15s;
  flex: none;
}
.demo-tab img {
  height: 14px;
  width: auto;
}
.demo-tab:hover,
.demo-tab[aria-selected='true'] {
  opacity: 1;
}
.demo-body {
  position: relative;
  height: 640px;
  overflow: hidden;
}
.demo-panel {
  position: absolute;
  inset: 0;
  padding: 48px clamp(20px, 3.9vw, 56px) 56px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.demo-panel.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
}
.demo-panel::after {
  /* the screen keeps going below the window's edge */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.d-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--secondary);
}
.d-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--led);
}
.d-title {
  margin-top: 14px;
  font-size: 48px;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.d-title:first-child {
  margin-top: 0;
}
.d-lead {
  margin-top: 16px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--secondary);
}
.d-meta {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
}
.d-filters {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.d-filter {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--pill-border);
  font-size: 14px;
  font-weight: 500;
}
.d-filter.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.d-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.d-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
}
.bar {
  height: 14px;
  border-radius: 5px;
  background: var(--blank);
}
.bar-l {
  height: 22px;
  border-radius: 6px;
}
.d-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.d-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 14px;
}
.d-foot .muted {
  color: var(--secondary);
}
.d-foot .act {
  font-weight: 500;
}
.d-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.d-row:last-child {
  border-bottom: 1px solid var(--line);
}
.d-row .n {
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.d-cols {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.d-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.d-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
}
.d-box-title {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.d-small {
  font-size: 13px;
  color: var(--secondary);
}
.d-input {
  margin-top: 16px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  color: var(--meta);
}
.d-habit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}
.d-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--ink);
  position: relative;
  flex: none;
}
.d-check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.d-streak {
  margin-left: auto;
  display: flex;
  gap: 5px;
}
.d-streak i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pressed);
}
.d-streak i.on {
  background: var(--ink);
}
.d-week {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.d-day {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  color: var(--secondary);
}
.d-day.is-today {
  border-color: var(--ink);
}
.d-day .bar {
  margin-top: 10px;
  height: 18px;
}
.d-media {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.d-cover {
  height: 180px;
  border-radius: 12px;
  background: var(--chip);
  display: flex;
  align-items: center;
  justify-content: center;
}
.d-pills {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}
.d-pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
}
.d-pill-2 {
  background: var(--chip);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--pill-border);
}
.d-progress {
  margin-top: 14px;
  height: 4px;
  border-radius: 2px;
  background: var(--pressed);
}
.d-channel {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}
.d-channel span:last-child {
  color: var(--secondary);
  font-weight: 400;
}
.demo-caption {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
}
.demo-step {
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.demo-what {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.demo-what .t-item {
  white-space: nowrap;
  flex: none;
}
.demo-what p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--secondary);
  max-width: 720px;
}
.demo-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.demo-cta p {
  margin: 0;
  font-size: 15px;
  color: var(--secondary);
}

.d-tick {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--line-strong);
  flex: none;
}
.d-habit .bar {
  flex: 0 1 auto;
}
.d-list {
  margin-top: 28px;
}
.d-list .d-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.d-item .bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.d-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.d-feature .folder {
  --s: 0.5;
}
.d-kits {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.d-kits .d-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.d-kits .folder {
  --s: 0.36;
  margin: -8px 0 8px -14px;
}
.d-kits .name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.demo-cta {
  margin-top: 40px;
}

/* ═══ NUMBERS ════════════════════════════════════════════════════════════════ */
.numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.numbers > div {
  padding: 48px 48px 44px;
}
.numbers > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.numbers > div:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}
.numbers .pixel {
  font-size: clamp(72px, 11.1vw, 160px);
}
.numbers .label {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 500;
  color: var(--secondary);
}

/* ═══ WHAT'S INSIDE ══════════════════════════════════════════════════════════ */
.inside-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.inside-card {
  padding: 32px;
}
.inside-card .folder {
  --s: 0.22;
  margin-left: -9px;
}
.inside-card .t-item {
  margin-top: 24px;
}
.inside-card p {
  margin: 12px 0 0;
  max-width: 500px;
}
.span-2 {
  grid-column: span 2;
}
.span-4 {
  grid-column: span 4;
}
.inside-wide {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.inside-wide .t-item {
  margin-top: 0;
}
.inside-wide-copy {
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.inside-wide-copy .t-item {
  white-space: nowrap;
  flex: none;
}
.inside-wide-copy p {
  margin: 0;
}
.one-login {
  margin: 32px 0 0;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  font-weight: 500;
}

/* ═══ HOW THE BOARD WORKS ════════════════════════════════════════════════════ */
.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.step .n {
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.step .t-item {
  margin-top: 40px;
}
.step p {
  margin: 14px 0 0;
}
.status-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rights {
  margin: 48px 0 0;
  max-width: 660px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--secondary);
}

/* ═══ THE MEMBERS TALK ═══════════════════════════════════════════════════════ */
.talk-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.talk-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote {
  margin: 0;
  padding: 28px;
}
.quote blockquote {
  margin: 0;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.quote figcaption {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
}
.shot {
  margin: 0;
  padding: 8px;
}
.shot img {
  width: 100%;
  border-radius: 10px;
}

/* ═══ CREDITS ════════════════════════════════════════════════════════════════ */
.credits .lead {
  margin-top: 36px;
  max-width: 720px;
}
.badges {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.badges div {
  padding: 28px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.badges div + div {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

/* ═══ FOR YOU / NOT FOR YOU ══════════════════════════════════════════════════ */
.fit {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px;
}
.fit-card {
  padding: 40px;
}
.fit-title {
  font-size: 48px;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-transform: lowercase;
}
.ticks {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 17px;
  line-height: 1.5;
}
.ticks li {
  display: flex;
  gap: 14px;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%230b0b0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.ticks-no {
  color: var(--secondary);
}
.ticks-no li::before {
  background: var(--pressed) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%230b0b0b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

/* ═══ QUESTIONS ══════════════════════════════════════════════════════════════ */
.faq {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 12px 0;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat;
}
.faq details p {
  margin: 0;
  padding: 0 0 32px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--secondary);
}
.faq-section {
  padding-bottom: var(--section-gap);
}

/* ═══ THE PRICE CARD (the one black band) ════════════════════════════════════ */
.price-band {
  background: var(--band);
  color: var(--band-text);
  padding: var(--section-gap) 0;
}
.price-band .eyebrow {
  color: var(--band-muted);
}
.price-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.price-grid > p {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--band-muted);
  text-wrap: pretty;
}
.price-card {
  border: 1px solid rgba(244, 243, 238, 0.14);
  border-radius: 16px;
  background: var(--band-card);
  padding: clamp(28px, 3.3vw, 48px);
}
.price-card .pixel {
  font-size: clamp(96px, 11.1vw, 160px);
  line-height: 0.9;
}
.price-sub {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--band-muted);
  font-variant-numeric: tabular-nums;
}
.price-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--band-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  line-height: 1.5;
}
.price-list li {
  display: flex;
  gap: 14px;
}
.price-list li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%230b0b0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.pill-light {
  margin-top: 40px;
  display: flex;
  width: 100%;
  min-height: 52px;
  background: var(--band-text);
  color: var(--ink);
}
.pill-light:hover {
  background: #e4e3de;
  color: var(--ink);
}
.dm-line {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--band-muted);
}
.dm-line a {
  color: var(--band-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(244, 243, 238, 0.35);
}

/* ═══ FOOTER ═════════════════════════════════════════════════════════════════ */
.site-footer .wrap.foot-top {
  padding-top: 48px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.foot-top .wm-img {
  height: 28px;
  width: auto;
}
.foot-tag {
  font-size: 14px;
  color: var(--secondary);
  white-space: nowrap;
}
.foot-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 28px;
  font-size: 14px;
  font-weight: 500;
}
.foot-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.foot-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.foot-nav span {
  color: var(--secondary);
}
.foot-note {
  margin: 0;
  padding-bottom: 64px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--secondary);
}
/* the construction band: the mark huge and cropped, on its guide lines */
.band {
  position: relative;
  height: clamp(132px, 20.8vw, 300px);
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto;
}
.band .g {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--guide);
}
.band .g-v {
  position: absolute;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--guide);
}
.band .g-strong {
  background: var(--guide-strong);
}
.band .wm {
  position: absolute;
  left: var(--gutter);
  top: 0;
  height: 125%;
  width: auto;
  max-width: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.js .wm-wait .wm-col {
    opacity: 0;
  }
  html.js .wm-wait.is-live .wm-col {
    opacity: 1;
    animation: wm-dot-on 420ms var(--ease) backwards;
    animation-delay: calc(var(--c) * 14ms);
  }
}

/* ═══ REVEALS ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  }
  html.js .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* ═══ RESPONSIVE ═════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .demo-tabs {
    gap: 16px;
  }
  .d-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .site-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-object {
    justify-content: center;
  }
  .hero-object .folder {
    --s: 0.72;
    margin-right: 0;
  }
  .stage-a {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  html.motion .stage-a {
    align-content: center;
    gap: 24px;
  }
  .unlock-object {
    justify-content: center;
  }
  .unlock-object .folder {
    --s: 0.72;
    margin-right: 0;
  }
  .d-kits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .d-feature {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .demo-header {
    padding-right: 0;
  }
  .demo-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    gap: 18px;
    padding-right: 20px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .demo-tabs::-webkit-scrollbar {
    display: none;
  }
  .demo-body {
    height: 560px;
  }
  .d-cols {
    grid-template-columns: 1fr;
  }
  .d-week {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .d-media {
    grid-template-columns: 1fr;
  }
  .d-cover {
    height: 120px;
  }
  .demo-caption {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .demo-what {
    flex-direction: column;
    gap: 6px;
  }
  .numbers {
    grid-template-columns: 1fr;
  }
  .numbers > div:nth-child(odd) {
    border-right: 0;
  }
  .numbers > div:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }
  .numbers > div {
    padding: 32px 28px 28px;
  }
  .inside-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .span-2,
  .span-4 {
    grid-column: span 2;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .talk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .talk-col:nth-child(3) {
    display: contents;
  }
  .price-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 48px;
  }
  .fit {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }
  body {
    font-size: 16px;
  }
  .unlock-object .folder {
    --s: 0.6;
  }
  .demo-header {
    padding-left: 0;
  }
  .demo-header .wm-img {
    display: none;
  }
  .demo-tabs {
    margin-left: 0;
    padding-left: 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 40px), transparent);
  }
  .d-pills {
    flex-wrap: wrap;
  }
  .d-pill {
    white-space: nowrap;
  }
  .d-feature .folder {
    --s: 0.36;
  }
  .d-kits {
    gap: 10px;
  }
  .d-kits .d-box {
    padding: 16px;
  }
  .d-kits .folder {
    --s: 0.28;
    margin: -6px 0 6px -11px;
  }
  .site-header .wrap {
    height: 64px;
    gap: 12px;
  }
  .brand-link .wm {
    height: 24px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions .pill-sm {
    padding: 0 18px;
  }
  .price-line {
    font-size: 13px;
  }
  .demo-body {
    height: 520px;
  }
  .d-title {
    font-size: 36px;
  }
  .d-grid {
    grid-template-columns: 1fr;
  }
  .window-bar {
    height: 36px;
  }
  .inside-grid,
  .steps,
  .talk-grid,
  .badges {
    grid-template-columns: 1fr;
  }
  .span-2,
  .span-4 {
    grid-column: auto;
  }
  .inside-card {
    padding: 24px;
  }
  .inside-wide {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .inside-wide-copy {
    flex-direction: column;
    gap: 8px;
  }
  .talk-col:nth-child(3) {
    display: flex;
  }
  .badges div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .fit-card {
    padding: 28px;
  }
  .fit-title {
    font-size: 40px;
  }
  .step .t-item {
    margin-top: 20px;
  }
  .foot-nav {
    margin-left: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ═══ PAGE GLUE (resets and the few layouts the sections above lean on) ════ */
.eyebrow,
.t-item,
.demo-panel p,
.demo-panel h3 {
  margin: 0;
}
.numbers .label {
  margin: 20px 0 0;
}
.demo-tabs {
  position: relative;
}
.steps {
  list-style: none;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}
.stage.is-measuring .window,
.stage.is-measuring .folder {
  transform: none !important;
  transition: none !important;
}
.portal-intro .lead {
  max-width: 640px;
}
.demo-cta {
  padding-top: 8px;
}
.d-box-title + .d-habit {
  margin-top: 12px;
}
.d-legend {
  margin-top: 24px;
}
.d-list > .d-media {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.d-class .d-cover {
  height: 132px;
}
.d-row .act,
.d-channel .bar {
  font-size: 14px;
  font-weight: 500;
}
.d-channel .bar {
  width: 96px;
  height: 12px;
}
.d-feature .d-lead {
  margin-top: 8px;
}
.credits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
}
.credits-grid .shot {
  margin-top: 8px;
}
.fit-title {
  margin: 0;
}
@media (max-width: 1023px) {
  .credits-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .credits-grid .shot {
    max-width: 420px;
  }
  .d-media.d-class {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }
  .d-class .d-cover {
    height: 96px;
  }
}

/* ═══ THE PORTAL SECTION (its own section, clickable, nothing pinned) ═══════ */
.demo-section .display,
.demo-section .lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.demo-section .lead {
  max-width: 600px;
}
.demo-frame {
  max-width: 1080px;
  margin: 56px auto 0;
}
.demo-body {
  height: 560px;
}
.demo-tab {
  position: relative;
}
.demo-tab[aria-selected='true']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
}
.demo-caption {
  margin-top: 28px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.demo-what {
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.demo-what p {
  max-width: 560px;
}
.demo-cta {
  margin-top: 24px;
  padding-top: 0;
  justify-content: center;
}
@media (max-width: 1023px) {
  .demo-body {
    height: 520px;
  }
}
@media (max-width: 1023px) and (max-height: 760px) {
  html.motion .unlock-object .folder {
    --s: 0.4;
  }
  html.motion .stage-a {
    gap: 16px;
  }
  html.motion .hero-copy .display-xl {
    font-size: 44px;
  }
  html.motion .hero-copy .lead {
    margin-top: 16px;
    font-size: 16px;
  }
  html.motion .hero-copy .cta-row {
    margin-top: 20px;
  }
  html.motion .hero-copy .price-line {
    margin-top: 12px;
  }
}
@media (max-width: 400px) {
  .site-header .wrap {
    gap: 10px;
  }
  .brand-link .wm {
    height: 22px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .pill-sm {
    padding: 0 16px;
  }
}

/* ═══ PORTAL SCALE (28 Sep) ══════════════════════════════════════════════════
   The landing at the members portal's own scale and components
   (portal app/globals.css + components/member-home.css): page title 64,
   section heads 48, card titles 26, lead 19, body 15, door cards, the stats
   card, numbered rows, a 72px header with 14px nav at 0.55. */
:root {
  --section-gap: clamp(80px, 8.3vw, 120px);
}
body {
  font-size: 15px;
}
.display-xl {
  font-size: clamp(44px, 4.44vw, 64px);
  line-height: 0.98;
}
.display-l {
  font-size: clamp(36px, 3.33vw, 48px);
  line-height: 0.98;
}
.lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: clamp(17px, 1.32vw, 19px);
}
.body-s {
  font-size: 15px;
}

/* header: the portal bar */
.site-nav a {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.55;
  transition: opacity 0.15s;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  opacity: 1;
}
.header-actions .login {
  font-size: 14px;
}

/* hero */
.hero-copy .lead {
  margin-top: 20px;
}
.cta-row {
  margin-top: 28px;
  gap: 12px 24px;
}
.price-line {
  margin-top: 18px;
}
.caps-box {
  margin-top: 16px;
}

/* the portal section */
.demo-frame {
  margin-top: 40px;
}
.demo-tab[aria-selected='true']::after {
  display: none;
}
.demo-tab {
  opacity: 0.55;
}
.demo-tabs {
  margin-left: auto;
}
.d-avatar {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--pressed);
  margin-left: 4px;
}
.demo-panel {
  padding: 44px clamp(20px, 3.9vw, 48px) 48px;
}
.d-title {
  font-size: 44px;
}
.d-lead {
  margin-top: 12px;
  font-size: 15px;
  max-width: 480px;
}
.d-meta {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
}
.d-headrow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.d-headrow .d-meta {
  font-weight: 400;
  color: var(--secondary);
}
.d-pill {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}
.d-pills {
  align-items: center;
  flex-wrap: wrap;
}
.d-box {
  padding: 20px;
}
.d-box-title {
  font-size: 20px;
}
.d-boxhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.d-cols {
  margin-top: 28px;
}
.d-habit {
  font-size: 14px;
  gap: 10px;
}
.d-habit-name {
  flex: 1;
  min-width: 0;
}
.d-habit .d-streak {
  margin-left: 0;
}
.d-sub {
  margin-top: 28px !important;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.d-week {
  margin-top: 12px;
}
.d-day {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 12px;
  font-size: 11px;
}
.d-day b {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.d-filterrow {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.d-filterrow .d-filters {
  margin-top: 0;
}
.d-filter {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}
.d-selects {
  display: flex;
  align-items: center;
  gap: 10px;
}
.d-select {
  display: inline-flex;
  align-items: center;
  height: 36px;
  min-width: 96px;
  padding: 0 32px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%230b0b0b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
}
.d-grid {
  margin-top: 24px;
}
.d-card {
  padding: 18px;
  gap: 10px;
}
.d-card .bar-l + .bar-l {
  margin-top: -2px;
}
.d-split {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 16px;
}
.d-legend-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.d-steps {
  margin-top: 24px;
}
.d-steps .d-row {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  padding: 14px 0;
}
.d-rowtitle {
  font-size: 14px;
  font-weight: 600;
}
.d-feature {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.d-cover-tile {
  width: 176px;
  height: 140px;
  flex: none;
  border-radius: 12px;
  background: var(--chip);
  display: flex;
  align-items: center;
  justify-content: center;
}
.d-cover-tile .folder {
  margin: 0;
}
.d-class {
  margin-top: 16px;
}
.d-class .d-cover-tile {
  width: 132px;
  height: 104px;
}
.d-list > .d-class:first-child {
  margin-top: 24px;
}

/* numbers: the portal's stats card */
.numbers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.numbers > div {
  padding: 40px 20px 32px;
  text-align: center;
}
.numbers > div:nth-child(odd) {
  border-right: 0;
}
.numbers > div:nth-child(-n + 2) {
  border-bottom: 0;
}
.numbers > div + div {
  border-left: 1px solid var(--line);
}
.numbers .pixel {
  font-size: clamp(44px, 4vw, 56px);
}
.numbers .label {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 400;
}
.note {
  font-size: 13px;
}

/* what's inside: the portal's door cards */
.inside-grid {
  margin-top: 40px;
  gap: 20px;
}
.inside-card {
  padding: 28px;
}
.inside-card .folder {
  --s: 0.2;
  margin-left: -8px;
}
.inside-card .t-item {
  margin-top: 12px;
}
.inside-card p {
  margin-top: 8px;
}
.one-login {
  margin-top: 24px;
  font-size: 17px;
}

/* the board: numbered rows, like the submissions page */
.steps {
  display: block;
  margin-top: 32px;
  max-width: 760px;
}
.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step .n {
  grid-row: span 3;
  padding-top: 2px;
  font-size: 14px;
  color: var(--secondary);
}
.step .t-item {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}
.step p {
  margin: 4px 0 0;
}
.status-row {
  margin-top: 12px;
}
.rights {
  margin-top: 24px;
  font-size: 13px;
}

/* members talk */
.talk-grid {
  margin-top: 40px;
  gap: 20px;
}
.talk-col {
  gap: 20px;
}
.quote {
  padding: 24px;
}
.quote blockquote {
  font-size: 17px;
  line-height: 1.5;
}
.quote figcaption {
  margin-top: 16px;
}

/* credits */
.credits .lead {
  margin-top: 20px;
  max-width: 620px;
}
.badges {
  margin-top: 32px;
  max-width: 760px;
}
.badges div {
  padding: 20px 0;
  font-size: 15px;
}
.badges div + div {
  padding-left: 24px;
}

/* fit */
.fit {
  gap: 20px;
}
.fit-card {
  padding: 32px;
}
.fit-title {
  font-size: 36px;
}
.ticks {
  margin-top: 24px;
  gap: 14px;
  font-size: 15px;
}

/* questions */
.faq {
  margin-top: 32px;
}
.faq summary {
  min-height: 64px;
  font-size: 17px;
}
.faq details p {
  font-size: 15px;
  padding-bottom: 24px;
}

/* price band */
.price-band {
  padding: clamp(80px, 8.3vw, 120px) 0;
}
.price-grid {
  margin-top: 40px;
  gap: 48px;
}
.price-grid > p {
  font-size: 17px;
}
.price-card .pixel {
  font-size: clamp(72px, 7.2vw, 104px);
}
.price-sub {
  margin-top: 16px;
  font-size: 14px;
}
.price-list {
  margin-top: 28px;
  padding-top: 24px;
  gap: 12px;
  font-size: 15px;
}
.pill-light {
  margin-top: 32px;
}

/* footer: the portal's footer row */
.site-footer .wrap.foot-top {
  min-height: 96px;
  padding-top: 28px;
  padding-bottom: 20px;
}
.foot-top .wm-img {
  height: 24px;
}
.foot-tag {
  font-size: 13px;
}
.foot-nav {
  font-size: 14px;
}
.foot-nav a {
  color: var(--secondary);
  transition: color 0.15s;
}
.foot-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}
.foot-note {
  font-size: 13px;
  padding-bottom: 48px;
}

@media (max-width: 1023px) {
  .numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .numbers > div:nth-child(3) {
    border-left: 0;
  }
  .numbers > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .numbers > div:not(:last-child) {
    border-bottom: 0;
  }
  .d-split {
    grid-template-columns: 1fr;
  }
  .d-legend-box {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .d-selects {
    display: none;
  }
  .d-avatar {
    display: none;
  }
}
@media (max-width: 640px) {
  .d-title {
    font-size: 34px;
  }
  .d-headrow {
    flex-direction: column;
  }
  .d-feature {
    flex-direction: column;
    align-items: flex-start;
  }
  .d-cover-tile {
    width: 100%;
    height: 120px;
  }
  .step {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .fit-title {
    font-size: 32px;
  }
  .badges div + div {
    padding-left: 0;
  }
}
@media (hover: none) {
  .demo-tab:hover:not([aria-selected='true']) {
    opacity: 0.55;
  }
}

/* ═══ DEMO: HOME, SCROLLING SCREENS, THE URGENT POP-UP (28 Sep) ═════════════ */
.window {
  position: relative;
}
.demo-home {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex: none;
}
.demo-panel {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 11, 11, 0.18) transparent;
}
.demo-panel::after {
  display: none;
}
.demo-body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.d-welcome {
  display: flex;
  align-items: center;
  gap: 10px;
}
.d-welcome b {
  color: var(--ink);
  font-weight: 600;
}
.d-avatar-sm {
  width: 24px;
  height: 24px;
  margin-left: 0;
}
.d-homedate {
  margin-top: 18px !important;
  color: var(--secondary);
  font-weight: 400;
}
.d-herotitle {
  position: relative;
  isolation: isolate;
  margin-top: 6px;
}
.d-title-xl {
  font-size: 52px;
  line-height: 0.98;
}
.d-title-xl .soft {
  color: var(--secondary);
}
.d-ghost {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: -1;
  height: 115%;
  width: auto;
  transform: translateY(-50%);
  opacity: 0.09;
  pointer-events: none;
}
.d-herotitle + .d-lead {
  margin-top: 14px;
}
.d-doors {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.d-door {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.d-door .folder {
  margin: -4px 0 0 -6px;
}
.d-door .d-box-title {
  font-size: 18px;
}
.d-open {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
}
.d-sechead {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.d-sechead .d-sub {
  margin-top: 0 !important;
}
.d-grid-picks {
  margin-top: 14px;
}
.d-stats {
  margin-top: 20px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 16px;
}
.d-stats > div {
  padding: 22px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.d-stats > div + div {
  border-left: 1px solid var(--line);
}
.d-stats b {
  font-size: 36px;
  font-weight: 500;
}
.d-stats span {
  font-size: 12px;
  color: var(--secondary);
}
.d-toast {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  padding: 10px 8px 10px 16px;
  border-radius: 14px;
  background: #0b0b0b;
  color: #f4f3ee;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.12);
}
.d-toast[hidden] {
  display: none;
}
.d-toast.is-in {
  animation: toast-in 0.45s var(--ease) both;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
}
.d-toast-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--led);
}
.d-toast-copy {
  min-width: 0;
}
.d-toast-copy p {
  margin: 0;
}
.d-toast-title {
  font-size: 14px;
  font-weight: 600;
}
.d-toast-text {
  font-size: 13px;
  color: #a0a0a0;
}
.d-toast-go {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #f4f3ee;
  color: #0b0b0b;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.d-toast-go:hover {
  background: #e4e3de;
}
.d-toast-x {
  width: 36px;
  height: 36px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #a0a0a0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.d-toast-x:hover {
  color: #f4f3ee;
}
@media (max-width: 1023px) {
  .d-doors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .d-ghost {
    display: none;
  }
}
@media (max-width: 640px) {
  .demo-header .wm-img {
    display: block;
    height: 16px;
  }
  .demo-home {
    padding-left: 16px;
  }
  .demo-tabs {
    padding-left: 12px;
  }
  .d-title-xl {
    font-size: 34px;
  }
  .d-welcome .d-pill {
    display: none;
  }
  .d-doors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .d-stats b {
    font-size: 24px;
  }
  .d-stats span {
    font-size: 11px;
    text-align: center;
  }
  .d-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding-left: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .d-toast.is-in {
    animation: none;
  }
}

/* ═══ CREDITS · the live numbers (3 Oct 2026) ════════════════════════════════
   The stats card (.numbers) again, as a 2 by 2 beside the credits copy, filled
   from Muso.AI by js/homer.js. Four badges under it instead of three. */
.credits-top {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 520px);
  justify-content: space-between;
  align-items: end;
  gap: 48px clamp(40px, 6vw, 96px);
}
.credits .numbers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.credits .numbers > div:nth-child(3) {
  border-left: 0;
}
.credits .numbers > div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}
.credits .note {
  margin-top: 16px;
}
.credits .badges {
  margin-top: 48px;
}
@media (min-width: 641px) {
  .credits .badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 641px) and (max-width: 1339px) {
  .credits .badges div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .credits .badges div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (min-width: 1024px) {
  .credits .badges {
    max-width: none;
  }
}
@media (min-width: 1340px) {
  .credits .badges {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .credits-top {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .credits-live {
    max-width: 760px;
  }
}
@media (max-width: 640px) {
  /* five dotted characters have to fit half a phone: tighter cell, 36px floor */
  .credits .numbers > div {
    padding-left: 8px;
    padding-right: 8px;
  }
  .credits .numbers .pixel {
    font-size: clamp(36px, 11vw, 44px);
  }
}
