/* ============================================================
   CIRES — styles.css
   ============================================================ */

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

:root {
  --bg:        #07070f;
  --bg2:       #0b0b16;
  --sf:        #111120;
  --sf2:       #16162a;
  --sf3:       #1c1c34;
  --bd:        rgba(255,255,255,0.07);
  --bd2:       rgba(255,255,255,0.12);
  --bd3:       rgba(255,255,255,0.20);
  --tx:        #eeeef8;
  --tx2:       #7878a0;
  --tx3:       #363658;
  --ac:        #7155f8;
  --ac2:       #9b82ff;
  --acR:       113,85,248;
  --ease:      cubic-bezier(0.43,0.195,0.02,1.0);
  --eout:      cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--tx); font-family: 'Inter',-apple-system,BlinkMacSystemFont,sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
em   { font-style: italic; }
figure { margin: 0; }

/* ── Eyebrow ───────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ac2);
  background: rgba(var(--acR),.1); border: 1px solid rgba(var(--acR),.2);
  padding: 5px 13px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow-light { color: rgba(255,255,255,.6); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }

.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ac); box-shadow: 0 0 8px var(--ac);
  animation: dotPulse 2.5s ease-in-out infinite; flex-shrink: 0;
}
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

/* ── Phone ─────────────────────────────────────────────────── */
.phone {
  position: relative;
  background: #0c0c1c;
  border-radius: 42px;
  border: 2px solid rgba(255,255,255,.12);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 40px 80px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.07);
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 25px; background: #0c0c1c;
  border-radius: 100px; border: 1.5px solid rgba(255,255,255,.09); z-index: 10;
}
.phone-notch-sm { width: 66px; height: 19px; top: 8px; }
.phone-screen { width: 100%; border-radius: inherit; overflow: hidden; background: #000; aspect-ratio: 9/19.5; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

.phone-hero  { width: 340px; border-radius: 50px; }
.phone-feat  { width: 300px; border-radius: 46px; }
.phone-dl    { width: 240px; border-radius: 40px; }
.phone-xs    { width: 130px; border-radius: 24px; border-width: 1.5px; }

/* ── Store badges ──────────────────────────────────────────── */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  padding: 10px 18px 10px 14px; border-radius: 14px; backdrop-filter: blur(12px);
  transition: background .2s, border-color .2s, transform .2s var(--eout);
}
.badge:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.22); transform: translateY(-2px); }

