/* Datum landing page. Built from the Claude Design handoff "Datum Landing.dc.html"; tokens in tokens.css. */

html, body { margin: 0; background: #8F3A2E; }
a { color: var(--glass-text); text-decoration: none; }
a:hover { color: var(--glass-text); text-decoration: underline; text-underline-offset: 4px; }

@keyframes blob1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(19vw,20vh) scale(1.25); } 66% { transform: translate(7vw,44vh) scale(.9); } }
@keyframes blob2 { 0%,100% { transform: translate(0,0) scale(1); } 40% { transform: translate(-22vw,-24vh) scale(1.2); } 70% { transform: translate(-8vw,-48vh) scale(.85); } }
@keyframes blob3 { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(14vw,-28vh) rotate(180deg); } }
@keyframes sync { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Page ground ───────────────────────────────────────── */
.page {
  position: relative; min-height: 100vh; overflow: hidden;
  background: var(--pulse-gradient);
  color: var(--glass-text); font-family: var(--font-ui); font-weight: 300;
}
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.blobs-blur { position: absolute; inset: 0; filter: blur(70px); }
.blob { position: absolute; border-radius: 50%; }
.blob-1 { width: 60vw; height: 60vw; left: -18vw; top: -40vh; background: radial-gradient(circle, rgba(255,236,222,.8), rgba(255,236,222,0) 70%); animation: blob1 16s ease-in-out infinite; }
.blob-2 { width: 55vw; height: 55vw; right: -18vw; bottom: -40vh; background: radial-gradient(circle, rgba(50,12,8,.55), rgba(50,12,8,0) 70%); animation: blob2 20s ease-in-out infinite; }
.blob-3 { width: 40vw; height: 48vh; left: 38%; top: 36%; background: radial-gradient(ellipse, rgba(255,170,140,.6), rgba(255,170,140,0) 70%); animation: blob3 24s ease-in-out infinite; }

.rise { animation: datum-rise var(--dur-entrance) var(--ease-entrance) both; }

.eyebrow { font-weight: 500; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--glass-text-2); }
.small-muted { font-size: 13px; line-height: 1.5; color: var(--glass-text-2); }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px clamp(20px, 5vw, 96px) 0;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; display: block; }
.brand-name { font-family: var(--font-display); font-size: 22px; letter-spacing: .26em; line-height: 1; color: var(--glass-text); }

/* ── Main ──────────────────────────────────────────────── */
.main {
  position: relative; z-index: 2; box-sizing: border-box;
  max-width: 1480px; margin: 0 auto;
  padding: clamp(48px, 8vh, 112px) clamp(20px, 5vw, 96px) 340px;
  display: flex; flex-direction: column; gap: clamp(48px, 7vh, 96px);
}

/* Hero: copy + sign-up card beside the video on wide screens, stacked (card first) on phones. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; max-width: 820px; margin: 0 auto; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 5vw, 96px); }
  .hero { align-items: flex-start; text-align: left; margin: 0; }
  .hero h1 { font-size: clamp(40px, 4.2vw, 64px); }
  .hero-copy .waitlist-glow { margin: 0; }
}
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1.04; letter-spacing: -.01em; color: var(--glass-text); text-wrap: balance; }
.hero p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--glass-text); max-width: 50ch; text-wrap: pretty; }

.glass-panel {
  box-sizing: border-box; padding: 24px; border-radius: var(--radius-card);
  border: 1px solid var(--glass-stroke); background: var(--glass-fill);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}

/* ── Promo video ───────────────────────────────────────── */
.promo {
  position: relative; margin: 0 auto; overflow: hidden;
  width: min(100%, calc(clamp(420px, 100vh - 200px, 700px) * 9 / 16)); aspect-ratio: 9 / 16;
  border-radius: var(--radius-card); border: 1px solid var(--glass-stroke); background: var(--glass-fill);
  box-shadow: 0 40px 80px -24px rgba(51,25,26,.45);
}
.promo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sound-toggle {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: var(--radius-pill); cursor: pointer;
  border: 1px solid var(--glass-stroke); background: rgba(51,25,26,.35); color: var(--glass-text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--font-ui); font-weight: 500; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; line-height: 1;
}
.sound-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .sound-waves { display: none; }
.sound-toggle[aria-pressed="true"] .sound-waves { display: inline; }
.sound-toggle[aria-pressed="true"] .sound-off { display: none; }
.sound-toggle:focus-visible { outline: 2px solid var(--glass-text); outline-offset: 2px; }

