/* ============================================================
   HabitForm — Landing system
   Tokens: ink 0-4 / orange 500 / surfaces · Geist + Instrument Serif
   ============================================================ */
:root {
  --ink-0: #050507;
  --ink-1: #0A0A0C;
  --ink-2: #101013;
  --ink-3: #16161B;
  --ink-4: #1E1E24;
  --line:   rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);

  --fg:   #FFFFFF;
  --fg-2: #C9C9D0;
  --fg-3: #8E8E97;
  --fg-4: #5F5F68;

  --orange:      #FFAE00;
  --orange-hi:   #FFC233;
  --orange-soft: #FFD466;
  --orange-glow: rgba(255,174,0,0.40);
  --orange-tint: rgba(255,174,0,0.12);

  --t-mega:  clamp(56px, 7.4vw, 104px);
  --t-h1:    clamp(40px, 4.2vw, 60px);
  --t-h2:    clamp(32px, 3.4vw, 48px);
  --t-h3:    24px;
  --t-lead:  20px;
  --t-body:  16px;
  --t-small: 14px;
  --t-eye:   12px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --gutter: clamp(20px, 4vw, 56px);
}

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink-1);
  color: var(--fg);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1,h2,h3,h4,h5,p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.accent { color: var(--orange); }
.accent-serif {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--orange);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================ */
/* HEADER                                                         */
/* ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink-1) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--fg);
}
.brand-mark {
  width: 40px; height: 40px;
  display: block;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  border-radius: 10px;
  display: block;
}
.brand-word { font-weight: 600; font-size: 25px; letter-spacing: -0.015em; }
.brand-word .accent { font-weight: 600; }

.primary-nav { display: flex; gap: 28px; font-size: 14px; color: var(--fg-2); }
.primary-nav a { transition: color .15s; }
.primary-nav a:hover { color: var(--fg); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-weight: 500; font-size: 14px;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-primary { background: var(--orange); color: #0A0A0C; font-weight: 600; }
.btn-primary:hover { background: var(--orange-hi); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg-2); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--fg); border-color: rgba(255,255,255,0.28); }

@media (max-width: 760px) {
  .primary-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
}

/* ============================================================ */
/* HERO                                                           */
/* ============================================================ */
.hero { position: relative; padding: 56px 0 160px; overflow: visible; isolation: isolate; }
.hero-bg {
  position: absolute; inset: -1px 0 -1px 0; z-index: -1;
  background:
    radial-gradient(900px 600px at 78% 18%, rgba(255,174,0,0.18), transparent 65%),
    radial-gradient(700px 500px at 12% 30%, rgba(255,174,0,0.06), transparent 70%),
    linear-gradient(180deg, #0E0E12 0%, var(--ink-1) 60%);
  animation: hero-glow-shift 14s ease-in-out infinite alternate;
}
@keyframes hero-glow-shift {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%; filter: hue-rotate(0deg) saturate(1); }
  50%  { filter: hue-rotate(-6deg) saturate(1.15); }
  100% { background-position: 4% -2%, -4% 3%, 0% 0%; filter: hue-rotate(2deg) saturate(1); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.30; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.55; transform: translateX(-50%) scale(1.08); }
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--orange-glow); transform: scale(1); }
  50%      { box-shadow: 0 0 18px var(--orange), 0 0 4px var(--orange); transform: scale(1.15); }
}
@keyframes shot-breathe {
  0%, 100% {
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 60px rgba(255,174,0,0.18);
  }
  50% {
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 110px rgba(255,174,0,0.38);
  }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
  min-height: 640px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-eye); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-2);
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--orange); border-radius: 50%;
  box-shadow: 0 0 12px var(--orange-glow);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
.eyebrow-line { background: transparent; border: 0; padding: 0; margin-bottom: 20px; }
.eyebrow-line span { position: relative; padding-left: 32px; color: var(--orange); }
.eyebrow-line span::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 24px; height: 1px; background: var(--orange);
}

.display {
  font-size: var(--t-mega);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 28px;
}
.display .accent-serif { font-size: 1.04em; color: var(--fg); }