.badge-icon { width: 22px; height: 22px; flex-shrink: 0; color: #fff; }
.badge-text { display: flex; flex-direction: column; gap: 1px; }
.badge-sub  { font-size: 10px; font-weight: 400; color: rgba(255,255,255,.5); line-height: 1; }
.badge-name { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.2; }

/* ── Pills ─────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 100px; font-size: 14px; font-weight: 700;
  transition: transform .2s var(--eout), opacity .15s;
}
.pill svg { flex-shrink: 0; }
.pill:hover { transform: translateY(-2px); opacity: .9; }
.pill:active { transform: scale(.96); }
.pill-accent { background: var(--ac); color: #fff; box-shadow: 0 4px 24px rgba(var(--acR),.4); }
.pill-ghost  { background: var(--sf2); color: var(--tx); border: 1px solid var(--bd2); }

/* ============================================================  NAV  ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; padding: 0 40px;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(7,7,15,.85); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); border-color: var(--bd);
}
.nav-inner { max-width: 1200px; margin: 0 auto; height: 68px; display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.025em; }
.nav-logo img { width: 32px; height: 32px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link  { font-size: 14px; font-weight: 500; color: var(--tx2); transition: color .2s; }
.nav-link:hover { color: var(--tx); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 22px; background: var(--ac); color: #fff; border-radius: 100px;
  font-size: 14px; font-weight: 700; box-shadow: 0 0 28px rgba(var(--acR),.38);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.nav-cta:hover { background: var(--ac2); transform: translateY(-1px); box-shadow: 0 0 40px rgba(var(--acR),.55); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--tx); border-radius: 2px; transition: transform .3s var(--eout), opacity .3s; }
.nav-hamburger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:last-child  { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================  HERO  ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 60px 40px 80px; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.orb-1 { width: 700px; height: 700px; background: rgba(var(--acR),.17); top: -180px; left: -80px; }
.orb-2 { width: 500px; height: 500px; background: rgba(59,130,246,.1); bottom: -80px; right: 80px; }
.orb-3 { width: 320px; height: 320px; background: rgba(168,85,247,.09); top: 30%; right: 25%; }

.hero-inner {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 460px; gap: 60px; align-items: center;
}

/* hero copy */
.hero-copy { max-width: 580px; }

.hero-copy .eyebrow { opacity: 0; animation: fadeUp .7s var(--eout) .1s forwards; }

.hero-h1 {
  display: flex; flex-direction: column; gap: 2px;
  font-size: clamp(52px,7.5vw,100px); font-weight: 900; line-height: .93;
  letter-spacing: -.04em; margin-bottom: 26px;
}
.hl        { display: block; overflow: hidden; }
.hl-muted  { color: rgba(238,238,248,.36); }
.hl-accent { color: var(--ac2); }

.hl span { display: inline-block; opacity: 0; transform: translateY(105%); animation: lineUp 1s var(--eout) forwards; }
.hl:nth-child(1) span { animation-delay: .15s; }
.hl:nth-child(2) span { animation-delay: .25s; }
.hl:nth-child(3) span { animation-delay: .35s; }
.hl:nth-child(4) span { animation-delay: .45s; }

@keyframes lineUp  { to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp  { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

.hero-sub {
  font-size: clamp(15px,1.6vw,18px); color: var(--tx2); line-height: 1.72;
  max-width: 500px; margin-bottom: 36px;
  opacity: 0; animation: fadeUp .7s var(--eout) .5s forwards;
}

.store-badges  { margin-bottom: 24px; opacity: 0; animation: fadeUp .7s var(--eout) .6s forwards; }
.hero-proof    { font-size: 13px; color: var(--tx3); opacity: 0; animation: fadeUp .7s var(--eout) .7s forwards; }

/* hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; opacity: 0; animation: fadeUp .9s var(--eout) .35s forwards; }

.hero-glow { position: absolute; width: 100%; height: 60%; bottom: -5%; left: 0; background: radial-gradient(ellipse,rgba(var(--acR),.55) 0%,transparent 70%); filter: blur(50px); pointer-events: none; }

/* floating cards */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(14,14,28,.9); backdrop-filter: blur(16px);
  border: 1px solid var(--bd2); border-radius: 14px;
  padding: 12px 16px; z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  animation: float 4s ease-in-out infinite;
}
.float-card-a { top: 12%; right: -10%; animation-delay: 0s; }
.float-card-b { bottom: 20%; left: -14%; animation-delay: 1.6s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.fc-emoji { font-size: 22px; line-height: 1; }
.fc-val   { font-size: 15px; font-weight: 800; line-height: 1.2; }
.fc-lbl   { font-size: 11px; color: var(--tx2); line-height: 1; }

/* scroll hint */
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3; opacity: 0; animation: fadeUp .7s var(--eout) 1.2s forwards; }
.scroll-pill { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); }
.scroll-line { width: 1px; height: 32px; background: linear-gradient(to bottom,var(--tx3),transparent); animation: scrollAnim 2s ease-in-out infinite; }
@keyframes scrollAnim { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ============================================================  MARQUEE  ============================================================ */
.marquee-wrap { border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); background: var(--bg2); padding: 16px 0; overflow: hidden; }
.marquee-track { overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; align-items: center; gap: 28px; animation: marquee 32s linear infinite; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--tx2); }
.marquee-inner b { color: var(--ac2); font-size: 9px; font-weight: 400; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ============================================================
   FEATURES — SCROLL-DRIVEN
   ============================================================ */

/*
  Strategy:
  - .features-section is position: relative
  - .features-scroll-zone is a tall block (JS sets its height = steps * stepHeight)
  - .features-panel is position: sticky; top:0; height:100vh — lives inside the zone
  - Left: feature steps list; Right: sticky phone
  - JS reads scroll position inside the zone to decide which step is active
*/

.features-section { position: relative; }

.features-scroll-zone {
  position: relative;
  /* height set by JS */
}

.features-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.features-panel-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 100px;
  align-items: center;
}

