/* =============================================================
   SideKick — final landing page
   Assembled from three drafts:
     Web1 → header, hero type (Bricolage Grotesque), dream marquee,
            cyan glow headline, "A day together" timeline, dawn CTA
     Web2 → store buttons + "Free to start" note, scroll cue, reveal
            system, journey steps, chat demo, final CTA copy
     Web3 → hero mascot / chips / float motion, manifesto word reveal,
            "Say hi" avatars, testimonials, footer
   ============================================================= */

:root {
  /* ---------- NIGHT / SURFACES ---------- */
  --abyss:       #090a0d;   /* Web1 deepest night */
  --midnight:    #0d0e12;   /* Web1/Web3 page background */
  --ink:         #01161e;   /* Web2 footer ink */
  --night:       #0b0f17;   /* Web2 base night */
  --night-2:     #10141f;   /* Web2 raised night */
  --dusk:        #15161d;   /* Web1/Web3 card surface */
  --twilight:    #1d1e27;   /* Web1/Web3 raised card surface */

  /* ---------- FIRE (primary accent) ---------- */
  --carrot:      #ff4809;
  --ember:       #ff5c2e;
  --amber:       #ff9209;
  --amber-soft:  #ffb347;
  --ember-warm:  #ffab2e;

  /* ---------- SPARK / CYAN (the mascot's eyes) ---------- */
  --spark:       #46d6e8;   /* Web2 spark */
  --spark-deep:  #17a5bc;   /* Web2 spark, darker */
  --cyan:        #46d6ff;   /* Web3 eye glow */
  --eyeglow:     #4de1ff;   /* Web1 eye glow — used for the glowing headline */

  /* ---------- DAY / LIGHT ---------- */
  --parchment:   #f5f2ee;
  --cream:       #fffbf5;

  /* ---------- STATUS ---------- */
  --success:     #06b25f;
  --gold:        #ffc46b;   /* Web1 gold */
  --gold-warm:   #ffc107;   /* Web3 gold */

  /* ---------- TEXT ---------- */
  --moonlight:   #ecedf5;   /* primary text on dark */
  --text-dim:    #9a9fb5;
  --steel:       #8a8ea6;
  --text-mute:   #7b7f96;
  --text-day:    #1a1712;   /* primary text on light */
  --text-day-dim:#6b655c;

  /* ---------- LINES ---------- */
  --line:        rgba(236, 237, 245, 0.09);
  --line-strong: rgba(236, 237, 245, 0.16);

  /* ---------- GRADIENTS ---------- */
  --grad-warm:      linear-gradient(135deg, var(--carrot) 0%, var(--ember) 45%, var(--ember-warm) 100%);
  --grad-warm-soft: linear-gradient(135deg, var(--ember), var(--ember-warm));
  --grad-fire:      linear-gradient(100deg, var(--amber) 0%, var(--carrot) 45%, var(--ember) 100%);
  --grad-spark:     linear-gradient(100deg, var(--spark) 0%, var(--amber-soft) 100%);
  --grad-hero-em:   linear-gradient(100deg, var(--ember) 10%, var(--gold) 60%, var(--eyeglow) 110%);

  /* ---------- SHADOW ---------- */
  --shadow-warm: 0 24px 60px rgba(255, 72, 9, 0.28);
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.5);

  /* ---------- TYPE ---------- */
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* ---------- SHAPE / MOTION ---------- */
  --r-card: 24px;
  --r-sm:   14px;
  --r-pill: 999px;
  --maxw:   1180px;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--midnight);
  color: var(--moonlight);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
img[src$="char_1.png"]  { --char-art-scale: 1.04; }
img[src$="char_4.png"]  { --char-art-scale: 1; }
img[src$="char_12.png"] { --char-art-scale: 1.19; }
img[src$="char_23.png"] { --char-art-scale: 1.1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }

