/* =========================================================================
   RepLift — Landing site design system
   Palette + tokens mirror the iOS app's LiftTheme (charcoal + lime).
   ========================================================================= */

:root {
  /* Surfaces (from LiftTheme) */
  --ink: #0E1113;
  --ink-soft: #161B1E;
  --surface: #1D2428;
  --surface-hi: #273035;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text-primary: #F3F6F4;
  --text-secondary: #ABB6B0;
  --text-tertiary: #74807A;

  /* Brand accents */
  --lime: #C8F542;
  --lime-deep: #A6DE1F;
  --mint: #34D399;
  --amber: #FFB23E;
  --coral: #FF4D45;
  --sky: #3B82F6;
  --violet: #8B5CF6;

  --brand-gradient: linear-gradient(135deg, var(--mint), var(--lime));
  --brand-gradient-soft: linear-gradient(135deg, rgba(52, 211, 153, 0.16), rgba(200, 245, 66, 0.16));

  /* Geometry (from LiftTheme.Radius / Space) */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 60px -12px rgba(200, 245, 66, 0.45);

  --maxw: 1160px;
  --nav-h: 68px;

  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;

  color-scheme: dark;
}

/* --------------------------------------------------------- Reset / base */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--lime); color: #10140a; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}

.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

.section-head { max-width: 660px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

h1, h2, h3, h4 { line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }

h2.title {
  font-size: clamp(30px, 4.4vw, 46px);
  margin-top: 16px;
}
.lead {
  margin-top: 18px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text-secondary);
  max-width: 60ch;
}
.section-head.center .lead { margin-inline: auto; }

.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--brand-gradient);
  color: #0f1408;
  box-shadow: 0 10px 30px -10px rgba(200, 245, 66, 0.5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(200, 245, 66, 0.65);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline-strong);
  color: var(--text-primary);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--lime); }

