/* ─── Variables ──────────────────────────────────────── */
:root {
  --dark:        #080C17;
  --dark-2:      #0E1525;
  --dark-3:      #172035;
  --navy:        #1A2744;
  --gold:        #F5A623;
  --gold-2:      #FFCA6E;
  --gold-glow:   rgba(245,166,35,0.18);
  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --text:        #0F172A;
  --text-inv:    rgba(255,255,255,0.92);
  --muted:       #64748B;
  --muted-inv:   rgba(255,255,255,0.62);
  --muted-inv-dim: rgba(255,255,255,0.48);
  --border:      #E4E8F0;
  --border-dark: rgba(255,255,255,0.08);
  --shadow-sm:   0 4px 16px rgba(15,23,42,0.07);
  --shadow-md:   0 12px 40px rgba(15,23,42,0.11);
  --shadow-lg:   0 32px 80px rgba(15,23,42,0.14);
  --r-sm:        12px;
  --r-md:        20px;
  --r-lg:        28px;
  --r-xl:        36px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top:    env(safe-area-inset-top, 0px);
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ─── Focus & Motion ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Skip-Link ──────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--dark);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 200;
  transition: top 180ms;
}
.skip-link:focus {
  top: 16px;
}

/* ─── Layout ─────────────────────────────────────────── */
.shell {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

/* ─── Navigation ─────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
  padding: 0 28px;
  background: rgba(8,12,23,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-dark);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #FF8C42 100%);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(245,166,35,0.4);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-inv);
  transition: color 140ms, background 140ms;
}
.nav a:hover, .nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 140ms, box-shadow 140ms, background 140ms !important;
  flex-shrink: 0;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.45) !important;
  background: var(--gold-2) !important;
  color: var(--dark) !important;
}
.nav-cta:active { transform: translateY(0); }

/* ─── Mobile Nav Toggle ──────────────────────────────── */
.nav-toggle-input { display: none; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 140ms;
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
  transition: transform 220ms cubic-bezier(.4,.0,.2,1), background 200ms;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 220ms cubic-bezier(.4,.0,.2,1), top 220ms cubic-bezier(.4,.0,.2,1);
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after  { top:  6px; }
.nav-toggle-input:checked ~ .topbar .nav-toggle-bar {
  background: transparent;
}
.nav-toggle-input:checked ~ .topbar .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle-input:checked ~ .topbar .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,12,23,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  z-index: 90;
  transition: opacity 220ms, visibility 220ms;
}
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--dark);
  border-left: 1px solid var(--border-dark);
  padding: 84px 24px calc(24px + var(--safe-bottom));
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.4,.0,.2,1);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  visibility: hidden;
}
.nav-mobile a {
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--text-inv);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 140ms, color 140ms;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.nav-mobile a:hover { background: rgba(255,255,255,0.06); }
.nav-mobile-cta {
  margin-top: 16px;
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  justify-content: center !important;
  text-align: center;
}
.nav-mobile-cta:hover { background: var(--gold-2) !important; }
.nav-mobile-divider {
  height: 1px;
  background: var(--border-dark);
  margin: 12px 0;
}
.nav-toggle-input:checked ~ .nav-mobile-backdrop {
  opacity: 1;
  visibility: visible;
}
.nav-toggle-input:checked ~ .nav-mobile {
  transform: translateX(0);
  visibility: visible;
}
body:has(.nav-toggle-input:checked) {
  overflow: hidden;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(245,166,35,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(26,39,68,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(14,21,37,0.8) 0%, transparent 100%);
  pointer-events: none;
}
/* subtle grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.25);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--gold);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--white);
  margin-bottom: 22px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--gold) 0%, #FF8C42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--muted-inv);
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-app {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 150ms, box-shadow 150ms;
  border: none;
}
.btn-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(245,166,35,0.3);
}
.btn-app:active { transform: translateY(0) scale(0.98); }
.btn-app svg { flex-shrink: 0; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--muted-inv);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 150ms, border-color 150ms, background 150ms;
}
.btn-outline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}
.btn-outline:active { transform: scale(0.98); }

/* ─── Phone Mockup ───────────────────────────────────── */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  border-radius: 99px;
  filter: blur(40px);
}
.phone {
  width: 260px;
  height: 520px;
  background: var(--dark-2);
  border-radius: 42px;
  border: 2px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.04),
    0 60px 100px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation: phone-float 5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--dark);
  border-radius: 99px;
  z-index: 10;
}
.phone-screen {
  position: absolute;
  inset: 0;
  padding: 52px 12px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 4px;
}
.phone-bar-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.phone-bar-icon {
  font-size: 0.7rem;
  color: var(--muted-inv);
}
.rating-card {
  background: var(--dark-3);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--border-dark);
}
.rating-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.rating-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
}
.rating-card-info { flex: 1; min-width: 0; }
.rating-card-name {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-inv);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rating-card-sub {
  font-size: 0.54rem;
  color: var(--muted-inv);
  margin-top: 1px;
}
.stars {
  display: flex;
  gap: 1px;
  font-size: 0.6rem;
}
.star { color: var(--gold); }
.star.empty { color: rgba(255,255,255,0.2); }
.rating-card-score {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.rating-bar-label { font-size: 0.5rem; color: var(--muted-inv); width: 28px; flex-shrink: 0; }
.rating-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, #FF8C42 100%);
  border-radius: 99px;
}
.phone-tab-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 52px;
  background: rgba(14,21,37,0.95);
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px 8px;
}
.tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}
.tab-icon.active { background: rgba(245,166,35,0.15); }

