/* ============================================================
   ARTEMIZ AI — launch site design system
   Brand: teal-cyan + coral-magenta on deep near-black
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Hanken+Grotesk:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&family=Fraunces:ital,wght@1,400;1,500;1,600&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg:          #0A0B12;
  --bg-alt:      #0D0E18;
  --surface:     #14161F;
  --surface-2:   #181B26;
  --surface-3:   #1F222F;
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.14);
  --border-teal: rgba(52,214,206,0.34);

  --text:        #E8EAF0;
  --text-soft:   #AAB0C2;
  --text-mute:   #757B90;
  --text-faint:  #565C72;

  --teal:        #34D6CE;
  --teal-bright: #54E6DD;
  --accent-soft: #8E8DB8;
  --cyan:        #2BC6E0;
  --coral:       #F96A66;
  --magenta:     #D8569F;
  --pink:        #CE4B99;

  --grad-mark-a: linear-gradient(92deg, #54E6DD 0%, #2BC6E0 100%);
  --grad-mark-i: linear-gradient(92deg, #F96A66 0%, #CE4B99 100%);
  --grad-accent: linear-gradient(95deg, #54E6DD 0%, #2BC6E0 100%);
  --btn-face:    #0E1A1D;
  --btn-border:  linear-gradient(95deg, #3FD8CF 0%, #CE4B99 100%);

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 20px;

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --shadow:    0 24px 60px -28px rgba(0,0,0,0.72);
  --glow-teal: 0 0 50px -8px rgba(52,214,206,0.40);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

body {
  background: var(--bg);
  color: var(--text-soft);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint grain so the dark canvas has depth, never flat */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: rgba(52,214,206,0.30); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { position: relative; z-index: 1; }
.section { padding: 112px 0; }
.section--tight { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }

/* atmospheric glows — placed per section, subtle */
.glow {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(10px);
}
.glow--teal   { background: radial-gradient(circle, rgba(52,214,206,0.16), transparent 66%); }
.glow--pink   { background: radial-gradient(circle, rgba(206,75,153,0.18), transparent 66%); }
.glow--coral  { background: radial-gradient(circle, rgba(249,106,102,0.12), transparent 68%); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.h-xl { font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 800; letter-spacing: -0.025em; }
.h-lg { font-size: clamp(1.95rem, 4vw, 3.05rem); }
.h-md { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

.lead {
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
  color: var(--text-soft);
  line-height: 1.6;
}

.grad-text {
  font-family: 'Fraunces', 'Sora', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-soft);
  letter-spacing: -0.008em;
}

/* eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { width: 22px; }

.section-head { max-width: 680px; }
.section-head--center { max-width: 720px; margin: 0 auto; text-align: center; }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn { 
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: var(--radius-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  white-space: nowrap;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background:
    linear-gradient(var(--btn-face), var(--btn-face)) padding-box,
    var(--btn-border) border-box;
  border: 1.5px solid transparent; color: #fff;
  box-shadow: inset 0 0 24px rgba(52,214,206,0.09);
}
.btn-primary:hover {
  background:
    linear-gradient(#13262A, #13262A) padding-box,
    linear-gradient(95deg, #5FE8DF, #E063AE) border-box;
  box-shadow: inset 0 0 30px rgba(52,214,206,0.17);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.03); color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { border-color: var(--border-teal); background: rgba(52,214,206,0.06); transform: translateY(-2px); }

.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,11,18,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.wordmark {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 19px; letter-spacing: 0.15em; display: inline-flex;
}
.wordmark .a {
  background: var(--grad-mark-a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark .i {
  background: var(--grad-mark-i);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.navlink {
  font-size: 14.5px; color: var(--text-soft); font-weight: 500;
  transition: color .18s var(--ease); position: relative; padding: 4px 0;
}
.nav-links a.navlink:hover { color: var(--text); }
.nav-links a.navlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--grad-accent); transition: width .22s var(--ease);
}
.nav-links a.navlink:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 9px;
  border: 1px solid var(--border-2); color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 96px; overflow: hidden; }
.hero .glow-a { width: 620px; height: 620px; top: -260px; left: -200px; }
.hero .glow-b { width: 640px; height: 640px; bottom: -340px; right: -220px; }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: center;
}
/* Grid items default to min-width:auto, which stops them shrinking below the
   min-content width of what's inside them. If any child (like the pcard's
   unwrapped header row below) is intrinsically wide, that forces the whole
   grid — and everything sharing its track, like the headline — wider than
   the viewport, and the overflow just gets silently clipped by body's
   overflow-x:hidden instead of wrapping responsively. Resetting min-width
   lets these tracks actually shrink to fit small screens. */
.hero-grid > *,
.cta-grid > *,
.dev-biz-grid > * {
  min-width: 0;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(52,214,206,0.07); border: 1px solid var(--border-teal);
  color: var(--teal-bright); font-size: 12.5px; font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em; padding: 7px 14px; border-radius: 30px; margin-bottom: 26px;
}
.hero-pill svg { width: 14px; height: 14px; }

.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 540px; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 9px 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-mute);
}
.chip svg { width: 15px; height: 15px; color: var(--teal); flex: none; }

