/* ============================================================
   Fog Engine — Unified design system
   Light SaaS aesthetic (Stripe / Linear / Vercel direction)
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   TOKENS
   ───────────────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg:           #f5f7fb;
  --bg-soft:      #eef2f8;
  --card:         #ffffff;

  /* Brand */
  --primary:        #2563eb;
  --primary-hover:  #1d4ed8;
  --primary-soft:   #dbeafe;
  --primary-tint:   #eff6ff;

  /* Text */
  --text:         #0f172a;
  --text-soft:    #334155;
  --muted:        #64748b;
  --muted-soft:   #94a3b8;

  /* Lines */
  --border:       #e2e8f0;
  --border-soft:  #eef2f7;
  --border-strong:#cbd5e1;

  /* Semantic */
  --success:      #16a34a;
  --success-soft: #dcfce7;
  --warning:      #d97706;
  --warning-soft: #fef3c7;
  --danger:       #dc2626;
  --danger-soft:  #fee2e2;

  /* Radius */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  24px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 1px rgba(15,23,42,.03);
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.08), 0 4px 12px rgba(15,23,42,.04);
  --shadow-xl: 0 24px 56px rgba(15,23,42,.10), 0 8px 16px rgba(15,23,42,.04);
  --shadow-focus: 0 0 0 4px rgba(37,99,235,.18);

  /* Motion */
  --ease:   cubic-bezier(.2,.7,.3,1);
  --t-fast: .15s;
  --t-base: .22s;
  --t-slow: .35s;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1280px;
  --content:   1180px;
  --pad-x:     14px;
  --section-y: 72px;
  --section-y-tablet: 48px;
  --section-y-mobile: 32px;
  --card-gap:  24px;
  --card-r:    24px;
}

