/* === AIP Protocol Design System v3 - dark-first tokens === */
/* Benchmark: Linear / Stripe Docs / Vercel - precise B2B SaaS rhythm */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /*
    Color map
    - Core tokens keep older component rules stable while defaulting to dark UI.
    - AIP tokens define the main glass panels, hairlines, copy colors, and accents.
    - Spacing tokens create section rhythm without one-off inline styles.
  */
  color-scheme: dark;
  --ink:        #f6f9ff; /* Primary text on dark backgrounds. */
  --slate:      rgba(226, 239, 255, 0.68); /* Secondary copy. */
  --muted:      rgba(204, 219, 238, 0.52); /* Tertiary copy and metadata. */
  --line:       rgba(214, 232, 255, 0.14); /* Default hairline. */
  --line-strong:rgba(214, 232, 255, 0.24); /* Emphasized borders. */
  --mist:       rgba(17, 24, 36, 0.74); /* Soft panel fill. */
  --paper:      rgba(12, 17, 26, 0.82); /* Raised panel fill. */
  --brand:      #64cefb; /* Primary cyan brand accent. */
  --brand-dark: #3b82f6; /* Strong blue accent for gradients. */
  --brand-light:rgba(100, 206, 251, 0.12); /* Subtle brand wash. */
  --brand-soft: rgba(100, 206, 251, 0.18); /* Brand chip background. */
  --purple:     #9f7aea; /* Secondary technical accent. */
  --purple-soft:rgba(159, 122, 234, 0.14); /* Subtle purple wash. */
  --signal:     #69d7ff; /* Signal cyan. */
  --signal-soft:rgba(105, 215, 255, 0.12); /* Signal chip background. */
  --verified:   #80e7c2; /* Positive state. */
  --verified-soft:rgba(128, 231, 194, 0.12); /* Positive chip background. */
  --amber:      #e4c16d; /* Review/warning accent. */
  --amber-soft: rgba(228, 193, 109, 0.12); /* Review chip background. */
  --coral:      #f87171; /* Risk/destructive accent. */
  --coral-soft: rgba(248, 113, 113, 0.12); /* Risk chip background. */
  --charcoal:   #05070d; /* Deep background. */
  --radius:     8px;
  --radius-sm:  8px;
  --radius-xs:  6px;
  --shadow-sm:  0 12px 26px rgba(0,0,0,0.18);
  --shadow:     0 18px 42px rgba(0,0,0,0.24);
  --shadow-md:  0 28px 72px rgba(0,0,0,0.34);
  --shadow-lg:  0 36px 92px rgba(0,0,0,0.42);
  --shadow-xl:  0 42px 120px rgba(0,0,0,0.5);
  --max-w:      1240px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --aip-void: #05070d;
  --aip-panel: rgba(12, 17, 26, 0.82);
  --aip-panel-soft: rgba(17, 24, 36, 0.74);
  --aip-panel-raised: rgba(22, 30, 44, 0.86);
  --aip-hairline: rgba(214, 232, 255, 0.14);
  --aip-hairline-strong: rgba(214, 232, 255, 0.24);
  --aip-text: #f6f9ff;
  --aip-subtle: rgba(226, 239, 255, 0.68);
  --aip-muted: rgba(204, 219, 238, 0.52);
  --aip-cyan: #64cefb;
  --aip-mint: #72e3bc;
  --aip-gold: #dfba6a;
  --aip-blue: #8db8ff;
  --aip-panel-shadow: 0 28px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --aip-panel-shadow-hover: 0 36px 98px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.12);

  --surface-deep: rgba(9, 13, 21, 0.94);
  --surface-mid: rgba(17, 23, 34, 0.92);
  --surface-line: rgba(219, 238, 255, 0.16);
  --surface-line-bright: rgba(138, 222, 255, 0.34);
  --surface-copy: rgba(238, 247, 255, 0.72);
  --surface-muted: rgba(209, 226, 242, 0.54);
  --accent-cyan: #69d7ff;
  --accent-mint: #80e7c2;
  --accent-gold: #e4c16d;

  --space-hero: 120px;
  --space-section-lg: 112px;
  --space-section: 88px;
  --space-section-sm: 64px;
  --space-section-header: 56px;
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: rgba(255,255,255,0.9);
  background: #020611;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-dynamic-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background: #020611;
  pointer-events: none;
}
.site-dynamic-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
  filter: saturate(1.2) contrast(1.12) brightness(0.86);
}
.site-bg-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(100,206,251,0.12), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(37,99,235,0.12), transparent 34%),
    linear-gradient(180deg, rgba(2,6,17,0.6) 0%, rgba(2,6,17,0.44) 38%, rgba(2,6,17,0.7) 100%),
    linear-gradient(90deg, rgba(2,6,17,0.42) 0%, transparent 34%, rgba(2,6,17,0.18) 68%, rgba(2,6,17,0.38) 100%);
}
main,
.site-header,
.footer {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: 0; }

h1 { font-size: 56px; font-weight: 800; }
h2 { font-size: 38px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }

.lead { font-size: 18px; line-height: 1.65; color: var(--slate); max-width: 560px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 20px; height: 2px; background: var(--brand);
  border-radius: 1px;
}

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(226,232,240,0.8);
}

.nav {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-logo { height: 28px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--slate);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--ink); background: var(--mist); }
.nav-links a.active { color: var(--brand); font-weight: 600; }

/* === Buttons === */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 24px;
  border: 1px solid var(--ink); border-radius: var(--radius-sm);
  background: var(--ink); color: white;
  font-size: 14px; font-weight: 600;
  transition: all var(--transition); cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.button:hover { background: #1e293b; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.button.secondary {
  background: var(--paper); color: var(--ink); border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.button.secondary:hover { background: var(--mist); border-color: #94a3b8; box-shadow: var(--shadow); }
.button.brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-color: var(--brand-dark);
  box-shadow: 0 2px 8px rgba(37,99,235,0.3), 0 1px 2px rgba(37,99,235,0.2);
}
.button.brand:hover {
  background: linear-gradient(135deg, #3b82f6 0%, var(--brand) 100%);
  box-shadow: 0 4px 16px rgba(37,99,235,0.35), 0 2px 4px rgba(37,99,235,0.2);
  transform: translateY(-1px);
}

/* === Layout === */
.container,
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; position: relative; }
.section.alt {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(37,99,235,0.03), transparent),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(124,58,237,0.02), transparent),
    var(--mist);
}
.section.dark {
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(37,99,235,0.15), transparent),
    radial-gradient(ellipse 50% 40% at 30% 70%, rgba(124,58,237,0.08), transparent),
    var(--charcoal);
  color: white;
}
.section + .section { border-top: 1px solid var(--line); }
.section.dark + .section { border-top: none; }
.section + .section.dark { border-top: none; }

.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header .lead { margin-top: 16px; }

.section-header-center { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header-center .lead { margin: 16px auto 0; }
.section-header-center .eyebrow { justify-content: center; }

/* === Hero === */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37,99,235,0.08), transparent),
    radial-gradient(ellipse 60% 50% at 30% 80%, rgba(6,182,212,0.06), transparent),
    linear-gradient(180deg, #f8faff 0%, var(--paper) 100%);
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(37,99,235,0.05) 0%, transparent 50%),
    radial-gradient(circle at 25% 70%, rgba(124,58,237,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}

.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }

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

/* Abstract Hero Visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
}

.hero-glow {
  position: absolute; inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(37,99,235,0.18) 0%,
    rgba(6,182,212,0.12) 30%,
    rgba(124,58,237,0.06) 55%,
    transparent 75%
  );
  filter: blur(50px);
  animation: none;
}

@keyframes glow-pulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

.hero-orbit {
  position: absolute; inset: 4%;
  border: 1.5px solid rgba(37,99,235,0.18);
  border-radius: 50%;
  animation: none;
}

.hero-orbit:nth-child(3) {
  inset: 18%;
  border: 1.5px dashed rgba(6,182,212,0.2);
  animation-duration: 28s; animation-direction: reverse;
}

.hero-orbit:nth-child(4) {
  inset: 33%;
  border: 1px solid rgba(124,58,237,0.12);
  animation-duration: 50s;
}

@keyframes orbit-spin { to { transform: rotate(360deg); } }

.hero-orbit-dot {
  position: absolute; top: 0; left: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 16px rgba(37,99,235,0.5), 0 0 40px rgba(37,99,235,0.2);
}

.hero-orbit:nth-child(3) .hero-orbit-dot {
  background: var(--signal);
  box-shadow: 0 0 16px rgba(6,182,212,0.5), 0 0 40px rgba(6,182,212,0.2);
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
}
.hero-orbit:nth-child(4) .hero-orbit-dot {
  background: #7c3aed;
  box-shadow: 0 0 14px rgba(124,58,237,0.5), 0 0 36px rgba(124,58,237,0.15);
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
}

.hero-center-mark {
  position: absolute; inset: 36%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  box-shadow: 0 8px 40px rgba(37,99,235,0.12), 0 0 0 8px rgba(37,99,235,0.04);
}
.hero-center-mark img { width: 52px; height: 52px; }

/* Floating cards around hero visual */
.hero-float-card {
  position: absolute; padding: 10px 16px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(37,99,235,0.04);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  animation: none;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
}
.hero-float-card .dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; margin-right: 8px;
}
.hero-float-card .dot.blue { background: var(--brand); box-shadow: 0 0 6px rgba(37,99,235,0.4); }
.hero-float-card .dot.cyan { background: var(--signal); box-shadow: 0 0 6px rgba(6,182,212,0.4); }
.hero-float-card .dot.green { background: var(--verified); box-shadow: 0 0 6px rgba(5,150,105,0.4); }
.hero-float-card .dot.amber { background: var(--amber); box-shadow: 0 0 6px rgba(217,119,6,0.4); }