/* hero foundation strip */
.hero-strip {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero-strip .lbl {
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--text-faint); letter-spacing: 0.06em; margin-right: 6px;
}
.hero-strip .lbl b { color: var(--text-soft); font-weight: 500; }
.flowstep { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-soft); }
.flowstep svg { width: 15px; height: 15px; color: var(--teal); }
.flow-sep { color: var(--text-faint); font-size: 13px; }

/* hero visual — recreated privacy-layer card */
.hero-visual { position: relative; }
.pcard {
  position: relative; z-index: 2;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow);
}
.pcard-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 12px;
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border);
}
.pcard-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: 0.12em; color: var(--text-mute);
  min-width: 0;
}
.dot-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--teal);
}
.dot-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px var(--teal);
}
.rec { font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 2.05; }
.rec .k { color: var(--text-mute); }
.rec .v { color: var(--text-soft); }
.rec .masked {
  color: var(--coral);
  background: rgba(249,106,102,0.10);
  border-radius: 3px; padding: 1px 5px;
}
.rec .tok {
  color: var(--teal); background: rgba(52,214,206,0.10);
  border-radius: 3px; padding: 1px 5px;
}
.pcard-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-mute);
}
.pcard-foot svg { width: 16px; height: 16px; color: var(--teal); }
.pcard-foot b { color: var(--text-soft); font-weight: 500; }
/* floating mini-badge behind card */
.pcard-badge {
  position: absolute; z-index: 3; right: -16px; bottom: -40px;
  background: var(--surface-3); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); padding: 12px 15px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
}
.pcard-badge .ico {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(52,214,206,0.12); color: var(--teal);
}
.pcard-badge .ico svg { width: 18px; height: 18px; }
.pcard-badge .big { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--text); font-size: 17px; }
.pcard-badge .sm { font-size: 11px; color: var(--text-mute); }

/* ---------- Generic cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .22s var(--ease), transform .22s var(--ease), background .22s var(--ease);
}
.card:hover { border-color: var(--border-teal); transform: translateY(-3px); }

.card-ico {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-ico svg { width: 22px; height: 22px; }
.ico-teal  { background: rgba(52,214,206,0.11); color: var(--teal); }
.ico-coral { background: rgba(249,106,102,0.11); color: var(--coral); }
.ico-pink  { background: rgba(206,75,153,0.12);  color: var(--pink); }
.ico-cyan  { background: rgba(43,198,224,0.11);  color: var(--cyan); }

.card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.card p { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }

/* ---------- Problem (three paths) ---------- */
.path-card { position: relative; }
.path-card .x-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(249,106,102,0.10); color: var(--coral);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.path-card .x-mark svg { width: 16px; height: 16px; }
.path-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.13em; color: var(--text-faint); margin-bottom: 6px;
}
.path-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.path-verdict {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--coral); display: flex; align-items: center; gap: 7px;
}
.path-verdict svg { width: 14px; height: 14px; }

