/* ============================================================
   ZETA NEXUS — COGNIS  ·  site design system
   Spread.ai structural language, forest-green / mint reskin.
   Zero build step — plain CSS, linked from every page.
   ============================================================ */

:root {
  /* Surfaces */
  --paper:        #FAF9F3;
  --paper-2:      #F2F0E7;
  --card:         #FFFFFF;

  /* Ink */
  --ink:          #0D1F17;
  --text:         #35463E;
  --muted:        #718077;

  /* Brand */
  --primary:      #003629;
  --primary-mid:  #1B4D3E;
  --primary-lt:   #2D6B58;
  --mint:         #BAEED9;
  --mint-dim:     rgba(186, 238, 217, 0.55);
  --dark:         #010F09;

  /* Lines */
  --line:         rgba(0, 54, 41, 0.16);
  --line-hair:    rgba(0, 54, 41, 0.08);
  --line-strong:  rgba(0, 54, 41, 0.32);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--mint); color: var(--primary); }

.shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

/* ---------------------------------------------------------- */
/* Mono annotation text — the connective tissue of the system  */
/* ---------------------------------------------------------- */
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(250, 249, 243, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.nav.raised { border-bottom-color: var(--line); }

.nav-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-right: auto;
}
.brand img { width: 26px; height: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links a,
.nav-links button.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links button.nav-drop-btn:hover,
.nav-links button.nav-drop-btn[aria-expanded="true"] {
  color: var(--primary);
  background: rgba(0, 54, 41, 0.06);
}
.nav-drop-btn .caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}
.nav-drop-btn[aria-expanded="true"] .caret { transform: rotate(225deg) translateY(-1px); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 35, 25, 0.14);
  padding: 8px;
  display: none;
}
.nav-dropdown.open { display: block; }
.nav-dropdown a {
  display: block;
  padding: 11px 14px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  white-space: nowrap;
}
.nav-dropdown a small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-top: 2px;
}
.nav-dropdown .drop-divider { height: 1px; background: var(--line-hair); margin: 6px 8px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-mid); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--primary); background: rgba(0, 54, 41, 0.05); }
.btn-mint { background: var(--mint); color: var(--primary); }
.btn-mint:hover { background: #cdf4e4; }

/* Mobile nav */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.nav-burger span { width: 22px; height: 2px; background: var(--primary); transition: transform .2s, opacity .2s; }

/* ============================================================
   FIG FRAME — the bordered section frame with corner labels
   ============================================================ */
.fig-frame {
  position: relative;
  border: 1px solid var(--line);
  margin: 0 auto;
  width: min(1240px, calc(100% - 48px));
}
.fig-frame + .fig-frame,
.section-gap { margin-top: 88px; }

.fig-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  padding: 0 10px;
  white-space: nowrap;
  z-index: 2;
}
.fig-corner.tl { top: -7px; left: 18px; }
.fig-corner.tr { top: -7px; right: 18px; }
.fig-corner.bl { bottom: -7px; left: 18px; }
.fig-corner.br { bottom: -7px; right: 18px; }
.fig-corner .status-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-lt);
  margin-right: 6px;
  vertical-align: 1px;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Frames sitting on dark sections need dark label plates */
.fig-frame.on-dark { border-color: rgba(186, 238, 217, 0.22); }
.fig-frame.on-dark .fig-corner { background: var(--dark); color: var(--mint-dim); }

/* Blueprint grid fill for frame interiors */
.blueprint {
  background-image:
    linear-gradient(var(--line-hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-hair) 1px, transparent 1px);
  background-size: 44px 44px;
}

.frame-pad { padding: clamp(40px, 6vw, 96px) clamp(22px, 5vw, 80px); }

/* ============================================================
   HERO
   ============================================================ */
.hero-wrap { padding-top: calc(var(--nav-h) + 46px); }