.lead {
  font-size: var(--t-lead); line-height: 1.5;
  color: var(--fg-2);
  max-width: 540px;
  margin-bottom: 36px;
  text-wrap: pretty;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.cta-row-center { justify-content: center; }


.store-badge {
  display: inline-flex;
  transition: transform .15s, filter .15s;
  border-radius: 8px;
  overflow: hidden;
}
.store-badge img { height: 48px; width: auto; display: block; }
.store-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 12px 24px rgba(255,174,0,0.25)); }

.hero-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 14px; color: var(--fg-2);
}
.meta-item { display: flex; align-items: center; gap: 10px; }
.meta-stars { color: var(--orange); letter-spacing: 1px; font-size: 14px; }
.meta-text strong { color: var(--fg); font-weight: 600; }
.meta-sep { width: 1px; height: 14px; background: var(--line-2); }

/* ============================================================ */
/* HERO real-screenshot composition                               */
/* ============================================================ */
/* ── Hero shots composition ─────────────────────────────────── */
.hero-shots {
  position: relative;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/*
  Both shots share the same anchor point (center of container).
  All positioning is done via transform only — this is what makes
  smooth elastic animation possible (browsers can't interpolate
  between left/right, but they can interpolate transforms perfectly).
*/
.hero-shot {
  position: absolute;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  will-change: transform, opacity, box-shadow;
  transition:
    transform  0.65s cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity    0.45s ease,
    box-shadow 0.45s ease;
}

/* Back shot: og.jpg — smaller, rotated right, behind */
.hero-shot-back {
  width: 300px;
  transform: translate(80px, 30px) rotate(7deg);
  z-index: 1;
  opacity: 0.88;
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}

/* Front shot: screen-map.jpg — larger, rotated left, in front */
.hero-shot-front {
  width: 340px;
  transform: translate(-50px, 0px) rotate(-3deg);
  z-index: 2;
  opacity: 1;
  animation: shot-breathe 5.5s ease-in-out infinite;
}

/* Hover lift — intensify glow on front shot */
.hero-shots:hover .hero-shot-front {
  box-shadow: 0 50px 90px rgba(0,0,0,0.75), 0 0 100px rgba(255,174,0,0.32);
}
.hero-shots:hover .hero-shot-back {
  opacity: 0.95;
}

/* Swapped: back moves to front position, front moves to back position */
.hero-shots.swapped .hero-shot-back {
  width: 340px;
  transform: translate(-50px, 0px) rotate(-3deg);
  z-index: 2;
  opacity: 1;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 60px rgba(255,174,0,0.18);
  animation: shot-breathe 5.5s ease-in-out infinite;
}
.hero-shots.swapped .hero-shot-front {
  width: 300px;
  transform: translate(80px, 30px) rotate(7deg);
  z-index: 1;
  opacity: 0.88;
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
  animation: none;
}

/* ============================================================ */
/* PHONE composition (legacy CSS phones — unused in hero now)     */
/* ============================================================ */
.hero-phones { position: relative; height: 720px; perspective: 1800px; }
.phone-wrap { position: absolute; }
.phone-wrap.phone-back {
  top: 40px; right: -20px;
  transform: rotate(7deg);
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
  opacity: 0.96;
}
.phone-wrap.phone-front {
  top: 0; left: 30px; z-index: 2;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.7)) drop-shadow(0 0 80px rgba(255,174,0,0.18));
}
.phone-tilt-left { transform: rotate(-4deg); }
.phone-tilt-right { transform: rotate(4deg); }
.phone-tilt-left-soft { transform: rotate(-2deg); }