/* ---------- How it works (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px; position: relative;
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.step:hover { border-color: var(--border-teal); transform: translateY(-3px); }
.step-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--teal); letter-spacing: 0.1em; margin-bottom: 16px;
}
.step-visual {
  height: 96px; border-radius: var(--radius-sm); margin-bottom: 20px;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-soft); line-height: 1.58; }
.step-arrow {
  position: absolute; right: -13px; top: 50%; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface-3); border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.step-arrow svg { width: 13px; height: 13px; }
.step:last-child .step-arrow { display: none; }

/* step mini-visual bits */
.sv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.sv-row { display: flex; align-items: center; gap: 7px; }
.sv-mono { font-family: 'JetBrains Mono', monospace; font-size: 11px; }

/* ---------- See it in action (split mockup) ---------- */
.showcase-frame {
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); background: var(--surface);
}
.frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #15171F; border-bottom: 1px solid var(--border);
}
.frame-bar .d { width: 10px; height: 10px; border-radius: 50%; background: #3a3d49; }
.frame-bar .url {
  margin-left: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--text-mute); display: flex; align-items: center; gap: 7px;
  background: #0E1017; border: 1px solid var(--border); border-radius: 6px; padding: 4px 12px;
}
.frame-bar .url svg { width: 12px; height: 12px; color: var(--teal); }

.split { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.split-pane { padding: 56px 30px 30px; }
.split-pane--ai {
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
}
.pane-label {
  display: flex; align-items: center; gap: 9px; margin-bottom: 22px;
}
.pane-label .tg {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.pane-label .pico {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.pane-label .pico svg { width: 16px; height: 16px; }
.pane-title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; color: var(--text); }
.pane-sub { font-size: 11.5px; color: var(--text-mute); }

.bubble {
  border-radius: 11px; padding: 14px 16px; margin-bottom: 14px; font-size: 13.5px;
  line-height: 1.6;
}
.bubble-q {
  background: var(--surface-3); border: 1px solid var(--border);
  color: var(--text-soft);
}
.bubble-a {
  background: rgba(52,214,206,0.06); border: 1px solid var(--border-teal);
  color: var(--text);
}
.bubble .who {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: 7px; display: block;
}
.ctx-block {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.95;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 14px;
}
.ctx-block .cl { color: var(--text-faint); }
.masked-pill {
  color: var(--coral); background: rgba(249,106,102,0.12);
  border-radius: 3px; padding: 1px 6px;
}
.real-pill {
  color: var(--text); background: rgba(255,255,255,0.06);
  border-radius: 3px; padding: 1px 6px;
}
.tok-pill {
  color: var(--teal); background: rgba(52,214,206,0.12);
  border-radius: 3px; padding: 1px 6px;
}
.pipe-note {
  display: flex; align-items: center; gap: 8px; font-size: 12px;
  color: var(--teal); margin-top: 4px;
}
.pipe-note svg { width: 15px; height: 15px; }

/* the seam between panes */
.split-seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--teal), var(--pink), transparent);
  z-index: 4;
}
.seam-chip {
  position: absolute; left: 50%; top: 28px;
  transform: translate(-50%,-50%); z-index: 5;
  background: var(--surface-3); border: 1px solid var(--border-teal);
  border-radius: 30px; padding: 8px 15px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--teal-bright);
  white-space: nowrap; box-shadow: 0 0 26px -6px rgba(52,214,206,0.5);
}
.seam-chip svg { width: 14px; height: 14px; }

.showcase-caption {
  margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--text-mute);
}