/* ─────────────────────────────────────────────────────────────
   RESET
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
:focus-visible { outline: 0; box-shadow: var(--shadow-focus); border-radius: 6px; }

/* ─────────────────────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
@media (min-width: 720px)  { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .6) 0; }
.section--soft  { background: var(--bg-soft); }
@media (max-width: 960px) {
  :root { --section-y: var(--section-y-tablet); }
}
@media (max-width: 720px) {
  :root { --section-y: var(--section-y-mobile); }
}

/* ─────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.h1 {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.04;
  color: var(--text);
}
.h2 {
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--text);
}
.h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 60ch;
}
.text-muted { color: var(--muted); }
.text-soft  { color: var(--text-soft); }
.text-center{ text-align: center; }
.mx-auto    { margin-inline: auto; }

/* ─────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 4px 14px rgba(37,99,235,.22);
}
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost {
  background: var(--card);
  color: var(--primary);
  border-color: var(--primary-soft);
}
.btn--ghost:hover { background: var(--primary-tint); border-color: var(--primary); }
.btn--quiet { background: transparent; color: var(--text-soft); }
.btn--quiet:hover { color: var(--text); background: var(--bg-soft); }
.btn--lg { padding: 14px 26px; font-size: 15.5px; }
.btn--sm { padding: 8px 14px; font-size: 13.5px; }
.btn .arrow { transition: transform var(--t-base) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ─────────────────────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  transition: height var(--t-slow) var(--ease);
}
.nav.scrolled .nav__inner { height: 52px; }
.nav.scrolled { box-shadow: 0 4px 18px rgba(15,23,42,.06); }
.nav__links a.active { color: var(--primary); background: var(--primary-tint); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -.01em;
}
.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 14px rgba(37,99,235,.22);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__links a:hover { color: var(--text); background: var(--bg-soft); }
.nav__cta { display: flex; align-items: center; gap: 8px; }

.tg-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.tg-chip:hover { background: var(--primary-tint); border-color: var(--primary); }
.tg-chip svg { width: 14px; height: 14px; }

.nav__burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
}
.nav__burger svg { width: 18px; height: 18px; }

@media (max-width: 960px) { .nav__links { display: none; } }
@media (max-width: 720px) {
  .nav__cta .tg-chip { display: none; }
  .nav__burger { display: inline-flex; }
}

.nav__drawer {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: #fff;
  padding: 12px var(--pad-x) 18px;
}
.nav__drawer.open { display: block; }
.nav__drawer a {
  display: block;
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 10px;
}
.nav__drawer a:hover { background: var(--bg-soft); color: var(--text); }
.nav__drawer .tg-chip { width: 100%; justify-content: center; margin-top: 8px; }

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 60px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, var(--primary-tint), transparent 70%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero { padding: 44px 0 36px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero__pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22,163,74,.16);
  animation: hero-dot 2.4s ease-in-out infinite;
}
@keyframes hero-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22,163,74,.16); }
  50%      { box-shadow: 0 0 0 8px rgba(22,163,74,.04); }
}
.hero__sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 52ch;
}
.hero__typing {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  min-height: 42px;
  max-width: 100%;
}
.hero__typing .label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-soft);
  padding-right: 12px;
  border-right: 1px solid var(--border);
}
.hero__typing .stream {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  min-width: 14ch;
}
.typed-cursor { color: var(--primary); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.hero__trust-item .v {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}
.hero__trust-item .l {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 2px;
}

/* Hero visual */
.hero__visual { position: relative; perspective: 1400px; }
.hero__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  padding: 18px;
  display: grid;
  gap: 14px;
  transform: rotate(.4deg);
  position: relative;
}
.hero__panel::before {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(37,99,235,.18), transparent 60%);
  z-index: -1;
  filter: blur(28px);
}
.hero__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 12px;
  border-bottom: 1px solid var(--border-soft);
}
.hero__panel-head .dot { width: 9px; height: 9px; border-radius: 50%; }
.hero__panel-head .dot.r { background: #fb7185; }
.hero__panel-head .dot.y { background: #fcd34d; }
.hero__panel-head .dot.g { background: #34d399; }
.hero__panel-head .addr {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
}
.hero__panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hero__stat {
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
}
.hero__stat .label {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero__stat .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  margin-top: 2px;
}
.hero__stat .value.ok    { color: var(--success); }
.hero__stat .value.blue  { color: var(--primary); }

.hero__rows { display: grid; gap: 8px; }
.hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  background: #fff;
  font-size: 13px;
}
.hero__row .k {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  color: var(--text-soft);
}
.hero__row .badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--success-soft);
  color: var(--success);
}
.hero__row .badge.blue  { background: var(--primary-tint); color: var(--primary); }
.hero__row .badge.amber { background: var(--warning-soft); color: var(--warning); }

@media (max-width: 720px) { .hero__visual { display: none; } }

/* ─────────────────────────────────────────────────────────────
   FEATURES
   ───────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--card-gap);
  max-width: 1280px;
  margin: 48px auto 0;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--card-r);
  padding: 28px;
  display: grid;
  gap: 12px;
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.feature:hover {
  border-color: var(--primary-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature__icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--primary-tint);
  color: var(--primary);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature__icon.green  { background: var(--success-soft); color: var(--success); }
.feature__icon.amber  { background: var(--warning-soft); color: var(--warning); }
.feature__icon.violet { background: #ede9fe; color: #7c3aed; }
.feature__icon.rose   { background: #fee2e2; color: #db2777; }
.feature__icon.teal   { background: #ccfbf1; color: #0d9488; }
.feature__title { font-size: 15.5px; font-weight: 700; color: var(--text); }
.feature__desc  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────
   CATEGORIZED FEATURE SECTIONS
   Clean sections with centered header + responsive card grid.
   No widgets. No split layouts. No status cards.
   ───────────────────────────────────────────────────────────── */

/* One category block */
.feat-category {
  margin-top: 64px;
}
.feat-category:first-child { margin-top: 48px; }

