/* ==========================================================================
   Astrodyne — canonical public design system (Phase 4A.2)
   ==========================================================================

   One visual language for every public surface, derived from the approved
   builder-facing homepage. It replaces the older "Zen" light/paper system that
   still governed /pricing, /features, /catalog, /use-cases/* and /beta and made
   the product look like two different companies.

   Personality: clean, simple, modern, Apple-like, approachable, low cognitive
   load. Dark by default (matching the homepage and console); the light token
   set is opt-in via <html data-ad-theme="light">.

   Conventions
   -----------
   * All components are prefixed `ad-` so they cannot collide with the console's
     own classes or with the legacy zen.css.
   * Never hardcode a colour in a template — use a token.
   * Every interactive element gets a visible focus ring.

   Contents: tokens · shell · nav · typography · surfaces · cards · stats ·
   buttons · badges · alerts · forms · tables · code · tabs · empty/loading ·
   modal · utilities · responsive · motion
   ========================================================================== */

:root {
  /* ── surface + ink ───────────────────────────────────────────────────── */
  --ad-bg:            #0D1015;
  --ad-bg-raised:     #11151B;
  --ad-ink:           #F5F7FA;
  --ad-ink-soft:      #AEB6C2;
  --ad-ink-mute:      #7E8896;  /* Phase 5D — 4.25:1 measured; now 5.31:1 (WCAG AA) */

  --ad-glass:         rgba(255, 255, 255, 0.055);
  --ad-glass-2:       rgba(255, 255, 255, 0.085);
  --ad-edge:          rgba(255, 255, 255, 0.10);
  --ad-edge-soft:     rgba(255, 255, 255, 0.06);
  --ad-edge-strong:   rgba(255, 255, 255, 0.20);

  /* ── accent ──────────────────────────────────────────────────────────── */
  --ad-accent:        oklch(0.86 0.07 218);
  --ad-accent-soft:   rgba(127, 212, 224, 0.10);
  --ad-accent-border: rgba(127, 212, 224, 0.28);
  --ad-warm:          oklch(0.78 0.10 55);
  --ad-danger:        oklch(0.68 0.17 25);
  --ad-success:       oklch(0.78 0.12 155);

  /* ── type ────────────────────────────────────────────────────────────── */
  --ad-font-display: 'Instrument Serif', Georgia, serif;
  --ad-font-body:    'Instrument Sans', system-ui, -apple-system, sans-serif;
  --ad-font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --ad-text-xs:   12px;
  --ad-text-sm:   13px;
  --ad-text-base: 15px;
  --ad-text-md:   17px;
  --ad-text-lg:   21px;
  --ad-text-xl:   27px;
  --ad-text-2xl:  34px;

  /* ── spacing (4px grid) ──────────────────────────────────────────────── */
  --ad-s1: 4px;  --ad-s2: 8px;  --ad-s3: 12px; --ad-s4: 16px;
  --ad-s5: 20px; --ad-s6: 24px; --ad-s8: 32px; --ad-s10: 40px;
  --ad-s12: 48px; --ad-s16: 64px; --ad-s20: 80px;

  /* ── radii + shadow ──────────────────────────────────────────────────── */
  --ad-r-sm: 10px;
  --ad-r:    14px;
  --ad-r-lg: 20px;
  --ad-r-xl: 24px;
  --ad-r-pill: 999px;

  --ad-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --ad-shadow:    0 30px 70px -28px rgba(0, 0, 0, 0.70);
  --ad-shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.80);

  --ad-blur: 22px;
  --ad-ease: cubic-bezier(0.2, 0.65, 0.25, 1);
  --ad-maxw: 1180px;
}

/* Light theme — OPT-IN ONLY via <html data-ad-theme="light">.
   Deliberately NOT driven by prefers-color-scheme: the homepage shell is
   hard-dark, so honouring an OS light preference here would make /pricing light
   while / stayed dark — exactly the two-generations problem this phase fixes.
   The tokens exist so a future operator-controlled theme switch is a one-line
   change rather than a restyle. */
:root[data-ad-theme="light"] {
  --ad-bg:          #FBFBFC;
  --ad-bg-raised:   #FFFFFF;
  --ad-ink:         #14181D;
  --ad-ink-soft:    #4A525C;
  --ad-ink-mute:    #7A828C;
  --ad-glass:       rgba(15, 20, 26, 0.030);
  --ad-glass-2:     rgba(15, 20, 26, 0.055);
  --ad-edge:        rgba(15, 20, 26, 0.11);
  --ad-edge-soft:   rgba(15, 20, 26, 0.07);
  --ad-edge-strong: rgba(15, 20, 26, 0.22);
  --ad-shadow-sm:   0 1px 2px rgba(15, 20, 26, 0.06);
  --ad-shadow:      0 24px 60px -30px rgba(15, 20, 26, 0.22);
  --ad-shadow-lg:   0 34px 80px -32px rgba(15, 20, 26, 0.28);
}

/* ── shell ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ad {
  margin: 0;
  background: var(--ad-bg);
  color: var(--ad-ink);
  font-family: var(--ad-font-body);
  font-size: var(--ad-text-base);
  line-height: 1.55;
  overflow-x: hidden;
}

.ad-bg-wash {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 820px at 18% -8%, rgba(90, 120, 150, 0.16), transparent 58%),
    radial-gradient(1000px 720px at 92% 4%, rgba(150, 110, 80, 0.07), transparent 52%),
    radial-gradient(1400px 900px at 50% 118%, rgba(70, 100, 130, 0.12), transparent 60%),
    var(--ad-bg);
}

.ad-main { display: block; }

.ad-container { max-width: var(--ad-maxw); margin: 0 auto; padding: 0 var(--ad-s6); }
.ad-section   { padding: var(--ad-s20) 0; }
.ad-section-sm { padding: var(--ad-s12) 0; }

/* ── navigation (public) ───────────────────────────────────────────────── */
.ad-nav {
  position: sticky; top: 18px; z-index: 60;
  display: flex; justify-content: center;
  padding: 14px var(--ad-s5) 0;
}
.ad-nav-inner {
  display: flex; align-items: center; gap: var(--ad-s6);
  width: 100%; max-width: var(--ad-maxw);
  padding: 11px 12px 11px 22px;
  border-radius: var(--ad-r-xl);
  background: var(--ad-glass);
  backdrop-filter: blur(var(--ad-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--ad-blur)) saturate(160%);
  border: 1px solid var(--ad-edge);
  box-shadow: var(--ad-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background .22s var(--ad-ease), border-color .22s var(--ad-ease), box-shadow .22s var(--ad-ease);
}
.ad-nav.ad-nav-scrolled .ad-nav-inner { isolation:isolate; background: rgba(8,12,17,.96); border-color: rgba(184,202,217,.18); box-shadow: 0 7px 20px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.08); }
.ad-nav.ad-nav-receded .ad-nav-inner { opacity: 1; background: rgba(8,12,17,.975); box-shadow: none; }
.ad-nav.ad-nav-receded:hover .ad-nav-inner, .ad-nav.ad-nav-receded:focus-within .ad-nav-inner { background: rgba(8,12,17,.985); box-shadow: 0 7px 20px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.08); }
.ad-brand {
  display: flex; align-items: center; gap: 11px;
  color: var(--ad-ink); text-decoration: none;
  font-size: var(--ad-text-lg); font-weight: 600; letter-spacing: -0.02em;
}
.ad-nav-links {
  display: flex; gap: var(--ad-s8); margin: 0 auto;
  font-family: var(--ad-font-mono); font-size: var(--ad-text-sm);
}
.ad-nav-links a { color: var(--ad-ink-soft); text-decoration: none; transition: color .18s var(--ad-ease); }
.ad-nav-links a:hover, .ad-nav-links a[aria-current="page"] { color: var(--ad-ink); }
.ad-nav-actions { display: flex; align-items: center; gap: var(--ad-s2); }
.ad-mobile-menu { display: none; position: relative; z-index: 2; }
.ad-mobile-menu summary { width: 40px; height: 40px; display: grid; place-content: center; gap: 4px; cursor: pointer; list-style: none; border: 1px solid var(--ad-edge); border-radius: 11px; background: var(--ad-glass); transition: background .18s var(--ad-ease),border-color .18s var(--ad-ease); }
.ad-mobile-menu summary::-webkit-details-marker { display: none; }
.ad-mobile-menu summary span { display: block; width: 16px; height: 1px; background: var(--ad-ink-soft); }
.ad-mobile-menu[open] summary { border-color: var(--ad-edge-strong); background: rgba(16,21,29,.98); }
.ad-mobile-menu-panel { position: absolute; z-index: 2; top: 48px; right: 0; width: 210px; display: grid; padding: 10px; border: 1px solid rgba(184,202,217,.24); border-radius: 14px; background: rgba(7,10,14,.995); box-shadow: var(--ad-shadow-lg),0 18px 45px rgba(0,0,0,.35); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); }
.ad-mobile-menu-panel a { padding: 12px 13px; border-radius: 8px; color: #c8d0da; font-family: var(--ad-font-mono); font-size: 12px; }
.ad-mobile-menu-panel a:hover { color: var(--ad-ink); background: var(--ad-glass); }

/* ── typography ────────────────────────────────────────────────────────── */
.ad-display {
  font-family: var(--ad-font-display); font-weight: 400;
  line-height: 1.05; letter-spacing: -0.01em; margin: 0;
}
.ad-h1 { font-size: clamp(38px, 6vw, 84px); }
.ad-h2 { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.08; }
.ad-h3 { font-size: clamp(20px, 2.4vw, 27px); line-height: 1.15; }
.ad-em { font-style: italic; color: var(--ad-ink); }

.ad-eyebrow {
  font-family: var(--ad-font-mono); font-size: var(--ad-text-xs);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ad-accent); margin: 0 0 var(--ad-s4);
}
.ad-lede { font-size: var(--ad-text-md); line-height: 1.7; color: var(--ad-ink-soft); margin: 0; }
.ad-muted { color: var(--ad-ink-soft); }
.ad-dim   { color: var(--ad-ink-mute); }
.ad-mono  { font-family: var(--ad-font-mono); font-size: var(--ad-text-xs); }
.ad-center { text-align: center; }
.ad-measure { max-width: 62ch; margin-left: auto; margin-right: auto; }

a { color: var(--ad-accent); text-decoration: none; }
a:hover { color: var(--ad-ink); }