/* ---------- Compliance ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.comp-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .2s var(--ease);
}
.comp-item:hover { border-color: var(--border-teal); }
.comp-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.comp-check {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  background: rgba(52,214,206,0.12); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.comp-check svg { width: 14px; height: 14px; }
.comp-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.08em; color: var(--text-faint);
  border: 1px solid var(--border); border-radius: 5px; padding: 2px 7px;
}
.comp-item h3 { font-size: 1.02rem; margin-bottom: 7px; }
.comp-item p { font-size: 13.5px; color: var(--text-soft); line-height: 1.56; }

/* ---------- Deployment band ---------- */
.deploy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.deploy-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; position: relative;
}
.deploy-card.rec-start { border-color: var(--border-teal); }
.deploy-flag {
  position: absolute; top: -11px; left: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em;
  background: #1F8C8A; color: #fff; padding: 4px 10px; border-radius: 5px;
}
.deploy-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.deploy-card .dsub { font-size: 12.5px; color: var(--text-mute); margin-bottom: 16px; }
.deploy-card ul { list-style: none; display: grid; gap: 9px; }
.deploy-card li { display: flex; gap: 9px; font-size: 13.5px; color: var(--text-soft); }
.deploy-card li svg { width: 15px; height: 15px; color: var(--teal); flex: none; margin-top: 3px; }

/* ---------- Industries ---------- */
.ind-card { padding: 26px; }
.ind-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.ind-tags { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.ind-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.06em;
  border: 1px solid var(--border); border-radius: 5px; padding: 3px 8px; color: var(--text-mute);
}
.ind-card p { font-size: 13.5px; color: var(--text-soft); }
.ind-out {
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text); display: flex; gap: 8px; align-items: flex-start;
}
.ind-out svg { width: 15px; height: 15px; color: var(--teal); flex: none; margin-top: 3px; }

/* ---------- Aegis foundation band ---------- */
.aegis-band {
  background: linear-gradient(150deg, var(--surface-2), var(--bg-alt));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 52px; position: relative; overflow: hidden;
}
.aegis-band .glow-x { width: 460px; height: 460px; top: -220px; right: -120px; }
.aegis-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.aegis-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px;
}
.pillar .pico {
  width: 36px; height: 36px; border-radius: 9px; margin-bottom: 12px;
  background: rgba(52,214,206,0.11); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.pillar .pico svg { width: 18px; height: 18px; }
.pillar h4 { font-size: 0.98rem; font-weight: 600; margin-bottom: 4px; }
.pillar p { font-size: 12.5px; color: var(--text-mute); line-height: 1.5; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto .glow-m { width: 560px; height: 560px; top: -200px; left: 50%; transform: translateX(-50%); }
.manifesto-body { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.manifesto-stmt {
  font-family: 'Sora', sans-serif; font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.32;
  color: var(--text); letter-spacing: -0.015em; margin-bottom: 30px;
}
.manifesto-stmt .grad-text { font-weight: 700; }
.manifesto-text { font-size: 1.05rem; color: var(--text-soft); margin-bottom: 16px; }
.manifesto-sign {
  margin-top: 34px; font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px; color: var(--text-mute); letter-spacing: 0.04em;
}

/* ---------- CTA / form ---------- */
.cta { position: relative; overflow: hidden; }
.cta .glow-c1 { width: 520px; height: 520px; top: -260px; left: -160px; }
.cta .glow-c2 { width: 520px; height: 520px; bottom: -280px; right: -160px; }
.cta-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; position: relative; z-index: 2; }

.cta-points { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.cta-points li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text-soft); }
.cta-points li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }
.cta-mail {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--text-mute);
}
.cta-mail a { color: var(--teal); }

.form-card {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 12.5px; color: var(--text-soft);
  font-weight: 500; margin-bottom: 7px;
}
.field label .req { color: var(--coral); }
.input, .textarea, select.input {
  width: 100%; background: var(--bg-alt); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); padding: 12px 14px;
  color: var(--text); font-family: inherit; font-size: 14px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .textarea:focus, select.input:focus {
  outline: none; border-color: var(--border-teal);
  box-shadow: 0 0 0 3px rgba(52,214,206,0.12);
}
.textarea { resize: vertical; min-height: 92px; }

