/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Dark theme (Aegean) — default */
:root {
  --bg:           #0c1222;
  --bg2:          #0f1729;
  --surface:      #131d32;
  --surface2:     #17233a;
  --border:       #1e2d4a;
  --border2:      #253756;
  --text:         #e8ecf4;
  --muted:        #7b8ba5;
  --muted2:       #556680;
  --primary:      #0ea5e9;
  --primary-h:    #38bdf8;
  --primary-dim:  rgba(14,165,233,0.12);
  --primary-glow: rgba(14,165,233,0.3);
  --primary-border: rgba(14,165,233,0.25);
  --primary-subtle: rgba(14,165,233,0.1);
  --success:      #22c55e;
  --warning:      #f59e0b;
  --danger:       #ef4444;
  --info:         #38bdf8;
  --radius:       10px;
  --radius-lg:    16px;
}

/* Light theme (Greek White + Azure) */
[data-theme="light"] {
  --bg:           #ffffff;
  --bg2:          #f8fafc;
  --surface:      #f1f5f9;
  --surface2:     #e8eef4;
  --border:       #dce4ed;
  --border2:      #cbd5e1;
  --text:         #0f172a;
  --muted:        #64748b;
  --muted2:       #94a3b8;
  --primary:      #0284c7;
  --primary-h:    #0369a1;
  --primary-dim:  rgba(2,132,199,0.08);
  --primary-glow: rgba(2,132,199,0.2);
  --primary-border: rgba(2,132,199,0.2);
  --primary-subtle: rgba(2,132,199,0.08);
  --success:      #16a34a;
  --warning:      #d97706;
  --danger:       #dc2626;
  --info:         #0284c7;
}

