/* ==========================================================================
   Agentrone — site styles
   Visual language follows the agentrone.com placeholder: Space Grotesk,
   deep near-black canvas, blue→violet accent gradient, floating glows,
   glass badges with a pulsing dot, gradient wordmark.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg: #08080d;
  --bg-elev: #0e0e16;
  --text: #f5f5fa;
  --text-dim: #a3a3b5;
  --text-faint: #7c7c8f;
  --accent-1: #4f7dff;
  --accent-2: #b24bff;
  --accent-text: #8fa9ff;
  --btn-1: #3d63e6;
  --btn-2: #9a36e8;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --header-bg: rgba(8, 8, 13, 0.72);
  --grid-line: rgba(255, 255, 255, 0.045);
  --glow-opacity: 0.32;
  --particle: rgba(255, 255, 255, 0.5);
  --spot: rgba(79, 125, 255, 0.13);
  --wordmark: linear-gradient(135deg, #ffffff 20%, var(--accent-1) 65%, var(--accent-2) 100%);
  --accent-grad: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --btn-grad: linear-gradient(135deg, var(--btn-1), var(--btn-2));
  --focus: #8fa9ff;
  --danger: #ff8394;
  --success: #5ee0a0;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1160px;
  --gutter: 20px;
  --header-h: 68px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6fb;
    --bg-elev: #ffffff;
    --text: #0b0b14;
    --text-dim: #4b4b5e;
    --text-faint: #646478;
    --accent-text: #3354d1;
    --border: rgba(14, 14, 40, 0.1);
    --border-strong: rgba(14, 14, 40, 0.18);
    --glass: rgba(255, 255, 255, 0.62);
    --glass-strong: rgba(255, 255, 255, 0.85);
    --header-bg: rgba(246, 246, 251, 0.8);
    --grid-line: rgba(14, 14, 50, 0.06);
    --glow-opacity: 0.17;
    --particle: rgba(79, 125, 255, 0.45);
    --spot: rgba(79, 125, 255, 0.09);
    --wordmark: linear-gradient(135deg, #0b0b14 15%, var(--btn-1) 60%, var(--btn-2) 100%);
    --focus: #3354d1;
    --danger: #c3223a;
    --success: #0f7a4b;
    --shadow: 0 24px 50px -28px rgba(30, 30, 90, 0.28);
    color-scheme: light;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  background: var(--bg);
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  min-height: 100vh;
  /* page colour lives on <html>; body stays transparent so the fixed glow layer shows through */
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--text); }

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

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--bg-elev); color: var(--text); border: 1px solid var(--border-strong);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.nowrap { white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.grad-text {
  background: var(--wordmark);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- ambient background (from the placeholder) ---------- */
.glow { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.glow::before, .glow::after {
  content: ""; position: absolute; border-radius: 50%;
  opacity: var(--glow-opacity); will-change: transform;
  width: 110vw; height: 110vw; filter: blur(80px);
}
.glow::before { background: radial-gradient(circle, var(--accent-1), transparent 70%); top: -35vw; left: -40vw; animation: mfloat1 14s ease-in-out infinite; }
.glow::after  { background: radial-gradient(circle, var(--accent-2), transparent 70%); bottom: -40vw; right: -40vw; animation: mfloat2 16s ease-in-out infinite; }
@media (min-width: 641px) {
  .glow::before, .glow::after { width: 55vmax; height: 55vmax; filter: blur(140px); }
  .glow::before { top: -20%; left: -10%; animation: float1 16s ease-in-out infinite; }
  .glow::after  { bottom: -25%; right: -10%; animation: float2 18s ease-in-out infinite; }
}
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8%,10%) scale(1.15); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6%,-8%) scale(1.1); } }
@keyframes mfloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(10vw,12vw); } }
@keyframes mfloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-10vw,-10vw); } }

.spot {
  position: fixed; z-index: -1; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, var(--spot), transparent 65%);
  pointer-events: none; transform: translate(-50%, -50%);
  transition: left 0.25s ease-out, top 0.25s ease-out;
  left: 50%; top: 30%; display: none;
}
@media (hover: hover) and (pointer: fine) { .spot.is-on { display: block; } }

.particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; bottom: 0; width: 2px; height: 2px; border-radius: 50%;
  background: var(--particle); animation: drift linear infinite; opacity: 0;
}
@media (min-width: 641px) { .particle { width: 3px; height: 3px; } }
@keyframes drift {
  from { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.8; } 90% { opacity: 0.8; }
  to { transform: translateY(-105vh) translateX(18px); opacity: 0; }
}

.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

/* ---------- badge with pulsing dot ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.875rem; font-weight: 500; line-height: 1.3; color: var(--text-dim);
}
.badge .dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 10px var(--accent-1);
  animation: pulse 2s ease-in-out infinite;
}
.badge--sm { gap: 8px; padding: 5px 11px; font-size: 0.75rem; }
.badge--sm .dot { width: 6px; height: 6px; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.975rem; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  color: #fff; background: var(--btn-grad);
  box-shadow: 0 8px 30px -10px rgba(79, 125, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(178, 75, 255, 0.7), inset 0 1px 0 rgba(255,255,255,0.2); }
.btn--ghost {
  color: var(--text); background: var(--glass); border-color: var(--border-strong);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--glass-strong); border-color: var(--accent-1); }
.btn--sm { min-height: 40px; padding: 9px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1;
}
.logo-mark { width: 28px; height: 28px; flex: none; }
.logo-word { background: var(--wordmark); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 2px; }

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  color: var(--text-dim); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav a:not(.btn):hover { color: var(--text); background: var(--glass); }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--border); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* mobile menu (JS adds .js to <html>; without JS the nav stays visible as a list) */
.mobile-nav { border-top: 1px solid var(--border); padding-block: 12px 20px; max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.mobile-nav ul { display: grid; gap: 2px; }
.mobile-nav a:not(.btn) {
  display: block; padding: 12px 4px; color: var(--text); text-decoration: none;
  font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 16px; width: 100%; }
.js .mobile-nav { display: none; }
.js .mobile-nav.is-open { display: block; }
html:not(.js) .menu-toggle { display: none; }

@media (min-width: 900px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav, .js .mobile-nav.is-open { display: none; }
  html:not(.js) .mobile-nav { display: none; }
}

/* ---------- sections ---------- */
.section { padding-block: 88px; position: relative; }
@media (min-width: 900px) { .section { padding-block: 128px; } }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
}
.eyebrow span { color: var(--accent-text); }
.h2 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  line-height: 1.08; letter-spacing: -0.035em; font-weight: 700;
  text-wrap: balance;
}
.lead { margin-top: 18px; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem); color: var(--text-dim); line-height: 1.55; }

.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding-block: 72px 96px;
  text-align: center;
}
.hero .grid-bg { position: absolute; inset: 0; z-index: -1; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero .badge { margin-bottom: 28px; }
.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.4rem, 1.2rem + 5vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.04em; font-weight: 700;
  text-wrap: balance;
}
.hero h1 .grad-text { display: block; padding-bottom: 0.06em; }
.hero-sub {
  max-width: 640px; margin-top: 24px;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); line-height: 1.5; color: var(--text-dim);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 24px; font-size: 0.9rem; color: var(--text-faint); font-style: italic; max-width: 460px; }
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; max-width: 340px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- why ---------- */
.why-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { padding: 28px 24px; }
.why-card h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin: 20px 0 8px; }
.why-card p { color: var(--text-dim); font-size: 0.975rem; }

.icon-tile {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: var(--btn-grad);
  box-shadow: 0 8px 24px -8px rgba(79, 125, 255, 0.6);
}
.icon-tile svg { width: 24px; height: 24px; }

/* ---------- agents ---------- */
.dev-banner {
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
  padding: 22px 24px; margin-bottom: 56px;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    var(--accent-grad) border-box;
  border: 1px solid transparent;
}
.dev-banner p { color: var(--text-dim); font-style: italic; max-width: 720px; }
.dev-banner .badge { margin-bottom: 10px; font-style: normal; }
@media (min-width: 800px) {
  .dev-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 28px; }
  .dev-banner .btn { flex: none; }
}