:focus-visible { outline: 3px solid var(--eyeglow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
h2.display { font-size: clamp(2.1rem, 5.2vw, 4rem); }
h3.display { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; }

/* fixed full-screen sky backdrop (Web1) — midnight shifts to dawn on scroll */
.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, var(--abyss) 0%, var(--midnight) 55%, #14121f 100%);
}
.sky__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 20%, rgba(236,237,245,.9), transparent),
    radial-gradient(1px 1px at 28% 65%, rgba(236,237,245,.55), transparent),
    radial-gradient(2px 2px at 44% 12%, rgba(77,225,255,.8), transparent),
    radial-gradient(1px 1px at 58% 42%, rgba(236,237,245,.6), transparent),
    radial-gradient(1.5px 1.5px at 72% 25%, rgba(236,237,245,.8), transparent),
    radial-gradient(1px 1px at 84% 58%, rgba(255,196,107,.7), transparent),
    radial-gradient(2px 2px at 93% 15%, rgba(236,237,245,.7), transparent),
    radial-gradient(1px 1px at 8% 80%, rgba(236,237,245,.5), transparent),
    radial-gradient(1.5px 1.5px at 66% 78%, rgba(77,225,255,.5), transparent),
    radial-gradient(1px 1px at 38% 88%, rgba(236,237,245,.45), transparent);
  animation: twinkle-sky 5s ease-in-out infinite alternate;
}
@keyframes twinkle-sky {
  from { opacity: .55; }
  to   { opacity: 1; }
}
/* dawn layer fades in as you approach the download CTA (scrubbed in JS) */
.sky__dawn {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(120% 85% at 50% 118%, #ffd9a0 0%, #ff9d5c 22%, var(--ember) 42%, rgba(255, 92, 46, 0.25) 62%, transparent 78%),
    linear-gradient(180deg, #1a1030 0%, #3b1636 55%, #6b2438 100%);
}

/* fixed grain overlay (Web3) */
.fx-grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared section furniture ---------- */
.section-head { max-width: 780px; margin: 0 auto 56px; }
.section-head--center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 50px);
  letter-spacing: -0.03em;
}
.section-title--left { text-align: left; }
.section-lead {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 18px;
  max-width: 60ch;
}
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}

.grad-fire {
  background: var(--grad-fire);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-spark {
  background: var(--grad-spark);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Web1 cyan glow */
.glow-cyan { color: var(--eyeglow); text-shadow: 0 0 34px rgba(77, 225, 255, 0.55); }

/* =============================================================
   HEADER — Web1 (logo + wordmark only)
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(9, 10, 13, 0.75), transparent);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
}
.nav.is-stuck {
  background: rgba(13, 14, 18, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav__logo { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(255, 72, 9, 0.4)); }

/* =============================================================
   BUTTONS — Web2
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .btn-lines { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.btn .btn-lines b { font-size: 0.98rem; font-weight: 800; }
.btn small { display: block; font-size: 0.66rem; font-weight: 600; opacity: 0.85; line-height: 1; letter-spacing: 0.02em; }

.btn-fire {
  background: linear-gradient(135deg, var(--amber) 0%, var(--carrot) 55%, var(--ember) 100%);
  color: #fff;
  box-shadow: 0 8px 30px -6px rgba(255, 72, 9, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-fire:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 44px -8px rgba(255, 72, 9, 0.75); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); }

.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-row--center { justify-content: center; }

/* "Free to start" note — Web2 */
.hero-note {
  font-size: 0.86rem;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note b { color: var(--success); font-weight: 700; }

/* beta badge — Web2 */
.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 72, 9, 0.08);
  border: 1px solid rgba(255, 72, 9, 0.35);
  color: var(--ember);
  font-weight: 700;
  font-size: 0.82rem;
}
.beta-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(255, 92, 46, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 92, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 46, 0); }
}
/* Web2's "Now in open beta" pill (spark blue), sized for the top bar */
.beta-badge--nav {
  font-size: 0.78rem;
  padding: 6px 13px 6px 10px;
  background: rgba(70, 214, 232, 0.1);
  border-color: rgba(70, 214, 232, 0.32);
  color: var(--spark);
}
.beta-badge--nav .dot {
  background: var(--spark);
  animation-name: pulse-dot-spark;
}
@keyframes pulse-dot-spark {
  0%   { box-shadow: 0 0 0 0 rgba(70, 214, 232, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(70, 214, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 214, 232, 0); }
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px clamp(16px, 4vw, 40px) 110px;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100dvh - 230px);
}
/* grid children must be allowed to shrink below their min-content size */
.hero__inner > * { min-width: 0; }