/* Left: text column */
.features-left { display: flex; flex-direction: column; justify-content: center; }

.features-intro { margin-bottom: 28px; }

.feat-section-title {
  font-size: clamp(26px,3vw,42px); font-weight: 900; line-height: 1.05;
  letter-spacing: -.03em; margin-bottom: 8px;
}
.feat-section-title em { color: rgba(238,238,248,.35); }

.feat-section-sub { font-size: 14px; color: var(--tx2); line-height: 1.65; max-width: 440px; }

/* Steps list */
.feat-steps { list-style: none; display: flex; flex-direction: column; gap: 2px; }

.feat-step {
  position: relative;
  display: flex; gap: 16px;
  padding: 12px 14px 12px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .3s, border-color .3s, opacity .3s, transform .3s;
  opacity: .4;
  transform: translateX(-4px);
}

.feat-step::before {
  content: '';
  position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  background: var(--ac); border-radius: 2px;
  transform: scaleY(0); transform-origin: center;
  transition: transform .35s var(--eout);
}

.feat-step--active {
  background: var(--sf);
  border-color: var(--bd2);
  opacity: 1;
  transform: translateX(0);
}

.feat-step--active::before { transform: scaleY(1); }

.fs-num {
  font-size: 11px; font-weight: 700; color: var(--tx3);
  min-width: 26px; padding-top: 2px; flex-shrink: 0;
  transition: color .3s;
}
.feat-step--active .fs-num { color: var(--ac2); }

.fs-body h3 {
  font-size: 14px; font-weight: 700; color: var(--tx2);
  line-height: 1.3; transition: color .3s;
}
.feat-step--active .fs-body h3 { color: var(--tx); }

/* Description: hidden on inactive, shown on active */
.fs-body p {
  font-size: 13px; color: var(--tx2); line-height: 1.6;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .35s var(--eout), opacity .3s ease, margin-top .3s;
}
.feat-step--active .fs-body p {
  max-height: 80px; opacity: 1; margin-top: 5px;
}

/* Right: phone column */
.features-right { display: flex; justify-content: center; align-items: center; }

.feat-phone-wrap { position: relative; }

.feat-phone-glow {
  position: absolute; width: 100%; height: 50%; bottom: -5%; left: 0;
  background: radial-gradient(ellipse,rgba(var(--acR),.5) 0%,transparent 70%);
  filter: blur(48px); pointer-events: none;
  transition: opacity .5s;
}

.feat-phone-track { position: relative; }

.feat-phone-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.feat-phone-slide--active { position: relative; opacity: 1; pointer-events: auto; }

/* Dots */
.feat-dots { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.feat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sf3); border: 1px solid var(--bd2); transition: background .3s, transform .3s; }
.feat-dot--active { background: var(--ac); transform: scale(1.4); border-color: var(--ac); }

/* ============================================================
   SCREENSHOTS
   ============================================================ */
.screenshots-section { background: var(--bg2); padding-bottom: 60px; overflow: hidden; }

.ss-header { padding: 100px 40px 52px; }
.ss-header-inner { max-width: 1200px; margin: 0 auto; }

.ss-title { font-size: clamp(32px,4.5vw,58px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 8px; }
.ss-sub   { font-size: 16px; color: var(--tx2); }

.ss-scroller { overflow-x: auto; cursor: grab; scrollbar-width: none; -ms-overflow-style: none; padding: 12px 0 24px; }
.ss-scroller::-webkit-scrollbar { display: none; }
.ss-scroller.grabbing { cursor: grabbing; }

.ss-track { display: flex; gap: 16px; padding: 0 40px; width: max-content; align-items: flex-start; }

/* Each card IS the 6.9 marketing screenshot — show as cards with rounded corners + label */
.ss-card {
  flex-shrink: 0;
  width: 280px;
  transition: transform .35s var(--eout);
}
.ss-card:hover { transform: translateY(-8px) scale(1.02); }

.ss-card img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.65);
  border: 1px solid var(--bd2);
  display: block;
}

