/* ═══════════════════════════════════════════════════════════════════════════
   PLRX DESIGN SYSTEM — plrx-styles.css
   Shared across all pages. Page-specific styles live in each HTML file.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Self-hosted fonts ──────────────────────────────────────────────────────
   Font files live in /fonts/ relative to this stylesheet.
   Upload the /fonts/ folder to S3 at the same level as plrx-styles.css.
   Download instructions: see plrx-font-download.md
   ─────────────────────────────────────────────────────────────────────────── */

/* Space Grotesk — Display typeface */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/space-grotesk-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-700.woff2') format('woff2');
}

/* Barlow — Body typeface */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-700.woff2') format('woff2');
}

/* JetBrains Mono — Technical / terminal typeface */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-700.woff2') format('woff2');
}


/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --cream:       #EAE5D8;
  --cream-dark:  #DAD4C5;
  --cream-dd:    #C8C2B2;
  --cream-lt:    #F2EEE2;
  --cream-mid:   #E2DCC8;
  --black:       #111111;
  --dark:        #2C2A24;
  --crimson:     #E11D48;
  --cyan:        #0891B2;
  --amber:       #FACC15;
  --gray:        #78726E;
  --gray-lt:     #AAA49A;
  --gray-dk:     #4E4A40;
  --purple:      #A78BFA;

  /* Terminal */
  --term-bg:     #0D0F14;
  --term-bg2:    #161A22;
  --term-bord:   #2A2E36;
  --term-text:   #C4BEAF;
  --term-dim:    #9A9A8A;
  --term-dim2:   #6E6A5E;
  --term-green:  #22C55E;
  --term-cyan:   #38BDF8;
  --term-amber:  #FBBF24;
  --term-red:    #F87171;
  --term-purple: #A78BFA;

  /* Footer */
  --ft-bg:       #0F1014;
  --ft-bg2:      #14161C;
  --ft-text:     #D2CCB4;
  --ft-dim:      #A8A29E;
  --ft-dim2:     #6E6A62;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Barlow', 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', monospace;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* clip (not hidden) — does not create a scroll container, preserves position:sticky on nav */
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════════════════════ */
.container  { max-width: 1440px; margin: 0 auto; padding-left: 80px !important; padding-right: 80px !important; }
.divider    { height: 1px; background: var(--cream-dark); margin: 0 80px; }
.divider-full { height: 1px; background: var(--cream-dark); }

.section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

/* Display headlines */
h1.display, h2.display, h3.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
}
.display-96 { font-size: clamp(56px, 6.5vw, 96px); }
.display-80 { font-size: clamp(48px, 5.5vw, 80px); }
.display-72 { font-size: clamp(42px, 5vw,   72px); }
.display-64 { font-size: clamp(38px, 4.5vw, 64px); }
.display-52 { font-size: clamp(32px, 3.8vw, 52px); }
.display-40 { font-size: clamp(28px, 3vw,   40px); }

/* Body copy */
.body-text {
  font-size: 18px; line-height: 1.65;
  color: var(--gray-dk); font-weight: 400;
}
.body-small {
  font-size: 16px; line-height: 1.6;
  color: var(--gray-dk); font-weight: 400;
}

