/* ============================================================
   REPGAIN LANDING PAGE
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:          #0D0D0D;
  --surface:     #141414;
  --surface-2:   #1A1A1A;
  --surface-3:   #1E1E1E;
  --border:      #242424;
  --accent:      #C8F135;
  --accent-dim:  rgba(200, 241, 53, 0.12);
  --accent-glow: rgba(200, 241, 53, 0.07);
  --text:        #F0F0F0;
  --text-2:      #888888;
  --text-3:      #555555;
  --r-sm:  8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --max-w: 1100px;
  --nav-h: 72px;
  --gap:   120px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.hidden { display: none !important; }

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(46px, 7.5vw, 82px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
h1 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(30px, 4.5vw, 52px); letter-spacing: -0.035em; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
p { color: var(--text-2); line-height: 1.7; }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--gap) 0; }

.section-header { max-width: 640px; margin-bottom: 64px; }
.section-header.centered { max-width: 100%; text-align: center; }

.section-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-sub { margin-top: 16px; font-size: 18px; color: var(--text-2); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 14px 22px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #0D0D0D;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(200, 241, 53, 0.28);
}
.btn-primary:active { transform: none; box-shadow: none; }

.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  font-weight: 500;
  padding: 14px 4px;
  border-radius: 0;
  transition: color 0.15s ease;
}
.btn-ghost:hover { color: var(--text); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-3); background: var(--surface); }
.btn-full { width: 100%; }

/* ── Navigation ─────────────────────────────────────────── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled {
  background: rgba(13,13,13,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 36px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
}
.logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 10px 18px; font-size: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Eyebrow pill ────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200,241,53,0.28);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 28px;
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  padding-top: 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-text { max-width: 560px; }

.hero-desc {
  font-size: 18px;
  max-width: 480px;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* Phone mockup */
.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(200,241,53,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 268px;
  height: 568px;
  background: #0F0F0F;
  border-radius: 46px;
  border: 1.5px solid #2E2E2E;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 48px 120px rgba(0,0,0,0.65),
    0 2px 4px rgba(0,0,0,0.5);
}

.phone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 28px;
  background: #0F0F0F;
  border-radius: 14px;
  border: 1.5px solid #2E2E2E;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 52px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* Mock UI elements */
.mock-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  margin-bottom: 4px;
}
.mock-time {
  font-size: 12px;
  font-weight: 700;
  color: #f0f0f0;
  letter-spacing: -0.02em;
}
.mock-battery {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mock-battery-icon {
  width: 22px;
  height: 11px;
  border: 1.5px solid #888;
  border-radius: 2.5px;
  position: relative;
}
.mock-battery-icon::before {
  content: '';
  position: absolute;
  left: 1.5px;
  top: 1.5px;
  bottom: 1.5px;
  width: 70%;
  background: #32D74B;
  border-radius: 1px;
}
.mock-battery-icon::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 5px;
  background: #888;
  border-radius: 0 1px 1px 0;
}

.mock-greeting {
  font-size: 11px;
  font-weight: 500;
  color: #666;
  padding: 0 2px;
}

.mock-consistency {
  background: #161616;
  border: 1px solid #242424;
  border-radius: 14px;
  padding: 13px 14px;
}
.mock-con-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 9px;
}
.mock-dots-row {
  display: flex;
  gap: 5px;
  margin-bottom: 9px;
}
.mock-dot {
  flex: 1;
  height: 26px;
  border-radius: 7px;
  background: #222;
  border: 1px solid #2A2A2A;
}
.mock-dot.done { background: #C8F135; border-color: #C8F135; }
.mock-con-count {
  font-size: 11px;
  font-weight: 600;
  color: #666;
}
.mock-con-count b { color: #C8F135; font-weight: 700; }

.mock-start {
  background: #C8F135;
  color: #0D0D0D;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 13px;
  border-radius: 12px;
  letter-spacing: -0.01em;
}

.mock-label {
  font-size: 12px;
  font-weight: 700;
  color: #e0e0e0;
  letter-spacing: -0.015em;
  padding: 0 2px;
}

.mock-card {
  background: #161616;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 11px 13px;
}
.mock-card-title {
  font-size: 12px;
  font-weight: 600;
  color: #e8e8e8;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.mock-card-meta {
  font-size: 10px;
  color: #4a4a4a;
  letter-spacing: 0.01em;
}
.mock-card-volume {
  font-size: 10px;
  color: #C8F135;
  font-weight: 600;
  margin-top: 3px;
}

.mock-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: #111;
  border-top: 1px solid #202020;
  padding: 10px 0 22px;
}
.mock-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #444;
}
.mock-nav-item.active { color: #C8F135; }
.mock-nav-item span { font-size: 8.5px; font-weight: 600; letter-spacing: 0.02em; }

/* Stats bar */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-3);
  padding: 0 24px;
}
.stats-inner .sep { color: var(--border); }