.phone {
  width: 300px; height: 620px;
  background: linear-gradient(180deg, #1A1A1F 0%, #0E0E12 100%);
  border-radius: 44px;
  padding: 10px;
  border: 1.5px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
}
.phone::before {
  content: ""; position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 26px;
  background: #000; border-radius: 14px; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #0B0B0E;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}

.status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 0;
  font-size: 12px; font-weight: 600; color: var(--fg);
  height: 44px;
}
.sb-right { letter-spacing: 1px; font-size: 10px; color: var(--fg-2); }

.nav-bar {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 6px 16px 12px;
  font-size: 13px;
}
.nav-back { color: var(--orange); }
.nav-title { color: var(--fg); font-weight: 600; text-align: center; }
.nav-action { text-align: right; color: var(--orange); }

.customize-body { padding: 4px 14px 14px; overflow: hidden; flex: 1; }
.cust-h { font-size: 11px; color: var(--fg-3); margin-bottom: 8px; }
.cust-tabs { display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.cust-tabs-2 { margin-bottom: 10px; }
.cust-tab {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--fg-2);
  white-space: nowrap;
}
.cust-tab.active { background: var(--orange); color: #0A0A0C; font-weight: 600; }
.emoji-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.emoji-grid span {
  aspect-ratio: 1; display: grid; place-items: center;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 18px;
}

.map-top {
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 10px;
  padding: 4px 18px 10px;
  font-size: 13px; color: var(--fg-2);
}
.map-gear, .map-chart { font-size: 16px; color: var(--fg-3); }
.map-brand { font-weight: 600; color: var(--fg); font-size: 14px; text-align: center; }
.map-add {
  width: 24px; height: 24px;
  background: var(--orange); color: #0A0A0C;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.habit-map {
  position: relative; flex: 1;
  margin: 0 8px 8px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,174,0,0.08), transparent 60%),
    linear-gradient(180deg, #0B0B0E, #0B0B0E);
  border-radius: 18px; overflow: hidden;
}
.habit-map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 50%, transparent 90%);
}
.map-edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.time-label {
  position: absolute;
  font-size: 9px; color: var(--fg-3);
  font-family: "Geist Mono", monospace;
  letter-spacing: 0.05em;
}
.node {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid;
  background: var(--ink-2);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5), 0 0 0 4px rgba(0,0,0,0.4);
}
.node-emoji { font-size: 22px; }
.node-label {
  position: absolute; bottom: -16px; left: 50%;
  transform: translateX(-50%);
  font-size: 8.5px; white-space: nowrap;
  color: var(--fg-2); font-weight: 500;
}
.node-streak {
  position: absolute; top: -4px; right: -4px;
  background: var(--ink-1);
  border: 1px solid currentColor;
  font-size: 9px; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.node-orange { border-color: #FFAE00; color: #FFAE00; }
.node-amber  { border-color: #FFA13A; color: #FFA13A; }
.node-yellow { border-color: #F0C24A; color: #F0C24A; }
.node-blue   { border-color: #4FB3FF; color: #4FB3FF; }
.node-cyan   { border-color: #5CD2D5; color: #5CD2D5; }
.node-red    { border-color: #E25C5C; color: #E25C5C; }
.node-green  { border-color: #7CD17C; color: #7CD17C; }
.node-purple { border-color: #B9A6FF; color: #B9A6FF; }
.map-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 18px 14px;
  font-size: 16px; color: var(--fg-3);
}
.mb-zoom { display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 1; }

.float-card {
  position: absolute;
  background: rgba(20,20,24,0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
  z-index: 3;
}
.float-streak { top: 60px; left: -10px; }
.float-done   { bottom: 100px; right: -20px; }
.fc-row { display: flex; align-items: center; gap: 12px; }
.fc-emoji { font-size: 24px; }
.fc-check {
  width: 32px; height: 32px;
  background: var(--orange); color: #0A0A0C;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
}
.fc-num { font-size: 14px; font-weight: 600; }
.fc-sub { font-size: 11px; color: var(--fg-3); }

/* ============================================================ */
/* PROOF strip                                                    */
/* ============================================================ */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: var(--ink-1);
}
.proof-row {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--fg-3);
}
.proof-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--fg-4);
}
.proof-item { font-weight: 500; color: var(--fg-2); }
.proof-dot { width: 3px; height: 3px; background: var(--fg-4); border-radius: 50%; }

/* ============================================================ */
/* SECTION HEAD                                                   */
/* ============================================================ */
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: var(--t-h2);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.section-title .accent-serif { font-size: 1.05em; }
.section-sub {
  font-size: var(--t-lead);
  color: var(--fg-2);
  line-height: 1.5;
  max-width: 580px;
}
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================ */
/* SHOWCASE                                                       */
/* ============================================================ */
.showcase { padding: 120px 0; background: var(--ink-1); }

.showcase-grid {
  display: flex; flex-direction: column; gap: 28px;
}
.show-card {
  position: relative;
  background:
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 56px;
  overflow: hidden;
  display: grid; align-items: center; gap: 40px;
}
.show-large {
  grid-template-columns: 1fr 340px;
  background:
    radial-gradient(600px 400px at 90% 50%, rgba(255,174,0,0.10), transparent 70%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  min-height: 560px;
}
.show-medium { grid-template-columns: 340px 1fr; }
.show-medium:nth-of-type(odd) { grid-template-columns: 1fr 340px; }
.show-medium .show-shot { justify-self: center; }

.show-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.show-title {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.show-text p {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.55;
  max-width: 460px;
}
.show-bullets {
  margin-top: 22px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14.5px; color: var(--fg-2);
}
.show-bullets li { position: relative; padding-left: 22px; }
.show-bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 1px; background: var(--orange);
}
.show-shot {
  display: flex; justify-content: center;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}
.show-shot img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 28px;
}
.show-large .show-shot img { max-width: 340px; }

/* ============================================================ */
/* FEATURES                                                       */
/* ============================================================ */
.features {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--ink-1), #08080A);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.feature {
  grid-column: span 6;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--line-2); transform: translateY(-2px); }

@media (min-width: 720px) {
  .feature-grid .feature:nth-child(1),
  .feature-grid .feature:nth-child(4) { grid-column: span 6; }
  .feature-grid .feature:nth-child(2),
  .feature-grid .feature:nth-child(3) { grid-column: span 3; }
}
@media (min-width: 960px) {
  .feature-grid .feature:nth-child(1) { grid-column: span 4; }
  .feature-grid .feature:nth-child(2) { grid-column: span 2; }
  .feature-grid .feature:nth-child(3) { grid-column: span 2; }
  .feature-grid .feature:nth-child(4) { grid-column: span 4; }
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange-tint);
  color: var(--orange);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.feature p { color: var(--fg-2); font-size: 15.5px; line-height: 1.55; }
.feature-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; color: var(--fg-2);
}
.feature-list li { position: relative; padding-left: 22px; }
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

/* ============================================================ */
/* SCIENCE / PILLARS                                              */
/* ============================================================ */
.science {
  padding: 120px 0;
  background: #08080A;
  border-top: 1px solid var(--line);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
}
.pillar { padding: 40px 32px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar-num {
  font-family: "Geist Mono", monospace;
  font-size: 12px; color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 60px;
}
.pillar h4 {
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  text-wrap: balance;
}
.pillar p {
  font-size: 14.5px; color: var(--fg-2);
  line-height: 1.55; text-wrap: pretty;
}
@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(1), .pillar:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .pillar-num { margin-bottom: 24px; }
}

/* ============================================================ */
/* FINAL CTA                                                      */
/* ============================================================ */
.final-cta { padding: 120px 0; background: var(--ink-1); }
.final-cta-inner {
  position: relative;
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 30%, rgba(255,174,0,0.20), transparent 70%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 80px 40px;
  overflow: hidden;
  isolation: isolate;
}
.final-cta-glow {
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 240px;
  background: var(--orange);
  filter: blur(120px);
  opacity: 0.35;
  z-index: -1;
  animation: glow-pulse 6s ease-in-out infinite;
}
.cta-title {
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.cta-sub { font-size: var(--t-lead); color: var(--fg-2); margin-bottom: 36px; }

/* ============================================================ */
/* FOOTER                                                         */
/* ============================================================ */
.site-footer {
  background: #06060A;
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-tag { margin-top: 16px; color: var(--fg-3); font-size: 14px; }
.footer-stores { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-store {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--fg-2);
  font-size: 13px;
  transition: border-color .15s, color .15s;
}
.footer-store:hover { border-color: var(--orange); color: var(--orange); }

.footer-col h5 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-4);
  margin-bottom: 16px;
}
.footer-col a {
  display: block; color: var(--fg-2);
  padding: 6px 0; transition: color .15s;
}
.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  font-size: 13px; color: var(--fg-4);
}

/* ============================================================ */
/* RESPONSIVE                                                     */
/* ============================================================ */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .hero-phones { height: 600px; margin: 0 auto; max-width: 500px; }
  .hero-shots { height: 600px; margin: 0 auto; max-width: 500px; }
}
@media (max-width: 1024px) {
  .show-large,
  .show-medium,
  .show-medium:nth-of-type(odd) {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .show-large .show-shot,
  .show-medium .show-shot { order: 2; }
  .show-large .show-text,
  .show-medium .show-text { order: 1; }
}
@media (max-width: 720px) {
  .hero { padding: 32px 0 64px; }
  .hero-phones { height: 540px; transform: scale(0.86); transform-origin: top center; }

  /* Switch hero shots from absolute layered → side-by-side flex */
  .hero-shots {
    height: auto;
    min-height: 0;
    max-width: 100%;
    padding: 8px 0 24px;
    gap: 0;
    overflow: visible;
  }
  .hero-shot {
    position: relative;
    /* Reset transform-based positioning; use simple rotate only */
    animation: none !important;
  }
  .hero-shot-back {
    width: 42%; max-width: 220px;
    margin-right: -28px;
    transform: rotate(6deg) !important;
    opacity: 0.85;
    order: 1;
    z-index: 1;
  }
  .hero-shot-front {
    width: 50%; max-width: 260px;
    transform: rotate(-3deg) !important;
    order: 2;
    z-index: 2;
  }
  /* Mobile swap: flip order */
  .hero-shots.swapped .hero-shot-back {
    order: 2;
    margin-right: 0;
    margin-left: -28px;
    transform: rotate(-3deg) !important;
    z-index: 2;
    opacity: 1;
  }
  .hero-shots.swapped .hero-shot-front {
    order: 1;
    transform: rotate(6deg) !important;
    z-index: 1;
    opacity: 0.85;
  }
  .phone-wrap.phone-back { right: -40px; }
  .phone-wrap.phone-front { left: 0; }
  .float-streak { left: -20px; }
  .float-done { right: -10px; bottom: 60px; }
  .show-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .showcase, .features, .science, .final-cta, .gallery { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-phones { height: 480px; transform: scale(0.7); }
  .hero-shot-back { width: 40%; max-width: 180px; margin-right: -22px; }
  .hero-shot-front { width: 52%; max-width: 220px; }
  .final-cta-inner { padding: 56px 24px; }
}

/* ============================================================ */
/* LEGAL pages (privacy / terms)                                  */
/* ============================================================ */
.legal-hero {
  position: relative;
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(255,174,0,0.10), transparent 70%),
    linear-gradient(180deg, #0E0E12, var(--ink-1));
}
.legal-hero .eyebrow { margin-bottom: 20px; }
.legal-hero h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
  margin-bottom: 18px;
}
.legal-hero .legal-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center;
  color: var(--fg-3);
  font-size: 14px;
  margin-top: 12px;
}
.legal-hero .legal-meta .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-2);
}
.legal-hero .legal-meta .pill::before {
  content: ""; width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange-glow);
}
.legal-hero .legal-intro {
  margin-top: 24px;
  max-width: 720px;
  font-size: var(--t-lead);
  color: var(--fg-2);
  line-height: 1.55;
  text-wrap: pretty;
}