/* LEFT — Web1 type */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 7.5vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 1.4rem;
}
.hero__title .line {
  display: block;
  white-space: nowrap;
}
.hero__title em {
  font-style: normal;
  background: var(--grad-hero-em);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--steel);
  max-width: 34rem;
}
/* Web2 spacing rhythm for the button row + note */
.hero .store-row { margin-top: 24px; margin-bottom: 18px; }
.hero .hero-note { padding-top: 18px; }

/* RIGHT — Web3 mascot stage, now anchored by the app itself */
.hero__art { position: relative; display: grid; place-items: center; min-height: 520px; }

/* the mascot and the phone are laid out as one row, so what gets centred
   is the pair's combined width — not the phone with the mascot hanging off it.
   --peek is how far the mascot tucks in behind the phone. */
.hero__stage {
  --peek: 78px;   /* ~half the mascot tucks behind the phone */
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero__phone { position: relative; flex: none; width: min(78%, 400px); }
.hero__mascot-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 108%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 46, 0.35), transparent 62%);
  filter: blur(8px);
}
/* the app, shot at an angle — the hero object */
.hero__shot {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 45px 65px rgba(0, 0, 0, 0.55))
          drop-shadow(0 12px 30px rgba(255, 72, 9, 0.22));
  will-change: transform;
}
/* mascot steps aside and leans on the phone */
.hero__mascot {
  position: relative;
  z-index: 3;
  flex: none;
  width: min(29%, 155px);
  margin-right: calc(var(--peek) * -1);
  margin-bottom: 2%;
  filter: drop-shadow(0 22px 34px rgba(255, 72, 9, 0.4));
  will-change: transform;
}
.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  background: rgba(29, 30, 39, 0.82);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
.chip__emoji { font-size: 17px; }
.chip--1 { top: 6%;  left: -4%; }
.chip--2 { top: 44%; right: -5%; }
.chip--3 { bottom: 9%; right: 2%; color: var(--gold-warm); }

/* Scroll cue — Web2 */
.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 4;
}
.scroll-cue .line {
  width: 1px; height: 40px;
  background: linear-gradient(var(--amber), transparent);
  transform-origin: top;
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* =============================================================
   SECTION A — dreams + marquee (Web2 headline, Web1 marquee)
   ============================================================= */
.dreams { padding: clamp(70px, 11vw, 130px) 0 clamp(70px, 11vw, 120px); overflow: hidden; }
.dreams__head { text-align: center; max-width: 900px; margin-bottom: clamp(46px, 6vw, 70px); }
.dreams__head h2 { color: #fff; }

.marquee {
  overflow: hidden;
  margin-bottom: 1.4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee:last-child { margin-bottom: 0; }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  padding-right: 2.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  animation: scroll-left 36s linear infinite;
}
.marquee--reverse .marquee__track {
  animation-name: scroll-right;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(236, 237, 245, 0.4);
}
.marquee__track i {
  font-style: normal;
  color: var(--ember);
  font-size: 0.6em;
  -webkit-text-stroke: 0;
}
@keyframes scroll-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* =============================================================
   SECTION B — the gap (Web1 glow headline, Web3 manifesto body)
   ============================================================= */
.gap { padding: clamp(56px, 8.5vw, 112px) clamp(16px, 4vw, 40px) clamp(80px, 12vw, 160px); }
.gap__inner { max-width: 980px; margin: 0 auto; text-align: center; }
.gap__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 3.7rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 2.4rem;
}
.gap__title .gap__line { display: block; }
/* Web3's bolder / larger white body copy */
.gap__body {
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--moonlight);
}
.gap__body .word { display: inline-block; }

