/* Billow — CyberHabit showcase site
   Built on the Billow Design System. Tokens inlined. */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ── Billow brand palette ──────────────────────────── */
  --primary:    #091A7A;  /* boutons, liens actifs */
  --accent:     #E2765A;  /* badges, alertes */
  --secondary:  #ADC8FF;  /* informations, tags */
  --foreground: #141E3C;  /* texte principal, titres */
  --muted:      #8C8C9E;  /* texte secondaire */

  --primary-soft:   #E8ECFB;
  --accent-soft:    #FCEAE2;
  --secondary-soft: #DCE7FF;

  --bg-canvas:   #FAFBFE;
  --bg-card:     #FFFFFF;
  --bg-soft:     #F2F4FB;
  --ink:         var(--foreground);
  --ink-2:       #3A4566;
  --ink-3:       var(--muted);
  --ink-4:       #C5CADD;

  /* Legacy accent hooks now mapped to brand palette */
  --accent-amber:   var(--accent);
  --accent-leaf:    var(--primary);
  --accent-azure:   var(--secondary);
  --accent-clay:    var(--accent);
  --accent-violet:  var(--primary);
  --accent-coral:   var(--accent);

  --pastel-amber:  var(--accent-soft);
  --pastel-leaf:   var(--primary-soft);
  --pastel-clay:   var(--accent-soft);
  --pastel-azure:  var(--secondary-soft);
  --pastel-violet: var(--primary-soft);
  --pastel-coral:  var(--accent-soft);

  --line-subtle:  rgba(20, 30, 60, 0.06);
  --line-default: rgba(20, 30, 60, 0.12);
  --line-strong:  rgba(20, 30, 60, 0.22);

  --font-display: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;

  --radius-section: 32px;
  --radius-full: 9999px;

  --shadow-card: 0 8px 32px rgba(9, 26, 122, 0.10);
  --shadow-pill: 0 2px 8px rgba(9, 26, 122, 0.12);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 180ms;
  --dur-base: 280ms;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: transparent; color: var(--ink);
  position: relative;
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html { background: #F2F3F5; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.025em; }
h3 { font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
h4 { font-size: 22px; font-weight: 600; line-height: 1.2; }
p  { margin: 0; color: var(--ink-2); line-height: 1.55; }
a  { color: inherit; }

.display { font-family: var(--font-display); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em; color: var(--ink); }
.accent-amber  { color: var(--accent-amber);  }
.accent-leaf   { color: var(--accent-leaf);   }
.accent-azure  { color: var(--accent-azure);  }
.accent-clay   { color: var(--accent-clay);   }
.accent-violet { color: var(--accent-violet); }
.accent-coral  { color: var(--accent-coral); }

.eyebrow { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--primary); display: inline-block; }

/* ─── Pills / buttons ─────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  border: 1px solid var(--line-default); background: var(--bg-card); color: var(--ink);
  cursor: pointer; transition: all var(--dur-fast) var(--ease); box-shadow: var(--shadow-pill);
  text-decoration: none;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(20,16,10,0.12); }
.pill-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.pill-amber   { background: var(--accent); color: #fff; border-color: var(--accent); }
.pill-leaf    { background: var(--primary); color: #fff; border-color: var(--primary); }
.pill-ghost   { background: transparent; box-shadow: none; }

/* ─── Layout ─────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ─── Floating capsule nav ─────────────────────────── */
.nav-shell {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 9999px;
  box-shadow: var(--shadow-pill);
  border: 1px solid var(--line-subtle);
  max-width: calc(100vw - 32px);
}
.nav-shell .brand { display: flex; align-items: center; gap: 8px; padding: 6px 14px; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.nav-shell .brand img { display: block; }
.nav-shell a.link { padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: 9999px; transition: all var(--dur-fast) var(--ease); }
.nav-shell a.link:hover { background: var(--bg-soft); }
.nav-shell .demo { padding: 10px 18px; font-size: 14px; font-weight: 500; background: var(--primary); color: #fff; border-radius: 9999px; text-decoration: none; }
.nav-shell .demo:hover { background: #061463; }
.nav-shell .lang {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--bg-soft); border-radius: 9999px; padding: 3px;
  margin-right: 4px;
}
.nav-shell .lang button {
  appearance: none; border: 0; background: transparent;
  padding: 6px 10px; font-size: 12px; font-weight: 600; color: var(--ink-3);
  border-radius: 9999px; cursor: pointer; font-family: inherit;
  transition: all var(--dur-fast) var(--ease);
}
.nav-shell .lang button.active { background: var(--ink); color: var(--bg-canvas); }

/* ─── Nav menu (modern dropdown) ─── */
.nav-shell .nav-menu-btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 10px 12px; border-radius: 9999px; display: none; align-items: center;
  transition: background var(--dur-fast) var(--ease); font-family: inherit;
}
.nav-shell .nav-menu-btn:hover { background: var(--bg-soft); }
.nav-shell .nav-menu-btn .bars { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-shell .nav-menu-btn .bars span {
  display: block; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-shell .nav-menu-btn.open .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-shell .nav-menu-btn.open .bars span:nth-child(2) { opacity: 0; }
.nav-shell .nav-menu-btn.open .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  position: fixed; inset: 0; z-index: 49;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 88px 16px 16px;
  background: rgba(9,12,20,0.18);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease);
}
.nav-menu.open { opacity: 1; pointer-events: auto; }
.nav-menu-card {
  background: var(--bg-card); border: 1px solid var(--line-subtle);
  border-radius: 20px; box-shadow: var(--shadow-card);
  padding: 12px; width: min(280px, 100%);
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-10px); transition: transform .22s var(--ease);
}
.nav-menu.open .nav-menu-card { transform: none; }
.nav-menu-group h6 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--ink-3); margin: 0 0 8px; font-weight: 600;
}
.nav-menu-group a {
  display: block; padding: 8px 10px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: background var(--dur-fast) var(--ease);
}
.nav-menu-group a:hover { background: var(--bg-soft); }

