/* ==========================================================================
   قسمة ونصيب — Landing page styles
   Design tokens mirror the app's "Electric Midnight" theme (app/src/theme.ts)
   so the site and the product read as one brand.
   ========================================================================== */

:root {
  /* ── Palette (identical values to app/src/theme.ts) ── */
  --bg: #04040e;
  --card: #0a0a1c;
  --card-2: #0e0e24;
  --ink: #e8eeff;
  --muted: #8091c0;
  --border: #182849;
  --brand: #0080ff;
  --brand-light: #40a8ff;
  --brand-soft: #0d1b3a;
  --accent: #ffb300;
  --pink: #ff2d78;
  --danger: #ff3b3b;
  --success: #00d97a;
  --gold: #ffd740;

  /* ── Scale ── */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-full: 999px;

  --container: 1140px;
  --header-h: 72px;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(64, 168, 255, 0.18), 0 18px 60px rgba(0, 128, 255, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Tajawal", "Segoe UI", system-ui, -apple-system, "Noto Sans Arabic", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 800; letter-spacing: -0.4px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

a {
  color: var(--brand-light);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 8px;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  z-index: 200;
}
.skip-link:focus { inset-inline-start: 12px; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.container.narrow { width: min(100% - 40px, 820px); }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(13, 27, 58, 0.35), rgba(4, 4, 14, 0));
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 900; }
.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--brand-light), var(--pink) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: var(--btn-bg);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--ink); }
.btn:active { transform: translateY(0); }

.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--brand), #0060d0);
  color: #fff;
  box-shadow: 0 8px 26px rgba(0, 128, 255, 0.34);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(0, 128, 255, 0.48); color: #fff; }

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--brand-light); background: var(--brand-soft); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(4, 4, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  color: #fff;
  font-weight: 900;
  font-size: 19px;
}
.brand-text { font-size: 21px; font-weight: 900; letter-spacing: -0.5px; }
.accent { color: var(--brand-light); }

.nav {
  display: flex;
  gap: 26px;
  margin-inline-start: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-inline-start: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 22px;
  background: rgba(4, 4, 14, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a { padding: 12px 4px; color: var(--ink); font-weight: 600; }
.mobile-nav .btn { margin-top: 10px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(46% 52% at 72% 28%, rgba(0, 128, 255, 0.30), transparent 68%),
    radial-gradient(38% 44% at 22% 12%, rgba(255, 45, 120, 0.16), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-title {
  font-size: clamp(38px, 6.6vw, 68px);
  font-weight: 900;
  letter-spacing: -1.5px;
}
.hero-sub {
  margin-top: 20px;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(16px, 2.1vw, 19px);
}
.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-chips li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* ── Phone mockup ────────────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.phone {
  position: relative;
  width: 300px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 44px;
  background: linear-gradient(160deg, #101024, #06060f);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
  animation: float 7s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  border-radius: var(--radius-full);
  background: #06060f;
  z-index: 2;
}
.phone-screen {
  border-radius: 34px;
  background: var(--bg);
  padding: 34px 14px 12px;
  overflow: hidden;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
}
.app-logo { font-size: 15px; font-weight: 900; }
.app-bell { font-size: 14px; opacity: 0.7; }

.app-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--card);
  overflow: hidden;
}
.app-photo {
  position: relative;
  height: 132px;
  background:
    radial-gradient(70% 90% at 30% 20%, rgba(255, 45, 120, 0.35), transparent 60%),
    linear-gradient(140deg, var(--brand-soft), #1a1030);
}
.app-verified {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(0, 217, 122, 0.16);
  border: 1px solid rgba(0, 217, 122, 0.4);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
}
.app-body { padding: 12px; }
.app-name-row { display: flex; align-items: center; gap: 8px; }
.app-name { font-size: 16px; font-weight: 800; }
.app-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}
.app-meta { margin-top: 2px; color: var(--muted); font-size: 12px; }
.app-tags { display: flex; gap: 6px; margin-top: 10px; }
.tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.app-trust { margin-top: 12px; }
.app-trust-head {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.app-trust-val { color: var(--success); font-weight: 800; }
.app-bar {
  margin-top: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--card-2);
  overflow: hidden;
}
.app-bar i {
  display: block;
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--brand), var(--success));
}

.app-actions { display: flex; gap: 8px; margin-top: 12px; }
.app-btn {
  flex: 1;
  padding: 10px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: default;
}
.app-skip { background: var(--card-2); color: var(--muted); }
.app-salam {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), #0060d0);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 128, 255, 0.35);
}

