/* ============================================================
   CHRONO — Landing  ·  Design tokens & styles
   Dark, editorial, premium. Montserrat + Hanken Grotesk + Instrument Serif
   ============================================================ */

:root {
  /* Surfaces (from app colors.dart) */
  --bg:        #1a1b1f;   /* deeper than app for editorial contrast */
  --bg-2:      #212227;   /* app bgColor */
  --card:      #2d2e33;   /* app cardColor */
  --card-2:    #35363b;   /* surfaceElevated */
  --card-3:    #3d3e44;
  --border:    #3a3b41;
  --border-2:  #54555b;   /* cardBorder */

  /* Accent — orange */
  --accent:    #ffc77e;   /* orangeDivider */
  --accent-2:  #ffaa4c;
  --accent-deep:#e8993f;
  --accent-glow: rgba(255,199,126,.14);

  /* Semantic */
  --green:  #66bb6a;
  --blue:   #4fc3f7;
  --teal:   #89cdbb;
  --purple: #ab7bff;
  --red:    #e4625b;

  /* Text */
  --ink:       #f3f3f5;
  --ink-2:     #c3c5c9;
  --muted:     #8a8d93;
  --hint:      #5d6164;

  --display: "Space Grotesk", system-ui, sans-serif;
  --brand: "Montserrat", system-ui, sans-serif;
  --body:  "Hanken Grotesk", system-ui, sans-serif;

  --maxw: 1180px;
  --r:   18px;
}

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

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

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: #1a1b1f; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Ambient background glow ---------- */
.aura {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(255,199,126,.10), transparent 60%),
    radial-gradient(800px 700px at 0% 18%, rgba(79,195,247,.05), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(255,170,76,.06), transparent 60%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(20,21,25,.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark {
  font-family: var(--brand); font-weight: 800; letter-spacing: .42em;
  font-size: 17px; color: var(--ink); padding-left: .42em;
  display: flex; align-items: center; gap: 2px;
}
.wordmark .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.lnk {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: color .2s; position: relative; white-space: nowrap;
}
.nav-links a.lnk:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--brand); font-weight: 600; font-size: 13.5px;
  color: #1a1b1f; background: var(--accent);
  padding: 10px 20px; border-radius: 100px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(255,199,126,.22);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255,199,126,.32); }
@media (max-width: 820px) { .nav-links .lnk { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 90px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--brand); font-weight: 600; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  padding: 7px 14px; border: 1px solid rgba(255,199,126,.28);
  border-radius: 100px; background: var(--accent-glow); margin-bottom: 26px;
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,199,126,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,199,126,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(255,199,126,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,199,126,0); }
}

h1.hero-title {
  font-family: var(--display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(38px, 5vw, 60px); line-height: 1.06; color: var(--ink);
  margin-bottom: 40px;
}
h1.hero-title .serif { color: var(--accent); font-style: normal; }
.hero-sub {
  font-size: 18.5px; color: var(--ink-2); max-width: 500px; line-height: 1.62;
  margin-bottom: 18px;
}
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px;
}
.hero-tags span {
  font-family: var(--brand); font-weight: 600; font-size: 11.5px; letter-spacing: .06em;
  color: var(--ink-2); padding: 6px 13px; border-radius: 100px;
  border: 1px solid var(--border-2); background: rgba(255,255,255,.02);
}
.hero-tags span b { color: var(--accent); font-weight: 700; }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--border-2);
  transition: transform .2s, border-color .2s, background .2s;
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--card-2); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .st-txt { line-height: 1.15; }
.store-btn .st-small { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.store-btn .st-big { font-family: var(--brand); font-weight: 700; font-size: 17px; color: var(--ink); }

.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 26px; color: var(--muted); font-size: 13px; }
.hero-meta .stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--hint); }