.legal-body { padding: 64px 0 120px; background: var(--ink-1); }
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 92px;
  align-self: start;
  font-size: 13.5px;
}
.legal-toc-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-4);
  margin-bottom: 16px;
  font-weight: 600;
}
.legal-toc ul { display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--fg-3);
  transition: color .15s, background .15s, border-color .15s;
  border-left: 2px solid transparent;
  line-height: 1.35;
}
.legal-toc a:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.legal-toc a.is-active {
  color: var(--orange);
  border-left-color: var(--orange);
  background: var(--orange-tint);
}

.legal-content { max-width: 760px; }
.legal-content section { scroll-margin-top: 92px; padding-bottom: 40px; }
.legal-content section + section { border-top: 1px solid var(--line); padding-top: 40px; }
.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  display: flex; align-items: baseline; gap: 12px;
}
.legal-content h2 .num {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin: 22px 0 8px;
}
.legal-content p {
  color: var(--fg-2);
  line-height: 1.7;
  margin: 0 0 14px;
}
.legal-content ul { color: var(--fg-2); margin: 4px 0 14px; }
.legal-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.legal-content ul li::before {
  content: ""; position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--orange);
}
.legal-content strong { color: var(--fg); font-weight: 600; }
.legal-content a { color: var(--orange); border-bottom: 1px solid rgba(255,174,0,0.3); }
.legal-content a:hover { border-bottom-color: var(--orange); }

