/* ---------------------------------------------------------------------
   AgentHub Builder — marketing site
   Palette mirrors the product's own dashboard theme (dark navy + blue
   accent), so clicking "Sign in" feels like a continuation, not a jump.
--------------------------------------------------------------------- */

:root {
  --color-surface: #0b0e14;
  --color-surface-2: #080a10;
  --color-panel: #11151f;
  --color-panel-2: #171c29;
  --color-edge: #232a3b;
  --color-accent: #4169e1;
  --color-accent-2: #7c9cff;
  --color-fg: #e2e8f0;
  --color-fg-muted: #94a3b8;
  --color-fg-dim: #64748b;
  --color-online: #10b981;
  --color-idle: #38bdf8;
  --color-busy: #fbbf24;
  --color-offline: #64748b;
  --color-danger: #fb7185;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 12px 30px -12px rgba(0, 0, 0, 0.45);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="light"] {
  --color-surface: #f8fafc;
  --color-surface-2: #eef2f7;
  --color-panel: #ffffff;
  --color-panel-2: #f1f5f9;
  --color-edge: #e2e8f0;
  --color-fg: #0f172a;
  --color-fg-muted: #475569;
  --color-fg-dim: #64748b;
  --color-online: #059669;
  --color-idle: #0284c7;
  --color-busy: #d97706;
  --color-offline: #94a3b8;
  --color-danger: #e11d48;
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.18);
  --shadow-md: 0 12px 30px -12px rgba(15, 23, 42, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-fg);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

::selection { background: var(--color-accent); color: #fff; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--color-edge); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-fg-dim); }
::-webkit-scrollbar-track { background: transparent; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 2px; }

.btn-primary {
  background: linear-gradient(180deg, var(--color-accent-2), var(--color-accent));
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(65, 105, 225, 0.65);
}
.btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(65, 105, 225, 0.8); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-edge);
}
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent-2); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------------------------------- topbar ---------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--color-surface) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.topbar.is-scrolled { border-bottom-color: var(--color-edge); }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--color-accent-2), var(--color-accent) 70%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px -6px rgba(65, 105, 225, 0.65);
}
.brand-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--color-fg-dim);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-fg-muted);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--color-fg); background: var(--color-panel-2); }

.topbar-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--color-edge);
  background: var(--color-panel);
  color: var(--color-fg-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.icon-btn:hover { color: var(--color-accent-2); border-color: var(--color-accent); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--color-edge);
  background: var(--color-panel);
  color: var(--color-fg);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-x { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-x { display: block; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .btn-nav-login { display: none; }

  body.nav-open .mobile-menu {
    max-height: 420px;
    opacity: 1;
    padding-top: 8px;
    padding-bottom: 20px;
  }
}

.mobile-menu {
  display: none;
}
@media (max-width: 880px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-inline: 24px;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), padding 0.35s var(--ease);
    border-bottom: 1px solid var(--color-edge);
    background: var(--color-surface);
  }
  .mobile-menu a {
    padding: 12px 8px;
    border-radius: 10px;
    color: var(--color-fg-muted);
    font-weight: 500;
    border-bottom: 1px solid var(--color-edge);
  }
  .mobile-menu a:last-of-type { border-bottom: none; }
  .mobile-menu .btn { margin-top: 8px; }
}

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

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(600px 380px at 18% 10%, color-mix(in srgb, var(--color-accent) 26%, transparent), transparent 70%),
    radial-gradient(500px 320px at 85% 25%, color-mix(in srgb, var(--color-idle) 16%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-edge) 55%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-edge) 55%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-edge);
  background: var(--color-panel);
  color: var(--color-fg-muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-online);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-online) 25%, transparent);
}

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--color-accent-2), var(--color-accent) 60%, var(--color-idle));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 20px 0 0;
  max-width: 54ch;
  font-size: 17px;
  color: var(--color-fg-muted);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-fg-dim);
  font-weight: 500;
}
.hero-meta-item .icon { color: var(--color-online); }

