/* ============================================================
   Elite8K — Shared Design System
   Used by the static HTML site AND the WordPress blog theme.
   Edit once, both environments stay identical.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (from brief) */
  --bg:            #070A12;
  --bg-2:          #0A0F1C;
  --card:          #111827;
  --card-2:        #0E1626;
  --primary:       #4F8EF7;
  --accent:        #8B5CF6;
  --success:       #10B981;
  --text:          #FFFFFF;
  --muted:         #9CA3AF;

  /* Derived tokens */
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.14);
  --glass:         rgba(17, 24, 39, 0.55);
  --glass-2:       rgba(14, 22, 38, 0.65);
  --grad:          linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --grad-soft:     linear-gradient(135deg, rgba(79,142,247,.16), rgba(139,92,246,.16));
  --glow-primary:  0 0 0 1px rgba(79,142,247,.30), 0 18px 50px -12px rgba(79,142,247,.45);
  --shadow-card:   0 24px 60px -28px rgba(0,0,0,.85);

  /* Type */
  --font-display: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Fluid type scale */
  --fs-hero:  clamp(2.6rem, 6vw + 1rem, 5rem);
  --fs-h2:    clamp(1.9rem, 3vw + 1rem, 3rem);
  --fs-h3:    clamp(1.25rem, 1.4vw + .6rem, 1.6rem);
  --fs-lead:  clamp(1.05rem, 1vw + .6rem, 1.3rem);

  /* Spacing / layout */
  --container: 1180px;
  --radius:    20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --gap:       clamp(1rem, 2vw, 1.6rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background field — the "aurora" signature */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 78% -5%, rgba(79,142,247,.16), transparent 60%),
    radial-gradient(55% 45% at 8% 8%, rgba(139,92,246,.14), transparent 60%),
    radial-gradient(50% 40% at 50% 110%, rgba(16,185,129,.07), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

::selection { background: rgba(79,142,247,.35); color: #fff; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--card); color: #fff; padding: .7rem 1rem;
  border-radius: 10px; z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--section-y); position: relative; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary);
  padding: .42rem .85rem; border-radius: var(--radius-pill);
  background: var(--grad-soft); border: 1px solid var(--line);
}
.section-head { max-width: 640px; margin-inline: auto; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin-top: 1rem; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .85rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -14px rgba(79,142,247,.7); }
.btn-primary:hover { box-shadow: 0 20px 44px -14px rgba(79,142,247,.85); }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-lg { --pad-y: 1.05rem; --pad-x: 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Glass card primitive ---------- */
.card {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
/* gradient hairline border on hover — the glass signature */
.card.is-interactive:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-card), var(--glow-primary);
}

/* ============================================================
   HEADER / NAV  (shared HTML + WP)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,10,18,.55);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(7,10,18,.82); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand .mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand b { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: .95rem;
  padding: .55rem .8rem; border-radius: 10px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.05); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(-1.5px); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.6rem;
    background: rgba(7,10,18,.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-cta .btn-ghost { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: var(--section-y); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--fs-hero); }
.hero .lead { color: var(--muted); font-size: var(--fs-lead); margin-top: 1.4rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; color: var(--muted); font-size: .9rem; }
.hero-trust b { color: #fff; font-family: var(--font-display); }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }

/* Quality ladder visual (hero signature) */
.quality-stage { position: relative; }
.quality-card {
  border-radius: var(--radius);
  background: var(--glass-2);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.quality-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(79,142,247,.5), rgba(139,92,246,.3), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.quality-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.live-dot { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--success); }
.live-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.55);} 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0);} 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0);} }
.ladder { display: grid; gap: .65rem; }
.ladder-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: .9rem; }
.ladder-row .tag { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--muted); }
.ladder-row.is-top .tag { color: #fff; }
.bar { height: 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.06); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; animation: grow 1.4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(.05); } }
.ladder-row .pct { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .82rem; }
.ladder-row.is-top .pct { color: var(--success); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quality-stage { order: -1; max-width: 460px; }
}

/* ============================================================
   LOGO / TRUST STRIP
   ============================================================ */
.strip { border-block: 1px solid var(--line); }
.strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.6rem; padding-block: 1.6rem; }
.strip span { color: var(--muted); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-display); }
.strip .logos { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; align-items: center; opacity: .8; }
.strip .logos b { font-family: var(--font-display); font-weight: 600; color: #cbd5e1; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.feature .ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--grad-soft); border: 1px solid var(--line);
  color: var(--primary);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .97rem; }

/* ============================================================
   "WHY" SPLIT + STAT BLOCKS
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.checklist { display: grid; gap: 1rem; margin-top: 1.6rem; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; color: var(--muted); }
.checklist b { color: #fff; font-family: var(--font-display); display: block; }
.checklist .chk { width: 26px; height: 26px; border-radius: 8px; background: rgba(16,185,129,.14); color: var(--success); display: grid; place-items: center; }
.checklist .chk svg { width: 15px; height: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.6rem 1rem; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); }
.stat .lbl { color: var(--muted); font-size: .9rem; margin-top: .3rem; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan { display: flex; flex-direction: column; }
.plan.is-featured { border-color: transparent; box-shadow: var(--shadow-card), var(--glow-primary); }
.plan.is-featured::before {
  content: "Most popular"; position: absolute; top: -1px; right: 1.4rem; transform: translateY(-50%);
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  padding: .35rem .8rem; border-radius: var(--radius-pill); font-family: var(--font-display);
}
.plan h3 { font-size: 1.2rem; }
.plan .price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem,4vw,2.8rem); margin: .8rem 0 .2rem; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan .per { color: var(--muted); font-size: .9rem; }
.plan ul.feats { display: grid; gap: .7rem; margin: 1.4rem 0; }
.plan ul.feats li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; color: var(--muted); font-size: .95rem; }
.plan ul.feats svg { width: 18px; height: 18px; color: var(--success); margin-top: 3px; }
.plan .btn { margin-top: auto; }

.billing-toggle { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: var(--radius-pill); background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-top: 1.4rem; }
.billing-toggle button { padding: .5rem 1.1rem; border-radius: var(--radius-pill); border: 0; background: transparent; color: var(--muted); font-weight: 600; font-family: var(--font-display); transition: all .25s var(--ease); }
.billing-toggle button[aria-pressed="true"] { background: var(--grad); color: #fff; }

/* ============================================================
   DEVICES
   ============================================================ */