@media (max-width: 600px) {
  .nav-menu { padding-top: 74px; }
}

/* ─── HERO — photo (default) ─────────────────────────── */
.hero-photo {
  padding: 100px 16px 40px;
  background: transparent;
  position: relative;
}
.hero-photo .frame {
  position: relative;
  max-width: 1280px; margin: 0 auto;
  aspect-ratio: 16/10;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(20,16,10,0.10);
  animation: heroOpen 1100ms cubic-bezier(0.7, 0, 0.2, 1) both;
  background: linear-gradient(140deg, #091A7A, #0A0F2C);
}
.hero-photo .frame::before {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.0) 28%, rgba(0,0,0,0.55) 100%);
  z-index: 2; pointer-events: none;
}
.hero-photo .frame .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 2400ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: 200ms;
}
.hero-photo .top-pill {
  position: absolute; top: 24px; left: 24px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 9999px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.30);
  color: #fff; font-size: 13px; font-weight: 500;
  opacity: 0; animation: fadeUp 700ms var(--ease) 900ms both;
}
.hero-photo .float-card {
  position: absolute; top: 50%; right: 6%; z-index: 3;
  width: 380px; max-width: 80%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.10); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 22px; padding: 26px;
  color: #fff;
  opacity: 0; animation: fadeUp 700ms var(--ease) 1100ms both;
}
.hero-photo .float-card .label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 12px; display: block;
}
.hero-photo .float-card p { color: rgba(255,255,255,0.92); font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.hero-photo .float-card .ctas { display:flex; gap: 8px; flex-wrap:wrap; }
.hero-photo .float-card .pill { background: var(--accent-amber); border-color: var(--accent-amber); color: var(--ink); }
.hero-photo .float-card .pill.ghost { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.30); color: #fff; }

.hero-photo .big-headline {
  position: absolute; left: 0; right: 0; bottom: 36px; z-index: 3;
  padding: 0 48px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.035em;
  color: #fff;
  max-width: 1100px;
}
.hero-photo .big-headline .word {
  display: inline-block; opacity: 0; transform: translateY(28px);
  animation: wordRise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-photo .big-headline .word.accent { color: var(--accent-amber); }
.hero-photo .scroll-cue {
  position: absolute; bottom: 36px; right: 36px; z-index: 3;
  color: rgba(255,255,255,0.85); font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 700ms var(--ease) 1500ms both;
}
.hero-photo .scroll-cue .circle {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.20); display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.35);
}

@keyframes heroOpen {
  0%   { clip-path: inset(46% 0 46% 0); }
  100% { clip-path: inset(0 0 0 0); }
}
@keyframes heroZoom {
  0%   { transform: scale(1.18); }
  100% { transform: scale(1.00); }
}
@keyframes wordRise {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: none; }
}