/* Category header — centered */
.feat-category__head {
  text-align: center;
  margin-bottom: 28px;
}
.feat-category__label {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: 10px;
}
.feat-category__label--green  { background: var(--success-soft); color: var(--success); }
.feat-category__label--amber  { background: var(--warning-soft); color: var(--warning); }
.feat-category__label--rose   { background: #fee2e2; color: #be123c; }
.feat-category__label--violet { background: #ede9fe; color: #7c3aed; }

.feat-category__desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Card grid — centered, equal widths */
.feat-category__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

/* 3-column variant (compatibility, delivery) */
.feat-category__grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1040px;
}

/* ─────────────────────────────────────────────────────────────
   STEPPER
   ───────────────────────────────────────────────────────────── */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin-top: 48px;
  position: relative;
}
.stepper::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary), var(--primary-soft));
  opacity: .55;
  z-index: 0;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px 22px;
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.step__num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 6px;
  box-shadow: 0 0 0 6px var(--primary-tint);
}
.step__title { font-size: 16px; font-weight: 700; color: var(--text); }
.step__desc  { font-size: 14px; color: var(--muted); line-height: 1.6; }

@media (max-width: 720px) {
  .stepper { grid-template-columns: 1fr; gap: 14px; }
  .stepper::before { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   COMMUNITY
   ───────────────────────────────────────────────────────────── */
.community {
  background: linear-gradient(180deg, #fff 0%, var(--primary-tint) 100%);
  border: 1px solid var(--primary-soft);
  border-radius: var(--r-2xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
}
.community__copy h2 { margin-bottom: 10px; }
.community__copy p  { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.tg-grid { display: grid; gap: 12px; }
.tg-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.tg-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tg-card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #229ED9;
  color: #fff;
}
.tg-card__icon svg { width: 22px; height: 22px; }
.tg-card__copy strong {
  display: block;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 700;
}
.tg-card__copy span { font-size: 13px; color: var(--muted); }
.tg-card__arrow {
  margin-left: auto;
  color: var(--muted-soft);
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.tg-card:hover .tg-card__arrow { transform: translateX(4px); color: var(--primary); }

@media (max-width: 860px) {
  .community { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ─────────────────────────────────────────────────────────────
   PRICING
   ───────────────────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--card-gap);
  margin-top: 48px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 28px 24px;
  display: grid;
  gap: 14px;
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.plan:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-tint), var(--shadow-md);
  position: relative;
}
.plan--featured::after {
  content: 'Most popular';
  position: absolute;
  top: -10px; right: 22px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.plan__name { font-size: 15px; font-weight: 700; color: var(--text-soft); letter-spacing: -.01em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price .amt { font-size: 36px; font-weight: 800; letter-spacing: -.025em; color: var(--text); }
.plan__price .per { color: var(--muted); font-size: 14px; }
.plan__features { display: grid; gap: 10px; padding: 6px 0; }
.plan__features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--text-soft);
}
.plan__features li::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px;
  background: var(--success-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ─────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────── */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  max-width: 760px;
  margin-inline: auto;
}
.faq__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease);
}
.faq__item[open] { border-color: var(--primary-soft); }
.faq__item summary {
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--muted);
  font-weight: 400;
}
.faq__item[open] summary::after { content: '−'; }
.faq__body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   SECTION HEADER
   ───────────────────────────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 8px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { margin-inline: auto; margin-top: 12px; }

/* ─────────────────────────────────────────────────────────────
   CTA BLOCK
   ───────────────────────────────────────────────────────────── */
.cta-block {
  background: var(--text);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: 56px 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255,255,255,.7); max-width: 48ch; margin-top: 10px; }
