/* ==========================================================================
   Binarymission — modern site design system
   ========================================================================== */

/* ---------- Theme palettes ---------- */
/* Default (also used before JS/localStorage resolves) */
:root,
html[data-theme="dark"] {
  --bg: #0a0d14;
  --bg-alt: #0d1119;
  --surface: #12161f;
  --surface-2: #171c27;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef1f7;
  --text-dim: #aab2c5;
  --text-faint: #6b7386;
  --accent: #7c6cf6;
  --accent-2: #4f9dff;
  --accent-3: #22d3c9;
  --btn-ink: #060810;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --bg-radial-1: rgba(124, 108, 246, 0.22);
  --bg-radial-2: rgba(79, 157, 255, 0.14);
}

html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-alt: #eef0f6;
  --surface: #ffffff;
  --surface-2: #f4f5fa;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --text: #12141c;
  --text-dim: #4b5468;
  --text-faint: #7c869c;
  --accent: #6d5ef0;
  --accent-2: #2f7fe0;
  --accent-3: #0fb8ac;
  --btn-ink: #ffffff;
  --shadow: 0 20px 50px -22px rgba(30, 41, 59, 0.25);
  --bg-radial-1: rgba(109, 94, 240, 0.12);
  --bg-radial-2: rgba(47, 127, 224, 0.10);
}

html[data-theme="ocean"] {
  --bg: #061820;
  --bg-alt: #08212b;
  --surface: #0d2733;
  --surface-2: #123240;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #e6f6f7;
  --text-dim: #9fc4c9;
  --text-faint: #5f8a90;
  --accent: #17b8c4;
  --accent-2: #2f9bff;
  --accent-3: #5fe0c0;
  --btn-ink: #04141a;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.65);
  --bg-radial-1: rgba(23, 184, 196, 0.20);
  --bg-radial-2: rgba(47, 155, 255, 0.14);
}

html[data-theme="sunset"] {
  --bg: #1a0f14;
  --bg-alt: #20131a;
  --surface: #26161f;
  --surface-2: #2e1a26;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #fbeef0;
  --text-dim: #d3aab0;
  --text-faint: #8f6870;
  --accent: #f6607c;
  --accent-2: #ff9a4f;
  --accent-3: #c86cf6;
  --btn-ink: #1a0508;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --bg-radial-1: rgba(246, 96, 124, 0.22);
  --bg-radial-2: rgba(255, 154, 79, 0.16);
}

html[data-theme="aurora"] {
  --bg: #08131c;
  --bg-alt: #0a1826;
  --surface: #0f1f30;
  --surface-2: #142839;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eaf6f2;
  --text-dim: #a9c9c0;
  --text-faint: #688f88;
  --accent: #33e0a1;
  --accent-2: #4f9dff;
  --accent-3: #9b6cf6;
  --btn-ink: #04140f;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.62);
  --bg-radial-1: rgba(51, 224, 161, 0.18);
  --bg-radial-2: rgba(155, 108, 246, 0.16);
}

html[data-theme="royal"] {
  --bg: #0f0a1c;
  --bg-alt: #140f24;
  --surface: #1a1330;
  --surface-2: #20193a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #f1edfb;
  --text-dim: #c1b3e0;
  --text-faint: #7c6ba0;
  --accent: #a06cf6;
  --accent-2: #6c7bf6;
  --accent-3: #e0b256;
  --btn-ink: #0c0616;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.65);
  --bg-radial-1: rgba(160, 108, 246, 0.22);
  --bg-radial-2: rgba(224, 178, 86, 0.10);
}

html[data-theme="mint"] {
  --bg: #f2faf6;
  --bg-alt: #e9f6ef;
  --surface: #ffffff;
  --surface-2: #eefaf3;
  --border: rgba(6, 78, 59, 0.10);
  --border-strong: rgba(6, 78, 59, 0.18);
  --text: #0b1f18;
  --text-dim: #3f6357;
  --text-faint: #75948a;
  --accent: #12b886;
  --accent-2: #0ea5c4;
  --accent-3: #7cc957;
  --btn-ink: #ffffff;
  --shadow: 0 20px 50px -22px rgba(6, 78, 59, 0.20);
  --bg-radial-1: rgba(18, 184, 134, 0.14);
  --bg-radial-2: rgba(14, 165, 196, 0.10);
}

html[data-theme="forest"] {
  --bg: #0a140e;
  --bg-alt: #0d1a12;
  --surface: #122016;
  --surface-2: #17281c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eaf6ee;
  --text-dim: #a9c9b2;
  --text-faint: #688f73;
  --accent: #4fce6b;
  --accent-2: #2fb39c;
  --accent-3: #a9e05a;
  --btn-ink: #06120a;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --bg-radial-1: rgba(79, 206, 107, 0.18);
  --bg-radial-2: rgba(47, 179, 156, 0.14);
}