.float-1 { top: 4%; right: -8%; animation-delay: 0s; }
.float-2 { bottom: 18%; right: -12%; animation-delay: 1s; }
.float-3 { top: 14%; left: -10%; animation-delay: 0.5s; }
.float-4 { bottom: 4%; left: -6%; animation-delay: 1.5s; }

@keyframes float-card {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* === Proof Strip === */
.proof-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 64px; padding: 36px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}

.proof-item {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.proof-item:last-child { border-right: none; }
.proof-item .proof-num {
  font-size: 11px; font-weight: 800; color: var(--brand);
  margin-bottom: 10px; letter-spacing: 0.04em;
  background: var(--brand-light);
  display: inline-block; padding: 2px 8px;
  border-radius: var(--radius-xs);
}
.proof-item strong { display: block; font-size: 15px; margin-bottom: 6px; }
.proof-item p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.product-proof-cards {
  gap: 18px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.product-proof-cards .proof-card {
  min-height: 168px;
  padding: 26px 22px 22px;
  border: 1px solid rgba(148,163,184,0.22);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow: 0 18px 42px rgba(15,23,42,0.08);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
}
.product-proof-cards .proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(15,23,42,0.12);
  border-color: rgba(96,165,250,0.42);
}
.product-proof-cards .proof-card::before,
.product-proof-cards .proof-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.product-proof-cards .proof-card::before {
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.32) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0.72), transparent 72%);
  mask-image: linear-gradient(135deg, rgba(0,0,0,0.72), transparent 72%);
}
.product-proof-cards .proof-card::after {
  width: 180px;
  height: 180px;
  right: -74px;
  top: -80px;
  border-radius: 50%;
  filter: blur(4px);
}
.product-proof-cards .proof-card .proof-num {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 8px 20px rgba(15,23,42,0.08);
  backdrop-filter: blur(10px);
}
.product-proof-cards .proof-card strong,
.product-proof-cards .proof-card p {
  position: relative;
  z-index: 1;
}
.product-proof-cards .proof-card strong {
  max-width: 220px;
  font-size: 16px;
}
.product-proof-cards .proof-card p {
  max-width: 220px;
  color: #516174;
}
.proof-card-blue {
  background:
    radial-gradient(circle at 82% 18%, rgba(37,99,235,0.22), transparent 36%),
    linear-gradient(145deg, #eff6ff 0%, #f8fbff 58%, #eef6ff 100%);
}
.proof-card-blue::after { background: rgba(37,99,235,0.16); }
.proof-card-cyan {
  background:
    radial-gradient(circle at 78% 20%, rgba(6,182,212,0.22), transparent 36%),
    linear-gradient(145deg, #ecfeff 0%, #f7fdff 56%, #edf8ff 100%);
}
.proof-card-cyan::after { background: rgba(6,182,212,0.16); }
.proof-card-amber {
  background:
    radial-gradient(circle at 78% 20%, rgba(251,191,36,0.22), transparent 36%),
    linear-gradient(145deg, #fffbeb 0%, #fffdf7 56%, #eff6ff 100%);
}
.proof-card-amber::after { background: rgba(251,191,36,0.16); }
.proof-card-green {
  background:
    radial-gradient(circle at 78% 20%, rgba(5,150,105,0.2), transparent 36%),
    linear-gradient(145deg, #ecfdf5 0%, #f8fffc 56%, #eef7ff 100%);
}
.proof-card-green::after { background: rgba(5,150,105,0.14); }

/* === Cards === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--signal) 50%, var(--purple) 100%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--brand-soft);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.card-icon.blue { background: linear-gradient(135deg, var(--brand-soft) 0%, #c7d2fe 100%); color: var(--brand); }
.card-icon.cyan { background: linear-gradient(135deg, var(--signal-soft) 0%, #a5f3fc 100%); color: var(--signal); }
.card-icon.green { background: linear-gradient(135deg, var(--verified-soft) 0%, #a7f3d0 100%); color: var(--verified); }
.card-icon.amber { background: linear-gradient(135deg, var(--amber-soft) 0%, #fde68a 100%); color: var(--amber); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 15px; line-height: 1.65; }

/* === Conversation Mock (Product Hero) === */
.conversation-mock {
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
  position: relative;
  isolation: isolate;
}
.conversation-mock::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(
    115deg,
    rgba(37,99,235,0.18) 0%,
    rgba(147,197,253,0.46) 28%,
    rgba(6,182,212,0.28) 52%,
    rgba(251,191,36,0.18) 72%,
    rgba(37,99,235,0.22) 100%
  );
  background-size: 220% 220%;
  animation: none;
  z-index: -1; padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.conversation-mock::after {
  content: '';
  position: absolute;
  inset: -16px;
  z-index: -2;
  border-radius: calc(var(--radius) + 16px);
  background:
    radial-gradient(circle at 20% 18%, rgba(37,99,235,0.2), transparent 34%),
    radial-gradient(circle at 76% 80%, rgba(96,165,250,0.18), transparent 36%),
    radial-gradient(circle at 82% 24%, rgba(251,191,36,0.1), transparent 30%),
    linear-gradient(135deg, rgba(37,99,235,0.16), rgba(6,182,212,0.1), rgba(147,197,253,0.14));
  background-size: 160% 160%;
  filter: blur(18px);
  opacity: 0.64;
  animation: none;
  pointer-events: none;
}

@keyframes conversation-border-flow {
  0% { background-position: 0% 45%; }
  100% { background-position: 100% 55%; }
}

@keyframes conversation-frame-glow {
  0% {
    opacity: 0.46;
    transform: scale(0.985);
    filter: blur(18px) saturate(0.98);
    background-position: 0% 50%;
  }
  100% {
    opacity: 0.76;
    transform: scale(1.015);
    filter: blur(20px) saturate(1.12);
    background-position: 100% 50%;
  }
}

.conv-message {
  margin-bottom: 16px; padding: 14px 16px;
  border-radius: 10px; font-size: 14px; line-height: 1.55;
}
.conv-message:last-child { margin-bottom: 0; }
.conv-user {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  margin-left: 40px; border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.conv-user .conv-label {
  color: rgba(255,255,255,0.72);
  margin-bottom: 8px;
}
.conv-user-text {
  display: inline;
}
.conv-caret {
  display: none;
  width: 2px;
  height: 1.15em;
  margin-left: 3px;
  vertical-align: -0.16em;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  animation: conv-caret-blink 0.85s steps(2, start) infinite;
}
.js-enabled .conversation-sequence .conv-caret {
  display: inline-block;
}
.js-enabled .conversation-sequence .conv-reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(3px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-enabled .conversation-sequence .conv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
@keyframes conv-caret-blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}
.conv-agent {
  background: var(--paper); border: 1px solid var(--line);
  margin-right: 20px; border-bottom-left-radius: 4px;
}
.conv-label {
  display: flex; align-items: center; gap: 4px;
  width: fit-content;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.03em; margin-bottom: 6px;
}
.conv-label.organic,
.conv-label.agent { color: var(--slate); }
.conv-agent [data-case-field="organic"] {
  display: block;
}
.conv-label.sponsored { color: var(--brand); }

.conv-sponsored {
  background: linear-gradient(180deg, #eff6ff 0%, #eaf4ff 100%);
  border: 1px solid rgba(147,197,253,0.72);
  margin-right: 20px; border-radius: 10px;
  padding: 14px 16px; position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(37,99,235,0.1), inset 0 1px 0 rgba(255,255,255,0.82);
}
.conv-sponsored::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(
    115deg,
    rgba(37,99,235,0.12) 0%,
    rgba(96,165,250,0.95) 26%,
    rgba(6,182,212,0.72) 48%,
    rgba(251,191,36,0.56) 68%,
    rgba(37,99,235,0.18) 100%
  );
  background-size: 260% 260%;
  animation: sponsored-border-flow 5.5s ease-in-out infinite alternate;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.conv-sponsored::after {
  content: none;
}
@keyframes sponsored-border-flow {
  0% { background-position: 0% 45%; }
  100% { background-position: 100% 55%; }
}
.conv-sponsored > * {
  position: relative;
  z-index: 1;
}
.conv-sponsored .conv-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  padding: 2px 8px; border-radius: 4px; letter-spacing: 0.04em;
}
.conv-sponsored p { font-size: 14px; margin-top: 8px; color: var(--ink); }
.conv-sponsored .conv-meta {
  font-size: 12px; color: var(--muted); margin-top: 6px;
}

/* === Flow Diagram (SVG-based) === */
.flow-diagram {
  display: flex; align-items: center; gap: 0;
  padding: 32px 0; overflow-x: auto;
}

.flow-node {
  flex-shrink: 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  text-align: center;
  min-width: 120px;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}
.flow-node:hover {
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.flow-node .flow-step {
  font-size: 10px; font-weight: 700; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px;
  background: var(--brand-light);
  display: inline-block; padding: 1px 6px;
  border-radius: var(--radius-xs);
}
.flow-node h4 { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.flow-node p { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.flow-node.highlight {
  border-color: var(--verified);
  background: linear-gradient(135deg, var(--verified-soft) 0%, #d1fae5 100%);
  box-shadow: 0 4px 16px rgba(5,150,105,0.12);
}
.flow-node.highlight .flow-step { color: var(--verified); background: rgba(5,150,105,0.12); }

.flow-arrow {
  flex-shrink: 0;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--line) 0%, var(--brand-soft) 100%);
  position: relative;
}
.flow-arrow::after {
  content: ''; position: absolute;
  right: 0; top: -3px;
  border: 4px solid transparent;
  border-left: 6px solid var(--brand-soft);
}

/* === Architecture Layers === */
.arch-stack { display: grid; gap: 10px; }

.arch-layer {
  display: grid;
  grid-template-columns: 48px 180px 1fr;
  align-items: center; gap: 16px;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  transition: all var(--transition-slow);
}
.arch-layer:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateX(8px);
  box-shadow: -4px 0 0 var(--brand), 0 4px 20px rgba(0,0,0,0.2);
}

.arch-num {
  width: 36px; height: 36px;
  border-radius: 10px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.arch-num.l1 { background: linear-gradient(135deg, rgba(37,99,235,0.3), rgba(37,99,235,0.15)); color: #93c5fd; }
.arch-num.l2 { background: linear-gradient(135deg, rgba(6,182,212,0.3), rgba(6,182,212,0.15)); color: #67e8f9; }
.arch-num.l3 { background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(37,99,235,0.1)); color: #93c5fd; }
.arch-num.l4 { background: linear-gradient(135deg, rgba(5,150,105,0.3), rgba(5,150,105,0.15)); color: #6ee7b7; }
.arch-num.l5 { background: linear-gradient(135deg, rgba(217,119,6,0.3), rgba(217,119,6,0.15)); color: #fcd34d; }

.arch-name { font-weight: 600; font-size: 15px; }
.arch-modules { font-size: 13px; color: rgba(255,255,255,0.55); letter-spacing: 0.01em; }

/* === Pathway (Pricing) === */
.pathway {
  display: flex; align-items: flex-start; gap: 0;
  padding: 24px 0;
}

.pathway-step {
  flex: 1;
  text-align: center; padding: 0 12px;
  position: relative;
}
.pathway-step::after {
  content: ''; position: absolute;
  top: 20px; right: -50%; left: 50%;
  height: 2px; background: var(--line);
}
.pathway-step:last-child::after { display: none; }

.pathway-dot {
  width: 44px; height: 44px;
  border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #c7d2fe 100%);
  color: var(--brand);
  font-size: 14px; font-weight: 700;
  position: relative; z-index: 1;
  border: 3px solid var(--paper);
  box-shadow: 0 2px 8px rgba(37,99,235,0.2), var(--shadow-sm);
}
.pathway-step h4 { font-size: 14px; margin-bottom: 4px; letter-spacing: 0; }
.pathway-step p { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* === Price Cards === */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.price-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); padding: 36px;
  display: flex; flex-direction: column;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--brand-soft);
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 8px 30px rgba(37,99,235,0.15);
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--paper) 40%);
}
.price-card.featured:hover {
  box-shadow: 0 0 0 1px var(--brand), 0 16px 48px rgba(37,99,235,0.2);
}
.price-card .tag-rec {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  color: var(--brand); letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.price-card h3 { margin-bottom: 8px; }
.price-card .price-desc { font-size: 14px; color: var(--slate); margin-bottom: 20px; line-height: 1.5; }
.price-card .price-label {
  font-size: 28px; font-weight: 700; margin-bottom: 20px;
  letter-spacing: 0;
}
.price-card .price-label span { font-size: 14px; font-weight: 500; color: var(--muted); }

.feature-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.feature-list li {
  font-size: 14px; color: var(--slate);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.feature-list li::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 1px;
  background: var(--verified-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.price-card .button { margin-top: auto; width: 100%; }

/* === Policy / Gate Stack === */
.gate-stack { display: grid; gap: 12px; max-width: 480px; }

.gate-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.gate-item:hover {
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.gate-icon {
  width: 40px; height: 40px;
  border-radius: 10px; display: grid; place-items: center;
  flex-shrink: 0; font-size: 16px;
  box-shadow: var(--shadow-sm);
}

.gate-item h4 { font-size: 14px; letter-spacing: 0; }
.gate-item p { font-size: 13px; color: var(--muted); margin-top: 2px; }

.gate-status {
  margin-left: auto; flex-shrink: 0;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; letter-spacing: 0.03em;
}
.gate-status.active { background: var(--verified-soft); color: var(--verified); }
.gate-status.review { background: var(--amber-soft); color: var(--amber); }

/* Policy blocks */
.policy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px; align-items: start;
}

.side-rail {
  position: sticky; top: 80px;
  display: grid; gap: 2px;
}
/* side-rail a styles defined in enhancement section below */

.policy-stack { display: grid; gap: 16px; }

.policy-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 32px;
  border-left: 4px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.policy-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.policy-block.prohibited { border-left-color: var(--coral); background: linear-gradient(90deg, var(--coral-soft) 0%, var(--paper) 8%); }
.policy-block.restricted { border-left-color: var(--amber); background: linear-gradient(90deg, var(--amber-soft) 0%, var(--paper) 8%); }
.policy-block.data { border-left-color: var(--signal); background: linear-gradient(90deg, var(--signal-soft) 0%, var(--paper) 8%); }
.policy-block.enforcement { border-left-color: var(--verified); background: linear-gradient(90deg, var(--verified-soft) 0%, var(--paper) 8%); }

.policy-block h3 { margin-bottom: 12px; }
.policy-block p { color: var(--slate); font-size: 15px; line-height: 1.6; }
.policy-block ul {
  margin: 12px 0 0; padding-left: 20px;
  color: var(--slate); font-size: 14px; line-height: 1.8;
}

/* === Table === */
.table-wrap {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow-x: auto; background: var(--paper);
  box-shadow: var(--shadow-md);
}
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  text-align: left; font-size: 14px;
}
th {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
  background: linear-gradient(180deg, var(--mist) 0%, #f1f5f9 100%);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--brand-light); }

/* === FAQ === */
.faq-list { display: grid; gap: 12px; max-width: 720px; }

.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--brand-soft); }
.faq-item.open { border-color: var(--brand-soft); box-shadow: var(--shadow); }
.faq-q {
  padding: 18px 22px;
  font-weight: 600; font-size: 15px;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  user-select: none;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--mist); }
.faq-q::after {
  content: '+'; font-size: 20px; font-weight: 400; color: var(--muted);
  transition: transform var(--transition), color var(--transition);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--mist);
}
.faq-item.open .faq-q::after { content: '\2212'; background: var(--brand-light); color: var(--brand); }
.faq-a {
  padding: 0 22px 18px;
  font-size: 14px; color: var(--slate); line-height: 1.65;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* === Footer === */
.footer {
  padding: 48px 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(37,99,235,0.08), transparent),
    var(--charcoal);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: start;
  gap: 24px; flex-wrap: wrap;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}
.footer p { font-size: 13px; line-height: 1.6; }
.footer-copyright {
  margin-top: 4px;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: white; }
.footer-stripe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  text-decoration: none;
}
.footer-stripe:hover {
  color: rgba(255,255,255,0.72);
}
.stripe-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #635bff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

/* === Checkout / Internal pages === */
.checkout-preview {
  border: 1px solid var(--line); background: var(--charcoal);
  color: white; border-radius: var(--radius); padding: 24px;
}
.checkout-preview code {
  color: #fcd34d; white-space: pre-wrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.compliance-note {
  border: 1px solid rgba(5,150,105,0.2);
  border-radius: var(--radius-sm);
  background: var(--verified-soft);
  padding: 20px; color: #1e3a32;
}
.compliance-note strong { display: block; margin-bottom: 6px; }

/* === Feature Row Enhancement === */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

/* === Premium Content Systems === */
.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 72px;
  align-items: center;
}

.visual-panel,
.asset-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(207,230,255,0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(229,242,255,0.72));
  box-shadow: 0 24px 64px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(1.12);
}

.visual-panel img,
.asset-card img {
  width: 100%;
  display: block;
}

.visual-panel::after,
.asset-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(100,206,251,0.16), transparent 38%);
}

.asset-card {
  padding: 12px;
}

.asset-card img {
  border-radius: var(--radius-sm);
}

.assurance-grid,
.insight-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.assurance-card,
.insight-card,
.process-card,
.legal-summary-card,
.contact-channel {
  border: 1px solid rgba(207,230,255,0.56);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(232,241,250,0.78));
  box-shadow: 0 16px 42px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.78);
  backdrop-filter: blur(18px) saturate(1.12);
}

