/* ─────────────────────────────────────────────────────────────
   Timer Landing Page · stylesheet
   Daybreak palette · responsive · animation · light + dark
   Static HTML/CSS build — no framework required.
   ───────────────────────────────────────────────────────────── */

/* ─── BASE / RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body { min-height: 100vh; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--primary); color: var(--primary-ink); }

/* tabular nums for clock-style numbers */
.tnum { font-variant-numeric: tabular-nums; }

/* wordmark */
.wm { font-family: 'Bricolage Grotesque', serif; font-weight: 700; display: inline-flex; align-items: baseline; line-height: 1; color: var(--text); letter-spacing: -.04em; }
.wm__dot {
  display: inline-block; border-radius: 50%; background: var(--primary);
  align-self: center; position: relative;
}

/* honor reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── THEME TOKENS ─── */
:root {
  --bg: #F4EBDD;
  --bg-alt: #FBF5EA;
  --surface: #FFFFFF;
  --surface-2: #FBF5EA;
  --text: #2A2014;
  --text-soft: #6E5E4A;
  --text-muted: #9D8B72;
  --line: rgba(42,32,20,0.08);
  --line-strong: rgba(42,32,20,0.16);
  --primary: #D55E3A;
  --primary-soft: #F7D9C8;
  --primary-ink: #FFF7EE;
  --focus: #D55E3A;
  --focus-soft: #F7D9C8;
  --project: #4E8C5A;
  --project-soft: #D6E8DB;
  --meetup: #3D7A86;
  --meetup-soft: #CFE2E6;
  --care: #C28233;
  --care-soft: #F2DEB9;
  --trip: #7B4FAA;
  --trip-soft: #E2D2F2;
  --success: #3F8A5F;
  --dark: #1A120A;
  --section-dark: #1A120A;
  --section-dark-text: #F2E9DA;
  --section-dark-line: rgba(255,255,255,.08);
  --cta-bg: #2A2014;
  --cta-ink: #FFF7EE;
  --nav-bg: rgba(244,235,221,.78);
  --shadow-soft: 0 8px 24px rgba(60,40,20,.10);
  --shadow-card: 0 20px 50px rgba(60,40,20,.08);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #14100A;
  --bg-alt: #1E1710;
  --surface: #221B12;
  --surface-2: #1A150E;
  --text: #F4EBDD;
  --text-soft: #C2B299;
  --text-muted: #8C7A62;
  --line: rgba(244,235,221,0.07);
  --line-strong: rgba(244,235,221,0.14);
  --primary: #E97A52;
  --primary-soft: rgba(233,122,82,.22);
  --primary-ink: #14100A;
  --focus: #E97A52;
  --focus-soft: rgba(233,122,82,.22);
  --project: #6FB07E;
  --project-soft: rgba(78,140,90,.22);
  --meetup: #6FB0BC;
  --meetup-soft: rgba(111,176,188,.20);
  --care: #DEA85F;
  --care-soft: rgba(222,168,95,.22);
  --trip: #B187D8;
  --trip-soft: rgba(177,135,216,.22);
  --success: #6FBF8A;
  --section-dark: #0B0805;
  --section-dark-text: #F2E9DA;
  --section-dark-line: rgba(255,255,255,.06);
  --cta-bg: #0B0805;
  --cta-ink: #FFF7EE;
  --nav-bg: rgba(20,16,10,.78);
  --shadow-soft: 0 8px 24px rgba(0,0,0,.4);
  --shadow-card: 0 20px 50px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* smooth theme transition */
html, body, .nav, .nav--scrolled,
.feat-card, .stat-card, .family-board, .footer,
.section--alt, .drawer, .footer__locale, .hero__eyebrow {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

/* ─── LAYOUT PRIMITIVES ─── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section--dark { background: var(--section-dark); color: var(--section-dark-text); }
.section--alt { background: var(--bg-alt); }

/* ─── REVEAL ON SCROLL (progressive enhancement — only hides when JS present) ─── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* final-state lock — guarantees content is visible even if a browser throttles
   the transition (e.g. background tab); added by JS after the fade duration. */
.js .reveal.reveal-shown { opacity: 1; transform: none; transition: none; }

/* stagger children */
.is-in > .stagger > * { animation: stagger-in .7s cubic-bezier(.2,.7,.2,1) backwards; }
.is-in > .stagger > *:nth-child(1) { animation-delay: .05s; }
.is-in > .stagger > *:nth-child(2) { animation-delay: .15s; }
.is-in > .stagger > *:nth-child(3) { animation-delay: .25s; }
.is-in > .stagger > *:nth-child(4) { animation-delay: .35s; }
.is-in > .stagger > *:nth-child(5) { animation-delay: .45s; }
.is-in > .stagger > *:nth-child(6) { animation-delay: .55s; }
@keyframes stagger-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ─── TYPOGRAPHY ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 6px; background: var(--primary);
  animation: pulse 1.6s ease-in-out infinite;
}
.h-display {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
  margin: 0;
}
.h-title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 0;
}
.h-section {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0;
}
.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; background: none;
  font-weight: 700; font-size: 14px; letter-spacing: -.01em;
  padding: 12px 18px; border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap; cursor: pointer;
  text-decoration: none;
}
.btn--sm { padding: 10px 14px; font-size: 13px; border-radius: 12px; }
.btn--lg { padding: 15px 22px; font-size: 15.5px; border-radius: 16px; gap: 10px; }
.btn--primary {
  background: var(--text); color: var(--bg);
  box-shadow: 0 8px 24px color-mix(in oklab, var(--text) 18%, transparent), 0 1px 0 rgba(255,255,255,.12) inset;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px color-mix(in oklab, var(--text) 26%, transparent), 0 1px 0 rgba(255,255,255,.12) inset; }