/* ─── HERO — split (variation) ─────────────────────────── */
.hero-split {
  padding: 130px 0 64px;
  position: relative; overflow: hidden;
  background-color: #E89878;
}
.hero-split::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('assets/hero%20ripple%202.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}
.hero-split .container { position: relative; z-index: 1; }
.hero-split .eyebrow img { vertical-align: -3px; margin-right: 4px; }
.hero-split .inner { display: block; max-width: 580px; }
.hero-split h1.display {
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 0.98; letter-spacing: -0.035em;
  font-weight: 700;
  background: linear-gradient(160deg, var(--foreground) 0%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-split h1.display .accent-leaf,
.hero-split h1.display .accent-amber {
  background: linear-gradient(110deg, #F35369 0%, #C13584 30%, #833AB4 55%, #4F5BD5 80%, #091A7A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-photo .big-headline .word.accent {
  background: linear-gradient(110deg, var(--primary) 0%, #5b3aa8 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-split p.lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 24px 0 32px; max-width: 480px; }
.hero-split .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-split .trust-line { margin-top: 32px; display:flex; gap: 18px; align-items:center; color: var(--ink-3); font-size: 13px; flex-wrap: wrap; }
.hero-split .trust-line .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); display: inline-block; }

/* phone mock */
.phone-mock {
  position: relative;
  width: 320px; height: 640px;
  margin: 0 auto;
  border-radius: 44px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 40px 80px rgba(20,16,10,0.18), 0 0 0 1px var(--line-subtle);
}
.phone-mock .screen {
  width: 100%; height: 100%; border-radius: 36px;
  overflow: hidden; position: relative;
  background: var(--bg-canvas);
  display: flex; flex-direction: column;
}
.phone-mock .notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px; background: var(--ink); border-radius: 12px; z-index: 5;
}
.phone-mock .status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 8px; font-size: 11px; font-weight: 600; color: var(--ink-2);
}
.phone-mock .top {
  padding: 10px 18px 14px; display: flex; justify-content: space-between; align-items: center;
}
.phone-mock .top .greet { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.phone-mock .top .day { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.phone-mock .top .pts {
  background: var(--pastel-amber); color: var(--accent-clay);
  padding: 5px 10px; border-radius: 9999px; font-size: 11px; font-weight: 600;
}
.phone-mock .scroll {
  padding: 0 16px 12px; flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
}

.phone-mock .hero-card {
  background: linear-gradient(140deg, var(--accent-leaf), #3050C0);
  border-radius: 18px; padding: 16px; color: #fff;
  position: relative; overflow: hidden;
}
.phone-mock .hero-card .tag { font-size: 10px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.phone-mock .hero-card h5 { font-family: var(--font-display); font-size: 18px; line-height: 1.15; margin: 6px 0 10px; }
.phone-mock .hero-card .progress {
  height: 6px; background: rgba(255,255,255,0.25); border-radius: 999px; overflow: hidden;
  margin-bottom: 8px;
}
.phone-mock .hero-card .progress span { display: block; height: 100%; width: 60%; background: #fff; border-radius: 999px; }
.phone-mock .hero-card .meta { display: flex; justify-content: space-between; font-size: 11px; opacity: 0.85; }

.phone-mock .habit-row {
  background: var(--bg-card); border-radius: 14px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 1px 4px rgba(20,16,10,0.04);
}
.phone-mock .habit-row .check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--ink-4); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff;
}
.phone-mock .habit-row.done .check { background: var(--accent-leaf); border-color: var(--accent-leaf); }
.phone-mock .habit-row.done .check::after { content: '✓'; font-weight: 700; }
.phone-mock .habit-row .body { flex: 1; min-width: 0; }
.phone-mock .habit-row .body .ttl { font-size: 13px; font-weight: 600; line-height: 1.2; }
.phone-mock .habit-row .body .sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.phone-mock .habit-row.done .body .ttl { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-4); }
.phone-mock .habit-row .pts {
  font-size: 11px; font-weight: 700; color: var(--accent-leaf);
  font-family: var(--font-display);
}

.phone-mock .gauge-card {
  background: var(--bg-card); border-radius: 14px; padding: 14px;
  box-shadow: 0 1px 4px rgba(20,16,10,0.04);
}
.phone-mock .gauge-card .row { display:flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.phone-mock .gauge-card .ttl { font-size: 13px; font-weight: 600; }
.phone-mock .gauge-card .badge { font-size: 10px; color: var(--accent-azure); background: var(--pastel-azure); padding: 3px 8px; border-radius: 9999px; font-weight: 600; }
.phone-mock .gauge-card .dots { display: flex; gap: 8px; }
.phone-mock .gauge-card .gd {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px dashed var(--ink-4);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff;
  transition: all 250ms var(--ease);
}
.phone-mock .gauge-card .gd.on { background: var(--accent-azure); border: 1.5px solid var(--accent-azure); }
.phone-mock .gauge-card .gd.on::after { content: '✓'; font-weight: 700; }

/* Animated phone progress */
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}
.phone-mock .ring {
  position: absolute; pointer-events: none;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--accent-leaf);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: pulseRing 2200ms var(--ease) infinite;
}

/* ─── HERO — dark (variation) ─────────────────────────── */
:root {
  --dark-bg: #0A0F2C;
  --dark-bg-2: #050817;
  --dark-card: #141E3C;
  --dark-line: rgba(255, 255, 255, 0.10);
  --dark-ink: #F4F6FF;
  --dark-ink-2: #B7C0DE;
  --dark-ink-3: #7E89B0;
  --pink: #E2765A;
  --neon-violet: #6A7BE8;
}

.hero-dark {
  position: relative;
  padding: 130px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(106, 123, 232, 0.32), transparent 60%),
    radial-gradient(ellipse 70% 70% at 10% 80%, rgba(226, 118, 90, 0.20), transparent 60%),
    linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  color: var(--dark-ink);
  overflow: hidden;
}
.hero-dark .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-dark .eyebrow { color: var(--pink); }
.hero-dark .display { color: var(--dark-ink); font-size: clamp(56px, 7vw, 104px); }
.hero-dark .lead { color: var(--dark-ink-2); margin: 24px 0 32px; max-width: 480px; font-size: 19px; }
.hero-dark .pill { background: rgba(255,255,255,0.08); color: var(--dark-ink); border-color: rgba(255,255,255,0.18); backdrop-filter: blur(8px); }
.hero-dark .pill:hover { background: rgba(255,255,255,0.14); }
.hero-dark .pill-pink {
  background: linear-gradient(120deg, var(--pink) 0%, var(--neon-violet) 100%);
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 24px rgba(106,123,232,0.4);
}
.hero-dark .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dark .trust { margin-top: 28px; color: var(--dark-ink-3); font-size: 13px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-dark .video-frame {
  position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(160deg, #091A7A 0%, #050817 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.hero-dark .video-frame video { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: lighten; opacity: 0.92; }
.hero-dark .dot-deco {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--neon-violet); box-shadow: 0 0 24px var(--neon-violet);
}
.hero-dark .dot-deco.d1 { top: 12%; left: 8%; }
.hero-dark .dot-deco.d2 { bottom: 18%; right: 10%; }

/* ─── Section panel (signature) ─────────────────────────── */
.panel {
  border-radius: var(--radius-section);
  padding: clamp(48px, 6vw, 88px);
  margin: 32px 0;
  position: relative; overflow: hidden;
}
.panel.leaf  { background: var(--pastel-leaf); }
.panel.amber { background: var(--pastel-amber); }
.panel.clay  { background: var(--pastel-clay); }
.panel.azure { background: var(--pastel-azure); }
.panel.violet{ background: var(--pastel-violet); }
.panel.coral { background: var(--pastel-coral); }
.panel.ink   { background: var(--ink); color: var(--bg-canvas); }
.panel.ink h2, .panel.ink h3, .panel.ink h4 { color: var(--bg-canvas); }
.panel.ink p { color: rgba(255,255,255,0.75); }

.panel .eyebrow { display: block; margin-bottom: 16px; }
.panel.amber .eyebrow { color: var(--accent-amber); }
.panel.clay  .eyebrow { color: var(--accent-clay); }
.panel.azure .eyebrow { color: var(--accent-azure); }
.panel.violet .eyebrow { color: var(--accent-violet); }
.panel.coral  .eyebrow { color: var(--accent-coral); }
.panel.ink    .eyebrow { color: var(--accent-amber); }
.panel h2 { font-size: clamp(40px, 5vw, 76px); line-height: 0.98; letter-spacing: -0.035em; max-width: 980px; }
.panel .lead { margin-top: 18px; max-width: 580px; color: var(--ink-2); font-size: 18px; }
.panel.ink .lead { color: rgba(255,255,255,0.75); }

/* ─── How it works ─────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step {
  background: var(--bg-card);
  border-radius: 24px; padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--accent-leaf); letter-spacing: 0.04em; }
.step h3 { font-size: 22px; margin: 14px 0 10px; line-height: 1.2; }
.step p { font-size: 15px; color: var(--ink-2); }
.step .ico {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--pastel-leaf); color: var(--accent-leaf);
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 28px; right: 28px;
}
.step.has-photo { padding: 0; overflow: hidden; }
.step.has-photo .photo {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  border-bottom: 1px solid var(--line-subtle);
}
.step.has-photo .photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease);
}
.step.has-photo:hover .photo img { transform: scale(1.04); }
.step.has-photo .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,26,122,0) 50%, rgba(9,26,122,0.4) 100%);
  pointer-events: none;
}
.step.has-photo .num {
  position: absolute; top: 16px; left: 20px; z-index: 2;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; padding: 5px 10px; border-radius: 9999px;
  font-size: 11px; letter-spacing: 0.06em;
}
.step.has-photo .ico {
  position: absolute; top: 16px; right: 20px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 34px; height: 34px;
}
.step.has-photo h3 { padding: 22px 24px 0; }
.step.has-photo p  { padding: 8px 24px 26px; }

/* ─── DAILY HABIT FEATURE SPOTLIGHT (custom) ─────────────────────────── */
.habit-spotlight {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 64px; align-items: center; margin-top: 56px;
}
.habit-spotlight .copy p { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.55; }
.habit-spotlight .copy p.closer {
  margin-top: 22px; font-weight: 600; color: var(--ink); font-size: 17px; line-height: 1.5;
}

/* Billow method — copy + animated wave visual */
.how-layout {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 64px; align-items: center; margin-top: 40px;
}
.how-layout .copy p { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.55; }
.how-layout .copy p.closer {
  margin-top: 22px; font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.5;
}
.ripple-visual {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ripple-visual .phone-mock {
  position: relative;
  z-index: 3;
  transform: scale(0.82);
  transform-origin: center;
  margin: -60px 0;
}
.ripple-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.ripple-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  animation: ripple-spread 4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.ripple-ring.r1 { animation-delay: 0s; }
.ripple-ring.r2 { animation-delay: 0.8s; }
.ripple-ring.r3 { animation-delay: 1.6s; }
.ripple-ring.r4 { animation-delay: 2.4s; }
.ripple-ring.r5 { animation-delay: 3.2s; }
@keyframes ripple-spread {
  0%   { transform: translate(-50%, -50%) scale(0.6);  opacity: 0.55; border-width: 2.5px; }
  60%  { opacity: 0.22; border-width: 1.5px; }
  100% { transform: translate(-50%, -50%) scale(7);    opacity: 0;    border-width: 0.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ripple-ring { animation: none; }
  .ripple-ring.r1 { opacity: 0.40; transform: translate(-50%, -50%) scale(1.4); }
  .ripple-ring.r2 { opacity: 0.28; transform: translate(-50%, -50%) scale(2.6); }
  .ripple-ring.r3 { opacity: 0.18; transform: translate(-50%, -50%) scale(3.8); }
  .ripple-ring.r4 { opacity: 0.10; transform: translate(-50%, -50%) scale(5.2); }
  .ripple-ring.r5 { opacity: 0.05; transform: translate(-50%, -50%) scale(6.4); }
}

/* Two-device stack: desktop + smartphone */
.device-stack {
  position: relative;
  display: block;
  min-height: 420px;
}
.device-desktop {
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-subtle);
  overflow: hidden;
  width: 88%;
  position: relative;
}
.device-desktop .browser-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-subtle);
}
.device-desktop .browser-chrome .d {
  width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4);
}
.device-desktop .browser-chrome .d:nth-child(1) { background: #FF5F56; }
.device-desktop .browser-chrome .d:nth-child(2) { background: #FFBD2E; }
.device-desktop .browser-chrome .d:nth-child(3) { background: #27C93F; }
.device-desktop .browser-chrome .url {
  flex: 1; margin-left: 10px; font-size: 11px; color: var(--ink-3);
  background: var(--bg-card); padding: 4px 12px; border-radius: 9999px;
  text-align: center;
}
.device-desktop .desktop-body { padding: 22px 24px 24px; }
.device-desktop .top-row {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px;
}
.device-desktop .label { font-size: 11px; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.device-desktop .day-num {
  font-family: var(--font-display); font-weight: 700; font-size: 44px;
  letter-spacing: -0.03em; line-height: 1; color: var(--ink); margin-top: 4px;
}
.device-desktop .day-of { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.streak-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pastel-amber); color: var(--accent-clay);
  padding: 7px 13px; border-radius: 9999px; font-size: 13px; font-weight: 600;
}
.streak-pill.mini { padding: 5px 10px; font-size: 11px; }
.streak-pill .flame { font-size: 14px; }
.device-desktop .calendar {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-top: 10px;
}
.device-desktop .calendar .cell {
  aspect-ratio: 1; border-radius: 6px;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--ink-3); font-weight: 600;
  position: relative;
}
.device-desktop .calendar .cell.done { background: var(--accent-leaf); color: #fff; }
.device-desktop .calendar .cell.partial { background: #ADC8FF; color: #091A7A; }
.device-desktop .calendar .cell.today { box-shadow: 0 0 0 2px var(--ink); }
.device-desktop .calendar .cell.future { background: var(--bg-soft); color: var(--ink-4); opacity: 0.6; }
.device-desktop .legend {
  display: flex; gap: 14px; margin-top: 14px; font-size: 11px; color: var(--ink-3); align-items: center;
}
.device-desktop .legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.device-desktop .legend .sw { width: 9px; height: 9px; border-radius: 3px; }

.device-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  max-width: 220px;
}
.device-phone .phone-frame {
  background: #1a1a1a;
  border-radius: 32px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(20,16,10,0.22), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.device-phone .phone-screen {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 14px 12px 16px;
  overflow: hidden;
}
.device-phone .phone-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; font-weight: 600; color: var(--ink); padding: 0 4px 8px;
}
.device-phone .phone-status .phone-icons { letter-spacing: 1px; font-size: 8px; }
.device-phone .phone-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-subtle); margin-bottom: 6px;
}
.device-phone .phone-header h6 {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  margin: 0; color: var(--ink);
}
.device-phone .today-list .item {
  display: flex; align-items: center; gap: 8px; padding: 8px 0;
  border-bottom: 1px solid var(--line-subtle);
}
.device-phone .today-list .item:last-child { border-bottom: none; }
.device-phone .today-list .item .check {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--ink-4); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #fff;
}
.device-phone .today-list .item.done .check { background: var(--accent-leaf); border-color: var(--accent-leaf); }
.device-phone .today-list .item.done .check::after { content: '✓'; font-weight: 700; }
.device-phone .today-list .item .ttl { flex: 1; font-size: 11px; font-weight: 500; line-height: 1.25; }
.device-phone .today-list .item.done .ttl { color: var(--ink-3); }
.device-phone .today-list .item .typ {
  font-size: 9px; padding: 2px 6px; border-radius: 9999px; font-weight: 600;
  background: var(--bg-soft); color: var(--ink-3); white-space: nowrap;
}
.device-phone .today-list .item .typ.habit { background: var(--pastel-leaf); color: var(--accent-leaf); }
.device-phone .today-list .item .typ.quiz  { background: var(--pastel-amber); color: var(--accent-clay); }
.device-phone .today-list .item .typ.audio { background: var(--pastel-azure); color: var(--accent-azure); }
.device-phone .today-list .item .typ.gauge { background: var(--pastel-violet); color: var(--accent-violet); }

@media (max-width: 920px) {
  .habit-spotlight { grid-template-columns: 1fr; }
  .device-stack { min-height: 0; }
  .device-desktop { width: 100%; }
  .device-phone {
    position: static; width: 60%; max-width: 240px; margin: 36px auto 0;
  }
}

/* ─── Content types grid (cards with "Why it works" callout) ─── */
.ct-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 48px;
}
.ct-card {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.ct-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(9, 26, 122, 0.14);
}
.ct-card h4 {
  font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em;
  margin-bottom: 8px; color: var(--ink);
}
.ct-card > p {
  font-size: 14px; line-height: 1.55; color: var(--ink-2);
  margin-bottom: 22px; flex: 1;
}
.ct-why {
  background: linear-gradient(135deg, #0F1834 0%, #1B2B5E 100%);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
  margin-top: auto;
  position: relative; overflow: hidden;
}
.ct-why::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(226, 118, 90, 0.18), transparent 60%);
  pointer-events: none;
}
.ct-why-label {
  position: relative;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-amber);
  display: inline-flex; align-items: center; gap: 6px;
}
.ct-spark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(226, 118, 90, 0.22);
  font-size: 11px; line-height: 1;
}
.ct-why-text {
  position: relative;
  font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
@media (max-width: 1100px) {
  .ct-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Offer cards (4 horizontal journeys) ─────────────────── */
.offer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 48px;
}
.offer-card {
  background: #0F1834;
  border-radius: 20px; padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
.offer-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--tone, rgba(255,255,255,0.10)) 0%, transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}
.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.20);
}
.offer-card.tone-amber  { --tone: rgba(226, 118, 90, 0.45); }
.offer-card.tone-leaf   { --tone: rgba(173, 200, 255, 0.40); }
.offer-card.tone-violet { --tone: rgba(173, 200, 255, 0.30); }
.offer-card.tone-azure  { --tone: rgba(226, 118, 90, 0.30); }

