/* Al-Manarah VTU — landing page styles */
/* Theme tokens live in :root and [data-theme=...] blocks below. */
/* Set the active theme via config.js (site.theme). */

/* Jannah VTU – landing page styles */

:root {
  --bg: #f6f3eb;
  --bg-2: #efeadc;
  --ink: #0e1a14;
  --ink-2: #2b3a32;
  --muted: #6b7a72;
  --line: rgba(14, 26, 20, 0.10);
  --line-2: rgba(14, 26, 20, 0.18);
  --emerald: #0d4f3c;
  --emerald-2: #0a3d2e;
  --emerald-soft: #e3ece6;
  --gold: #c8a26b;
  --gold-soft: #f1e6d0;
  --card: #fffdf6;
  --shadow-sm: 0 1px 2px rgba(14, 26, 20, 0.05);
  --shadow: 0 8px 24px -8px rgba(14, 26, 20, 0.16), 0 1px 2px rgba(14, 26, 20, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(14, 26, 20, 0.28), 0 2px 6px rgba(14, 26, 20, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

[data-theme="dark"] {
  --bg: #0c1410;
  --bg-2: #0f1a14;
  --ink: #ebe7d8;
  --ink-2: #c8c4b6;
  --muted: #8c9990;
  --line: rgba(235, 231, 216, 0.10);
  --line-2: rgba(235, 231, 216, 0.18);
  --emerald: #4ade9a;
  --emerald-2: #6df0b3;
  --emerald-soft: #14271f;
  --gold: #e7c98a;
  --gold-soft: #2a2418;
  --card: #121c16;
  --shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
}

[data-theme="indigo"] {
  --emerald: #3a3da6;
  --emerald-2: #2a2d8a;
  --emerald-soft: #e8e7f3;
  --gold: #e89a6b;
  --gold-soft: #f5e6d8;
}

[data-theme="ink"] {
  --bg: #f4f3ef;
  --bg-2: #ebeae5;
  --emerald: #16191f;
  --emerald-2: #000;
  --emerald-soft: #e7e6e1;
  --gold: #c8744b;
  --gold-soft: #f4e3d6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Top notice ---------- */
.notice {
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  padding: 10px 0;
  letter-spacing: 0.01em;
}
.notice .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.notice .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 3px 10px; border-radius: 999px; font-size: 11px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em;
}
.notice .pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade9a;
  box-shadow: 0 0 0 4px rgba(74, 222, 154, 0.18);
}
.notice .links { display: flex; gap: 18px; opacity: 0.7; font-size: 12px; }
.notice .links a:hover { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--emerald); position: relative;
  display: grid; place-items: center;
  box-shadow: inset 0 -8px 16px rgba(0,0,0,0.25), 0 4px 10px -4px var(--emerald);
}
.brand-mark::before {
  content: ""; position: absolute; inset: 7px;
  background: radial-gradient(circle at 30% 30%, var(--gold), transparent 60%);
  border-radius: 50%;
}
.brand-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  border: 2px solid var(--bg); border-right: 0; border-bottom: 0;
  transform: translate(-50%, -55%) rotate(45deg);
  border-radius: 2px;
}
.brand small { font-family: var(--font-mono); font-size: 9px; opacity: 0.55; letter-spacing: 0.12em; text-transform: uppercase; margin-left: 4px; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.has-dot::after {
  content:""; position:absolute; right: -10px; top: 4px; width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: 999px; font-size: 14px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn > svg { flex-shrink: 0; width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 20px -8px var(--emerald), inset 0 1px 0 rgba(255,255,255,0.16); }
.btn-primary:hover { background: var(--emerald-2); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -10% -10% auto auto;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at 70% 30%, color-mix(in oklab, var(--emerald) 18%, transparent), transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-2);
  background: var(--card); padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
}
.eyebrow b { color: var(--emerald); font-weight: 600; }
.eyebrow svg { width: 12px; height: 12px; }

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 22px 0 22px;
  font-weight: 600;
  text-wrap: balance;
}
h1.hero-title em {
  font-style: normal;
  position: relative;
  color: var(--emerald);
  font-family: "Instrument Serif", "Bricolage Grotesque", serif;
  font-weight: 400;
  font-style: italic;
  padding: 0 6px;
}
h1.hero-title em::before {
  content: ""; position: absolute; inset: 12% -4% 8% -4%;
  background: var(--emerald-soft);
  border-radius: 12px; z-index: -1;
}