.assurance-card,
.insight-card,
.process-card,
.legal-summary-card {
  padding: 26px;
}

.process-card {
  position: relative;
  overflow: hidden;
}

.process-card::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: rgba(37,99,235,0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.assurance-card h3,
.insight-card h3,
.process-card h3,
.legal-summary-card h3,
.contact-channel h3 {
  margin-bottom: 10px;
}

.assurance-card p,
.insight-card p,
.process-card p,
.legal-summary-card p,
.contact-channel p {
  color: #43546a;
  font-size: 15px;
  line-height: 1.65;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(100,206,251,0.24);
  border-radius: 999px;
  background: rgba(100,206,251,0.1);
  color: rgba(235,248,255,0.9);
  font-size: 12px;
  font-weight: 600;
}

.price-card .price-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 14px 0;
  border-top: 1px solid rgba(15,23,42,0.08);
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.price-card .price-meta span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #43546a;
  font-size: 13px;
}

.price-card .price-meta strong {
  color: var(--ink);
  font-weight: 700;
}

.contact-console {
  padding: 26px;
  border: 1px solid rgba(100,206,251,0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 12%, rgba(100,206,251,0.18), transparent 36%),
    linear-gradient(145deg, rgba(5,12,30,0.9), rgba(8,18,38,0.74));
  box-shadow: 0 28px 70px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.12);
}

.contact-console-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.contact-console-header strong {
  color: white;
  font-size: 17px;
}

.contact-console-header span,
.contact-row span,
.contact-note {
  color: rgba(226,241,255,0.66);
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(5,150,105,0.14);
  color: #8ef0c2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-row:last-of-type {
  border-bottom: none;
}

.contact-row-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: rgba(100,206,251,0.12);
  color: #64cefb;
  font-size: 13px;
  font-weight: 800;
}

