/* ─────────────────────────────────────────────────────────────────────
   fold in · marketing site shared styles
   tokens lifted from design-system/tokens.css + screens-primitives.jsx
   ───────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,300;6..72,400;6..72,500;6..72,600;6..72,700&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&family=Nunito:wght@500;600;700;800&display=swap');

:root {
  /* paper, softer, cooler off-whites (was warm cream) */
  --paper-50:  #faf8f3;
  --paper-100: #f3f0e9;
  --paper-200: #e6e2d6;
  --paper-300: #cfc9b9;
  --surface:   #ffffff;
  --surface-warm: #fdfcf8;
  /* ink, cool deep navy from the wordmark (was warm brown-black) */
  --ink-900: #14172a;
  --ink-700: #303550;
  --ink-500: #686d85;
  --ink-300: #a4a8be;
  --ink-200: #c8ccd8;
  /* accent, peach orange (brand) */
  --accent-50:  #fff3e7;
  --accent-100: #ffe4c8;
  --accent-200: #ffcb9c;
  --accent-300: #ffb487;
  --accent-400: #fda871;   /* THE brand orange */
  --accent-500: #f78a48;
  --accent-600: #e0712f;
  --accent-700: #b85a1f;
  /* plum, periwinkle purple (brand secondary) */
  --plum-50:  #f1efff;
  --plum-100: #e2deff;
  --plum-200: #c8c1ff;
  --plum-300: #ada4ff;
  --plum-400: #948efc;     /* THE brand purple */
  --plum-500: #7a73f0;
  --plum-600: #5e56d6;
  --plum-700: #4842b3;
  /* status */
  --sage-100: #dde4cf; --sage-500: #6b8b4f; --sage-700: #4a6433;
  --mustard-100: #f8e6b5; --mustard-700: #7a5a0e;
  --brick-100: #f0d4cc; --brick-500: #a93d24; --brick-700: #722616;
  /* type */
  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Geist', -apple-system, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --font-brand: 'Nunito', -apple-system, system-ui, sans-serif;
  /* shadow */
  --shadow-1: 0 1px 0 rgba(20,23,42,0.04), 0 1px 2px rgba(20,23,42,0.05);
  --shadow-2: 0 1px 0 rgba(20,23,42,0.04), 0 4px 12px rgba(20,23,42,0.07);
  --shadow-3: 0 2px 0 rgba(20,23,42,0.04), 0 14px 32px rgba(20,23,42,0.10);
  --shadow-4: 0 4px 0 rgba(20,23,42,0.04), 0 28px 64px rgba(20,23,42,0.14);
  --hairline: 1px solid #e6e2d6;
  --hairline-soft: 1px solid #efebe0;
  /* layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-50);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-700); }

/* ─── typography ─── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-700);
}
.lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--ink-700);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

/* ─── layout ─── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.row { display: flex; }
.stack { display: flex; flex-direction: column; }
section { position: relative; }

/* ─── top nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid rgba(207, 201, 185, 0.45);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  white-space: nowrap;
  flex-shrink: 0;
}
/* Brand wordmark — the "fold in" text. The 'i' uses a dotless ı plus a
   purple pseudo-element above it, matching the logo's purple i-dot. */
.brand .brand-i,
.foot-brand .display .brand-i {
  position: relative;
  display: inline-block;
  line-height: 1.2;
}
.brand .brand-i::after,
.foot-brand .display .brand-i::after {
  content: '';
  position: absolute;
  left: 50%; top: 0.08em;
  transform: translateX(-50%);
  width: 0.18em; height: 0.18em;
  border-radius: 50%;
  background: var(--plum-400);
}
.brand-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.foot-brand .brand-mark { width: 64px; height: 64px; margin-bottom: 4px; }
.nav-links {
  display: flex; gap: 32px; align-items: center;
  font-size: 14.5px;
  color: var(--ink-700);
}
.nav-links a {
  position: relative;
  font-weight: 500;
  transition: color .2s ease;
}
.nav-links a.active { color: var(--ink-900); }
.nav-links a.active::after {
  content: ''; position: absolute;
  left: 50%; bottom: -22px; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--accent-500);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px;
  background: var(--ink-900); color: var(--paper-50);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.nav-cta:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); }