.app-tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  opacity: 0.5;
}
.app-tabbar .on { opacity: 1; filter: drop-shadow(0 0 8px var(--brand-light)); }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(10, 10, 28, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 700;
}
.float-1 { top: 12%; inset-inline-start: 0; animation: float 6s ease-in-out infinite 0.4s; }
.float-2 { bottom: 14%; inset-inline-end: 0; animation: float 6.5s ease-in-out infinite 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Facts strip ─────────────────────────────────────────────────────────── */
.strip {
  padding: 28px 0;
  border-block: 1px solid var(--border);
  background: var(--card);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.strip-num {
  display: block;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--brand-light), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.strip-label { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ── Feature cards ───────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, var(--card), rgba(10, 10, 28, 0.5));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(64, 168, 255, 0.42);
  box-shadow: var(--shadow-glow);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: var(--radius-m);
  font-size: 24px;
}
.icon-blue  { background: rgba(0, 128, 255, 0.14);  border: 1px solid rgba(0, 128, 255, 0.32); }
.icon-green { background: rgba(0, 217, 122, 0.12);  border: 1px solid rgba(0, 217, 122, 0.30); }
.icon-pink  { background: rgba(255, 45, 120, 0.12); border: 1px solid rgba(255, 45, 120, 0.30); }
.icon-amber { background: rgba(255, 179, 0, 0.12);  border: 1px solid rgba(255, 179, 0, 0.30); }
.icon-gold  { background: rgba(255, 215, 64, 0.12); border: 1px solid rgba(255, 215, 64, 0.30); }
.icon-red   { background: rgba(255, 59, 59, 0.12);  border: 1px solid rgba(255, 59, 59, 0.30); }

.cards-more {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ── Split section (verification) ────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.split-copy h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 900; }
.split-copy .section-sub { max-width: 540px; }

.check-list { margin-top: 30px; display: grid; gap: 18px; }
.check-list li {
  position: relative;
  padding-inline-start: 38px;
  color: var(--muted);
  font-size: 15.5px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 217, 122, 0.14);
  border: 1px solid rgba(0, 217, 122, 0.36);
  color: var(--success);
  font-size: 13px;
  font-weight: 900;
}
.check-list strong {
  display: block;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.split-visual { display: grid; place-items: center; }
.verify-card {
  width: min(100%, 380px);
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, var(--card), #07071a);
  box-shadow: var(--shadow-soft);
}
.verify-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.verify-title { color: var(--ink); font-size: 16px; font-weight: 800; }

.verify-face {
  position: relative;
  display: grid;
  place-items: center;
  height: 180px;
  margin: 20px 0 14px;
  border-radius: var(--radius-m);
  background: radial-gradient(60% 70% at 50% 40%, var(--brand-soft), #07071a 70%);
}
.verify-ring {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 2px dashed rgba(64, 168, 255, 0.55);
  animation: spin 14s linear infinite;
}
.verify-emoji { font-size: 54px; }

@keyframes spin { to { transform: rotate(360deg); } }

.verify-hint { text-align: center; color: var(--brand-light); font-size: 14px; font-weight: 600; }

.verify-steps {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  font-size: 13.5px;
  font-weight: 600;
}
.verify-steps span {
  padding: 9px 14px;
  border-radius: var(--radius-s);
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--muted);
}
.verify-steps .done { color: var(--success); border-color: rgba(0, 217, 122, 0.3); }
.verify-steps .active { color: var(--brand-light); border-color: rgba(64, 168, 255, 0.45); }

.verify-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.badge-ok {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 217, 122, 0.15);
  border: 1px solid rgba(0, 217, 122, 0.4);
  color: var(--success);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.verify-note { color: var(--muted); font-size: 12px; text-align: end; }

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: rgba(64, 168, 255, 0.4); }
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ── Plans ───────────────────────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.plan:hover { transform: translateY(-5px); border-color: rgba(64, 168, 255, 0.4); }
.plan.featured {
  border-color: rgba(0, 128, 255, 0.5);
  background: linear-gradient(180deg, var(--brand-soft), var(--card) 55%);
  box-shadow: var(--shadow-glow);
}
.plan-tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand), var(--pink));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.plan-name { font-size: 18px; font-weight: 800; }
.plan-name.silver { color: #c9d4ea; }
.plan-name.gold { color: var(--gold); }
.plan-name.platinum { color: var(--brand-light); }

.plan-price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price .num { font-size: 42px; font-weight: 900; line-height: 1; }
.plan-price .cur { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan-price .was {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  text-decoration: line-through;
  opacity: 0.65;
}
.plan-note { margin-top: 8px; min-height: 26px; color: var(--muted); font-size: 13px; }
.save {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 45, 120, 0.14);
  border: 1px solid rgba(255, 45, 120, 0.35);
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.plan-perks { margin: 20px 0 26px; display: grid; gap: 11px; flex: 1; }
.plan-perks li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--muted);
  font-size: 15px;
}
.plan-perks li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--success);
  font-weight: 900;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 12px; }
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq[open] { border-color: rgba(64, 168, 255, 0.42); }
.faq summary {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--brand-light);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.25s var(--ease);
}
.faq[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.cta {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-glow {
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 620px;
  background: radial-gradient(50% 60% at 50% 60%, rgba(0, 128, 255, 0.28), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; }
.cta h2 { font-size: clamp(28px, 4.6vw, 46px); font-weight: 900; }
.cta p {
  max-width: 560px;
  margin: 16px auto 30px;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
}
.cta-fine { margin-top: 20px; font-size: 13.5px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.footer-brand p { margin-top: 12px; max-width: 340px; color: var(--muted); font-size: 15px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.footer-links a { color: var(--muted); font-size: 15px; }
.footer-links a:hover { color: var(--brand-light); }
.footer-muted { color: var(--muted); font-size: 14px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
}

/* ── Legal pages (privacy) ───────────────────────────────────────────────── */
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 96px); }
.legal-title { font-size: clamp(30px, 5vw, 46px); font-weight: 900; }
.legal-date { margin-top: 10px; color: var(--muted); font-size: 14px; }

.legal section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal section:first-of-type { border-top: 0; }
.legal h2 { font-size: clamp(20px, 2.6vw, 25px); margin-bottom: 14px; color: var(--ink); }
.legal p { color: var(--muted); font-size: 16.5px; }
.legal p + p { margin-top: 14px; }
.legal strong { color: var(--ink); font-weight: 700; }

.legal-list { display: grid; gap: 12px; margin-top: 6px; }
.legal-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 16.5px;
}
.legal-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-light);
}
.legal-note {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--success);
  border-radius: var(--radius-s);
  background: var(--card);
  font-size: 15.5px;
}

/* ── Scroll reveal ───────────────────────────────────────────────────────────
   Gated behind `.js` on <html> so that a JS failure (blocked script, old
   browser, parse error) can never leave the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: auto; margin-bottom: 12px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-chips { justify-content: center; }
  .split-visual { margin-top: 12px; }
  .float-1 { top: 4%; }
  .float-2 { bottom: 6%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav[data-open="true"] { display: flex; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .section-head { text-align: start; }
  .cta-inner { text-align: center; }
  .float-badge { font-size: 12px; padding: 8px 13px; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .phone { width: 100%; max-width: 300px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── Motion & contrast preferences ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-visual, .cta-glow, .hero-glow { display: none; }
  body { background: #fff; color: #000; }
}