/* ─── Theme toggle ─── */
.theme-toggle {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
  color: var(--text);
}
.theme-toggle:hover { background: var(--surface2); transform: scale(1.08); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-h); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ─── Typography ─── */
h1, h2, h3, .nav-logo, .footer-brand h3, .pricing-price .amount, .stat-item .stat-val {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--primary-h) 0%, var(--primary) 40%, var(--primary-h) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.18s;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 0 24px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-h); color: #fff;
  box-shadow: 0 0 36px var(--primary-glow);
  transform: translateY(-1px);
}
[data-theme="light"] .btn-primary:hover { color: #fff; }
[data-theme="light"] .btn-ghost { color: var(--text); }
[data-theme="light"] .nav { background: rgba(255,255,255,0.85); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
}
.btn-ghost:hover {
  background: var(--surface2); color: var(--text);
  border-color: var(--border2);
  transform: translateY(-1px);
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ─── Nav ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10,12,18,0.85);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
}
.nav-inner {
  display: flex; align-items: center; gap: 0;
  height: 64px; max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; color: var(--text);
  letter-spacing: -0.02em; margin-right: 40px;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo .logo-text span { color: var(--primary); }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  padding: 6px 14px; border-radius: 6px; font-size: 14px; font-weight: 500;
  color: var(--muted); transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-signin { font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-signin:hover { color: var(--text); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ─── Hero ─── */
.hero {
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 10px; border-radius: 99px;
  background: var(--primary-dim); border: 1px solid var(--primary-border);
  font-size: 13px; font-weight: 500; color: var(--primary-h);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-content { text-align: center; max-width: 780px; margin: 0 auto; }
.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--muted);
  max-width: 580px; margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

/* ─── Code Block ─── */
.code-window {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); overflow: hidden;
  max-width: 760px; margin: 0 auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--primary-subtle);
}
.code-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.code-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-dot.red    { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green  { background: #28c840; }
.code-filename { font-size: 12px; color: var(--muted); margin-left: 8px; font-family: monospace; }
.code-tabs {
  display: flex; border-bottom: 1px solid var(--border);
}
.code-tab {
  padding: 8px 20px; font-size: 12px; font-weight: 500; cursor: pointer;
  color: var(--muted); border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.code-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
pre {
  padding: 24px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13.5px; line-height: 1.8;
  overflow-x: auto;
  tab-size: 2;
}
.code-panel { display: none; }
.code-panel.active { display: block; }
.tok-k  { color: #818cf8; } /* keyword */
.tok-s  { color: #86efac; } /* string */
.tok-c  { color: #71717a; } /* comment */
.tok-n  { color: #e4e4e7; } /* name */
.tok-p  { color: #a78bfa; } /* property */
.tok-m  { color: #fb923c; } /* number */
.tok-f  { color: #38bdf8; } /* function */
.tok-t  { color: #f472b6; } /* type */

/* ─── Logo bar ─── */
.logo-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 48px;
  flex-wrap: wrap;
}
.logo-bar-label { font-size: 12px; color: var(--muted2); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.logo-bar-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.logo-bar-logos span {
  font-size: 15px; font-weight: 700; color: var(--muted2); letter-spacing: -0.02em;
  opacity: 0.7;
}

/* ─── Stats ─── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--bg2); padding: 32px 28px; text-align: center;
}
.stat-item .stat-val {
  font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text), var(--primary-h));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item .stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ─── Section Labels ─── */
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { font-size: 1.1rem; max-width: 540px; margin: 16px auto 0; }

/* ─── Features ─── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.feature-card {
  background: var(--bg2); padding: 32px;
  transition: background 0.2s;
  position: relative;
}
.feature-card:hover { background: var(--surface); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-dim); border: 1px solid var(--primary-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin-bottom: 20px; flex-shrink: 0;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.feature-card p { font-size: 14px; line-height: 1.7; }

/* ─── How it works ─── */
.how-it-works { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hiw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hiw-steps { display: flex; flex-direction: column; gap: 32px; }
.hiw-step { display: flex; gap: 20px; }
.hiw-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-dim); border: 1px solid var(--primary-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--primary); flex-shrink: 0; margin-top: 2px;
}
.hiw-step-body h3 { margin-bottom: 6px; }
.hiw-step-body p { font-size: 14px; }
.hiw-visual {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 28px;
}
.flow-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  margin-bottom: 10px; font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.flow-item:hover { border-color: var(--primary-border); background: var(--primary-dim); }
.flow-item:last-child { margin-bottom: 0; }
.flow-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.flow-dot.green  { background: var(--success); box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.flow-dot.indigo { background: var(--primary); box-shadow: 0 0 8px var(--primary-glow); }
.flow-dot.amber  { background: var(--warning); box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.flow-arrow {
  text-align: center; color: var(--border2); font-size: 18px; margin: 4px 0;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-visual { display: none; }
}

/* ─── Deliverability ─── */
.deliv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.deliv-card {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 24px;
}
.deliv-card-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary); background: var(--primary-dim);
  padding: 3px 8px; border-radius: 4px; margin-bottom: 14px;
}
.deliv-card h3 { margin-bottom: 8px; }
.deliv-card p  { font-size: 13.5px; }

/* ─── API section ─── */
.api-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.api-endpoints { display: flex; flex-direction: column; gap: 10px; }
.endpoint-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  font-family: monospace; font-size: 13px;
}
.method {
  font-weight: 700; font-size: 11px; padding: 2px 7px;
  border-radius: 4px; flex-shrink: 0;
}
.method.post   { background: var(--primary-dim); color: var(--primary-h); }
.method.get    { background: rgba(34,197,94,0.12);  color: #4ade80; }
.method.delete { background: rgba(239,68,68,0.12);  color: #f87171; }
.endpoint-path { color: var(--text); }
.endpoint-desc { color: var(--muted); font-size: 12px; margin-left: auto; font-family: sans-serif; white-space: nowrap; }

@media (max-width: 900px) {
  .api-grid { grid-template-columns: 1fr; }
  .endpoint-desc { display: none; }
}

/* ─── Pricing ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; align-items: start;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 0;
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.pricing-card.featured {
  border-color: var(--primary-border);
  box-shadow: 0 0 0 1px var(--primary-subtle), 0 20px 60px var(--primary-dim);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 12px; border-radius: 99px;
  white-space: nowrap;
}
.pricing-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.pricing-price { margin-bottom: 6px; }
.pricing-price .amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); }
.pricing-price .per    { font-size: 14px; color: var(--muted); }
.pricing-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.pricing-volume { font-size: 14px; color: var(--text); font-weight: 600; margin-bottom: 20px; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.pricing-feature {
  display: flex; align-items: start; gap: 10px; font-size: 14px; color: var(--text);
}
.pricing-feature .check { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.pricing-feature .cross { color: var(--muted2); flex-shrink: 0; margin-top: 2px; }
.pricing-cta { margin-top: auto; }

/* ─── Testimonials ─── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 28px;
}
.testimonial-card p { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary-dim); border: 1px solid var(--primary-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--primary);
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; }
.author-role { font-size: 12px; color: var(--muted); }

/* ─── FAQ ─── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 15px;
  color: var(--text); transition: color 0.15s;
  list-style: none;
}
.faq-q:hover { color: var(--primary-h); }
.faq-q .faq-icon { color: var(--muted); flex-shrink: 0; transition: transform 0.2s; }
details[open] .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { padding-bottom: 20px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.faq-a code {
  background: var(--surface2); border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 4px; font-family: monospace; font-size: 13px;
  color: var(--primary-h);
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dim) 0%, transparent 100%);
  border: 1px solid var(--primary-dim); border-radius: var(--radius-lg);
  padding: 64px 40px; text-align: center;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p  { max-width: 480px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-banner .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border); padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.footer-brand h3 span { color: var(--primary); }
.footer-brand p { font-size: 13.5px; max-width: 240px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted2); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--muted); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--muted); }
.footer-bottom-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

/* ─── Misc ─── */
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.tech-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border2);
  font-size: 12px; font-weight: 500; color: var(--muted);
}
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-green  { background: var(--success); }
.dot-indigo { background: var(--primary); }
.dot-amber  { background: var(--warning); }

.pill {
  display: inline-block; padding: 2px 8px; border-radius: 99px;
  font-size: 12px; font-weight: 600;
}
.pill-green { background: rgba(34,197,94,0.12); color: var(--success); }

/* ─── Inline code & code blocks ─── */
.inline-code {
  background: var(--surface2); border: 1px solid var(--border);
  padding: 1px 5px; border-radius: 4px; font-family: monospace;
  font-size: 12px; color: var(--primary-h);
}
.code-block {
  display: block; background: var(--surface2); border: 1px solid var(--border2);
  padding: 12px 16px; border-radius: 8px; font-family: monospace;
  font-size: 14px; color: var(--primary-h);
}

/* ─── Pricing extras ─── */
.btn-full { width: 100%; justify-content: center; }
.pricing-overage-note { text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted2); }

/* ─── Section variants ─── */
.section-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 96px 0; }
.section-cta { padding: 64px 0; }

/* ─── Flow item success state ─── */
.flow-item--success { border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.06); }

/* ─── Legal pages (terms, privacy, security) ─── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 80px 24px 120px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal-page .legal-meta { color: var(--muted2); font-size: 14px; margin-bottom: 56px; }
.legal-page h2 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 40px 0 10px; }
.legal-page p  { color: var(--muted); margin-bottom: 14px; font-size: 15px; line-height: 1.75; }
.legal-page ul { padding-left: 20px; margin-bottom: 14px; }
.legal-page ul li { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 4px; }
.legal-page a  { color: var(--primary); }
.legal-page strong { color: var(--text); font-weight: 600; }
.legal-page hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.legal-page .legal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-dim); border: 1px solid var(--primary-border);
  color: var(--primary-h); font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 20px;
}

/* ─── Scroll fade-in ─── */
.scroll-fade {
  opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s;
}
.scroll-fade.visible { opacity: 1; transform: translateY(0); }