.contact-row strong {
  display: block;
  color: white;
  margin-bottom: 2px;
}

.contact-channel {
  padding: 28px;
}

.contact-channel a,
.policy-block a,
.legal-summary-card a {
  color: var(--brand);
  font-weight: 600;
}

.spec-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.spec-list li {
  position: relative;
  padding-left: 20px;
  color: #43546a;
  line-height: 1.55;
}

.spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(6,182,212,0.12);
}

.legal-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.legal-summary-card {
  min-height: 168px;
}

/* === Status Tags Enhancement === */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag.green { background: var(--verified-soft); color: var(--verified); border: 1px solid rgba(5,150,105,0.15); }
.tag.blue { background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(37,99,235,0.15); }
.tag.amber { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(217,119,6,0.15); }

/* === Side Rail Enhancement === */
.side-rail a {
  display: block; padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.side-rail a:hover {
  background: var(--brand-light); color: var(--brand);
  border-left-color: var(--brand);
}

/* === Responsive === */
@media (max-width: 960px) {
  .hero-grid, .feature-row, .feature-row.reverse, .page-hero-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse { direction: ltr; }
  .hero-visual { max-width: 360px; }
  .grid-3, .price-grid, .assurance-grid, .insight-grid, .process-grid, .legal-summary { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .side-rail { position: static; display: flex; gap: 4px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .proof-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 24px; }
  .proof-item { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .flow-diagram { overflow-x: auto; padding-bottom: 16px; }
  .arch-layer { grid-template-columns: 40px 1fr; }
  .arch-modules { grid-column: 1 / -1; }
  .pathway { flex-direction: column; align-items: stretch; }
  .pathway-step::after { display: none; }
  .pathway-step { text-align: left; display: flex; align-items: center; gap: 16px; padding: 8px 0; }
  .pathway-dot { margin: 0; flex-shrink: 0; }
}

@media (max-width: 640px) {
  .nav { height: auto; flex-direction: column; align-items: flex-start; padding: 12px 16px; gap: 8px; }
  .nav-links { flex-wrap: wrap; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; }
  .hero-float-card { display: none; }
  h1 { font-size: 36px; }
  .footer-inner { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-console-header { align-items: flex-start; flex-direction: column; }
  .asset-card { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-orbit, .hero-float-card, .conversation-mock::before, .conversation-mock::after, .conv-sponsored::before, .conv-caret { animation: none; }
  .site-dynamic-bg video { display: none; }
  .js-enabled .conversation-sequence .conv-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* === Dynamic Background Theme === */
.site-header {
  background: rgba(2,6,17,0.76);
  border-bottom-color: rgba(148,201,255,0.16);
  box-shadow: 0 10px 32px rgba(0,0,0,0.2);
  backdrop-filter: blur(24px) saturate(1.45);
}
.nav-links a { color: rgba(255,255,255,0.68); }
.nav-links a:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #64cefb; }

.hero {
  background:
    linear-gradient(180deg, rgba(2,6,17,0.12) 0%, rgba(2,6,17,0.34) 100%);
}
.section {
  background:
    linear-gradient(180deg, rgba(2,6,17,0.4) 0%, rgba(5,11,26,0.54) 100%);
}
.section.alt {
  background:
    radial-gradient(ellipse 58% 44% at 18% 12%, rgba(6,182,212,0.08), transparent 62%),
    linear-gradient(180deg, rgba(6,13,29,0.58) 0%, rgba(3,8,20,0.68) 100%);
}
.section.dark {
  background:
    radial-gradient(ellipse 58% 50% at 78% 20%, rgba(124,58,237,0.12), transparent 60%),
    linear-gradient(180deg, rgba(2,6,17,0.76) 0%, rgba(4,9,22,0.86) 100%);
}
.hero::before {
  background:
    radial-gradient(circle at 72% 22%, rgba(100,206,251,0.12), transparent 34%),
    radial-gradient(circle at 22% 78%, rgba(37,99,235,0.12), transparent 38%);
}
.section + .section { border-top-color: rgba(255,255,255,0.1); }

.hero h1,
.section h1,
.section-header h2,
.section-header-center h2 {
  color: white;
  text-shadow: 0 14px 42px rgba(0,0,0,0.36);
}
.hero .lead,
.section .lead,
.section-header .lead,
.section-header-center .lead {
  color: rgba(255,255,255,0.76);
  text-shadow: 0 8px 28px rgba(0,0,0,0.24);
}
.eyebrow {
  color: #64cefb;
  text-shadow: 0 0 24px rgba(100,206,251,0.18);
}
.eyebrow::before {
  background: #64cefb;
  box-shadow: 0 0 18px rgba(100,206,251,0.55);
}

.button.secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
}
.button.secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(100,206,251,0.42);
}

.hero-float-card {
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(225,239,255,0.78) 100%);
  border-color: rgba(190,219,255,0.74);
  box-shadow: 0 16px 44px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.82);
}

.card,
.price-card,
.policy-block,
.table-wrap,
.faq-item,
.gate-item,
.conversation-mock,
.proof-strip,
.checkout-preview,
.compliance-note {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(232,241,250,0.8) 100%);
  border-color: rgba(207,230,255,0.62);
  box-shadow: 0 18px 46px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.82);
  backdrop-filter: blur(22px) saturate(1.16);
}
.card h3,
.card h4,
.price-card h3,
.price-card .price-label,
.policy-block h3,
.gate-item h4,
.flow-node h4,
.pathway-step h4,
.proof-item strong,
.faq-q,
.conversation-mock,
.table-wrap,
.compliance-note,
.assurance-card h3,
.insight-card h3,
.process-card h3,
.legal-summary-card h3,
.contact-channel h3,
.product-proof-cards .proof-card strong {
  color: var(--ink);
  text-shadow: none;
}
.card p,
.price-card .price-desc,
.price-card .price-label span,
.policy-block p,
.policy-block ul,
.gate-item p,
.faq-a,
.feature-list li,
.flow-node p,
.pathway-step p,
.proof-item p,
.product-proof-cards .proof-card p,
.card li,
.spec-list li {
  color: #43546a;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(229,242,255,0.9) 0%, rgba(255,255,255,0.78) 54%);
  border-color: rgba(100,206,251,0.64);
  box-shadow: 0 0 0 1px rgba(100,206,251,0.36), 0 24px 64px rgba(37,99,235,0.18);
}
.price-card .button.secondary {
  background: rgba(255,255,255,0.78);
  color: #0f172a;
  border-color: rgba(148,163,184,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 12px 28px rgba(15,23,42,0.08);
}
.price-card .button.secondary:hover {
  background: rgba(255,255,255,0.94);
  border-color: rgba(100,206,251,0.58);
  color: #0f172a;
}
.policy-block.prohibited { background: linear-gradient(90deg, rgba(254,226,226,0.88) 0%, rgba(242,248,255,0.78) 12%); }
.policy-block.restricted { background: linear-gradient(90deg, rgba(254,243,199,0.88) 0%, rgba(242,248,255,0.78) 12%); }
.policy-block.data { background: linear-gradient(90deg, rgba(207,250,254,0.88) 0%, rgba(242,248,255,0.78) 12%); }
.policy-block.enforcement { background: linear-gradient(90deg, rgba(209,250,229,0.88) 0%, rgba(242,248,255,0.78) 12%); }

.product-proof-cards {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.product-proof-cards .proof-card {
  border-color: rgba(214,234,255,0.62);
  box-shadow: 0 24px 70px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.74);
  backdrop-filter: blur(18px) saturate(1.14);
}

.pathway-step h4 {
  color: white;
  text-shadow: 0 10px 28px rgba(0,0,0,0.34);
}
.pathway-step p {
  color: rgba(235,245,255,0.68);
  text-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.pathway-step::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.78), rgba(100,206,251,0.76));
}
.pathway-dot {
  border-color: rgba(255,255,255,0.88);
  box-shadow: 0 0 0 1px rgba(100,206,251,0.32), 0 14px 34px rgba(0,0,0,0.26);
}

.section.dark .lead,
.section.dark .arch-modules {
  color: rgba(255,255,255,0.68);
}
.arch-layer {
  background: rgba(2,6,17,0.48);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
}
.side-rail a { color: rgba(255,255,255,0.68); }
.side-rail a:hover { background: rgba(100,206,251,0.12); color: #64cefb; }

.footer {
  background: rgba(2,6,17,0.78);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
}

/* === Premium deployment pass === */

body {
  color: var(--aip-text);
  background:
    linear-gradient(180deg, #05070d 0%, #080b12 46%, #05070d 100%);
}

.site-bg-shade {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.22) 0%, rgba(5, 7, 13, 0.52) 44%, rgba(5, 7, 13, 0.78) 100%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.66) 0%, rgba(5, 7, 13, 0.16) 52%, rgba(5, 7, 13, 0.58) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.026) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 72px);
}

.site-dynamic-bg video {
  opacity: 1;
  filter: saturate(1.08) contrast(1.12) brightness(0.9);
}

.site-header {
  background: rgba(5, 7, 13, 0.72);
  border-bottom-color: rgba(214, 232, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.nav {
  height: 70px;
}

.brand-logo {
  height: 30px;
}

.nav-links {
  padding: 5px;
  border: 1px solid rgba(214, 232, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-links a {
  border-radius: 999px;
  color: rgba(232, 242, 255, 0.64);
}

.nav-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.075);
}

.nav-links a.active {
  color: #08111f;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(211,235,255,0.88));
  box-shadow: 0 8px 22px rgba(100, 206, 251, 0.16), inset 0 1px 0 rgba(255,255,255,0.88);
}

.hero {
  min-height: min(860px, calc(100vh - 70px));
  display: flex;
  align-items: center;
  padding: 72px 0 84px;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.08) 0%, rgba(5, 7, 13, 0.58) 100%);
}