/* ─── Features ───────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--off-white);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform 180ms, box-shadow 180ms, border-color 180ms;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(245,166,35,0.12), rgba(255,140,66,0.06));
  border: 1px solid rgba(245,166,35,0.18);
  color: var(--gold);
  flex-shrink: 0;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--muted);
}

/* ─── Trust strip ────────────────────────────────────── */
.stats-strip {
  background: var(--dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}
.stat-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.stat-item:last-child { border-right: 0; }
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.22);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.stat-icon svg {
  width: 22px; height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted-inv);
  font-weight: 500;
  line-height: 1.5;
  max-width: 220px;
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq {
  background: var(--white);
  padding: 100px 0;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 180ms, box-shadow 180ms;
}
.faq-item[open] {
  border-color: rgba(245,166,35,0.4);
  box-shadow: 0 4px 18px rgba(245,166,35,0.06);
  background: var(--white);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 220ms cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
  margin-right: 4px;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--gold);
}
.faq-item-body {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}
.faq-item-body p + p { margin-top: 10px; }

/* ─── Download CTA ───────────────────────────────────── */
.download {
  padding: 100px 0;
  background: var(--white);
}
.download-box {
  background: var(--dark);
  border-radius: var(--r-xl);
  padding: 72px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.download-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.download-box::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,39,68,0.8) 0%, transparent 70%);
  pointer-events: none;
}
.download-copy { position: relative; z-index: 1; }
.download-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.download-copy p {
  font-size: 1rem;
  color: var(--muted-inv);
  line-height: 1.7;
  max-width: 360px;
}
.download-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ─── Legal pages ────────────────────────────────────── */
.doc-page {
  background: var(--off-white);
  min-height: 100vh;
  padding: 108px 0 80px;
}
.doc-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
}
.doc-sidebar-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding: 0 8px;
}
.doc-sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 130ms, background 130ms;
}
.doc-sidebar a:hover {
  color: var(--text);
  background: var(--off-white);
}
.doc-sidebar a.active {
  color: var(--text);
  background: var(--off-white);
  font-weight: 600;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 52px;
  box-shadow: var(--shadow-sm);
}
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
  transition: color 130ms;
}
.doc-back:hover { color: var(--text); }
.doc-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--off-white);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}
.doc-card h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 10px;
}
.doc-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.doc-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 32px 0 10px;
}
.doc-card p {
  font-size: 0.97rem;
  line-height: 1.82;
  color: var(--muted);
  margin-bottom: 14px;
}
.doc-card ul, .doc-card ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.doc-card li {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 5px;
}
.doc-card strong { color: var(--text); }
.doc-card a { color: var(--gold); font-weight: 500; }
.doc-card a:hover { text-decoration: underline; }

/* ─── Support Page ───────────────────────────────────── */
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--r-md);
  background: var(--off-white);
  border: 1px solid var(--border);
  margin: 24px 0;
  transition: border-color 140ms;
}
.contact-card:hover { border-color: var(--gold); }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, #FF8C42 100%);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 60px 0 36px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 36px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.footer-brand-sub {
  font-size: 0.88rem;
  color: var(--muted-inv);
  line-height: 1.6;
  max-width: 260px;
}
.footer-links-group h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-inv);
  margin-bottom: 14px;
}
.footer-links-group a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  transition: color 130ms;
}
.footer-links-group a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.3);
  transition: color 130ms;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ─── Responsive ─────────────────────────────────────── */