.cta-block .btn--primary { background: #fff; color: var(--text); box-shadow: none; }
.cta-block .btn--primary:hover { background: #f8fafc; }
.cta-block .btn--ghost { background: transparent; border-color: rgba(255,255,255,.18); color: #fff; }
.cta-block .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

@media (max-width: 720px) { .cta-block { padding: 36px 24px; } }

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}
.footer__brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 36ch;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a {
  color: var(--muted);
  font-size: 14px;
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────
   REVEAL / MOTION
   ───────────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

body { animation: page-in .4s var(--ease) both; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

[data-aos] { transition-timing-function: cubic-bezier(.2,.7,.3,1) !important; }

/* ─────────────────────────────────────────────────────────────
   CONTACT SECTION
   ───────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--card-gap);
  margin-top: 48px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.contact-card:hover {
  border-color: var(--primary-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--primary-tint);
  color: var(--primary);
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card__icon.teal { background: #ccfbf1; color: #0d9488; }
.contact-card__icon.amber { background: var(--warning-soft); color: var(--warning); }
.contact-card__copy { display: grid; gap: 2px; min-width: 0; }
.contact-card__copy strong { font-size: 15px; font-weight: 700; color: var(--text); }
.contact-card__copy span { font-size: 13px; color: var(--muted); }
.contact-card__arrow {
  margin-left: auto;
  color: var(--muted-soft);
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
  flex-shrink: 0;
}
.contact-card:hover .contact-card__arrow { transform: translateX(4px); color: var(--primary); }

/* ─────────────────────────────────────────────────────────────
   HERO LIVE STATUS CARD
   ───────────────────────────────────────────────────────────── */
.status-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  padding: 22px;
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.status-card::before {
  content: '';
  position: absolute; inset: -12px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(37,99,235,.14), transparent 60%);
  z-index: -1;
  filter: blur(28px);
}
.status-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.status-card__head .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22,163,74,.14);
  animation: hero-dot 2.4s ease-in-out infinite;
}
.status-card__head .badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--success-soft);
  color: var(--success);
}
.status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  opacity: 0;
  transform: translateY(6px);
  animation: status-appear .4s var(--ease) forwards;
}
.status-line .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.status-line .check svg { width: 12px; height: 12px; }

@keyframes status-appear {
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger delays applied via inline style or JS */

/* ─────────────────────────────────────────────────────────────
   PLAN LOADING + MAINTENANCE STATES
   ───────────────────────────────────────────────────────────── */
.plans-loading {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.plans-loading .spinner {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2.5px solid var(--border);
  border-top-color: var(--primary);
  display: inline-block;
  vertical-align: -4px;
  margin-right: 10px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.plan--disabled { opacity: .55; pointer-events: none; }
.plan--maintenance { opacity: .6; }
.plan--maintenance .plan__badge {
  background: var(--warning-soft);
  color: var(--warning);
}
.plan__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
}
.plan__badge.popular { background: var(--primary-tint); color: var(--primary); }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE REFINEMENT
   ───────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .hero { padding: 36px 0 24px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__trust { gap: 16px; justify-content: center; }
  .community { padding: 28px 20px; }
  .cta-block { padding: 32px 20px; flex-direction: column; text-align: center; }
  .cta-block > div { width: 100%; }
  .cta-block .btn { width: 100%; justify-content: center; }
  .contact-grid { gap: 14px; }
  .feature-grid { gap: 14px; }
  .plans { gap: 14px; }
  [data-reveal] { transition-duration: .35s; }
  [data-reveal="left"]  { transform: translateX(-16px); }
  [data-reveal="right"] { transform: translateX(16px); }
}

/* ═════════════════════════════════════════════════════════════
   PHASE 4 ADDITIONS — compact stepper, games grid, mobile fix
   ═════════════════════════════════════════════════════════════ */

/* ─── Global mobile padding: tighten from 32 to 16 ─── */
@media (max-width: 720px) {
  .container { padding-inline: 16px !important; }
}

/* ─── Compact stepper (mini journey strip) ─── */
.stepper-compact {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  max-width: 920px;
  margin: 0 auto;
}
.stepper-compact__step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.stepper-compact__num {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  border: 1.5px solid var(--primary-soft);
}
.stepper-compact__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  min-width: 0;
}
.stepper-compact__arrow {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--muted);
  opacity: .55;
}
@media (max-width: 720px) {
  .stepper-compact {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }
  .stepper-compact__arrow {
    transform: rotate(90deg);
    margin: 0 auto;
    opacity: .35;
  }
  .stepper-compact__step { padding: 6px 0; }
}