.device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 980px) { .device-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .device-grid { grid-template-columns: repeat(2, 1fr); } }
.device { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; text-align: left; }
.device .ico { width: 46px; height: 46px; color: var(--primary); }
.device h3 { font-size: 1.05rem; }
.device p { color: var(--muted); font-size: .88rem; }
.device .go { margin-top: auto; color: var(--primary); font-weight: 600; font-size: .9rem; font-family: var(--font-display); display: inline-flex; align-items: center; gap: .4rem; }

/* ============================================================
   HOW IT WORKS (real 3-step sequence => numbered is appropriate)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 1rem; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 1.1rem; }
.step h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.step p { color: var(--muted); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr; } }
.review .stars { display: flex; gap: 3px; color: #FACC15; margin-bottom: .9rem; }
.review .stars svg { width: 18px; height: 18px; }
.review p { color: #e5e7eb; font-size: 1rem; }
.review .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; }
.review .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.review .who b { display: block; font-size: .95rem; }
.review .who span { color: var(--muted); font-size: .82rem; }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; background: transparent; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.faq-q .ic { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; transition: transform .3s var(--ease); color: var(--primary); }
.faq-item[open] .faq-q .ic { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq-q::-webkit-details-marker { display: none; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-band { position: relative; border-radius: var(--radius); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; overflow: hidden; background: var(--card-2); border: 1px solid var(--line-strong); }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(50% 60% at 50% 0%, rgba(79,142,247,.35), transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: var(--fs-h2); position: relative; }
.cta-band p { color: var(--muted); font-size: var(--fs-lead); margin: 1rem auto 2rem; max-width: 52ch; position: relative; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================================
   FOOTER (shared HTML + WP)
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); margin-top: var(--section-y); background: rgba(10,15,28,.5); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem; padding-block: clamp(3rem, 5vw, 4.5rem) 2.4rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 34ch; font-size: .95rem; }
.footer-col h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); margin-bottom: 1rem; }
.footer-col a { display: block; color: #cbd5e1; padding: .35rem 0; font-size: .95rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-block: 1.6rem 2.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-bottom .socials { display: flex; gap: .6rem; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: #cbd5e1; transition: all .25s var(--ease); }
.footer-bottom .socials a:hover { color: #fff; border-color: var(--primary); transform: translateY(-2px); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs { padding-top: 1.6rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: var(--muted); font-size: .85rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding-block: clamp(2.4rem, 5vw, 4rem) clamp(1rem, 2vw, 2rem); text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { color: var(--muted); font-size: var(--fs-lead); max-width: 60ch; margin: 1.2rem auto 0; }

/* ============================================================
   PROSE (legal pages + blog content)
   ============================================================ */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.4rem; margin-bottom: .8rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8rem; margin-bottom: .6rem; }
.prose p, .prose li { color: #cbd5e1; }
.prose p { margin-bottom: 1rem; }
.prose ul { display: grid; gap: .5rem; margin: 0 0 1.4rem; padding-left: 1.2rem; list-style: disc; }
.prose ul li::marker { color: var(--primary); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }

/* ============================================================
   FORMS (contact / free trial)
   ============================================================ */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .9rem; font-weight: 600; font-family: var(--font-display); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; color: #fff; font: inherit;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #6b7280; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,142,247,.18); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { color: var(--muted); font-size: .85rem; }

/* ============================================================
   BLOG (WordPress) cards & posts
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .thumb { aspect-ratio: 16/9; background: var(--grad-soft); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-card .cat { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); font-family: var(--font-display); font-weight: 600; }
.post-card h3 { font-size: 1.15rem; }
.post-card h3 a:hover { color: var(--primary); }
.post-card .excerpt { color: var(--muted); font-size: .92rem; flex: 1; }
.post-card .meta { color: var(--muted); font-size: .82rem; display: flex; gap: .8rem; margin-top: .4rem; }

.post-categories { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.post-categories a { padding: .5rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--muted); font-size: .88rem; font-family: var(--font-display); font-weight: 600; transition: all .2s var(--ease); }
.post-categories a:hover, .post-categories a.active { color: #fff; background: var(--grad-soft); border-color: var(--primary); }

.single-post { max-width: 760px; margin-inline: auto; }
.single-post .post-meta { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.single-post .featured { border-radius: var(--radius); overflow: hidden; margin: 2rem 0; border: 1px solid var(--line); }

.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.6rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .6rem .95rem; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-family: var(--font-display); font-weight: 600; }
.pagination .current { background: var(--grad); color: #fff; border-color: transparent; }
.pagination a:hover { color: #fff; border-color: var(--primary); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.hide { display: none !important; }