.tier + .tier { margin-top: 56px; }
.tier-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.tier-head h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.tier-price { color: var(--text-dim); font-weight: 500; }
.tier-price strong { color: var(--text); }

.agent-grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .agent-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

.agent-card { display: flex; flex-direction: column; padding: 26px 22px; transition: border-color 0.25s ease, transform 0.25s ease; }
@media (min-width: 640px) { .agent-card { padding: 32px 30px; } }
.agent-card:hover { border-color: var(--border-strong); }
.agent-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.avatar {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -0.02em;
  background: var(--btn-grad);
  box-shadow: 0 10px 28px -10px rgba(178, 75, 255, 0.65), inset 0 1px 0 rgba(255,255,255,0.25);
}
.agent-card h4 { font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.03em; }
.agent-role { display: block; margin-top: 4px; font-size: 1rem; font-weight: 500; color: var(--accent-text); letter-spacing: -0.005em; }
.agent-desc { margin-top: 14px; color: var(--text-dim); }
.checklist { margin-top: 20px; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 0.975rem; line-height: 1.5; }
.checklist li::before {
  content: ""; width: 20px; height: 20px; margin-top: 2px;
  background: var(--accent-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke-width='1.6'/%3E%3Cpath d='m8 12.3 2.7 2.7L16.2 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke-width='1.6'/%3E%3Cpath d='m8 12.3 2.7 2.7L16.2 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.best-for {
  margin-top: 22px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--glass); border: 1px dashed var(--border-strong);
  font-size: 0.95rem; color: var(--text-dim);
}
.best-for strong { color: var(--text); font-weight: 600; }
.agent-foot {
  margin-top: auto; padding-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.agent-price { font-weight: 600; font-size: 1.05rem; }
.agent-price span { display: block; font-size: 0.85rem; font-weight: 400; color: var(--text-faint); }
.agent-card .best-for { margin-bottom: 4px; }
@media (max-width: 420px) { .agent-foot .btn { width: 100%; } }

.agents-footer {
  margin-top: 56px; padding: 28px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.agents-footer p { max-width: 620px; color: var(--text-dim); font-size: 1.05rem; }
.agents-footer strong { display: block; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 6px; }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; position: relative; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps::before {
    content: ""; position: absolute; left: 12%; right: 12%; top: 52px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-2), transparent);
    opacity: 0.6; z-index: -1;
  }
}
.step { padding: 28px 24px; }
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
  background: var(--bg-elev); border: 1px solid var(--border-strong); color: var(--text);
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px -4px var(--accent-1);
}
.step h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin: 20px 0 8px; }
.step p { color: var(--text-dim); font-size: 0.975rem; }