.legal-contact {
  margin-top: 40px;
  padding: 28px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.legal-contact h3 {
  font-size: 18px; font-weight: 600;
  margin: 0 0 8px;
  color: var(--fg);
}
.legal-contact p { color: var(--fg-2); margin: 0 0 16px; }
.legal-contact-mails { display: flex; gap: 10px; flex-wrap: wrap; }
.legal-contact-mails a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--ink-1);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--fg);
  border-bottom: 1px solid var(--line-2);
  transition: border-color .15s, color .15s;
}
.legal-contact-mails a:hover { border-color: var(--orange); color: var(--orange); }
.legal-contact-mails a::before {
  content: ""; width: 6px; height: 6px;
  background: var(--orange); border-radius: 50%;
}

.legal-crosslink {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.legal-crosslink-text strong { display: block; font-size: 16px; color: var(--fg); margin-bottom: 2px; }
.legal-crosslink-text span { color: var(--fg-3); font-size: 14px; }
.legal-crosslink .btn { flex-shrink: 0; }

@media (max-width: 880px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: relative; top: 0; }
  .legal-toc ul {
    flex-direction: row; flex-wrap: wrap; gap: 6px;
  }
  .legal-toc a { padding: 6px 12px; border-left: 0; border: 1px solid var(--line); border-radius: 999px; }
  .legal-toc a.is-active { border-color: var(--orange); }
  .legal-crosslink { flex-direction: column; align-items: stretch; text-align: left; }
}
@media (max-width: 560px) {
  .legal-hero { padding: 56px 0 40px; }
  .legal-body { padding: 40px 0 80px; }
}