/* segmented toggle */
.segment { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segment label {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; border-radius: var(--radius-sm); cursor: pointer;
  border: 1px solid var(--border-2); background: var(--bg-alt);
  font-size: 13px; color: var(--text-soft); transition: all .16s var(--ease);
}
.segment label svg { width: 15px; height: 15px; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment input:checked + label {
  border-color: var(--border-teal); background: rgba(52,214,206,0.08); color: var(--text);
}
.form-submit { width: 100%; margin-top: 6px; }
.form-note { font-size: 12px; color: var(--text-faint); margin-top: 14px; text-align: center; }

.form-success {
  display: none; text-align: center; padding: 20px 0;
}
.form-success.show { display: block; }
.form-success .sc {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px;
  background: rgba(52,214,206,0.12); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.form-success .sc svg { width: 26px; height: 26px; }
.form-success h3 { font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); padding: 54px 0 38px;
  position: relative; z-index: 1; background: var(--bg-alt);
}
.footer-top {
  display: flex; justify-content: space-between; gap: 40px;
  padding-bottom: 34px; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand p { font-size: 13.5px; color: var(--text-mute); margin-top: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint);
  margin-bottom: 14px; font-weight: 500;
}
.footer-col a, .footer-col span {
  display: block; font-size: 14px; color: var(--text-soft);
  margin-bottom: 9px; transition: color .16s var(--ease);
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; color: var(--text-faint); }
.footer-stealth {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-mute);
}
.footer-stealth::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 7px var(--teal);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* hero load animation */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-rise { opacity: 0; animation: rise .8s var(--ease) forwards; }
.hero-rise[data-d="1"] { animation-delay: .05s; }
.hero-rise[data-d="2"] { animation-delay: .15s; }
.hero-rise[data-d="3"] { animation-delay: .25s; }
.hero-rise[data-d="4"] { animation-delay: .35s; }
.hero-rise[data-d="5"] { animation-delay: .45s; }
.hero-rise[data-d="6"] { animation-delay: .55s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-rise { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; }
  .aegis-grid, .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none !important; }
  .comp-grid, .deploy-grid { grid-template-columns: repeat(2,1fr); }
  .section { padding: 88px 0; }
  .aegis-band { padding: 38px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 74px; left: 0; right: 0; background: rgba(10,11,18,0.97);
    backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
    padding: 22px 24px; gap: 18px; align-items: flex-start;
  }
  .nav-links.open .btn { width: 100%; }
  .hero { padding: 132px 0 72px; }
  .grid-2, .grid-3, .grid-4, .steps, .comp-grid, .deploy-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-pane { padding: 30px 22px; }
  .split-pane--ai { border-left: none; border-top: 1px solid var(--border); }
  .split-seam { display: none; }
  .seam-chip {
    position: static; transform: none; margin: 0 auto;
    display: inline-flex; left: auto; top: auto;
  }
  .seam-row { display: flex; justify-content: center; padding: 14px 0; background: var(--bg-alt); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 30px; }
  .section { padding: 76px 0; }
  .aegis-band { padding: 28px 22px; }
  .aegis-pillars { grid-template-columns: 1fr; }
  .hero-pill { font-size: 11.5px; }
  .pcard-badge { right: 0; }
}
@media (max-width: 480px) {
  /* On narrow phones the floating badge has too little room to sit
     half-overlapping the card without risking edge clipping — drop it
     into normal flow underneath the card instead. */
  .pcard-badge {
    position: static;
    right: auto; bottom: auto;
    margin-top: 14px;
    width: fit-content;
  }
}
/* ============================================================
   ADDITIONS FOR AEGIS-FIRST LANDING (v2)
   ============================================================ */

/* ---- Slightly cleaner section rhythm ---- */
.section { padding: 128px 0; }
.section--tight { padding: 88px 0; }
@media (max-width: 780px) { .section { padding: 88px 0; } }

/* Softer glows (dial back one layer of intensity for the cleaner feel) */
.glow { opacity: 0.72; }