.ss-card figcaption {
  display: flex; flex-direction: column; gap: 3px;
  margin-top: 14px; padding: 0 4px;
}
.ss-card figcaption strong { font-size: 13px; font-weight: 700; color: var(--tx); line-height: 1.3; }
.ss-card figcaption span  { font-size: 12px; color: var(--tx2); }

.ss-drag-hint { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--tx3); padding: 16px 40px 0; }

/* ============================================================
   FULL-BLEED sections
   ============================================================ */
.fb-section { position: relative; overflow: hidden; }

.fb-bg { position: absolute; inset: 0; }
.fb-bg img { width: 100%; height: 100%; object-fit: cover; }

.fb-overlay { position: absolute; inset: 0; background: linear-gradient(140deg,rgba(7,7,15,.95) 0%,rgba(7,7,15,.78) 60%,rgba(7,7,15,.6) 100%); }
.fb-overlay-dark { background: rgba(7,7,15,.82); }

.fb-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 120px 40px; }
.fb-inner-center { display: flex; align-items: center; justify-content: center; min-height: 480px; }

.fb-title { font-size: clamp(40px,5.5vw,72px); font-weight: 900; line-height: 1.0; letter-spacing: -.035em; margin-bottom: 20px; max-width: 640px; }
.fb-body  { font-size: 17px; color: var(--tx2); line-height: 1.75; max-width: 520px; margin-bottom: 52px; }

.habit-stats { display: flex; gap: 52px; flex-wrap: wrap; }
.h-stat { display: flex; flex-direction: column; gap: 4px; }
.h-num  { font-size: 38px; font-weight: 900; color: var(--ac2); letter-spacing: -.03em; line-height: 1; }
.h-lbl  { font-size: 13px; color: var(--tx2); font-weight: 500; }

.pull-quote {
  font-size: clamp(22px,3.5vw,40px); font-weight: 700; font-style: italic;
  line-height: 1.35; letter-spacing: -.02em; color: var(--tx);
  max-width: 760px; text-align: center;
}
.pq { font-size: 1.5em; color: var(--ac2); font-style: normal; line-height: 0; vertical-align: -.2em; }

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy-section { padding: 140px 40px; }

.privacy-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }

.privacy-title { font-size: clamp(36px,4.5vw,60px); font-weight: 900; line-height: 1.0; letter-spacing: -.03em; margin-bottom: 18px; }
.privacy-title em { color: rgba(238,238,248,.3); }

.privacy-body { font-size: 16px; color: var(--tx2); line-height: 1.75; max-width: 430px; margin-bottom: 32px; }

.privacy-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.priv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.priv-card { background: var(--sf); border: 1px solid var(--bd); border-radius: 20px; padding: 26px 22px; transition: background .2s, border-color .2s, transform .25s var(--eout); }
.priv-card:hover { background: var(--sf2); border-color: var(--bd2); transform: translateY(-4px); }

.priv-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.priv-ico { font-size: 24px; }
.priv-card h4 { font-size: 15px; font-weight: 700; }
.priv-card p  { font-size: 13px; color: var(--tx2); line-height: 1.62; }

/* ============================================================
   MORE FEATURES
   ============================================================ */
.more-section { padding: 140px 40px; background: var(--bg2); }
.more-inner   { max-width: 1200px; margin: 0 auto; }
.more-head    { margin-bottom: 60px; }
.more-title   { font-size: clamp(34px,4vw,52px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }

/* Masonry waterfall via CSS columns */
.more-grid {
  columns: 3;
  column-gap: 14px;
}

.more-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 14px;
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 22px;
  padding: 26px 24px;
  transition: background .2s, border-color .2s, transform .25s var(--eout);
  vertical-align: top;
}
.more-card:hover { background: var(--sf2); border-color: var(--bd2); transform: translateY(-4px); }