.btn--outline {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--outline:hover { background: var(--line); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--line); }
.btn--accent {
  background: var(--primary); color: var(--primary-ink);
  box-shadow: 0 8px 24px rgba(213,94,58,.32), 0 1px 0 rgba(255,255,255,.2) inset;
}
.btn--accent:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(213,94,58,.42), 0 1px 0 rgba(255,255,255,.2) inset; }
.btn__hint {
  font-size: 11px; font-weight: 600; opacity: .7;
  padding-left: 8px; margin-left: 4px;
  border-left: 1px solid rgba(255,255,255,.2);
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.nav--scrolled {
  padding: 10px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: inline-flex; align-items: center; transition: transform .2s ease; }
.nav__brand:hover { transform: scale(1.04); }
.nav__links { display: flex; gap: 4px; align-items: center; }
.nav__link {
  padding: 8px 14px; border-radius: 100px;
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--text); background: var(--line); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav__burger {
  display: none; border: none; background: transparent;
  padding: 8px; color: var(--text); border-radius: 10px;
}
.nav__burger:hover { background: var(--line); }

/* mode toggles — lang + theme */
.nav__toggles {
  display: inline-flex; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; padding: 3px; gap: 2px;
}
.nav__tg-btn {
  position: relative;
  border: none; background: transparent; color: var(--text-soft);
  width: 32px; height: 32px; border-radius: 100px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color .2s ease, background .2s ease;
  font-size: 11.5px; font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.nav__tg-btn:hover { color: var(--text); }
.nav__tg-btn--active { background: var(--text); color: var(--bg); }
.nav__tg-btn--lang { width: auto; padding: 0 10px; min-width: 32px; }
.nav__tg-divider { width: 1px; height: 18px; background: var(--line); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  padding: 18px clamp(20px,5vw,32px);
  display: flex; flex-direction: column; gap: 24px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  visibility: hidden;
}
.drawer--open { transform: translateX(0); visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__close { border: none; background: var(--line); padding: 10px; border-radius: 12px; color: var(--text); }
.drawer__links { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-family: 'Bricolage Grotesque', serif; font-weight: 600;
  font-size: 22px; letter-spacing: -.02em; color: var(--text);
}
.drawer__cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-bottom: 24px; }
.drawer__cta .btn { justify-content: center; }

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: clamp(110px, 14vw, 180px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55;
  animation: drift 24s ease-in-out infinite alternate;
}
.hero__blob--1 {
  width: 480px; height: 480px; top: -120px; right: -80px;
  background: radial-gradient(circle, color-mix(in oklab, var(--primary) 45%, transparent), transparent 70%);
}
.hero__blob--2 {
  width: 420px; height: 420px; bottom: -100px; left: -100px;
  background: radial-gradient(circle, color-mix(in oklab, var(--meetup) 35%, transparent), transparent 70%);
  animation-duration: 32s; animation-delay: -8s;
}
[data-theme="dark"] .hero__blob { opacity: .35; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.1); }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 100px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--text-soft);
  font-family: 'JetBrains Mono', monospace; letter-spacing: -.01em;
  text-transform: none;
  transition: transform .2s ease;
}
.hero__eyebrow:hover { transform: translateY(-1px); }
.hero__dot {
  width: 6px; height: 6px; border-radius: 6px; background: var(--primary);
  box-shadow: 0 0 0 4px rgba(213,94,58,.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.hero__title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -.035em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero__accent {
  position: relative; display: inline-block;
  color: var(--primary);
}
.hero__accent-text { position: relative; z-index: 1; }
.hero__underline {
  position: absolute; left: -2%; right: -2%; bottom: -.08em;
  width: 104%; height: .35em; color: var(--primary);
  opacity: .55;
  animation: draw-line 1.4s cubic-bezier(.2,.7,.2,1) .4s backwards;
}
@keyframes draw-line {
  from { stroke-dasharray: 0 600; }
  to { stroke-dasharray: 600 0; }
}
.hero__underline path { stroke-dasharray: 600; stroke-dashoffset: 0; }

.hero__sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55; color: var(--text-soft);
  margin: 22px 0 0; max-width: 54ch;
  text-wrap: pretty;
}
.hero__sub strong { color: var(--text); font-weight: 700; }

.hero__ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero__bullets {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 13px; color: var(--text-soft); font-weight: 600;
}
.hero__bullets li { display: inline-flex; align-items: center; gap: 8px; }
.bullet-dot { width: 8px; height: 8px; border-radius: 8px; display: inline-block; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 32px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  position: relative;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: -1.5px; width: 4px; height: 8px;
  border-radius: 4px; background: var(--primary);
  animation: scroll-bob 1.8s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { top: 0; opacity: 1; }
  100% { top: 30px; opacity: 0; }
}

/* ─── PHONE STAGE & PHONE ─── */
.phone-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 600px;
  perspective: 1400px;
}
.phone {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 9/19.5;
  background: #0E0A05;
  border-radius: 52px;
  box-shadow:
    0 40px 80px rgba(40,28,16,.32),
    0 0 0 2px rgba(0,0,0,.5),
    0 0 0 4px rgba(255,255,255,.15),
    inset 0 0 0 2px rgba(255,255,255,.06);
  overflow: hidden;
  animation: phone-float 6s ease-in-out infinite;
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotateY(-6deg) rotateX(2deg); }
  50% { transform: translateY(-12px) rotateY(-4deg) rotateX(1deg); }
}
.phone__wallpaper {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(213,94,58,.28), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(61,122,134,.22), transparent 60%),
    linear-gradient(180deg, #1A120A 0%, #0A0604 100%);
}
.phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 32px; background: #000; border-radius: 100px;
  z-index: 3;
}
.phone__home {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 5px; border-radius: 4px; background: rgba(255,255,255,.45);
  z-index: 3;
}
.phone__time {
  position: absolute; top: 70px; left: 0; right: 0;
  text-align: center; color: #F2E9DA;
  font-family: 'Bricolage Grotesque', serif;
}
.phone__date { font-size: 13px; font-weight: 500; opacity: .8; letter-spacing: -.01em; }
.phone__clock {
  font-size: 88px; font-weight: 400; letter-spacing: -.05em;
  line-height: .9; margin-top: 4px;
  text-shadow: 0 4px 20px rgba(0,0,0,.4);
}