/* Mono helpers */
.mono-xs { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.02em; }
.mono-sm { font-family: var(--font-mono); font-size: 11px; }
.mono-md { font-family: var(--font-mono); font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  padding: 14px 28px;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s ease;
}
.btn-fill        { background: var(--black); color: var(--cream); border: 1px solid var(--black); }
.btn-fill:hover  { background: var(--dark); }
.btn-out         { background: transparent; color: var(--black); border: 1px solid var(--black); }
.btn-out:hover   { background: var(--black); color: var(--cream); }
.btn-cream       { background: var(--cream); color: var(--black); border: 1px solid var(--cream); }
.btn-cream:hover { background: var(--cream-lt); }
.btn-cream-out   { background: transparent; color: var(--cream); border: 1px solid var(--cream); }
.btn-cream-out:hover { background: rgba(234,229,216,0.1); }
.btn-cyan        { background: var(--cyan); color: #fff; border: 1px solid var(--cyan); }
.btn-cyan:hover  { background: #0779A0; }

/* ═══════════════════════════════════════════════════════════════════════════
   FADE-IN ON SCROLL
   ═══════════════════════════════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-in.visible { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════════════════ */
nav[aria-label="Main navigation"] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  height: 68px;
  display: flex; align-items: center;
  padding: 0 40px;
}
main { padding-top: 68px; }
nav .nav-inner {
  width: 100%; max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { width: 44px; height: 44px; }
.nav-logo span {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  color: var(--black); letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; color: var(--black);
  text-decoration: none; font-weight: 400;
  transition: color 0.15s;
}
.nav-links a:hover       { color: var(--gray); }
.nav-links a.active      { color: var(--black); font-weight: 600; }
.nav-ctas                { display: flex; align-items: center; gap: 10px; }
.nav-ctas .btn           { padding: 10px 18px; font-size: 13px; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; height: 2px;
  background: var(--black);
  transition: all 0.25s ease; transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile-menu {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 24px 24px 32px; z-index: 99;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block; font-size: 18px; font-weight: 600;
  color: var(--black); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--cream-dark);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.nav-mobile-ctas .btn { flex: 1; text-align: center; padding: 14px 16px; }
.nav-mobile-ctas .btn-fill { background: var(--black); color: var(--cream); border: 1px solid var(--black); }
.nav-mobile-ctas .btn-out  { background: transparent; color: var(--black); border: 1px solid var(--black); }

/* ═══════════════════════════════════════════════════════════════════════════
   TERMINAL — reusable dark code/log component
   ═══════════════════════════════════════════════════════════════════════════ */
.terminal {
  background: var(--term-bg);
  width: 100%; overflow: hidden;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.6;
}
.terminal-bar {
  background: var(--term-bg2); padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.r { background: #FF5F57; }
.terminal-dot.y { background: #FFBD2E; }
.terminal-dot.g { background: #28C840; }
.terminal-title { flex: 1; text-align: center; color: var(--term-dim); font-size: 11px; }
.terminal-body  { padding: 16px 18px; overflow: hidden; max-height: 620px; }

/* Terminal line types */
.t-line { white-space: nowrap; margin-bottom: 1px; opacity: 0; animation: termFade 0.3s ease forwards; }
.t-gap  { height: 6px; }
.t-sep  { color: var(--term-bord); margin: 4px 0; }

/* Syntax colors */
.tc  { color: var(--term-cyan);   }
.tg  { color: var(--term-green);  }
.ta  { color: var(--term-amber);  }
.tr  { color: var(--term-red);    }
.tp  { color: var(--term-purple); }
.tt  { color: var(--term-text);   }
.td  { color: var(--term-dim);    }
.td2 { color: var(--term-dim2);   }
.tgr { color: var(--term-dim); }

@keyframes termFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cursor-blink {
  display: inline-block; width: 8px; height: 14px;
  background: var(--term-cyan);
  animation: blink 1s step-end infinite; vertical-align: middle;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ═══════════════════════════════════════════════════════════════════════════
   AGENT CARDS — reusable dark specialist-agent component
   ═══════════════════════════════════════════════════════════════════════════ */
.agents-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 28px;
}
.agent-card {
  background: var(--term-bg); border: 1px solid var(--term-bord);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.agent-accent  { height: 3px; }
.agent-header  { padding: 14px 14px 0; display: flex; align-items: center; gap: 10px; }
.agent-avatar  {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: #fff;
}
.agent-meta    { flex: 1; }
.agent-name    { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--term-text); }
.agent-role    { font-family: var(--font-mono); font-size: 10px; color: var(--term-dim); }
.agent-divider { height: 1px; background: var(--term-bord); margin: 12px 12px 0; }
.agent-fields  { padding: 12px 14px 0; font-family: var(--font-mono); font-size: 10px; }
.agent-field   { margin-bottom: 4px; }
.agent-field .key       { color: var(--term-dim);  }
.agent-field .val       { color: var(--term-text); }
.agent-section-label    { color: var(--term-dim); margin: 6px 0 2px; }
.agent-skill  { padding-left: 8px; margin-bottom: 2px; }
.agent-proto  { padding-left: 8px; color: var(--term-text); margin-bottom: 2px; }
.agent-note   {
  border-top: 1px solid var(--term-bord);
  margin: auto 12px 0; padding: 10px 2px 12px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--term-dim); line-height: 1.5;
}
.agent-cost   {
  position: absolute; bottom: 8px; right: 8px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--term-dim); background: var(--term-bg2); padding: 2px 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROTO STRIP — reusable dark protocol callout bar
   ═══════════════════════════════════════════════════════════════════════════ */
.proto-strip { background: var(--cream-dark); padding: 16px 0; display: flex; }
.proto-item  { flex: 1; padding: 0 20px; border-left: 1px solid var(--cream-dd); }
.proto-item:first-child { border-left: none; }
.proto-key   { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.proto-val   { font-family: var(--font-mono); font-size: 10px; color: var(--gray); }

/* ═══════════════════════════════════════════════════════════════════════════
   STATE MACHINE + CODE PANELS — reusable dark panel components
   ═══════════════════════════════════════════════════════════════════════════ */
.sm-panel, .code-panel { background: var(--term-bg); overflow: hidden; }
.panel-bar {
  background: var(--term-bg2); padding: 8px 14px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--term-dim); text-align: center;
}
.sm-body { padding: 12px 20px 20px; }

.state-box {
  border: 1px solid var(--term-bord); padding: 8px 14px; margin-bottom: 10px;
  position: relative; display: flex; justify-content: space-between; align-items: flex-start;
}
.state-box .accent-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.state-box.waiting     { background: rgba(251,191,36,0.04); }
.state-name   { font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.state-detail { font-family: var(--font-mono); font-size: 10px; color: var(--term-dim); margin-top: 2px; }
.state-wait   { font-family: var(--font-mono); font-size: 10px; color: var(--term-amber); }
.state-arrow  { text-align: center; color: var(--term-bord); font-size: 12px; margin: -6px 0; line-height: 1; }

.code-tabs { background: var(--term-bg2); padding: 8px 14px 0; display: flex; gap: 24px; }
.code-tab  {
  font-family: var(--font-mono); font-size: 11px; color: var(--term-dim);
  padding-bottom: 8px; cursor: pointer; border-bottom: 2px solid transparent;
}
.code-tab.active { color: var(--term-text); border-bottom-color: var(--cyan); }
.code-body {
  padding: 14px 16px; font-family: var(--font-mono);
  font-size: 11px; line-height: 1.7; overflow-x: auto; white-space: pre;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURE CARDS — reusable light card component
   ═══════════════════════════════════════════════════════════════════════════ */
.fcard {
  background: var(--cream-lt); border: 1px solid var(--cream-dd);
  position: relative; display: flex; flex-direction: column;
  min-height: 340px; overflow: hidden;
}
.fcard-accent  { height: 3px; width: 100%; }
.fcard-inner   { padding: 22px 24px 0; flex: 1; display: flex; flex-direction: column; }
.fcard-top     { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.fcard-num     { font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.fcard-label   { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: var(--gray); }
.fcard-title   {
  font-family: var(--font-display); font-weight: 700;
  font-size: 38px; line-height: 1.0; letter-spacing: -0.02em;
  color: var(--black); margin-bottom: 18px;
}
.fcard-body    { font-size: 15px; line-height: 1.6; color: var(--gray-dk); flex: 1; }
.fcard-tech    { border-top: 1px solid var(--cream-dd); padding: 12px 24px; display: flex; gap: 14px; flex-wrap: wrap; }
.fcard-tech span { font-family: var(--font-mono); font-size: 10px; color: var(--gray); }

/* ═══════════════════════════════════════════════════════════════════════════
   NAV DROPDOWN — shared across all pages with sub-menus
   ═══════════════════════════════════════════════════════════════════════════ */
.nav-item { position: relative; }
/* Dropdown show/hide is fully JS-managed — no CSS hover trigger.
   JS moves dropdowns to <body> and positions them with getBoundingClientRect.
   This bypasses all stacking context clipping (transforms, overflow:hidden, etc.)
   and eliminates the hover-gap retraction problem. */
.nav-dropdown {
  position: fixed; top: 68px; left: 0;
  background: var(--black); min-width: 260px;
  padding: 8px 0; z-index: 99999;
  display: none; opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.nav-dropdown a {
  display: block; padding: 11px 20px;
  font-size: 13px; color: #A8A29A !important;
  text-decoration: none; font-weight: 400;
  transition: color 0.12s, background 0.12s, border-color 0.12s;
  border-bottom: none !important;
  border-left: 2px solid transparent;
}
/* Clear hover — stronger background + cyan left border accent */
.nav-dropdown a:hover {
  color: #F2EEE2 !important;
  background: rgba(255,255,255,0.10);
  border-left-color: var(--cyan);
}
.nav-dropdown-label {
  font-size: 9px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--term-dim); padding: 10px 20px 6px;
  text-transform: uppercase;
}
.nav-dropdown hr {
  border: none; border-top: 1px solid var(--term-bord);
  margin: 6px 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SOLUTION PAGE SHARED LAYOUTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Solution hero */
.solution-hero { padding: 80px 0 60px; }
.solution-hero-label { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; color: var(--cyan); margin-bottom: 16px; }
.solution-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 5.5vw, 80px); line-height: 1.0;
  letter-spacing: -0.02em; color: var(--black); margin-bottom: 24px;
}
.solution-hero-sub {
  font-size: 20px; line-height: 1.6; color: var(--gray);
  max-width: 760px; margin-bottom: 36px;
}

/* Two-column intro grid */
.two-col-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.two-col-intro p { font-size: 18px; line-height: 1.65; color: var(--gray-dk); }

/* Workflow section */
.workflow-section { padding: 80px 0; }
.workflow-panels {
  display: grid; grid-template-columns: 580fr 560fr;
  gap: 40px; margin-top: 36px;
}

/* Step list — numbered workflow steps */
.step-list { counter-reset: steps; list-style: none; }
.step-list li {
  counter-increment: steps;
  display: grid; grid-template-columns: 48px 1fr;
  gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--cyan); padding-top: 4px;
}
.step-title { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.step-body  { font-size: 15px; line-height: 1.6; color: var(--gray-dk); }

/* Agents grid flexible — overrides the 4-col default for 5-6 agents */
.agents-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 28px; }
.agents-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }

/* Integration category cards */
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.int-card {
  background: var(--cream-lt); border: 1px solid var(--cream-dd);
  padding: 28px 24px;
}
.int-card-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  color: var(--cyan); margin-bottom: 14px;
}
.int-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; letter-spacing: -0.02em;
  color: var(--black); margin-bottom: 12px;
}
.int-card p { font-size: 14px; line-height: 1.6; color: var(--gray-dk); margin-bottom: 16px; }
.int-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-top: 1px solid var(--cream-dd);
  font-size: 13px;
}
.int-item-name { font-weight: 700; color: var(--black); white-space: nowrap; }
.int-item-desc { color: var(--gray); line-height: 1.4; }

/* Pricing cards */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.pricing-card {
  border: 1px solid var(--cream-dd); padding: 40px;
  position: relative; background: var(--cream-lt);
}
.pricing-card.featured { border-color: var(--black); border-width: 2px; }
.pricing-badge {
  position: absolute; top: -12px; left: 40px;
  background: var(--black); color: var(--cream);
  font-size: 10px; font-weight: 700; letter-spacing: 1.4px;
  padding: 4px 14px;
}
.pricing-label { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; color: var(--cyan); margin-bottom: 12px; }
.pricing-title { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--black); margin-bottom: 8px; }
.pricing-price { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.0; color: var(--black); margin: 24px 0 4px; }
.pricing-price-unit { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.pricing-desc { font-size: 16px; line-height: 1.6; color: var(--gray-dk); margin-bottom: 28px; }
.pricing-includes { list-style: none; margin-bottom: 32px; }
.pricing-includes li { font-size: 14px; color: var(--gray-dk); padding: 8px 0; border-bottom: 1px solid var(--cream-dd); display: flex; align-items: flex-start; gap: 10px; }
.pricing-includes li::before { content: '✓'; color: var(--cyan); font-weight: 700; flex-shrink: 0; }
.pricing-excludes li::before { content: '·'; color: var(--gray); }
.pricing-meter { margin-bottom: 20px; }
.pricing-meter-label { font-size: 12px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.pricing-meter-desc { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* FAQ accordion */
.faq-list { margin-top: 40px; }
.faq-item { border-top: 1px solid var(--cream-dark); }
.faq-item:last-child { border-bottom: 1px solid var(--cream-dark); }
.faq-q {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; cursor: pointer;
  font-family: var(--font-body); font-size: 17px; font-weight: 600;
  color: var(--black); text-align: left;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--gray); flex-shrink: 0; margin-left: 16px; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--gray-dk); max-width: 820px; }
.faq-item.open .faq-a { display: block; }


/* ── Footer nav columns — reset main nav styles ──────────────────────────── */
footer nav,
footer .footer-col {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  height: auto !important;
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  z-index: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  align-items: flex-start !important;
  box-shadow: none !important;
}
footer .footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--ft-text); margin-bottom: 16px; text-transform: uppercase;
}
footer .footer-col a {
  display: block; font-size: 14px; color: var(--ft-dim);
  text-decoration: none; margin-bottom: 10px;
  transition: color 0.15s; border: none !important;
  padding: 0 !important; background: none !important;
}
footer .footer-col a:hover { color: var(--ft-text) !important; }
/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE ADDITIONS for new page types
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .agents-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .agents-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .workflow-panels { grid-template-columns: 1fr; gap: 24px; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .agents-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .agents-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .two-col-intro { grid-template-columns: 1fr; gap: 20px; }
  .pricing-grid  { grid-template-columns: 1fr; gap: 20px; }
  .integration-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .agents-grid-5 { grid-template-columns: 1fr; }
  .agents-grid-6 { grid-template-columns: 1fr; }
  .solution-hero { padding: 56px 0 40px; }
  .solution-hero h1 { font-size: clamp(38px, 8vw, 60px); }
  .solution-hero-sub { font-size: 17px; }
  .step-list li { grid-template-columns: 36px 1fr; gap: 14px; }
  .nav-dropdown { display: none; }
}
@media (max-width: 480px) {
  .solution-hero { padding: 40px 0 32px; }
  .solution-hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .pricing-card { padding: 28px 20px; }
  .pricing-price { font-size: 48px; }
}

.diff-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.diff-accent { width: 60px; height: 2px; background: var(--black); margin-bottom: 18px; }
.diff-label  { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: var(--gray); margin-bottom: 12px; }
.diff-title  {
  font-family: var(--font-display); font-weight: 700;
  font-size: 38px; line-height: 1.0; letter-spacing: -0.02em;
  color: var(--black); margin-bottom: 20px;
}
.diff-body   { font-size: 16px; line-height: 1.6; color: var(--gray-dk); }

/* ═══════════════════════════════════════════════════════════════════════════
   CTA BLOCK + FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.cta-block    { background: var(--ft-bg); padding: 80px 0; text-align: center; }
.cta-block h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 4.5vw, 64px); color: var(--cream);
  line-height: 1.0; margin-bottom: 28px;
}
.cta-block p  { font-size: 18px; color: var(--gray-lt); line-height: 1.6; margin-bottom: 8px; }
.cta-buttons  { display: flex; gap: 12px; justify-content: center; margin-top: 40px; }

footer              { background: var(--ft-bg); }
.footer-divider     { height: 1px; background: var(--ft-bg2); margin: 0 80px; }
.footer-grid        {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 60px 80px 40px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.footer-col { display: flex; flex-direction: column; min-width: 0; }
.footer-brand-logo  { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand-logo svg { width: 44px; height: 44px; }
.footer-brand-logo span {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; color: var(--ft-text);
}
.footer-tagline     { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; color: var(--ft-dim); margin-bottom: 20px; }
.footer-desc        { font-size: 14px; color: var(--ft-dim); line-height: 1.6; }
.footer-col h4      { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--ft-text); margin-bottom: 16px; }
.footer-col a       { display: block; font-size: 14px; color: var(--ft-dim); text-decoration: none; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--ft-text); }
.footer-bottom      {
  border-top: 1px solid var(--ft-bg2); padding: 24px 80px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin: 0 auto;
}
.footer-bottom-left  { font-size: 14px; color: var(--ft-dim); display: flex; align-items: center; gap: 32px; }
.footer-bottom-right { display: flex; gap: 20px; align-items: center; }
.footer-bottom-right a       { color: var(--ft-dim); text-decoration: none; transition: color 0.2s; display: flex; align-items: center; }
.footer-bottom-right a:hover { color: var(--cream); }
.footer-bottom-right a svg   { display: block; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--term-green); margin-right: 6px; }

/* ═══════════════════════════════════════════════════════════════════════════
   ORBITAL ICON ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes orbit1 { from { transform: rotate(0deg);    } to { transform: rotate(360deg);  } }
@keyframes orbit2 { from { transform: rotate(0deg);    } to { transform: rotate(-360deg); } }
@keyframes orbit3 { from { transform: rotate(0deg);    } to { transform: rotate(360deg);  } }

/* ═══════════════════════════════════════════════════════════════════════════
   ARCH FLOW STRIP — reusable dark pipeline component
   ═══════════════════════════════════════════════════════════════════════════ */
.arch-strip  { background: var(--term-bg); padding: 20px 0; display: flex; justify-content: center; align-items: flex-start; }
.arch-node   { flex: 1; text-align: center; position: relative; padding: 0 8px; }
.arch-name   { font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.arch-sub    { font-family: var(--font-mono); font-size: 10px; color: var(--term-dim); margin-top: 4px; }
.arch-arrow  { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--term-bord); position: absolute; right: -14px; top: 4px; }
.arch-proto  { font-family: var(--font-mono); font-size: 10px; color: var(--term-dim); margin-top: 22px; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — shared components across all breakpoints
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1200px */
@media (max-width: 1200px) {
  .container        { padding-left: 48px !important; padding-right: 48px !important; }
  .divider          { margin: 0 48px; }
  nav               { padding: 0 32px; }
  .footer-grid      { padding: 48px 48px 32px; gap: 24px; }
  .footer-bottom    { padding: 20px 48px; }
  .agents-grid      { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .fcard-title      { font-size: 32px; }
  .diff-title       { font-size: 32px; }
}

/* 1024px */
@media (max-width: 1024px) {
  .container        { padding-left: 36px !important; padding-right: 36px !important; }
  .divider          { margin: 0 36px; }
  nav               { padding: 0 24px; }
  .nav-links        { gap: 22px; }
  .agents-grid      { grid-template-columns: repeat(2, 1fr); }
  .proto-strip      { flex-wrap: wrap; }
  .proto-item       { flex: 0 0 calc(33.33% - 2px); border-left: none; border-top: 1px solid var(--cream-dd); padding: 12px 20px; }
  .proto-item:nth-child(1),
  .proto-item:nth-child(2),
  .proto-item:nth-child(3) { border-top: none; }
  .code-body        { font-size: 10px; }
  .diff-grid        { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 36px 32px; }
  .footer-brand     { grid-column: 1 / -1; }
  .footer-bottom    { padding: 20px 36px; flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* 768px */
@media (max-width: 768px) {
  .container        { padding-left: 20px !important; padding-right: 20px !important; }
  /* Full-bleed sections need explicit side padding on mobile */
  .hero, .manifesto-section, .cta-block,
  .solution-hero, .wo-hero, .sec-hero,
  .no-training, .pentest-strip,
  section[style*="background:var(--black)"],
  section[style*="background:#111"],
  div[style*="background:var(--black)"],
  div[style*="background:#111"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* Hero inner grid */
  .hero-left  { padding-left: 0; }
  .hero-right { padding-right: 0; }
  /* Terminal panels */
  .terminal   { margin-left: 0; margin-right: 0; border-radius: 0; }
  /* Nav CTAs - stack on small screens */
  .nav-ctas   { gap: 8px; }
  .nav-ctas .btn { padding: 8px 14px; font-size: 13px; }
  .divider          { margin: 0 24px; }
  nav               { padding: 0 20px; }
  .nav-links        { display: none; }
  .nav-ctas         { display: none; }
  .nav-hamburger    { display: flex; }
  .terminal-body    { max-height: 420px; overflow-y: auto; }
  .t-line           { font-size: 10.5px; white-space: pre-wrap; word-break: break-all; }
  .agents-grid      { grid-template-columns: 1fr; }
  .proto-strip      { flex-wrap: wrap; }
  .proto-item       { flex: 0 0 50%; border-left: none; border-top: 1px solid var(--cream-dd); padding: 12px 16px; }
  .proto-item:nth-child(1),
  .proto-item:nth-child(2) { border-top: none; }
  .proto-item:nth-child(3) { border-top: 1px solid var(--cream-dd); }
  .proto-item:nth-child(even) { border-left: 1px solid var(--cream-dd); }
  .state-box        { flex-direction: column; gap: 6px; }
  .state-wait       { align-self: flex-start; }
  .code-body        { font-size: 10px; padding: 12px 14px; }
  .diff-title       { font-size: 32px; }
  .cta-block        { padding: 64px 0; }
  .cta-block p      { font-size: 16px; }
  .cta-buttons      { flex-direction: column; align-items: center; gap: 10px; }
  .cta-buttons .btn { width: 100%; max-width: 320px; text-align: center; }
  .footer-grid      { grid-template-columns: 1fr 1fr; padding: 40px 24px 28px; gap: 28px; }
  .footer-brand     { grid-column: 1 / -1; }
  .footer-bottom    { flex-direction: column; gap: 12px; padding: 20px 24px; align-items: flex-start; }
  .footer-bottom-left { flex-direction: column; gap: 6px; font-size: 13px; }
  .footer-divider   { margin: 0 24px; }
  .arch-strip       { overflow-x: auto; padding: 18px 24px; gap: 0; justify-content: flex-start; }
  .arch-node        { min-width: 140px; flex: 0 0 140px; padding: 0 12px; }
}

/* 480px */
@media (max-width: 480px) {
  .container        { padding-left: 16px !important; padding-right: 16px !important; }
  .hero, .manifesto-section, .cta-block, .solution-hero, .wo-hero, .sec-hero, .no-training, .pentest-strip { padding-left: 16px !important; padding-right: 16px !important; }
  .divider          { margin: 0 18px; }
  nav               { padding: 0 16px; height: 60px; }
  .nav-mobile-menu  { top: 60px; padding: 20px 18px 28px; }
  .terminal         { font-size: 10px; }
  .terminal-body    { max-height: 340px; padding: 12px 14px; }
  .t-line           { font-size: 10px; }
  .panel-bar        { font-size: 10px; padding: 6px 10px; }
  .state-name       { font-size: 10px; }
  .state-detail     { font-size: 9px; }
  .code-body        { font-size: 9px; padding: 10px 12px; }
  .code-tab         { font-size: 10px; }
  .diff-title       { font-size: 28px; }
  .diff-body        { font-size: 14px; }
  .cta-block h2     { font-size: clamp(30px, 7vw, 48px); }
  .cta-block        { padding: 52px 0; }
  .footer-grid      { grid-template-columns: 1fr; padding: 36px 18px 24px; gap: 32px; }
  .footer-brand     { grid-column: 1; }
  .footer-bottom    { padding: 16px 18px; }
  .footer-bottom-right { gap: 16px; }
  .footer-divider   { margin: 0 18px; }
  .display-96       { font-size: clamp(38px, 9vw, 56px); }
  .display-80       { font-size: clamp(36px, 8.5vw, 52px); }
  .display-72       { font-size: clamp(32px, 8vw, 48px); }
  .display-64       { font-size: clamp(28px, 7.5vw, 42px); }
  .display-52       { font-size: clamp(24px, 6vw, 36px); }
  .fcard-title      { font-size: 30px; }
}

/* Scrollbar styling for overflow containers */
.arch-strip::-webkit-scrollbar,
.mc-dashboard::-webkit-scrollbar,
.terminal-body::-webkit-scrollbar { height: 4px; width: 4px; }
.arch-strip::-webkit-scrollbar-thumb,
.mc-dashboard::-webkit-scrollbar-thumb,
.terminal-body::-webkit-scrollbar-thumb { background: var(--term-bord); border-radius: 2px; }
