/* ============================================================
   Aivobot marketing site — design tokens
   A product of TokkenUp. White/light theme throughout, with two
   intentionally-dark glass surfaces (hero call panel, bento
   features grid, CTA bands) for contrast and depth.
   ============================================================ */

:root {
  --ink: #0B0D14;
  --ink-soft: #454B59;
  --paper: #FFFFFF;
  --surface: #F6F7FB;
  --surface-2: #EEF0F8;
  --muted: #6B7280;
  --line: #E6E8F1;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;

  --accent: #6D5AFB;
  --accent-2: #22D3EE;
  --accent-ink: #FFFFFF;
  --accent-soft: #EFECFF;
  --success: #16A34A;
  --gradient-brand: linear-gradient(135deg, #6D5AFB 0%, #8B5CF6 45%, #22D3EE 100%);
  --shadow-card: 0 1px 1px rgba(11,13,20,0.03), 0 16px 40px -24px rgba(20,15,60,0.22);
  --shadow-lift: 0 1px 1px rgba(11,13,20,0.04), 0 28px 60px -28px rgba(20,15,60,0.32);

  /* fixed dark-glass surfaces — call panel, bento grid, CTA bands.
     Never theme-toggled; the site itself is always light. */
  --panel-bg: #0A0A13;
  --panel-bg-2: #131226;
  --panel-fg: #F5F6FC;
  --panel-muted: #9EA1B8;
  --panel-border: rgba(255,255,255,0.12);
  --panel-accent: #948CFF;
  --panel-accent-2: #5EEAD4;
  --glass-bg: rgba(255,255,255,0.055);
  --glass-bg-hover: rgba(255,255,255,0.09);
  --glass-border: rgba(255,255,255,0.14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

.mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .dot--live { animation: pulse 2.2s ease-in-out infinite; }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--gradient-brand);
  color: var(--accent-ink);
  box-shadow: 0 12px 28px -12px rgba(109, 90, 251, 0.55);
}
.btn--primary:hover { box-shadow: 0 16px 34px -12px rgba(109, 90, 251, 0.7); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--on-dark { color: var(--panel-fg); border-color: var(--panel-border); }
.btn--on-dark:hover { border-color: var(--panel-fg); }

.btn--block { width: 100%; }

.phone-icon { width: 15px; height: 15px; flex: none; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand-cluster { display: inline-flex; align-items: center; gap: 12px; }

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.logo .dot { width: 7px; height: 7px; margin-bottom: 4px; }

.by-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.by-line:hover { border-color: var(--ink); color: var(--ink); }
.by-line img { height: 13px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.current { color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 4px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--ink);
}

.nav-primary { display: flex; align-items: center; gap: 28px; }

@media (max-width: 900px) {
  .nav-primary { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav.is-open .nav-primary {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 24px;
    gap: 4px;
  }
  .nav.is-open .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav.is-open .nav-links a { padding: 10px 0; width: 100%; }
  .nav.is-open .nav-actions {
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
}
@media (max-width: 560px) {
  .by-line .tk-prefix { display: none; }
  .by-line { padding: 6px 10px; }
}

/* ---------- parallax layers (generic) ---------- */

.parallax-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.parallax-layer { position: absolute; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .parallax-layer { transform: none !important; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 104px 0 84px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(109,90,251,0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(34,211,238,0.10), transparent 55%);
}

.hero .parallax-scene { z-index: 0; }

.blob {
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.blob--a { width: 520px; height: 520px; top: -180px; left: -160px; background: radial-gradient(circle at 30% 30%, #8B7BFF, transparent 70%); }
.blob--b { width: 420px; height: 420px; top: 40px; right: -140px; background: radial-gradient(circle at 60% 40%, #22D3EE, transparent 70%); opacity: 0.4; }
.blob--c { width: 320px; height: 320px; bottom: -160px; left: 30%; background: radial-gradient(circle, #C7BBFF, transparent 70%); opacity: 0.35; }

.dot-grid {
  inset: -10% -10% -40% -10%;
  background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 60% 20%, black, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at 60% 20%, black, transparent 72%);
}

.orbit-rings {
  right: -120px;
  top: -60px;
  width: 640px;
  height: 640px;
  opacity: 0.5;
}
.orbit-rings circle { fill: none; stroke: var(--accent); stroke-opacity: 0.16; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 0.98; margin-top: 20px; }
.hero h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin-top: 22px; }

.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero-note { margin-top: 18px; font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .hero-col > * { opacity: 0; animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .hero-col > *:nth-child(1) { animation-delay: 0.02s; }
  .hero-col > *:nth-child(2) { animation-delay: 0.10s; }
  .hero-col > *:nth-child(3) { animation-delay: 0.20s; }
  .hero-col > *:nth-child(4) { animation-delay: 0.30s; }
  .hero-col > *:nth-child(5) { animation-delay: 0.38s; }
  .call-panel-wrap { opacity: 0; animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.22s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* waveform panel */
.call-panel-wrap { position: relative; z-index: 1; }
.call-panel-wrap::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(closest-side, rgba(109, 90, 251, 0.25), transparent);
  z-index: 0;
}
.call-panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--panel-bg-2), var(--panel-bg));
  color: var(--panel-fg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lift), 0 0 90px -30px rgba(109, 90, 251, 0.45);
}
.call-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--panel-muted); margin-bottom: 22px;
}
.call-panel-head .live { color: var(--panel-accent); display: inline-flex; align-items: center; gap: 6px; }

.waveform { display: flex; align-items: flex-end; gap: 4px; height: 84px; margin-bottom: 22px; }
.waveform span { flex: 1; background: linear-gradient(180deg, var(--panel-accent), var(--panel-accent-2)); border-radius: 2px; opacity: 0.9; }
@media (prefers-reduced-motion: no-preference) { .waveform span { animation: wave 1.6s ease-in-out infinite; } }
@keyframes wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

.transcript {
  font-family: "IBM Plex Mono", monospace; font-size: 13.5px; line-height: 1.9;
  color: var(--panel-muted); border-top: 1px solid var(--panel-border); padding-top: 16px;
}
.transcript .who { color: var(--panel-accent); }

/* ---------- section headings ---------- */

.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }
.section-head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- bento feature grid (dark glass) ---------- */

.bento-section {
  position: relative;
  background: radial-gradient(1100px 500px at 10% 0%, #171533, var(--panel-bg) 55%);
  overflow: hidden;
}
.bento-section .parallax-scene { z-index: 0; }
.bento-glow--a { width: 480px; height: 480px; top: -140px; left: -120px; border-radius: 50%; filter: blur(90px); background: rgba(109,90,251,0.35); }
.bento-glow--b { width: 380px; height: 380px; bottom: -160px; right: -100px; border-radius: 50%; filter: blur(90px); background: rgba(34,211,238,0.22); }

.bento-section .section-head h2,
.bento-section .section-head p { color: var(--panel-fg); }
.bento-section .section-head p { color: var(--panel-muted); }
.bento-section .eyebrow { color: var(--panel-accent-2); }

.bento-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 16px;
}
@media (max-width: 980px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-card {
  grid-column: span 2;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--panel-fg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.bento-card:hover { background: var(--glass-bg-hover); border-color: rgba(255,255,255,0.24); transform: translateY(-3px); }
.bento-card--lg { grid-column: span 2; grid-row: span 2; }
.bento-card--full { grid-column: span 4; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.bento-card--full p { max-width: 46ch; }
@media (max-width: 700px) { .bento-card--full { flex-direction: column; align-items: flex-start; } }
@media (max-width: 980px) { .bento-card, .bento-card--lg { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 560px) { .bento-card, .bento-card--lg { grid-column: span 1; } }

.bento-icon {
  flex: none;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(148,140,255,0.35), rgba(94,234,212,0.2));
  border: 1px solid var(--glass-border);
  color: var(--panel-accent-2);
}
.bento-icon svg { width: 20px; height: 20px; }

.bento-card h3 {
  font-size: 21px;
  text-transform: none;
  font-family: "Big Shoulders Display", sans-serif;
  letter-spacing: 0.01em;
  color: var(--panel-fg);
}
.bento-card--lg h3 { font-size: 27px; }
.bento-card p { margin: 0; color: var(--panel-muted); font-size: 15px; }
.bento-card--lg p { font-size: 16px; max-width: 42ch; }

.bento-card--lg .bento-waveform {
  margin-top: auto;
  display: flex; align-items: flex-end; gap: 3px; height: 46px;
}
.bento-card--lg .bento-waveform span {
  flex: 1; border-radius: 2px; opacity: 0.85;
  background: linear-gradient(180deg, var(--panel-accent), var(--panel-accent-2));
}
@media (prefers-reduced-motion: no-preference) { .bento-card--lg .bento-waveform span { animation: wave 1.8s ease-in-out infinite; } }

/* ---------- language strip ---------- */

.lang-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-chip {
  font-family: "IBM Plex Mono", monospace; font-size: 14px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-chip:hover { border-color: var(--accent); background: var(--accent-soft); }
.lang-chip .native { font-family: "Work Sans", sans-serif; margin-right: 6px; }
.lang-chip--more { color: var(--muted); border-style: dashed; }

/* ---------- scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* ---------- numbered steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.step:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.step .num { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--accent); letter-spacing: 0.06em; }
.step h3 { font-size: 22px; margin-top: 14px; }
.step p { color: var(--muted); margin-top: 12px; }

/* ---------- generic ruled/card feature list (used on Product page) ---------- */

.tariff-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 700px) { .tariff-list { grid-template-columns: 1fr; } }
.tariff-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.tariff-row:hover { box-shadow: var(--shadow-card); border-color: var(--accent); transform: translateY(-2px); }
.tariff-row h3 { font-size: 19px; display: flex; align-items: center; gap: 12px; text-transform: none; font-family: "Big Shoulders Display", sans-serif; }
.tariff-row p { margin: 10px 0 0; color: var(--muted); max-width: 60ch; }

.tariff-icon {
  flex: none; width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent);
}
.tariff-icon svg { width: 18px; height: 18px; }

/* ---------- TokkenUp brand band ---------- */

.brand-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-band .wrap { padding: 56px 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
@media (max-width: 760px) { .brand-band .wrap { grid-template-columns: 1fr; text-align: center; } }
.brand-band-mark {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 24px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.brand-band-mark img { height: 32px; width: auto; display: block; }
.brand-band-copy .eyebrow { margin-bottom: 8px; }
.brand-band-copy h2 { font-size: clamp(22px, 3vw, 30px); }
.brand-band-copy p { color: var(--muted); margin-top: 10px; max-width: 56ch; }
@media (max-width: 760px) { .brand-band-copy p { margin-left: auto; margin-right: auto; } }

/* ---------- pricing (contact-for-pricing) ---------- */

.quote-card {
  position: relative;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--panel-bg-2), var(--panel-bg));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: var(--panel-fg);
  box-shadow: var(--shadow-lift);
}
.quote-card::before {
  content: "";
  position: absolute; inset: -40% -10% auto -10%; height: 60%;
  background: radial-gradient(closest-side, rgba(109,90,251,0.4), transparent 70%);
  pointer-events: none;
}
.quote-card .eyebrow { color: var(--panel-accent-2); justify-content: center; position: relative; }
.quote-card h2 { color: var(--panel-fg); font-size: clamp(26px, 4vw, 38px); margin-top: 14px; position: relative; }
.quote-card p { color: var(--panel-muted); margin-top: 14px; max-width: 52ch; margin-left: auto; margin-right: auto; position: relative; font-size: 16px; }
.quote-card .hero-actions { justify-content: center; margin-top: 28px; position: relative; }

.quote-points {
  max-width: 780px; margin: 56px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 700px) { .quote-points { grid-template-columns: 1fr; } }
.quote-point {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.quote-point .mono { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.quote-point p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--line); max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 17px; text-transform: none; font-family: "Work Sans", sans-serif; font-weight: 600; }
.faq-item p { color: var(--muted); margin: 10px 0 0; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 420px at 20% 0%, #1A1836, var(--panel-bg) 60%);
  color: var(--panel-fg);
}
.cta-band .parallax-scene { z-index: 0; }
.cta-glow { width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); background: rgba(109,90,251,0.3); top: -120px; right: 10%; }
.cta-band .wrap { position: relative; z-index: 1; padding: 72px 24px; text-align: center; }
.cta-band h2 { color: var(--panel-fg); font-size: clamp(28px, 4vw, 40px); }
.cta-band p { color: var(--panel-muted); margin-top: 14px; }
.cta-band .hero-actions { justify-content: center; margin-top: 28px; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.contact-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.contact-card .eyebrow { margin-bottom: 14px; }
.contact-card h3 { font-size: 22px; margin-bottom: 10px; text-transform: none; font-family: "Big Shoulders Display", sans-serif; }
.contact-card p { color: var(--muted); margin: 0 0 20px; }

/* ---------- footer ---------- */

.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 32ch; }
.footer h4 {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { text-decoration: none; font-size: 14.5px; color: var(--ink-soft); }
.footer ul a:hover { color: var(--ink); }

.footer-tokken {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.footer-tokken img { height: 22px; width: auto; flex: none; display: block; }
.footer-tokken a { text-decoration: none; }
.footer-tokken .tk-copy { font-size: 13.5px; color: var(--muted); }
.footer-tokken .tk-copy strong { color: var(--ink); font-weight: 600; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 24px;
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; gap: 12px;
}

/* ---------- generic page hero (non-home) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 420px at 85% -20%, rgba(109,90,251,0.12), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-top: 16px; }
.page-hero p.lede { font-size: 18px; color: var(--muted); max-width: 60ch; margin-top: 18px; }

/* skip link */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
