/* =========================================================
   DailyTasky — brand v2 ("Plant it today")
   Warm paper + ink, ember for urgency, sprout for growth.
   Display: Fraunces · Text: Geist · Labels: Geist Mono
   ========================================================= */

:root {
  --ink:      #14130F;
  --ink-2:    #1F1D18;
  --ink-3:    #2B2822;
  --paper:    #F4EFE6;
  --paper-2:  #EAE3D5;
  --paper-3:  #DED5C4;
  --muted:    #6E675B;
  --muted-d:  #A49C8C;
  --line:     rgba(20, 19, 15, .12);
  --line-d:   rgba(244, 239, 230, .12);

  --ember:    #9A6AED;
  --ember-2:  #B88EFE;
  --sprout:   #D4F25C;
  --sprout-2: #B9DB3A;
  --moss:     #2F4A35;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
::selection { background: var(--sprout); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -.035em;
  line-height: .95;
}
.display em, .h2 em, .h3 em { font-style: italic; font-weight: 300; }
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 36em; text-wrap: pretty; }
.label {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: .6em;
}
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); flex: none; }
.dark .label { color: var(--muted-d); }
.hl-ember { color: var(--ember); }
.hl-sprout { color: var(--sprout); }
.mark {
  background: linear-gradient(transparent 58%, var(--sprout) 58%, var(--sprout) 92%, transparent 92%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 1.1s var(--ease) .3s;
}
.is-visible .mark, .mark.is-visible { background-size: 100% 100%; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .24em 0; margin: 0 -.08em -.24em 0; }
.w > span {
  display: inline-block;
  transform: translateY(135%) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0ms));
}
.split-in .w > span { transform: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 54px; padding: 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 1rem; letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ember);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::after { transform: none; }
.btn:hover { color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-lg { height: 62px; padding: 0 32px; font-size: 1.06rem; }
.btn-sprout { --bg: var(--sprout); --fg: var(--ink); }
.btn-sprout::after { background: var(--paper); }
.btn-line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line::after { background: var(--ink); }
.btn-line:hover { color: var(--paper); }
.dark .btn-line { --fg: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(244,239,230,.5); }
.dark .btn-line::after { background: var(--paper); }
.dark .btn-line:hover { color: var(--ink); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0;
}
.nav { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.03em; font-weight: 400; }
.brand-mark { width: 34px; height: 34px; flex: none; border-radius: 9px; transition: transform .6s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-mark .leaf { transform-origin: 17px 22px; transition: transform .6s var(--spring); }
.brand:hover .brand-mark .leaf-l { transform: rotate(-12deg); }
.brand:hover .brand-mark .leaf-r { transform: rotate(12deg); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: .95rem; color: var(--ink);
  transition: background .25s;
}
.nav-links a:hover { background: rgba(20,19,15,.06); }
.nav-links a.film-link { display: inline-flex; align-items: center; gap: 8px; }
.nav-links a.film-link::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); animation: pulse 2s infinite; }
.nav-cta { display: flex; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; margin-left: auto; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a { font-family: var(--serif); font-size: 1.8rem; padding: 6px 0; letter-spacing: -.02em; }
.mobile-menu .btn { font-family: var(--sans); font-size: 1rem; margin-top: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(110px, 16vh, 160px) 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .display { font-size: clamp(3.4rem, 9.4vw, 8.6rem); }
.hero .display em { color: var(--ember); }
.hero .display .strike { position: relative; display: inline-block; }
.hero-sub { margin-top: 28px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.hero-meta div > span { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.hero-android { margin-top: 16px; font-size: .92rem; color: var(--muted); }
.hero-android a { color: var(--ink); }

/* planner machine */
.machine {
  position: relative;
  background: #FBF8F2;
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 40px 80px -30px rgba(20,19,15,.35), 0 0 0 1px var(--line);
  transform: rotate(1.2deg);
  transition: transform .8s var(--ease);
}
.machine:hover { transform: rotate(0deg) translateY(-4px); }
.machine-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 16px; }
.machine-top .day { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.02em; }
.machine-top .day small { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ring { width: 54px; height: 54px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: var(--paper-2); }
.ring .fg { stroke: var(--ember); stroke-linecap: round; stroke-dasharray: 138; stroke-dashoffset: 138; transition: stroke-dashoffset .9s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; font-weight: 500; }
.ask {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper);
  border-radius: 16px; padding: 16px 18px;
  font-size: 1.02rem; min-height: 58px;
}
.ask .spark { width: 22px; height: 22px; flex: none; color: var(--sprout); }
.ask .typed { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.caret { display: inline-block; width: 2px; height: 1.15em; background: var(--sprout); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.timeline { position: relative; margin-top: 16px; display: grid; gap: 10px; min-height: 282px; }
.timeline::before { content: ""; position: absolute; left: 58px; top: 6px; bottom: 6px; width: 1px; background: repeating-linear-gradient(to bottom, var(--paper-3) 0 4px, transparent 4px 9px); }
.slot { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: stretch; }
.slot time { font-family: var(--mono); font-size: .75rem; color: var(--muted); padding-top: 16px; text-align: right; }
.task {
  position: relative;
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(20,19,15,.25);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .5s var(--ease), transform .7s var(--spring), background .4s;
}
.task.in { opacity: 1; transform: none; }
.task.out { opacity: 0; transform: translateX(-16px); transition-duration: .35s; }
.task b { display: block; font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
.task > div > span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; margin-top: 2px; }
.check {
  width: 22px; height: 22px; flex: none; margin-top: 1px;
  border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--paper-3);
  display: grid; place-items: center;
  transition: background .3s, box-shadow .3s;
}
.check svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 2.4; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .4s var(--ease) .1s; }
.task.done { background: #F6FADF; }
.task.done .check { background: var(--sprout); box-shadow: none; }
.task.done .check svg { stroke-dashoffset: 0; }
.task.done b { text-decoration: line-through; text-decoration-color: rgba(20,19,15,.35); }
.machine-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 0 4px; }
.streak {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: .86rem; font-weight: 500;
}
.streak svg { width: 16px; height: 16px; color: var(--ember); }
.streak .n { display: inline-block; min-width: 1.2em; text-align: center; font-family: var(--mono); }
.streak.bump { animation: bump .6s var(--spring); }
@keyframes bump { 40% { transform: scale(1.12); } }
.machine-foot small { font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .06em; }
.sticker {
  position: absolute; z-index: 2;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(20,19,15,.35);
  animation: float 6s ease-in-out infinite;
}
.sticker-1 { top: -18px; right: 24px; background: var(--sprout); color: var(--ink); transform: rotate(6deg); }
.sticker-2 { bottom: 72px; left: -28px; background: var(--ember); color: var(--ink); animation-delay: -3s; transform: rotate(-5deg); }
@keyframes float { 50% { translate: 0 -8px; } }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--paper); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee:has(+ .marquee) { border-bottom: 0; padding-bottom: 7px; }
.marquee + .marquee { border-top: 0; padding-top: 7px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px var(--line);
  white-space: nowrap; font-size: .95rem;
}
.pill time { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(84px, 12vw, 160px) 0; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); max-width: 52rem; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.dark { background: var(--ink); color: var(--paper); }
.dark .lead { color: var(--muted-d); }

/* ---------- film / year ---------- */
.film { overflow: hidden; }
.film-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.year-stat { font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 14vw, 12rem); line-height: .85; letter-spacing: -.05em; }
.year-stat sup { font-size: .32em; vertical-align: top; position: relative; top: .25em; letter-spacing: 0; }
.year-copy { margin-top: 24px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted-d); max-width: 26em; }
.year-copy b { color: var(--paper); font-weight: 500; }
.dots {
  display: grid;
  grid-template-columns: repeat(31, 1fr);
  gap: clamp(3px, .5vw, 6px);
  margin-top: 38px;
}
.dots i {
  aspect-ratio: 1; border-radius: 50%;
  background: var(--sprout);
  opacity: 0; transform: scale(.2);
  transition: opacity .5s var(--ease), transform .6s var(--spring), background .6s;
  transition-delay: calc(var(--i) * 3ms);
}
.dots.is-visible i { opacity: 1; transform: none; }
.dots i.past { background: #4A463D; }
.dots i.today { background: var(--ember); box-shadow: 0 0 0 0 rgba(154,106,237,.6); animation: ping 2s 1.6s infinite; }
.dots i.blank { visibility: hidden; }
.dots-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.dots-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dots-legend span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(154,106,237,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(154,106,237,0); } }
@keyframes pulse { 50% { opacity: .35; } }