.offer-card .ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}
.offer-card.tone-amber  .ico { color: var(--accent); background: rgba(226, 118, 90, 0.16); border-color: rgba(226, 118, 90, 0.35); }
.offer-card.tone-leaf   .ico { color: var(--secondary); background: rgba(173, 200, 255, 0.14); border-color: rgba(173, 200, 255, 0.35); }
.offer-card.tone-violet .ico { color: #C9B8FF; background: rgba(201, 184, 255, 0.14); border-color: rgba(201, 184, 255, 0.30); }
.offer-card.tone-azure  .ico { color: var(--secondary); background: rgba(173, 200, 255, 0.14); border-color: rgba(173, 200, 255, 0.35); }

.offer-card h4 {
  position: relative;
  color: #fff; font-size: 19px; font-weight: 700;
  letter-spacing: -0.015em; margin: 0 0 6px;
}
.offer-card .tagline {
  position: relative;
  display: block;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; line-height: 1.3;
  margin-bottom: 14px;
}
.offer-card.tone-amber  .tagline { color: var(--accent); }
.offer-card.tone-leaf   .tagline { color: var(--secondary); }
.offer-card.tone-violet .tagline { color: #C9B8FF; }
.offer-card.tone-azure  .tagline { color: var(--secondary); }

.offer-card p {
  position: relative;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px; line-height: 1.5;
  margin: 0;
}

@media (max-width: 1100px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Culture (approach + benefits) ─────────────────────── */
.culture-approach {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: start; margin-top: 48px;
}
.culture-copy .kicker,
.science-card .kicker {
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-violet);
}
.culture-copy h3 {
  font-size: clamp(24px, 2.6vw, 32px); margin: 10px 0 14px;
  letter-spacing: -0.02em;
}
.culture-copy > p { color: var(--ink-2); font-size: 16px; max-width: 520px; }

.culture-principles {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 18px;
}
.culture-principles li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  background: var(--bg-card); border-radius: 16px; padding: 18px 20px;
  box-shadow: var(--shadow-card);
}
.culture-principles .num {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--accent-violet);
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--pastel-violet);
  display: flex; align-items: center; justify-content: center;
}
.culture-principles h4 { font-size: 17px; margin: 2px 0 4px; }
.culture-principles p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; }