.hero::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.032) 0 1px, transparent 1px 96px);
}

.section {
  padding: 104px 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.64), rgba(8, 11, 18, 0.72));
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(8, 12, 19, 0.78), rgba(5, 7, 13, 0.82)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.024) 0 1px, transparent 1px 86px);
}

.section.dark {
  background:
    linear-gradient(180deg, rgba(4, 6, 11, 0.94), rgba(8, 12, 20, 0.9));
}

.hero-grid,
.page-hero-split,
.feature-row {
  gap: clamp(44px, 7vw, 82px);
}

.hero h1,
.section h1,
.section-header h2,
.section-header-center h2 {
  max-width: 820px;
  letter-spacing: 0;
  text-shadow: 0 18px 54px rgba(0,0,0,0.34);
}

.hero .lead,
.section .lead,
.section-header .lead,
.section-header-center .lead {
  color: rgba(235, 244, 255, 0.74);
}

.eyebrow {
  color: var(--aip-cyan);
  letter-spacing: 0.12em;
}

.eyebrow::before {
  width: 26px;
  background: linear-gradient(90deg, var(--aip-cyan), var(--aip-mint));
}

.button {
  height: 46px;
  border-radius: 999px;
  border-color: rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(247,251,255,0.98), rgba(209,231,255,0.92));
  color: #07111f;
  box-shadow: 0 16px 34px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.92);
}

.button:hover {
  background: linear-gradient(135deg, #ffffff, #dcecff);
  box-shadow: 0 22px 42px rgba(0,0,0,0.3), 0 0 0 1px rgba(100,206,251,0.18);
}

.button.brand {
  border-color: rgba(100,206,251,0.38);
  background: linear-gradient(135deg, #70d5ff 0%, #9fc5ff 54%, #79e2bf 100%);
  color: #04101b;
  box-shadow: 0 18px 42px rgba(100,206,251,0.22), inset 0 1px 0 rgba(255,255,255,0.64);
}

.button.brand:hover {
  background: linear-gradient(135deg, #8ee0ff 0%, #c1d8ff 54%, #90edcf 100%);
  box-shadow: 0 24px 56px rgba(100,206,251,0.27), 0 0 0 1px rgba(255,255,255,0.2);
}

.button.secondary {
  background: rgba(255,255,255,0.055);
  border-color: rgba(214,232,255,0.16);
  color: var(--aip-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.button.secondary:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(100,206,251,0.35);
  color: white;
}

.asset-card,
.visual-panel {
  border-radius: 8px;
  border-color: rgba(214,232,255,0.18);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(5, 7, 13, 0.58);
  box-shadow: 0 34px 90px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.1);
}

.asset-card {
  padding: 10px;
}

.asset-card img {
  border-radius: 6px;
  filter: saturate(0.94) contrast(1.04);
}

.asset-card::after,
.visual-panel::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), transparent 28%),
    linear-gradient(90deg, rgba(100,206,251,0.12), transparent 48%, rgba(223,186,106,0.08));
}

.proof-strip {
  gap: 0;
  padding: 6px;
  border-radius: 8px;
  border-color: rgba(214,232,255,0.14);
  background: rgba(8, 12, 19, 0.72);
  box-shadow: var(--aip-panel-shadow);
}

.proof-item {
  min-height: 148px;
  padding: 24px;
  border-right-color: rgba(214,232,255,0.11);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.058), rgba(255,255,255,0.018));
}

.proof-item:first-child { border-radius: 6px 0 0 6px; }
.proof-item:last-child { border-radius: 0 6px 6px 0; }

.proof-item .proof-num {
  color: #07111f;
  background: linear-gradient(135deg, var(--aip-cyan), var(--aip-mint));
  box-shadow: 0 10px 22px rgba(100,206,251,0.18);
}

.proof-item strong,
.proof-item p {
  text-shadow: none;
}

.proof-item strong {
  color: var(--aip-text);
}

.proof-item p {
  color: var(--aip-muted);
}

.card,
.price-card,
.policy-block,
.table-wrap,
.faq-item,
.gate-item,
.conversation-mock,
.checkout-preview,
.compliance-note,
.assurance-card,
.insight-card,
.process-card,
.legal-summary-card,
.contact-channel {
  border-radius: 8px;
  border-color: var(--aip-hairline);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.072), rgba(255,255,255,0.024)),
    var(--aip-panel);
  box-shadow: var(--aip-panel-shadow);
  backdrop-filter: blur(24px) saturate(1.08);
}

.card,
.price-card,
.policy-block,
.faq-item,
.gate-item,
.process-card,
.legal-summary-card,
.contact-channel {
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.card::before,
.price-card::before,
.policy-block::before,
.process-card::after,
.legal-summary-card::before,
.contact-channel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(100,206,251,0.16), transparent 30%, rgba(223,186,106,0.08) 74%, transparent),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  opacity: 0.66;
  -webkit-mask-image: linear-gradient(140deg, #000 0%, rgba(0,0,0,0.76) 44%, transparent 82%);
  mask-image: linear-gradient(140deg, #000 0%, rgba(0,0,0,0.76) 44%, transparent 82%);
}

.card::before {
  height: auto;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.card:hover,
.price-card:hover,
.process-card:hover,
.legal-summary-card:hover,
.contact-channel:hover,
.gate-item:hover,
.policy-block:hover {
  transform: translateY(-5px);
  border-color: var(--aip-hairline-strong);
  box-shadow: var(--aip-panel-shadow-hover);
}

.gate-item:hover {
  transform: translateX(5px);
}

.card h3,
.card h4,
.price-card h3,
.price-card .price-label,
.policy-block h3,
.gate-item h4,
.flow-node h4,
.proof-item strong,
.faq-q,
.conversation-mock,
.table-wrap,
.compliance-note,
.assurance-card h3,
.insight-card h3,
.process-card h3,
.legal-summary-card h3,
.contact-channel h3 {
  color: var(--aip-text);
}

.card p,
.price-card .price-desc,
.price-card .price-label span,
.policy-block p,
.policy-block ul,
.gate-item p,
.faq-a,
.feature-list li,
.flow-node p,
.proof-item p,
.card li,
.spec-list li,
.assurance-card p,
.insight-card p,
.process-card p,
.legal-summary-card p,
.contact-channel p {
  color: var(--aip-subtle);
}

.card-icon,
.gate-icon,
.pathway-dot,
.contact-row-icon {
  border-radius: 8px;
  border: 1px solid rgba(214,232,255,0.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.028));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 12px 26px rgba(0,0,0,0.22);
}

.card-icon.blue,
.card-icon.cyan,
.card-icon.green,
.card-icon.amber {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.028)),
    rgba(8, 12, 19, 0.72);
}

.gate-icon {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.028)),
    rgba(8, 12, 19, 0.72) !important;
}

.card-icon.blue { color: var(--aip-blue); }
.card-icon.cyan { color: var(--aip-cyan); }
.card-icon.green { color: var(--aip-mint); }
.card-icon.amber { color: var(--aip-gold); }

.tag.green,
.tag.blue,
.tag.amber,
.gate-status,
.status-pill,
.conv-sponsored .conv-chip {
  border-radius: 999px;
  border: 1px solid rgba(214,232,255,0.14);
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.tag.green,
.gate-status.active,
.status-pill {
  color: var(--aip-mint);
  background: rgba(114,227,188,0.1);
  border-color: rgba(114,227,188,0.24);
}

.tag.blue {
  color: var(--aip-cyan);
  background: rgba(100,206,251,0.1);
  border-color: rgba(100,206,251,0.24);
}

.tag.amber,
.gate-status.review {
  color: var(--aip-gold);
  background: rgba(223,186,106,0.1);
  border-color: rgba(223,186,106,0.24);
}

.product-proof-cards {
  gap: 16px;
}

.product-proof-cards .proof-card {
  min-height: 176px;
  border-radius: 8px;
  border-color: var(--aip-hairline);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.078), rgba(255,255,255,0.022)),
    rgba(8, 12, 19, 0.76);
  box-shadow: var(--aip-panel-shadow);
}

.product-proof-cards .proof-card::after {
  width: 2px;
  height: auto;
  inset: 18px auto 18px 0;
  border-radius: 999px;
  filter: none;
}

.proof-card-blue::after { background: var(--aip-blue); }
.proof-card-cyan::after { background: var(--aip-cyan); }
.proof-card-amber::after { background: var(--aip-gold); }
.proof-card-green::after { background: var(--aip-mint); }

.product-proof-cards .proof-card .proof-num {
  color: #06101b;
  background: rgba(255,255,255,0.86);
}

.product-proof-cards .proof-card strong {
  color: var(--aip-text);
}

.product-proof-cards .proof-card p {
  color: var(--aip-muted);
}

.conversation-mock {
  background:
    linear-gradient(145deg, rgba(12,17,26,0.94), rgba(18,28,42,0.82));
}

.conv-agent {
  background: rgba(255,255,255,0.07);
  border-color: rgba(214,232,255,0.12);
  color: rgba(245,249,255,0.86);
}

.conv-sponsored {
  background:
    linear-gradient(145deg, rgba(100,206,251,0.14), rgba(114,227,188,0.08)),
    rgba(255,255,255,0.055);
  border-color: rgba(100,206,251,0.3);
}

.conv-sponsored p {
  color: var(--aip-text);
}

.conv-sponsored .conv-meta {
  color: var(--aip-muted);
}

.price-grid {
  align-items: stretch;
}

.price-card {
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(100,206,251,0.38);
  background:
    linear-gradient(145deg, rgba(100,206,251,0.13), rgba(223,186,106,0.07)),
    rgba(10, 16, 26, 0.88);
  box-shadow: 0 0 0 1px rgba(100,206,251,0.18), var(--aip-panel-shadow);
}

