/* ============================================================
   Kanops.ai -- Main Stylesheet
   Monaco-style: pure black, restrained serif, generous space
   ============================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--black); color: var(--white); font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 18px; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea { font: inherit; color: inherit; }

/* --- Design Tokens --- */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-300: #d2d2d7;
  --gray-400: #9b9b9b;
  --gray-500: #6e6e73;
  --gray-600: #1d1d1f;
  --surface: #111111;
  --surface-hover: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --nav-height: 56px;
  --max-width: 1280px;
  --section-padding: clamp(100px, 12vw, 180px);
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(52px, 8vw, 104px); }
h2 { font-size: clamp(40px, 5.5vw, 72px); }
h3 { font-size: clamp(28px, 3.5vw, 42px); }
h4 { font-size: clamp(20px, 2.2vw, 26px); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: 24px;
  opacity: 0.75;
}

.subtitle {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--gray-300);
  line-height: 1.6;
  max-width: 720px;
  opacity: 0.8;
}

.body-text {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--gray-300);
  line-height: 1.8;
  max-width: 600px;
  opacity: 0.8;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-wordmark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--white);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border: 1px solid var(--white);
  border-radius: 100px;
  background: transparent;
  color: var(--white) !important;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--white);
  color: var(--black) !important;
}

.nav-cta.mobile-only { display: none; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 24px;
  font-weight: 400;
  color: var(--gray-300);
  transition: color 0.2s ease;
}
.nav-mobile a:hover { color: var(--white); }

/* ============================================================
   Hero Section
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-height) clamp(20px, 4vw, 40px) 0;
}
.hero-content { max-width: 960px; }
.hero .eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
}
.hero h1 {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  margin-bottom: 24px;
}
.hero .subtitle {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  margin: 0 auto 56px;
}
.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.btn-primary {
  display: inline-block;
  font-size: 17px;
  font-weight: 500;
  padding: 16px 40px;
  background: var(--white);
  color: var(--black);
  border-radius: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--black);
}

/* ============================================================
   Social Proof Bar
   ============================================================ */
.social-proof {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.social-proof-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.proof-stat { padding: 12px 0; }
.proof-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 4px;
}
.proof-label {
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   Section Layout (Pillars)
   ============================================================ */
.section {
  padding: var(--section-padding) 0;
}

/* Centre-aligned single-column layout (Monaco style) */
.section-centred {
  text-align: center;
}
.section-centred .section-header {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
  text-align: center;
}
.section-header h2 {
  margin-bottom: 28px;
}

/* Body text within centred headers */
.section-body {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--gray-300);
  line-height: 1.8;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
  opacity: 0.8;
}

/* Sub-features row */
.sub-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
}
.sub-feature {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s ease;
  text-align: left;
}
.sub-feature:hover { border-color: var(--border-strong); }
.sub-feature h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--white);
}
.sub-feature p {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.6;
  opacity: 0.8;
}

/* Connected Model Diagram */
.model-diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.model-diagram svg {
  width: 100%;
  height: 100%;
}
@keyframes diagramPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.5; }
}
.diagram-pulse {
  transform-origin: 250px 250px;
  animation: diagramPulse 4s ease-in-out infinite;
}
.diagram-pulse-2 {
  animation-delay: 1s;
}
.diagram-nodes circle {
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.08));
  transition: filter 0.3s ease;
}
.model-diagram:hover .diagram-nodes circle {
  filter: drop-shadow(0 0 6px rgba(0,113,227,0.2));
}
.diagram-particles circle {
  filter: drop-shadow(0 0 4px rgba(0,113,227,0.4));
}
.diagram-particles-return circle {
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.15));
}
.diagram-labels text {
  text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 480px) {
  .diagram-labels { display: none; }
  .model-diagram { max-width: 300px; }
}

/* ============================================================
   Model Cards (Born Ready)
   ============================================================ */
.model-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
.model-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.model-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.model-card-type {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.model-card-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
  margin-bottom: 8px;
}
.model-card-stat {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.model-card-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================================
   Built by Retailers (Tooling)
   ============================================================ */
.tooling-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}
.tooling-stat {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}
.tooling-stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}
.tooling-stat-label {
  font-size: 14px;
  color: var(--gray-400);
  opacity: 0.75;
}

/* ============================================================
   Born Ready Section
   ============================================================ */