/* Image preview inside card */
.mc-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  height: 180px;
  background: var(--sf3);
}
.mc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s var(--eout);
}
.more-card:hover .mc-img img { transform: scale(1.03); }

/* Accent-coloured image card top bar */
.mc-img--accent { background: linear-gradient(135deg,rgba(var(--acR),.18),rgba(59,130,246,.12)); }

/* SVG icon pill */
.mc-icon {
  width: 44px; height: 44px;
  background: rgba(var(--acR),.1); border: 1px solid rgba(var(--acR),.18);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.more-card:hover .mc-icon { background: rgba(var(--acR),.18); border-color: rgba(var(--acR),.32); }
.mc-icon svg { width: 20px; height: 20px; color: var(--ac2); flex-shrink: 0; }

.more-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 7px; }
.more-card p  { font-size: 13px; color: var(--tx2); line-height: 1.65; }

/* ============================================================
   DOWNLOAD
   ============================================================ */
.dl-section  { position: relative; overflow: hidden; min-height: 680px; display: flex; align-items: center; }

.dl-bg { position: absolute; inset: 0; }
.dl-bg img { width: 100%; height: 100%; object-fit: cover; }
.dl-overlay { position: absolute; inset: 0; background: linear-gradient(115deg,rgba(7,7,15,.98) 38%,rgba(7,7,15,.7) 100%); }

.dl-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 100px 40px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 60px; }

.dl-content { max-width: 520px; }

.dl-title { font-size: clamp(48px,6.5vw,90px); font-weight: 900; line-height: .93; letter-spacing: -.04em; margin-bottom: 18px; }
.dl-title em { color: rgba(238,238,248,.3); }

.dl-sub { font-size: 17px; color: var(--tx2); line-height: 1.65; margin-bottom: 44px; }

.dl-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.dl-btn {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; color: #000; padding: 13px 22px;
  border-radius: 16px; min-width: 188px;
  transition: transform .2s var(--eout), opacity .15s;
}
.dl-btn:hover  { transform: scale(1.04); }
.dl-btn:active { transform: scale(.97); }