/* ---------- pricing ---------- */
.price-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.price-card { display: flex; flex-direction: column; padding: 30px 26px; }
.price-card h3 { font-size: 1.35rem; letter-spacing: -0.02em; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-amount { margin-top: 22px; font-size: clamp(2.4rem, 2rem + 1.5vw, 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price-amount small { font-size: 0.45em; font-weight: 500; letter-spacing: -0.01em; color: var(--text-dim); }
.price-unit { margin-top: 8px; color: var(--text-dim); font-size: 0.95rem; }
.price-divider { height: 1px; background: var(--border); margin: 24px 0 18px; }
.price-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.price-agents { color: var(--text-dim); font-size: 0.975rem; }
.price-meet { margin-top: 16px; font-size: 0.9rem; color: var(--text-faint); }
.price-meet a { font-weight: 500; }
.price-card--accent {
  background:
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    var(--accent-grad) border-box;
  border-color: transparent;
}
.price-note {
  margin-top: 28px; text-align: center; color: var(--text-dim); font-style: italic; font-size: 0.95rem;
  max-width: 760px; margin-inline: auto;
}
.price-cta { margin-top: 28px; display: flex; justify-content: center; }

/* ---------- early access ---------- */
.ea-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .ea-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.ea-intro .h2 { max-width: 18ch; }
.ea-mail { margin-top: 28px; color: var(--text-dim); }
.ea-mail a { font-weight: 600; font-size: 1.1rem; }
.ea-intro ul { margin-top: 28px; display: grid; gap: 10px; }

.form-card { padding: 26px 22px; }
@media (min-width: 640px) { .form-card { padding: 36px 34px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field .opt { color: var(--text-faint); font-weight: 400; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--bg-elev); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 1rem; line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: var(--text-faint); }
.input:hover { border-color: var(--text-faint); }
.input:focus { outline: none; border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(79, 125, 255, 0.35); }
.input[aria-invalid="true"] { border-color: var(--danger); }
textarea.input { min-height: 140px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8aa0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field-error { color: var(--danger); font-size: 0.875rem; min-height: 0; }
.field-error:empty { display: none; }
.form-actions { margin-top: 24px; display: grid; gap: 14px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-msg {
  display: none; padding: 14px 16px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.95rem; border: 1px solid;
}
.form-msg.is-shown, .form-msg:target { display: block; }
.form-msg--ok { color: var(--success); border-color: color-mix(in srgb, var(--success) 45%, transparent); background: color-mix(in srgb, var(--success) 10%, transparent); }
.form-msg--err { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 9%, transparent); }
.form-msgs { margin-bottom: 18px; }
.form-msgs:empty { display: none; }
.field-flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(79,125,255,0); } 30% { box-shadow: 0 0 0 4px rgba(79,125,255,0.45); } 100% { box-shadow: 0 0 0 0 rgba(79,125,255,0); } }

/* ---------- about ---------- */
.about { text-align: center; }
.about p:not(.eyebrow) {
  max-width: 820px; margin-inline: auto;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.85rem); line-height: 1.4; letter-spacing: -0.02em; font-weight: 500;
}
.about p .dim { color: var(--text-dim); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 48px 40px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.footer-company { color: var(--text-dim); margin-top: 16px; font-size: 0.95rem; font-style: normal; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (min-width: 820px) { .footer-links { justify-content: flex-end; } }
.footer-links a { color: var(--text-dim); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 0.875rem; }

/* ---------- legal pages ---------- */
.legal { padding-block: 56px 96px; }
.legal-layout { display: grid; gap: 40px; }
@media (min-width: 1040px) { .legal-layout { grid-template-columns: 260px minmax(0, 70ch); gap: 72px; justify-content: center; } }
.legal-head { margin-bottom: 36px; }
.legal-head .badge { margin-bottom: 20px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; }
.legal .effective { margin-top: 14px; color: var(--text-dim); }
.prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.75; color: var(--text-dim); }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  margin-top: 2.4em; font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.02em; color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h3 { margin-top: 1.6em; font-size: 1.1rem; color: var(--text); }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose ul li + li { margin-top: 0.45em; }
.prose ul li::marker { color: var(--accent-1); }
.prose strong { color: var(--text); }

.toc { align-self: start; }
@media (min-width: 1040px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; } }
.toc-box { padding: 20px 18px; }
.toc h2 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.toc ol { display: grid; gap: 2px; }
.toc a {
  display: grid; grid-template-columns: 2.1em 1fr; padding: 6px 8px; border-radius: 8px;
  color: var(--text-dim); text-decoration: none; font-size: 0.925rem; line-height: 1.4;
}
.toc a:hover { color: var(--text); background: var(--glass-strong); }
.toc a span { color: var(--text-faint); font-variant-numeric: tabular-nums; }
.back-top { margin-top: 48px; }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding-block: 96px; }
.notfound .code { font-size: clamp(5rem, 3rem + 12vw, 10rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.notfound h1 { margin-top: 12px; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); letter-spacing: -0.03em; }
.notfound p { margin: 12px auto 32px; color: var(--text-dim); max-width: 420px; }

/* ---------- reveal on scroll (only with JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .glow::before, .glow::after, .badge .dot { animation: none !important; }
  .particles, .spot { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