/* Hero visual — single interactive phone */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.phone-stage { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.hero-visual .phone { width: 286px; animation: phoneFloat 6.5s ease-in-out infinite; }
@keyframes phoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
/* background note scaled (phone only) */
.scr > .note-card { border-radius: 13px; padding: 13px; }
.scr > .note-card .nt { font-size: 12px; line-height: 1.5; }
.scr > .note-card .nf { margin-top: 10px; gap: 7px; }
.scr > .note-card .chip { font-size: 10.5px; padding: 5px 10px; }
.scr > .note-card .ndate { font-size: 10px; }

/* ---- Bottom sheet (driven by JS cycle) ---- */
.sheet-scrim {
  position: absolute; left: 0; right: 0; top: 0; bottom: 60px;
  background: rgba(10,11,13,.58); z-index: 3;
  opacity: 0; pointer-events: none; transition: opacity .45s ease;
}
.sheet-scrim.on { opacity: 1; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 60px; z-index: 5;
  background: var(--bg-2); border: 1px solid var(--border-2); border-bottom: none;
  border-radius: 20px 20px 0 0; padding: 11px 12px 14px;
  box-shadow: 0 -26px 54px -14px rgba(0,0,0,.72);
  transform: translateY(118%); transition: transform .55s cubic-bezier(.18,.86,.26,1);
  max-height: 82%; overflow: hidden;
}
.sheet.open { transform: translateY(0); }
.sheet-grab { width: 34px; height: 4px; border-radius: 100px; background: var(--border-2); margin: 1px auto 12px; }
.sheet-head { display: flex; align-items: center; gap: 8px; margin: 0 2px 11px; }
.sheet-head .sh-lead { color: var(--accent); display: grid; place-items: center; flex: none; }
.sheet-head .sh-lead svg { width: 16px; height: 16px; }
.sheet-head .sh-t { font-family: var(--brand); font-weight: 800; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.sheet-head .sh-c { font-size: 10px; font-weight: 600; color: var(--muted); background: var(--card-3); border-radius: 100px; padding: 2px 8px; }
.sheet-head .sh-act { margin-left: auto; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.sheet-head .sh-act svg { width: 15px; height: 15px; }

/* routine + goal cards — scaled up inside the sheet */
.sheet .r-card, .sheet .g-card { padding: 10px 11px; border-radius: 12px; margin-bottom: 9px; gap: 9px; }
.sheet .r-card::before, .sheet .g-card::before { width: 3px; }
.sheet .r-card .chk { width: 21px; height: 21px; border-radius: 6px; border-width: 2px; flex: none; }
.sheet .r-card .chk.on { font-size: 11px; }
.sheet .r-card .r-name { font-size: 12.5px; }
.sheet .r-card .r-meta { font-size: 10.5px; margin-top: 3px; }
.sheet .r-card .streak { font-size: 11px; font-weight: 700; gap: 3px; padding: 4px 8px; color: var(--accent); background: var(--card-3); border: 1px solid var(--border-2); white-space: nowrap; flex: none; }
.sheet .r-card .r-cal { color: var(--muted); display: grid; place-items: center; flex: none; }
.sheet .g-card .g-play { width: 36px; height: 36px; border-radius: 11px; font-size: 14px; }
.sheet .g-card .g-name { font-size: 12.5px; }
.sheet .g-card .g-time { font-size: 11px; margin-top: 2px; }
.sheet .g-card .g-bar { height: 4px; margin-top: 8px; }
.sheet .g-card .g-progress { margin-top: 8px; }
.sheet .g-card .g-pct { font-size: 11px; }
.sheet .g-card .g-menu { font-size: 16px; }

/* reminder pill */
.reminder-pill { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--accent); background: var(--accent-glow); border: 1px solid rgba(255,199,126,.22); border-radius: 11px; padding: 9px 12px; margin-top: 2px; }

/* todo */
.todo-sec { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 2px 2px 10px; }
.todo-sec.sun { color: var(--accent); }
.todo-sec .ts-c { font-size: 9.5px; font-weight: 600; letter-spacing: 0; color: var(--muted); background: var(--card-3); border-radius: 100px; padding: 1px 7px; }
.todo-row { display: flex; align-items: center; gap: 11px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--border); border-radius: 11px; padding: 11px 12px; margin-bottom: 9px; position: relative; overflow: hidden; }
.todo-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tc, var(--border-2)); }
.todo-row .tk { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border-2); flex: none; display: grid; place-items: center; font-size: 11px; }
.todo-row .tk.on { background: var(--accent); border-color: var(--accent); color: #1a1b1f; }
.todo-row .tb { flex: 1; min-width: 0; }
.todo-row .tt { font-weight: 600; font-size: 13px; color: var(--ink); }
.todo-row .tsub { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.todo-row .tpen { color: var(--hint); flex: none; display: grid; place-items: center; }

/* workspace cards */
.ws-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 9px; position: relative; }
.ws-card .ws-t { font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--ink); letter-spacing: -.01em; padding-right: 22px; }
.ws-card .ws-d { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-card .ws-m { display: flex; align-items: center; gap: 12px; margin-top: 9px; font-size: 10.5px; color: var(--hint); }
.ws-card .ws-m span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.ws-card .ws-trash { position: absolute; top: 12px; right: 12px; color: var(--hint); display: grid; place-items: center; }

/* ai bubbles */
.ai-bubble { font-size: 12px; line-height: 1.5; border-radius: 13px; padding: 10px 12px; margin-bottom: 9px; max-width: 90%; }
.ai-bubble.user { background: var(--card-2); border: 1px solid var(--border); color: var(--ink-2); margin-left: auto; border-bottom-right-radius: 5px; }
.ai-bubble.bot { background: rgba(171,123,255,.10); border: 1px solid rgba(171,123,255,.3); color: var(--ink); border-bottom-left-radius: 5px; }

/* ---- Tab caption (problem each tab solves) ---- */
.tab-caption { text-align: center; max-width: 360px; min-height: 72px; }
.tc-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--brand); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--tc, var(--accent)); transition: color .4s, opacity .3s ease; }
.tc-eyebrow.fade { opacity: 0; }
.tc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tc, var(--accent)); box-shadow: 0 0 0 4px color-mix(in oklch, var(--tc, var(--accent)) 22%, transparent); transition: background .4s, box-shadow .4s; }
.tc-text { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin-top: 12px; text-wrap: pretty; transition: opacity .35s ease, transform .35s ease; }
.tc-text.fade { opacity: 0; transform: translateY(7px); }

