/* ============================================================
   MIFF — MENA Industrial Futures Forum
   Design System v3 — Framer-inspired typography & rhythm
   Dark / Cinematic / Emerald Green
   ============================================================ */

/* Fonts (Poppins + Geist Mono) are loaded via <link> in each page's <head>
   with preconnect, so they download in parallel — no render-blocking @import. */

:root {
  /* ── Surfaces (indigo-tinted dark) ── */
  --ink:       #030303;
  --ink-2:     #050508;
  --surface:   #0A0A12;
  --surface-2: #0E0E18;
  --surface-3: #12121E;

  /* ── Hairlines ── */
  --line:         rgba(255,255,255,.065);
  --line-2:       rgba(255,255,255,.11);
  --line-amber:   rgba(34,197,94,.22);
  --line-amber-2: rgba(34,197,94,.09);

  /* ── Brand — Emerald ── */
  --amber:        #22C55E;
  --amber-bright: #4ADE80;
  --amber-deep:   #15803D;
  --amber-dim:    rgba(34,197,94,.65);
  --steel:        #0EA5E9;

  /* ── Text ── */
  --text:   #F0F4FA;
  --text-2: #C5D3E8;
  --muted:  #8799B0;
  --faint:  #4B5E74;
  
  /* ── Glow ── */
  --glow-amber: 0 0 0 1px rgba(34,197,94,.2), 0 20px 60px -14px rgba(34,197,94,.5);
  --glow-sm:    0 4px 24px -8px rgba(0,0,0,.6);
  --glow-lg:    0 24px 80px -24px rgba(0,0,0,.85);

  /* ── Glassmorphism tokens ── */
  --glass-bg:        rgba(10,10,20,.58);
  --glass-bg-light:  rgba(18,18,32,.42);
  --glass-border:    rgba(255,255,255,.08);
  --glass-border-em: rgba(34,197,94,.18);
  --glass-blur:      blur(28px) saturate(180%);
  --glass-blur-sm:   blur(16px) saturate(160%);

  /* ── Fonts ── */
  --font-display: "Poppins", system-ui, -apple-system, sans-serif;
  --font-cond:    "Poppins", system-ui, sans-serif;
  --font-body:    "Poppins", system-ui, -apple-system, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, monospace;

  /* ── Typography Scale — edit these three to test sizing ── */
  --sz-heading:     clamp(36px, 5vw, 64px);   /* Main Heading  */
  --sz-subheading:  clamp(20px, 2.5vw, 32px); /* Sub Heading   */
  --sz-description: 15px; /* Description   */

  /* ── Spacing rhythm ── */
  --space-section:       clamp(104px, 14vh, 200px);
  --space-section-tight: clamp(72px, 10vh, 144px);
  --space-block:         clamp(32px, 4vw, 56px);
  --space-element:       clamp(20px, 2.5vw, 32px);
  --space-text:          clamp(16px, 1.5vw, 24px);

  /* ── Text rhythm — universal 3-level path ── */
  --sp-kicker: 10px;                       /* kicker  → heading  (tight)   */
  --sp-head:   clamp(22px, 2.4vw, 34px);  /* heading → body text (breath)  */
  --sp-body:   clamp(14px, 1.6vw, 22px);  /* body    → body     (standard) */

  /* ── Layout ── */
  --maxw:   1200px;
  --gutter: clamp(16px, 2vw, 24px);
  --radius:    20px;
  --radius-sm: 12px;
  --radius-xl: 32px;
}

/* ── Registered properties for animated gradient borders ── */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}
@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