/* =============================================================
   SECTION C — journey steps (Web2 structure + copy)
   ============================================================= */
.journey { padding: clamp(48px, 7vw, 92px) 0 clamp(70px, 10vw, 130px); }
.journey .eyebrow { color: var(--ember); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--twilight);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px 30px 0;
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.85);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 146, 9, 0.4);
  box-shadow: 0 34px 64px -34px rgba(255, 72, 9, 0.5);
}
.step .num {
  counter-increment: step;
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ember);
  margin-bottom: 18px;
}
.step .num::before { content: "0" counter(step); }
.step h3 { color: #fff; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 26px; }

/* the real screen for this step — bleeds off the bottom of the card and
   fades out, so it reads as a glimpse rather than a full app shot */
.step__shot {
  position: relative;
  margin: auto -30px 0;   /* auto top: shots line up across cards of unequal text */
  height: 200px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.step__shot img {
  display: block;
  width: min(74%, 210px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.6));
  will-change: transform;
}

/* =============================================================
   SECTION D — a day together (Web1)
   ============================================================= */
.day { padding: clamp(48px, 7vw, 92px) 0 clamp(70px, 10vw, 130px); }
.day__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: stretch;
}
/* flex column so the mascot can center itself in the leftover space
   below the subtext (auto margins on all sides) */
.day__copy { display: flex; flex-direction: column; }
.day__sub { color: var(--steel); font-size: 1.05rem; max-width: 26rem; margin-bottom: 2rem; }
.day__mascot { width: 200px; margin: auto; filter: drop-shadow(0 12px 30px rgba(255, 72, 9, 0.3)); }

.day__timeline {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  border-left: 2px solid rgba(255, 92, 46, 0.25);
  padding-left: 1.6rem;
}
.moment { position: relative; }
.moment::before {
  content: "";
  position: absolute;
  left: calc(-1.6rem - 7px);
  top: 0.35rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px rgba(255, 92, 46, 0.8);
}
.moment__time {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--steel);
}
.moment__card {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--twilight);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-top-left-radius: 4px;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
}
.moment__card img {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-top: 0.15rem;
  object-fit: contain;
  scale: var(--char-art-scale, 1);
}
.moment__card p { color: var(--moonlight); }
.moment__card--done {
  border-color: rgba(6, 178, 95, 0.4);
  background: linear-gradient(135deg, rgba(6, 178, 95, 0.14), var(--twilight) 60%);
}
.moment__check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-weight: 700;
}
.moment__card--cheer {
  border-color: rgba(255, 196, 107, 0.35);
  background: linear-gradient(135deg, rgba(255, 196, 107, 0.1), var(--twilight) 60%);
}

/* =============================================================
   SECTION E — features, stacked rows
   ============================================================= */
.features { padding: clamp(48px, 7vw, 92px) 0 clamp(70px, 10vw, 130px); }
.feature-rows { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 30px); }

.frow {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--r-card);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.frow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 100% 0%, var(--glow, rgba(255, 72, 9, 0.18)) 0%, transparent 60%);
  pointer-events: none;
}
.frow:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 146, 9, 0.35);
  box-shadow: 0 30px 60px -34px rgba(255, 72, 9, 0.5);
}
.frow > * { position: relative; z-index: 1; }
.frow--flip .frow__copy { order: 2; }
.frow--flip .frow__art  { order: 1; }

.frow__ico {
  width: 54px; height: 54px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
}
.frow__copy h3 { color: #fff; margin-bottom: 12px; }
.frow__copy p { color: var(--text-dim); font-size: 1rem; max-width: 44ch; }

/* chat demo — Web2 */
.chat-demo { display: flex; flex-direction: column; gap: 12px; }
.bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
}
.bubble.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eef;
  border-bottom-left-radius: 5px;
}
.bubble.me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--carrot), var(--ember));
  color: #fff;
  border-bottom-right-radius: 5px;
}
.bubble.is-in { animation: bubble-in 0.6s var(--ease) forwards; }
@keyframes bubble-in { to { opacity: 1; transform: translateY(0); } }