/* Touch targets — apply globally */
a, button { min-height: 44px; display: inline-flex; align-items: center; }
.nav a, .doc-sidebar a, .footer-legal a, .doc-back, .footer-links-group a { min-height: 44px; }

@media (max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-container { grid-template-columns: 1fr; }
  .doc-sidebar {
    position: static;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: none;
    background: none;
    padding: 0 0 4px;
  }
  .doc-sidebar::-webkit-scrollbar { display: none; }
  .doc-sidebar-title { display: none; }
  .doc-sidebar a {
    font-size: 0.85rem;
    padding: 8px 14px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 99px;
    border: 1px solid var(--border);
    background: var(--white);
    min-height: 36px;
  }
  .doc-sidebar a.active {
    background: var(--text);
    color: var(--white);
    border-color: var(--text);
  }
}

@media (max-width: 860px) {
  .hero-wrap { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  /* Phone shrinks but stays visible on tablet/mobile */
  .phone-wrap { order: 2; margin-top: 8px; }
  .phone {
    width: 230px;
    height: 460px;
    border-radius: 38px;
    animation-duration: 6s;
  }
  .phone-glow { width: 280px; height: 280px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--border-dark); padding: 24px 20px; }
  .stat-item:last-child { border-bottom: 0; }
  .download-box { flex-direction: column; text-align: center; padding: 48px 32px; }
  .download-copy p { margin: 0 auto; }
  .download-actions { justify-content: center; }
  .footer-top { flex-direction: column; gap: 32px; }
  .faq { padding: 72px 0; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }

  .topbar-inner {
    padding: 0 16px;
    height: 60px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  /* Hide desktop nav, show toggle */
  .nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Hero — denser */
  .hero { padding: 88px 0 56px; min-height: auto; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.4rem); margin-bottom: 18px; }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.72rem; padding: 5px 12px; margin-bottom: 18px; }
  .hero-actions { flex-direction: column; gap: 10px; width: 100%; }
  .btn-app, .btn-outline { width: 100%; justify-content: center; min-height: 52px; font-size: 1rem; }

  /* Phone smaller still on phones */
  .phone {
    width: 210px;
    height: 420px;
    border-radius: 36px;
  }
  .phone-glow { width: 240px; height: 240px; }
  .phone-screen { padding: 46px 10px 14px; gap: 6px; }
  .phone-tab-bar { height: 46px; }

  /* Features */
  .features { padding: 72px 0; }
  .section-header { margin-bottom: 44px; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 24px 20px; border-radius: var(--r-md); }
  .feature-icon { width: 46px; height: 46px; margin-bottom: 16px; }
  .feature-icon svg { width: 22px; height: 22px; }

  /* Stats */
  .stats-strip { padding: 44px 0; }
  .stat-title { font-size: 1rem; }

  /* FAQ */
  .faq { padding: 64px 0; }
  .faq-item summary { padding: 18px 18px; font-size: 0.95rem; }
  .faq-item-body { padding: 0 18px 18px; font-size: 0.92rem; }

  /* Download */
  .download { padding: 72px 0; }
  .download-box { padding: 40px 24px; border-radius: var(--r-lg); }
  .download-actions .btn-app { width: 100%; justify-content: center; min-height: 52px; }

  /* Doc pages */
  .doc-page { padding: 78px 0 60px; }
  .doc-card { padding: 24px 20px; border-radius: var(--r-lg); }
  .doc-card h1 { font-size: 1.9rem; }
  .doc-card h2 { font-size: 1.05rem; margin-top: 26px; }
  .doc-card p, .doc-card li { font-size: 0.93rem; line-height: 1.75; }
  .doc-meta { margin-bottom: 28px; padding-bottom: 28px; }
  .contact-card { padding: 18px 20px; gap: 14px; }

  /* Footer */
  .footer { padding: 48px 0 calc(28px + var(--safe-bottom)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-legal { gap: 14px; flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2.3rem; }
  .section-title { font-size: 1.75rem; }
  .download-box { padding: 32px 18px; }
  .doc-card { padding: 20px 16px; }
  .phone { width: 190px; height: 380px; }
  .phone-glow { width: 220px; height: 220px; }
}

/* ─── Wider screens: more breathing room ─────────────── */
@media (min-width: 1280px) {
  .shell { width: min(1240px, calc(100% - 64px)); }
}