/* ── Animated background gradient properties ── */
@property --bg-shift-x {
  syntax: "<percentage>";
  initial-value: 50%;
  inherits: false;
}
@property --bg-shift-y {
  syntax: "<percentage>";
  initial-value: -8%;
  inherits: false;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  /* Deep near-black base with subtle indigo→rose diagonal warmth */
  background:
    radial-gradient(ellipse 120% 60% at 50% -5%,   rgba(99,102,241,.06) 0%, transparent 55%),
    radial-gradient(ellipse 80%  55% at 100% 100%,  rgba(244,63,94,.05)  0%, transparent 55%),
    linear-gradient(135deg, #050505 0%, #030303 50%, #040404 100%);
  background-color: #030303;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
p   { text-wrap: pretty; }
::selection { background: var(--amber); color: #020e06; }

/* ─────────────────────────────────────────────────────────────
   LAYER 1 — Deep aurora field (fixed, fills entire viewport)
   Premium mesh gradients with ambient glow nodes
   ───────────────────────────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: opacity;
  background:
    /* ── Top-center indigo bloom (mirrors HeroGeometric top-left shape) ── */
    radial-gradient(ellipse 110% 55% at 30% 5%,
      rgba(99,102,241,.12) 0%,
      rgba(99,102,241,.05) 40%,
      transparent 65%),

    /* ── Upper-right rose accent ── */
    radial-gradient(ellipse 60% 45% at 88% 8%,
      rgba(244,63,94,.09) 0%,
      rgba(244,63,94,.04) 40%,
      transparent 60%),

    /* ── Bottom-right rose warmth ── */
    radial-gradient(ellipse 75% 50% at 95% 92%,
      rgba(251,113,133,.07) 0%,
      rgba(244,63,94,.03) 45%,
      transparent 65%),

    /* ── Mid-left violet whisper ── */
    radial-gradient(ellipse 50% 55% at -4% 52%,
      rgba(139,92,246,.07) 0%,
      rgba(139,92,246,.02) 45%,
      transparent 65%),

    /* ── Centre depth pool — prevents midpage deadness ── */
    radial-gradient(ellipse 80% 35% at 50% 55%,
      rgba(99,102,241,.03) 0%,
      transparent 60%),

    /* ── Diagonal accent lines ── */
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 120px,
      rgba(99,102,241,.008) 120px,
      rgba(99,102,241,.008) 121px
    );

  background-size:
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%;
}

/* ─────────────────────────────────────────────────────────────
   LAYER 2 — Grain veil (fixed, fine noise texture)
   SVG turbulence at very low opacity for organic depth
   ───────────────────────────────────────────────────────────── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .38;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
}

/* ─────────────────────────────────────────────────────────────
   SECTION-LEVEL AMBIENT ORBS
   Drop these inside any section for localised glow lighting
   ───────────────────────────────────────────────────────────── */

/* Emerald crown — top of section */
.bg-orb-top {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%,
      rgba(34,197,94,.16) 0%,
      transparent 60%);
}

/* Sapphire accent — bottom-right */
.bg-orb-br {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 45% at 92% 105%,
      rgba(14,165,233,.12) 0%,
      transparent 55%);
}

/* Soft emerald fill — left edge */
.bg-orb-left {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 45% 60% at -5% 50%,
      rgba(34,197,94,.10) 0%,
      transparent 60%);
}

/* Full ambient scene — all three combined */
.bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%,  rgba(34,197,94,.15) 0%, transparent 58%),
    radial-gradient(ellipse 55% 40% at 90% 100%,  rgba(14,165,233,.09) 0%, transparent 55%),
    radial-gradient(ellipse 42% 55% at -4%  50%,  rgba(34,197,94,.08) 0%, transparent 60%);
}

/* ─────────────────────────────────────────────────────────────
   GLASSMORPHISM SYSTEM
   Consistent glass treatment using --glass-* tokens
   ───────────────────────────────────────────────────────────── */

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.glass-sm {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.glass-em {
  background: rgba(12,26,17,.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-em);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(34,197,94,.12), 0 0 0 1px rgba(34,197,94,.04);
}

/* Shimmer top-edge highlight — add to any glass element */
.glass-shine::before {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18) 40%, rgba(34,197,94,.24) 60%, transparent);
  border-radius: 0 0 4px 4px;
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   SECTION DIVIDERS — feathered gradient separators
   ───────────────────────────────────────────────────────────── */