.science-card {
  background: var(--bg-card); border-radius: 22px; padding: 28px;
  box-shadow: var(--shadow-card);
  position: sticky; top: 24px;
}
.science-card h4 {
  font-size: 22px; margin: 8px 0 20px; letter-spacing: -0.02em;
}
.science-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 18px; border-radius: 14px; background: var(--pastel-violet);
  margin-bottom: 20px;
}
.science-stats .stat { text-align: center; }
.science-stats .stat strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 26px; color: var(--accent-violet); line-height: 1;
  margin-bottom: 6px;
}
.science-stats .stat span {
  display: block; font-size: 11px; color: var(--ink-2); line-height: 1.35;
}

.retention-chart {
  background: var(--bg-soft); border-radius: 14px; padding: 16px;
}
.retention-chart .row {
  display: grid; grid-template-columns: 110px 1fr; align-items: end;
  gap: 12px; margin-bottom: 10px;
}
.retention-chart .lbl {
  font-size: 11px; color: var(--ink-2); font-weight: 600;
  letter-spacing: 0.02em; padding-bottom: 2px;
}
.retention-chart .curve {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px;
  height: 48px; align-items: end;
}
.retention-chart .bar {
  border-radius: 3px 3px 0 0;
  background: var(--ink-4);
}
.retention-chart .curve.fade .bar { background: var(--ink-4); }
.retention-chart .curve.hold .bar { background: var(--accent-violet); }
.retention-chart .axis {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--ink-3); margin-top: 6px;
  padding-left: 122px;
}
.science-note {
  font-size: 11px; color: var(--ink-3); margin: 14px 0 0;
  font-style: italic;
}