/* ─── Supported Games grid ─── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 22px 18px;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.game-card:hover {
  border-color: var(--primary-soft);
  box-shadow: 0 6px 20px rgba(37,99,235,.08);
  transform: translateY(-2px);
}
.game-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-tint), var(--primary-soft));
  color: var(--primary);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  border: 1px solid var(--primary-soft);
}
.game-card__icon svg { width: 24px; height: 24px; }
.game-card__icon--img {
  background: none;
  border: none;
  padding: 0;
  overflow: hidden;
}
.game-card__icon--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.game-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.game-card__region {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-card { padding: 16px 12px; }
  .game-card__icon { width: 44px; height: 44px; }
}

/* ─── Section spacing tightening for compact pages ─── */
.section--mini {
  padding-block: 56px;
}
@media (max-width: 720px) {
  .section--mini { padding-block: 36px; }
}

/* ─── Hero: tighter top padding for sub-pages ─── */
.hero--sub {
  padding: 52px 0 28px !important;
}
@media (max-width: 720px) {
  .hero--sub { padding: 36px 0 20px !important; }
}

/* Responsive tables: ensure all tables scroll horizontally on mobile rather than overflowing */
@media (max-width: 768px) {
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}


/* ─────────────────────────────────────────────────────────────
   FEATURE ROWS — numbered editorial strip (Core Features home)
   ───────────────────────────────────────────────────────────── */
.feature-rows {
  display: grid;
  gap: 0;
  margin-top: 40px;
}
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.feature-row:last-child { border-bottom: none; }
.feature-row__num {
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  opacity: 0.07;
  letter-spacing: -0.04em;
  line-height: 1;
  min-width: 72px;
  padding-top: 4px;
  user-select: none;
  flex-shrink: 0;
}
.feature-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 4px;
  background: var(--primary-tint);
  color: var(--primary);
}
.feature-row__icon svg { width: 18px; height: 18px; }
.feature-row__icon.violet { background: #ede9fe; color: #7c3aed; }
.feature-row__icon.amber  { background: var(--warning-soft); color: var(--warning); }
.feature-row__icon.teal   { background: #ccfbf1; color: #0d9488; }
.feature-row__body { flex: 1; min-width: 0; }
.feature-row__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.feature-row__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 56ch;
}
@media (max-width: 720px) {
  .feature-row { gap: 16px; padding: 22px 0; }
  .feature-row__num { font-size: 36px; min-width: 48px; }
}

/* ─────────────────────────────────────────────────────────────
   ICON STRIP — cardless horizontal feature row (Security home)
   ───────────────────────────────────────────────────────────── */
.icon-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.icon-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.icon-strip__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-tint);
  color: var(--primary);
}
.icon-strip__icon svg { width: 24px; height: 24px; }
.icon-strip__icon.green  { background: var(--success-soft); color: var(--success); }
.icon-strip__icon.rose   { background: #fee2e2; color: #db2777; }
.icon-strip__icon.violet { background: #ede9fe; color: #7c3aed; }
.icon-strip__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.icon-strip__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 860px) {
  .icon-strip { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 480px) {
  .icon-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ─────────────────────────────────────────────────────────────
   FEATURE LG — larger card variant (Compatibility section)
   ───────────────────────────────────────────────────────────── */
.feature--lg {
  padding: 32px;
}
.feature--lg .feature__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}
.feature--lg .feature__icon svg { width: 28px; height: 28px; }
.feature--lg .feature__title {
  font-size: 20px;
  margin-top: 24px;
}
.feature--lg .feature__desc {
  font-size: 15px;
}

/* ─────────────────────────────────────────────────────────────
   VISUAL BOLDNESS ADDITIONS — 2026-07-05
   ───────────────────────────────────────────────────────────── */

/* Blue-wash background surface */
:root { --bg-blue: #eef4ff; }
.section--blue { background: var(--bg-blue); }

/* Feature card: add default shadow depth */
.feature { box-shadow: var(--shadow-sm); }
.feature:hover { box-shadow: var(--shadow-xl); }
.game-card:hover { box-shadow: var(--shadow-lg); }

/* Feature row numbers: more visible */
.feature-row__num { opacity: .13; }

/* Hero dot grid: more visible */
.hero::before { opacity: .32; }

/* H1 highlight: animated underline signature element */
.h1-highlight { position: relative; display: inline; }
.h1-highlight__line {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 5px;
  background: var(--primary);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  display: block;
}

/* feat-category label size bump */
.feat-category__label { font-size: 13px; font-weight: 800; }