/* ══════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--surface);
  padding: 36px 30px;
  transition: background 0.2s ease, opacity 0.45s ease, transform 0.45s ease;
  opacity: 0;
  transform: translateY(18px);
}
.feature-card.in-view { opacity: 1; transform: none; }
.feature-card:hover   { background: var(--surface-2); }

.feature-card:nth-child(2) { transition-delay: 0.06s; }
.feature-card:nth-child(3) { transition-delay: 0.12s; }
.feature-card:nth-child(4) { transition-delay: 0.18s; }
.feature-card:nth-child(5) { transition-delay: 0.24s; }
.feature-card:nth-child(6) { transition-delay: 0.30s; }

.feat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 { color: var(--text); margin-bottom: 10px; }
.feature-card p  { font-size: 14px; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════
   TRAINING GOALS
══════════════════════════════════════════════════════════ */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.goal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.goal-card.in-view         { opacity: 1; transform: none; }
.goal-card:nth-child(2)    { transition-delay: 0.09s; }
.goal-card:nth-child(3)    { transition-delay: 0.18s; }
.goal-card--featured {
  background: var(--surface-2);
  border-color: rgba(200,241,53,0.22);
}

.goal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.goal-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface-3);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 100px;
}
.goal-tag.accent {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(200,241,53,0.2);
}
.goal-pop {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.goal-card h3 { font-size: 22px; color: var(--text); margin-bottom: 10px; }
.goal-card > p { font-size: 14px; margin-bottom: 24px; }

.goal-stats {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.goal-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.goal-stat dt { font-size: 12px; color: var(--text-3); font-weight: 500; }
.goal-stat dd {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════ */
.hiw {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps { display: flex; flex-direction: column; }

.step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 40px;
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.step.in-view      { opacity: 1; transform: none; }
.step:last-child   { border-bottom: none; }
.step:nth-child(2) { transition-delay: 0.1s; }
.step:nth-child(3) { transition-delay: 0.2s; }

.step-n {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--border);
  line-height: 1;
  padding-top: 6px;
}
.step-body h3 { font-size: 22px; color: var(--text); margin-bottom: 12px; }
.step-body p  { font-size: 16px; max-width: 520px; }

/* ══════════════════════════════════════════════════════════
   PRO FEATURES
══════════════════════════════════════════════════════════ */
.pro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pro-text .section-sub { margin-bottom: 36px; }

.pro-list { display: flex; flex-direction: column; gap: 26px; }

.pro-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pro-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pro-item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.pro-item-text p { font-size: 14px; }

/* Chart visual */
.pro-visual { display: flex; flex-direction: column; gap: 14px; }

.chart-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.chart-title { font-size: 14px; font-weight: 600; color: var(--text); }
.chart-trend { font-size: 13px; font-weight: 700; color: var(--accent); }

.chart-svg { width: 100%; height: auto; }

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 10px;
  color: var(--text-3);
}

.stag-card {
  background: var(--surface-2);
  border: 1px solid rgba(255,149,0,0.18);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.stag-icon { font-size: 18px; line-height: 1.4; flex-shrink: 0; }
.stag-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.stag-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.pricing-card.in-view     { opacity: 1; transform: none; }
.pricing-card:nth-child(2){ transition-delay: 0.1s; }
.pricing-card--pro {
  border-color: rgba(200,241,53,0.22);
  background: linear-gradient(150deg, var(--surface-3) 0%, var(--surface) 100%);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 28px;
  background: var(--accent);
  color: #0D0D0D;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 0 0 10px 10px;
}

.pricing-head h3 { font-size: 20px; color: var(--text); margin-bottom: 14px; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 12px;
}
.price { font-size: 38px; font-weight: 800; letter-spacing: -0.05em; color: var(--text); }
.price-per { font-size: 14px; color: var(--text-2); }

.price-toggle {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  width: fit-content;
  margin-bottom: 28px;
}
.ptgl {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.ptgl.active { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.3); }

.pricing-feats { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.pricing-feats li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--text-2);
}
.pf-check { font-size: 12px; font-weight: 700; color: var(--text-3); width: 18px; flex-shrink: 0; }
.pf-check.a { color: var(--accent); }
.pf-off     { font-size: 14px; color: var(--text-3); width: 18px; flex-shrink: 0; }

.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 12px;
}

/* ══════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════ */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--surface-2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.faq-item.in-view { opacity: 1; transform: none; }

.faq-item:nth-child(2) { transition-delay: 0.04s; }
.faq-item:nth-child(3) { transition-delay: 0.08s; }
.faq-item:nth-child(4) { transition-delay: 0.12s; }
.faq-item:nth-child(5) { transition-delay: 0.16s; }
.faq-item:nth-child(6) { transition-delay: 0.20s; }
.faq-item:nth-child(7) { transition-delay: 0.24s; }
.faq-item:nth-child(8) { transition-delay: 0.28s; }

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-3);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }

.faq-answer { padding: 0 26px 22px; }
.faq-answer p { font-size: 15px; line-height: 1.72; }

/* ══════════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════════ */
.cta-section { padding: 100px 0; }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 64px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(200,241,53,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box h2 { color: var(--text); margin-bottom: 8px; }
.cta-box p  { font-size: 18px; color: var(--text-2); }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-text  { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 10px; }
.footer-tagline           { font-size: 13px; color: var(--text-3); }

.footer-nav { display: flex; gap: 56px; }
.footer-col h4 { margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a  { font-size: 14px; color: var(--text-2); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 12.5px; color: var(--text-3); }
.footer-bottom a { color: var(--text-2); transition: color 0.15s ease; }
.footer-bottom a:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 920px)
══════════════════════════════════════════════════════════ */
@media (max-width: 920px) {
  :root { --gap: 80px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-phone { order: -1; }
  .hero-text  { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-note  { text-align: center; }
  .eyebrow    { display: block; width: fit-content; margin: 0 auto 28px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .goals-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }

  .hiw .section-header { max-width: 100%; }
  .step { grid-template-columns: 80px 1fr; gap: 28px; }
  .step-n { font-size: 40px; }

  .pro-inner { grid-template-columns: 1fr; gap: 48px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }

  .cta-box { flex-direction: column; text-align: center; padding: 48px 40px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav   { flex-wrap: wrap; gap: 32px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 600px)
══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --gap: 64px; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 32px 20px;
    gap: 24px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 20px; font-weight: 600; color: var(--text); }
  .nav-cta   { display: none; }
  .nav-toggle{ display: flex; }

  .phone-frame { width: 230px; height: 490px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card  { padding: 24px; }

  .step { grid-template-columns: 56px 1fr; gap: 16px; padding: 36px 0; }
  .step-n { font-size: 30px; }
  .step-body h3 { font-size: 18px; }

  .cta-box { padding: 32px 20px; }

  .footer-nav { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-inner { flex-direction: column; gap: 6px; }
  .stats-inner .sep { display: none; }

  .section-header { margin-bottom: 44px; }
  .section-sub { font-size: 16px; }
}

/* ── Print ── */
@media print {
  body::after, .nav-wrap, .cta-section, .footer { display: none; }
}

/* ══════════════════════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════════════════════ */
#ck {
  position: fixed;
  inset: auto 0 0;
  z-index: 9000;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  animation: ck-in .28s ease both;
}
#ck.ck-out { animation: ck-out .28s ease both; }

@keyframes ck-in  { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ck-out { from { transform: none; } to { transform: translateY(100%); } }

.ck-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ck-inner p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 700px;
}
.ck-inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ck-btns { display: flex; gap: 10px; flex-shrink: 0; }
.ck-btns button {
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  background: transparent;
  color: var(--text-2);
  transition: color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.ck-btns button:hover { color: var(--text); border-color: var(--text-3); }
.ck-btns .ck-yes {
  background: var(--accent);
  color: #0D0D0D;
  border-color: var(--accent);
}
.ck-btns .ck-yes:hover { box-shadow: 0 4px 14px rgba(200,241,53,.28); }

@media (max-width: 600px) {
  .ck-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px; }
  .ck-inner p { font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════
   LEGAL / CONTENT PAGES
══════════════════════════════════════════════════════════ */
.page-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.035em;
  color: var(--text);
}
.page-hero .page-meta {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 14px;
}

/* ── Legal body ── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 0 120px;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  margin: 52px 0 14px;
  padding-top: 52px;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
}
.legal-content p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.78;
  margin-bottom: 14px;
}
.legal-content ul,
.legal-content ol {
  margin: 10px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-content ul li,
.legal-content ol li {
  font-size: 15px;
  color: var(--text-2);
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
}
.legal-content ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-3);
}
.legal-content ol { counter-reset: ol-counter; }
.legal-content ol li { counter-increment: ol-counter; }
.legal-content ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
}
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { opacity: 0.8; }
.legal-content strong {
  color: var(--text);
  font-weight: 600;
}
.legal-content .address-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.9;
  margin: 14px 0;
}

@media (max-width: 600px) {
  .legal-content { padding: 48px 0 80px; }
  .legal-content h2 { font-size: 18px; }
}