@media (prefers-reduced-motion: reduce) {
  .hero-visual .phone { animation: none; }
  .sheet, .sheet-scrim, .tc-text, .tc-eyebrow { transition: none; }
}

/* ============================================================
   PHONE FRAME + SCREEN
   ============================================================ */
.phone {
  width: 290px; border-radius: 42px; padding: 11px;
  background: linear-gradient(160deg, #34353b, #1c1d21);
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05),
              inset 0 0 0 1px rgba(255,255,255,.04);
}
.phone-screen {
  background: var(--bg-2); border-radius: 32px; overflow: hidden;
  position: relative; aspect-ratio: 290 / 600;
}
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; background: #000; border-radius: 100px; z-index: 8;
}
.scr { padding: 38px 16px 16px; height: 100%; display: flex; flex-direction: column; }

/* App header inside screen */
.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.app-head .brand { font-family: var(--brand); font-weight: 800; letter-spacing: .28em; font-size: 12px; padding-left:.28em; }
.app-head .ic { color: var(--muted); font-size: 16px; }

/* Search bar mock */
.app-search {
  display: flex; align-items: center; gap: 8px; background: var(--card);
  border: 1px solid var(--border); border-radius: 100px; padding: 9px 13px;
  font-size: 11px; color: var(--hint); margin-bottom: 12px;
}
.app-search .ring { margin-left: auto; }