/* ── cards + grid ──────────────────────────────────────────────────────── */
.ad-grid {
  display: grid; gap: var(--ad-s4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.ad-grid-2, .ad-grid-4 { display: grid; gap: var(--ad-s4); }
.ad-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.ad-grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.ad-card {
  padding: var(--ad-s6);
  border-radius: var(--ad-r-lg);
  background: var(--ad-glass);
  border: 1px solid var(--ad-edge);
  box-shadow: var(--ad-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ad-card-hover { transition: transform .28s var(--ad-ease), border-color .28s var(--ad-ease); }
.ad-card-hover:hover { transform: translateY(-3px); border-color: var(--ad-edge-strong); }
.ad-card-title { margin: 0 0 var(--ad-s2); font-size: var(--ad-text-md); font-weight: 600; }
.ad-card-body  { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ad-ink-soft); }
.ad-card-foot  { margin-top: var(--ad-s4); padding-top: var(--ad-s3); border-top: 1px solid var(--ad-edge-soft); }

/* ── stat cards ────────────────────────────────────────────────────────── */
.ad-stat { padding: var(--ad-s5); border-radius: var(--ad-r); background: var(--ad-glass); border: 1px solid var(--ad-edge); }
.ad-stat-label { font-family: var(--ad-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-ink-mute); }
.ad-stat-value { font-size: var(--ad-text-xl); font-weight: 600; margin-top: 6px; }
.ad-stat-detail { font-size: var(--ad-text-xs); color: var(--ad-ink-mute); margin-top: 4px; }

/* ── buttons ───────────────────────────────────────────────────────────── */
.ad-btn {
  display: inline-flex; align-items: center; gap: var(--ad-s2);
  padding: 13px 24px; border-radius: var(--ad-r-sm);
  font-family: var(--ad-font-body); font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ad-ease), filter .18s var(--ad-ease),
              border-color .18s var(--ad-ease), background .18s var(--ad-ease);
}
.ad-btn:hover { transform: translateY(-1px); }
.ad-btn-primary { color: #0D1015; background: #F5F7FA; box-shadow: 0 14px 34px -16px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.7); }
.ad-btn-primary:hover { filter: brightness(1.05); color: #0D1015; }
.ad-btn-ghost { color: var(--ad-ink); background: var(--ad-glass); border-color: var(--ad-edge); }
.ad-btn-ghost:hover { border-color: var(--ad-edge-strong); color: var(--ad-ink); }
.ad-btn-quiet { color: var(--ad-ink-soft); background: transparent; padding: 9px 14px; font-weight: 500; }
.ad-btn-quiet:hover { color: var(--ad-ink); }
.ad-btn-danger { color: #fff; background: var(--ad-danger); }
.ad-btn-sm { padding: 9px 16px; font-size: var(--ad-text-sm); }
.ad-btn-lg { padding: 15px 28px; font-size: var(--ad-text-md); }
.ad-btn[disabled], .ad-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

/* ── badges + pills ────────────────────────────────────────────────────── */
.ad-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--ad-r-pill);
  font-size: 11px; font-family: var(--ad-font-mono);
  background: var(--ad-glass-2); border: 1px solid var(--ad-edge-soft);
  color: var(--ad-ink-soft);
}
.ad-badge-accent { background: var(--ad-accent-soft); border-color: var(--ad-accent-border); color: var(--ad-accent); }
.ad-badge-warn { background: rgba(240,180,90,.10); border-color: rgba(240,180,90,.28); color: var(--ad-warm); }
.ad-pill {
  display: inline-flex; align-items: center; gap: var(--ad-s2);
  padding: 8px 14px; border-radius: var(--ad-r-pill);
  background: var(--ad-glass); border: 1px solid var(--ad-edge-soft);
  font-size: var(--ad-text-sm); color: var(--ad-ink-soft);
}
.ad-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ad-accent); box-shadow: 0 0 10px var(--ad-accent); }

/* ── alerts ────────────────────────────────────────────────────────────── */
.ad-alert {
  padding: var(--ad-s4) var(--ad-s5); border-radius: var(--ad-r);
  background: var(--ad-glass); border: 1px solid var(--ad-edge);
  border-left: 3px solid var(--ad-accent);
  font-size: 14px; color: var(--ad-ink-soft);
}
.ad-alert-danger { border-left-color: var(--ad-danger); }
.ad-alert-warn { border-left-color: var(--ad-warm); }

/* ── forms ─────────────────────────────────────────────────────────────── */
.ad-field { display: block; margin-bottom: var(--ad-s4); }
.ad-label {
  display: block; font-size: var(--ad-text-xs); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ad-ink-mute); margin-bottom: 6px;
}
.ad-input, .ad-select, .ad-textarea {
  width: 100%; padding: 11px 14px;
  font-family: var(--ad-font-body); font-size: 15px;
  color: var(--ad-ink); background: var(--ad-glass-2);
  border: 1px solid var(--ad-edge); border-radius: var(--ad-r-sm);
  outline: none; transition: border-color .18s var(--ad-ease);
}
.ad-input::placeholder, .ad-textarea::placeholder { color: var(--ad-ink-mute); }
.ad-input:hover, .ad-select:hover, .ad-textarea:hover { border-color: var(--ad-edge-strong); }
.ad-textarea { min-height: 96px; resize: vertical; font-family: var(--ad-font-mono); font-size: 13px; }
.ad-help { font-size: var(--ad-text-xs); color: var(--ad-ink-mute); margin-top: 6px; }
.ad-check { display: inline-flex; align-items: center; gap: var(--ad-s2); font-size: 14px; color: var(--ad-ink-soft); }

/* ── tables ────────────────────────────────────────────────────────────── */
.ad-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ad-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ad-table th {
  text-align: left; padding: 10px 12px;
  font-family: var(--ad-font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ad-ink-mute);
  border-bottom: 1px solid var(--ad-edge);
  white-space: nowrap;
}
.ad-table td { padding: 12px; border-bottom: 1px solid var(--ad-edge-soft); color: var(--ad-ink-soft); }
.ad-table tr:last-child td { border-bottom: 0; }
.ad-table-num { text-align: right; font-family: var(--ad-font-mono); }

/* ── code ──────────────────────────────────────────────────────────────── */
.ad-code {
  margin: 0; padding: var(--ad-s5);
  font-family: var(--ad-font-mono); font-size: 13px; line-height: 1.85;
  color: var(--ad-ink-soft); background: var(--ad-bg-raised);
  border: 1px solid var(--ad-edge); border-radius: var(--ad-r);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  white-space: pre;
}
.ad-code-head {
  display: flex; align-items: center; gap: var(--ad-s3);
  padding: 12px var(--ad-s5); border-bottom: 1px solid var(--ad-edge-soft);
  font-family: var(--ad-font-mono); font-size: var(--ad-text-xs); color: var(--ad-ink-mute);
}
.ad-code-panel { border-radius: var(--ad-r); overflow: hidden; background: var(--ad-glass); border: 1px solid var(--ad-edge); }
.ad-code-panel .ad-code { border: 0; border-radius: 0; background: transparent; }

/* ── tabs ──────────────────────────────────────────────────────────────── */
.ad-tabs { display: flex; gap: var(--ad-s1); flex-wrap: wrap; border-bottom: 1px solid var(--ad-edge); }
.ad-tab {
  padding: 10px var(--ad-s4); border: 0; background: transparent;
  color: var(--ad-ink-mute); font-size: 14px; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.ad-tab[aria-selected="true"] { color: var(--ad-ink); border-bottom-color: var(--ad-accent); }

/* ── empty / loading states ────────────────────────────────────────────── */
.ad-empty { padding: var(--ad-s12) var(--ad-s6); text-align: center; }
.ad-empty-title { font-size: var(--ad-text-md); font-weight: 600; margin: 0 0 var(--ad-s2); }
.ad-empty-body { margin: 0 auto var(--ad-s5); max-width: 46ch; font-size: 14px; color: var(--ad-ink-soft); }

.ad-skeleton {
  background: linear-gradient(90deg, var(--ad-glass) 25%, var(--ad-glass-2) 37%, var(--ad-glass) 63%);
  background-size: 400% 100%;
  animation: ad-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--ad-r-sm); height: 14px;
}
@keyframes ad-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.ad-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--ad-edge); border-top-color: var(--ad-accent);
  animation: ad-spin .8s linear infinite; display: inline-block;
}
@keyframes ad-spin { to { transform: rotate(360deg); } }

/* ── modal ─────────────────────────────────────────────────────────────── */
.ad-modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 8, 11, 0.66);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: var(--ad-s5);
}
.ad-modal {
  width: 100%; max-width: 520px; padding: var(--ad-s6);
  border-radius: var(--ad-r-lg); background: var(--ad-bg-raised);
  border: 1px solid var(--ad-edge); box-shadow: var(--ad-shadow-lg);
}
.ad-modal-title { margin: 0 0 var(--ad-s3); font-size: var(--ad-text-lg); font-weight: 600; }
.ad-modal-actions { display: flex; gap: var(--ad-s2); justify-content: flex-end; margin-top: var(--ad-s6); }

/* ── utilities ─────────────────────────────────────────────────────────── */
.ad-row { display: flex; gap: var(--ad-s3); flex-wrap: wrap; align-items: center; }
.ad-row-between { display: flex; gap: var(--ad-s3); flex-wrap: wrap; align-items: center; justify-content: space-between; }
.ad-stack > * + * { margin-top: var(--ad-s4); }
.ad-mt2 { margin-top: var(--ad-s2); } .ad-mt4 { margin-top: var(--ad-s4); }
.ad-mt6 { margin-top: var(--ad-s6); } .ad-mt8 { margin-top: var(--ad-s8); }
.ad-mb4 { margin-bottom: var(--ad-s4); } .ad-mb6 { margin-bottom: var(--ad-s6); }
.ad-hr { height: 1px; background: var(--ad-edge-soft); border: 0; margin: var(--ad-s8) 0; }

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

/* ── focus states (never removed) ──────────────────────────────────────── */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ad-accent);
  outline-offset: 2px;
  border-radius: var(--ad-r-sm);
}

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --ad-maxw: 100%; }
  .ad-section { padding: var(--ad-s12) 0; }
}
@media (max-width: 768px) {
  .ad-nav { top: 8px; padding: 8px 10px 0; }
  .ad-nav-inner { gap: 10px; justify-content: flex-start; padding: 9px 9px 9px 14px; border-radius: 18px; text-align: left; }
  .ad-nav-links { display: none; }
  .ad-nav-actions { margin-left: auto; }
  .ad-nav-actions .ad-btn-quiet { display: none; }
  .ad-mobile-menu { display: block; }
  .ad-grid, .ad-grid-2, .ad-grid-4 { grid-template-columns: 1fr; }
  .ad-container { padding: 0 var(--ad-s4); }
  .ad-h1 { font-size: clamp(32px, 9vw, 46px); }
  .ad-btn { width: 100%; justify-content: center; }
  .ad-nav-actions .ad-btn { width: auto; }
}
@media (min-width: 1600px) {
  :root { --ad-maxw: 1320px; }
}

/* ── reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .ad-card-hover:hover, .ad-btn:hover { transform: none; }
}

/* ==========================================================================
   Phase 5A — product-explanation flow diagram
   ==========================================================================

   The homepage visual. It explains the actual request path — request → API →
   eligible routes → selected model → result → usage and cost — and nothing
   else. Deliberately NOT a live dashboard: there are no numbers, no provider
   names, no health indicators and no switching event, because every one of
   those would be a claim the product cannot currently support.

   The RESTING state is the complete diagram. Motion only adds a travelling
   pulse on top of something already fully readable, which is what makes the
   reduced-motion fallback correct rather than empty.
   ========================================================================== */