/* ---- hero visual: mock dashboard card ---- */

.hero-visual { position: relative; }

.mock-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-edge);
  background: linear-gradient(180deg, var(--color-panel), var(--color-panel-2));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-edge);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-edge); }
.mock-dot:nth-child(1) { background: #fb7185; }
.mock-dot:nth-child(2) { background: #fbbf24; }
.mock-dot:nth-child(3) { background: #10b981; }
.mock-card-head span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--color-fg-dim);
  font-weight: 500;
}

.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-edge);
  background: color-mix(in srgb, var(--color-panel) 60%, transparent);
  animation: fade-up 0.6s var(--ease) both;
}
.mock-avatar {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-panel-2);
  color: var(--color-accent-2);
  flex-shrink: 0;
}
.mock-avatar svg { width: 17px; height: 17px; }
.mock-row-text { flex: 1; min-width: 0; }
.mock-row-title { font-size: 13.5px; font-weight: 600; }
.mock-row-sub { font-size: 11.5px; color: var(--color-fg-dim); margin-top: 2px; }
.mock-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  padding: 4px 9px; border-radius: 999px;
}
.mock-status .dot { width: 6px; height: 6px; border-radius: 50%; }
.mock-status.online { color: var(--color-online); background: color-mix(in srgb, var(--color-online) 16%, transparent); }
.mock-status.online .dot { background: var(--color-online); }
.mock-status.busy { color: var(--color-busy); background: color-mix(in srgb, var(--color-busy) 16%, transparent); }
.mock-status.busy .dot { background: var(--color-busy); }
.mock-status.idle { color: var(--color-idle); background: color-mix(in srgb, var(--color-idle) 16%, transparent); }
.mock-status.idle .dot { background: var(--color-idle); }

.mock-chart {
  margin-top: 2px;
  height: 64px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-edge);
  background: color-mix(in srgb, var(--color-panel) 60%, transparent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  padding: 10px 14px;
}
.mock-chart span {
  flex: 0 0 2.5px;
  width: 2.5px;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(180deg, var(--color-accent-2), var(--color-accent));
  opacity: 0.9;
  animation: bar-grow 0.9s ease-in-out infinite alternate;
}
.mock-chart span.c2 {
  background: linear-gradient(180deg, #6ee7b7, var(--color-online));
}
.mock-chart span.c3 {
  background: linear-gradient(180deg, #fcd34d, var(--color-busy));
}

@keyframes bar-grow {
  from { transform: scaleY(0.5); }
  to { transform: scaleY(1); }
}

.float-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--color-edge);
  background: var(--color-panel);
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 600;
  animation: net-float 6s ease-in-out infinite;
}
.float-badge svg { width: 15px; height: 15px; color: var(--color-accent-2); }
.float-badge.b1 { top: -18px; right: 12%; animation-delay: 0.3s; }
.float-badge.b2 { bottom: -16px; left: 6%; animation-delay: 1.1s; }

@keyframes net-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-badge, .mock-chart span { animation: none; }
}
@media (max-width: 520px) {
  .float-badge { display: none; }
}

/* ---------------------------------- sections ---------------------------------- */

section { position: relative; }

.section-pad { padding: 88px 0; }
@media (max-width: 680px) { .section-pad { padding: 60px 0; } }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-head p {
  margin: 14px 0 0;
  color: var(--color-fg-muted);
  font-size: 15.5px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-2);
}
.kicker .icon { width: 14px; height: 14px; }

/* stats strip */
.stats-strip {
  border-top: 1px solid var(--color-edge);
  border-bottom: 1px solid var(--color-edge);
  background: var(--color-panel);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 20px;
  border-left: 1px solid var(--color-edge);
  text-align: center;
}
.stat-item:first-child { border-left: none; }
.stat-num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-fg);
}
.stat-label { font-size: 12.5px; color: var(--color-fg-dim); font-weight: 500; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: none; }
}

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