.hero p.lede {
  font-size: 19px; color: var(--ink-2);
  max-width: 540px; margin: 0 0 32px;
  text-wrap: pretty;
}
.hero .cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.hero .trust {
  display: flex; align-items: center; gap: 18px;
  margin-top: 36px; padding-top: 28px; border-top: 1px dashed var(--line-2);
  font-size: 13px; color: var(--muted);
}
.hero .trust .avatars { display: flex; }
.hero .trust .avatars span {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--gold), var(--emerald));
  margin-left: -8px;
}
.hero .trust .avatars span:first-child { margin-left: 0; }
.hero .trust b { color: var(--ink); font-weight: 600; }

/* ---------- Service widget ---------- */
.widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.widget::before {
  content: ""; position: absolute; inset: -8px -8px auto auto;
  width: 80px; height: 80px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  pointer-events: none; z-index: -1;
}
.widget-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 6px;
}
.widget-head .title { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.widget-head .live {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 6px;
}
.widget-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.tabs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 4px; padding: 8px;
  background: var(--bg-2); border-radius: 14px;
  margin: 6px 10px 14px;
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px 10px;
  border-radius: 10px;
  background: transparent; border: 0;
  font-size: 11.5px; color: var(--ink-2); cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}
.tab svg { width: 22px; height: 22px; }
.tab:hover { background: color-mix(in oklab, var(--card) 60%, transparent); }
.tab.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
}
.tab.active svg { color: var(--emerald); }

.form { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: var(--muted); font-weight: 500; }
.field .ctrl {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
}
.field .ctrl input,
.field .ctrl select {
  background: transparent; border: 0; outline: 0; font-size: 15px; color: var(--ink);
  font-family: inherit; flex: 1; min-width: 0;
}
.field .ctrl input::placeholder { color: var(--muted); }
.field .ctrl:focus-within { border-color: var(--emerald); background: var(--card); }
.field .prefix { color: var(--muted); font-family: var(--font-mono); font-size: 13px; }

.network-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.network {
  border: 1px solid var(--line); background: var(--bg);
  border-radius: 10px;
  padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer; font-size: 11px; color: var(--muted);
  transition: all 0.15s;
}
.network:hover { border-color: var(--line-2); }
.network.active {
  border-color: var(--emerald);
  background: var(--emerald-soft);
  color: var(--emerald);
}
.network-logo {
  width: 36px; height: 24px; border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: #fff; letter-spacing: -0.02em;
}

.plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.plan {
  border: 1px solid var(--line); background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px; text-align: left;
  cursor: pointer; font-size: 12px;
  transition: all 0.15s;
}
.plan b { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.plan span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.plan.active { border-color: var(--emerald); background: var(--emerald-soft); }
.plan.active b { color: var(--emerald); }

.summary {
  margin-top: 4px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--ink); color: var(--bg);
  border-radius: 14px;
}
.summary .left .lbl { font-size: 11px; opacity: 0.6; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.summary .left .amt { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.summary .left .amt small { font-size: 13px; opacity: 0.55; margin-left: 4px; font-family: var(--font-mono); font-weight: 400; }
.summary .btn-primary { background: var(--emerald); height: 44px; }
[data-theme="dark"] .summary { background: var(--card); border: 1px solid var(--line-2); }

/* ---------- Stats strip ---------- */
.stats {
  margin-top: 76px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.stat {
  background: var(--bg);
  padding: 22px 24px;
}
.stat .num { font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.stat .num em { font-style: normal; color: var(--emerald); }
.stat .lbl { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- Section common ---------- */
section.block { padding: 96px 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 32px; flex-wrap: wrap; }
.section-head .left { max-width: 640px; }
.section-tag {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--emerald); display: inline-flex; align-items: center; gap: 8px;
}
.section-tag::before { content: ""; width: 18px; height: 1px; background: var(--emerald); }
h2.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.03em; line-height: 1.02;
  margin: 12px 0 14px; text-wrap: balance;
}
h2.section-title em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: var(--emerald); }
.section-head p { color: var(--ink-2); font-size: 17px; max-width: 520px; text-wrap: pretty; }

/* ---------- Services grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.svc {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 240px;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.svc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.svc-icon svg { width: 22px; height: 22px; }
.svc h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.svc p { color: var(--muted); font-size: 14.5px; margin: 0; }
.svc .meta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.svc .meta .arrow { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all 0.15s; }
.svc:hover .meta .arrow { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: rotate(-45deg); }

.svc.lg { grid-column: span 6; }
.svc.md { grid-column: span 4; }
.svc.sm { grid-column: span 3; }
.svc.featured {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
}
.svc.featured .svc-icon { background: rgba(255,255,255,0.14); color: #fff; }
.svc.featured p { color: rgba(255,255,255,0.7); }
.svc.featured .meta { color: rgba(255,255,255,0.6); }
.svc.featured .meta .arrow { border-color: rgba(255,255,255,0.3); }
.svc.featured::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}

/* ---------- How it works ---------- */
.how {
  background: var(--ink); color: var(--bg);
  border-radius: 32px;
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: ""; position: absolute; inset: auto -10% -40% -10%;
  height: 60%;
  background: radial-gradient(ellipse at center, color-mix(in oklab, var(--emerald) 80%, transparent), transparent 60%);
  opacity: 0.4; filter: blur(40px);
}
.how .section-tag { color: var(--gold); }
.how .section-tag::before { background: var(--gold); }
.how h2.section-title { color: var(--bg); }
.how h2.section-title em { color: var(--gold); }
.how p { color: rgba(246, 243, 235, 0.7); }
.how .steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px;
  position: relative; z-index: 1;
}
.step { display: flex; flex-direction: column; gap: 14px; }
.step .num {
  font-family: var(--font-display); font-size: 64px; font-weight: 500;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--gold);
  display: flex; align-items: baseline; gap: 8px;
}
.step .num small { font-family: var(--font-mono); font-size: 12px; color: rgba(246, 243, 235, 0.5); font-weight: 400; letter-spacing: 0.1em; }
.step h4 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0; letter-spacing: -0.02em; }
.step p { color: rgba(246, 243, 235, 0.65); font-size: 15px; margin: 0; max-width: 320px; }