.born-ready-section {
  padding-top: var(--section-padding);
}
.born-ready-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
}
.born-ready-point {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-align: left;
}
.born-ready-point:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.born-ready-point h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--white);
}
.born-ready-point p {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .born-ready-points { grid-template-columns: 1fr; }
}

/* Secondary model list */
.secondary-models {
  margin-top: clamp(40px, 4vw, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.secondary-models-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.secondary-models-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.secondary-model-tag {
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--gray-400);
  transition: border-color 0.2s ease;
}
.secondary-model-tag:hover { border-color: var(--border-strong); }

/* ============================================================
   Iceberg Visualisation
   ============================================================ */
.iceberg {
  margin-top: clamp(64px, 8vw, 100px);
  text-align: center;
  position: relative;
}

/* Above the waterline */
.iceberg-above {
  max-width: 440px;
  margin: 0 auto 0;
}
.iceberg-above-inner {
  padding: 32px;
}
.iceberg-surface-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.iceberg-surface-box {
  padding: 24px 28px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}
.iceberg-surface-title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--gray-300);
  margin-bottom: 6px;
}
.iceberg-surface-note {
  display: block;
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Waterline */
.iceberg-waterline {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px auto;
  max-width: 800px;
  padding: 0 clamp(20px, 4vw, 40px);
}
.iceberg-waterline-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(100, 160, 220, 0.4) 20%,
    rgba(100, 160, 220, 0.7) 50%,
    rgba(100, 160, 220, 0.4) 80%,
    transparent
  );
}
.iceberg-waterline-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(100, 160, 220, 0.7);
  white-space: nowrap;
}

/* Tiers below the waterline */
.iceberg-tier {
  padding: clamp(40px, 5vw, 56px) 0;
  position: relative;
}
.iceberg-tier::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent,
    rgba(20, 40, 70, var(--tier-opacity, 0)) 50%,
    transparent
  );
  pointer-events: none;
}
.iceberg-tier-1 { --tier-opacity: 0.15; }
.iceberg-tier-2 { --tier-opacity: 0.25; }
.iceberg-tier-3 { --tier-opacity: 0.35; }
.iceberg-tier-4 { --tier-opacity: 0.45; }

.iceberg-tier-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(100, 160, 220, 0.7);
  margin-bottom: 28px;
  position: relative;
}

/* Iceberg cards */
.iceberg-tier-cards {
  display: grid;
  gap: 20px;
  position: relative;
}
.iceberg-tier-1 .iceberg-tier-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin: 0 auto;
}
.iceberg-tier-2 .iceberg-tier-cards {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin: 0 auto;
}
.iceberg-tier-4 .iceberg-tier-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin: 0 auto;
}

.iceberg-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 36px);
  text-align: left;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.iceberg-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}