.culture-benefits-h {
  margin-top: 64px; max-width: 640px;
}
.culture-benefits-h h3 {
  font-size: clamp(28px, 3.2vw, 40px); margin: 12px 0 10px;
  letter-spacing: -0.02em;
}
.culture-benefits-h p { color: var(--ink-2); font-size: 16px; margin: 0; }

.culture-benefits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 28px;
}
.benefit {
  background: var(--bg-card); border-radius: 18px; padding: 24px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--accent-violet);
}
.benefit .num {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  color: var(--accent-violet); letter-spacing: 0.06em;
  margin-bottom: 10px; display: block;
}
.benefit h4 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.benefit p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; }

/* ─── FAQ ─────────────────────────── */
.faq { max-width: 880px; margin: 48px auto 0; }
.faq details { border-top: 1px solid var(--line-subtle); padding: 22px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line-subtle); }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: 22px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items:center; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 28px; color: var(--ink-3); transition: transform var(--dur-fast) var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }

/* ─── Demo CTA ─────────────────────────── */
.demo-cta {
  color: var(--bg-canvas);
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  position: relative;
  text-align: center;
}
.demo-cta .eyebrow { color: var(--accent-amber); }
.demo-cta h2 {
  color: var(--bg-canvas); font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.98; letter-spacing: -0.035em; margin: 16px auto 24px;
  max-width: 800px;
}
.demo-cta .lead { color: rgba(255,255,255,0.75); margin: 0 auto 32px; max-width: 580px; font-size: 18px; }
.demo-cta .ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }
.demo-cta .pill { background: rgba(255,255,255,0.10); color: var(--bg-canvas); border-color: rgba(255,255,255,0.20); }
.demo-cta .pill-amber { background: var(--accent-amber); color: var(--ink); border-color: var(--accent-amber); }
.demo-cta .small {
  margin-top: 24px; font-size: 13px; color: rgba(255,255,255,0.55);
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}