.nav-burger { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: var(--surface); border: var(--hairline);
    border-radius: 12px; cursor: pointer;
    padding: 0;
  }
}
/* below ~480px the brand wordmark + "Get the app" CTA + burger collide.
   Drop the desktop CTA on small phones — the burger drawer carries the same
   link inside, so the action isn't lost, the header just stops fighting. */
@media (max-width: 480px) {
  .nav .nav-cta { display: none; }
  .nav-inner { gap: 12px; height: 60px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 28px; height: 28px; }
}

/* ─── mobile drawer (sibling of .nav, toggled by .nav-burger) ───
   A full-bleed sheet that slides down from under the sticky header.
   Hidden on desktop (display:none via .nav-links rule territory).
   We deliberately render it on every page so subpages aren't dead-ends. */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h, 68px); left: 0; right: 0;
  z-index: 49;
  background: rgba(250, 248, 243, 0.97);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 1px solid rgba(207, 201, 185, 0.6);
  padding: 12px var(--gutter) 20px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,.7,.2,1);
}
.mobile-drawer.open {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.mobile-drawer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.mobile-drawer ul a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px;
  font-family: var(--font-body);
  font-size: 17px; font-weight: 500;
  color: var(--ink-900);
  border-bottom: 1px solid rgba(207, 201, 185, 0.35);
}
.mobile-drawer ul a:last-child { border-bottom: 0; }
.mobile-drawer ul a.active { color: var(--accent-700); }
.mobile-drawer ul a::after {
  content: '→';
  color: var(--ink-300);
  font-family: var(--font-display);
  font-size: 18px;
}
.mobile-drawer .drawer-cta {
  margin-top: 16px;
  width: 100%;
}
@media (max-width: 860px) { .mobile-drawer { display: block; } }
/* prevent body scroll while drawer is open */
body.drawer-open { overflow: hidden; }

/* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 22px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--accent-500); color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), inset 0 -1.5px 0 rgba(0,0,0,0.10),
              0 8px 20px rgba(247, 138, 72, 0.30);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--accent-600); color: #fff; }
.btn-secondary {
  background: var(--surface); color: var(--ink-900);
  border-color: var(--paper-300);
  box-shadow: var(--shadow-1);
}
.btn-secondary:hover { transform: translateY(-1px); border-color: var(--accent-500); }
.btn-ink {
  background: var(--ink-900); color: var(--paper-50);
}
.btn-ink:hover { background: var(--accent-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-900); }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13.5px; }

/* store badges */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 18px 0 16px;
  background: var(--ink-900); color: var(--paper-50);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.store-badge:hover { transform: translateY(-2px); background: #2c2820; color: var(--paper-50); }
.store-badge .store-icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .store-text {
  display: flex; flex-direction: column;
  line-height: 1; text-align: left;
}
.store-badge .store-text small {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper-200); margin-bottom: 4px;
}
.store-badge .store-text strong {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em;
}

/* ─── chips, pills, status ─── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 500;
  background: var(--paper-100); color: var(--ink-700);
}
.chip-accent { background: var(--accent-100); color: var(--accent-700); }
.chip-sage   { background: var(--sage-100); color: var(--sage-700); }
.chip-plum   { background: var(--plum-100); color: var(--plum-700); }
.chip-outline { background: transparent; border: 1px solid var(--paper-300); color: var(--ink-700); }

.pill-beta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--surface);
  border: 1px solid var(--paper-300);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 500;
  color: var(--ink-700);
  box-shadow: var(--shadow-1);
}
.pill-beta .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(247, 138, 72, 0.20);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(247,138,72,0.14); }
  50%      { box-shadow: 0 0 0 8px rgba(247,138,72,0.04); }
}

/* ─── hero ─── */
.hero {
  padding: clamp(40px, 7vw, 96px) 0 clamp(60px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* soft brand wash, peach + lavender, very low saturation */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(253, 168, 113, 0.22), transparent 60%),
    radial-gradient(900px 600px at 0% 60%, rgba(148, 142, 252, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  position: relative;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 96px);
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 18px 0 24px;
  color: var(--ink-900);
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-600);
  font-weight: 400;
}
.hero .lede { max-width: 520px; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.hero-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: var(--ink-500);
}