.feature-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-edge);
  background: linear-gradient(180deg, var(--color-panel), color-mix(in srgb, var(--color-panel) 85%, var(--color-surface)));
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-edge));
  box-shadow: var(--shadow-md);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--color-accent) 14%, var(--color-panel-2));
  color: var(--color-accent-2);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.feature-card p { margin: 0; font-size: 14px; color: var(--color-fg-muted); line-height: 1.55; }

/* how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step-card {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-edge);
  background: var(--color-panel);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--color-accent) 16%, var(--color-panel-2));
  color: var(--color-accent-2);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
}
.step-card h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; }
.step-card p { margin: 0; font-size: 13.5px; color: var(--color-fg-muted); line-height: 1.5; }
.step-arrow {
  position: absolute;
  top: 34px;
  right: -25px;
  color: var(--color-fg-dim);
  z-index: 2;
}
.step-arrow svg { width: 16px; height: 16px; }
@media (max-width: 980px) { .step-arrow { display: none; } }

/* architecture */
.arch-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 980px) { .arch-wrap { grid-template-columns: 1fr; } }

.arch-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.arch-item { display: flex; gap: 14px; align-items: flex-start; }
.arch-item-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--color-panel-2);
  border: 1px solid var(--color-edge);
  color: var(--color-accent-2);
}
.arch-item-icon svg { width: 18px; height: 18px; }
.arch-item h4 { margin: 0 0 3px; font-size: 14.5px; font-weight: 700; }
.arch-item p { margin: 0; font-size: 13.5px; color: var(--color-fg-muted); }

.stack-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-edge);
  background: var(--color-panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-fg-muted);
}

.agent-stack-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-edge);
  background: var(--color-panel);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.agent-stack-card h4 {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--color-fg-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stack-layer {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-edge);
  margin-bottom: 10px;
  background: color-mix(in srgb, var(--color-panel-2) 60%, transparent);
}
.stack-layer:last-child { margin-bottom: 0; }
.stack-layer-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-panel-2);
  color: var(--color-accent-2);
  flex-shrink: 0;
}
.stack-layer-icon svg { width: 16px; height: 16px; }
.stack-layer-text { flex: 1; min-width: 0; }
.stack-layer-title { font-size: 13px; font-weight: 700; }
.stack-layer-sub { font-size: 11.5px; color: var(--color-fg-dim); margin-top: 1px; }
.stack-connector {
  width: 1px;
  height: 10px;
  margin-left: 30px;
  background: var(--color-edge);
}

/* trust / security */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-edge);
  background: var(--color-panel);
}
.trust-card .feature-icon { background: color-mix(in srgb, var(--color-online) 14%, var(--color-panel-2)); color: var(--color-online); }
.trust-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.trust-card p { margin: 0; font-size: 13.5px; color: var(--color-fg-muted); line-height: 1.55; }

/* CTA banner */
.cta-banner {
  position: relative;
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--color-edge);
  background:
    radial-gradient(600px 260px at 50% 0%, color-mix(in srgb, var(--color-accent) 30%, transparent), transparent 70%),
    linear-gradient(180deg, var(--color-panel), var(--color-panel-2));
}
.cta-banner h2 {
  margin: 0 auto;
  max-width: 30ch;
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta-banner p {
  margin: 14px auto 0;
  max-width: 46ch;
  color: var(--color-fg-muted);
  font-size: 15px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--color-edge);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 780px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
.footer-brand p {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--color-fg-muted);
  max-width: 34ch;
  line-height: 1.6;
}
.footer-col h5 {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--color-fg-muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--color-accent-2); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--color-fg-dim);
}
.footer-bottom .org {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom img { height: 20px; width: auto; opacity: 0.9; }

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

/* Guarded behind html.js (added by an inline head script) so content stays
   visible by default if JS fails to load or IntersectionObserver is
   unsupported — reveal is a progressive enhancement, never a requirement
   for reading the page. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