.price-card.featured:hover {
  box-shadow: 0 0 0 1px rgba(100,206,251,0.26), var(--aip-panel-shadow-hover);
}

.price-card .price-meta {
  border-color: rgba(214,232,255,0.12);
}

.price-card .price-meta span {
  color: var(--aip-muted);
}

.price-card .price-meta strong {
  color: var(--aip-text);
}

.feature-list li::before {
  background-color: rgba(114,227,188,0.12);
  box-shadow: 0 0 0 1px rgba(114,227,188,0.22);
}

.price-card .button.secondary {
  background: rgba(255,255,255,0.06);
  color: var(--aip-text);
  border-color: rgba(214,232,255,0.16);
}

.policy-block.prohibited,
.policy-block.restricted,
.policy-block.data,
.policy-block.enforcement {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.072), rgba(255,255,255,0.024)),
    var(--aip-panel);
}

.policy-block.prohibited { border-left-color: rgba(248, 113, 113, 0.72); }
.policy-block.restricted { border-left-color: var(--aip-gold); }
.policy-block.data { border-left-color: var(--aip-cyan); }
.policy-block.enforcement { border-left-color: var(--aip-mint); }

.table-wrap {
  background: rgba(8,12,19,0.76);
}

th {
  color: rgba(245,249,255,0.62);
  background: rgba(255,255,255,0.06);
}

td {
  color: var(--aip-subtle);
  border-bottom-color: rgba(214,232,255,0.1);
}

tr:hover td {
  background: rgba(100,206,251,0.06);
}

.faq-q:hover {
  background: rgba(255,255,255,0.055);
}

.faq-q::after {
  color: var(--aip-cyan);
  background: rgba(100,206,251,0.1);
}

.faq-item.open .faq-q::after {
  background: rgba(114,227,188,0.12);
  color: var(--aip-mint);
}

.pathway {
  gap: 12px;
  padding: 8px 0;
}

.pathway-step {
  padding: 22px 18px;
  border: 1px solid rgba(214,232,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.pathway-step::after {
  display: none;
}

.pathway-dot {
  border-radius: 8px;
  border-color: rgba(100,206,251,0.24);
  color: #07111f;
  background: linear-gradient(135deg, var(--aip-cyan), var(--aip-mint));
}

.arch-layer {
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  border-color: rgba(214,232,255,0.12);
}

.arch-layer:hover {
  border-color: rgba(100,206,251,0.34);
  background: rgba(255,255,255,0.07);
  box-shadow: -3px 0 0 var(--aip-cyan), var(--aip-panel-shadow);
}

.footer {
  background: rgba(5,7,13,0.84);
}

/* === Higher-order content modules === */
.coordination-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.coordination-map::before {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,206,251,0.44), rgba(223,186,106,0.34), transparent);
  pointer-events: none;
}

.coordination-core {
  position: relative;
  z-index: 2;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid rgba(100,206,251,0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(100,206,251,0.16), rgba(223,186,106,0.08)),
    rgba(8, 12, 19, 0.84);
  box-shadow: 0 34px 90px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.coordination-core strong {
  color: white;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.coordination-core span {
  color: var(--aip-muted);
  font-size: 13px;
}

.coordination-node {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--aip-hairline);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    rgba(9, 13, 21, 0.78);
  box-shadow: var(--aip-panel-shadow);
}

.coordination-node .node-label,
.surface-console .console-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--aip-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coordination-node h3 {
  margin-bottom: 12px;
  color: white;
}

.coordination-node p {
  color: var(--aip-subtle);
  font-size: 15px;
  line-height: 1.65;
}

.coordination-node ul,
.surface-console ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}

.coordination-node li,
.surface-console li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--aip-muted);
  font-size: 13px;
}

.coordination-node li::before,
.surface-console li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aip-mint);
  box-shadow: 0 0 0 4px rgba(114,227,188,0.1);
}

.surface-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.surface-console,
.surface-capability-grid article {
  border: 1px solid var(--aip-hairline);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.074), rgba(255,255,255,0.024)),
    rgba(8, 12, 19, 0.78);
  box-shadow: var(--aip-panel-shadow);
}

.surface-console {
  min-height: 470px;
  padding: 28px;
}

.surface-console h3 {
  max-width: 420px;
  color: white;
  font-size: 28px;
}

.surface-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.surface-metric {
  padding: 16px;
  border: 1px solid rgba(214,232,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
}

.surface-metric strong {
  display: block;
  color: white;
  font-size: 22px;
  line-height: 1;
}

.surface-metric span {
  display: block;
  margin-top: 8px;
  color: var(--aip-muted);
  font-size: 12px;
}

.surface-flow {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.surface-flow-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(214,232,255,0.11);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}

.surface-flow-row b {
  color: white;
  font-size: 13px;
}

.surface-flow-row span {
  color: var(--aip-muted);
  font-size: 12px;
}

.surface-flow-index {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07111f;
  background: linear-gradient(135deg, var(--aip-cyan), var(--aip-mint));
  font-size: 12px;
  font-weight: 800;
}

.surface-capability-grid {
  display: grid;
  gap: 18px;
}

.surface-capability-grid article {
  padding: 24px;
}

.surface-capability-grid h3 {
  margin-bottom: 8px;
  color: white;
}

.surface-capability-grid p {
  color: var(--aip-subtle);
  font-size: 15px;
  line-height: 1.62;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .coordination-map,
  .surface-showcase {
    grid-template-columns: 1fr;
  }

  .coordination-map::before {
    display: none;
  }

  .coordination-node,
  .coordination-core,
  .surface-console {
    min-height: auto;
  }

  .proof-item:first-child,
  .proof-item:last-child {
    border-radius: 6px;
  }

  .pathway {
    display: grid;
  }
}

@media (max-width: 640px) {
  .nav {
    height: auto;
  }

  .nav-links {
    width: 100%;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-content: flex-start;
  }

  .nav-links a,
  .nav-links a.active {
    border-radius: 7px;
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
  }

  .hero {
    padding: 52px 0 68px;
  }

  h1 { font-size: 38px; }
  h2 { font-size: 30px; }

  .proof-strip {
    padding: 6px;
  }

  .proof-item {
    min-height: auto;
    border-right: none;
    border-bottom-color: rgba(214,232,255,0.1);
    border-radius: 6px;
  }

  .surface-metrics {
    grid-template-columns: 1fr;
  }

  .surface-flow-row {
    grid-template-columns: 32px 1fr;
  }

  .surface-flow-row > span {
    grid-column: 2;
  }
}

/* === Deployment-grade interface refinement === */

.hero h1 {
  font-size: 64px;
  letter-spacing: 0;
}

.home-hero-grid,
.product-hero-grid,
.pricing-hero-split {
  grid-template-columns: minmax(0, 0.84fr) minmax(540px, 1.16fr);
}

.product-hero-grid {
  align-items: center;
}

.pricing-hero-split {
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
}

.demo-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  max-width: none;
  justify-self: stretch;
  padding: 8px;
  border-color: rgba(174, 219, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035)),
    rgba(7, 11, 18, 0.88);
  box-shadow: 0 38px 110px rgba(0,0,0,0.48), inset 0 1px 0 rgba(255,255,255,0.12);
  overflow: hidden;
}

.demo-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
  transform-origin: center;
}

.pricing-demo-frame img {
  min-height: 0;
  transform: none;
}

.card,
.price-card,
.policy-block,
.faq-item,
.gate-item,
.process-card,
.legal-summary-card,
.contact-channel,
.assurance-card,
.insight-card {
  background:
    linear-gradient(180deg, rgba(23, 31, 44, 0.96), rgba(10, 15, 24, 0.94));
  border-color: var(--surface-line);
  box-shadow: 0 28px 72px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: none;
}

.card::before,
.price-card::before,
.policy-block::before,
.process-card::after,
.legal-summary-card::before,
.contact-channel::before {
  background:
    linear-gradient(135deg, rgba(105, 215, 255, 0.18), transparent 36%, rgba(228, 193, 109, 0.12));
  background-size: auto;
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(135deg, #000, rgba(0,0,0,0.72) 42%, transparent 76%);
  mask-image: linear-gradient(135deg, #000, rgba(0,0,0,0.72) 42%, transparent 76%);
}

.card:hover,
.price-card:hover,
.process-card:hover,
.legal-summary-card:hover,
.contact-channel:hover,
.gate-item:hover,
.policy-block:hover {
  border-color: var(--surface-line-bright);
  box-shadow: 0 36px 92px rgba(0,0,0,0.42), 0 0 0 1px rgba(105,215,255,0.1);
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 10px;
  transform: translateZ(0);
  transition:
    transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.button::before {
  content: '';
  position: absolute;
  inset: -2px auto -2px -58%;
  z-index: 0;
  width: 52%;
  transform: skewX(-18deg) translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.58), transparent);
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.button::after {
  content: '\2192';
  display: inline-grid;
  place-items: center;
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: currentColor;
  opacity: 0.64;
  transform: translateX(-1px);
  transition: transform 0.24s ease, opacity 0.24s ease, background 0.24s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover::before {
  transform: skewX(-18deg) translateX(410%);
}

.button:hover::after {
  opacity: 1;
  transform: translateX(3px);
  background: rgba(255,255,255,0.18);
}

.button:focus-visible {
  outline: 2px solid rgba(105, 215, 255, 0.85);
  outline-offset: 3px;
}

.protocol-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.1fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.protocol-board::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105,215,255,0.5), rgba(228,193,109,0.5), transparent);
  opacity: 0.76;
  pointer-events: none;
}