.divider-glow {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(34,197,94,.12) 20%,
    rgba(34,197,94,.28) 50%,
    rgba(34,197,94,.12) 80%,
    transparent);
  position: relative;
}

.divider-glow::after {
  content: "";
  position: absolute;
  inset: -3px 25% -3px 25%;
  background: inherit;
  filter: blur(6px);
  opacity: .6;
}

/* ─────────────────────────────────────────────────────────────
   SLOW AURORA DRIFT — optional breathing animation on sections
   Add class .aurora-drift to any section wrapper for life
   ───────────────────────────────────────────────────────────── */

@keyframes aurora-float {
  0%, 100% { opacity: .9; transform: translateY(0) scale(1); }
  33%       { opacity: 1;  transform: translateY(-12px) scale(1.02); }
  66%       { opacity: .85; transform: translateY(6px) scale(.99); }
}

.aurora-drift > .bg-ambient,
.aurora-drift > .bg-orb-top {
  animation: aurora-float 18s ease-in-out infinite;
}

/* ── Layout ── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}
section { position: relative; z-index: 1; }
.sec       { padding-block: var(--space-section); }
.sec-tight { padding-block: var(--space-section-tight); }

/* Vertical stack utility */
.stack    { display: flex; flex-direction: column; gap: var(--space-element); }
.stack-lg { gap: var(--space-block); }
.stack-xl { gap: var(--space-section-tight); }

/* ── Typography — Framer-inspired ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  background: linear-gradient(
    135deg,
    #bbf7d0 0%,
    #4ade80 42%,
    #16a34a 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero display */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  background: linear-gradient(
    135deg,
    #bbf7d0 0%,
    #4ade80 42%,
    #16a34a 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Framer-style per-line opacity fade */
.display--gradient { background: none; -webkit-text-fill-color: unset; }
.display-line {
  display: inline-block;
  background: linear-gradient(
    135deg,
    #bbf7d0 0%,
    #4ade80 42%,
    #16a34a 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.display-line--1 { opacity: 1; }
.display-line--2 { opacity: 0.88; }
.display-line--3 { opacity: 0.72; }
.display-line--4 { opacity: 0.55; }

.h-xl { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(28px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.h-md { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -0.025em; }

.lede {
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 56ch;
}
.lede strong { color: var(--text-2); font-weight: 500; }

/* Eyebrow label — minimal Framer-style */
.kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: none;
  position: relative;
}
.kicker::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(34,197,94,.5);
  animation: kickerPulse 2.6s ease-in-out infinite;
}
@keyframes kickerPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .7; transform: scale(.9); }
}

.kicker.dim { color: var(--muted); }
.kicker.dim::before { background: var(--muted); box-shadow: none; animation: none; }

/* ── Universal text roles — sizes driven by :root tokens ── */
.heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--sz-heading);
  line-height: 1.05;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #bbf7d0 0%, #4ade80 42%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subheading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--sz-subheading);
  line-height: 1.12;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #bbf7d0 0%, #4ade80 42%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--sz-description);
  line-height: 1.8;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--faint);
}

.amber { color: var(--amber); }
.muted { color: var(--muted); }

/* ── Buttons — shiny animated border ── */
.btn {
  --shiny-bg:     #060C0A;
  --shiny-bg-sub: #0B1610;
  --shiny-fg:     #F0F4FA;
  --shiny-hi:     #22C55E;
  --shiny-hi-sub: #4ADE80;

  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 50px;
  color: var(--shiny-fg);
  background:
    linear-gradient(var(--shiny-bg), var(--shiny-bg)) padding-box,
    conic-gradient(
      from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-hi) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-hi) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)
    ) border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-bg-sub);
  animation:
    gradient-angle linear infinite 3s,
    gradient-angle linear infinite 7.5s reverse paused;
  animation-composition: add;
  transition:
    --gradient-angle-offset 800ms cubic-bezier(0.25, 1, 0.5, 1),
    --gradient-percent      800ms cubic-bezier(0.25, 1, 0.5, 1),
    --gradient-shine        800ms cubic-bezier(0.25, 1, 0.5, 1),
    transform               300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow              300ms ease;
  white-space: nowrap;
  text-decoration: none;
}