/* ── Waitlist ──────────────────────────────────────────── */
/* A warm amber/gold outline travels round the card while a soft glow breathes behind it. */
@property --glow-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes glow-spin { to { --glow-angle: 360deg; } }
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,186,84,.45), 0 0 22px 2px rgba(255,186,84,.30); }
  50%      { box-shadow: 0 0 0 6px rgba(255,186,84,0), 0 0 48px 10px rgba(255,186,84,.55); }
}
.waitlist-glow { position: relative; width: 100%; max-width: 640px; margin: 0 auto; border-radius: var(--radius-card); animation: datum-rise var(--dur-entrance) var(--ease-entrance) both, glow-pulse 2.4s ease-in-out infinite; }
.waitlist-glow::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--glow-angle), #FFB547, rgba(255,186,84,.25) 25%, #FFE7A8 50%, rgba(255,186,84,.25) 75%, #FFB547);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: glow-spin 4s linear infinite;
}
.waitlist { width: 100%; display: flex; flex-direction: column; gap: 14px; border-color: transparent; }
.waitlist-lede { margin: 0; font-size: 15px; line-height: 1.5; color: var(--glass-text); }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 12px; }
.waitlist-row[hidden], .waitlist-done[hidden] { display: none; }
.input-wrap { display: block; flex: 1 1 260px; min-width: 0; }
.input-glass {
  display: block; width: 100%; box-sizing: border-box; height: var(--control-h); padding: 0 16px;
  border-radius: var(--radius-m); border: 1px solid var(--glass-stroke); outline: none;
  background: var(--glass-fill); color: var(--glass-text);
  font-family: var(--font-ui); font-weight: 300; font-size: var(--ui-m);
  transition: border-color var(--dur-hover) var(--ease-standard);
}
.input-glass::placeholder { color: var(--glass-text-2); }
.input-glass:focus-visible { border-color: var(--glass-text); }
.waitlist-done {
  display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 20px;
  border-radius: 14px; border: 1px solid var(--glass-stroke); background: var(--glass-fill);
  font-size: 15px;
}
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 13px; line-height: 1.5; color: var(--glass-text); }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-box {
  flex: none; width: 18px; height: 18px; margin-top: 1px; box-sizing: border-box; border-radius: 5px;
  border: 1px solid var(--glass-stroke); background: var(--glass-fill); display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-hover) var(--ease-standard), border-color var(--dur-hover) var(--ease-standard);
}
.consent-box svg { fill: none; stroke: var(--clay); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.consent input:checked + .consent-box { background: var(--paper-0); border-color: var(--paper-0); }
.consent input:checked + .consent-box svg { opacity: 1; }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--glass-text); outline-offset: 2px; }
.consent.is-missing .consent-box { border-color: var(--glass-text); box-shadow: 0 0 0 3px rgba(255,186,84,.6); }
.consent[hidden] { display: none; }
.sync-dot { width: 6px; height: 6px; border-radius: 6px; background: var(--glass-text); animation: sync 2.4s ease-in-out infinite; }