/* ---------- Mini productivity ring (SVG) ---------- */
.mini-ring { width: 22px; height: 22px; }
.app-search .sld { position: relative; display: inline-flex; align-items: center; }
.app-search .sld svg { width: 14px; height: 14px; }
.app-search .sld .dot { position: absolute; top: -2px; right: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.sring { position: relative; width: 28px; height: 28px; display: grid; place-items: center; flex: none; margin-left: auto; }
.sring svg { position: absolute; inset: 0; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
.sring b { font-family: var(--brand); font-weight: 700; font-size: 9.5px; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }
.section-pad { padding: 96px 0; }
.kicker {
  font-family: var(--brand); font-weight: 700; font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); opacity: .7; }
.kicker.center { justify-content: center; }
.kicker.center::before { display: none; }
h2.section-title {
  font-family: var(--display); font-weight: 700; letter-spacing: -.025em;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; color: var(--ink);
}
h2.section-title .serif { color: var(--accent); font-style: normal; }
.section-lead {
  font-size: 17.5px; color: var(--ink-2); max-width: 620px; margin-top: 18px; line-height: 1.62;
}
.center-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.center-head .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Philosophy band ---------- */
.philosophy {
  text-align: center; padding: 104px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255,199,126,.06), transparent 70%);
}
.philosophy .big {
  font-family: var(--display); font-weight: 700; letter-spacing: -.025em;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.14; color: var(--ink);
  max-width: 900px; margin: 0 auto 26px;
}
.philosophy .big em { color: var(--accent); font-style: normal; }
.philosophy .sub { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* mind-fill: a cluttered brain empties into the app, tab by tab */
.fill-wrap { display: flex; justify-content: center; width: 100%; margin-top: 54px; }
.fill-stage { position: relative; width: 880px; height: 580px; flex: none; --tc: var(--accent); }

/* the receiving phone */
.fill-phone { position: absolute; right: 26px; top: 6px; width: 280px; z-index: 1; }
.fill-phone .phone { width: 280px; box-shadow: 0 40px 80px -34px rgba(0,0,0,.9), 0 0 60px -22px var(--accent-glow); }

/* dynamic tab header inside the screen */
.fill-head { display: flex; align-items: center; gap: 9px; margin: 2px 2px 13px; }
.fill-head .fh-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; color: var(--tc); background: color-mix(in oklch, var(--tc) 16%, transparent); transition: color .4s ease, background .4s ease; }
.fill-head .fh-ic svg { width: 15px; height: 15px; }
.fill-head .fh-t { font-family: var(--brand); font-weight: 800; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.fill-head .fh-c { font-size: 10px; font-weight: 700; color: var(--tc); background: color-mix(in oklch, var(--tc) 16%, transparent); border-radius: 100px; padding: 2px 8px; transition: color .4s ease, background .4s ease; }
.fill-head .fh-act { margin-left: auto; display: flex; align-items: center; gap: 11px; color: var(--muted); }

/* the live list of real app rows */
.fill-list { display: flex; flex-direction: column; gap: 10px; transition: opacity .35s ease, transform .35s ease; }
.fill-list.out { opacity: 0; transform: translateX(-12px); }
.frow { opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .45s ease, transform .55s cubic-bezier(.3,1.25,.4,1); }
.frow.in { opacity: 1; transform: none; }
.frow > * { margin-bottom: 0 !important; }

/* compact app-row sizing so real cards fit the phone (mirrors the hero sheet) */
.fill-list .r-card, .fill-list .g-card { padding: 10px 11px; border-radius: 12px; gap: 9px; }
.fill-list .r-card .chk { width: 21px; height: 21px; border-radius: 6px; border-width: 2px; }
.fill-list .r-card .chk.on { font-size: 11px; }
.fill-list .r-card .r-name { font-size: 12.5px; }
.fill-list .r-card .r-meta { font-size: 10.5px; margin-top: 3px; }
.fill-list .r-card .streak { font-size: 11px; padding: 4px 8px; }
.fill-list .g-card .g-play { width: 36px; height: 36px; border-radius: 11px; font-size: 14px; }
.fill-list .g-card .g-name { font-size: 12.5px; }
.fill-list .g-card .g-time { font-size: 11px; margin-top: 2px; }
.fill-list .g-card .g-progress { margin-top: 8px; }
.fill-list .g-card .g-pct { font-size: 11px; }
.fill-list .g-card .g-menu { font-size: 16px; }

.fill-nav { margin-top: auto; }
.fill-nav .nav-i { font-size: 9.5px; }

/* a loose "thought" floating in the pool — flies in, then hands off to a real row */
.task {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: max-content; max-width: 200px;
  transform: translate(var(--sx, 0), var(--sy, 0)) rotate(var(--sr, 0deg));
  transition: transform .65s cubic-bezier(.5,.05,.2,1), opacity .4s ease;
  will-change: transform;
}
.task-in {
  display: flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 9px 12px; box-shadow: 0 16px 32px -16px rgba(0,0,0,.85);
  animation: actBob 6.4s ease-in-out infinite;
}
.task-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.task-ic svg { width: 15px; height: 15px; }
.task-t { font-family: var(--brand); font-weight: 600; font-size: 12.5px; color: var(--ink); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .task { transition: none; }
  .task-in { animation: none; }
  .frow { opacity: 1; transform: none; }
}
@media (max-width: 980px) { .fill-stage { transform: scale(.66); transform-origin: top center; margin-bottom: -197px; } }
@media (max-width: 600px) { .fill-stage { transform: scale(.44); margin-bottom: -325px; } }

/* ---------- Stat row ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; margin-top: 56px;
}
.stat {
  background: var(--bg); padding: 30px 24px; text-align: center;
}
.stat .n { font-family: var(--display); font-weight: 700; font-size: 38px; color: var(--accent); line-height: 1; letter-spacing: -.02em; }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* ============================================================
   HOW IT WORKS — steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.step {
  position: relative; padding: 28px 24px 30px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border);
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-2); }
.step .sn {
  font-family: var(--brand); font-weight: 800; font-size: 14px; color: var(--accent);
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-glow); border: 1px solid rgba(255,199,126,.25); margin-bottom: 20px;
}
.step h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 8px; letter-spacing: -.015em; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.step .line {
  position: absolute; top: 47px; right: -10px; width: 20px; height: 1.5px;
  background: linear-gradient(90deg, var(--border-2), transparent);
}
.step:last-child .line { display: none; }

/* ============================================================
   FEATURE DEEP-DIVES (alternating)
   ============================================================ */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 60px 0;
}
.feature.flip .feat-copy { order: 2; }
.feat-copy .ic-badge {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 22px; font-size: 22px;
}
.feat-copy h3 {
  font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.025em; line-height: 1.12; margin-bottom: 18px;
}
.feat-copy h3 .serif { color: var(--accent); font-style: normal; }
.feat-copy > p { font-size: 17px; color: var(--ink-2); line-height: 1.64; max-width: 480px; }
.feat-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.feat-list li .ck {
  flex: none; width: 21px; height: 21px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; background: var(--accent-glow);
  color: var(--accent); font-size: 12px; border: 1px solid rgba(255,199,126,.3);
}
.feat-visual { display: flex; justify-content: center; }