.protocol-lane,
.protocol-core-panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(23, 31, 44, 0.94), rgba(9, 14, 23, 0.96));
  box-shadow: 0 30px 80px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}

.protocol-lane::before,
.protocol-core-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(105,215,255,0.13), transparent 36%, rgba(228,193,109,0.09));
  opacity: 0.9;
}

.protocol-lane {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 24px;
}

.lane-heading,
.core-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.lane-heading span,
.core-topline span,
.package-kicker {
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lane-heading strong,
.core-topline b {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 700;
}

.intent-card,
.operator-stack article,
.user-receipt {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(219,238,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.intent-card {
  padding: 22px;
}

.intent-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #08111f;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-mint));
  font-size: 11px;
  font-weight: 800;
}

.intent-card h3,
.protocol-core-panel h3,
.operator-stack b,
.user-receipt strong {
  color: white;
}

.intent-card p,
.operator-stack p {
  color: var(--surface-copy);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 10px;
}

.signal-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
}

.signal-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--surface-muted);
  font-size: 13px;
}

.signal-list span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-mint);
  box-shadow: 0 0 0 4px rgba(128,231,194,0.12);
}

.protocol-core-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 420px;
  padding: 24px;
  border-color: rgba(105,215,255,0.32);
  background:
    linear-gradient(160deg, rgba(17, 30, 42, 0.98), rgba(10, 15, 23, 0.96) 58%, rgba(30, 28, 18, 0.92));
}

.core-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 138px;
  margin: 12px 0 20px;
}

.core-orbit::before,
.core-orbit::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(105,215,255,0.28);
}

.core-orbit::before {
  width: 178px;
  height: 86px;
  transform: rotate(-14deg);
}

.core-orbit::after {
  width: 178px;
  height: 86px;
  transform: rotate(14deg);
  border-color: rgba(228,193,109,0.28);
}

.core-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  color: #06101b;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-mint));
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 22px 50px rgba(105,215,255,0.26), inset 0 1px 0 rgba(255,255,255,0.64);
}

.protocol-core-panel h3 {
  position: relative;
  z-index: 1;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0;
}

.core-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}

.core-steps span {
  min-height: 54px;
  padding: 10px;
  border: 1px solid rgba(219,238,255,0.12);
  border-radius: 8px;
  color: var(--surface-copy);
  background: rgba(255,255,255,0.045);
  font-size: 12px;
  line-height: 1.3;
}

.operator-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.operator-stack article {
  padding: 20px;
}

.user-receipt {
  z-index: 1;
  margin-top: auto;
  padding: 18px;
  border-color: rgba(128,231,194,0.22);
}

.user-receipt span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-device-stage {
  position: relative;
  justify-self: stretch;
}

.agent-device-frame {
  border: 1px solid rgba(137, 219, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.025)),
    rgba(8, 13, 22, 0.92);
  box-shadow: 0 42px 120px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.12);
  overflow: hidden;
}

.device-topbar,
.device-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: rgba(237,247,255,0.62);
  font-size: 12px;
  border-bottom: 1px solid rgba(219,238,255,0.1);
  background: rgba(255,255,255,0.04);
}

.device-topbar strong {
  color: white;
  font-size: 13px;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
}

.window-controls span:nth-child(1) { background: #ff806f; }
.window-controls span:nth-child(2) { background: #f4c75c; }
.window-controls span:nth-child(3) { background: #75dfaa; }

.agent-device-body {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 470px;
}

.agent-sidebar {
  padding: 18px 12px;
  border-right: 1px solid rgba(219,238,255,0.1);
  background: rgba(2, 8, 17, 0.42);
}

.sidebar-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 22px;
  border-radius: 14px;
  color: #06101b;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-mint));
  font-size: 13px;
  font-weight: 900;
}

.sidebar-step {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  color: rgba(224,239,255,0.46);
  font-size: 11px;
  font-weight: 700;
}

.sidebar-step::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
}

.sidebar-step.active {
  color: rgba(240,250,255,0.86);
}

.sidebar-step.active::before {
  background: var(--accent-mint);
  box-shadow: 0 0 0 4px rgba(128,231,194,0.11);
}

.agent-device-body .conversation-mock {
  max-width: none;
  width: 100%;
  min-height: 470px;
  margin: 0;
  padding: 42px;
  border: none;
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(105,215,255,0.1), transparent 36%),
    linear-gradient(180deg, rgba(14, 24, 36, 0.92), rgba(9, 15, 24, 0.95));
  box-shadow: none;
}

.agent-device-body .conversation-mock::before,
.agent-device-body .conversation-mock::after {
  content: none;
}

.conv-user {
  max-width: 78%;
  margin-left: auto;
  border-radius: 8px 8px 3px 8px;
  background: linear-gradient(135deg, #4f82ff, #2459e8);
}

.conv-agent,
.conv-sponsored {
  max-width: 88%;
  border-radius: 8px 8px 8px 3px;
}

.conv-caret.is-idle {
  display: none;
}

.device-status-bar {
  border-top: 1px solid rgba(219,238,255,0.1);
  border-bottom: none;
}

.device-status-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.device-status-bar span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-mint);
  box-shadow: 0 0 0 4px rgba(128,231,194,0.1);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.package-card {
  min-height: 440px;
  padding: 24px;
}

.package-card.featured {
  transform: translateY(-10px);
}

.package-card.featured:hover {
  transform: translateY(-15px);
}

.package-price {
  margin: 16px 0 8px;
  color: white;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.package-credits {
  min-height: 48px;
  color: var(--surface-copy);
  font-size: 14px;
  line-height: 1.45;
}

.package-meta {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(219,238,255,0.12);
  border-bottom: 1px solid rgba(219,238,255,0.12);
}

.package-meta span {
  display: grid;
  gap: 3px;
  color: var(--surface-muted);
  font-size: 12px;
  line-height: 1.38;
}

.package-meta strong {
  color: rgba(255,255,255,0.86);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-starter { border-top: 2px solid var(--accent-cyan); }
.package-builder { border-top: 2px solid var(--accent-mint); }
.package-growth { border-top: 2px solid #9fc5ff; }
.package-scale { border-top: 2px solid var(--accent-gold); }
.package-enterprise { border-top: 2px solid #f1f5f9; }

.billing-note {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(219,238,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.billing-note strong {
  color: white;
}

.billing-note p {
  color: var(--surface-copy);
  line-height: 1.6;
}

.review-board {
  display: grid;
  gap: 14px;
}

.review-pathway {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(219,238,255,0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(24, 31, 43, 0.95), rgba(10, 15, 24, 0.94));
  box-shadow: 0 26px 72px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.08);
}

.review-title {
  display: grid;
  align-content: start;
  gap: 8px;
}

.review-title span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 28px;
  border-radius: 7px;
  color: #06101b;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-mint));
  font-size: 12px;
  font-weight: 900;
}

.review-title h3,
.review-columns b {
  color: white;
}

.review-title p,
.review-columns p {
  color: var(--surface-copy);
  font-size: 14px;
  line-height: 1.6;
}

.review-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-columns div {
  padding: 18px;
  border: 1px solid rgba(219,238,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
}

.review-columns b {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .package-card.featured,
  .package-card.featured:hover {
    transform: none;
  }
}

@media (max-width: 960px) {
  .home-hero-grid,
  .product-hero-grid,
  .pricing-hero-split {
    grid-template-columns: 1fr;
  }

  .demo-frame img {
    min-height: 0;
  }

  .protocol-board {
    grid-template-columns: 1fr;
  }

  .protocol-board::before {
    display: none;
  }

  .protocol-lane,
  .protocol-core-panel {
    min-height: auto;
  }

  .agent-device-body {
    grid-template-columns: 1fr;
  }

  .agent-sidebar {
    display: none;
  }

  .agent-device-body .conversation-mock {
    min-height: 440px;
    padding: 32px;
  }

  .review-pathway,
  .review-columns,
  .billing-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  .device-topbar,
  .device-status-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 38px;
  }

  .demo-frame img,
  .pricing-demo-frame img {
    min-height: 0;
    transform: none;
  }

  .core-steps {
    grid-template-columns: 1fr;
  }

  .agent-device-body .conversation-mock {
    min-height: 420px;
    padding: 22px;
  }

  .conv-user,
  .conv-agent,
  .conv-sponsored {
    max-width: 100%;
  }

  .package-card {
    min-height: auto;
  }
}

/* === Review implementation pass === */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
.hero h1,
.section h1,
.section-header h2,
.section-header-center h2 {
  letter-spacing: 0;
}

h1,
.hero h1 {
  font-size: 56px;
}

h2 {
  font-size: 38px;
}

.lead {
  font-size: 18px;
}

.site-dynamic-bg video {
  background: var(--charcoal);
}

.hero,
.section {
  padding-block: var(--space-section);
}

.hero {
  min-height: auto;
  padding-top: var(--space-hero);
  padding-bottom: var(--space-hero);
}

.hero--compact {
  padding-bottom: var(--space-section-sm);
}

.section-lg {
  padding-block: var(--space-section-lg);
}

.section-sm {
  padding-block: var(--space-section-sm);
}

.section-header,
.section-header-center {
  margin-bottom: var(--space-section-header);
}

.mt-6 { margin-top: 6px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-strong { color: white; }
.center-actions { justify-content: center; }
.panel-copy { color: var(--surface-copy); }

.gate-icon.icon-brand {
  color: var(--brand);
  background: var(--brand-soft);
}

.gate-icon.icon-amber {
  color: var(--amber);
  background: var(--amber-soft);
}

.gate-icon.icon-signal {
  color: var(--signal);
  background: var(--signal-soft);
}

.gate-icon.icon-verified {
  color: var(--verified);
  background: var(--verified-soft);
}

.hero-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  opacity: 0.48;
}

.hero-separator::before,
.hero-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105,215,255,0.36));
}

.hero-separator::after {
  background: linear-gradient(90deg, rgba(105,215,255,0.36), transparent);
}

.separator-mark {
  display: none;
}

.home-proof-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-grid,
.integration-grid,
.cta-split {
  display: grid;
  gap: 18px;
}

.problem-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.problem-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.problem-card,
.solution-note,
.integration-card,
.cta-path,
.trust-statement,
.package-summary-note {
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(23, 31, 44, 0.96), rgba(10, 15, 24, 0.94));
  box-shadow: 0 28px 72px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.08);
}