/* Glass-surface primary button (DS Button, surface="glass") */
.btn-glass {
  appearance: none; cursor: pointer; height: var(--control-h); padding: 0 var(--control-px);
  border-radius: var(--radius-pill); border: 1px solid transparent;
  background: var(--paper-0); color: var(--clay);
  font-family: var(--font-ui); font-weight: 500; font-size: var(--label-m); letter-spacing: var(--label-tracking);
  text-transform: uppercase; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--dur-hover) var(--ease-standard), color var(--dur-hover) var(--ease-standard), border-color var(--dur-hover) var(--ease-standard);
}
.btn-glass:hover { background: rgba(251,243,238,.96); }
.btn-glass:focus-visible { outline: 2px solid var(--glass-text); outline-offset: 2px; }
.btn-glass:disabled { opacity: .4; cursor: default; }

/* ── Story + previews ──────────────────────────────────── */
.split {
  margin-top: clamp(40px, 8vh, 96px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px clamp(32px, 5vw, 96px); align-items: start;
}
.story { display: flex; flex-direction: column; gap: 32px; max-width: 580px; }
.story-copy { display: flex; flex-direction: column; gap: 24px; }
.story-copy p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--glass-text); max-width: 56ch; text-wrap: pretty; }
.questions { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--glass-stroke); }
.questions li { padding: 14px 0; border-bottom: 1px solid var(--glass-stroke); font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: var(--glass-text); }
.story-copy .signoff { font-family: var(--font-display); font-size: 22px; line-height: 1.1; max-width: none; }

/* ── Features ─────────────────────────────────────────── */
.features { margin-top: clamp(40px, 10vh, 120px); scroll-margin-top: 32px; display: flex; flex-direction: column; gap: 32px; }
.features-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.features-head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; color: var(--glass-text); text-wrap: balance; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.feature-icon { fill: none; stroke: #FFD58A; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-n { font-family: var(--font-data); font-weight: 300; font-size: 11px; letter-spacing: .02em; color: var(--glass-text-2); }
.feature h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--glass-text); }
.feature p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--glass-text); text-wrap: pretty; }

/* ── Pricing ───────────────────────────────────────────── */
.pricing { display: flex; flex-direction: column; gap: 16px; }
.pricing p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--glass-text); text-wrap: pretty; }
.price-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 4px 0 16px; border-bottom: 1px solid var(--glass-stroke); }
.price-step { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.price-step + .price-step { border-left: 1px solid var(--glass-stroke); padding-left: 16px; }
.price-when { font-family: var(--font-display); font-size: 18px; line-height: 1; color: var(--glass-text-2); }
.price-figure { font-family: var(--font-display); font-size: clamp(32px, 4vw, 44px); line-height: 1; color: var(--glass-text); white-space: nowrap; }
.price-unit { font-weight: 500; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; color: var(--glass-text-2); }

.previews { position: sticky; top: 48px; display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 3vw, 40px); padding: 36px 0 0; }
.preview { position: relative; transform-origin: 50% 100%; }
.preview-label { position: absolute; left: 0; top: -28px; font-weight: 500; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--glass-text-2); white-space: nowrap; }
.phone-slot { width: 221px; height: 481px; position: relative; }
.phone-scale { width: 402px; height: 874px; transform: scale(.55); transform-origin: 0 0; }
.grain {
  position: absolute; inset: 0; pointer-events: none; border-radius: 26px; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ── Scroll cue ───────────────────────────────────────── */
@keyframes cue-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes cue-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.scroll-cue {
  position: fixed; left: 50%; bottom: 28px; z-index: 5; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--glass-text);
  border: 1px solid var(--glass-stroke); background: var(--glass-fill); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: cue-bob 1.8s ease-in-out infinite; transition: opacity var(--dur-base) var(--ease-standard), visibility var(--dur-base);
}
.scroll-cue::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--glass-text); animation: cue-ring 1.8s ease-out infinite; }
.scroll-cue svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scroll-cue:hover { text-decoration: none; background: var(--glass-fill-strong); }
.scroll-cue.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* ── Links inside copy ─────────────────────────────────── */
.small-muted a, .consent a, .cookie-banner p a, .sub-card p a, .sub-doc li a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ── Secondary glass button (outline) ──────────────────── */
.btn-outline {
  appearance: none; cursor: pointer; height: var(--control-h); padding: 0 var(--control-px);
  border-radius: var(--radius-pill); border: 1px solid var(--glass-stroke); background: var(--glass-fill); color: var(--glass-text);
  font-family: var(--font-ui); font-weight: 500; font-size: var(--label-m); letter-spacing: var(--label-tracking); text-transform: uppercase; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-hover) var(--ease-standard);
}
.btn-outline:hover { background: var(--glass-fill-strong); text-decoration: none; }
.btn-outline:focus-visible { outline: 2px solid var(--glass-text); outline-offset: 2px; }
a.btn-glass:hover { color: var(--clay); text-decoration: none; }