.film-card {
  position: relative; display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0B0A10;
  isolation: isolate;
  box-shadow: 0 0 0 1px var(--line-d), 0 60px 120px -40px rgba(154, 106, 237, .35);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s var(--ease);
}
.film-sky { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 45% at 72% 78%, rgba(184, 142, 254, .95), rgba(154, 106, 237, .4) 35%, transparent 70%),
    radial-gradient(120% 80% at 50% 120%, #2A1650 0%, transparent 60%),
    linear-gradient(to bottom, #07060C 0%, #1B1024 45%, #3A1E6B 78%, #6A3FC4 100%);
  animation: dawn 9s ease-in-out infinite alternate;
}
@keyframes dawn { from { filter: brightness(.8) saturate(.9); } to { filter: brightness(1.1) saturate(1.1); } }
.film-stars { position: absolute; inset: 0 0 40% 0; z-index: -1;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 42%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 44% 12%, #fff, transparent),
    radial-gradient(1px 1px at 61% 30%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 83% 14%, #fff, transparent),
    radial-gradient(1px 1px at 90% 46%, #fff, transparent),
    radial-gradient(1px 1px at 8% 60%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 36% 64%, #fff, transparent);
  opacity: .7; animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .3; } }
.film-hills { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: -1; }
.film-sprout { position: absolute; right: 22%; bottom: 25%; width: 22%; height: auto; overflow: visible; }
.film-sprout .stem { stroke-dasharray: 200; stroke-dashoffset: 200; }
.film-sprout .lf { transform-box: fill-box; transform: scale(0); transition: transform 1s var(--spring); }
.film-card.is-visible .stem { animation: grow 1.8s var(--ease) .3s forwards; }
.film-card.is-visible .lf-1 { transform-origin: 100% 100%; transform: scale(1); transition-delay: 1.4s; }
.film-card.is-visible .lf-2 { transform-origin: 0 100%; transform: scale(1); transition-delay: 1.7s; }
@keyframes grow { to { stroke-dashoffset: 0; } }
.film-text { position: absolute; left: 7%; top: 12%; right: 40%; color: var(--paper); }
.film-text .label { color: rgba(244,239,230,.7); }
.film-text h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .95; letter-spacing: -.035em; margin-top: 14px; }
.film-text h3 em { color: var(--ember-2); }
.film-play {
  position: absolute; left: 7%; bottom: 10%;
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--paper); font-weight: 500;
}
.film-play .disc {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sprout); color: var(--ink);
  transition: transform .5s var(--spring);
}
.film-play .disc::before { content: ""; position: absolute; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--sprout); animation: ring-out 2.4s infinite; }
@keyframes ring-out { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.film-play .disc svg { width: 22px; height: 22px; margin-left: 3px; }
.film-card:hover .disc { transform: scale(1.1); }
.film-play small { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,239,230,.65); margin-top: 3px; }
.film-quote { margin-top: 30px; display: flex; gap: 20px; align-items: flex-start; color: var(--muted-d); font-size: .98rem; }
.film-quote b { color: var(--paper); font-weight: 500; }