/* ---------- Stat callouts (Problem section) ---------- */
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 44px;
}
.stat-callout {
  padding: 34px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.stat-callout::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-accent);
  opacity: 0.9;
}
.stat-callout .stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 62px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.stat-callout .stat-desc {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 10px;
}
.stat-callout .stat-src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
@media (max-width: 780px) {
  .stat-row { grid-template-columns: 1fr; gap: 20px; }
  .stat-callout .stat-num { font-size: 48px; }
}

.stat-closer {
  margin-top: 34px;
  padding: 22px 28px;
  border-left: 2px solid var(--teal);
  background: rgba(52,214,206,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ---------- Verdict cards (PROCEED / PAUSE / REFUSE) ---------- */
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.verdict-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.verdict-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
}
.verdict-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.verdict-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.verdict-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.verdict-card p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
}
.verdict-card .verdict-tag {
  display: block;
  font-size: 12.5px;
  color: var(--text-mute);
  margin-top: 16px;
  font-style: italic;
}
.verdict--proceed::before { background: linear-gradient(90deg, #34D6CE, #54E6DD); }
.verdict--proceed .verdict-label { color: var(--teal-bright); }
.verdict--pause::before { background: linear-gradient(90deg, #E8A857, #F0B84A); }
.verdict--pause .verdict-label { color: #F0B84A; }
.verdict--refuse::before { background: linear-gradient(90deg, #F96A66, #CE4B99); }
.verdict--refuse .verdict-label { color: var(--coral); }
@media (max-width: 900px) { .verdict-grid { grid-template-columns: 1fr; } }

/* ---------- Autonomy = trust × risk (two-column) ---------- */
.equation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.equation-grid::before {
  content: "×";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--text-faint);
  background: var(--bg);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  z-index: 2;
}
.section--alt .equation-grid::before { background: var(--bg-alt); }
.eq-col {
  padding: 34px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.eq-col .eq-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 10px;
}
.eq-col h3 {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.eq-col .eq-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.eq-col .eq-item:first-of-type { border-top: 1px solid var(--border-2); margin-top: 6px; }
.eq-col .eq-item .eq-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  min-width: 120px;
  padding-top: 3px;
}
.eq-col .eq-item .eq-txt {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .equation-grid { grid-template-columns: 1fr; }
  .equation-grid::before { display: none; }
  .eq-col .eq-item .eq-lbl { min-width: 100px; }
}

/* ---------- Tier progression ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
  position: relative;
}
.tier-card {
  padding: 32px 28px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tier-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.tier-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.tier-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.tier-card p {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.6;
}
.tier-card--dest {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--btn-border) border-box;
  box-shadow: inset 0 0 30px rgba(52,214,206,0.10);
}
.tier-card--dest .tier-dest-flag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: var(--bg);
  border: 1px solid var(--border-teal);
  border-radius: 20px;
}
.section--alt .tier-card--dest .tier-dest-flag { background: var(--bg-alt); }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

.tier-closer {
  margin-top: 32px;
  padding: 22px 28px;
  border-left: 2px solid var(--accent-soft);
  background: rgba(142,141,184,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ---------- Developer / Business two-column ---------- */
.dev-biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 48px;
}
.dev-biz-col {
  padding: 36px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.dev-biz-col .biz-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.dev-biz-col.col-dev .biz-tag { color: var(--teal-bright); }
.dev-biz-col.col-biz .biz-tag { color: var(--coral); }
.dev-biz-col h3 {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 26px;
  letter-spacing: -0.015em;
}
.dev-biz-col .dev-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.dev-biz-col .dev-item:first-of-type { border-top: none; padding-top: 6px; }
.dev-biz-col .dev-item svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.dev-biz-col.col-dev .dev-item svg { color: var(--teal); }
.dev-biz-col.col-biz .dev-item svg { color: var(--coral); }
.dev-biz-col .dev-item .dev-txt strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.dev-biz-col .dev-item .dev-txt span {
  display: block;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.55;
}
@media (max-width: 900px) { .dev-biz-grid { grid-template-columns: 1fr; } }

.dev-biz-closer {
  margin-top: 34px;
  text-align: center;
  font-size: 16.5px;
  color: var(--text-soft);
  font-style: italic;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ---------- Platform showcase (Built on AEGIS section) ---------- */
.showcase-band {
  padding: 56px 52px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.showcase-band .built-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.showcase-band .built-tag::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--teal);
}
.showcase-visual {
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-soft);
}
.showcase-visual .sv-line { padding: 6px 0; }
.showcase-visual .sv-line .sv-k { color: var(--text-mute); display: inline-block; min-width: 78px; }
.showcase-visual .sv-line .sv-tok {
  background: rgba(52,214,206,0.14);
  color: var(--teal-bright);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.showcase-visual .sv-line .sv-mask {
  background: rgba(249,106,102,0.14);
  color: var(--coral);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
@media (max-width: 900px) {
  .showcase-band { padding: 36px 28px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   V3 — HERO ATTRIBUTES + THREE NEW AEGIS SECTIONS
   ============================================================ */

/* ---- Hero attribute line (Trustworthy · mindful · responsible · consequence-aware) ---- */
.attr-line {
  font-family: 'Fraunces', 'Sora', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--accent-soft);
  letter-spacing: -0.005em;
  margin-top: 20px;
  margin-bottom: 28px;
}
.attr-line .attr-sep {
  color: var(--text-faint);
  font-style: normal;
  margin: 0 8px;
  font-size: 18px;
  vertical-align: 2px;
}
@media (max-width: 780px) {
  .attr-line { font-size: 18px; }
  .attr-line .attr-sep { font-size: 15px; }
}

/* ---- Pipeline (six-step vertical list) ---- */
.pipeline-list {
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.pipeline-item {
  display: grid;
  grid-template-columns: 76px 210px 1fr;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
  transition: background 0.25s var(--ease);
}
.pipeline-item:hover { background: rgba(255,255,255,0.014); }
.pipeline-item .pipe-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.06em;
}
.pipeline-item .pipe-verb {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.pipeline-item .pipe-desc {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.55;
}
.pipeline-closer {
  margin-top: 32px;
  text-align: center;
  font-family: 'Fraunces', 'Sora', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: var(--text-soft);
  letter-spacing: -0.005em;
}
@media (max-width: 780px) {
  .pipeline-item {
    grid-template-columns: 60px 1fr;
    gap: 14px;
    padding: 22px 4px;
  }
  .pipeline-item .pipe-verb { grid-column: 2; }
  .pipeline-item .pipe-desc { grid-column: 1 / -1; padding-left: 74px; }
  .pipeline-item .pipe-num { align-self: start; padding-top: 4px; }
}

/* ---- Beyond the harness (two-column contrast: rules vs learning) ---- */
.harness-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 48px;
}
.harness-col {
  padding: 36px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}
.harness-col.harness-them {
  background: var(--surface);
  opacity: 0.86;
}
.harness-col.harness-us {
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              var(--btn-border) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 0 40px rgba(52,214,206,0.06);
}
.harness-col .harness-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.harness-them .harness-tag { color: var(--text-mute); }
.harness-us .harness-tag { color: var(--teal-bright); }
.harness-col h3 {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.harness-col .harness-lede {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 22px;
}
.harness-col .harness-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.harness-col .harness-item:first-of-type { border-top: 1px solid var(--border-2); margin-top: 4px; }
.harness-col .harness-item .harness-verb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.harness-us .harness-item .harness-verb { color: var(--teal); }
.harness-col .harness-item .harness-txt {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.55;
}
.harness-closer {
  margin-top: 34px;
  text-align: center;
  font-family: 'Fraunces', 'Sora', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  color: var(--accent-soft);
  letter-spacing: -0.005em;
}
@media (max-width: 900px) {
  .harness-grid { grid-template-columns: 1fr; }
  .harness-col .harness-item { grid-template-columns: 78px 1fr; }
}

/* ---- Capability onboarding (three-step + consequence axes strip) ---- */
.onboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.onboard-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.onboard-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.onboard-card .onboard-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--teal-bright);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.onboard-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.onboard-card p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
}
.axes-strip {
  margin-top: 32px;
  padding: 22px 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.axes-strip .axes-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-right: 12px;
  border-right: 1px solid var(--border-2);
}
.axes-strip .axes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: 'Fraunces', 'Sora', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--accent-soft);
  letter-spacing: -0.005em;
}
.axes-strip .axes-list span::after {
  content: "·";
  color: var(--text-faint);
  margin-left: 20px;
  font-style: normal;
}
.axes-strip .axes-list span:last-child::after { content: ""; margin: 0; }
.onboard-closer {
  margin-top: 24px;
  text-align: center;
  font-size: 15.5px;
  color: var(--text-mute);
  font-style: italic;
}
@media (max-width: 900px) {
  .onboard-grid { grid-template-columns: 1fr; }
  .axes-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .axes-strip .axes-label { border-right: none; padding-right: 0; }
}

/* ============================================================
   V4 — THREE PRINCIPLES (spare declarative moment)
   ============================================================ */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.principle {
  padding: 48px 38px;
  border-left: 1px solid var(--border);
  text-align: left;
  transition: background 0.3s var(--ease);
}
.principle:first-child { border-left: none; }
.principle:hover { background: rgba(255,255,255,0.012); }
.principle .p-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}
.principle .p-stmt {
  font-family: 'Fraunces', 'Sora', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.principle .p-sub {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-soft);
}
.principles-closer {
  margin-top: 44px;
  text-align: center;
  font-family: 'Fraunces', 'Sora', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--accent-soft);
  letter-spacing: -0.005em;
}
@media (max-width: 900px) {
  .principles-grid { grid-template-columns: 1fr; border-bottom: none; }
  .principle {
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding: 36px 8px;
  }
  .principle:last-child { border-bottom: none; }
  .principle .p-stmt { font-size: 24px; }
  .principles-closer { font-size: 18px; }
}

/* ============================================================
   V5 — TIER STRIP inside Principles section (Principle I in practice)
   ============================================================ */

.tier-strip {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px dashed var(--border);
}
.tier-strip .ts-tag {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 26px;
}
.tier-strip .ts-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
}
.tier-strip .ts-item { text-align: center; padding: 0 8px; }
.tier-strip .ts-item .ts-name {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.tier-strip .ts-item .ts-cap {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}
.tier-strip .ts-item.ts-dest .ts-name { color: var(--teal-bright); }
.tier-strip .ts-arrow {
  color: var(--text-faint);
  font-size: 20px;
  padding-bottom: 18px;
}
@media (max-width: 780px) {
  .tier-strip .ts-row { grid-template-columns: 1fr; gap: 22px; }
  .tier-strip .ts-arrow { display: none; }
}

/* ============================================================
   V6 — APHANIS PAGE: three manifestations section
   ============================================================ */

.forms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.form-card {
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.form-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.form-card .form-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--teal-bright);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.form-card .form-head {
  font-family: 'Sora', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.form-card .form-sub {
  font-family: 'Fraunces', 'Sora', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15.5px;
  color: var(--accent-soft);
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.form-card .form-body {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.form-card .form-fit {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.55;
}
.form-card .form-fit strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.form-card.form-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--btn-border) border-box;
  box-shadow: inset 0 0 30px rgba(52,214,206,0.08);
}
.form-card.form-featured .form-flag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: var(--bg);
  border: 1px solid var(--border-teal);
  border-radius: 20px;
}
.section--alt .form-card.form-featured .form-flag { background: var(--bg-alt); }
@media (max-width: 900px) { .forms-grid { grid-template-columns: 1fr; } }

/* ============================================================
   V7.1 — HERO H1 SIZING FIX (long headline case)
   ============================================================ */

/* The h-xl clamp was tuned for 3-6 word headlines. Longer copy
   needs a smaller ceiling AND a max-width so it wraps sanely. */
.hero .h-xl {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 780px;
  line-height: 1.05;
}
@media (max-width: 780px) {
  .hero .h-xl { font-size: clamp(1.95rem, 8vw, 2.6rem); }
}