/* App Store badge */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.appstore:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-card);
}
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore .as-small { font-size: 11px; color: #cfd3d0; letter-spacing: 0.3px; }
.appstore .as-big { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }

/* --------------------------------------------------------- Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(14, 17, 19, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Language switch */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-weight: 700; font-size: 13px; letter-spacing: 0.3px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.lang-switch:hover { color: var(--text-primary); border-color: var(--lime); background: rgba(255, 255, 255, 0.08); }
.lang-switch svg { width: 15px; height: 15px; }
.mobile-menu .lang-switch { justify-content: center; margin-top: 6px; }
@media (max-width: 760px) { .nav-cta .lang-switch { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(14, 17, 19, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 24px 28px;
  display: none;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-menu a {
  padding: 14px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.mobile-menu .btn { margin-top: 14px; }

/* --------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px));
  padding-bottom: clamp(50px, 7vw, 96px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 12%, rgba(200, 245, 66, 0.16), transparent 70%),
    radial-gradient(55% 45% at 8% 4%, rgba(52, 211, 153, 0.14), transparent 70%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  letter-spacing: -0.035em;
  margin-top: 22px;
}
.hero .lead { font-size: clamp(17px, 1.9vw, 21px); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-note { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-tertiary); font-size: 14px; font-weight: 600; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--lime); }

.badge-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 8px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline);
  font-size: 13.5px; font-weight: 600; color: var(--text-secondary);
}
.badge-pill b { color: var(--text-primary); font-weight: 700; }
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200,245,66,0.18); }

/* --------------------------------------------------------- Phone mockups */
.phone {
  --pw: 300px;
  width: var(--pw);
  aspect-ratio: 300 / 620;
  border-radius: 46px;
  background: linear-gradient(160deg, #23292d, #0d1012);
  padding: 11px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-card), 0 0 80px -30px rgba(200,245,66,0.35);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: var(--ink);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.notch {
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 30px;
  background: #000;
  border-radius: var(--r-pill);
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
.notch::after { content: ""; width: 46px; height: 6px; border-radius: 3px; background: #1c2226; }

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 640px;
}
.hero-phones .phone { position: absolute; }
.hero-phones .phone--back {
  --pw: 250px;
  transform: translateX(88px) translateY(-10px) rotate(6deg) scale(0.92);
  opacity: 0.92;
  z-index: 1;
  filter: brightness(0.85);
}
.hero-phones .phone--front { transform: translateX(-56px) rotate(-3deg); z-index: 2; }

/* Screen UI (shared, mimics the app) */
.scr { padding: 42px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.scr-h { display: flex; align-items: center; justify-content: space-between; }
.scr-title { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.scr-sub { font-size: 11px; color: var(--text-tertiary); font-weight: 600; }

.rank-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(200,245,66,0.35), var(--surface-hi));
  border: 2px solid var(--lime);
  display: flex; align-items: center; justify-content: center;
  color: var(--lime);
}
.rank-avatar svg { width: 18px; height: 18px; }

.mini-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px;
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { text-align: center; }
.stat .v { font-size: 17px; font-weight: 800; }
.stat .v.lime { color: var(--lime); }
.stat .l { font-size: 9px; color: var(--text-tertiary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; margin-top: 2px; }

.xp-bar { height: 8px; border-radius: 4px; background: var(--surface-hi); overflow: hidden; margin-top: 8px; }
.xp-bar i { display: block; height: 100%; width: 68%; border-radius: 4px; background: var(--brand-gradient); }

.set-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.set-row .n { width: 20px; height: 20px; border-radius: 6px; background: var(--surface-hi); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 10px; color: var(--text-secondary); }
.set-row .val { font-weight: 700; }
.set-row .chk { margin-left: auto; color: var(--lime); }
.set-row .chk svg { width: 15px; height: 15px; }
.set-row.done .val { color: var(--text-secondary); }

.timer-ring {
  width: 128px; height: 128px; margin: 8px auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--lime) 0deg 250deg, var(--surface-hi) 250deg 360deg);
  position: relative;
}
.timer-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--ink); }
.timer-ring .t { position: relative; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }

.island {
  margin: 6px auto 2px;
  width: 190px;
  background: #000;
  border-radius: var(--r-pill);
  padding: 8px 14px;
  display: flex; align-items: center; gap: 10px;
}
.island .lbl { font-size: 10px; color: var(--text-tertiary); font-weight: 700; }
.island .big { margin-left: auto; font-size: 15px; font-weight: 800; color: var(--lime); }
.island .ic { width: 20px; height: 20px; border-radius: 6px; background: var(--brand-gradient); display:flex; align-items:center; justify-content:center; }
.island .ic svg { width: 12px; height: 12px; color:#0f1408; }

/* mini bar chart */
.chart { display: flex; align-items: flex-end; gap: 6px; height: 72px; padding-top: 6px; }
.chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--surface-hi); }
.chart i.hl { background: var(--brand-gradient); }

/* --------------------------------------------------------- Marquee / logos row */
.trust {
  border-block: 1px solid var(--hairline);
  background: var(--ink-soft);
}
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-weight: 700; font-size: 15px; }
.trust-item svg { width: 22px; height: 22px; color: var(--lime); flex: none; }

/* --------------------------------------------------------- Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--hairline-strong); background: var(--surface-hi); }
.card .ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-gradient-soft);
  border: 1px solid var(--hairline);
  margin-bottom: 18px;
}
.card .ic svg { width: 26px; height: 26px; color: var(--lime); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 15.5px; }

.card--wide { grid-column: span 2; }
@media (max-width: 900px) { .card--wide { grid-column: span 1; } }

/* Alternating feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 120px); }
.feature-row.reverse .fr-media { order: 2; }
.feature-row .fr-copy .eyebrow { margin-bottom: 14px; }
.feature-row h3 { font-size: clamp(24px, 3vw, 34px); }
.feature-row .fr-copy p { color: var(--text-secondary); margin-top: 16px; font-size: 17px; }
.fr-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.fr-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-secondary); }
.fr-list li svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 3px; }
.fr-list li b { color: var(--text-primary); font-weight: 700; }

.fr-media { display: flex; justify-content: center; }

/* Media panels (framed showcases) */
.panel {
  width: 100%;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(200,245,66,0.10), transparent 60%),
    linear-gradient(160deg, var(--ink-soft), var(--ink));
  border: 1px solid var(--hairline);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

/* --------------------------------------------------------- Rank ladder */
.ranks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rank {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 22px 16px;
  text-align: center;
  position: relative;
}
.rank .medal {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--surface-hi);
  border: 2px solid currentColor;
}
.rank .medal svg { width: 26px; height: 26px; }
.rank h4 { font-size: 18px; color: var(--text-primary); }
.rank .lvl { font-size: 12.5px; color: var(--text-tertiary); font-weight: 700; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.rank .arrow { position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--text-tertiary); z-index: 2; }
.rank .arrow svg { width: 18px; height: 18px; }

/* --------------------------------------------------------- Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-big { text-align: center; padding: 22px; }
.stat-big .n { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.stat-big .n.grad { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-big .c { color: var(--text-secondary); margin-top: 6px; font-size: 15px; font-weight: 600; }

/* --------------------------------------------------------- Pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin-inline: auto; }
.price {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
}
.price.pro {
  border-color: rgba(200,245,66,0.5);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(200,245,66,0.10), transparent 60%),
    var(--surface);
  box-shadow: 0 24px 60px -30px rgba(200,245,66,0.4);
}
.price .tag {
  position: absolute; top: 22px; right: 22px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--brand-gradient); color: #0f1408; text-transform: uppercase;
}
.price h3 { font-size: 22px; }
.price .p { margin: 14px 0 4px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price .p small { font-size: 15px; font-weight: 600; color: var(--text-tertiary); letter-spacing: 0; }
.price .desc { color: var(--text-secondary); font-size: 15px; margin-bottom: 20px; }
.price ul { display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; }
.price li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--text-secondary); }
.price li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.price li.on svg { color: var(--lime); }
.price li.off { color: var(--text-tertiary); }
.price li.off svg { color: var(--text-tertiary); }
.price li b { color: var(--text-primary); font-weight: 700; }
.price .btn { width: 100%; }

/* --------------------------------------------------------- FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  background: none; border: none; color: var(--text-primary);
  font-size: 18px; font-weight: 700; text-align: left; letter-spacing: -0.01em;
}
.faq-q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--hairline-strong); display: grid; place-items: center; transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease; }
.faq-q .pm svg { width: 15px; height: 15px; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--lime); color: #0f1408; border-color: var(--lime); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 4px 22px; color: var(--text-secondary); font-size: 16px; }

/* --------------------------------------------------------- CTA band */
.cta-band {
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(200,245,66,0.16), transparent 60%),
    linear-gradient(160deg, var(--ink-soft), #10161a);
  border: 1px solid var(--hairline-strong);
}
.cta-band h2 { font-size: clamp(30px, 4.5vw, 48px); }
.cta-band p { color: var(--text-secondary); margin: 18px auto 32px; max-width: 52ch; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* --------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 20px;
}
.contact-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-gradient-soft); border: 1px solid var(--hairline); display: grid; place-items: center; flex: none; }
.contact-card .ic svg { width: 22px; height: 22px; color: var(--lime); }
.contact-card h4 { font-size: 16px; }
.contact-card p, .contact-card a { color: var(--text-secondary); font-size: 15px; margin-top: 3px; }
.contact-card a:hover { color: var(--lime); }