/* ── Dynamic Island ── */
.di {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  background: #000; color: #fff;
  z-index: 5;
  transition: width .55s cubic-bezier(.4, 1.6, .4, 1),
              height .55s cubic-bezier(.4, 1.6, .4, 1),
              border-radius .55s cubic-bezier(.4, 1.6, .4, 1),
              top .4s ease;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', system-ui;
  font-size: 12px;
}
.di > * { transition: opacity .25s ease .12s; }
.di--minimal { width: 95px; height: 32px; border-radius: 100px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.di--minimal .di__pill { display: inline-flex; align-items: center; gap: 4px; }
.di--minimal .di__time { font-weight: 600; color: #FFD5C2; font-size: 11px; padding-right: 6px; }
.di--compact { width: 78%; height: 36px; border-radius: 100px; display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.di__compact { display: flex; align-items: center; gap: 8px; width: 100%; }
.di__compact .di__time { font-weight: 700; font-size: 13px; color: #fff; }
.di__compact .di__bar { flex: 1; height: 4px; background: rgba(255,255,255,.18); border-radius: 100px; overflow: hidden; }
.di__compact .di__bar-fill { display: block; height: 100%; background: #D55E3A; transition: width 1s linear; }
.di--expanded { width: 86%; height: 130px; border-radius: 36px; padding: 14px 16px; top: 12px; }
.di__expanded { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.di__row { display: flex; align-items: center; gap: 10px; }
.di__col { flex: 1; min-width: 0; }
.di__title { font-weight: 700; font-size: 14px; line-height: 1.1; }
.di__sub { font-size: 11px; opacity: .55; margin-top: 2px; }
.di__time-big { font-family: 'Bricolage Grotesque', serif; font-weight: 600; font-size: 22px; letter-spacing: -.04em; }
.di__progress { height: 4px; background: rgba(255,255,255,.18); border-radius: 100px; overflow: hidden; }
.di__progress-fill { height: 100%; background: #D55E3A; transition: width 1s linear; }
.di__actions { display: flex; gap: 6px; }
.di__btn {
  border: none; background: rgba(255,255,255,.14); color: #fff;
  width: 36px; height: 26px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.di__btn--ghost { width: auto; padding: 0 12px; font-size: 11px; font-weight: 700; }
.di__icon-dot {
  width: 20px; height: 20px; border-radius: 100px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.di__icon-dot--small { width: 16px; height: 16px; }

/* ── Live Activity stack on lock screen ── */
.la-stack {
  position: absolute; left: 14px; right: 14px;
  bottom: 28px; display: flex; flex-direction: column; gap: 8px;
}
.la {
  background: rgba(28,20,12,.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  color: #F2E9DA;
  border-radius: 22px;
  padding: 12px 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset;
  border: 1px solid rgba(255,255,255,.06);
  font-size: 11.5px;
  transition: transform .3s ease;
  animation: la-in .8s cubic-bezier(.2,.7,.2,1) backwards;
}
.la:nth-child(1) { animation-delay: .6s; }
.la:nth-child(2) { animation-delay: .75s; }
.la:nth-child(3) { animation-delay: .9s; }
@keyframes la-in {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.la__head { display: flex; align-items: center; justify-content: space-between; }
.la__chip {
  font-size: 9.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 100px; letter-spacing: -.005em;
}
.la__time { font-family: 'Bricolage Grotesque', serif; font-weight: 600; font-size: 14px; }
.la__title {
  font-family: 'Bricolage Grotesque', serif; font-weight: 600;
  font-size: 15px; margin: 4px 0; letter-spacing: -.015em;
}
.la__bar {
  height: 4px; background: rgba(255,255,255,.08);
  border-radius: 100px; overflow: hidden; margin-top: 6px;
}
.la__bar span { display: block; height: 100%; transition: width 1s linear; }
.la__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; font-size: 10.5px; opacity: .7;
}
.la__pill {
  font-size: 10px; font-weight: 700;
  padding: 4px 9px; border-radius: 100px;
  background: rgba(255,255,255,.1); opacity: 1;
  display: inline-flex; align-items: center; gap: 4px;
}
.la__pill--check { background: #3F8A5F; color: #fff; }
.la__avatars { display: flex; align-items: center; margin-top: 6px; gap: 6px; }
.la-avatar {
  width: 22px; height: 22px; border-radius: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 700;
  border: 2px solid rgba(28,20,12,.78);
  margin-left: -6px;
}
.la-avatar:first-of-type { margin-left: 0; }
.la-avatar--ok { box-shadow: 0 0 0 2px #3F8A5F; }
.la__eta { font-size: 10.5px; margin-left: 6px; opacity: .8; }

/* floating chips around phone */
.float-chip {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 14px 10px 12px;
  font-size: 12.5px; color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 22px rgba(60,40,20,.10);
  white-space: nowrap;
  animation: chip-bob 6s ease-in-out infinite;
  z-index: 4;
}
.float-chip strong { color: var(--text); font-weight: 700; }
.float-chip__dot { width: 8px; height: 8px; border-radius: 8px; }
.float-chip--1 { top: 8%; right: -2%; animation-delay: 0s; }
.float-chip--2 { top: 45%; left: -8%; animation-delay: -2s; }
.float-chip--3 { bottom: 12%; right: 0%; animation-delay: -4s; }
@keyframes chip-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── FEATURES SECTION ─── */
.features__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.features__intro { max-width: 640px; }
.features__intro .h-display { margin-top: 14px; }
.features__intro .lede { margin-top: 22px; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.feat-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(60,40,20,.10);
}
.feat-card__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg-feat-soft) 0%, var(--surface) 65%);
  opacity: .55;
}
.feat-card__icon {
  width: 52px; height: 52px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-feat-soft); color: var(--bg-feat-strong);
  margin-bottom: 18px;
  transition: transform .3s ease;
}
.feat-card:hover .feat-card__icon { transform: rotate(-6deg) scale(1.08); }
.feat-card__title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600; font-size: 22px; letter-spacing: -.02em;
}
.feat-card__desc {
  margin: 10px 0 18px; font-size: 14px; line-height: 1.5;
  color: var(--text-soft);
}
.feat-card__mock {
  margin-top: auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  font-size: 11.5px;
  color: var(--text-soft);
}
.feat-card__mock-title { font-weight: 700; color: var(--text); font-size: 13px; }
.feat-card__mock-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.feat-card__bar { height: 4px; background: var(--line); border-radius: 100px; overflow: hidden; margin-top: 8px; }
.feat-card__bar span { display: block; height: 100%; background: var(--bg-feat-strong); transition: width 1s linear; }

/* ─── LIVE ACTIVITY DARK SECTION ─── */
.la-sec { background: var(--section-dark); color: var(--section-dark-text); }
.la-sec .eyebrow { color: rgba(242,233,218,.55); }
.la-sec .h-display { color: var(--section-dark-text); }
.la-sec .lede { color: rgba(242,233,218,.75); }

.la-sec__head { max-width: 700px; }
.la-sec__demo {
  margin-top: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
}

/* big dynamic island demo */
.di-demo {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  border-radius: 32px;
  padding: 44px 32px;
  border: 1px solid rgba(255,255,255,.08);
  min-height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.di-demo__device {
  position: relative;
  width: 100%; max-width: 340px;
  height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.di-demo__island {
  background: #000; color: #fff;
  font-family: 'Plus Jakarta Sans', system-ui;
  transition: all .6s cubic-bezier(.4, 1.6, .4, 1);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,.6);
  display: flex; align-items: center;
}
.di-demo__island--minimal {
  width: 100px; height: 36px; border-radius: 100px;
  justify-content: space-between; padding: 0 7px;
}
.di-demo__island--compact {
  width: 280px; height: 38px; border-radius: 100px;
  gap: 10px; padding: 0 10px;
}
.di-demo__island--expanded {
  width: 320px; height: 110px; border-radius: 40px;
  padding: 14px 16px; flex-direction: column; align-items: stretch; gap: 8px;
}
.di-demo__states {
  display: flex; gap: 8px; margin-top: 32px;
}
.di-demo__state-btn {
  padding: 8px 14px; border-radius: 100px;
  background: rgba(255,255,255,.06); color: rgba(242,233,218,.7);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.di-demo__state-btn--active {
  background: var(--primary); color: #fff; border-color: transparent;
}

.la-sec__points { display: flex; flex-direction: column; gap: 18px; }
.la-point {
  padding: 22px 24px; border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  display: flex; gap: 18px; align-items: flex-start;
  transition: background .25s ease;
}
.la-point:hover { background: rgba(255,255,255,.07); }
.la-point__num {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 32px; font-weight: 600; letter-spacing: -.04em;
  color: var(--primary); line-height: 1; min-width: 48px;
}
.la-point__title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600; font-size: 20px; letter-spacing: -.02em;
  color: #F2E9DA;
}
.la-point__desc {
  font-size: 14px; margin-top: 6px; line-height: 1.55;
  color: rgba(242,233,218,.65);
}

/* ─── FAMILY SECTION ─── */
.family-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center; margin-top: 56px;
}
.family-board {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(60,40,20,.08);
}
.family-board__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.family-board__title { font-family: 'Bricolage Grotesque', serif; font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.family-board__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  background: var(--primary-soft); color: var(--primary);
}
.family-board__live::before {
  content: ""; width: 6px; height: 6px; border-radius: 6px;
  background: var(--primary); animation: pulse 1.4s ease-in-out infinite;
}

.member-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.member-row:last-child { border-bottom: none; }
.member-row__avatar {
  width: 44px; height: 44px; border-radius: 44px;
  color: #fff; font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.member-row__name { font-weight: 700; font-size: 15px; }
.member-row__status { font-size: 12.5px; color: var(--text-soft); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.status-dot { width: 7px; height: 7px; border-radius: 7px; }
.member-row__eta {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600; font-size: 18px; letter-spacing: -.02em;
  margin-left: auto;
}
.member-row__badge {
  padding: 4px 10px; border-radius: 100px;
  background: var(--bg-alt); color: var(--text-soft);
  font-size: 11px; font-weight: 600;
}
.member-row__badge--ok { background: rgba(63,138,95,.14); color: #3F8A5F; }

.family-stats { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.family-stat { padding: 14px; background: var(--bg-alt); border-radius: 16px; }
.family-stat__num { font-family: 'Bricolage Grotesque', serif; font-weight: 600; font-size: 26px; letter-spacing: -.02em; }
.family-stat__label { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }

/* ─── STATS SECTION ─── */
.stats-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px;
  margin-top: 48px;
}
.stat-card {
  padding: 28px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.stat-card--big { grid-row: span 2; min-height: 360px; display: flex; flex-direction: column; }
.stat-card__label { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }
.stat-card__value {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600; font-size: 64px; letter-spacing: -.04em;
  line-height: .95; margin-top: 8px;
}
.stat-card__unit { font-size: 28px; opacity: .5; margin-left: 4px; }
.stat-card__sub { font-size: 13px; color: var(--text-soft); margin-top: 10px; }

/* fire/streak */
.streak-fire {
  margin-top: auto;
  display: flex; gap: 4px; align-items: flex-end;
}
.streak-bar {
  flex: 1; height: 24px; border-radius: 4px;
  background: linear-gradient(to top, var(--primary), var(--primary-soft));
  opacity: var(--op, .3);
  transition: opacity .3s ease;
}

.weekday-bars {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 8px; margin-top: 20px; align-items: end;
  min-height: 140px;
}
.weekday-bar {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.weekday-bar__col {
  width: 100%; background: var(--primary-soft);
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: height 1s cubic-bezier(.2,.7,.2,1);
}
.weekday-bar--active .weekday-bar__col { background: var(--primary); }
.weekday-bar__label { font-size: 10px; font-weight: 600; color: var(--text-muted); }

/* ring */
.ring-wrap { display: flex; align-items: center; justify-content: center; margin-top: 12px; }
.ring-wrap svg { width: 100%; max-width: 220px; height: auto; }
.ring-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

/* ─── THEMES SECTION ─── */
.themes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.theme-card {
  padding: 26px; border-radius: 28px;
  border: 1px solid var(--theme-line, var(--line));
  background: var(--theme-bg, var(--bg));
  color: var(--theme-text, var(--text));
  transition: transform .3s ease, box-shadow .3s ease;
}
.theme-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(60,40,20,.10); }
.theme-card__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.theme-card__title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600; font-size: 24px; letter-spacing: -.02em;
}
.theme-card__tag {
  font-size: 10.5px; font-weight: 700; padding: 4px 10px;
  border-radius: 100px; background: var(--theme-soft, var(--surface));
  color: var(--theme-primary, var(--primary));
}
.theme-card__sub { font-size: 13px; opacity: .65; }
.theme-swatches {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 20px;
}
.theme-swatch { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--theme-line, var(--line)); }
.theme-card__preview {
  margin-top: 18px; padding: 14px;
  background: var(--theme-surface, var(--surface));
  border: 1px solid var(--theme-line, var(--line));
  border-radius: 16px;
  font-size: 13px;
}
.theme-card__preview-time {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600; font-size: 32px;
  letter-spacing: -.04em; line-height: 1;
  color: var(--theme-primary);
}
.theme-card__preview-bar { height: 6px; background: var(--theme-line, var(--line)); border-radius: 100px; overflow: hidden; margin-top: 12px; }
.theme-card__preview-bar span { display: block; height: 100%; background: var(--theme-primary); width: 62%; }

/* ─── CTA SECTION ─── */
.cta {
  position: relative;
  padding: clamp(60px, 9vw, 120px) clamp(28px, 5vw, 64px);
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--cta-bg); color: var(--cta-ink);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta__bg {
  position: absolute; inset: 0; z-index: -1; opacity: .25;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(213,94,58,.6), transparent 60%);
}
.cta__bg-orbit {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 50% 100%, transparent 30%, rgba(255,247,238,.08) 30.2%, transparent 30.4%);
  background-size: 100% 100%;
  animation: orbit-pulse 4s ease-in-out infinite;
}
@keyframes orbit-pulse { 0%, 100% { opacity: .4; } 50% { opacity: .8; } }
.cta .h-display { color: var(--cta-ink); }
.cta__sub { font-size: clamp(15px, 1.2vw, 18px); color: rgba(255,247,238,.65); margin-top: 18px; max-width: 56ch; margin-left: auto; margin-right: auto; line-height: 1.55; }
.cta__ctas { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__qr {
  margin-top: 28px; font-size: 12px;
  color: rgba(255,247,238,.5);
  font-family: 'JetBrains Mono', monospace;
}

/* ─── FOOTER ─── */
.footer { padding: clamp(60px, 8vw, 100px) 0 32px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer__brand-col { max-width: 320px; }
.footer__brand-desc { font-size: 13px; color: var(--text-soft); line-height: 1.55; margin-top: 14px; }
.footer__col-title { font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; font-family: 'JetBrains Mono', monospace; }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__list a { font-size: 14px; color: var(--text-soft); transition: color .15s ease; }
.footer__list a:hover { color: var(--primary); }
.footer__bot {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
}
.footer__meta { font-size: 12.5px; color: var(--text-muted); }
.footer__locale {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; font-size: 12px; color: var(--text-soft); font-weight: 600;
}

/* ─── DARK MODE POLISH ─── */
.stat-card--streak {
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--bg) 100%);
}
.cta-mid-card { background: linear-gradient(160deg, var(--meetup-soft) 0%, var(--surface) 100%); }
[data-theme="dark"] .feat-card { box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="dark"] .stat-card { box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="dark"] .float-chip { box-shadow: 0 8px 22px rgba(0,0,0,.4); }
[data-theme="dark"] .family-board { box-shadow: 0 20px 50px rgba(0,0,0,.4), inset 0 0 0 1px var(--line); }
[data-theme="dark"] .feat-card__bg { opacity: .25; }
[data-theme="dark"] .btn--primary { background: var(--primary-ink, var(--text)); color: var(--bg); }
/* dark-mode primary CTA inverts to light surface */
[data-theme="dark"] .btn--primary { background: var(--text); color: var(--bg); }
[data-theme="dark"] .nav__tg-btn--active { background: var(--primary); color: var(--primary-ink); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card--big { grid-row: span 1; min-height: 280px; }
  .themes-grid { grid-template-columns: 1fr; }
  .la-sec__demo { grid-template-columns: 1fr; gap: 40px; }
  .family-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost, .nav__cta .btn--primary span:not(.btn__hint) { display: none; }
  .nav__cta .btn--primary { padding: 10px; }
  .nav__cta .btn--primary .btn__hint { display: none; }
  .nav__toggles { display: none; }
  .nav__burger { display: inline-flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__phone-wrap { display: flex; justify-content: center; }
  .phone-stage { min-height: 540px; }
  .float-chip--1 { right: -4%; top: 4%; font-size: 11.5px; }
  .float-chip--2 { left: -10%; top: 38%; font-size: 11.5px; }
  .float-chip--3 { right: -4%; bottom: 8%; font-size: 11.5px; }
  .features__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .feat-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .hero__title { font-size: clamp(36px, 9vw, 56px); }
  .float-chip { font-size: 11px; padding: 8px 12px 8px 10px; }
  .float-chip--1 { top: 2%; right: -8%; }
  .float-chip--2 { left: -14%; top: 36%; }
  .float-chip--3 { right: -4%; bottom: 4%; }
  .phone { width: min(300px, 85vw); }
  .di-demo__island--compact { width: 240px; }
  .di-demo__island--expanded { width: 280px; }
  .cta { padding: 56px 24px; }
}
@media (max-width: 460px) {
  .float-chip--2 { display: none; }
}