.hero-frame { text-align: center; }
.hero-inner { padding: clamp(56px, 8vw, 120px) clamp(20px, 5vw, 80px) 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 40px;
}
.hero-badge .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary-lt);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 7.4vw, 6.1rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 auto 30px;
  max-width: 15ch;
}
h1.hero-title .line { display: block; }
h1.hero-title em {
  font-style: normal;
  color: var(--primary-lt);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 62ch;
  margin: 0 auto 18px;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  max-width: 68ch;
  margin: 0 auto 40px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 84px); }

/* ============================================================
   PRODUCT WINDOW  (browser-chrome frame around screenshots /
   placeholders — used in hero and step sections)
   ============================================================ */
.product-window {
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom: none;
  box-shadow: 0 -30px 80px rgba(0, 35, 25, 0.10);
  text-align: left;
  max-width: 1080px;
  margin: 0 auto;
}
.product-window.standalone {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 35, 25, 0.10);
}

.pw-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-hair);
  background: var(--paper);
}
.pw-dots { display: flex; gap: 6px; }
.pw-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.pw-crumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.pw-crumb b { color: var(--primary); font-weight: 600; }
.pw-pill {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-lt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* Placeholder slot — clearly labeled, replaced by real shots later */
.shot-placeholder {
  position: relative;
  aspect-ratio: 16 / 9.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    repeating-linear-gradient(-45deg,
      rgba(0, 54, 41, 0.025) 0 14px,
      transparent 14px 28px);
  border: none;
  outline: 1.5px dashed rgba(0, 54, 41, 0.28);
  outline-offset: -12px;
  color: var(--muted);
}
.shot-placeholder .ph-icon {
  width: 42px; height: 42px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  position: relative;
  opacity: 0.55;
}
.shot-placeholder .ph-icon::after {
  content: "";
  position: absolute;
  left: 7px; bottom: 7px;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 12px solid var(--line-strong);
}
.shot-placeholder .ph-icon::before {
  content: "";
  position: absolute;
  right: 8px; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.shot-placeholder .ph-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.8;
  padding: 0 24px;
}
.shot-placeholder .ph-label small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.75;
}
.shot-placeholder.tall { aspect-ratio: 16 / 10.5; }

.shot-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Live activity strip under hero window */
.pw-activity {
  border-top: 1px solid var(--line-hair);
  background: var(--paper);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}
.pw-activity .row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}
.pw-activity .row b { color: var(--primary); font-weight: 600; }
.pw-activity .row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-lt); flex: none; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 18px;
}
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: 22px;
}
.section-lead {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.65;
  color: var(--text);
  max-width: 60ch;
}
.section-lead + .section-lead { margin-top: 14px; }

/* ============================================================
   INDUSTRY STRIP
   ============================================================ */
.industry-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 0;
  padding: 30px clamp(16px, 4vw, 48px);
}
.industry-strip span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 clamp(14px, 2.6vw, 30px);
  position: relative;
}
.industry-strip span + span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 14px;
  background: var(--line);
}

/* ============================================================
   LIFECYCLE STEPS  (STEP 01 … 05)
   ============================================================ */
.step-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 6vw, 84px) clamp(22px, 5vw, 72px);
}
.step-block + .step-block { border-top: 1px solid var(--line-hair); }
.step-block:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.step-block:nth-child(even) .step-copy { order: 2; }
.step-block:nth-child(even) .step-visual { order: 1; }

.step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-tag::after { content: ""; height: 1px; flex: 1; background: var(--line); max-width: 80px; }

h3.step-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}
.step-body { font-size: 15.5px; line-height: 1.68; color: var(--text); margin-bottom: 22px; }
.step-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: gap 0.2s var(--ease), border-color 0.2s;
}
.step-link:hover { gap: 14px; border-color: var(--primary); }
.step-link .arrow::after { content: "→"; }

/* ============================================================
   STAT TRIO
   ============================================================ */