/* generic mock card panel (non-phone visuals) */
.panel {
  width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}

/* ---------- Routine cards mock ---------- */
.r-card {
  display: flex; align-items: center; gap: 13px; padding: 14px;
  border-radius: 13px; background: var(--bg-2); border: 1px solid var(--border);
  margin-bottom: 11px; position: relative; overflow: hidden;
}
.r-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.r-card.blue::before { background: var(--blue); }
.r-card.orange::before { background: var(--accent); }
.r-card .chk {
  width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--border-2);
  flex: none; display: grid; place-items: center;
}
.r-card .chk.on { background: var(--green); border-color: var(--green); color: #16211a; }
.r-card .r-body { flex: 1; min-width: 0; }
.r-card .r-name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.r-card .r-name.done { text-decoration: line-through; color: var(--muted); }
.r-card .r-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.r-card .streak {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700;
  color: var(--accent); background: var(--accent-glow); padding: 4px 9px; border-radius: 100px;
  border: 1px solid rgba(255,199,126,.22);
}

/* ---------- Lock-screen notifications (Routines feature) ---------- */
.notif-phone { display: flex; justify-content: center; }
.notif-phone .phone { width: 290px; }
.lock {
  height: 100%; padding: 52px 13px 20px; display: flex; flex-direction: column; gap: 24px;
  background:
    radial-gradient(130% 70% at 50% -8%, rgba(255,199,126,.16), transparent 58%),
    linear-gradient(180deg, #25262c, #16171b);
}
.lock-clock { text-align: center; }
.lc-date { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.lc-time { font-family: var(--display); font-weight: 600; font-size: 58px; letter-spacing: -.025em; color: var(--ink); line-height: 1; margin-top: 4px; }
.notif-stack { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; }
.notif {
  display: flex; align-items: flex-start; gap: 10px; overflow: hidden;
  background: rgba(45,46,51,.66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 11px 12px;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.7);
}
.notif-ic { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; }
.notif-ic svg { width: 16px; height: 16px; }
.notif-main { flex: 1; min-width: 0; }
.notif-top { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.notif-name { font-family: var(--brand); font-weight: 700; font-size: 9px; letter-spacing: .12em; color: var(--ink-2); white-space: nowrap; }
.notif-count {
  font-family: var(--brand); font-weight: 700; font-size: 9px; letter-spacing: .03em;
  color: var(--accent); background: var(--accent-glow); border: 1px solid rgba(255,199,126,.32);
  border-radius: 100px; padding: 2px 7px; white-space: nowrap;
}
.notif-when { margin-left: auto; font-size: 10px; color: var(--hint); white-space: nowrap; }
.notif-msg { font-size: 12.5px; color: var(--ink); line-height: 1.45; }
.notif-msg b { font-weight: 700; }
.notif.again { border-color: rgba(255,199,126,.42); background: rgba(255,199,126,.10); }

/* JS-driven swipe-and-return loop. Base state = fully visible (print / no-JS / reduced-motion) */
.notif-stack.js #theNotif {
  opacity: 0; transform: translateY(-18px) scale(.96);
  transition: opacity .5s cubic-bezier(.2,.8,.3,1), transform .5s cubic-bezier(.2,.8,.3,1);
}
.notif-stack.js #theNotif.show { opacity: 1; transform: none; }
.notif-stack.js #theNotif.swipe {
  opacity: 0; transform: translateX(128%);
  transition: opacity .4s ease, transform .42s cubic-bezier(.4,0,.7,.25);
}
.notif-stack.js #theNotif.noanim { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .notif-stack.js #theNotif { opacity: 1; transform: none; transition: none; }
}

/* ---------- Notification timeline mock ---------- */
.timeline-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 18px; margin-top: 14px; }
.tl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tl-head .t { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.tl-head .badge { font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-glow); padding: 4px 10px; border-radius: 100px; }
.tl-track { position: relative; height: 56px; margin: 0 4px; }
.tl-axis { position: absolute; left: 0; right: 0; top: 28px; height: 2px; background: var(--border-2); border-radius: 2px; }
.tl-band {
  position: absolute; left: 4%; right: 6%; top: 23px; height: 12px; border-radius: 100px;
  background: linear-gradient(90deg, rgba(255,199,126,.35), rgba(255,199,126,.12));
  border: 1px solid rgba(255,199,126,.3);
}
.tl-bell {
  position: absolute; top: 18px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #1a1b1f; display: grid; place-items: center; font-size: 11px;
  transform: translateX(-50%); box-shadow: 0 4px 10px rgba(255,199,126,.4);
}
.tl-times { display: flex; justify-content: space-between; font-size: 10px; color: var(--hint); margin-top: 4px; }
.tl-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11.5px; color: var(--muted); }
.tl-foot .bells { color: var(--accent); letter-spacing: 1px; }