/* ── Cookie banner ─────────────────────────────────────── */
.cookie-banner {
  position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 560px;
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(107,42,34,.55); box-shadow: 0 24px 60px -20px rgba(51,25,26,.55);
  animation: datum-rise var(--dur-entrance) var(--ease-entrance) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--glass-text); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions > * { flex: 1 1 120px; padding: 0 12px; letter-spacing: .18em; white-space: nowrap; }
.has-cookie-banner .scroll-cue { opacity: 0; visibility: hidden; }

/* ── Subpages: thank you, 404, privacy ─────────────────── */
.subpage {
  position: relative; z-index: 2; box-sizing: border-box; min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(40px, 8vh, 96px) clamp(20px, 5vw, 96px) 160px;
}
.sub-card { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 40px); }
.sub-card h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.01em; color: var(--glass-text); text-wrap: balance; }
.sub-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--glass-text); text-wrap: pretty; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.sub-dot { width: 8px; height: 8px; border-radius: 8px; background: #FFD58A; }

/* Long-form text (privacy policy) */
.page-sub:has(.sub-doc) .subpage { align-items: flex-start; }
.sub-doc { max-width: 760px; gap: 0; background: rgba(107,42,34,.4); }
.sub-doc > .eyebrow { margin-bottom: 14px; }
.sub-doc h1 { margin-bottom: 8px; }
.sub-doc h2 { margin: 36px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--glass-text); }
.sub-doc h3 { margin: 22px 0 6px; font-weight: 500; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--glass-text-2); }
.sub-doc p, .sub-doc li { font-size: 15px; line-height: 1.7; color: var(--glass-text); }
.sub-doc p + p { margin-top: 12px; }
.sub-doc ul { margin: 8px 0 0; padding-left: 20px; }
.sub-doc li + li { margin-top: 6px; }
.sub-doc .doc-list { list-style: none; padding-left: 0; margin: 12px 0 0; }
.sub-doc .doc-list + p, .sub-doc p + .doc-list { margin-top: 12px; }
.sub-doc .doc-list li { display: grid; grid-template-columns: 2.2em 1fr; }
.sub-doc .doc-li-mark { font-family: var(--font-data); font-size: 13px; line-height: 1.95; color: var(--glass-text-2); }
.sub-doc p a, .sub-doc li a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.sub-doc .doc-meta { font-family: var(--font-data); font-size: 12px; letter-spacing: .02em; color: var(--glass-text-2); }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding: 0 clamp(20px, 5vw, 96px) 36px; pointer-events: none; }
.footer-legal a { color: var(--glass-text-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 500; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; pointer-events: auto; }

/* ── iPhone frame (402 × 874, shown at 55%) ────────────── */
.device {
  width: 402px; height: 874px; border-radius: 48px; overflow: hidden; position: relative; background: #F2F2F7;
  box-shadow: 0 40px 80px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.12);
  font-family: -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.device-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 126px; height: 37px; border-radius: 24px; background: #000; z-index: 50; }
.device-status { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; gap: 154px; align-items: center; justify-content: center; padding: 21px 24px 19px; box-sizing: border-box; }
.status-time, .status-icons { flex: 1; height: 22px; display: flex; align-items: center; justify-content: center; }
.status-time { padding-top: 1.5px; }
.status-time span { font-family: -apple-system, "SF Pro", system-ui; font-weight: 590; font-size: 17px; line-height: 22px; color: #000; }
.status-icons { gap: 7px; padding-top: 1px; padding-right: 1px; }
.device-screen { height: 100%; overflow: hidden; }
.device-home { position: absolute; bottom: 0; left: 0; right: 0; z-index: 60; height: 34px; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 8px; box-sizing: border-box; pointer-events: none; }
.device-home div { width: 139px; height: 5px; border-radius: 100px; background: rgba(0,0,0,.25); }

/* ── App screens inside the phones ─────────────────────── */
.app { height: 100%; position: relative; overflow: hidden; background: var(--paper-1); color: var(--ink); font-family: var(--font-ui); font-weight: 300; font-size: 15px; line-height: 1.5; }
.app-safe { height: 54px; background: var(--paper-0); }
.app-header { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: var(--paper-0); border-bottom: 1px solid var(--hairline); }
.app-brand { display: inline-flex; align-items: center; gap: 10px; }
.app-live { width: 7px; height: 7px; border-radius: 4px; background: var(--sage); animation: sync 2.4s ease-in-out infinite; }
.app-wordmark { font-family: var(--font-display); font-weight: 400; line-height: 1; font-size: 22px; letter-spacing: .04em; }
.app-body { padding: 20px 20px 110px; display: flex; flex-direction: column; gap: 12px; }

.t-label { font-family: var(--font-ui); font-weight: 500; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; line-height: 1.4; }
.t-label-s { font-size: 10px; }
.t-data { font-family: var(--font-data); font-weight: 300; font-size: 13px; letter-spacing: .02em; line-height: 1.6; }
.t-data-s { font-family: var(--font-data); font-weight: 300; font-size: 11px; letter-spacing: .02em; line-height: 1.6; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.clay { color: var(--clay); }
.row-between { display: flex; justify-content: space-between; align-items: center; }

.card { background: var(--paper-0); border: 1px solid var(--hairline); border-radius: 28px; padding: 24px; box-sizing: border-box; }
.countdown { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.countdown-n { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: -.01em; font-size: 64px; color: var(--clay); }
.countdown-u { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: -.01em; font-size: 30px; }
.countdown-meta { margin-top: 12px; }
.progress { margin-top: 14px; height: 2px; border-radius: 1px; background: var(--hairline); position: relative; }
.progress span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--clay); }

.card-gap { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gap-title { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: -.01em; font-size: 22px; white-space: nowrap; }
.gap-meta { margin-top: 8px; }
.plan-pill { flex: none; height: 40px; padding: 0 18px; border-radius: 20px; background: var(--clay); color: var(--paper-0); display: flex; align-items: center; font-weight: 500; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; line-height: 1.4; }

.card-year { padding: 20px; }
.month { margin-top: 14px; }
.weekdays { margin-top: 8px; display: grid; grid-template-columns: repeat(7, 1fr); font-size: 8px; color: var(--ink-3); text-align: center; }
.days { position: relative; margin-top: 4px; display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--hairline); }
.days > span:not(.visit) { height: 34px; display: flex; align-items: flex-start; justify-content: center; padding-top: 4px; box-sizing: border-box; font-family: var(--font-data); font-weight: 300; font-size: 11px; letter-spacing: .02em; line-height: 1; color: var(--ink); }
.days .visit {
  position: absolute; left: calc(0 * 100% / 7 + 2px); width: calc(4 * 100% / 7 - 4px); top: 87px; height: 12px;
  border-radius: 5px; background: var(--plum); display: flex; align-items: center; padding-left: 5px; overflow: hidden; box-sizing: content-box;
  font-family: var(--font-ui); font-weight: 500; font-size: 7px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; color: var(--paper-0); white-space: nowrap;
}
.legend { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 9px; color: var(--ink-2); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.key { width: 14px; height: 8px; border-radius: 3px; box-sizing: border-box; }
.key-booked { background: var(--ink-2); }
.key-planned { border: 1.5px dashed var(--ink-2); }
.key-idea { border: 1.5px dotted var(--ink-2); }

/* Floating tab bar on the pulse gradient */
.tabbar {
  position: absolute; left: 20px; right: 20px; bottom: 34px; height: 60px; border-radius: 30px; box-sizing: border-box; padding: 6px;
  background: radial-gradient(circle at 18% 8%, rgba(255,236,222,.55), rgba(255,236,222,0) 48%), radial-gradient(circle at 85% 92%, rgba(50,12,8,.45), rgba(50,12,8,0) 48%), var(--pulse-gradient);
  box-shadow: 0 14px 40px -12px rgba(107,42,34,.45);
  display: flex; align-items: center; justify-content: space-between;
}
.tab { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: rgba(251,243,238,.8); }
.tab svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tab-on { width: auto; gap: 8px; padding: 0 16px; border-radius: 24px; background: rgba(255,255,255,.22); border: 1px solid var(--glass-stroke); color: var(--glass-text); }
.tab-on span { font-weight: 500; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; line-height: 1.4; white-space: nowrap; }

/* Things to do: DS Tabs (inline), IdeaCard, Tag, Badge, Button */
.tabs { display: flex; align-items: stretch; gap: 28px; border-bottom: 1px solid var(--hairline); }
.tabs-item { position: relative; padding: 0 0 12px; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: var(--label-m); letter-spacing: var(--label-tracking); text-transform: uppercase; line-height: 1; color: var(--ink-3); }
.tabs-item.is-on { color: var(--ink); }
.tabs-item.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 1px; background: var(--clay); }

.idea { padding: 18px 20px; border-radius: var(--radius-card); box-sizing: border-box; }
.idea-idea { border: 1.5px dotted var(--ink-3); background: transparent; }
.idea-idea .tag { border-style: dotted; }
.idea-planned { border: 1.5px dashed var(--brass); background: var(--paper-2); }
.idea-planned .tag { border-style: dashed; }
.idea-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.idea-title { font-family: var(--font-display); font-weight: 400; font-size: var(--display-xs); line-height: 1.1; color: var(--ink); }
.idea-note { margin: 8px 0 0; font-weight: 300; font-size: var(--ui-s); line-height: 1.5; color: var(--ink-2); }
.idea-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--hairline); color: var(--ink); font-family: var(--font-data); font-weight: 300; font-size: var(--data-s); letter-spacing: var(--data-tracking); line-height: 1; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--brass); color: var(--paper-0); font-weight: 500; font-size: 9px; letter-spacing: var(--label-tracking); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.btn-primary { height: var(--control-h); padding: 0 var(--control-px); border-radius: var(--radius-pill); background: var(--action); color: var(--text-on-clay); font-weight: 500; font-size: var(--label-m); letter-spacing: var(--label-tracking); text-transform: uppercase; line-height: 1; display: flex; align-items: center; justify-content: center; }

/* Phones: stack the two previews when they no longer fit side by side. */
@media (max-width: 560px) {
  .previews { position: static; flex-direction: column; align-items: center; gap: 64px; }
  .waitlist-row .btn-glass { flex: 1 1 100%; }
  .price-steps { gap: 12px; }
  .price-step + .price-step { padding-left: 12px; }
  .price-figure { font-size: 28px; }
  /* Keep the sign-up card on the first screen of a phone. */
  .site-header { padding-top: 20px; }
  .main { padding-top: 20px; }
  .hero-copy { gap: 22px; }
  .hero { gap: 14px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .waitlist { padding: 20px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .sync-dot, .app-live, .scroll-cue, .scroll-cue::after, .waitlist-glow::before { animation: none; }
  .waitlist-glow { animation: none; box-shadow: 0 0 28px 4px rgba(255,186,84,.4); }
}