.ad-flow {
  position: relative; overflow: hidden;
  padding: var(--ad-s10) var(--ad-s8);
  border-radius: var(--ad-r-lg);
  background: linear-gradient(135deg, rgba(127,212,224,.075), var(--ad-glass) 38%, rgba(255,255,255,.025));
  border: 1px solid var(--ad-edge);
  box-shadow: var(--ad-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ad-flow-caption {
  font-family: var(--ad-font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ad-ink-mute);
  margin: 0 0 var(--ad-s6); text-align: center;
}

.ad-flow-track {
  position: relative; display: grid; gap: var(--ad-s3);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.ad-flow-step {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: var(--ad-s4) var(--ad-s3);
  border-radius: var(--ad-r);
  background: rgba(17,21,27,.78);
  border: 1px solid var(--ad-edge-soft);
  /* Resting state is fully visible — see the block comment above. */
  opacity: 1; transition: border-color .45s var(--ad-ease), background .45s var(--ad-ease), box-shadow .45s var(--ad-ease);
}
.ad-flow-step[data-lit="true"] {
  border-color: var(--ad-accent-border);
  background: linear-gradient(180deg, rgba(127,212,224,.16), rgba(17,21,27,.82));
  box-shadow: 0 16px 34px -24px rgba(127,212,224,.8), inset 0 1px 0 rgba(255,255,255,.13);
}
.ad-flow-num {
  font-family: var(--ad-font-mono); font-size: 10px; letter-spacing: .18em;
  color: var(--ad-accent);
}
.ad-flow-label { font-size: 14px; font-weight: 600; line-height: 1.3; }
.ad-flow-note  { font-size: 12px; line-height: 1.5; color: var(--ad-ink-mute); }

/* The connector between steps. Purely decorative. */
.ad-flow-step + .ad-flow-step::before {
  content: ""; position: absolute; top: 50%; left: calc(var(--ad-s3) * -1);
  width: var(--ad-s3); height: 1px; background: linear-gradient(90deg, var(--ad-edge), var(--ad-accent-border));
}

/* The travelling pulse. One element, transform-only, GPU-friendly. */
.ad-flow-pulse {
  position: absolute; top: 0; left: 0;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ad-accent); box-shadow: 0 0 12px var(--ad-accent);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ad-ease), transform .55s var(--ad-ease);
}
.ad-flow[data-playing="true"] .ad-flow-pulse { opacity: 1; }

.ad-flow-legend {
  margin: var(--ad-s6) 0 0; text-align: center;
  font-size: 13px; line-height: 1.6; color: var(--ad-ink-soft);
}
.ad-flow-controls { margin-top: var(--ad-s4); text-align: center; }

/* ── Homepage proof / early-access composition ─────────────────────────── */
.ad-proof-wrap { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:var(--ad-s16); align-items:center; }
.ad-proof-intro .ad-lede { max-width:42ch; }
.ad-proof-list { border-top:1px solid var(--ad-edge); }
.ad-proof-item { display:grid; grid-template-columns:42px 1fr; gap:var(--ad-s4); padding:var(--ad-s5) 0; border-bottom:1px solid var(--ad-edge-soft); }
.ad-proof-item h3 { margin:0 0 4px; font-size:var(--ad-text-md); }
.ad-proof-item p { margin:0; max-width:48ch; font-size:14px; line-height:1.65; color:var(--ad-ink-soft); }
.ad-early-access { padding:var(--ad-s12) var(--ad-s8); text-align:center; border:1px solid var(--ad-accent-border); border-radius:var(--ad-r-xl); background:linear-gradient(145deg, rgba(127,212,224,.12), var(--ad-glass) 55%, transparent); box-shadow:var(--ad-shadow); }
.ad-early-access .ad-help { margin:var(--ad-s4) 0 0; }

@media (max-width: 900px) {
  .ad-flow-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-flow-step + .ad-flow-step::before { display: none; }
  .ad-proof-wrap { grid-template-columns:1fr; gap:var(--ad-s8); }
}
@media (max-width: 560px) {
  .ad-flow-track { grid-template-columns: 1fr; }
  .ad-flow { padding:var(--ad-s6) var(--ad-s4); }
  .ad-early-access { padding:var(--ad-s8) var(--ad-s4); }
  .ad-nav-inner { min-width: 0; }
  .ad-brand { gap: 8px; font-size: 17px; }
  .ad-brand svg { width: 27px; height: 27px; }
  .ad-nav-actions .ad-btn-primary { padding: 9px 12px; font-size: 11px; white-space: nowrap; }
}

@media (max-width: 390px) {
  .ad-brand { font-size: 0; }
  .ad-brand svg { width: 30px; height: 30px; }
  .ad-nav-inner { padding-left: 10px; }
}

/* Reduced motion: the diagram is already complete at rest, so the correct
   fallback is simply to remove the pulse rather than to freeze a half-built
   animation. The control button is hidden because there is nothing to play. */
@media (prefers-reduced-motion: reduce) {
  .ad-flow-pulse { display: none; }
  .ad-flow-controls { display: none; }
  .ad-flow-step[data-lit="true"] { border-color: var(--ad-edge-soft); background: var(--ad-bg-raised); }
}

/* ── Phase 5A — model-level price comparison ───────────────────────────── */
.ad-compare-row {
  display: grid; gap: var(--ad-s3); align-items: baseline;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  padding: var(--ad-s3) 0; border-bottom: 1px solid var(--ad-edge-soft);
  font-size: 14px;
}
.ad-compare-row:last-child { border-bottom: 0; }
.ad-compare-head { color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ad-compare-num  { font-family: var(--ad-font-mono); text-align: right; }
@media (max-width: 700px) {
  .ad-compare-row { grid-template-columns: 1fr 1fr; row-gap: 4px; }
  .ad-compare-num { text-align: left; }
}

/* Phase 5B — measured at 375px: a mono span (a model id or a base URL) sat
   194px wide and pushed past the viewport edge because monospace text has no
   natural break opportunity. Identifiers should wrap rather than widen the
   page; code BLOCKS still scroll, which is the correct behaviour for them. */
.ad-mono, code, .ad-lede .ad-mono {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ad-code { overflow-wrap: normal; word-break: normal; }

/* ==========================================================================
   Premium homepage restoration

   The orbital field, glass console, grid texture, and editorial/mono contrast
   come from the original homepage preserved at 029b713. The implementation is
   isolated beneath `ad-home-*` so the authenticated application is untouched.
   ========================================================================== */

.ad-home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(700px, calc(100vh - 24px));
  padding: clamp(34px, 4vw, 58px) 0 clamp(54px, 5vw, 78px);
  border-bottom: 1px solid var(--ad-edge-soft);
  background: linear-gradient(180deg, #080c12 0%, #0b1119 72%, #0d141d 100%);
}
.ad-home-hero::after { content:""; position:absolute; z-index:-1; left:0; right:0; bottom:0; height:24%; pointer-events:none; background:linear-gradient(180deg,transparent,rgba(13,20,29,.95)); }
.ad-home-stars {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(127,212,224,.65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 69% 16%, rgba(255,255,255,.4) 0 1px, transparent 1.5px),
    radial-gradient(circle at 86% 68%, rgba(127,212,224,.45) 0 1px, transparent 1.5px),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 310px 280px, 410px 350px, 520px 420px, 64px 64px, 64px 64px;
  mask-image: linear-gradient(to bottom, #000 15%, rgba(0,0,0,.75) 70%, transparent);
}
.ad-home-orbit-bg {
  position: absolute; width: min(1300px, 105vw); height: auto; right: -22%; top: -6%;
  z-index: -1; opacity: .2; pointer-events: none;
}
.ad-home-orbit-bg ellipse { stroke: var(--ad-accent); stroke-width: .6; stroke-dasharray: 3 16; }
.ad-hero-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,1fr); gap: clamp(28px,4vw,64px); align-items: center; }
.ad-hero-copy { position: relative; z-index: 2; max-width: 640px; }
.ad-technical-label, .ad-network-label {
  margin: 0; font-family: var(--ad-font-mono); font-size: 11px; line-height: 1.5;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ad-ink-mute);
}
.ad-status-dot { display: inline-block; width: 6px; height: 6px; margin: 0 10px 1px 0; border-radius: 50%; background: var(--ad-accent); box-shadow: 0 0 10px rgba(127,212,224,.75); animation: ad-home-breathe 4s ease-in-out infinite; }
.ad-home-title { margin: 22px 0 0; max-width: 12.6ch; font-size: clamp(54px,5.2vw,80px); line-height: .99; letter-spacing: -.018em; }
.ad-home-title em, .ad-home-h2 em { font-style: italic; color: var(--ad-ink); }
.ad-home-lede { max-width: 57ch; margin: 22px 0 0; color: var(--ad-ink-soft); font-size: clamp(17px,1.4vw,19px); line-height: 1.58; }
.ad-home-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.ad-text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ad-ink-soft); font-size: 15px; font-weight: 500; text-decoration: none; }
.ad-text-link:hover { color: var(--ad-ink); }
.ad-hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--ad-edge-soft); list-style: none; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.ad-hero-proof li { list-style: none; }
.ad-hero-proof li::marker { content: ""; }
.ad-hero-proof li::before { content: "◆"; margin-right: 8px; color: var(--ad-accent); font-size: 8px; }