.stat-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stat-cell {
  padding: clamp(30px, 4vw, 52px) clamp(20px, 3vw, 44px);
  border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 12px;
}
.stat-value sub { font-size: 0.35em; font-weight: 600; letter-spacing: 0.08em; vertical-align: baseline; color: var(--primary-lt); }
.stat-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat-desc { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ============================================================
   FEATURE GRID  (numbered 01–06 cards, product pages + home)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 3vw, 38px);
  background: var(--card);
  transition: background 0.2s;
}
.feature-cell:hover { background: #fdfdf9; }
.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary-lt);
  margin-bottom: 40px;
}
.feature-cell h4 {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}
.feature-cell p { font-size: 14px; line-height: 1.65; color: var(--text); }

/* ============================================================
   USE-CASE CARDS
   ============================================================ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.usecase-card {
  background: var(--card);
  padding: clamp(24px, 3vw, 36px);
}
.usecase-card .uc-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 14px;
}
.usecase-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.usecase-card p { font-size: 13.5px; line-height: 1.62; color: var(--text); }

/* ============================================================
   PLATFORM LAYERS  (L01 / L02 / L03)
   ============================================================ */
.layer-stack { display: flex; flex-direction: column; }
.layer-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(26px, 3.4vw, 40px) clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--line-hair);
  align-items: start;
}
.layer-row:first-child { border-top: none; }
.layer-id {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary-lt);
  padding-top: 4px;
}
.layer-row h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.layer-row p { font-size: 14.5px; line-height: 1.65; color: var(--text); max-width: 68ch; }

/* Connector marquee-ish strip */
.connect-strip {
  border-top: 1px solid var(--line-hair);
  padding: 18px clamp(20px, 3vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
}
.connect-strip .cs-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 10px;
}
.connect-strip span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 24px clamp(4px, 1vw, 12px);
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary .faq-n {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--primary-lt);
  flex: none;
  width: 34px;
}
.faq-item summary .faq-toggle {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--primary-lt);
  flex: none;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary .faq-toggle { transform: rotate(45deg); }
.faq-body {
  padding: 0 clamp(4px, 1vw, 12px) 26px 54px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  max-width: 72ch;
}

/* ============================================================
   DARK CTA BAND
   ============================================================ */
.cta-band {
  background: var(--dark);
  padding: clamp(80px, 10vw, 140px) 0;
  margin-top: 88px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(45, 107, 88, 0.35), transparent),
    radial-gradient(ellipse 40% 40% at 15% -10%, rgba(186, 238, 217, 0.08), transparent);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; padding: clamp(50px, 7vw, 90px) clamp(22px, 5vw, 80px); }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 20ch;
  margin: 0 auto 20px;
}
.cta-inner h2 em { font-style: normal; color: var(--mint); }
.cta-inner p {
  color: var(--mint-dim);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 auto 36px;
}
.cta-ticker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(186, 238, 217, 0.4);
  margin-top: 44px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(186, 238, 217, 0.14);
  color: var(--mint-dim);
  padding: clamp(56px, 7vw, 88px) 0 36px;
}
.footer .footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(186, 238, 217, 0.12);
  margin-bottom: 44px;
}
.footer .footer-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}
.footer .footer-head h2 span { color: var(--mint); }
.footer .footer-head p { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; margin-top: 10px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 52px;
}
.footer-brandcol .brand { color: #fff; margin-bottom: 14px; }
.footer-brandcol p { font-size: 13.5px; line-height: 1.65; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(186, 238, 217, 0.5);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(247, 252, 249, 0.78);
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--mint); }

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  padding: 20px 0;
  border-top: 1px solid rgba(186, 238, 217, 0.12);
  border-bottom: 1px solid rgba(186, 238, 217, 0.12);
  margin-bottom: 26px;
}
.footer-trust div {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(186, 238, 217, 0.45);
}
.footer-trust div b { color: rgba(186, 238, 217, 0.8); font-weight: 600; display: block; margin-bottom: 3px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(186, 238, 217, 0.35);
}