.wipe { position: fixed; inset: 0; z-index: 200; background: #07060C; clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); pointer-events: none; transition: clip-path .9s cubic-bezier(.7, 0, .2, 1); }
.wipe.go { clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%)); }

/* ---------- demo video ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: clamp(36px, 6vw, 96px); align-items: center; }
.chapters { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: c; }
.chapter {
  width: 100%; display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  text-align: left; font-size: 1.05rem;
  transition: color .3s, padding .4s var(--ease);
}
.chapter-time { font-family: var(--mono); font-size: .78rem; color: var(--muted); min-width: 3em; }
.chapter:hover { padding-left: 8px; }
.chapter.is-active { color: var(--ember); }
.chapter.is-active .chapter-time { color: var(--ember); }
.video-frame {
  position: relative; border-radius: 44px; overflow: hidden;
  background: var(--ink); padding: 10px;
  box-shadow: 0 50px 100px -40px rgba(20,19,15,.55), 0 0 0 1px var(--line);
  transform: rotate(-1.5deg);
}
.promo-video { width: 100%; height: auto; border-radius: 34px; aspect-ratio: 720 / 1278; object-fit: cover; background: #222; cursor: pointer; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sprout); color: var(--ink);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.4);
  transition: transform .5s var(--spring), opacity .3s;
}
.video-play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-play:hover { transform: scale(1.08); }
.video-frame.is-playing .video-play { opacity: 0; pointer-events: none; transform: scale(.6); }
.video-sound {
  position: absolute; left: 22px; bottom: 26px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(20,19,15,.7); color: var(--paper);
  font-size: .8rem;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s;
}
.video-frame.has-started .video-sound { opacity: 1; }
.video-sound svg { width: 16px; height: 16px; }
.video-sound .icon-sound { display: none; }
.video-sound[aria-pressed="true"] .icon-sound { display: block; }
.video-sound[aria-pressed="true"] .icon-muted { display: none; }
.video-sound[aria-pressed="true"] .video-sound-label { display: none; }
.video-progress { position: absolute; left: 30px; right: 30px; bottom: 16px; height: 3px; border-radius: 3px; background: rgba(244,239,230,.25); overflow: hidden; }
.video-progress span { display: block; height: 100%; background: var(--sprout); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- sticky features ---------- */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); }
.feat-steps { display: grid; }
.feat-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease); }
.feat-step.active { opacity: 1; }
.feat-step .num { font-family: var(--mono); font-size: .8rem; color: var(--ember); letter-spacing: .1em; }
.feat-step .h3 { margin-top: 14px; font-size: clamp(2rem, 4vw, 3.4rem); }
.feat-step p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; max-width: 28em; }
.feat-step .feat-inline { display: none; }
.feat-stage-wrap { position: relative; }
.feat-stage {
  position: sticky; top: 12vh; height: 76vh; min-height: 520px;
  border-radius: var(--r-xl);
  background: var(--paper-2);
  overflow: hidden;
}
.panel {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 32px;
  opacity: 0; transform: translateY(30px) scale(.98);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.panel.active { opacity: 1; transform: none; }
.panel-bg { position: absolute; inset: 0; z-index: 0; }
.panel > :not(.panel-bg) { position: relative; z-index: 1; }
.p1 .panel-bg { background: radial-gradient(70% 60% at 50% 40%, #F7E9C8, var(--paper-2)); }
.p2 .panel-bg { background: radial-gradient(70% 60% at 50% 60%, #E6F4B8, var(--paper-2)); }
.p3 .panel-bg { background: var(--ink); }
.p4 .panel-bg { background: var(--paper-2); }

.goal-cards { width: min(380px, 100%); display: grid; gap: 12px; }
.goal-in { background: var(--ink); color: var(--paper); padding: 18px 20px; border-radius: 18px; font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.goal-in svg { width: 20px; height: 20px; color: var(--sprout); flex: none; }
.goal-split { display: grid; gap: 10px; padding-left: 26px; position: relative; }
.goal-split::before { content: ""; position: absolute; left: 10px; top: -12px; bottom: 24px; width: 1.5px; background: var(--ink); opacity: .2; }
.goal-split div {
  position: relative; background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 0 0 1px var(--line);
  font-size: .95rem;
  opacity: 0; transform: translateX(-12px);
  transition: opacity .5s var(--ease), transform .6s var(--spring);
}
.goal-split div::before { content: ""; position: absolute; left: -16px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); opacity: .2; }
.goal-split div time { font-family: var(--mono); font-size: .72rem; color: var(--ember); display: block; }
.panel.active .goal-split div { opacity: 1; transform: none; }
.panel.active .goal-split div:nth-child(1) { transition-delay: .3s; }
.panel.active .goal-split div:nth-child(2) { transition-delay: .45s; }
.panel.active .goal-split div:nth-child(3) { transition-delay: .6s; }
.panel.active .goal-split div:nth-child(4) { transition-delay: .75s; }

.phone {
  width: min(270px, 66%);
  transform: rotate(-3deg);
  filter: drop-shadow(0 40px 50px rgba(20,19,15,.35));
}
.phone img { width: 100%; height: auto; aspect-ratio: 516 / 1024; }
.panel.active .phone { animation: phone-in 1s var(--ease); }
@keyframes phone-in { from { transform: rotate(-8deg) translateY(30px); } }

.notifs { width: min(400px, 100%); display: grid; gap: 12px; }
.notif {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: 20px;
  background: rgba(244,239,230,.08); color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-d);
  opacity: 0; transform: translateY(-14px) scale(.97);
  transition: opacity .5s var(--ease), transform .7s var(--spring);
}
.panel.active .notif { opacity: 1; transform: none; }
.panel.active .notif:nth-child(2) { transition-delay: .5s; }
.panel.active .notif:nth-child(3) { transition-delay: 1s; }
.notif .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--sprout); color: var(--ink); display: grid; place-items: center; flex: none; }
.notif .ico svg { width: 20px; height: 20px; }
.notif small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: var(--muted-d); margin-bottom: 3px; }
.notif p { font-size: .95rem; line-height: 1.4; }
.notif p b { font-weight: 600; color: var(--sprout); }

.lanterns { width: min(420px, 100%); }
.lanterns .big { font-family: var(--serif); font-size: clamp(5rem, 10vw, 8rem); font-weight: 300; line-height: .85; letter-spacing: -.05em; }
.lanterns .big small { font-size: .26em; letter-spacing: 0; font-family: var(--sans); font-weight: 500; margin-left: 8px; }
.lantern-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 22px; }
.lantern-grid i {
  aspect-ratio: 1; border-radius: 10px;
  background: rgba(20,19,15,.08);
  transition: background .4s, box-shadow .4s, transform .5s var(--spring);
}
.lantern-grid i.on { background: var(--ink); }
.lantern-grid i.next { box-shadow: inset 0 0 0 2px var(--ink); background: transparent; }
.lantern-cap { margin-top: 14px; font-size: .92rem; color: var(--muted); }