form.contact-form { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; color: var(--text-secondary); }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--ink-soft);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(200,245,66,0.16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--text-tertiary); }

/* --------------------------------------------------------- Article (legal/support) */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 88px));
  padding-bottom: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.page-hero .hero-glow { opacity: 0.7; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.03em; }
.page-hero .lead { margin-top: 16px; }
.updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--text-tertiary); font-weight: 600; }
.updated svg { width: 16px; height: 16px; color: var(--lime); }

.article { max-width: 820px; margin-inline: auto; }
.article h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-top: 48px; margin-bottom: 14px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 19px; margin-top: 28px; margin-bottom: 10px; color: var(--text-primary); }
.article p { color: var(--text-secondary); margin-bottom: 14px; }
.article ul.bullets { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 18px; padding-left: 2px; }
.article ul.bullets li { display: flex; gap: 12px; color: var(--text-secondary); }
.article ul.bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-top: 10px; flex: none; }
.article a.inline { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.article strong { color: var(--text-primary); }

.callout {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--lime);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin: 22px 0;
}
.callout p { margin: 0; color: var(--text-secondary); }

/* TOC */
.toc {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 20px;
}
.toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-tertiary); margin-bottom: 12px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--text-secondary); font-size: 14.5px; font-weight: 600; }
.toc a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; max-width: 1040px; margin-inline: auto; }
@media (max-width: 860px) { .article-layout { grid-template-columns: 1fr; } .toc { display: none; } }

/* --------------------------------------------------------- Footer */
.footer { border-top: 1px solid var(--hairline); background: var(--ink-soft); padding-block: 56px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer .fdesc { color: var(--text-tertiary); font-size: 14.5px; max-width: 32ch; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-tertiary); margin-bottom: 16px; }
.footer nav a { display: block; color: var(--text-secondary); font-size: 15px; padding: 6px 0; transition: color 0.15s ease; }
.footer nav a:hover { color: var(--lime); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--text-tertiary); font-size: 14px;
}
.footer-bottom a { color: var(--text-tertiary); }
.footer-bottom a:hover { color: var(--text-secondary); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--text-secondary); }
.footer-social a:hover { color: var(--lime); border-color: var(--lime); }
.footer-social svg { width: 18px; height: 18px; }

/* --------------------------------------------------------- Reveal animation
   Gated on html.js so content is fully visible if JS is disabled/slow. */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------- Responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phones { min-height: 560px; margin-top: 12px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ranks { grid-template-columns: repeat(3, 1fr); }
  .rank:nth-child(3) .arrow { display: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: flex; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .fr-media { order: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ranks { grid-template-columns: repeat(2, 1fr); }
  .rank .arrow { display: none; }
}
@media (max-width: 500px) {
  .wrap { padding-inline: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-phones .phone--back { display: none; }
  .hero-phones .phone--front { transform: rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.06s !important; }
}