/* ─── Dark outro band — wraps Demo CTA + Footer ─────────── */
.outro {
  background: var(--ink); color: var(--bg-canvas);
  margin-top: 32px;
  position: relative; overflow: hidden;
}
.outro::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(226,118,90,0.22), transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(173,200,255,0.10), transparent 70%);
  pointer-events: none;
}
.outro > * { position: relative; }
.outro footer { padding: 24px 24px 40px; }
.outro .footer-grid {
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.outro .footer-grid h5 { color: rgba(255,255,255,0.55); }
.outro .footer-grid a { color: rgba(255,255,255,0.85); }
.outro .footer-grid a:hover { color: var(--accent-amber); }
.outro .footer-grid p { color: rgba(255,255,255,0.65); }
.outro .footer-brand span { color: var(--bg-canvas); }
.outro .footer-brand img { filter: brightness(0) invert(1); opacity: 0.92; }
.outro .foot-bot { color: rgba(255,255,255,0.55); }

/* ─── Image band (between hero and how) ────────────────── */
.image-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.image-band .ib {
  margin: 0; position: relative;
  aspect-ratio: 4/5; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--bg-soft);
}
.image-band .ib img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease);
}
.image-band .ib:hover img { transform: scale(1.05); }
.image-band .ib::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,26,122,0) 40%, rgba(9,26,122,0.55) 100%);
  pointer-events: none;
}
.image-band .ib figcaption {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  z-index: 2;
}
.image-band .ib:nth-child(2) { transform: translateY(28px); }
.image-band .ib:nth-child(4) { transform: translateY(28px); }
@media (max-width: 800px) {
  .image-band { grid-template-columns: repeat(2, 1fr); }
  .image-band .ib:nth-child(2),
  .image-band .ib:nth-child(4) { transform: none; }
}