.problem-card,
.integration-card,
.cta-path,
.trust-statement,
.package-summary-note {
  padding: 28px;
}

.problem-card h3,
.solution-note h3,
.integration-card h3,
.cta-path h3,
.home-package-card h3 {
  color: white;
}

.problem-card p,
.solution-note p,
.integration-card p,
.cta-path p,
.home-package-card p,
.package-summary-note p,
.trust-statement p {
  color: var(--surface-copy);
}

.solution-note {
  padding: 22px;
}

.solution-note + .solution-note {
  margin-top: 12px;
}

.solution-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.solution-node,
.solution-core {
  min-height: 180px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(219,238,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
}

.solution-core {
  border-color: rgba(105,215,255,0.34);
  background:
    linear-gradient(145deg, rgba(105,215,255,0.15), rgba(128,231,194,0.08)),
    rgba(255,255,255,0.045);
}

.solution-node span,
.solution-core span {
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution-node strong,
.solution-core strong {
  color: white;
  line-height: 1.2;
}

.solution-arrow {
  color: var(--accent-cyan);
  font-size: 24px;
  font-weight: 800;
}

.home-package-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.home-package-card .package-meta {
  margin-bottom: auto;
}

.package-grid-summary .package-card {
  padding: 28px 24px;
}

.package-summary-note,
.trust-statement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.package-summary-note strong,
.trust-statement strong {
  color: white;
}

.cta-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-path {
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 250px;
}

.cta-path .eyebrow {
  margin-bottom: 0;
}

.integration-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-hero-grid {
  grid-template-columns: minmax(470px, 0.98fr) minmax(520px, 1.02fr);
}

.integration-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.integration-card .card-icon {
  margin-bottom: 0;
}

.price-card,
.process-card {
  padding: 32px 28px;
}

.proof-card,
.proof-item {
  padding: 28px 24px;
}

.faq-item {
  padding: 0;
}

.faq-q {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.faq-q:focus-visible,
.nav-toggle:focus-visible,
.nav-close:focus-visible {
  outline: 2px solid rgba(105, 215, 255, 0.85);
  outline-offset: 3px;
}

.nav-toggle,
.nav-close {
  display: none;
}

.nav-backdrop {
  display: none;
}

.conversation-mock::before,
.conv-sponsored::before {
  will-change: background-position;
}

.conv-caret,
.js-enabled .conversation-sequence .conv-reveal {
  will-change: opacity, transform, filter;
}

.hero-glow,
.hero-orbit,
.hero-float-card,
.conversation-mock::before,
.conversation-mock::after {
  animation: none;
}

.conversation-mock::after {
  opacity: 0.48;
  transform: none;
}

.site-dynamic-bg video,
.button,
.card,
.price-card,
.process-card,
.gate-item,
.protocol-lane,
.protocol-core-panel {
  will-change: transform;
}

@media (max-width: 1100px) {
  .package-grid-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --space-hero: 84px;
    --space-section-lg: 84px;
    --space-section: 66px;
    --space-section-sm: 48px;
    --space-section-header: 42px;
  }

  h1,
  .hero h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 17px;
  }

  .nav {
    height: 70px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214,232,255,0.16);
    border-radius: 8px;
    background: rgba(255,255,255,0.055);
    color: white;
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before { transform: translateY(-6px); }
  .nav-toggle-bars::after { transform: translateY(6px); }

  body.nav-open .nav-toggle-bars {
    transform: rotate(45deg);
  }

  body.nav-open .nav-toggle-bars::before {
    opacity: 0;
  }

  body.nav-open .nav-toggle-bars::after {
    transform: rotate(90deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 120;
    width: min(360px, 86vw);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 88px 22px 22px;
    border: 1px solid rgba(214,232,255,0.14);
    border-right: 0;
    border-radius: 0;
    background: rgba(5, 7, 13, 0.88);
    box-shadow: -28px 0 80px rgba(0,0,0,0.44);
    backdrop-filter: blur(24px) saturate(1.25);
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      clip-path 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease,
      visibility 0.28s ease;
  }

  body.nav-open .nav-links {
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links a,
  .nav-links a.active {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
  }

  .nav-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(214,232,255,0.16);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: white;
    cursor: pointer;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    background: rgba(0,0,0,0.36);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .problem-grid,
  .solution-visual,
  .cta-split,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .solution-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .protocol-board {
    gap: 22px;
    padding-left: 28px;
  }

  .protocol-board::before {
    display: block;
    left: 10px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(105,215,255,0.5), rgba(228,193,109,0.48), rgba(128,231,194,0.46));
  }

  .protocol-lane::after,
  .protocol-core-panel::after {
    content: '';
    position: absolute;
    left: -25px;
    top: 28px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--accent-cyan);
    box-shadow: 0 0 0 6px rgba(105,215,255,0.12);
  }

  .protocol-core-panel::after {
    background: var(--accent-gold);
    box-shadow: 0 0 0 6px rgba(228,193,109,0.12);
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --space-hero: 72px;
    --space-section-lg: 78px;
    --space-section: 62px;
    --space-section-sm: 45px;
    --space-section-header: 38px;
  }

  h1,
  .hero h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .lead {
    font-size: 16px;
  }

  .nav {
    height: 66px;
    padding-inline: 18px;
  }

  .hero-actions,
  .package-summary-note,
  .trust-statement {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .package-summary-note .button,
  .trust-statement .button {
    width: 100%;
  }

  .home-proof-strip {
    grid-template-columns: 1fr;
  }

  .package-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    padding: 4px 24px 18px;
    margin-inline: -24px;
    -webkit-overflow-scrolling: touch;
  }

  .package-grid .package-card {
    flex: 0 0 85vw;
    scroll-snap-align: center;
  }

  .scroll-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
  }

  .scroll-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.26);
  }

  .scroll-dots span:nth-child(3) {
    background: var(--accent-cyan);
  }

  .billing-note,
  .review-pathway,
  .problem-card,
  .integration-card,
  .cta-path,
  .trust-statement,
  .package-summary-note {
    padding: 22px;
  }

  .solution-node,
  .solution-core {
    min-height: auto;
  }
}

@media (min-width: 641px) {
  .scroll-dots {
    display: none;
  }
}

/* === Product Hero Use Case Carousel === */
.conv-sponsored-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.conv-sponsored-head > span {
  color: rgba(219, 231, 246, 0.52);
  font-size: 11px;
  font-weight: 600;
}

.conv-recommendation-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-areas:
    "image copy"
    "tags tags"
    "footer footer";
  align-items: start;
  column-gap: 12px;
  row-gap: 9px;
  padding: 12px;
  border: 1px solid rgba(219, 232, 252, 0.78);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(243,248,255,0.94));
  box-shadow: 0 12px 26px rgba(4, 12, 24, 0.22);
}

.conv-recommendation-image {
  grid-area: image;
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  height: 68px;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(29, 78, 216, 0.12);
  border-radius: 5px;
  background: #dbeafe;
  display: block;
  object-fit: cover;
}

.conv-recommendation-copy {
  grid-area: copy;
  min-width: 0;
}

.conv-recommendation-copy strong {
  display: block;
  color: #142033;
  font-size: 13px;
  line-height: 1.25;
}

.conv-recommendation-copy p {
  color: #3f5068;
  font-size: 11px;
  line-height: 1.32;
  margin: 4px 0 0;
  overflow: visible;
}

.conv-recommendation-tags {
  grid-area: tags;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  padding-top: 1px;
}

.conv-recommendation-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.conv-recommendation-tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  border-right: 1px solid rgba(37, 99, 235, 0.14);
  color: #315b9f;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  padding: 0 6px;
}

.conv-recommendation-tags span + span {
  padding-left: 8px;
}

.conv-recommendation-tags span:last-child {
  border-right: 0;
}

.conv-recommendation-tags span::before {
  content: '';
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.92) 0 2px, transparent 2.5px),
    rgba(37, 99, 235, 0.08);
}

.conv-recommendation-footer {
  grid-area: footer;
  margin-top: 0;
  padding-top: 9px;
  border-top: 1px solid rgba(21, 42, 77, 0.09);
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.conv-recommendation-footer span:first-child {
  color: #0f9f6e;
}

.conv-recommendation-footer span:last-child {
  margin-left: auto;
  color: #315b9f;
}

.conv-sponsored > .conv-meta {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .conv-sponsored-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .conv-recommendation-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .conv-recommendation-image {
    width: 82px;
    min-width: 82px;
    max-width: 82px;
    height: 60px;
  }

  .conv-recommendation-copy strong {
    font-size: 12px;
  }

  .conv-recommendation-copy p {
    font-size: 10.5px;
    line-height: 1.3;
  }

  .conv-recommendation-tags span {
    font-size: 9px;
    gap: 4px;
    padding: 0 5px;
  }

  .conv-recommendation-tags span::before {
    width: 11px;
    height: 11px;
  }
}

@media (max-width: 420px) {
  .conv-recommendation-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "copy"
      "tags"
      "footer";
  }

  .conv-recommendation-image {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    max-height: 128px;
    margin-bottom: 6px;
  }
}

@media (max-width: 960px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .agent-device-stage,
  .agent-device-frame {
    width: 100%;
    min-width: 0;
  }
}