/* ---------- Cadence feature scope (purple identity, distinct from persistence) ---------- */
.feature.cadence {
  --accent: var(--purple);
  --accent-glow: rgba(171,123,255,.14);
}
.feature.cadence .tl-bell { box-shadow: 0 4px 10px rgba(171,123,255,.4); }
.feature.cadence .ck { border-color: rgba(171,123,255,.3); }
.feature.cadence .sch-field .sf-key,
.feature.cadence .tl-head .badge { border: 1px solid rgba(171,123,255,.24); }

/* ---------- Reminder schedule fields (periodAfter + duration) ---------- */
.sch-head { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.sch-head .sch-ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--accent-glow); color: var(--accent);
}
.sch-head .sch-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.sch-head .sch-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.sch-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.sch-field {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px;
}
.sch-field .sf-label { font-size: 11px; color: var(--muted); font-weight: 600; }
.sch-field .sf-val { display: flex; align-items: baseline; gap: 5px; margin-top: 8px; }
.sch-field .sf-num { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--ink); line-height: 1; }
.sch-field .sf-unit { font-size: 12px; color: var(--ink-2); }
.sch-field .sf-key {
  display: inline-block; margin-top: 10px; font-size: 10.5px; letter-spacing: .2px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--accent);
  background: var(--accent-glow); border-radius: 6px; padding: 2px 7px;
}

/* ---------- Goal timer cards ---------- */
.g-card {
  display: flex; align-items: center; gap: 14px; padding: 15px;
  border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border);
  margin-bottom: 12px; position: relative; overflow: hidden;
}
.g-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.g-card.running::before { background: var(--green); }
.g-play {
  width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--card-2); color: var(--accent); font-size: 18px; border: 1px solid var(--border-2);
}
.g-card.running .g-play { color: var(--green); }
.g-body { flex: 1; min-width: 0; }
.g-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.g-time { font-size: 12px; margin-top: 3px; }
.g-time.run { color: var(--green); }
.g-time.idle { color: var(--muted); }
.g-bar { height: 4px; border-radius: 100px; background: var(--card-3); margin-top: 11px; overflow: hidden; }
.g-bar > i { display: block; height: 100%; background: var(--accent); border-radius: 100px; }
.g-progress { display: flex; align-items: center; gap: 11px; margin-top: 10px; }
.g-progress .g-bar { flex: 1; margin-top: 0; }
.g-pct { font-size: 12px; font-weight: 700; color: var(--muted); flex: none; }