/* ─── Footer ─────────────────────────── */
footer { padding: 80px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-subtle); }
.footer-grid h5 { font-size: 13px; font-weight: 600; margin: 0 0 16px; color: var(--ink-3); text-transform: none; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display:flex; flex-direction:column; gap: 10px; }
.footer-grid a { color: var(--ink); text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: var(--accent-leaf); }
.footer-brand { display:flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.foot-bot { padding-top: 32px; display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; gap: 16px; }

/* ─── Reveal-on-scroll ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.anim-calm .reveal { transition: none; opacity: 1; transform: none; }

/* ─── Responsive ─────────────────────────── */
@media (max-width: 980px) {
  .hero-split .inner, .hero-dark .inner { grid-template-columns: 1fr; }
  .habit-spotlight, .how-layout, .culture-approach { grid-template-columns: 1fr; gap: 40px; }
  .ripple-visual { min-height: 540px; }
  .ripple-visual .phone-mock { transform: scale(0.72); margin: -90px 0; }
  .steps, .culture-benefits { grid-template-columns: 1fr; }
  .ct-grid, .offer-grid { grid-template-columns: 1fr; }
  .science-card { position: static; }
  .retention-chart .axis { padding-left: 122px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-shell a.link { display: none; }
  .nav-shell .nav-menu-btn { display: inline-flex; }
  .hero-photo .float-card { right: 50%; transform: translate(50%, -50%); width: 88%; top: 38%; }
  .hero-photo .frame { aspect-ratio: 4/5; }
  .hero-photo .big-headline { padding: 0 24px; bottom: 24px; }
}

@media (max-width: 600px) {
  /* Panels keep a 48px min padding from the clamp() floor, which squeezes
     full-width content (e.g. the #habit app mock) into a tiny column on phones. */
  .panel { padding: clamp(20px, 5vw, 32px); }
  .device-desktop .desktop-body { padding: 18px 16px 20px; }
  .device-desktop .calendar { gap: 4px; }
  .device-desktop .calendar .cell { font-size: 10px; }
  .device-phone { width: 72%; max-width: 260px; }
  .nav-shell { padding: 4px; gap: 2px; }
  .nav-shell .brand { padding: 6px 10px; font-size: 14px; gap: 6px; }
  .nav-shell .brand img { width: auto; height: 20px; }
  .nav-shell .demo { padding: 8px 14px; font-size: 13px; }
  .nav-shell .lang { margin-right: 2px; padding: 2px; }
  .nav-shell .lang button { padding: 5px 9px; font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-grid h5 { margin-bottom: 10px; }
  .footer-grid ul { gap: 8px; }
  .foot-bot { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 24px; }
}