/* Rotating dot mask */
.btn::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
  --size: calc(100% - 6px);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
    circle at var(--position) var(--position),
    white calc(var(--position) / 4),
    transparent 0
  ) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  animation:
    gradient-angle linear infinite 3s,
    gradient-angle linear infinite 7.5s reverse paused;
  animation-composition: add;
}

/* Inner shimmer sweep */
.btn::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--shiny-hi), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
  animation:
    shimmer linear infinite 3s,
    shimmer linear infinite 7.5s reverse paused;
  animation-composition: add;
}

.btn:active { translate: 0 1px; }

.btn .arr { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover .arr { transform: translateX(5px); }

.btn:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-hi-sub);
  transform: translateY(-2px);
}

.btn:is(:hover, :focus-visible),
.btn:is(:hover, :focus-visible)::before,
.btn:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}

@keyframes gradient-angle {
  to { --gradient-angle: 360deg; }
}
@keyframes shimmer {
  to { rotate: 360deg; }
}
@keyframes btn-breathe {
  from, to { scale: 1; }
  50%       { scale: 1.2; }
}

/* Primary: emerald glow */
.btn-primary {
  --shiny-hi:     #22C55E;
  --shiny-hi-sub: #4ADE80;
  box-shadow:
    inset 0 0 0 1px var(--shiny-bg-sub),
    var(--glow-amber);
}
.btn-primary:is(:hover, :focus-visible) {
  box-shadow:
    inset 0 0 0 1px var(--shiny-bg-sub),
    0 0 0 1px rgba(34,197,94,.3),
    0 24px 72px -12px rgba(34,197,94,.65);
}

/* Ghost: white/silver highlight */
.btn-ghost {
  --shiny-hi:     rgba(255,255,255,.45);
  --shiny-hi-sub: rgba(255,255,255,.8);
}

.btn-block { width: 100%; justify-content: center; }

/* ── Chips ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .03em;
  font-weight: 500;
  padding: 7px 16px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  background: rgba(255,255,255,.03);
  border-radius: 50px;
  transition: .25s;
}
.chip:hover { border-color: var(--line-amber); color: var(--text); }
.chip .dot { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 9px var(--amber); }

/* ── Cards ── */
.card {
  position: relative;
  background: linear-gradient(145deg, var(--surface-2), var(--ink-2));
  border: 1px solid var(--line);
  padding: 40px;
  transition: border-color .4s, transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% -5%, rgba(34,197,94,.07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(34,197,94,.28);
  transform: translateY(-5px);
  box-shadow: 0 32px 80px -28px rgba(0,0,0,.9), 0 0 0 1px rgba(34,197,94,.07);
}
.card:hover::before { opacity: 1; }
/* corner tick */
.card::after {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 9px; height: 9px;
  border-top: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  transition: .4s;
}
.card:hover::after { border-color: var(--amber); width: 18px; height: 18px; }

.hair       { height: 1px; background: var(--line);   border: 0; }
.hair-amber { height: 1px; background: linear-gradient(90deg, var(--amber), transparent 55%); }

.idx { font-family: var(--font-mono); font-size: 12px; color: var(--amber); letter-spacing: .1em; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 0;
  background: rgba(8, 12, 18, 0.52);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 8px 40px -8px rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transition: background .5s cubic-bezier(.4,0,.2,1), border-color .5s, box-shadow .5s;
  pointer-events: auto;
}

/* Scroll-progress shimmer at bottom of header */
.nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) var(--nav-progress, 0%), transparent var(--nav-progress, 0%));
  opacity: .8;
  pointer-events: none;
}

/* Top sheen line */
.nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events: none;
}