html[data-theme="slate"] {
  --bg: #121317;
  --bg-alt: #16171c;
  --surface: #1c1e24;
  --surface-2: #23252c;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #eceef2;
  --text-dim: #a7acb8;
  --text-faint: #6b7078;
  --accent: #7c8cf6;
  --accent-2: #5fb0d9;
  --accent-3: #c8ccd6;
  --btn-ink: #0a0b0e;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.55);
  --bg-radial-1: rgba(124, 140, 246, 0.16);
  --bg-radial-2: rgba(95, 176, 217, 0.12);
}

html[data-theme="amber"] {
  --bg: #160f06;
  --bg-alt: #1c1308;
  --surface: #241a0c;
  --surface-2: #2c2010;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #fbf1e3;
  --text-dim: #d9bd94;
  --text-faint: #8f7955;
  --accent: #f6a93c;
  --accent-2: #f66c4f;
  --accent-3: #e0c250;
  --btn-ink: #160a02;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --bg-radial-1: rgba(246, 169, 60, 0.20);
  --bg-radial-2: rgba(246, 108, 79, 0.14);
}

:root {
  --gradient: linear-gradient(120deg, var(--accent-2) 0%, var(--accent) 55%, var(--accent-3) 100%);
  --gradient-soft: linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 16%, transparent), color-mix(in srgb, var(--accent) 12%, transparent));
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --header-h: 72px;
  transition: color .2s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .25s ease, color .25s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 420px at 85% -10%, var(--bg-radial-1), transparent 60%),
    radial-gradient(600px 380px at 0% 10%, var(--bg-radial-2), transparent 60%),
    var(--bg);
  transition: background .25s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-dim); }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-2) 25%, transparent);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { font-size: 17px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: var(--btn-ink); box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px color-mix(in srgb, var(--accent) 65%, transparent); }
.btn-ghost { background: color-mix(in srgb, var(--text) 4%, transparent); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 8%, transparent); border-color: color-mix(in srgb, var(--text) 25%, transparent); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .25s ease, border-color .25s ease;
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 18px; color: var(--text); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: var(--btn-ink);
  flex-shrink: 0;
}
.brand-sub { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-faint); letter-spacing: .04em; }

nav.primary-nav { display: flex; align-items: center; gap: 4px; }
nav.primary-nav a {
  padding: 9px 14px; border-radius: 100px; font-size: 14.5px; font-weight: 500; color: var(--text-dim);
  transition: background .15s ease, color .15s ease;
}
nav.primary-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
nav.primary-nav a.active { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: color-mix(in srgb, var(--text) 4%, transparent); cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle span { }
.nav-toggle::after { transform: translateY(4px); }
.nav-toggle.open::before { transform: translateY(0) rotate(45deg); }
.nav-toggle.open::after { transform: translateY(-2px) rotate(-45deg); }
.nav-toggle.open span { opacity: 0; }

@media (max-width: 900px) {
  nav.primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-alt); padding: 18px; border-top: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
    overflow-y: auto;
  }
  nav.primary-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  nav.primary-nav a { padding: 14px 16px; font-size: 16px; border-radius: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-ghost { display: none; }
}

/* ---------- Theme switcher ---------- */
.theme-switcher { position: relative; }
.theme-trigger {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 100px;
  border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--text) 4%, transparent);
  cursor: pointer; color: var(--text); font-size: 13.5px; font-weight: 600; font-family: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.theme-trigger:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.theme-trigger .swatch-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--border-strong); flex-shrink: 0; }
.theme-trigger .chev { font-size: 10px; color: var(--text-faint); transition: transform .18s ease; }
.theme-switcher.open .theme-trigger .chev { transform: rotate(180deg); }

.theme-menu {
  position: absolute; top: calc(100% + 10px); right: 0; width: 210px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px;
  padding: 8px; box-shadow: var(--shadow);
  display: grid; gap: 1px; max-height: 380px; overflow-y: auto;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 200;
}
.theme-switcher.open .theme-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.theme-option {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 9px;
  background: none; border: none; color: var(--text-dim); font-size: 13.5px; font-family: inherit;
  cursor: pointer; text-align: left;
}
.theme-option:hover { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }
.theme-option.active { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--text); font-weight: 600; }
.theme-option .swatch-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--border-strong); flex-shrink: 0; }
.theme-option .check { margin-left: auto; color: var(--accent-2); font-size: 13px; opacity: 0; }
.theme-option.active .check { opacity: 1; }

@media (max-width: 900px) {
  .theme-trigger .theme-trigger-label { display: none; }
  .theme-trigger { padding: 8px; }
}

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 76px) 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); }
.hero .lede { font-size: 18.5px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: "Sora", sans-serif; font-size: 24px; color: var(--text); }
.hero-stats div span { font-size: 13px; color: var(--text-faint); }
.hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.hero-visual img, .hero-visual svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } }

.page-hero { padding: calc(var(--header-h) + 64px) 0 56px; text-align: center; }
.page-hero .eyebrow { }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 17px; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-6 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 11px; background: var(--gradient-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }

.control-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, border-color .18s ease;
}
.control-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.control-card .thumb { aspect-ratio: 16/10; background: var(--surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.control-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.control-card .label { padding: 12px 14px; font-size: 14px; font-weight: 600; border-top: 1px solid var(--border); text-align: center; }
.control-card .thumb svg { width: 100%; height: 100%; padding: 12px; box-sizing: border-box; }

/* ---------- Icon tiles (Lucide) ---------- */
.icon-tile {
  width: 25%; max-width: 76px; aspect-ratio: 1; min-width: 52px;
  border-radius: 18px; background: var(--gradient-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s ease, background .18s ease;
}
.control-card:hover .icon-tile { transform: scale(1.06); background: var(--gradient); }
.icon-tile svg.lucide { width: 46%; height: 46%; padding: 0; box-sizing: content-box; stroke: var(--accent-2); stroke-width: 1.6; display: block; }
.control-card:hover .icon-tile svg.lucide { stroke: var(--btn-ink); }

/* Generic icon sizing wherever Lucide icons are used (cards, lists, hero strips) */
svg.lucide { width: 1em; height: 1em; }
.card .icon svg.lucide, .icon-circle svg.lucide { width: 22px; height: 22px; stroke: var(--accent-2); stroke-width: 1.8; }
.stat-pill svg.lucide, .step-icon svg.lucide { stroke: var(--accent-2); stroke-width: 1.8; }

.pill-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.pill-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 100px; border: 1px solid var(--border-strong); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--text-dim); cursor: pointer; transition: all .15s ease;
}
.pill-tab svg.lucide { width: 16px; height: 16px; stroke-width: 2; }
.pill-tab.active, .pill-tab:hover { color: var(--text); background: var(--gradient-soft); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }

.platform-block { display: none; }
.platform-block.active { display: block; }

/* ---------- Feature list ---------- */
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-dim); margin-bottom: 10px; }
.check-list li::before { content: "✓"; color: var(--accent-3); font-weight: 700; flex-shrink: 0; }

/* ---------- Pricing ---------- */
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; height: 100%; }
.price-card.featured { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), var(--surface) 40%); position: relative; }
.price-card .badge { position: absolute; top: -12px; right: 24px; background: var(--gradient); color: var(--btn-ink); font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px; }
.price-card .tag { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-2); margin-bottom: 10px; }
.price-card h3 { font-size: 19px; margin-bottom: 4px; }
.price-card .price { font-family: "Sora", sans-serif; font-size: 36px; font-weight: 700; margin: 14px 0; color: var(--text); }
.price-card .price small { font-size: 13px; font-weight: 500; color: var(--text-faint); }
.price-card .check-list { margin: 18px 0 24px; flex-grow: 1; }

/* ---------- Section variants ---------- */
.band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band { background: var(--gradient-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 56px; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item button {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 20px 0; background: none; border: none; color: var(--text); font-size: 15.5px; font-weight: 600;
  text-align: left; cursor: pointer; font-family: inherit;
}
.accordion-item button > :not(.plus) { flex: 0 0 auto; }
.accordion-item button svg.lucide { width: 18px; height: 18px; stroke: var(--accent-2); stroke-width: 1.8; flex-shrink: 0; }
.accordion-item button .plus { margin-left: auto; }
.accordion-item .plus { font-size: 20px; color: var(--accent-2); transition: transform .2s ease; flex-shrink: 0; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-panel p { padding-bottom: 18px; font-size: 14.5px; }

/* ---------- Table-ish / misc ---------- */
.stat-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 30px 0; }
.stat-strip div { flex: 1 1 140px; text-align: center; }
.stat-strip strong { display: block; font-family: "Sora", sans-serif; font-size: 26px; }
.stat-strip span { font-size: 12.5px; color: var(--text-faint); }

.info-box { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent-2); border-radius: var(--radius-sm); padding: 18px 20px; margin: 20px 0; font-size: 14.5px; color: var(--text-dim); }
.info-box strong { color: var(--text); }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { font-size: 14.5px; color: var(--text-dim); }
.footer-grid ul li a:hover { color: var(--text); }
.footer-grid p { font-size: 13.5px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.newsletter-form input { flex: 1 1 140px; padding: 11px 14px; border-radius: 100px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 13.5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-faint); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Stat pills ---------- */
.stat-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.stat-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 14px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--text-dim);
}
.stat-pill .icon-circle { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-pill .icon-circle svg.lucide { width: 14px; height: 14px; }

/* ---------- Steps (e.g. "how support works") ---------- */
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.step { text-align: center; position: relative; }
.step-icon {
  width: 60px; height: 60px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; z-index: 1;
}
.step-icon svg.lucide { width: 26px; height: 26px; }
.step-num {
  position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--gradient);
  color: var(--btn-ink); font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; margin-bottom: 0; }
@media (max-width: 760px) { .step-row { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Icon-led feature card variant ---------- */
.icon-card { display: flex; gap: 16px; align-items: flex-start; }
.icon-card .icon-circle {
  width: 46px; height: 46px; border-radius: 13px; background: var(--gradient-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-card .icon-circle svg.lucide { width: 22px; height: 22px; }
.icon-card h3, .icon-card h4 { margin-bottom: 4px; }
.icon-card p { margin-bottom: 0; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.small { font-size: 13px; color: var(--text-faint); }
.divider { height: 1px; background: var(--border); margin: 48px 0; }