/* ─── hero scene (phone + floating cards) ─── */
.hero-scene {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}
@media (max-width: 960px) {
  .hero-scene { min-height: 540px; margin-top: 24px; }
}
.scene-bg {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.scene-bg .disc {
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 142, 252, 0.28) 0%, rgba(253, 168, 113, 0.10) 45%, rgba(253, 168, 113, 0) 65%);
  filter: blur(20px);
}

/* phone */
.phone {
  position: relative;
  width: 300px; height: 612px;
  background: var(--ink-900);
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 1px 0 #2c2f44 inset,
    0 0 0 1.5px rgba(0,0,0,0.55),
    var(--shadow-4);
  z-index: 2;
  transform: rotate(-2deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: var(--paper-50);
  overflow: hidden;
  position: relative;
}
.phone-notch {
  /* Dynamic Island sits below the screen's top edge on real hardware; phone
     has 12px padding so top:22px lands the island ~10px into the screen. */
  position: absolute; top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #0a0a0a;
  border-radius: 999px;
  z-index: 5;
}

/* floating cards */
.float-card {
  position: absolute;
  background: var(--surface);
  border: var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow-3);
  padding: 12px;
  z-index: 3;
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}
.float-card.fc-1 { top: 8%; left: 2%; width: 200px; --rot: -4deg; --ty-rest: 0px;  --ty-peak: -10px; animation-delay: 0s;  }
.float-card.fc-2 { top: 22%; right: 0%; width: 220px; --rot: 3deg;  --ty-rest: 0px;  --ty-peak: -14px; animation-delay: -2.4s; }
.float-card.fc-3 { bottom: 12%; left: 4%; width: 190px; --rot: 2deg;  --ty-rest: 0px;  --ty-peak: -8px;  animation-delay: -4.2s; }
.float-card.fc-4 { bottom: 4%; right: 4%; width: 210px; --rot: -3deg; --ty-rest: 0px;  --ty-peak: -12px; animation-delay: -1.6s; }
.float-card { transform: translateY(var(--ty-rest, 0)) rotate(var(--rot, 0deg)); }

/* Mobile: the fixed widths (190-220px) push outside the gutter on phones.
   These overrides must come AFTER the fc-1..fc-4 desktop defaults so they
   win on width at equal specificity. */
@media (max-width: 720px) {
  .hero-scene { min-height: 460px; }
  .float-card.fc-1, .float-card.fc-4 { display: none; }
  .float-card.fc-2 { top: 4%; right: 0; width: 160px; }
  .float-card.fc-3 { bottom: 4%; left: 0; width: 160px; }
  .scene-bg .disc { width: 320px; height: 320px; }
}
@media (max-width: 420px) {
  .hero-scene { min-height: 420px; }
  .float-card.fc-2, .float-card.fc-3 { display: none; }
}
/* iPhone SE-class viewports (≤380px) — scale the whole phone down so the
   300px wireframe + tilt + shadow fit within the container's gutter. */
@media (max-width: 380px) {
  .phone { transform: rotate(-2deg) scale(0.88); }
  .phone:hover { transform: rotate(0deg) scale(0.88) translateY(-4px); }
}

@keyframes float {
  0%, 100% { transform: translateY(var(--ty-rest, 0))  rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(var(--ty-peak, -12px)) rotate(var(--rot, 0deg)); }
}

/* Hover-to-reveal: when the cursor is on the phone, the four floating cards
   slide outward so the phone screen is fully visible. We use the standalone
   `translate` property (not `transform`) so the float keyframe animation
   keeps running independently — transitions are smooth in both directions.
   Cards are pointer-transparent so the cursor reaches the phone underneath
   even when a card visually covers it; otherwise `.phone:hover` would never
   fire in the overlap zones. */