/* ============================================================ */
/* SUPPORT PAGE                                                  */
/* ============================================================ */

/* ── Hero ── */
.support-hero {
  position: relative;
  padding: 88px 0 80px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 60% 0%, rgba(255,174,0,0.08), transparent 70%),
    linear-gradient(180deg, #0E0E12, var(--ink-1));
}
.support-hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}
.support-hero-copy .eyebrow { margin-bottom: 20px; }
.support-hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.support-hero-copy p {
  font-size: var(--text-lg);
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
}
.support-response-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--fg-3);
}

/* ── Contact stack (right panel) ── */
.support-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.support-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.support-contact-card:hover {
  border-color: var(--orange);
  background: rgba(255,174,0,0.05);
  transform: translateY(-1px);
}
.support-contact-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,174,0,0.1);
  border-radius: 10px;
  color: var(--orange);
  flex-shrink: 0;
}
.support-contact-body { flex: 1; min-width: 0; }
.support-contact-label {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.support-contact-value {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.support-contact-arrow {
  color: var(--fg-3);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.support-contact-card:hover .support-contact-arrow {
  transform: translateX(3px);
  color: var(--orange);
}
.support-contact-note {
  font-size: var(--text-xs);
  color: var(--fg-3);
  line-height: 1.6;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  border-left: 2px solid var(--orange);
}
.support-contact-note strong { color: var(--fg-2); font-weight: 500; }

/* ── FAQ section ── */
.support-faq-section { padding: 72px 0 80px; }
.support-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.support-section-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.support-faq section { padding-bottom: 48px; }
.support-faq section + section { border-top: 1px solid var(--line); padding-top: 48px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  display: block;
  width: 20px; height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%23666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%23FFAE00' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.faq-item[open] summary { color: var(--orange); }
.faq-item p {
  padding: 0 0 20px;
  color: var(--fg-2);
  line-height: 1.7;
}
.faq-item p a { color: var(--orange); text-decoration: none; }
.faq-item p a:hover { text-decoration: underline; }

/* ── Still need help ── */
.support-still {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.support-still-inner {
  position: relative;
  text-align: center;
  padding: 72px 40px;
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.support-still-inner .final-cta-glow {
  top: -80px; left: 50%; transform: translateX(-50%);
}
.support-still-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  position: relative;
}
.support-still-inner p {
  color: var(--fg-2);
  margin-bottom: 32px;
  position: relative;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .support-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .support-contact-stack { max-width: 480px; }
}
@media (max-width: 860px) {
  .support-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .support-hero { padding: 56px 0 48px; }
  .support-still-inner { padding: 48px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