/* ---------- Why / features ---------- */
.feats { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.feats-list { display: flex; flex-direction: column; }
.feat {
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 20px; align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.feat:first-child { padding-top: 0; }
.feat:last-child { border-bottom: 0; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-2); }
.feat .ic svg { width: 22px; height: 22px; }
.feat h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.feat p { color: var(--muted); margin: 4px 0 0; font-size: 14.5px; }
.feat .pct { font-family: var(--font-mono); font-size: 13px; color: var(--emerald); font-weight: 500; }
.feat:hover .ic { background: var(--emerald-soft); color: var(--emerald); }

.feats-card {
  position: sticky; top: 96px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.feats-card .hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.feats-card .hdr b { font-family: var(--font-display); font-size: 17px; }
.feats-card .hdr span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.txn {
  display: grid; grid-template-columns: 36px 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}
.txn .av { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; color: var(--emerald); }
.txn .av svg { width: 16px; height: 16px; }
.txn .ttl { font-weight: 500; }
.txn .sub { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.txn .amt { font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.txn .status { font-size: 10px; color: var(--emerald); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); }

/* ---------- Reseller ---------- */
.reseller {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.reseller h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); margin: 14px 0 16px; letter-spacing: -0.025em; font-weight: 600; line-height: 1.05; }
.reseller h3 em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: var(--emerald); }
.reseller p { color: var(--ink-2); font-size: 16px; }
.reseller-checklist { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.reseller-checklist li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.reseller-checklist li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--emerald); flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6L5 8.5L9.5 4' stroke='white' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.reseller-visual {
  background: linear-gradient(140deg, var(--emerald), var(--ink));
  border-radius: var(--radius);
  padding: 28px;
  color: var(--bg);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.reseller-visual::before {
  content: ""; position: absolute; inset: -50% -50% auto auto;
  width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--gold-soft), transparent 60%);
  opacity: 0.2;
}
.rv-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.12em; }
.rv-bal { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; margin: 20px 0 6px; }
.rv-bal small { font-family: var(--font-mono); font-size: 14px; opacity: 0.6; font-weight: 400; }
.rv-delta { color: var(--gold); font-family: var(--font-mono); font-size: 13px; }
.rv-chart {
  height: 80px;
  margin-top: 20px;
  position: relative;
}
.rv-chart svg { width: 100%; height: 100%; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.t-card .stars { display: flex; gap: 2px; color: var(--gold); }
.t-card blockquote { font-family: var(--font-display); font-size: 18px; line-height: 1.4; margin: 0; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.t-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.t-card .who .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--emerald)); }
.t-card .who b { font-size: 14px; font-weight: 600; }
.t-card .who span { font-size: 12px; color: var(--muted); display: block; font-family: var(--font-mono); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; cursor: pointer; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q h4 { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.faq-q .toggle {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; flex-shrink: 0;
  transition: all 0.2s;
}
.faq-item.open .toggle { background: var(--emerald); border-color: var(--emerald); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease, margin 0.25s ease;
  color: var(--ink-2); font-size: 15px;
}
.faq-item.open .faq-a { max-height: 240px; margin-top: 12px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--emerald);
  color: #fff;
  border-radius: 32px;
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold), transparent 60%);
  opacity: 0.18; filter: blur(20px);
}
.cta::before { left: -80px; top: -80px; }
.cta::after { right: -80px; bottom: -80px; }
.cta .inner { position: relative; z-index: 1; }
.cta h2 { font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.035em; font-weight: 600; margin: 0 0 18px; line-height: 1; text-wrap: balance; }
.cta h2 em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: var(--gold); }
.cta p { font-size: 18px; opacity: 0.78; max-width: 540px; margin: 0 auto 32px; text-wrap: pretty; }
.cta .cta-row { justify-content: center; }
.cta .btn-primary { background: #fff; color: var(--emerald); }
.cta .btn-primary:hover { background: var(--bg); }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ---------- Footer ---------- */
footer { padding: 72px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; }
.foot-grid h5 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-grid ul a:hover { color: var(--emerald); }
.foot-grid .about p { color: var(--muted); font-size: 14px; max-width: 320px; margin: 18px 0 0; }
.foot-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .feats, .reseller, .faq, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .stats, .testimonials, .how .steps { grid-template-columns: repeat(2, 1fr); }
  .svc.lg, .svc.md, .svc.sm { grid-column: span 6; }
  .how, .cta, .reseller { padding: 48px 28px; }
  .foot-grid { gap: 32px; }
  .nav-links { display: none; }
  section.block { padding: 64px 0; }
}
@media (max-width: 560px) {
  .stats, .testimonials, .how .steps { grid-template-columns: 1fr; }
  .svc.lg, .svc.md, .svc.sm { grid-column: span 12; }
  .tabs { grid-template-columns: repeat(5, 1fr); padding: 6px; }
  .tab { font-size: 10px; }
  .notice .links { display: none; }
  .wrap { padding: 0 18px; }
}

/* ---------- Config-driven additions ---------- */
.brand img.brand-logo { height: 32px; width: auto; display: block; border-radius: 8px; }
.foot-grid .about .brand img.brand-logo { height: 30px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer;
}
.theme-toggle:hover { background: var(--bg-2); }
.theme-toggle svg { width: 18px; height: 18px; }
[hidden] { display: none !important; }

/* Footer social icons */
.foot-social { display: flex; gap: 12px; margin-top: 20px; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--ink-2);
  display: grid; place-items: center; transition: background .15s, color .15s;
}
.foot-social a:hover { background: var(--bg-2); color: var(--ink); }
.foot-social svg { width: 18px; height: 18px; }