.nav.scrolled {
  background: rgba(6, 9, 14, 0.80);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow:
    0 16px 56px -12px rgba(0,0,0,.75),
    inset 0 -1px 0 rgba(0,0,0,.3);
}

.nav-in {
  max-width: var(--maxw);
  margin: 0 auto;
  height: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--gutter);
  position: relative;
}

.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { margin-top: 15px; margin-bottom: 15px; }
.brand-block  { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.brand-name   { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.02em; text-transform: none; color: #fff; }
.brand-year   { color: inherit; }
.brand-forum  { font-family: var(--font-body); font-size: 10px; letter-spacing: -0.01em; text-transform: none; color: var(--muted); }
.brand-rule   { height: 1px; background: var(--line-2); margin: 4px 0 3px; }
.brand-when   { font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.brand-where  { font-family: var(--font-body); font-size: 10px; letter-spacing: -0.01em; color: var(--faint); text-transform: none; }

.nav-right { display: flex; align-items: center; gap: 6px; }

/* Floating pill nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 100px;
  padding: 3px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  border-radius: 100px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  position: relative;
}
.nav-links a:hover {
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.9);
}
.nav-links a.active {
  background: rgba(34,197,94,.12);
  color: var(--amber-bright);
  box-shadow: inset 0 0 0 1px rgba(34,197,94,.2), 0 0 12px -4px rgba(34,197,94,.3);
}
.nl-num { display: none; }
.nl-lbl { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: -0.01em; text-transform: none; }

/* CTA pill */
.nav-cta { display: flex; align-items: center; gap: 8px; }
.btn-nav-cta {
  --shiny-hi:     rgba(255,255,255,.65);
  --shiny-hi-sub: rgba(255,255,255,.95);
  padding: 6px 6px 6px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}
.btn-nav-cta .cta-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background .25s, transform .35s cubic-bezier(.34,1.56,.64,1);
}
.btn-nav-cta .cta-circle svg { width: 13px; height: 13px; stroke: #020e06; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-nav-cta:is(:hover, :focus-visible) .cta-circle { background: var(--amber-bright); transform: rotate(-15deg) scale(1.08); }

/* Register nav button — ghost variant */
.btn-nav-register {
  background: transparent;
  border: 1.5px solid var(--amber);
  color: rgba(255,255,255,.85);
  box-shadow: none;
}
.btn-nav-register:is(:hover, :focus-visible) {
  border-color: var(--amber);
  color: #fff;
  background: rgba(34,197,94,.07);
}
.btn-nav-register .cta-circle {
  background: rgba(255,255,255,.12);
}
.btn-nav-register:is(:hover, :focus-visible) .cta-circle {
  background: var(--amber);
}
.btn-nav-register .cta-circle svg { stroke: #fff; }
.btn-nav-register:is(:hover, :focus-visible) .cta-circle svg { stroke: #020e06; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  width: 38px; height: 38px;
  align-items: center;
  transition: background .2s, border-color .2s;
}
.burger:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.16); }
.burger span {
  display: block;
  height: 1.5px;
  background: rgba(255,255,255,.8);
  transform-origin: center;
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .25s, width .3s;
}
.burger span:nth-child(1) { width: 18px; }
.burger span:nth-child(2) { width: 13px; }
.burger span:nth-child(3) { width: 18px; }
.burger:hover span { width: 18px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 18px; }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 18px; }

/* Mobile drawer — full-screen glassmorphism overlay */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 49;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  background: linear-gradient(160deg, rgba(6,14,10,.97) 0%, rgba(3,3,6,.99) 70%);
  transform: translateY(-100%);
  transition: transform .65s cubic-bezier(.76,0,.24,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  padding-bottom: calc(var(--gutter) + 64px);
  overflow: hidden;
}
.drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 8%, rgba(34,197,94,.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(14,165,233,.08), transparent 55%);
  pointer-events: none;
}
/* Drawer top border glow */
.drawer::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(34,197,94,.35) 30%, rgba(34,197,94,.35) 70%, transparent 100%);
  pointer-events: none;
}
.drawer.open { transform: translateY(0); }
.drawer a {
  font-family: var(--font-display);
  font-size: clamp(26px, 5.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: none;
  color: rgba(255,255,255,.22);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .22s, letter-spacing .22s;
  position: relative;
  z-index: 1;
}
.drawer a::after { content: '↗'; font-size: .4em; opacity: .45; letter-spacing: 0; }
.drawer a:hover { color: rgba(255,255,255,.88); letter-spacing: -0.02em; }
.drawer a.active { color: var(--amber); }

/* ── Footer ── */
/* ── Footer — Framer-style ── */
.ft {
  background: #070709;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.ft::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72%;
  background: radial-gradient(ellipse 110% 80% at 50% 115%, rgba(20,120,60,.72) 0%, rgba(10,60,30,.45) 42%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.ft-inner {
  position: relative;
  z-index: 1;
}
.ft-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px var(--gutter) 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  flex-wrap: wrap;
}
.ft-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ft-social-label {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--faint);
}
.ft-social {
  display: flex;
  gap: 10px;
}
.ft-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: rgba(255,255,255,.65);
  transition: color .2s, border-color .2s, background .2s;
}
.ft-social-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.07);
}
.ft-pills-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ft-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .2s, color .2s, border-color .2s;
}
.ft-pill:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.22);
}
.ft-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter) 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255,255,255,.32);
  flex-wrap: wrap;
  gap: 8px;
}
.ft-legal-left {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.ft-legal a, .ft-legal-email {
  color: rgba(255,255,255,.32);
  transition: color .2s;
  padding: 0;
  border: none;
}
.ft-legal a:hover, .ft-legal-email:hover {
  color: rgba(255,255,255,.65);
}
@keyframes ft-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ft-wordmark-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  margin-top: var(--space-block);
  margin-bottom: -0.05em;
  pointer-events: none;
  user-select: none;
}
.ft-wordmark-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: baseline;
  gap: 0;
  animation: ft-marquee-scroll 35s linear infinite;
  will-change: transform;
}
.ft-wordmark-item {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 220px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.88;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(200,200,200,.88) 0%, rgba(160,160,160,.65) 38%, rgba(110,110,110,.38) 72%, rgba(70,70,70,.18) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding: 0 0.18em;
}
.ft-wordmark-sep {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 80px);
  font-weight: 400;
  line-height: 0.88;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(160,160,160,.5) 0%, rgba(100,100,100,.25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding: 0 0.3em;
  align-self: center;
}
@media (max-width: 900px) {
  .ft-top-bar { flex-direction: column; align-items: flex-start; gap: 28px; }
  .ft-pills-nav { justify-content: flex-start; }
  .ft-wordmark-item { font-size: clamp(52px, 16vw, 120px); }
  .ft-wordmark-sep { font-size: clamp(20px, 5vw, 48px); }
}
@media (max-width: 560px) {
  .ft-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ft-legal-left { flex-direction: column; gap: 6px; }
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .28s; }
.reveal[data-d="4"] { transition-delay: .38s; }
.reveal[data-d="5"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .sp-join:hover { transform: none; }
  .btn, .btn::before, .btn::after { animation: none; }
}

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 20px;
  background: var(--amber);
  color: #020e06;
  transition: top .2s;
}
.skip-link:focus { top: 14px; outline: 2px solid var(--amber-bright); outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.btn:focus-visible, .burger:focus-visible { outline-offset: 4px; }

/* ── Forms ── */
.form { display: grid; gap: 18px; padding: 38px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.frow:has(> label:only-of-type) { grid-template-columns: 1fr; }
.form label {
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input, .form select, .form textarea {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color .2s, background .2s;
  border-radius: 8px;
}
.form input::placeholder, .form textarea::placeholder { color: var(--faint); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: rgba(255,255,255,.22); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 0;
  border-color: var(--amber);
  background: rgba(34,197,94,.03);
}
.form textarea { resize: vertical; }
.form .btn { margin-top: 8px; }
.form-note { text-align: center; color: var(--faint); font-size: 13px; }
.form-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
}
.form-status.ok  { border-color: var(--line-amber); color: var(--amber-bright); background: rgba(34,197,94,.04); }
.form-status.err { border-color: rgba(239,68,68,.4); color: #fca5a5; background: rgba(239,68,68,.04); }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }

/* ── Speakers listing ── */
.sp-sec { background: var(--ink-2); border-block: 1px solid var(--line); }
.sp-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.sp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.sp-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.sp-photo {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.sp-photo image-slot { position: absolute; inset: 0; }
.sp-no {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--amber);
  background: rgba(6,12,10,.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border: 1px solid var(--line-amber);
}
.sp-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.sp-body h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.sp-role { color: var(--muted); font-size: 13px; margin: 8px 0 12px; flex: 1; line-height: 1.5; }
.sp-org {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.sp-card.card::after { display: none; }
.sp-join {
  background: linear-gradient(160deg, rgba(34,197,94,.08), var(--ink-2));
  border: 1px solid rgba(34,197,94,.2);
  transition: .4s cubic-bezier(.2,.8,.2,1);
}
.sp-join:hover { transform: translateY(-5px); box-shadow: 0 20px 60px -20px rgba(34,197,94,.2); }
.sp-join-in { padding: 28px; height: 100%; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.sp-join h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.08; letter-spacing: -.025em; }
.sp-join .idx { font-size: 11px; }
@media (max-width: 1024px) { .sp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .sp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .sp-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Speaker detail ── */
.sp-detail { padding-block: 60px 120px; }
.spd-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.spd-left { display: grid; gap: 28px; position: sticky; top: 110px; }
.spd-img  { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; border: 1px solid var(--line); background: var(--surface-2); }
.spd-meta { display: grid; gap: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.spd-meta-item { display: grid; gap: 4px; }
.spd-meta-item .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: .14em; }
.spd-meta-item .val { font-size: 15px; color: var(--text); font-weight: 400; }
.spd-right { display: grid; gap: 44px; }
.spd-bio { font-size: 15px; color: var(--muted); line-height: 1.85; display: grid; gap: var(--sp-head); }
.spd-bio p { text-wrap: pretty; }
.spd-bio p::first-letter {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  float: left;
  line-height: .8;
  margin: 8px 10px 0 0;
  color: var(--amber);
}
.spd-bio p+p::first-letter { font-size: inherit; font-weight: inherit; float: none; line-height: inherit; margin: 0; color: inherit; }
.spd-session {
  background: linear-gradient(145deg, var(--surface), var(--ink-2));
  border: 1px solid rgba(34,197,94,.2);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.spd-session::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(34,197,94,.1), transparent 70%);
  pointer-events: none;
}
.spd-session h3 { margin-top: var(--sp-kicker); margin-bottom: var(--sp-head); }
.spd-session .theme { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); }
.spd-session .desc { color: var(--muted); font-size: 15.5px; line-height: 1.72; margin-bottom: 28px; }
@media (max-width: 900px) {
  .spd-wrap { grid-template-columns: 1fr; gap: 44px; }
  .spd-left { position: static; }
}

/* ── Glow helpers ── */
.glow        { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
.glow-amber  { background: radial-gradient(circle, rgba(34,197,94,.22), transparent 70%); }
.glow-steel  { background: radial-gradient(circle, rgba(14,165,233,.16), transparent 70%); }

.eyebrow-row { display: flex; align-items: center; gap: 20px; margin-bottom: var(--sp-kicker); flex-wrap: wrap; }

/* Section header — universal text path: kicker → heading → body */
.sec-head { max-width: 680px; }

/* Default gap between any two consecutive text elements */
.sec-head > * + * { margin-top: var(--sp-body); }

/* Kicker sits close to the heading above it */
.sec-head .kicker { margin-bottom: 0; }
.sec-head .kicker + *,
.sec-head .kicker + .heading,
.sec-head .kicker + .subheading,
.sec-head .kicker + .h-xl,
.sec-head .kicker + .h-lg,
.sec-head .kicker + .h-md,
.sec-head .kicker + h1,
.sec-head .kicker + h2,
.sec-head .kicker + h3 { margin-top: var(--sp-kicker); }

/* Headings breathe before body copy */
.sec-head .heading  + *,
.sec-head .subheading + *,
.sec-head .h-xl + *,
.sec-head .h-lg + *,
.sec-head .h-md + *,
.sec-head h1 + *,
.sec-head h2 + *,
.sec-head h3 + * { margin-top: var(--sp-head); }

/* Heading followed immediately by another heading — keep tight */
.sec-head .heading  + .subheading,
.sec-head .h-xl + .h-lg,
.sec-head h1 + h2 { margin-top: var(--sp-kicker); }

/* Utility grids */
.grid   { display: grid; gap: 1px; background: var(--line); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gap    { display: grid; gap: var(--space-block); }
.gap-2  { grid-template-columns: repeat(2, 1fr); }
.gap-3  { grid-template-columns: repeat(3, 1fr); }
.gap-4  { grid-template-columns: repeat(4, 1fr); }

/* Stats */
.stat .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.04em;
}
.stat .num em { font-style: normal; color: var(--amber); }
.stat .lbl {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
  margin-top: var(--sp-body);
}

image-slot { --ph-bg: var(--surface); }

/* Diamond list */
.ilist { list-style: none; display: grid; gap: var(--sp-body); }
.ilist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.ilist li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  margin-top: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(34,197,94,.55);
}
.ilist.tight li { font-size: 14px; }

/* ── Inner page hero ── */
.phead {
  position: relative;
  padding-top: 180px;
  padding-bottom: var(--space-section-tight);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.phead::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 65% -15%, rgba(34,197,94,.13), transparent 58%),
    radial-gradient(ellipse 50% 35% at 10% 85%, rgba(14,165,233,.06), transparent 52%);
  pointer-events: none;
}
.phead .glow { top: -160px; right: -120px; width: 640px; height: 640px; }
.phead .crumbs {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--faint);
  margin-bottom: var(--sp-kicker);
}
.phead .crumbs a:hover { color: var(--amber); }
.phead h1 {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: none;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 20ch;
}
.phead .kicker { margin-bottom: var(--sp-kicker); }
.phead .lede { margin-top: var(--sp-head); }
.phead-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .45;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 70% at 80% -5%, #000 0%, transparent 65%);
}

/* Generic CTA band */
.cta-band {
  position: relative;
  border: 1px solid rgba(34,197,94,.2);
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface), var(--ink-2));
  display: grid;
  grid-template-columns: 1.4fr .85fr;
  gap: var(--space-block);
  padding: clamp(48px, 7vw, 88px);
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 80% at 105% 50%, rgba(34,197,94,.09), transparent),
    radial-gradient(ellipse 45% 55% at -5% 50%, rgba(14,165,233,.04), transparent);
  pointer-events: none;
}
.cta-actions { display: grid; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 1000px) { .cta-band { grid-template-columns: 1fr; gap: 32px; } }

/* ── Responsive breakpoints ── */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .burger    { display: flex; }
  .btn-nav-cta { display: none; }
  .nav-right { gap: 6px; }
  .nav-in { padding: 0 8px 0 16px; }
  .ft-pills-nav { justify-content: flex-start; }
  .grid-4, .gap-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .gap-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .gap-2, .grid-3, .gap-3, .grid-4, .gap-4 { grid-template-columns: 1fr; }
  .nav { padding: 0; }
  .nav-in { height: auto; min-height: 56px; border-radius: 0; padding: 0 16px; }
  .nav-cta .btn { display: none; }
}

/* Utility retained after removing Tailwind Play CDN (used by step-nav spacers) */
.flex-1 { flex: 1 1 0%; }