@media (hover: hover) {
  .float-card {
    pointer-events: none;
    transition: translate .55s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
  }
  .hero-scene:has(.phone:hover) .float-card { opacity: 0.55; }
  .hero-scene:has(.phone:hover) .float-card.fc-1 { translate: -140px -60px; }
  .hero-scene:has(.phone:hover) .float-card.fc-2 { translate:  140px -60px; }
  .hero-scene:has(.phone:hover) .float-card.fc-3 { translate: -140px  60px; }
  .hero-scene:has(.phone:hover) .float-card.fc-4 { translate:  140px  60px; }
}
.float-card .photo {
  aspect-ratio: 1;
  border-radius: 12px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.float-card .photo::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 22% 28%, rgba(255,255,255,0.5) 0, transparent 1.2px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.12) 0, transparent 1.2px);
  background-size: 7px 7px, 11px 11px;
  opacity: 0.5; mix-blend-mode: overlay;
}
.photo-straw    { background: linear-gradient(135deg, #fff0d8, #ffe1b5); }
.photo-terra    { background: linear-gradient(135deg, #ffd4b0, #ffb487); }
.photo-sage     { background: linear-gradient(135deg, #dde4cf, #c8d3b8); }
.photo-clay     { background: linear-gradient(135deg, #ddd6ff, #b9b0ff); }
.photo-dust     { background: linear-gradient(135deg, #d8d4e6, #b8b3cc); }
.photo-ochre    { background: linear-gradient(135deg, #ffc99c, #ffa874); }
.photo-plum     { background: linear-gradient(135deg, #c8c1ff, #948efc); }

/* ─── product-photo slots (image-slot web component) ─────────────────
   The hero floating cards, the in-phone item grid, and the handoff hero
   use <image-slot> so you can drag real product photos onto each box.
   The drop persists across reloads. Until you fill one, the slot shows
   its placeholder text on a soft brand-tinted gradient. */

/* Critical: the slot's shadow-DOM .frame is what actually clips the
   image with overflow:hidden. Without this rule, our outer
   border-radius rounds the host but the image inside renders square
   and spills past the corners. ::part(frame) is exposed by the web
   component for exactly this purpose. */
image-slot::part(frame) { border-radius: inherit; }
image-slot::part(image) { border-radius: inherit; }
image-slot::part(ring)  { border-radius: inherit; }
.float-card image-slot,
.mini-item image-slot,
.mini-handoff image-slot {
  display: block;
  width: 100%;
  --slot-bg: linear-gradient(135deg, #ffd4b0, #ffb487);
  background: var(--slot-bg);
}
.float-card image-slot { aspect-ratio: 1; border-radius: 12px; margin-bottom: 8px; }
.mini-item  image-slot { aspect-ratio: 1; border-radius: 10px 10px 0 0; }
.mini-handoff image-slot {
  width: 140px; aspect-ratio: 1; border-radius: 14px;
  margin: 0 auto;
  box-shadow: var(--shadow-2);
}
/* per-slot gradient tinting via class on the <image-slot> itself */
image-slot.tone-peach { --slot-bg: linear-gradient(135deg, #ffd4b0, #ffb487); background: var(--slot-bg); }
image-slot.tone-plum  { --slot-bg: linear-gradient(135deg, #ddd6ff, #b9b0ff); background: var(--slot-bg); }
image-slot.tone-sage  { --slot-bg: linear-gradient(135deg, #dde4cf, #c8d3b8); background: var(--slot-bg); }
image-slot.tone-ochre { --slot-bg: linear-gradient(135deg, #ffc99c, #ffa874); background: var(--slot-bg); }
image-slot.tone-dust  { --slot-bg: linear-gradient(135deg, #d8d4e6, #b8b3cc); background: var(--slot-bg); }

.float-card .fc-name { font-size: 13px; font-weight: 600; color: var(--ink-900); margin-bottom: 2px; }
.float-card .fc-meta { font-size: 11px; color: var(--ink-500); }

/* ─── section primitives ─── */
.section {
  padding: clamp(72px, 12vw, 140px) 0;
  position: relative;
}
.section-eyebrow-wrap {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.section-eyebrow-wrap .crease {
  width: 36px; height: 1px;
  background: var(--accent-500);
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 24px;
  text-wrap: balance;
}
.section h2 em { font-style: italic; color: var(--accent-600); font-weight: 400; }
.section-intro { max-width: 720px; }

/* ─── manifesto / pillars ─── */
.manifesto {
  background: var(--surface);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: 56px;
}
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: 32px 0; border-top: var(--hairline); }
.pillar .pillar-num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; color: var(--accent-700);
  margin-bottom: 14px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.pillar p { color: var(--ink-700); margin: 0; max-width: 38ch; }

/* ─── feature cards (3-up grid) ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-grid.feature-grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .feature-grid.feature-grid-2 { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--surface);
  border: var(--hairline);
  border-radius: 24px;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.feature-card .feature-art {
  aspect-ratio: 4/3;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0;
}
.feature-card p { color: var(--ink-700); margin: 0; font-size: 14.5px; }

/* ─── how it works steps ─── */
.steps {
  margin-top: 56px;
  display: grid; gap: 20px;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr 280px;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--surface);
  border: var(--hairline);
  border-radius: 24px;
  transition: transform .3s ease;
}
/* /features uses a 2-column variant: art + copy. The home page uses the
   3-column default (number + copy + art). Both collapse to a single
   column under 860px. */
.step.step-2 { grid-template-columns: 360px 1fr; }
.step:hover { transform: translateY(-2px); }
@media (max-width: 860px) {
  .step { grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; }
  .step.step-2 { grid-template-columns: 1fr; }
  .step .step-art { grid-column: 1 / -1; margin-top: 12px; }
  .step.step-2 .step-art { margin-top: 0; margin-bottom: 4px; }
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper-50);
  border: 1.5px solid var(--accent-500);
  color: var(--accent-700);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  display: grid; place-items: center;
  letter-spacing: -0.02em;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.step p { margin: 0; color: var(--ink-700); max-width: 50ch; }
.step-art {
  aspect-ratio: 4/3;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

/* ─── testimonials ─── */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--surface);
  border: var(--hairline);
  border-radius: 24px;
  padding: 32px;
}
.quote blockquote {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; color: var(--ink-900);
  font-size: 14px;
}
.quote .who-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quote .who-text .name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.quote .who-text .meta { font-size: 12.5px; color: var(--ink-500); line-height: 1.35; }

/* ─── faq teaser ─── */
.faq-list {
  margin-top: 32px;
  border-top: var(--hairline);
}
.faq-item {
  border-bottom: var(--hairline);
  padding: 24px 0;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent-600);
  transition: transform .3s ease;
  flex-shrink: 0;
  display: inline-block;
  width: 28px; height: 28px;
  text-align: center;
}
.faq-item[open] > summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding-top: 14px;
  color: var(--ink-700);
  max-width: 64ch;
}

/* ─── cta final ─── */
.cta-final {
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(212,137,42,0.14), transparent 70%);
  pointer-events: none;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 92px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 12px 0 24px;
  text-wrap: balance;
}
.cta-final h2 em { font-style: italic; color: var(--accent-600); }
.cta-final .lede { max-width: 540px; margin: 0 auto 36px; }
.cta-final .store-row { justify-content: center; }

/* ─── footer ─── */
.foot {
  background: var(--ink-900);
  color: var(--paper-200);
  padding: 80px 0 32px;
}
.foot .container { max-width: var(--max); }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(248,241,226,0.08);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot-brand .display {
  font-family: var(--font-brand);
  font-size: 40px; font-weight: 700;
  color: var(--paper-50);
  letter-spacing: -0.01em;
  margin: 14px 0 16px;
  line-height: 1;
}
.foot-brand p { color: var(--paper-200); max-width: 36ch; font-size: 14px; line-height: 1.55; }
.foot h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-200);
  margin: 0 0 18px;
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot a {
  color: var(--paper-100); font-size: 14px;
  transition: color .15s ease;
}
.foot a:hover { color: var(--accent-200); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  color: rgba(248,241,226,0.5);
  font-size: 12.5px;
}
@media (max-width: 600px) { .foot-bottom { flex-direction: column; gap: 12px; } }

/* ─── scroll reveal ───
   Opacity-only fade so we never touch the element's `transform`, that
   would clobber any rotation / float / tilt set by another rule on the
   same element. (CSS `animation` is a shorthand: a second rule replaces
   the first wholesale. So if we'd animated transform here, `.float-card`
   would stop floating and `.phone` would lose its tilt.)
   Content is visible by default; we opt INTO a fade-in once JS arms it. */
.reveal { opacity: 1; }
.reveal.reveal-armed {
  animation: revealFade .9s cubic-bezier(.2,.7,.2,1) .15s both;
  will-change: opacity;
}
@keyframes revealFade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
.reveal-armed.reveal-d1 { animation-delay: .23s; }
.reveal-armed.reveal-d2 { animation-delay: .31s; }
.reveal-armed.reveal-d3 { animation-delay: .39s; }
.reveal-armed.reveal-d4 { animation-delay: .47s; }

@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-armed { animation: none; }
}

/* ─── story-phone cascade animations (how-it-works) ─────────────────────
   Once a story-block scrolls into view, its phone screen plays out: the
   mini-body's direct children fade in one after another so the screen
   feels like it's "loading" rather than just being there. The handoff
   code goes a step further — each digit fills in sequentially, mimicking
   a real PIN-style entry. */
.story-block.reveal-armed .mini-body > *,
.story-block.reveal-armed .mini-handoff > *:not(.code) {
  opacity: 0;
  animation: storyStep 0.55s cubic-bezier(.2,.7,.2,1) forwards;
  will-change: opacity, transform;
}
.story-block.reveal-armed .mini-body > *:nth-child(1),
.story-block.reveal-armed .mini-handoff > *:nth-child(1):not(.code) { animation-delay: 0.20s; }
.story-block.reveal-armed .mini-body > *:nth-child(2),
.story-block.reveal-armed .mini-handoff > *:nth-child(2):not(.code) { animation-delay: 0.35s; }
.story-block.reveal-armed .mini-body > *:nth-child(3),
.story-block.reveal-armed .mini-handoff > *:nth-child(3):not(.code) { animation-delay: 0.50s; }
.story-block.reveal-armed .mini-body > *:nth-child(4),
.story-block.reveal-armed .mini-handoff > *:nth-child(4):not(.code) { animation-delay: 0.65s; }
.story-block.reveal-armed .mini-body > *:nth-child(5),
.story-block.reveal-armed .mini-handoff > *:nth-child(5):not(.code) { animation-delay: 0.80s; }
.story-block.reveal-armed .mini-body > *:nth-child(6),
.story-block.reveal-armed .mini-handoff > *:nth-child(6):not(.code) { animation-delay: 0.95s; }
@keyframes storyStep {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Code digits fill in one by one inside the .code wrapper (which stays
   visible the whole time so the cascade reads as "typing"). */
.story-block.reveal-armed .mini-handoff .code .digit {
  opacity: 0;
  animation: digitFill 0.32s cubic-bezier(.2,.7,.2,1) forwards;
}
.story-block.reveal-armed .mini-handoff .code .digit:nth-child(1) { animation-delay: 0.60s; }
.story-block.reveal-armed .mini-handoff .code .digit:nth-child(2) { animation-delay: 0.72s; }
.story-block.reveal-armed .mini-handoff .code .digit:nth-child(3) { animation-delay: 0.84s; }
.story-block.reveal-armed .mini-handoff .code .digit:nth-child(4) { animation-delay: 0.96s; }
@keyframes digitFill {
  from { opacity: 0; transform: translateY(8px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .story-block.reveal-armed .mini-body > *,
  .story-block.reveal-armed .mini-handoff > *,
  .story-block.reveal-armed .mini-handoff .code .digit {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ─── paper-fold transitions ─── */
.fold-divider {
  position: relative;
  height: 80px;
  display: flex; justify-content: center; align-items: center;
  pointer-events: none;
}
.fold-divider::before,
.fold-divider::after {
  content: '';
  position: absolute; top: 50%;
  height: 1px; width: calc(50% - 32px);
  background: linear-gradient(to right, transparent, var(--paper-300));
}
.fold-divider::before { left: 0; }
.fold-divider::after  { right: 0; background: linear-gradient(to left, transparent, var(--paper-300)); }
.fold-diamond {
  width: 14px; height: 14px;
  background: var(--accent-500);
  transform: rotate(45deg);
  position: relative;
}
.fold-diamond::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.18) 50%);
}

/* ─── mini app-style mock screens (inside .phone-screen) ─── */
.mini {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  background: var(--paper-50);
  font-size: 12px;
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.2,.7,.2,1);
}
.mini.active { opacity: 1; z-index: 2; }
.mini-bar {
  /* Height includes a top safe area so the title clears the Dynamic Island
     (notch sits ~38px down from the screen top; align-items: flex-end keeps
     the title pinned to the bar's bottom). */
  height: 76px; flex-shrink: 0;
  display: flex; align-items: flex-end;
  padding: 0 20px 8px;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink-900);
}
.mini-bar small {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  color: var(--ink-500);
  margin-left: 8px;
}
.mini-body {
  flex: 1; overflow: hidden;
  padding: 8px 16px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.mini-tab {
  height: 56px; flex-shrink: 0;
  background: rgba(250,248,243,0.92);
  backdrop-filter: blur(20px);
  border-top: var(--hairline);
  display: flex; align-items: center; justify-content: space-around;
  padding: 8px 0 14px;
}
.mini-tab .t {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--ink-300);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.mini-tab .t.active { color: var(--accent-600); }
.mini-tab .t-ico {
  width: 22px; height: 22px;
  display: grid; place-items: center;
}

/* Folds screen */
.mini-fold {
  border-radius: 14px;
  overflow: hidden;
  border: var(--hairline);
  background: var(--surface);
}
.mini-fold .cover {
  height: 72px;
  position: relative;
}
.cover-terra { background: linear-gradient(135deg, #fda871 0%, #ffc99c 50%, #ffe1b5 100%); }
.cover-sage  { background: linear-gradient(135deg, #6b8b4f 0%, #a4b889 55%, #d2dcb6 100%); }
.cover-clay  { background: linear-gradient(135deg, #5e56d6 0%, #948efc 50%, #c8c1ff 100%); }
.cover-ochre { background: linear-gradient(135deg, #e0712f 0%, #fda871 50%, #ffc99c 100%); }
.cover-plum  { background: linear-gradient(135deg, #4842b3 0%, #7a73f0 50%, #c8c1ff 100%); }
.mini-fold .body {
  padding: 10px 12px;
}
.mini-fold .name {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.mini-fold .meta {
  font-size: 10.5px;
  color: var(--ink-500);
  display: flex; align-items: center; gap: 6px;
}
.mini-fold .meta .badge {
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: 9px; font-weight: 600;
  padding: 2px 6px; border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Item card grid */
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mini-item {
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: var(--hairline);
}
.mini-item .photo {
  aspect-ratio: 1;
  position: relative;
}
.mini-item .meta {
  padding: 6px 8px 8px;
}
.mini-item .meta .name {
  font-size: 11px; font-weight: 600;
  color: var(--ink-900); line-height: 1.2;
  margin-bottom: 1px;
}
.mini-item .meta .sub {
  font-size: 9.5px; color: var(--ink-500);
}

/* Handoff code screen */
.mini-handoff {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 20px 24px;
}
.mini-handoff .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 12px;
}
.mini-handoff .h-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--ink-900);
}
.mini-handoff .h-sub {
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 28px;
  max-width: 200px;
}
.mini-handoff .code {
  display: flex; gap: 8px;
  margin-bottom: 28px;
}
.mini-handoff .code .digit {
  width: 42px; height: 52px;
  border-radius: 10px;
  border: 1.5px solid var(--paper-300);
  background: var(--surface);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  color: var(--ink-900);
}
.mini-handoff .code .digit.filled { border-color: var(--accent-500); background: var(--accent-50); }
.mini-handoff .h-photo {
  width: 140px; aspect-ratio: 1;
  border-radius: 14px;
  margin: 0 auto;
}

/* phone screen indicator */
.phone-dots {
  position: absolute;
  bottom: -32px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 4;
}
.phone-dots .pd {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--paper-300);
  transition: background .3s ease, width .3s ease;
}
.phone-dots .pd.active { background: var(--accent-500); width: 18px; border-radius: 999px; }

/* ─── parallax tilt ─── */
.tilt { transition: transform .8s cubic-bezier(.2,.7,.2,1); }

/* ─── page header (for sub-pages) ─── */
.page-header {
  padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 64px);
  position: relative;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px 500px at 70% 0%, rgba(240,201,118,0.22), transparent 60%);
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 16px 0 20px;
  text-wrap: balance;
  max-width: 14ch;
}
.page-header h1 em { font-style: italic; color: var(--accent-600); font-weight: 400; }
.page-header .lede { max-width: 620px; }

/* ─── prose blocks (about / blog / legal) ─── */
.prose {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 56px 0 16px;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 32px 0 10px;
}
.prose p { margin: 0 0 18px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink-900); font-weight: 600; }
.prose a { color: var(--accent-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote {
  margin: 28px 0;
  padding: 12px 0 12px 24px;
  border-left: 3px solid var(--accent-500);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-900);
}

/* ─── blog list ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; gap: 16px; }
.blog-card .art {
  aspect-ratio: 4/3; border-radius: 16px;
  position: relative; overflow: hidden;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.blog-card:hover .art { transform: scale(1.02); }
.blog-card .meta-row { display: flex; gap: 10px; font-size: 12px; color: var(--ink-500); }
.blog-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.blog-card p { color: var(--ink-700); margin: 0; }
.blog-card .read { color: var(--accent-700); font-weight: 600; font-size: 14px; }

/* big featured blog hero */
.blog-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  padding: 32px 0;
}
@media (max-width: 860px) { .blog-feature { grid-template-columns: 1fr; } }
.blog-feature .art {
  aspect-ratio: 5/4; border-radius: 20px;
  position: relative; overflow: hidden;
}
.blog-feature h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 14px 0 16px;
  text-wrap: balance;
}

/* ─── single field-note page ─── */
.note-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-500);
  text-decoration: none;
}
.note-back:hover { color: var(--accent-700); }
.note-hero { max-width: 820px; }
.note-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04; letter-spacing: -0.025em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.note-hero .dek {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  color: var(--ink-700);
  margin: 0 0 28px;
  max-width: 720px;
}
.note-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: 13px; color: var(--ink-500);
  border-top: 1px solid var(--paper-300);
  border-bottom: 1px solid var(--paper-300);
  padding: 16px 0;
  margin-top: 8px;
}
.note-meta-row .by {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-700);
}
.note-meta-row .by-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(20,23,42,0.18);
}
.note-art {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  position: relative; overflow: hidden;
  margin: 48px 0 0;
}
@media (max-width: 720px) { .note-art { aspect-ratio: 4 / 3; border-radius: 18px; } }
.note-body { padding-top: 64px; }
.note-body .prose { margin: 0 auto; }
.note-pull {
  margin: 40px -40px;
  padding: 32px 40px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink-900);
  border-top: 1px solid var(--paper-300);
  border-bottom: 1px solid var(--paper-300);
  text-wrap: balance;
}
@media (max-width: 720px) { .note-pull { margin: 32px 0; padding: 24px 0; font-size: 21px; } }
.note-sig {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-500);
  margin-top: 56px;
  font-size: 17px;
}
.note-tag-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 48px auto 0;
  max-width: 720px;
}
.note-related-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 24px;
}
.note-related-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  margin: 0;
}
.note-related-head a {
  font-size: 14px; font-weight: 600; color: var(--accent-700);
  text-decoration: none;
}
.note-related .blog-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
@media (max-width: 720px) { .note-related .blog-grid { grid-template-columns: 1fr; } }

/* ─── waitlist / download page ─── */
.dl-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 7vw, 80px) 0 clamp(64px, 9vw, 120px);
}
@media (max-width: 960px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-form {
  background: var(--surface);
  border: var(--hairline);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-2);
}
.field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 12.5px; font-weight: 500; color: var(--ink-700);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid var(--paper-300);
  background: var(--surface);
  color: var(--ink-900);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px var(--accent-100);
}

/* ─── grain overlay applied globally for warmth ─── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(20,23,42,0.5) 0, transparent 1px),
    radial-gradient(circle at 75% 50%, rgba(20,23,42,0.5) 0, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

/* ─── marquee ─── */
.marquee {
  background: var(--surface);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-500);
  letter-spacing: -0.01em;
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 12px;
}
.marquee-track .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-500);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* responsive helpers */
.only-desktop { display: revert; }
.only-mobile  { display: none; }
@media (max-width: 720px) {
  .only-desktop { display: none; }
  .only-mobile  { display: revert; }
}

/* selection */
::selection { background: var(--accent-200); color: var(--ink-900); }