/* ---------- Productivity ring + chart ---------- */
.prod-wrap { display: flex; flex-direction: column; align-items: center; }
.ring-box { position: relative; width: 200px; height: 200px; }
.ring-box svg { transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
.ring-box .ring-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring-box .ring-center .v { font-family: var(--brand); font-weight: 800; font-size: 50px; color: var(--accent); line-height: 1; }
.ring-box .ring-center .o { font-size: 12px; color: var(--muted); margin-top: 4px; }

.prod-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; width: 100%; margin-top: 20px; }
.ps {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 13px; padding: 14px;
}
.ps .ph { display: flex; align-items: center; gap: 8px; }
.ps .icc { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex:none; }
.ps .pn { font-family: var(--brand); font-weight: 800; font-size: 19px; }
.ps .pl { font-size: 11.5px; color: var(--muted); margin-top: 7px; }

.chart {
  display: flex; align-items: flex-end; gap: 3px; height: 92px; margin-top: 16px;
  padding: 0 2px; width: 100%;
}
.chart .bar { flex: 1; border-radius: 3px 3px 0 0; min-width: 0; transform-origin: bottom; }

/* ---------- 3-up feature grid ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.gcard {
  padding: 28px 26px; border-radius: var(--r); background: var(--card);
  border: 1px solid var(--border); transition: transform .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.gcard:hover { transform: translateY(-4px); border-color: var(--border-2); }
.gcard .gic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; margin-bottom: 20px; }
.gcard h3 { font-family: var(--display); font-weight: 700; font-size: 19px; margin-bottom: 9px; letter-spacing: -.015em; }
.gcard p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.gcard .mini { margin-top: 20px; }

/* tag chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 9px; color: #fff; }

/* offline rows */
.off-row { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); margin-bottom: 9px; }
.off-row .oic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; flex: none; }
.off-row .ot { font-weight: 600; font-size: 13.5px; }
.off-row .os { font-size: 11px; color: var(--muted); }

/* notes feed */
.note-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 13px; padding: 15px; margin-bottom: 11px; }
.note-card .nt { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.note-card .nf { display: flex; align-items: center; gap: 7px; margin-top: 12px; }
.note-card .ndate { font-size: 10.5px; color: var(--hint); font-style: italic; margin-left: auto; }
.note-card .trash { color: var(--hint); font-size: 12px; }

/* ---------- App list header (Goals / Routines / etc.) ---------- */
.lhead { display: flex; align-items: center; gap: 9px; margin: 2px 2px 13px; }
.lhead .lh-ic { color: var(--accent); font-size: 16px; }
.lhead .lh-t { font-family: var(--brand); font-weight: 800; font-size: 17px; color: var(--ink); }
.lhead .lh-c { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--card-3); border-radius: 100px; padding: 2px 9px; }
.lhead .lh-act { margin-left: auto; display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: 15px; }

/* ---------- App bottom nav (mockup) — full-bleed to screen edges ---------- */
.app-nav { position: relative; z-index: 6; display: flex; justify-content: space-between; align-items: flex-start; padding: 8px 4px 10px; border-top: 1px solid var(--border); margin: auto -16px -16px; background: var(--bg-2); }
.app-nav .nav-i { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: var(--muted); flex: 1; font-weight: 500; transition: color .3s; }
.app-nav .nav-i .ni { width: 32px; height: 25px; display: grid; place-items: center; border-radius: 9px; transition: background .3s, color .3s, transform .18s cubic-bezier(.3,1.5,.5,1); }
.app-nav .nav-i .ni svg { width: 18px; height: 18px; }
.app-nav .nav-i.pressed .ni { transform: scale(.78); }
.app-nav .nav-i.active { color: var(--tc, var(--accent)); }
.app-nav .nav-i.active .ni { background: color-mix(in oklch, var(--tc, var(--accent)) 16%, transparent); color: var(--tc, var(--accent)); }