.dl-icon       { flex-shrink: 0; }
.dl-icon-apple { width: 26px; height: 26px; color: #000; }
.dl-icon-gplay { width: 26px; height: 26px; }

.dl-text  { display: flex; flex-direction: column; align-items: flex-start; }
.dl-small { font-size: 10px; font-weight: 400; opacity: .5; margin-bottom: 2px; line-height: 1; }
.dl-big   { font-size: 16px; font-weight: 800; line-height: 1.2; }

/* download phones */
.dl-phones { display: flex; align-items: flex-end; flex-shrink: 0; }

.dl-phone { transition: transform .4s var(--eout); }
.dl-phone-back  { transform: rotate(-7deg) translateX(24px); opacity: .65; }
.dl-phone-front { transform: rotate(4deg); z-index: 2; }

.dl-phones:hover .dl-phone-back  { transform: rotate(-9deg) translateX(10px); opacity: .78; }
.dl-phones:hover .dl-phone-front { transform: rotate(2deg) translateY(-12px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #000; border-top: 1px solid rgba(255,255,255,.05); padding: 52px 40px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-bottom: 32px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.05); }

.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; letter-spacing: -.025em; color: var(--tx); }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }

.footer-nav { display: flex; gap: 28px; }
.footer-nav a { font-size: 13px; font-weight: 500; color: var(--tx2); transition: color .2s; }
.footer-nav a:hover { color: var(--tx); }

.footer-stores { display: flex; gap: 20px; }
.footer-store  { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--tx2); transition: color .2s; }
.footer-store:hover { color: var(--tx); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: var(--tx3); }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--tx3); transition: color .2s; }
.footer-legal a:hover { color: var(--tx2); }

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--eout), transform .75s var(--eout); }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-reveal-delay="100"] { transition-delay: .1s; }
[data-reveal][data-reveal-delay="150"] { transition-delay: .15s; }
[data-reveal][data-reveal-delay="200"] { transition-delay: .2s; }
[data-reveal][data-reveal-delay="300"] { transition-delay: .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet / small desktop ─────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 400px; gap: 48px; }
  .phone-hero { width: 300px; }
}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-copy  { max-width: 100%; }
  .hero-sub   { max-width: 100%; margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .hero-visual  { order: -1; }
  .float-card-a { right: 0; }
  .float-card-b { left: 0; }
  .phone-hero   { width: min(300px, 72vw); }

  .features-panel-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-right { order: -1; }

  .privacy-inner { grid-template-columns: 1fr; gap: 56px; }

  .dl-inner  { flex-direction: column; align-items: flex-start; }
  .dl-phones { display: none; }

  .more-grid { columns: 2; }
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 700px) {
  /* Hero */
  .hero { padding: 56px 20px 72px; min-height: 100svh; }
  .hero-inner { gap: 36px; }
  .hero-h1 { font-size: clamp(44px, 13vw, 72px); margin-bottom: 18px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-visual { width: 100%; justify-content: center; }
  .phone-hero { width: min(240px, 68vw); border-radius: 40px; }
  .hero-glow { height: 50%; }
  .float-card { display: none; }
  .hero-scroll { display: none; }

  /* Orbs smaller on mobile */
  .orb-1 { width: 320px; height: 320px; top: -80px; left: -60px; }
  .orb-2 { width: 260px; height: 260px; }
  .orb-3 { display: none; }

  /* Store badges */
  .store-badges { gap: 10px; }
  .badge { padding: 9px 14px 9px 12px; border-radius: 12px; }
  .badge-name { font-size: 13px; }

  /* Marquee */
  .marquee-wrap { padding: 12px 0; }
  .marquee-inner { font-size: 11px; gap: 20px; }

  /* Features */
  .features-panel-inner { padding: 0 20px; gap: 24px; }
  .feat-section-title { font-size: clamp(22px, 6vw, 32px); }
  .feat-steps { gap: 0; }
  .feat-step { padding: 10px 12px 10px 16px; }
  .fs-body h3 { font-size: 13px; }
  .feat-step--active .fs-body p { max-height: 72px; font-size: 12px; }
  .phone-feat { width: min(200px, 60vw); border-radius: 38px; }
  .feat-dots { margin-top: 12px; }

  /* Screenshots */
  .ss-header { padding: 72px 20px 40px; }
  .ss-track  { padding: 0 20px; gap: 12px; }
  .ss-card   { width: min(200px, 60vw); }

  /* Full-bleed sections */
  .fb-inner { padding: 72px 20px; }
  .fb-title { font-size: clamp(32px, 9vw, 52px); }
  .fb-body  { font-size: 15px; margin-bottom: 36px; }
  .pull-quote { font-size: clamp(18px, 5.5vw, 28px); }
  .habit-stats { gap: 24px; }
  .h-num { font-size: 30px; }

  /* More section */
  .more-section { padding: 80px 20px; }
  .more-grid { columns: 1; column-gap: 0; }
  .more-card { margin-bottom: 12px; border-radius: 18px; }
  .mc-img { height: 160px; }
  .more-title { font-size: clamp(28px, 8vw, 42px); }

  /* Download */
  .dl-inner { padding: 72px 20px; }
  .dl-title { font-size: clamp(40px, 11vw, 72px); }
  .dl-sub   { font-size: 15px; margin-bottom: 32px; }
  .dl-btn   { min-width: 0; flex: 1; justify-content: center; }
  .dl-btns  { width: 100%; }

  /* Footer */
  .footer { padding: 40px 20px 32px; }
  .footer-top    { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-stores { flex-wrap: wrap; gap: 14px; }
  .footer-nav    { flex-wrap: wrap; gap: 16px; }

  /* Privacy */
  .privacy-section { padding: 72px 20px; }
  .priv-grid { grid-template-columns: 1fr; }
}

/* ── Very small phones ───────────────────────────────────── */
@media (max-width: 390px) {
  .hero-h1 { font-size: 40px; }
  .phone-hero { width: 210px; }
  .store-badges { flex-direction: column; align-items: stretch; }
  .badge { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