.ad-hero-network { position: relative; isolation: isolate; display: grid; min-width: 0; min-height: 520px; margin: 0; place-items: center; }
.ad-hero-network::before { content: ""; position: absolute; inset: 15%; background: radial-gradient(circle, rgba(127,212,224,.12), transparent 66%); filter: blur(35px); z-index: -1; }
.ad-hero-network svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; opacity: .76; }
.ad-network-label-top { z-index: 2; position: absolute; top: 8%; left: 10%; }
.ad-orbit-lines ellipse { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1; stroke-dasharray: 2 8; }
.ad-core-halo { animation: ad-core-halo 7s ease-in-out infinite; }
.ad-core-node > circle:first-child { fill: rgba(17,21,27,.9); stroke: rgba(127,212,224,.5); stroke-width: 1.4; }
.ad-core-node ellipse { fill: none; stroke: rgba(255,255,255,.34); stroke-width: 1.4; }
.ad-core-node .ad-core-warm { fill: var(--ad-warm); stroke: none; }
.ad-core-node text, .ad-model-node text { fill: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .12em; }
.ad-model-node circle { fill: rgba(17,21,27,.88); stroke: rgba(255,255,255,.24); stroke-width: 1.2; }
.ad-route-packets circle, .ad-moving-dot { fill: var(--ad-accent); filter: url(#hero-glow); }
.ad-hero-console-proof { position: relative; z-index: 1; width: min(100%,430px); margin: 52px 0 22px; }.ad-hero-console-proof > p { margin: 0 0 11px; color: var(--ad-ink-soft); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .13em; text-align: left; }.ad-hero-console-shell { overflow: hidden; border: 1px solid rgba(127,212,224,.29); border-radius: 18px; background: rgba(8,12,17,.88); box-shadow: var(--ad-shadow-lg),inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(12px); }.ad-hero-console-head { display: flex; justify-content: space-between; gap: 12px; padding: 15px 17px; border-bottom: 1px solid var(--ad-edge-soft); color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .1em; }.ad-hero-console-head b { color: var(--ad-accent); font-weight: 400; }.ad-hero-console-shell dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 0; background: var(--ad-edge-soft); }.ad-hero-console-shell dl > div { min-width: 0; padding: 16px 17px; background: rgba(16,21,28,.94); }.ad-hero-console-shell dt { margin: 0; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .11em; }.ad-hero-console-shell dd { margin: 9px 0 0; color: var(--ad-ink-soft); font-size: 13px; line-height: 1.38; }.ad-hero-console-shell dl > div:nth-child(2) dd { color: var(--ad-accent); }.ad-hero-console-foot { padding: 13px 17px; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .08em; line-height: 1.5; }.ad-hero-network figcaption { position: relative; z-index: 1; display: flex; justify-content: space-between; width:100%; gap: 20px; padding: 14px 4px 0; border-top: 1px solid var(--ad-edge-soft); color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .14em; }

.ad-home-band { position: relative; overflow: hidden; padding: clamp(82px,9vw,132px) 0; border-bottom: 1px solid var(--ad-edge-soft); scroll-margin-top: 104px; }
.ad-home-band-deep { background: #090c11; }
.ad-home-band-deep#integration { padding-bottom:clamp(72px,7.5vw,112px); }
.ad-home-band-deep::before, .ad-home-band-ink::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 45%, #000, transparent 72%); }
.ad-home-band-ink { background: #0b0e13; }
.ad-home-band-tight { padding-block: clamp(54px, 6vw, 86px); }
.ad-home-band-ink#why { padding-bottom: clamp(58px,6.5vw,88px); }
.ad-editorial-split { display: grid; grid-template-columns: minmax(0,.82fr) minmax(480px,1.18fr); gap: clamp(56px,8vw,130px); align-items: center; }
.ad-section-copy { position: relative; z-index: 1; }
.ad-home-h2 { font-size: clamp(40px,5.4vw,72px); line-height: 1.02; letter-spacing: -.012em; }
.ad-product-heading { max-width: 19ch; margin: 14px 0 0; color: var(--ad-ink); font-family: var(--ad-font-body); font-size: clamp(32px,4vw,58px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.ad-home-body { max-width: 58ch; margin: 24px 0 0; color: var(--ad-ink-soft); font-size: 17px; line-height: 1.72; }
.ad-home-note { margin: 28px 0 0; padding: 18px 0 0 20px; border-top: 1px solid var(--ad-edge-soft); border-left: 1px solid var(--ad-accent-border); color: var(--ad-ink-soft); font-family: var(--ad-font-mono); font-size: 12px; line-height: 1.7; letter-spacing: .025em; }
.ad-flow-caption, .ad-flow-note, .ad-model-constellation figcaption, .ad-catalog-panel-head span, .ad-catalog-panel-grid small, .ad-console-visual figcaption, .ad-integration-note, .ad-icp-strip article strong, .ad-footer p, .ad-footer a { color: var(--ad-ink-soft); }
.ad-flow-caption, .ad-model-constellation figcaption, .ad-console-visual figcaption { font-size: 9px; }
.ad-flow-note, .ad-catalog-panel-grid small, .ad-integration-note, .ad-footer p, .ad-footer a { font-size: 12px; }
.ad-catalog-panel-grid small { letter-spacing: .045em; }
.ad-wide-heading { position: relative; z-index: 1; max-width: 790px; margin-bottom: 58px; }
.ad-wide-heading-center { margin-right: auto; margin-left: auto; text-align: center; }
.ad-wide-heading-center .ad-home-body { margin-right: auto; margin-left: auto; }

/* Agent economics: the resting composition carries the complete meaning. */
.ad-agent-figure { position: relative; min-height: 570px; margin: 0; padding: 34px 32px; border: 1px solid var(--ad-edge); border-radius: 28px; background: linear-gradient(145deg,rgba(34,42,53,.7),rgba(13,16,21,.88)); box-shadow: var(--ad-shadow-lg), inset 0 1px 0 rgba(255,255,255,.1); }
.ad-agent-start { width: max-content; margin: 34px auto 22px; padding: 11px 18px; border: 1px solid var(--ad-edge); border-radius: 999px; background: rgba(255,255,255,.035); color: var(--ad-ink-soft); font-family: var(--ad-font-mono); font-size: 10px; letter-spacing: .14em; }
.ad-agent-lanes { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 0 auto 78px; }
.ad-agent-lanes::after { content: ""; position: absolute; left: 9%; right: 9%; bottom: -38px; height: 1px; background: linear-gradient(90deg,transparent,var(--ad-accent-border),transparent); }
.ad-agent-call { position: relative; min-width: 0; padding: 14px 6px; border: 1px solid var(--ad-edge-soft); border-radius: 12px; color: var(--ad-ink-soft); text-align: center; font-size: 11px; }
.ad-agent-call span { display: block; margin-bottom: 6px; color: var(--ad-accent); font-family: var(--ad-font-mono); font-size: 9px; }
.ad-agent-call i { position: absolute; left: 50%; bottom: -39px; width: 1px; height: 38px; background: linear-gradient(var(--ad-edge),var(--ad-accent-border)); }
.ad-agent-call i::after { content: ""; position: absolute; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--ad-accent); box-shadow: 0 0 9px var(--ad-accent); animation: ad-call-drop 6s linear infinite; animation-delay: calc(var(--ad-agent-delay, 0) * 1s); }
.ad-agent-call:nth-child(2) i::after { animation-delay: 1s; }.ad-agent-call:nth-child(3) i::after { animation-delay: 2s;}.ad-agent-call:nth-child(4) i::after { animation-delay: 3s;}.ad-agent-call:nth-child(5) i::after { animation-delay: 4s;}
.ad-agent-hub { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 128px; height: 128px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--ad-accent-border); background: radial-gradient(circle at 50% 40%,rgba(127,212,224,.14),rgba(17,21,27,.95) 65%); box-shadow: 0 0 55px -24px var(--ad-accent); animation: ad-hub-pulse 6s ease-in-out infinite; }
.ad-agent-mark { width: 26px; height: 12px; margin-bottom: 9px; border: 1px solid var(--ad-accent); border-radius: 50%; transform: rotate(-28deg); }
.ad-agent-hub strong { font-family: var(--ad-font-display); font-size: 21px; font-weight: 400; }.ad-agent-hub small { margin-top: 5px; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .15em; }
.ad-agent-output { position: relative; width: max-content; margin: 24px auto 0; padding-top: 27px; color: var(--ad-accent); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .13em; text-align:center; }.ad-agent-output::before { content:""; position:absolute; top:0; left:50%; width:1px; height:19px; background:linear-gradient(var(--ad-accent-border),transparent); }.ad-agent-output i { position:absolute; top:0; left:calc(50% - 2px); width:5px; height:5px; border-radius:50%; background:var(--ad-accent); box-shadow:0 0 10px var(--ad-accent); animation:ad-output-travel 4.8s linear infinite; }
.ad-agent-balance { display: flex; justify-content: space-between; gap: 20px; margin: 18px auto 0; padding: 14px 18px; max-width: 310px; border-top: 1px solid var(--ad-edge); color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .1em; }.ad-agent-balance strong { color: var(--ad-accent); font-weight: 400; }
.ad-request-lifecycle { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 14px; margin: 28px 0 0; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }.ad-request-lifecycle span + span::before { content: "→"; margin-right: 14px; color: var(--ad-edge-strong); }
.ad-agent-figure .ad-flow-pulse { display: none; }
.ad-flow-control { position: absolute; right: 22px; top: 25px; padding: 7px 9px; border: 0; background: transparent; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .08em; cursor: pointer; }
.ad-agent-figure[data-playing="false"] .ad-agent-call i::after, .ad-agent-figure[data-playing="false"] .ad-agent-hub, .ad-agent-figure[data-playing="false"] .ad-agent-output i { animation-play-state: paused; }

/* ICP translation: a compact continuation of the agent-economics story, not
   four competing audience pages. */
.ad-icp-strip-section { position: relative; padding: clamp(58px,6vw,88px) 0; border-bottom: 1px solid var(--ad-edge-soft); background: #0b0f15; }.ad-icp-intro { display: grid; grid-template-columns: minmax(170px,.46fr) minmax(0,1.54fr); gap: clamp(28px,6vw,86px); align-items: baseline; }.ad-icp-intro h2 { max-width: 24ch; margin: 0; font-size: clamp(26px,3.1vw,43px); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }.ad-icp-intro em { font-style: italic; }.ad-icp-strip { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 44px; border-top: 1px solid var(--ad-edge); border-bottom: 1px solid var(--ad-edge); }.ad-icp-strip article { min-width: 0; padding: 24px 22px 27px; }.ad-icp-strip article + article { border-left: 1px solid var(--ad-edge); }.ad-icp-strip p { margin: 0; color: var(--ad-accent); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }.ad-icp-strip strong { display: block; margin-top: 13px; color: var(--ad-ink-soft); font-size: 14px; font-weight: 400; line-height: 1.55; }

/* Model constellation. Neutral endpoint slots keep public availability truthful
   while making an approved catalog or brand treatment a content substitution,
   not a later redesign. */
.ad-model-ecosystem { background: linear-gradient(180deg,#0d1117,#111722 54%,#0d1015); }
.ad-model-rail { position: relative; margin: 0; padding: 2px 0 30px; }.ad-model-constellation { overflow:hidden; border:1px solid var(--ad-edge); border-radius:28px; background:radial-gradient(circle at 50% 50%,rgba(127,212,224,.09),transparent 34%),rgba(7,10,14,.56); box-shadow:var(--ad-shadow-lg),inset 0 1px 0 rgba(255,255,255,.07); }.ad-model-constellation svg { display:block; width:100%; min-height:350px; }.ad-constellation-orbits ellipse { fill:none; stroke:rgba(127,212,224,.14); stroke-width:1; }.ad-constellation-routes path { fill:none; stroke:rgba(127,212,224,.3); stroke-width:1.2; stroke-dasharray:4 9; }.ad-constellation-core circle { fill:#101820; stroke:rgba(127,212,224,.65); stroke-width:1.2; }.ad-constellation-core ellipse { fill:none; stroke:var(--ad-accent); stroke-width:1.1; }.ad-constellation-core text:first-of-type { fill:var(--ad-ink); font-family:var(--ad-font-mono); font-size:12px; letter-spacing:.11em; }.ad-constellation-core text:last-of-type { fill:var(--ad-ink-mute); font-family:var(--ad-font-mono); font-size:7px; letter-spacing:.12em; }.ad-constellation-node circle:first-child { fill:#10151b; stroke:rgba(184,202,217,.34); stroke-width:1.2; }.ad-constellation-node circle:nth-child(2) { fill:var(--ad-accent); opacity:.72; }.ad-constellation-node text { fill:var(--ad-ink-soft); font-family:var(--ad-font-mono); font-size:9px; letter-spacing:.16em; }.ad-constellation-packets circle { fill:var(--ad-accent); filter:drop-shadow(0 0 5px rgba(127,212,224,.8)); }.ad-model-constellation figcaption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; padding:16px 20px; border-top:1px solid var(--ad-edge-soft); color:var(--ad-ink-mute); font-family:var(--ad-font-mono); font-size:8px; letter-spacing:.11em; }
.ad-catalog-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid var(--ad-edge-soft); color: var(--ad-ink-soft); font-size: 13px; }.ad-catalog-foot p { margin: 0; }

/* Direct versus Astrodyne */
.ad-architecture-compare { display: grid; grid-template-columns: 1fr 55px 1fr; align-items: stretch; margin-top: 64px; }
.ad-architecture-side { position: relative; min-height: 470px; margin: 0; padding: 30px; overflow: hidden; border: 1px solid var(--ad-edge); background: rgba(255,255,255,.025); }.ad-direct-side { border-radius: 26px 0 0 26px; }.ad-astro-side { border-radius: 0 26px 26px 0; background: linear-gradient(145deg,rgba(127,212,224,.08),rgba(255,255,255,.025)); border-color: var(--ad-accent-border); }
.ad-architecture-side figcaption span { display: block; color: var(--ad-accent); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .18em; }.ad-architecture-side figcaption strong { display: block; max-width: 32ch; margin-top: 9px; color: var(--ad-ink-soft); font-size: 14px; font-weight: 400; line-height: 1.55; }
.ad-architecture-side svg { position: absolute; inset: 150px 16px auto; width: calc(100% - 32px); height: 210px; }.ad-architecture-side svg path { stroke: rgba(255,255,255,.17); stroke-width: 1.2; stroke-dasharray: 4 7; }
.ad-architecture-app { position: absolute; left: 32px; top: 247px; width: 130px; padding: 12px 8px; z-index: 1; border: 1px solid var(--ad-edge); border-radius: 10px; background: #11151b; color: var(--ad-ink-soft); text-align: center; font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .1em; }
.ad-direct-nodes { position: absolute; top: 165px; right: 24px; display: grid; gap: 16px; }.ad-direct-nodes span, .ad-astro-models span { padding: 9px 10px; border: 1px solid var(--ad-edge); border-radius: 9px; background: #11151b; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 7px; letter-spacing: .08em; }
.ad-compare-divider { display: grid; place-items: center; border-top: 1px solid var(--ad-edge); border-bottom: 1px solid var(--ad-edge); }.ad-compare-divider span { color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .14em; transform: rotate(-90deg); }
.ad-astro-hub { position: absolute; left: 42%; top: 230px; z-index: 1; width: 122px; height: 80px; display: grid; place-content: center; text-align: center; border: 1px solid var(--ad-accent-border); border-radius: 50%; background: #111820; color: var(--ad-ink); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .1em; box-shadow: 0 0 34px -18px var(--ad-accent); animation:ad-hub-pulse 6s ease-in-out infinite; }.ad-astro-hub small { display: block; margin-top: 7px; color: var(--ad-accent); font-size: 6px; }
.ad-astro-models { position: absolute; right: 24px; top: 178px; display: grid; gap: 32px; }.ad-astro-models span { border-color: var(--ad-accent-border); min-width: 70px; text-align: center; }
.ad-architecture-summary { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 18px; border: 1px solid var(--ad-edge); border-radius: 14px; overflow: hidden; }
.ad-architecture-summary span { padding: 15px 18px; color: var(--ad-ink-soft); text-align: center; font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.ad-architecture-summary span + span { border-left: 1px solid var(--ad-edge); }

/* Verified pricing. The comparison terminal below is retained for the future
   approved-data view; the public homepage intentionally uses the compact note
   until a model-by-model comparison is actually publishable. */
.ad-pricing-proof { background: radial-gradient(ellipse at 80% 50%,rgba(127,212,224,.08),transparent 50%),#0d1015; }
.ad-pricing-note-section { position: relative; overflow: hidden; padding: clamp(58px,6.2vw,84px) 0; border-top: 1px solid var(--ad-edge-soft); border-bottom: 1px solid var(--ad-edge-soft); background: radial-gradient(ellipse at 82% 50%,rgba(127,212,224,.06),transparent 52%),#0d1015; }
.ad-pricing-note { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(42px,8vw,130px); align-items: start; }.ad-pricing-note .ad-product-heading { max-width: 12ch; }.ad-pricing-note .ad-home-body { max-width: 62ch; margin: 0; }.ad-pricing-note .ad-text-link { margin-top: 24px; }
.ad-pricing-future { margin-top:26px; padding:17px 20px; border-left:1px solid var(--ad-accent-border); background:linear-gradient(90deg,rgba(127,212,224,.045),transparent); }.ad-pricing-future p { margin:0 0 8px; color:var(--ad-accent); font-family:var(--ad-font-mono); font-size:8px; letter-spacing:.12em; }.ad-pricing-future span { color:var(--ad-ink-mute); font-size:12px; line-height:1.5; }
.ad-editorial-split-pricing { grid-template-columns: minmax(0,.8fr) minmax(520px,1.2fr); }
.ad-price-terminal { overflow: hidden; border: 1px solid var(--ad-edge); border-radius: 24px; background: rgba(8,11,15,.82); box-shadow: var(--ad-shadow-lg),inset 0 1px 0 rgba(255,255,255,.08); }
.ad-terminal-bar { display: flex; justify-content: space-between; gap: 18px; padding: 15px 20px; border-bottom: 1px solid var(--ad-edge); color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .14em; }.ad-terminal-bar span:last-child { color: var(--ad-accent); }
.ad-price-row { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--ad-edge-soft); font-family: var(--ad-font-mono); font-size: 11px; }.ad-price-row strong { font-family: var(--ad-font-body); font-weight: 500; }.ad-price-head { color: var(--ad-ink-mute); font-size: 8px; letter-spacing: .1em; }.ad-price-pending { grid-column: 2/-1; color: var(--ad-ink-mute); }.ad-terminal-note { margin: 0; padding: 16px 20px; color: var(--ad-ink-mute); font-size: 11px; line-height: 1.6; }
.ad-verification-state { display: grid; grid-template-columns: 110px 1fr; gap: 26px; align-items: center; padding: 48px 34px; }.ad-verification-orbit { position: relative; width: 86px; height: 86px; border: 1px solid var(--ad-edge-strong); border-radius: 50%; }.ad-verification-orbit::before { content:""; position:absolute; inset:18px -14px; border:1px solid var(--ad-accent-border); border-radius:50%; transform:rotate(-28deg); }.ad-verification-orbit span { position: absolute; width: 6px; height: 6px; left: 11px; top: 15px; border-radius: 50%; background: var(--ad-accent); box-shadow: 0 0 10px var(--ad-accent); animation: ad-home-breathe 4s ease-in-out infinite; }
.ad-verification-state p { margin: 0 0 9px; color: var(--ad-accent); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .15em; }.ad-verification-state h3 { margin: 0 0 10px; font-family: var(--ad-font-display); font-size: 28px; font-weight: 400; }.ad-verification-state div > span { color: var(--ad-ink-mute); font-size: 13px; line-height: 1.6; }
.ad-verification-steps { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 0; border-top: 1px solid var(--ad-edge-soft); list-style-position: inside; }.ad-verification-steps li { padding: 16px; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; line-height: 1.5; }.ad-verification-steps li + li { border-left: 1px solid var(--ad-edge-soft); }

/* Integration */
.ad-integration-stage { display: grid; grid-template-columns: minmax(300px,.75fr) minmax(0,1.25fr); gap: 24px; align-items: stretch; }
.ad-migration-diff { padding: 34px 28px; border: 1px solid var(--ad-edge); border-radius: 24px; background: linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }.ad-migration-diff::before { content: "MIGRATION DIFF"; display: block; margin-bottom: 34px; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .16em; }.ad-migration-diff p { display: grid; grid-template-columns: 20px 1fr; gap: 8px; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--ad-edge-soft); }.ad-migration-diff p span { color: var(--ad-accent); }.ad-migration-diff p:first-of-type span { color: var(--ad-warm); }.ad-migration-diff code { color: var(--ad-ink-soft); font-family: var(--ad-font-mono); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.ad-integration-stage .ad-code-panel { border-radius: 24px; background: rgba(8,11,15,.84); box-shadow: var(--ad-shadow-lg); }.ad-integration-stage .ad-code { min-height: 320px; max-height: 420px; margin: 0; padding: 26px; color: #c8d0da; font-size: 12px; line-height: 1.85; }.ad-integration-note { max-width: 80ch; margin: 24px 0 0; color: var(--ad-ink-mute); font-size: 12px; line-height: 1.7; }

/* Trust and steps */
.ad-home-band-compact { padding-top: clamp(68px,7vw,94px); padding-bottom: clamp(68px,7vw,94px); }.ad-home-band-compact .ad-illustrated-steps { margin-top: 48px; }
.ad-trust-section { background: linear-gradient(145deg,#111620,#0d1015 65%); }.ad-trust-ledger { border-top: 1px solid var(--ad-edge); }.ad-trust-ledger > div { display: grid; grid-template-columns: 38px minmax(130px,.7fr) 1.3fr; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--ad-edge-soft); }.ad-trust-ledger span { color: var(--ad-accent); font-family: var(--ad-font-mono); font-size: 9px; }.ad-trust-ledger strong { font-size: 15px; font-weight: 500; }.ad-trust-ledger p { margin: 0; color: var(--ad-ink-soft); font-size: 13px; line-height: 1.55; }
.ad-illustrated-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--ad-edge); border-bottom: 1px solid var(--ad-edge); }.ad-illustrated-steps article { min-width: 0; padding: 0 34px 38px; }.ad-illustrated-steps article + article { border-left: 1px solid var(--ad-edge); }.ad-step-visual { height: 210px; display: flex; align-items: center; justify-content: center; gap: 15px; margin: 0 -34px 32px; overflow: hidden; border-bottom: 1px solid var(--ad-edge-soft); background: radial-gradient(circle at 50% 50%,rgba(127,212,224,.08),transparent 60%); }.ad-step-visual span { padding: 11px 13px; border: 1px solid var(--ad-edge); border-radius: 9px; color: var(--ad-ink-soft); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .1em; }.ad-step-connect i { width: 80px; height: 1px; background: var(--ad-accent-border); position: relative; }.ad-step-connect i::after { content:""; position:absolute; top:-3px; width:7px; height:7px; border-radius:50%; background:var(--ad-accent); box-shadow:0 0 10px var(--ad-accent); animation:ad-line-travel 5s linear infinite; }.ad-step-model i { width: 42px; height: 42px; border: 1px solid var(--ad-edge); border-radius: 50%; }.ad-step-model i:last-child { width: 24px; height: 24px; border-color: var(--ad-accent-border); box-shadow: 0 0 24px -12px var(--ad-accent); }.ad-step-usage { position: relative; gap: 8px; }.ad-step-usage b { width: 8px; height: 25px; align-self: center; background: var(--ad-edge-strong); }.ad-step-usage b:nth-child(2){height:48px;background:var(--ad-accent-border)}.ad-step-usage b:nth-child(3){height:35px}.ad-step-usage span { margin-left: 16px; }.ad-illustrated-steps h3 { margin: 15px 0 10px; font-family: var(--ad-font-display); font-size: 26px; font-weight: 400; line-height: 1.15; }.ad-illustrated-steps article > p:last-child { margin: 0; color: var(--ad-ink-mute); font-size: 13px; line-height: 1.65; }

/* Console */
.ad-console-section { padding-bottom:clamp(70px,7.5vw,110px); background: radial-gradient(ellipse at 50% 100%,rgba(83,119,151,.12),transparent 62%),#0d1015; }.ad-console-visual { margin: 0; }.ad-console-visual figcaption { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 14px; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .13em; }.ad-console-visual figcaption strong { color: var(--ad-accent); font-weight: 400; }.ad-console-shell { display: grid; grid-template-columns: 190px 1fr; min-height: 520px; overflow: hidden; border: 1px solid var(--ad-edge); border-radius: 28px; background: #0a0d12; box-shadow: var(--ad-shadow-lg),inset 0 1px 0 rgba(255,255,255,.08); }.ad-console-shell aside { padding: 25px 20px; border-right: 1px solid var(--ad-edge-soft); background: #0c1016; }.ad-console-brand { margin-bottom: 44px; color: var(--ad-ink-soft); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .15em; }.ad-console-brand span { display: inline-block; width: 17px; height: 8px; margin-right: 10px; border: 1px solid var(--ad-accent); border-radius: 50%; transform: rotate(-28deg); }.ad-console-nav { display: grid; gap: 7px; }.ad-console-nav span,.ad-console-nav b { display:block; padding:10px 11px; border-radius:8px; color:var(--ad-ink-mute); font-family:var(--ad-font-mono); font-size:8px; font-weight:400; letter-spacing:.08em; }.ad-console-nav b { border:1px solid var(--ad-accent-border); background:rgba(127,212,224,.06); color:var(--ad-accent); }.ad-console-main { padding: 38px; }.ad-console-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--ad-edge-soft); }.ad-console-top small,.ad-console-metrics small { display: block; margin-bottom: 7px; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .12em; }.ad-console-top strong { font-family: var(--ad-font-mono); font-size: 13px; font-weight: 400; }.ad-console-top > span { padding: 7px 10px; border: 1px solid var(--ad-accent-border); border-radius: 999px; color: var(--ad-accent); font-family: var(--ad-font-mono); font-size: 8px; letter-spacing: .1em; }.ad-console-metrics { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 1px; margin-top: 28px; background: var(--ad-edge-soft); border: 1px solid var(--ad-edge-soft); border-radius: 16px; overflow: hidden; }.ad-console-metrics > div { min-width: 0; padding: 20px; background: #10151c; }.ad-console-metrics strong { display:block; overflow-wrap:anywhere; font-family: var(--ad-font-mono); font-size: 11px; font-weight: 400; }.ad-console-activity { display:grid; grid-template-columns:185px 1fr; gap:18px; align-items:end; margin-top:28px; padding:18px 20px; border:1px solid var(--ad-edge-soft); border-radius:16px; background:linear-gradient(90deg,rgba(127,212,224,.05),transparent); }.ad-console-activity > span { color:var(--ad-ink-mute); font-family:var(--ad-font-mono); font-size:8px; letter-spacing:.11em; line-height:1.5; }.ad-console-activity > div { height:42px; display:flex; align-items:end; gap:7px; }.ad-console-activity i { flex:1; max-width:24px; min-height:8px; background:linear-gradient(180deg,rgba(127,212,224,.72),rgba(127,212,224,.15)); border-radius:2px 2px 0 0; opacity:.65; animation:ad-activity-breathe 6s ease-in-out infinite; }.ad-console-activity i:nth-child(2n){height:55%}.ad-console-activity i:nth-child(3n){height:88%;animation-delay:1.2s}.ad-console-activity i:nth-child(4n){height:37%;animation-delay:2.4s}.ad-console-table { margin-top: 28px; overflow-x: auto; }.ad-console-table > div { display: grid; grid-template-columns: 1.7fr repeat(2,.75fr) 1fr .7fr; min-width: 650px; gap: 16px; padding: 15px 8px; border-bottom: 1px solid var(--ad-edge-soft); color: var(--ad-ink-soft); font-family: var(--ad-font-mono); font-size: 9px; }.ad-console-table > div:first-child { color: var(--ad-ink-mute); font-size: 7px; letter-spacing: .1em; }

/* Invite and FAQ */
.ad-invite-section { min-height: 560px; display: grid; place-items: center; text-align: center; background: #080b0f; }.ad-invite-orbit { position: absolute; left: 50%; top: 50%; width: min(850px,90vw); aspect-ratio: 1; transform: translate(-50%,-50%) rotate(-18deg); border: 1px solid rgba(127,212,224,.13); border-radius: 50%; box-shadow: inset 0 0 100px rgba(127,212,224,.025); }.ad-invite-orbit::after { content:""; position:absolute; inset:17%; border:1px dashed rgba(255,255,255,.1); border-radius:50%; }.ad-invite-inner { position: relative; z-index: 1; max-width: 900px; }.ad-invite-inner .ad-home-h2 { max-width: 14ch; margin: 22px auto 0; }.ad-invite-inner > p:not(.ad-technical-label) { max-width: 62ch; margin: 24px auto 0; color: var(--ad-ink-soft); font-size: 17px; line-height: 1.7; }.ad-home-actions-center { justify-content: center; }.ad-invite-inner ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--ad-edge-soft); list-style: none; color: var(--ad-ink-mute); font-family: var(--ad-font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }.ad-invite-inner li::before { content:"·"; margin-right:9px; color:var(--ad-accent); }
.ad-faq-section { padding-top:clamp(70px,7vw,100px); padding-bottom:clamp(62px,6.2vw,86px); background: #0d1015; }.ad-faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px,10vw,150px); align-items: start; }.ad-faq-list { border-top: 1px solid var(--ad-edge); }.ad-faq { border-bottom: 1px solid var(--ad-edge-soft); }.ad-faq summary { position: relative; padding: 24px 42px 24px 2px; cursor: pointer; list-style: none; font-family: var(--ad-font-display); font-size: clamp(20px,2vw,25px); }.ad-faq summary::-webkit-details-marker { display:none; }.ad-faq summary::after { content:"+"; position:absolute; right:4px; top:23px; color:var(--ad-accent); font-family:var(--ad-font-body); font-size:20px; }.ad-faq[open] summary::after { content:"−"; }.ad-faq p { max-width: 66ch; margin: 0; padding: 0 42px 24px 2px; color: var(--ad-ink-soft); font-size: 14px; line-height: 1.7; }

@keyframes ad-home-breathe { 0%,100%{opacity:.45}50%{opacity:1} }
@keyframes ad-core-halo { 0%,100%{opacity:.55;transform:scale(.94);transform-origin:center}50%{opacity:1;transform:scale(1.03);transform-origin:center} }
@keyframes ad-call-drop { 0%{top:0;opacity:0}15%{opacity:1}85%{opacity:1}100%{top:34px;opacity:0} }
@keyframes ad-output-travel { 0%{transform:translateY(-2px);opacity:0}18%{opacity:1}82%{opacity:1}100%{transform:translateY(17px);opacity:0} }
@keyframes ad-hub-pulse { 0%,100%{box-shadow:0 0 45px -24px var(--ad-accent)}50%{box-shadow:0 0 70px -22px var(--ad-accent)} }
@keyframes ad-line-travel { 0%{left:0;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:calc(100% - 7px);opacity:0} }
@keyframes ad-activity-breathe { 0%,100%{opacity:.35;transform:scaleY(.8);transform-origin:bottom}50%{opacity:.9;transform:scaleY(1);transform-origin:bottom} }

@media (max-width: 1100px) {
  .ad-hero-split { grid-template-columns: minmax(0,1fr) minmax(380px,.86fr); gap: 30px; }
  .ad-home-title { font-size: clamp(49px,6vw,68px); }
  .ad-editorial-split, .ad-editorial-split-pricing { grid-template-columns: minmax(0,.85fr) minmax(440px,1.15fr); gap: 54px; }
  .ad-architecture-side { padding: 25px 20px; }.ad-architecture-app { left:20px;width:112px }.ad-direct-nodes,.ad-astro-models{right:14px}.ad-astro-hub{left:38%}
  .ad-integration-stage { grid-template-columns: .7fr 1.3fr; }
  .ad-icp-intro { grid-template-columns: 1fr; gap: 16px; }.ad-icp-intro h2 { max-width: 30ch; }
}

@media (max-width: 900px) {
  .ad-home-hero { min-height: 0; padding-top: 82px; }
  .ad-hero-split, .ad-editorial-split, .ad-editorial-split-pricing, .ad-pricing-note, .ad-faq-layout { grid-template-columns: 1fr; }
  .ad-hero-copy { max-width: 700px; }.ad-home-title { max-width: 13ch; font-size: clamp(52px,8.4vw,76px); }.ad-home-lede { max-width: 60ch; }
  .ad-hero-network { width: min(620px,90vw); min-height: 500px; margin: 28px auto 0; }.ad-home-orbit-bg { right:-45%;top:10%; }
  .ad-editorial-split { gap: 58px; }.ad-section-copy { max-width: 720px; }.ad-agent-figure { max-width: 680px; width:100%; margin:0 auto; }
  .ad-architecture-compare { grid-template-columns: 1fr; gap: 18px; }.ad-architecture-side { border-radius: 24px; }.ad-compare-divider { min-height: 42px; border: 0; }.ad-compare-divider span { transform:none; }
  .ad-icp-strip { grid-template-columns: repeat(2,1fr); }.ad-icp-strip article:nth-child(3) { border-left: 0; border-top: 1px solid var(--ad-edge); }.ad-icp-strip article:nth-child(4) { border-top: 1px solid var(--ad-edge); }
  .ad-pricing-note { gap: 26px; }.ad-product-heading { max-width:22ch; }
  .ad-integration-stage { grid-template-columns: 1fr; }.ad-migration-diff { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }.ad-migration-diff::before { grid-column:1/-1;margin-bottom:8px}.ad-migration-diff p{display:block;border:1px solid var(--ad-edge-soft);padding:12px}.ad-migration-diff p span{display:block;margin-bottom:7px}
  .ad-illustrated-steps { grid-template-columns: 1fr; }.ad-illustrated-steps article + article { border-left:0;border-top:1px solid var(--ad-edge); }.ad-step-visual { height:170px; }
  .ad-console-shell { grid-template-columns: 82px 1fr; }.ad-console-shell aside { padding:22px 14px}.ad-console-brand{font-size:0}.ad-console-brand span{margin:0}.ad-console-main{padding:28px}.ad-console-metrics{grid-template-columns:repeat(2,1fr)}
  .ad-faq-layout { gap: 50px; }
}

@media (max-width: 768px) {
  .ad-home-band { padding: 78px 0; }.ad-home-h2 { font-size: clamp(38px,10vw,58px); }.ad-product-heading { font-size:clamp(31px,7vw,45px); }
  .ad-nav.ad-nav-receded .ad-nav-inner { opacity:1; background:rgba(8,12,17,.98); }
  .ad-hero-network { width:min(560px,100%); min-height:460px; }.ad-network-label-top { left:4%;top:4%; }
  .ad-agent-figure { min-height:0;padding:28px 18px; }.ad-agent-lanes { grid-template-columns:1fr; margin-bottom:35px; }.ad-agent-call { display:flex;align-items:center;gap:12px;text-align:left;padding:10px 14px}.ad-agent-call span{display:inline;margin:0}.ad-agent-call i{display:none}.ad-agent-lanes::after{display:none}.ad-agent-hub{width:110px;height:110px}.ad-request-lifecycle{display:none}.ad-flow-control{position:static;display:block;min-height:44px;margin:18px auto -10px;padding:10px 12px}
  .ad-model-constellation svg { min-height:300px; }.ad-model-constellation figcaption{font-size:7.5px}.ad-catalog-foot{align-items:flex-start;flex-direction:column}
  .ad-architecture-side { min-height:430px}.ad-direct-nodes span{font-size:6px}.ad-astro-hub{left:36%}
  .ad-verification-state { grid-template-columns:80px 1fr;padding:38px 24px}.ad-verification-orbit{width:68px;height:68px}.ad-verification-steps{grid-template-columns:1fr}.ad-verification-steps li+li{border-left:0;border-top:1px solid var(--ad-edge-soft)}
  .ad-migration-diff { grid-template-columns:1fr}.ad-integration-stage .ad-code{min-height:280px;font-size:11px;padding:20px}
  .ad-trust-ledger > div { grid-template-columns:32px 1fr}.ad-trust-ledger p{grid-column:2}
  .ad-console-shell { grid-template-columns:1fr;min-height:0}.ad-console-shell aside{display:none}.ad-console-main{padding:22px}.ad-console-metrics{grid-template-columns:1fr 1fr}.ad-console-activity{grid-template-columns:1fr;gap:14px}.ad-console-visual figcaption{align-items:flex-start;flex-direction:column}
}

@media (max-width: 520px) {
  .ad-nav { padding-right:8px;padding-left:8px}.ad-nav-inner{gap:8px;padding:6px 7px 6px 10px;border-radius:16px}.ad-nav .ad-brand>span{display:none}.ad-nav .ad-brand svg{width:28px;height:28px}.ad-nav-actions .ad-btn-primary{padding-right:11px;padding-left:11px;font-size:10.5px}
  .ad-home-hero { padding: 44px 0 64px; }.ad-home-title { font-size: clamp(43px,13vw,58px); line-height:1.01}.ad-home-lede{font-size:16px}.ad-home-actions{align-items:stretch;gap:20px;margin-top:30px}.ad-home-actions .ad-btn{width:100%}.ad-home-actions .ad-text-link{justify-content:center;padding:10px;margin-top:2px}.ad-hero-proof{display:flex;gap:8px;margin-top:26px;padding-top:20px}.ad-hero-proof li{padding:7px 9px;border:1px solid var(--ad-edge-soft);border-radius:999px;background:rgba(255,255,255,.025);font-size:8px;line-height:1.35}.ad-hero-proof li::before{content:"";display:inline-block;width:4px;height:4px;margin:0 7px 1px 0;border-radius:50%;background:var(--ad-accent);box-shadow:0 0 8px rgba(127,212,224,.55)}
  .ad-hero-network { min-height: 400px; }.ad-hero-console-proof { width: min(100%,350px); margin: 48px 0 18px; }.ad-hero-console-proof > p { font-size:8px; }.ad-hero-console-head { padding:13px 14px;font-size:8px; }.ad-hero-console-shell dl > div { padding:14px; }.ad-hero-console-shell dt,.ad-hero-console-foot { font-size:7.5px; }.ad-hero-console-shell dd { margin-top:7px;font-size:12px; }.ad-hero-network figcaption { flex-direction:column;gap:7px}.ad-network-label-top{font-size:8px}
  .ad-home-band{padding:68px 0}.ad-home-band-compact{padding:58px 0}.ad-console-section{padding-bottom:60px}.ad-faq-section{padding-top:62px;padding-bottom:58px}.ad-home-h2{font-size:clamp(36px,11.5vw,50px)}.ad-product-heading{font-size:clamp(29px,9vw,40px);line-height:1.08}.ad-home-body{font-size:15px}.ad-wide-heading{margin-bottom:40px}
  .ad-home-note{font-size:12px;line-height:1.65}.ad-icp-strip-section{padding:56px 0}.ad-icp-intro h2{font-size:30px}.ad-icp-strip{grid-template-columns:1fr;margin-top:32px}.ad-icp-strip article{padding:18px 0}.ad-icp-strip article+article,.ad-icp-strip article:nth-child(3),.ad-icp-strip article:nth-child(4){border-left:0;border-top:1px solid var(--ad-edge)}.ad-icp-strip strong{font-size:14px;line-height:1.55}
  .ad-agent-start{margin-top:42px}.ad-agent-output{margin-top:20px}.ad-agent-balance{flex-direction:column;text-align:center;gap:7px}.ad-model-constellation{border-radius:20px}.ad-model-constellation svg{min-height:245px}.ad-model-constellation figcaption{display:grid;grid-template-columns:1fr;gap:8px;padding:14px}.ad-constellation-core text:first-of-type{font-size:14px}.ad-constellation-core text:last-of-type{font-size:8px}.ad-constellation-node text{font-size:10px}
  .ad-architecture-side{min-height:390px;padding:22px 16px}.ad-architecture-side svg{inset:145px 8px auto;width:calc(100% - 16px)}.ad-architecture-app{left:12px;top:230px;width:92px;font-size:6px}.ad-direct-nodes{top:156px;right:7px;gap:15px}.ad-direct-nodes span{padding:7px 5px}.ad-astro-hub{left:32%;top:218px;width:100px;height:70px;font-size:8px}.ad-astro-models{right:8px;top:165px;gap:29px}.ad-astro-models span{min-width:54px;padding:7px 5px}
  .ad-architecture-summary{grid-template-columns:1fr}.ad-architecture-summary span+span{border-left:0;border-top:1px solid var(--ad-edge)}
  .ad-verification-state{grid-template-columns:1fr;text-align:center}.ad-verification-orbit{margin:0 auto}.ad-price-row{grid-template-columns:1fr 1fr;font-size:9px}.ad-price-head{display:none}.ad-price-pending{grid-column:1/-1}
  .ad-tabs{flex-wrap:nowrap;overflow-x:auto}.ad-tab{flex:0 0 auto;padding:10px 12px;font-size:11px}.ad-integration-stage .ad-code{font-size:10px;line-height:1.7}.ad-code-head{font-size:9px}
  .ad-illustrated-steps article{padding:0 22px 32px}.ad-step-visual{margin:0 -22px 28px}.ad-step-connect i{width:50px}.ad-illustrated-steps h3{font-size:24px}
  .ad-console-main{padding:18px 14px}.ad-console-top{align-items:flex-start}.ad-console-metrics{grid-template-columns:1fr}.ad-console-activity{padding:15px}.ad-console-activity>div{gap:5px}.ad-console-table{margin-right:0;overflow:visible}.ad-console-table>div{min-width:0;grid-template-columns:1.5fr .8fr .55fr;gap:8px}.ad-console-table>div>:nth-child(2),.ad-console-table>div>:nth-child(3){display:none}
  .ad-invite-section{min-height:560px}.ad-invite-inner>p:not(.ad-technical-label){font-size:15px}.ad-invite-inner ul{display:grid;gap:10px;text-align:left}.ad-faq summary{font-size:20px}
}

@media (max-width: 768px) {
  .ad-mobile-menu summary, .ad-nav-actions .ad-btn-primary { min-height: 44px; }
}

/* Mission-control product surfaces. These visual components are deliberately
   HTML/CSS-first so a future Rive or Spline treatment can replace one scene
   without changing the page narrative or any product behaviour. */
.ad { --ad-space-0:#070a0e; --ad-space-1:#0b1017; --ad-space-2:#111923; --ad-signal:rgba(127,212,224,.72); --ad-energy:#e8ad87; }
.ad-home-band { position:relative; isolation:isolate; }
.ad-home-band::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at 78% 18%,rgba(91,151,174,.055),transparent 38%); }
.ad-model-ecosystem::before { background:radial-gradient(ellipse at 50% 40%,rgba(127,212,224,.075),transparent 50%),linear-gradient(180deg,rgba(14,20,29,.72),rgba(8,11,15,.45)); }
.ad-console-section::before { background:radial-gradient(ellipse at 66% 45%,rgba(232,173,135,.045),transparent 37%),radial-gradient(ellipse at 28% 10%,rgba(127,212,224,.065),transparent 44%); }
.ad-home-band-ink::before { background:radial-gradient(ellipse at 50% 100%,rgba(127,212,224,.05),transparent 56%); }

/* The shared inline-SVG mark lives in astrodyne-v2.css. Its ring and core
   remain fixed; only its satellite takes a native SVG motion path. */

/* A compact execution trace replaces the hero's abstract orbit. */
.ad-hero-network.ad-hero-execution { display:block; width:min(100%,510px); min-height:0; padding:0; overflow:visible; }
.ad-hero-execution::before { inset:12%; background:radial-gradient(circle,rgba(127,212,224,.18),transparent 65%); }
.ad-hero-execution > figcaption { display:flex; justify-content:space-between; padding:0 4px 13px; border-top:0; color:var(--ad-ink-mute); }
.ad-hero-trace-shell { position:relative; overflow:hidden; border:1px solid rgba(149,185,204,.28); border-radius:24px; background:linear-gradient(135deg,rgba(27,36,47,.96),rgba(10,14,20,.98) 52%,rgba(12,19,27,.98)); box-shadow:0 28px 75px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.1),inset 0 0 60px rgba(127,212,224,.025); }
.ad-hero-trace-shell::after { content:""; position:absolute; width:340px; height:340px; right:-135px; bottom:-178px; border:1px solid rgba(127,212,224,.16); border-radius:50%; box-shadow:0 0 0 38px rgba(127,212,224,.015),0 0 0 92px rgba(127,212,224,.01); pointer-events:none; }
.ad-hero-trace-head { position:relative; z-index:1; display:flex; align-items:center; gap:12px; padding:17px 18px; border-bottom:1px solid var(--ad-edge-soft); background:rgba(255,255,255,.018); }
.ad-hero-trace-head div { display:grid; gap:3px; min-width:0; }.ad-hero-trace-head small,.ad-hero-trace-context > span,.ad-hero-trace-summary > span { color:var(--ad-ink-mute); font-family:var(--ad-font-mono); font-size:8px; letter-spacing:.13em; }.ad-hero-trace-head strong { color:var(--ad-ink-soft); font-family:var(--ad-font-mono); font-size:10px; font-weight:500; letter-spacing:.1em; }.ad-hero-trace-head em { margin-left:auto; padding:5px 7px; border:1px solid rgba(232,173,135,.3); border-radius:999px; color:var(--ad-energy); font-family:var(--ad-font-mono); font-size:7px; font-style:normal; letter-spacing:.09em; }
.ad-hero-trace-context { position:relative; z-index:1; display:grid; gap:5px; padding:20px 20px 17px 48px; border-bottom:1px solid var(--ad-edge-soft); }.ad-hero-trace-context::before { content:""; position:absolute; left:22px; top:24px; width:8px; height:8px; border-radius:50%; background:var(--ad-energy); box-shadow:0 0 16px rgba(232,173,135,.5); animation:ad-energy-pulse 4s ease-in-out infinite; }.ad-hero-trace-context strong { color:var(--ad-ink); font-size:16px; font-weight:500; }.ad-hero-trace-context small { color:var(--ad-ink-soft); font-size:12px; }
.ad-hero-trace-list { position:relative; z-index:1; display:grid; gap:1px; margin:0; padding:12px 16px; list-style:none; background:rgba(255,255,255,.025); }.ad-hero-trace-list::before { content:""; position:absolute; left:34px; top:29px; bottom:29px; width:1px; background:linear-gradient(var(--ad-accent-border),rgba(127,212,224,.04)); }.ad-hero-trace-list li { position:relative; display:grid; grid-template-columns:28px 1fr 8px; align-items:center; gap:11px; min-height:49px; padding:7px 4px; }.ad-hero-trace-list li > span { position:relative; z-index:1; display:grid; place-items:center; width:22px; height:22px; border:1px solid rgba(127,212,224,.42); border-radius:50%; color:var(--ad-accent); background:#101923; font-family:var(--ad-font-mono); font-size:7px; }.ad-hero-trace-list div{display:grid;gap:3px}.ad-hero-trace-list strong{color:var(--ad-ink-soft);font-size:13px;font-weight:500}.ad-hero-trace-list small{color:var(--ad-ink-mute);font-family:var(--ad-font-mono);font-size:8px;letter-spacing:.04em}.ad-hero-trace-list i { width:6px; height:6px; border-radius:50%; background:var(--ad-accent); box-shadow:0 0 9px rgba(127,212,224,.72); animation:ad-trace-pulse 5s ease-in-out infinite; }.ad-hero-trace-list li:nth-child(2) i{animation-delay:1.1s}.ad-hero-trace-list li:nth-child(3) i{animation-delay:2.2s;background:var(--ad-energy);box-shadow:0 0 9px rgba(232,173,135,.56)}.ad-hero-trace-list li:nth-child(4) i{animation-delay:3.3s}
.ad-hero-trace-summary { position:relative; z-index:1; display:grid; gap:7px; padding:17px 20px 19px; border-top:1px solid rgba(127,212,224,.1); background:linear-gradient(90deg,rgba(127,212,224,.08),transparent 72%); }.ad-hero-trace-summary strong { color:var(--ad-ink-soft); font-family:var(--ad-font-mono); font-size:9px; font-weight:400; letter-spacing:.03em; }

/* Agent execution is readable as a product flow before it becomes motion. */
.ad-agent-figure { min-height:0; padding:27px; overflow:hidden; background:linear-gradient(145deg,rgba(30,40,52,.88),rgba(10,15,21,.95)); }
.ad-agent-figure > figcaption { margin-bottom:18px; }.ad-agent-execution-start,.ad-agent-execution-app { position:relative; z-index:1; display:grid; gap:5px; margin:0 auto; max-width:300px; padding:11px 14px; border:1px solid var(--ad-edge-soft); border-radius:12px; background:rgba(12,18,25,.78); text-align:center; }.ad-agent-execution-start span,.ad-agent-execution-app span,.ad-agent-explicit-note { color:var(--ad-ink-mute); font-family:var(--ad-font-mono); font-size:8px; letter-spacing:.11em; }.ad-agent-execution-start strong,.ad-agent-execution-app strong { color:var(--ad-ink-soft); font-size:13px; font-weight:500; }.ad-agent-execution-app { max-width:356px; margin-top:22px; }.ad-agent-execution-app::before,.ad-agent-hub::before { content:""; position:absolute; top:-22px; left:50%; width:1px; height:21px; background:linear-gradient(var(--ad-accent),transparent); }
.ad-agent-hub { position:relative; z-index:1; display:grid; place-items:center; width:auto; height:auto; max-width:280px; margin:24px auto 27px; padding:17px 16px; border:1px solid rgba(127,212,224,.4); border-radius:15px; background:radial-gradient(circle at 50% 0,rgba(127,212,224,.13),transparent 62%),#111b25; text-align:center; box-shadow:0 0 38px -24px var(--ad-accent),inset 0 1px 0 rgba(255,255,255,.08); }.ad-agent-hub-mark { margin-bottom:5px; }.ad-agent-hub strong { color:var(--ad-ink); font-family:var(--ad-font-mono); font-size:11px; font-weight:500; letter-spacing:.09em; }.ad-agent-hub small { margin-top:5px; color:var(--ad-ink-mute); font-family:var(--ad-font-mono); font-size:7.5px; letter-spacing:.1em; }
.ad-agent-task-grid { position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin:0; }.ad-agent-task-grid::before { content:""; position:absolute; left:50%; top:-28px; height:27px; width:1px; background:var(--ad-accent-border); }.ad-agent-call { position:relative; display:grid; grid-template-columns:20px 1fr; gap:2px 8px; min-height:70px; padding:11px; border:1px solid var(--ad-edge-soft); border-radius:12px; background:rgba(8,13,18,.55); text-align:left; }.ad-agent-call > span { grid-row:1 / span 2; display:grid; place-items:center; width:20px; height:20px; margin:0; border:1px solid rgba(127,212,224,.25); border-radius:50%; color:var(--ad-accent); font-family:var(--ad-font-mono); font-size:7px; }.ad-agent-call strong { color:var(--ad-ink-soft); font-family:var(--ad-font-mono); font-size:10px; font-weight:500; letter-spacing:.08em; }.ad-agent-call small { grid-column:2; color:var(--ad-ink-mute); font-family:var(--ad-font-mono); font-size:7.5px; line-height:1.35; }.ad-agent-call i { display:block; position:absolute; top:12px; right:12px; width:5px; height:5px; border-radius:50%; background:var(--ad-energy); box-shadow:0 0 8px rgba(232,173,135,.5); animation:ad-trace-pulse 5s ease-in-out infinite; }.ad-agent-call:nth-child(2) i{animation-delay:.9s}.ad-agent-call:nth-child(3) i{animation-delay:1.8s}.ad-agent-call:nth-child(4) i{animation-delay:2.7s}.ad-agent-call:nth-child(5) i{animation-delay:3.6s}.ad-agent-call:nth-child(6) i{animation-delay:4.5s}.ad-agent-explicit-note { max-width:560px; margin:18px auto 0; padding-top:16px; border-top:1px solid var(--ad-edge-soft); text-align:center; line-height:1.65; }

/* Catalog treatment provides a clear future slot for approved model data. */
.ad-model-catalog { padding:0; background:linear-gradient(145deg,rgba(24,34,45,.92),rgba(9,13,19,.96)); }.ad-catalog-panel-head { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; padding:24px 26px; border-bottom:1px solid var(--ad-edge-soft); }.ad-catalog-panel-head div{display:grid;gap:7px}.ad-catalog-panel-head span,.ad-catalog-panel-head > span { color:var(--ad-ink-mute); font-family:var(--ad-font-mono); font-size:8px; letter-spacing:.13em; }.ad-catalog-panel-head > span{padding:6px 8px;border:1px solid var(--ad-edge-soft);border-radius:999px}.ad-catalog-panel-head strong{color:var(--ad-ink-soft);font-size:16px;font-weight:500}.ad-catalog-panel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--ad-edge-soft)}.ad-catalog-panel-grid article{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;min-width:0;padding:22px;background:rgba(12,18,25,.94)}.ad-catalog-panel-grid i{width:22px;height:22px;border:1px solid var(--ad-accent-border);border-radius:50%;background:radial-gradient(circle at 32% 32%,var(--ad-accent),rgba(127,212,224,.12) 32%,transparent 35%);box-shadow:0 0 24px -13px var(--ad-accent)}.ad-catalog-panel-grid div{display:grid;gap:4px;min-width:0}.ad-catalog-panel-grid strong{color:var(--ad-ink-soft);font-family:var(--ad-font-mono);font-size:10px;letter-spacing:.08em}.ad-catalog-panel-grid span,.ad-catalog-panel-grid small{color:var(--ad-ink-mute);font-size:11px}.ad-catalog-panel-grid small{font-family:var(--ad-font-mono);font-size:7.5px;letter-spacing:.04em}.ad-catalog-panel-grid b{padding:6px 7px;border:1px solid rgba(232,173,135,.25);border-radius:999px;color:var(--ad-energy);font-family:var(--ad-font-mono);font-size:7px;font-weight:400;letter-spacing:.09em}.ad-catalog-request{display:flex;align-items:center;justify-content:center;gap:20px;padding:22px 24px;border-top:1px solid var(--ad-edge-soft);background:linear-gradient(90deg,rgba(127,212,224,.07),rgba(232,173,135,.025));}.ad-catalog-request code{color:var(--ad-ink-soft);font-family:var(--ad-font-mono);font-size:11px}.ad-catalog-request > span{color:var(--ad-accent);font-size:18px}.ad-catalog-request > div{display:flex;align-items:center;gap:9px;color:var(--ad-accent);font-family:var(--ad-font-mono);font-size:9px;letter-spacing:.1em}.ad-model-catalog figcaption{margin:0;padding:14px 24px;background:rgba(255,255,255,.015)}

/* Account sprawl becomes a systems diagram with a deliberately calmer right side. */
.ad-architecture-compare { gap:20px; }.ad-architecture-side { min-height:390px; padding:25px; overflow:hidden; }.ad-architecture-side figcaption strong{max-width:38ch}.ad-sprawl-app{display:inline-flex;align-items:center;justify-content:center;min-width:124px;min-height:39px;padding:0 11px;border:1px solid rgba(184,202,217,.3);border-radius:9px;background:rgba(12,17,23,.8);color:var(--ad-ink-soft);font-family:var(--ad-font-mono);font-size:8px;letter-spacing:.09em}.ad-sprawl-routes{position:relative;display:grid;gap:8px;margin-top:28px;padding-left:148px}.ad-sprawl-routes>i{position:absolute;left:62px;top:-10px;bottom:-10px;width:1px;background:linear-gradient(transparent,rgba(184,202,217,.26),transparent)}.ad-sprawl-routes>i::before,.ad-sprawl-routes>i::after{content:"";position:absolute;left:0;width:86px;height:1px;background:rgba(184,202,217,.2);transform-origin:left}.ad-sprawl-routes>i::before{top:32px;transform:rotate(-20deg)}.ad-sprawl-routes>i::after{bottom:32px;transform:rotate(20deg)}.ad-sprawl-routes div{position:relative;display:grid;gap:3px;padding:9px 11px;border:1px solid rgba(184,202,217,.16);border-radius:9px;background:rgba(8,11,15,.52)}.ad-sprawl-routes div::before{content:"";position:absolute;left:-91px;top:50%;width:90px;border-top:1px dotted rgba(184,202,217,.26)}.ad-sprawl-routes span,.ad-clean-models span{color:var(--ad-ink-soft);font-family:var(--ad-font-mono);font-size:8px;letter-spacing:.09em}.ad-sprawl-routes small{color:var(--ad-ink-mute);font-family:var(--ad-font-mono);font-size:7px;letter-spacing:.04em}.ad-clean-flow{display:grid;grid-template-columns:auto 1fr auto 1fr;align-items:center;gap:12px;margin-top:54px}.ad-clean-flow>i{height:1px;background:linear-gradient(90deg,rgba(127,212,224,.18),var(--ad-accent),rgba(127,212,224,.18));position:relative}.ad-clean-flow>i::after{content:"";position:absolute;right:10%;top:-3px;width:7px;height:7px;border-radius:50%;background:var(--ad-accent);box-shadow:0 0 10px rgba(127,212,224,.8);animation:ad-line-travel 6s linear infinite}.ad-clean-flow>i:nth-of-type(2)::after{animation-delay:2.5s}.ad-clean-hub{display:grid;place-items:center;gap:6px;min-width:154px;padding:14px 10px;border:1px solid rgba(127,212,224,.42);border-radius:13px;background:radial-gradient(circle at 50% 10%,rgba(127,212,224,.12),transparent 64%),#111c26;text-align:center}.ad-clean-hub strong{color:var(--ad-ink);font-family:var(--ad-font-mono);font-size:9px;letter-spacing:.09em}.ad-clean-hub small{color:var(--ad-ink-mute);font-family:var(--ad-font-mono);font-size:6.5px;letter-spacing:.08em}.ad-clean-models{display:grid;gap:9px}.ad-clean-models span{display:block;padding:8px 9px;border:1px solid var(--ad-edge-soft);border-radius:8px;background:rgba(10,15,21,.6);text-align:center}.ad-clean-models span::before{content:"";display:inline-block;width:4px;height:4px;margin:0 6px 1px 0;border-radius:50%;background:var(--ad-energy);box-shadow:0 0 7px rgba(232,173,135,.5)}

/* Shared product-surface polish. */
.ad-integration-stage .ad-code-panel{border:1px solid rgba(127,212,224,.22);background:linear-gradient(145deg,rgba(21,30,40,.95),rgba(8,12,17,.98));box-shadow:0 24px 70px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.08)}.ad-tabs{background:rgba(255,255,255,.025)}.ad-tab[aria-selected="true"]{border-color:var(--ad-accent);background:rgba(127,212,224,.08);color:var(--ad-ink)}.ad-integration-stage .ad-code{background:linear-gradient(100deg,rgba(127,212,224,.025),transparent 38%)}
.ad-console-shell{border-color:rgba(127,212,224,.24);background:linear-gradient(145deg,#111a24,#080c11 60%);box-shadow:0 32px 80px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.1)}.ad-console-shell aside{background:linear-gradient(180deg,#101923,#0b1016)}.ad-console-brand{display:flex;align-items:center;gap:9px}.ad-console-activity{border-color:rgba(127,212,224,.18);background:linear-gradient(90deg,rgba(127,212,224,.09),rgba(232,173,135,.025),transparent)}.ad-console-activity i:nth-child(3n){background:linear-gradient(180deg,rgba(232,173,135,.78),rgba(232,173,135,.13))}.ad-console-table>div{grid-template-columns:1.7fr repeat(2,.75fr) 1fr .7fr .55fr}.ad-console-table>div>span:nth-last-child(1){color:var(--ad-ink-mute)}
.ad-faq{transition:border-color .2s var(--ad-ease),background .2s var(--ad-ease)}.ad-faq:hover,.ad-faq[open]{border-color:rgba(127,212,224,.34);background:linear-gradient(90deg,rgba(127,212,224,.035),transparent 70%)}.ad-faq summary:focus-visible{outline:2px solid var(--ad-accent);outline-offset:-3px;border-radius:6px}.ad-faq[open] summary::before{content:"";position:absolute;left:-10px;top:34px;width:4px;height:4px;border-radius:50%;background:var(--ad-energy);box-shadow:0 0 8px rgba(232,173,135,.6)}.ad-invite-orbit{border-color:rgba(127,212,224,.2)}
.ad-nav{z-index:80}.ad-nav.ad-nav-scrolled .ad-nav-inner,.ad-nav.ad-nav-receded .ad-nav-inner{background:rgba(7,11,16,.975);border-color:rgba(184,202,217,.24);box-shadow:0 12px 32px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.09);backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%)}.ad-home-band,.ad-pricing-note-section,.ad-invite-section{scroll-margin-top:108px}

@keyframes ad-energy-pulse { 0%,100%{opacity:.55;transform:scale(.82)}50%{opacity:1;transform:scale(1.13)} }
@keyframes ad-trace-pulse { 0%,100%{opacity:.34;transform:scale(.82)}50%{opacity:1;transform:scale(1.24)} }

@media (max-width: 900px) {
  .ad-hero-network.ad-hero-execution{width:min(620px,100%);min-height:0;margin:24px auto 0}.ad-agent-task-grid{max-width:680px;margin-right:auto;margin-left:auto}.ad-catalog-panel-grid{grid-template-columns:1fr}.ad-catalog-panel-grid article+article{border-top:1px solid var(--ad-edge-soft)}.ad-clean-flow{grid-template-columns:auto 1fr auto 1fr;gap:8px}.ad-clean-hub{min-width:132px}.ad-sprawl-routes{padding-left:130px}.ad-sprawl-routes div::before{left:-76px;width:75px}.ad-sprawl-routes>i{left:54px}
}
@media (max-width: 768px) {
  .ad-hero-network.ad-hero-execution{min-height:0}.ad-hero-trace-head,.ad-hero-trace-context,.ad-hero-trace-summary{padding-left:16px;padding-right:16px}.ad-hero-trace-list{padding-right:12px;padding-left:12px}.ad-agent-figure{padding:22px 16px}.ad-agent-task-grid{grid-template-columns:1fr 1fr}.ad-agent-call{min-height:66px}.ad-agent-explicit-note{font-size:8px}.ad-architecture-side{min-height:0}.ad-clean-flow{grid-template-columns:1fr;justify-items:center;gap:13px;margin-top:26px}.ad-clean-flow>i{width:1px;height:23px;background:linear-gradient(var(--ad-accent),transparent)}.ad-clean-flow>i::after{right:-3px;top:auto;bottom:5px}.ad-clean-models{width:min(100%,270px);grid-template-columns:repeat(3,1fr)}.ad-sprawl-routes{padding-left:90px}.ad-sprawl-routes>i{left:38px}.ad-sprawl-routes div::before{left:-52px;width:51px}.ad-console-table>div{grid-template-columns:1.7fr repeat(2,.75fr) 1fr .7fr .55fr}.ad-console-table>div>span:nth-last-child(1){display:block}
}
@media (max-width: 520px) {
  .ad-nav-mark{--ad-brand-mark-size:28px !important}.ad-hero-trace-head em{font-size:6px}.ad-hero-trace-context strong{font-size:15px}.ad-hero-trace-list li{grid-template-columns:25px 1fr 7px;gap:8px}.ad-hero-trace-list small{font-size:7px}.ad-agent-task-grid{grid-template-columns:1fr}.ad-agent-task-grid::before{display:none}.ad-agent-call{min-height:58px}.ad-catalog-panel-head{padding:18px 16px}.ad-catalog-panel-head strong{font-size:14px}.ad-catalog-panel-grid article{padding:16px}.ad-catalog-request{align-items:flex-start;flex-direction:column;gap:10px;padding:17px 16px}.ad-catalog-request>span{display:none}.ad-model-catalog figcaption{padding:13px 16px}.ad-sprawl-routes{padding-left:54px}.ad-sprawl-routes>i{left:22px}.ad-sprawl-routes div::before{left:-32px;width:31px}.ad-clean-models{grid-template-columns:1fr}.ad-console-table>div{grid-template-columns:1.5fr .8fr .55fr}.ad-console-table>div>:nth-child(2),.ad-console-table>div>:nth-child(3),.ad-console-table>div>:nth-last-child(1){display:none}
}

@media (prefers-reduced-motion: reduce) {
  .ad-route-packets, .ad-moving-dot, .ad-agent-call i::after, .ad-agent-output i, .ad-constellation-packets { display: none !important; }
  .ad-core-halo, .ad-agent-hub, .ad-astro-hub, .ad-status-dot, .ad-verification-orbit span, .ad-step-connect i::after, .ad-console-activity i, .ad-hero-trace-context::before, .ad-hero-trace-list i, .ad-agent-call i, .ad-clean-flow>i::after { animation: none !important; }
  .ad-nav, .ad-nav-inner { transition: none !important; }
  .ad-flow-control { display: none; }
}