/* ---------- Productivity (faithful) ---------- */
.pp-streaks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 18px; }
.pp-streak { background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.pp-streak .s-top { display: flex; align-items: center; gap: 7px; }
.pp-streak .s-n { font-family: var(--brand); font-weight: 800; font-size: 16.5px; white-space: nowrap; }
.pp-streak .s-l { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.pp-row { display: flex; align-items: center; gap: 13px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; width: 100%; }
.pp-row .pr-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.pp-row .pr-name { font-weight: 600; font-size: 14.5px; flex: 1; color: var(--ink); }
.pp-row .pr-val { font-family: var(--brand); font-weight: 800; font-size: 15px; white-space: nowrap; }
.pp-tabs { display: flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 4px; width: 100%; }
.pp-tabs .tb { flex: 1; text-align: center; font-size: 12.5px; padding: 9px; border-radius: 9px; color: var(--muted); font-weight: 600; }
.pp-tabs .tb.on { background: var(--card-3); color: var(--ink); }
.pp-avg { display: flex; align-items: center; gap: 13px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; width: 100%; }
.pp-avg .av-ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(102,187,106,.15); color: var(--green); display: grid; place-items: center; flex: none; font-size: 16px; }
.pp-avg .av-n { font-family: var(--brand); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.pp-avg .av-l { font-size: 11.5px; color: var(--muted); }
.pp-avg .av-d { margin-left: auto; font-family: var(--brand); font-weight: 800; color: var(--green); font-size: 17px; }

/* goal card three-dot */
.g-menu { color: var(--muted); font-size: 17px; align-self: flex-start; line-height: 1; flex: none; padding-top: 2px; }
.r-cal { color: var(--muted); font-size: 14px; flex: none; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 100px 0; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; align-items: stretch; }
.plan {
  position: relative; padding: 28px 24px 26px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border);
  display: flex; flex-direction: column; transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-2); }
.plan.featured {
  background: linear-gradient(180deg, rgba(255,199,126,.08), var(--card));
  border-color: var(--accent); box-shadow: 0 24px 60px -28px rgba(255,199,126,.4);
}
.plan .ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--brand); font-weight: 700; font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: #1a1b1f; background: var(--accent);
  padding: 5px 14px; border-radius: 100px; white-space: nowrap;
}
.plan .pname { font-family: var(--brand); font-weight: 700; font-size: 15px; color: var(--ink-2); }
.plan .pprice { font-family: var(--display); font-weight: 700; font-size: 38px; color: var(--ink); margin-top: 14px; letter-spacing: -.02em; line-height: 1; }
.plan .pper { font-size: 13px; color: var(--muted); margin-top: 7px; }
.plan .pnote { font-size: 12.5px; color: var(--accent); margin-top: 6px; font-weight: 600; min-height: 18px; }
.plan .pbtn {
  margin-top: 22px; text-align: center; padding: 12px; border-radius: 12px;
  font-family: var(--brand); font-weight: 600; font-size: 14px; transition: transform .2s, background .2s;
  border: 1px solid var(--border-2); color: var(--ink); background: transparent;
}
.plan .pbtn:hover { transform: translateY(-1px); background: var(--card-2); }
.plan.featured .pbtn { background: var(--accent); color: #1a1b1f; border-color: var(--accent); }
.plan.featured .pbtn:hover { background: var(--accent-2); }
.price-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 30px; }
.price-foot a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  text-align: center; padding: 120px 0;
  background: radial-gradient(700px 360px at 50% 30%, rgba(255,199,126,.10), transparent 70%);
  border-top: 1px solid var(--border);
}
.final .big {
  font-family: var(--display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.06; margin-bottom: 12px;
}
.final .big .serif { color: var(--accent); font-style: normal; }
.final .sub { color: var(--ink-2); font-size: 18px; max-width: 520px; margin: 0 auto 36px; line-height: 1.6; }
.final .stores { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 320px; }
.foot-brand .tag { color: var(--muted); font-size: 14px; margin-top: 16px; line-height: 1.6; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--brand); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.foot-bottom p { font-size: 12.5px; color: var(--hint); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.pre { opacity: 0; transform: translateY(26px); transition: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.pre { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { margin-top: 20px; }
  .hero-visual .phone { width: 262px; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feat-copy { order: 0; }
  .feat-visual { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .line { display: none; }
  .grid3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero { padding-top: 130px; }
  .steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hero-visual .phone { width: 244px; }
  .foot-cols { gap: 36px; }
}