/* streak panel */
.streak {
  background: var(--abyss);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 22px 24px;
}
.streak__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.streak__head b { font-size: 22px; letter-spacing: -0.02em; text-transform: none; color: var(--ember); }
.streak__dots { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 16px; }
.streak__dots i {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.streak__dots i.on  { background: var(--grad-warm-soft); border-color: transparent; }
.streak__dots i.now { background: rgba(255, 92, 46, 0.15); border: 2px solid var(--ember); animation: livePulse 1.8s var(--ease) infinite; }
.streak__note { font-size: 14px; color: var(--text-dim); }

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 92, 46, 0.22); }
  50%      { box-shadow: 0 0 0 7px rgba(255, 92, 46, 0.04); }
}

/* growth ladder */
.ladder { display: flex; flex-direction: column; gap: 10px; }
.rung {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--abyss);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
}
.rung.done { opacity: 0.65; }
.rung.live { color: var(--moonlight); border-color: rgba(255, 92, 46, 0.4); }
.rung.next { border-style: dashed; }
.tick {
  width: 20px; height: 20px;
  border-radius: 6px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  background: var(--success);
}
.dotpulse {
  width: 20px; height: 20px;
  border-radius: 6px;
  flex: none;
  border: 2px solid var(--ember);
  position: relative;
}
.dotpulse::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 2px;
  background: var(--ember);
  animation: livePulse 1.8s var(--ease) infinite;
}
.soon {
  width: 20px; height: 20px;
  border-radius: 6px;
  flex: none;
  border: 2px dashed var(--line-strong);
}

/* =============================================================
   SECTION F — the feeling
   ============================================================= */
.feelings { padding: clamp(48px, 7vw, 92px) 0 clamp(70px, 10vw, 130px); }
.feel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feel {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 28px;
  border-radius: var(--r-card);
  background: var(--dusk);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feel::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--feel, var(--ember));
  opacity: 0.85;
}
.feel:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -36px var(--feel, var(--ember));
}
.feel__num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.feel__word {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1;
  margin-bottom: 12px;
  color: var(--feel, var(--ember));
}
.feel p { color: var(--text-dim); font-size: 0.94rem; }

/* =============================================================
   SECTION G — meet / say hi (Web3)
   ============================================================= */
.meet {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 130px) clamp(16px, 4vw, 40px);
}
.meet .section-head { position: relative; z-index: 1; }
.avatars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 44px);
  flex-wrap: wrap;
}
.avatar-slot {
  flex: 0 0 auto;
  width: clamp(80px, 10vw, 120px);
  height: clamp(80px, 10vw, 120px);
  display: grid;
  place-items: center;
}
.avatar {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  border-radius: 22px;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s var(--ease);
}
.avatar:hover { transform: translateY(-8px) scale(1.06) rotate(-2deg); }
.avatars img[src$="char_1.png"]  { width: 104%; height: 104%; }
.avatars img[src$="char_4.png"]  { width: 86%; height: 86%; }
.avatars img[src$="char_12.png"] { width: 119%; height: 119%; }
.avatars img[src$="char_23.png"] { width: 110%; height: 110%; }
.avatar-slot--hero {
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
}
.avatar--hero {
  width: 100%;
  height: 100%;
  border-radius: 0;
  filter: drop-shadow(0 24px 40px rgba(255, 72, 9, 0.45));
}

/* =============================================================
   SECTION H — voices (Web3)
   ============================================================= */
.voices { max-width: var(--maxw); margin: 0 auto; padding: clamp(50px, 8vw, 90px) clamp(16px, 4vw, 40px) clamp(70px, 10vw, 110px); }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  margin: 0;
  padding: 30px;
  border-radius: var(--r-card);
  background: var(--dusk);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.quote:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.quote blockquote { font-size: 17px; font-weight: 600; line-height: 1.5; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption strong { font-weight: 800; }
.quote figcaption span { color: var(--text-mute); font-size: 14px; }

/* =============================================================
   SECTION I — final CTA (Web1 dawn styling, Web2 copy)
   ============================================================= */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(56px, 8.5vw, 108px) 0 clamp(90px, 14vw, 170px);
}
/* the dawn itself lives on the fixed .sky backdrop (Web1) — no scrolling layers here */