/* ---------- excuses ---------- */
.excuses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.excuse {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-d);
  overflow: hidden;
  min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transition: transform .6s var(--ease), background .4s;
}
.excuse:hover { transform: translateY(-4px); background: var(--ink-3); }
.excuse .q {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em;
  color: var(--ember-2);
  position: relative; display: inline; align-self: flex-start;
  background: linear-gradient(var(--ember), var(--ember)) 0 58% / 0 2px no-repeat;
  transition: background-size .8s var(--ease) calc(var(--i) * 180ms + 400ms), color .6s calc(var(--i) * 180ms + 600ms);
}
.excuse.is-visible .q { background-size: 100% 2px; color: rgba(184,142,254,.5); }
.excuse .a { display: flex; gap: 14px; align-items: flex-start; font-size: 1.06rem; color: var(--paper);
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease) calc(var(--i) * 180ms + 1000ms), transform .7s var(--ease) calc(var(--i) * 180ms + 1000ms);
}
.excuse.is-visible .a { opacity: 1; transform: none; }
.excuse .a svg { width: 26px; height: 26px; flex: none; color: var(--ink); background: var(--sprout); border-radius: 50%; padding: 5px; }

/* ---------- research ---------- */
.research { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.bars { display: grid; gap: 30px; }
.bar-row p { font-size: 1rem; color: var(--muted); margin-bottom: 12px; }
.bar-row p b { color: var(--ink); font-weight: 600; }
.bar-line { display: flex; align-items: center; gap: 20px; }
.bar { flex: 1; height: 64px; border-radius: 14px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 14px; background: var(--paper-3); transition: width 2s var(--ease) .3s; }
.bar.hot i { background: var(--ink); background-image: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(212,242,92,.14) 10px 20px); transition-delay: .6s; }
.is-visible .bar i { width: var(--w); }
.bar-num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -.04em; width: 3ch; text-align: right; line-height: 1; }
.src { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  margin: 0;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 34px;
  transition: transform .6s var(--ease), box-shadow .4s;
}
.quote:nth-child(2) { background: var(--sprout); box-shadow: none; transform: translateY(28px); }
.quote:hover { transform: translateY(-6px) rotate(-.6deg); }
.quote:nth-child(2):hover { transform: translateY(20px) rotate(.6deg); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 350; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span { color: var(--muted); }
.quote:nth-child(2) figcaption span { color: var(--moss); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 600; background: var(--ink); color: var(--paper); flex: none; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
  transition: transform .6s var(--ease);
}
.plan:hover { transform: translateY(-6px); }
.plan-name { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan-price { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 5vw, 4.2rem); letter-spacing: -.04em; line-height: 1; margin-top: 18px; }
.plan-price span { font-family: var(--sans); font-size: .95rem; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan-sub { color: var(--muted); margin-top: 12px; font-size: .98rem; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 24px 0 30px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .96rem; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--sprout) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%2314130F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan .btn { width: 100%; }
.plan-featured { background: var(--ink); color: var(--paper); box-shadow: none; transform: scale(1.02); }
.plan-featured:hover { transform: scale(1.02) translateY(-6px); }
.plan-featured .plan-name, .plan-featured .plan-sub, .plan-featured .plan-price span { color: var(--muted-d); }
.plan-featured ul { border-color: var(--line-d); }
.plan-badge { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--sprout); color: var(--ink); transform: rotate(4deg); }
.price-note { text-align: center; margin-top: 30px; color: var(--muted); font-size: .92rem; }

/* ---------- waitlist ---------- */
.waitlist { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--sprout); position: relative; overflow: hidden; }
.waitlist::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 1.5px solid rgba(20,19,15,.18); box-shadow: 0 0 0 40px rgba(20,19,15,.04), 0 0 0 80px rgba(20,19,15,.03); pointer-events: none; }
.waitlist .label { color: var(--moss); }
.waitlist .h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-top: 16px; }
.waitlist p.lead { color: var(--moss); margin-top: 14px; }
.signup-form { position: relative; z-index: 1; }
.signup-row { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 20px 40px -20px rgba(20,19,15,.35); }
.signup-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; padding: 0 18px; color: var(--ink); }
.signup-row input::placeholder { color: #9A9384; }
.signup-row .btn { height: 50px; }
.signup-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-msg { min-height: 1.4em; margin-top: 10px; font-size: .9rem; color: #8A1E00; }
.signup-fine { margin-top: 6px; font-size: .82rem; color: var(--moss); position: relative; z-index: 1; }
.signup-fine a { text-decoration: underline; }
.signup-success { display: grid; gap: 4px; padding: 20px 24px; border-radius: 20px; background: var(--ink); color: var(--paper); position: relative; z-index: 1; animation: pop .6s var(--spring); }
.signup-success a { text-decoration: underline; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.015em;
  transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--ember); }
.faq-list summary .plus { width: 30px; height: 30px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; position: relative; transition: transform .5s var(--ease), background .3s; }
.faq-list summary .plus::before, .faq-list summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-list summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary .plus { transform: rotate(45deg); background: var(--sprout); color: var(--ink); box-shadow: none; }
.faq-list details p { padding: 0 0 26px; color: var(--muted); max-width: 40em; animation: fade-down .5s var(--ease); }
.faq-list details p a { color: var(--ink); text-decoration: underline; }
@keyframes fade-down { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- final cta ---------- */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 16vw, 200px) 0 clamp(90px, 12vw, 150px); }
.final .display { font-size: clamp(4.2rem, 15vw, 14rem); }
.final .display em { color: var(--sprout); }
.final .lead { margin: 28px auto 0; color: var(--muted-d); text-align: center; }
.final .hero-actions { justify-content: center; margin-top: 40px; }
.final-sprout { width: clamp(90px, 12vw, 150px); margin: 0 auto 10px; overflow: visible; }
.final-sprout .stem { stroke-dasharray: 160; stroke-dashoffset: 160; }
.final-sprout .lf { transform-box: fill-box; transform: scale(0); transition: transform 1.1s var(--spring); }
.final.is-visible .final-sprout .stem { animation: grow 1.6s var(--ease) .2s forwards; }
.final.is-visible .final-sprout .lf-1 { transform-origin: 100% 100%; transform: scale(1); transition-delay: 1.1s; }
.final.is-visible .final-sprout .lf-2 { transform-origin: 0 100%; transform: scale(1); transition-delay: 1.35s; }
.countdown { display: inline-flex; gap: 10px; margin-top: 30px; font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.countdown b { color: var(--ember); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 0 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 60px; border-top: 1px solid var(--line-d); }
.footer-tag { color: var(--muted-d); margin-top: 14px; max-width: 22em; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h5 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 6px; }
.footer-col a { width: fit-content; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d); transition: background .3s, color .3s; }
.socials a:hover { background: var(--sprout); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer-word { font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 17.5vw, 16rem); letter-spacing: -.06em; line-height: .8; color: var(--ink-3); margin: 60px 0 0; white-space: nowrap; overflow: hidden; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; font-size: .86rem; color: var(--muted-d); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.excuse.reveal, .quote.reveal, .plan.reveal { transition-property: opacity, transform, background, box-shadow; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .film-grid, .demo-grid, .research, .faq-grid, .waitlist { grid-template-columns: 1fr; }
  .machine { max-width: 520px; margin: 10px auto 0; width: 100%; }
  .demo-grid .video-frame { max-width: 340px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-stage-wrap { display: none; }
  .feat-step { min-height: 0; opacity: 1; padding: 30px 0; }
  .feat-step .feat-inline { display: grid; place-items: center; margin-top: 26px; min-height: 380px; border-radius: var(--r-lg); position: relative; overflow: hidden; padding: 28px 20px; }
  .feat-step .feat-inline .panel { position: static; opacity: 1; transform: none; padding: 0; }
  .feat-step .feat-inline .panel-bg { position: absolute; }
  .feat-step .feat-inline .goal-split div, .feat-step .feat-inline .notif { opacity: 1; transform: none; }
  .quotes, .plans { grid-template-columns: 1fr; }
  .quote:nth-child(2), .quote:nth-child(2):hover { transform: none; }
  .plan-featured, .plan-featured:hover { transform: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .excuses { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .sticker-2 { left: 14px; top: -16px; bottom: auto; }
  .sticker-1 { right: 14px; }
  .film-text { right: 7%; }
  .film-sprout { right: 8%; width: 30%; }
  .film-card { aspect-ratio: 4 / 5; }
  .dots { grid-template-columns: repeat(21, 1fr); }
  .timeline::before { left: 50px; }
  .slot { grid-template-columns: 40px 1fr; gap: 18px; }
  .signup-row { flex-direction: column; border-radius: 24px; }
  .signup-row input { padding: 14px 16px; }
  .signup-row .btn { width: 100%; }
  .hero-meta { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none !important; }
  .reveal, .w > span { opacity: 1; transform: none; }
}