.iceberg-card-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}
.iceberg-card-type {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.iceberg-card-stat {
  font-size: 16px;
  color: var(--gray-300);
  margin-bottom: 10px;
}
.iceberg-card-desc {
  font-size: 16px;
  color: var(--gray-300);
  line-height: 1.7;
}
.iceberg-card-desc strong {
  color: var(--white);
  font-weight: 600;
}

/* Deep specialisation tags */
.iceberg-tier-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.iceberg-tag {
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border: 1px solid rgba(100, 160, 220, 0.2);
  border-radius: 100px;
  color: var(--gray-300);
  background: rgba(20, 40, 70, 0.3);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.iceberg-tag:hover {
  border-color: rgba(100, 160, 220, 0.4);
  background: rgba(20, 40, 70, 0.5);
}

/* Wide platform cards */
.iceberg-card-wide {
  padding: clamp(28px, 3vw, 40px);
}

/* Responsive iceberg */
@media (max-width: 1024px) and (min-width: 769px) {
  .iceberg-tier-2 .iceberg-tier-cards { grid-template-columns: 1fr 1fr; max-width: 640px; }
}
@media (max-width: 768px) {
  .iceberg-tier-1 .iceberg-tier-cards { grid-template-columns: 1fr; max-width: 480px; }
  .iceberg-tier-2 .iceberg-tier-cards { grid-template-columns: 1fr; max-width: 480px; }
  .iceberg-tier-4 .iceberg-tier-cards { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 480px) {
  .iceberg-tag { font-size: 14px; padding: 12px 20px; }
}

/* ============================================================
   Diagnostic Teaser
   ============================================================ */
.diagnostic-teaser {
  text-align: center;
}
.diagnostic-teaser .section-header {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.diagnostic-teaser .subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.diagnostic-preview {
  max-width: 480px;
  margin: 48px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
}
.preview-step {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.preview-question {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--white);
}
.preview-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.preview-option {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--gray-400);
}

/* ============================================================
   Evidence Section
   ============================================================ */
.evidence-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: clamp(40px, 5vw, 64px) auto;
  max-width: 480px;
  text-align: center;
}
.evidence-stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
}
.evidence-stat-label {
  font-size: 15px;
  color: var(--gray-400);
  opacity: 0.75;
}

/* Timeline */
.timeline {
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 800px;
}
.timeline-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  margin-bottom: 12px;
  padding-top: 48px;
}
.timeline-bar {
  flex: 1;
  background: var(--border-strong);
  border-radius: 2px 2px 0 0;
  min-height: 4px;
  transition: background 0.2s ease;
}
.timeline-bar:hover { background: var(--gray-400); }
.timeline-labels {
  display: flex;
  justify-content: space-between;
}
.timeline-label {
  font-size: 12px;
  color: var(--gray-500);
}
.provenance {
  margin-top: clamp(40px, 4vw, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 700px;
  font-style: normal;
}
.provenance.centred {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.provenance em {
  font-style: italic;
  color: var(--white);
}

/* ============================================================
   Twin Track: Platform + Archive
   ============================================================ */
.twin-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: clamp(48px, 6vw, 80px);
}
.track-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  text-align: left;
}
.track-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.track-card h3 {
  margin-bottom: 8px;
}
.track-tagline {
  font-size: 17px;
  color: var(--gray-300);
  margin-bottom: 20px;
  line-height: 1.5;
}
.track-body {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Product screenshot */
.product-screenshot {
  margin: clamp(32px, 5vw, 56px) auto 0;
  max-width: 900px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.product-screenshot img {
  width: 100%;
  display: block;
}

/* Delphi feature cards */
.delphi-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 56px);
}
.delphi-feature {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 28px);
}
.delphi-feature h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 8px;
}
.delphi-feature p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
}

/* Timeline WIP marker */
.timeline-bar-wip {
  background: rgba(0, 113, 227, 0.25) !important;
  border: 1px dashed rgba(0, 113, 227, 0.5);
  position: relative;
}
.timeline-wip-marker {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.timeline-wip-label {
  font-size: 12px;
  font-weight: 600;
  color: #0071e3;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  order: -1;
}
.timeline-wip-arrow {
  width: 1px;
  height: 14px;
  background: rgba(0, 113, 227, 0.4);
}
.timeline-wip-dot {
  width: 8px;
  height: 8px;
  background: #0071e3;
  border-radius: 50%;
  animation: wip-pulse 2s ease-in-out infinite;
}
@keyframes wip-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 768px) {
  .delphi-features { grid-template-columns: 1fr; }
}

/* Platform steps */
.track-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.track-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-300);
}
.track-step-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 14px;
  color: var(--gray-400);
  flex-shrink: 0;
}

/* Archive details */
.archive-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.archive-detail {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.archive-detail:last-child { border-bottom: none; }
.archive-detail-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.archive-detail-value {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.6;
}

/* Code block (inside track card) */
.api-code {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.api-code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.api-code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}
.api-code-label {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.api-code-body {
  padding: 16px 20px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 12px;
  line-height: 1.7;
  color: var(--gray-300);
  overflow-x: auto;
  white-space: pre;
}

@media (max-width: 768px) {
  .twin-tracks { grid-template-columns: 1fr; }
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-padding) 0;
}
.final-cta h2 { margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.final-cta .btn-primary { margin-bottom: 24px; }
.final-cta-secondary {
  font-size: 16px;
  color: var(--gray-400);
  opacity: 0.75;
}
.final-cta-secondary a {
  color: var(--gray-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.final-cta-secondary a:hover { color: var(--white); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-wordmark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  color: var(--white);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--gray-500);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .tooling-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta.desktop-only { display: none; }
  .nav-cta.mobile-only { display: inline-block; }

  /* Social proof */
  .social-proof-inner { grid-template-columns: repeat(2, 1fr); }

  /* Sub-features */
  .sub-features { grid-template-columns: 1fr; }

  /* Model cards */
  .model-cards { grid-template-columns: 1fr; }

  /* Tooling stats */
  .tooling-stats { grid-template-columns: repeat(2, 1fr); }

  /* Evidence */
  .evidence-stats { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .social-proof-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .proof-stat { padding: 8px 0; }
}