.final__inner { position: relative; z-index: 2; max-width: 820px; }
.final__mascot {
  width: 150px;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 14px 34px rgba(255, 72, 9, 0.45));
}
.final__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 22px 0 1.4rem;
  color: #fff;
}
.final__sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0 auto 2.4rem;
}
.final .store-row { margin-bottom: 22px; }
.final .btn-ghost { background: rgba(0, 0, 0, 0.28); border-color: rgba(255, 255, 255, 0.3); }
.final .btn-ghost:hover { background: rgba(0, 0, 0, 0.4); }
.final .hero-note { justify-content: center; color: rgba(255, 255, 255, 0.75); }
.final .hero-note b { color: #b6ffd8; }

/* =============================================================
   FOOTER — Web3, no anchor links
   ============================================================= */
.footer {
  background: var(--midnight);
  padding: 22px clamp(16px, 4vw, 40px) 26px;
}
.footer__top,
.footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}
.footer__links a {
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer__links a:hover,
.footer__links a:focus-visible { color: #fff; text-decoration: underline; }
.footer__bottom {
  padding-top: 12px;
  color: var(--text-mute);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
}

/* =============================================================
   SCROLL REVEAL base state — JS adds .in.
   Without JS everything stays visible.
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(30px); }
  .js .reveal.in {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 960px) {
  .hero { padding-top: 92px; padding-bottom: 130px; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; min-height: auto; }
  /* smaller title + breathing room between the two sentences so
     mid-sentence wraps read as grouped */
  .gap__title { font-size: clamp(1.7rem, 6.4vw, 2.6rem); }
  .gap__title .gap__line + .gap__line { margin-top: 0.55em; }
  .hero__art { order: -1; min-height: 420px; }
  .hero__stage { --peek: 46px; }
  .hero__phone { width: min(54%, 300px); }
  .hero__mascot { width: min(20%, 118px); }
  /* stacked steps: a shorter glimpse so the cards stay scannable */
  .step__shot { height: 170px; }
  .hero__sub { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .day__inner { grid-template-columns: 1fr; }
  .day__copy { text-align: center; }
  .day__sub { margin-left: auto; margin-right: auto; }
  .day__mascot { margin: 0 auto; }
  .section-title--left { text-align: center; }
  .frow { grid-template-columns: 1fr; }
  .frow__copy, .frow--flip .frow__copy { order: 1; }
  .frow__art,  .frow--flip .frow__art  { order: 2; }
  .frow__copy p { max-width: none; }
  .feel-grid { grid-template-columns: 1fr 1fr; }
  .voices__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .chip { display: none; }
  .feel-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .store-row { width: 100%; }
  .day__mascot { width: 160px; }

  /* smaller hero stage on phones */
  .hero__art { min-height: 340px; }
  .hero__stage { --peek: 34px; }
  .hero__phone { width: min(58%, 220px); }
  .hero__mascot { width: min(26%, 92px); }

  /* Say hi: hero mascot centered, the four characters ringed around it */
  .avatars { position: relative; display: block; height: 340px; }
  .avatars .avatar-slot {
    position: absolute;
    width: 80px;
    height: 80px;
  }
  .avatars .avatar-slot--hero {
    width: 150px;
    height: 150px;
    inset: 0;
    margin: auto;
  }
  .avatars .avatar-slot:nth-child(1) { left: 4%;  top: 23%; }
  .avatars .avatar-slot:nth-child(2) { right: 14%; top: 2%; }
  .avatars .avatar-slot:nth-child(4) { right: 4%; bottom: 23%; }
  .avatars .avatar-slot:nth-child(5) { left: 14%; bottom: 2%; }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .bubble { opacity: 1; transform: none; }
}