/* ============================================================
   ACCESS MODAL (demo request)
   ============================================================ */
.access-modal {
  border: 1px solid var(--line);
  padding: 0;
  background: var(--card);
  color: var(--text);
  width: min(520px, calc(100vw - 32px));
  box-shadow: 0 40px 120px rgba(0, 15, 9, 0.4);
}
.access-modal::backdrop { background: rgba(1, 15, 9, 0.6); backdrop-filter: blur(4px); }
.access-modal-inner { padding: 34px 34px 28px; position: relative; }
.access-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
}
.access-modal-close:hover { color: var(--primary); }
.access-modal h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.access-modal-lead { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.access-field { margin-bottom: 14px; }
.access-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.access-field input,
.access-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s;
}
.access-field input:focus,
.access-field textarea:focus { outline: none; border-color: var(--primary-lt); }
.access-field textarea { min-height: 84px; resize: vertical; }
.access-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.access-submit {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s;
}
.access-submit:hover { background: var(--primary-mid); }
.access-submit:disabled { opacity: 0.6; cursor: wait; }
.access-form-msg { margin-top: 12px; font-size: 13px; }
.access-form-msg.is-error { color: #a33d3d; }
.access-form-msg.is-success { color: var(--primary-lt); }
.access-modal-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.access-modal-note a { color: var(--primary-lt); border-bottom: 1px solid var(--line-strong); }

/* ============================================================
   PRODUCT SUBPAGE HERO
   ============================================================ */
.page-hero { text-align: left; }
.page-hero .hero-inner { padding: clamp(48px, 7vw, 96px) clamp(22px, 5vw, 80px) 0; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 24px;
}
.page-hero h1 em { font-style: normal; color: var(--primary-lt); }
.page-hero .hero-sub { margin: 0 0 36px; max-width: 58ch; }
.page-hero .hero-ctas { justify-content: flex-start; }

/* Lifecycle position indicator on product pages */
.lifecycle-pos {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 40px;
  border: 1px solid var(--line);
  width: fit-content;
}
.lifecycle-pos span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px;
  border-right: 1px solid var(--line);
}
.lifecycle-pos span:last-child { border-right: none; }
.lifecycle-pos span.active {
  background: var(--primary);
  color: var(--mint);
}

/* Scenario callout (continuity page) */
.scenario-box {
  border-left: 3px solid var(--primary-lt);
  background: var(--card);
  border-top: 1px solid var(--line-hair);
  border-right: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
  padding: clamp(24px, 3vw, 36px);
  margin: 0 clamp(22px, 5vw, 72px);
}
.scenario-box .sc-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 14px;
}
.scenario-box blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
}
.scenario-box figcaption { font-size: 13px; color: var(--muted); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions .btn-secondary { display: none; }
  .nav-burger { display: flex; }
  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    z-index: 59;
  }
  .nav.mobile-open .nav-links a,
  .nav.mobile-open .nav-links button.nav-drop-btn { width: 100%; justify-content: space-between; padding: 13px 10px; }
  .nav.mobile-open .nav-dropdown { position: static; box-shadow: none; border: none; border-left: 2px solid var(--line); margin: 0 0 6px 10px; min-width: 0; }
  .nav.mobile-open.drop-open .nav-dropdown { display: block; }

  .step-block,
  .step-block:nth-child(even) { grid-template-columns: 1fr; }
  .step-block:nth-child(even) .step-copy { order: 1; }
  .step-block:nth-child(even) .step-visual { order: 2; }

  .stat-trio { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-cell:last-child { border-bottom: none; }

  .layer-row { grid-template-columns: 1fr; gap: 8px; }
  .lifecycle-pos span { padding: 7px 10px; letter-spacing: 0.08em; }
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fig-corner.tr, .fig-corner.br { display: none; }
  .hero-ctas .btn { width: 100%; }
  .pw-activity { flex-direction: column; align-items: flex-start; gap: 8px; }
}
