/* ========================================================
   AcouTec — Design tokens
   ======================================================== */
:root {
  --navy: #00478F;
  --navy-dark: #003466;
  --navy-deep: #001C38;
  --amber: #E1A100;
  --amber-light: #FFC94D;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --ink: #22262E;
  --muted: #7C8493;
  --border: #E9ECF1;
  --red: #C24545;
  --green: #2E8B57;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 64px rgba(0, 28, 56, .18);

  --header-h: 76px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; color: var(--navy-dark); }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

/* subtle grain overlay for texture, very low cost */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ========================================================
   Header / Nav
   ======================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(245, 246, 248, 0);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(245, 246, 248, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy-dark);
}
.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(0, 71, 143, .35);
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  opacity: .78;
  transition: opacity .15s ease;
}
.nav a:hover { opacity: 1; }
.nav-cta {
  padding: 9px 18px;
  background: var(--navy);
  color: #fff !important;
  border-radius: 100px;
  opacity: 1 !important;
  transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--navy-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ========================================================
   Buttons
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amber), #C98800);
  color: #1a1300;
  box-shadow: 0 10px 26px rgba(225, 161, 0, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(225, 161, 0, .4); }
.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.btn-block { width: 100%; }

.btn-listen {
  background: transparent;
  color: var(--amber-light);
  border-color: rgba(255, 201, 77, .45);
}
.btn-listen:hover { background: rgba(225, 161, 0, .14); border-color: var(--amber-light); }
.btn-listen[aria-pressed="true"] { background: rgba(225, 161, 0, .18); border-color: var(--amber-light); }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: currentColor;
}
.btn-listen[aria-pressed="true"] .eq i { animation: eq-bounce .9s ease-in-out infinite; }
.btn-listen[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: .15s; }
.btn-listen[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: .3s; }
.btn-listen[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: .45s; }
@keyframes eq-bounce {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}
.narration-caption {
  margin-top: -20px;
  margin-bottom: 30px;
  max-width: 620px;
  min-height: 3.2em;
  color: rgba(255, 255, 255, .85);
  font-size: 16px;
  font-style: italic;
  border-left: 2px solid var(--amber);
  padding-left: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .btn-listen[aria-pressed="true"] .eq i { animation: none; height: 12px; }
}

/* ========================================================
   Hero
   ======================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 20% -10%, #023268 0%, var(--navy-deep) 45%, #000d1b 100%);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(0, 13, 27, .55) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-light);
  background: rgba(225, 161, 0, .12);
  border: 1px solid rgba(225, 161, 0, .35);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.hero-title {
  color: #fff;
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.08;
  max-width: 900px;
  margin-bottom: 24px;
}
.accent-dot { color: var(--amber); }
.hero-title-muted {
  color: rgba(255, 255, 255, .62);
  font-weight: 600;
  font-size: 0.56em;
  display: inline-block;
  margin-top: 14px;
}
.hero-sub {
  max-width: 620px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-mono);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 100px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--amber-light);
  animation: scroll-cue 1.8s infinite;
}
@keyframes scroll-cue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ========================================================
   Sections (shared)
   ======================================================== */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin: 0 0 14px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
}
.section-lede { color: var(--muted); font-size: 17px; }
.disclaimer {
  margin-top: 36px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px dashed var(--border);
  padding-top: 20px;
}

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Cards — problem section */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-accent { background: linear-gradient(160deg, #EAF2FB, #F5F6F8); border-color: #D6E6F7; }
.card h3 { font-size: 19px; margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.tag-red { background: #FCEAEA; color: var(--red); }
.tag-amber { background: #FDF2DB; color: #96700A; }
.tag-navy { background: #E4EDF9; color: var(--navy); }

/* Feature cards — solution */
.feature { text-align: center; padding: 20px; }
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #EAF2FB, #DCE9F8);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.hw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.hw-card-current { border-color: var(--navy); background: linear-gradient(160deg, #EAF2FB, #FFFFFF); }
.hw-gen { display: block; font-weight: 800; color: var(--navy); margin-bottom: 14px; font-size: 15px; }
.hw-card li {
  padding: 7px 0 7px 22px;
  position: relative;
  color: var(--ink);
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}
.hw-card li:last-child { border-bottom: none; }
.hw-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

/* Compare table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 560px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.compare-table th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #FAFBFC; }
.compare-table .muted { color: var(--muted); font-size: 13px; }
.row-highlight { background: linear-gradient(90deg, #FFFBF0, #FFFFFF); }
.row-highlight td { font-weight: 600; }
.quote {
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 18px;
  font-style: italic;
  color: var(--navy-dark);
  font-weight: 600;
  line-height: 1.5;
}

/* Stat cards */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-card p { color: var(--muted); font-size: 14.5px; }
.stat-card strong { color: var(--ink); }

/* Business model */
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card-highlight { border: 2px solid var(--amber); background: linear-gradient(160deg, #FFFBF0, #FFFFFF); }
.plan-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: #EEF0F3;
  color: var(--muted);
  margin-bottom: 14px;
}
.plan-label-essential { background: #E4EDF9; color: var(--navy); }
.plan-label-pro { background: var(--amber); color: #1a1300; }
.plan-label-ent { background: var(--navy-dark); color: #fff; }
.plan-card h3 { font-size: 18px; margin-bottom: 10px; }
.plan-card p { color: var(--muted); font-size: 14px; }

/* Roadmap timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.tl-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.tl-when {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 12px;
}
.tl-item h3 { font-size: 18px; margin-bottom: 16px; }
.tl-item li {
  padding: 7px 0 7px 20px;
  position: relative;
  font-size: 14px;
  color: var(--muted);
}
.tl-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

/* Founder */
.founder-wrap { max-width: 900px; }
.founder-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.founder-avatar {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 71, 143, .3);
}
.founder-info h3 { font-size: 22px; margin-bottom: 6px; }
.founder-role { color: var(--amber); font-weight: 700; font-size: 14.5px; margin-bottom: 14px; }
.founder-info p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.badge-label {
  display: inline-block;
  background: #FDF2DB;
  color: #96700A;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

/* ========================================================
   Contact
   ======================================================== */
.section-contact {
  position: relative;
  background: radial-gradient(ellipse at 80% 0%, #023268 0%, var(--navy-deep) 55%, #000d1b 100%);
  overflow: hidden;
  padding: 120px 0;
}
.contact-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; pointer-events: none; }
.contact-wrap { position: relative; z-index: 2; }
.kicker-light { color: var(--amber-light); }
.light-heading { color: #fff; }
.section-contact .grid-3 { margin-bottom: 60px; }
.contact-reason {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.contact-reason h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.contact-reason p { color: rgba(255, 255, 255, .65); font-size: 14.5px; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(10px);
}
.contact-details h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.founder-role-light { color: var(--amber-light); font-weight: 700; font-size: 14px; margin-bottom: 28px; display: block; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: color .15s ease;
}
.contact-link:hover { color: var(--amber-light); }
.contact-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.social-row { display: flex; gap: 12px; margin-top: 26px; }
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease;
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { transform: translateY(-3px); }
.social-fb { background: #1877F2; }
.social-ig { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); }
.social-li { background: #0A66C2; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
}
.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: #fff;
  font-family: var(--font);
  font-size: 14.5px;
  resize: vertical;
  transition: border-color .15s ease, background .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 255, 255, .1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, .35); }
.form-note { font-size: 12.5px; color: rgba(255, 255, 255, .4); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 14px; text-align: center; margin: 0; }
.form-status.is-ok { color: #4ade80; }
.form-status.is-error { color: #ff8a8a; }
.form-status.is-busy { color: rgba(255, 255, 255, .7); }
.contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ========================================================
   Footer
   ======================================================== */
.site-footer { background: var(--navy-deep); padding: 36px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.site-footer p { color: rgba(255, 255, 255, .45); font-size: 13.5px; }

/* ========================================================
   Scroll reveal
   ======================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* stagger children within a revealed grid */
.grid-3 .reveal:nth-child(2), .grid-4 .reveal:nth-child(2) { transition-delay: .08s; }
.grid-3 .reveal:nth-child(3), .grid-4 .reveal:nth-child(3) { transition-delay: .16s; }
.grid-4 .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .status-dot, .scroll-cue span { animation: none; }
}

/* ========================================================
   Technology, evidence, environment, pilot
   ======================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.subhead { font-size: 20px; margin: 64px 0 20px; text-align: center; }
.subhead-note { text-align: center; color: var(--muted); font-size: 14px; margin: -8px auto 24px; max-width: 640px; }

.pipe-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pipe-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 12px;
  box-shadow: var(--shadow-sm);
}
.pipe-stage-result { border-color: var(--amber); background: #FFFBF0; }
.pipe-stage-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}
.pipe-stage ol { list-style: none; margin: 0; padding: 0; }
.pipe-stage li {
  position: relative;
  padding: 12px 0 12px 44px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pipe-stage li::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pipe-stage li strong { color: var(--navy-dark); font-size: 15px; }
.pipe-stage li span { color: var(--muted); font-size: 13.5px; }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-sm);
}
.tech-card h4 { font-size: 16px; margin-bottom: 8px; }
.tech-card p { color: var(--muted); font-size: 14px; }

.notice {
  margin: 28px 0 0;
  background: #FDF2DB;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #5c4300;
  font-size: 15px;
}

.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.cm-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; font-size: 15px; }
.cm-acc { font-size: 13px; color: var(--green); font-weight: 700; }
.cm-card p { margin-top: 12px; color: var(--muted); font-size: 13.5px; }
table.cm { width: 100%; border-collapse: separate; border-spacing: 4px; text-align: center; font-size: 15px; }
table.cm th { font-size: 12px; color: var(--muted); font-weight: 700; padding: 4px; }
table.cm thead th { text-transform: uppercase; letter-spacing: .04em; }
table.cm tbody th { text-align: right; padding-right: 8px; }
table.cm td { padding: 12px 4px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
table.cm td.ok { background: #E3F5EA; border-color: #BFE3CC; color: #1f6b41; font-weight: 800; }
table.cm td.bad { background: #FCEAEA; border-color: #F1C4C4; color: var(--red); font-weight: 800; }

.fig-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.fig-card img { width: 100%; height: auto; border-radius: 8px; background: #fff; }
.fig-card figcaption { margin-top: 12px; color: var(--muted); font-size: 13.5px; }

.orig-figs { margin-top: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; }
.orig-figs summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 15px; }
.orig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.orig-grid figure { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.orig-grid img { width: 100%; height: auto; background: #fff; border-radius: 8px; border: 1px solid var(--border); }

.plain-list { margin-top: 14px; }
.plain-list li { position: relative; padding: 7px 0 7px 18px; color: var(--muted); font-size: 14.5px; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }

.pilot-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pilot-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.pilot-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1300;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pilot-steps h4 { font-size: 16px; margin-bottom: 6px; }
.pilot-steps p { color: var(--muted); font-size: 14px; }
.pilot-cta { text-align: center; margin-top: 40px; }

/* ========================================================
   Phase 2: at-a-glance, evidence flow, noise flow, pilot
   ======================================================== */
.glance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.glance-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.glance-media {
  height: 220px;
  background: #EEF3FA;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.glance-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; background: #fff; }
.glance-shot { background: #0b1220; }
.glance-dark { background: #05070d; }
.glance-shot a { display: block; width: 100%; height: 100%; }
.glance-card:nth-child(4) .glance-media img { object-fit: contain; background: #0b1220; }
.glance-card:nth-child(3) .glance-media img { object-fit: contain; }
.glance-illus svg { width: 100%; height: 100%; padding: 14px; }
.glance-classes { flex-direction: column; gap: 10px; padding: 22px 32px; }
.class-chip {
  width: 100%;
  text-align: center;
  padding: 11px 14px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid transparent;
}
.class-good { background: #E3F5EA; color: #1f6b41; border-color: #BFE3CC; }
.class-broken { background: #FCEAEA; color: var(--red); border-color: #F1C4C4; }
.class-heavy { background: #E4EDF9; color: var(--navy); border-color: #C9DBF2; }
.glance-card figcaption { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px 18px; }
.glance-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1300;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glance-card figcaption strong { color: var(--navy-dark); font-size: 15.5px; }
.glance-card figcaption p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.glance-not { padding: 24px; background: #FFFBF0; border-color: #F0DDA5; justify-content: center; }
.glance-not h3 { font-size: 17px; margin-bottom: 4px; }

.ev-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ev-step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
}
.ev-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1300;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev-step-result { border-top-color: var(--green); background: #F1FAF4; }
.ev-step-limit { border-top-color: var(--red); background: #FFF6F6; }
.ev-step-next { border-top-color: var(--amber); background: #FFFBF0; }
.ev-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.ev-big { font-size: 34px; font-weight: 800; color: var(--navy-dark); letter-spacing: -0.02em; line-height: 1.1; }
.ev-big-sm { font-size: 19px; line-height: 1.25; margin-top: 2px; }
.ev-unit { color: var(--muted); font-size: 13.5px; margin: 2px 0 12px; }
.ev-mini { margin-top: 12px; }
.ev-mini li { position: relative; padding: 4px 0 4px 14px; font-size: 13px; color: var(--ink); }
.ev-mini li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--navy); }
.ev-step-limit .ev-mini li::before { background: var(--red); }
.ev-step-next .ev-mini li::before { background: var(--amber); }
.ev-step-result .ev-mini li::before { background: var(--green); }
.ev-note { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--muted); }
.mini-bars { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.mb { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--ink); }
.mb i { display: block; height: 7px; border-radius: 4px; }
.mb-good { background: #2E8B57; }
.mb-broken { background: #C24545; }
.mb-heavy { background: #3f7fc0; }

.pv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.pv-panel { border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.pv-proven { background: #F1FAF4; border-color: #BFE3CC; border-top: 5px solid var(--green); }
.pv-testing { background: #FFFBF0; border-color: #F0DDA5; border-top: 5px solid var(--amber); }
.pv-panel h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.pv-icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.pv-proven .pv-icon { background: var(--green); color: #fff; }
.pv-testing .pv-icon { background: var(--amber); color: #1a1300; }
.pv-sub { margin: 4px 0 14px; color: var(--muted); font-size: 13.5px; }
.pv-panel li { position: relative; padding: 9px 0 9px 26px; font-size: 15px; color: var(--ink); border-top: 1px solid rgba(0, 0, 0, .06); }
.pv-panel li::before { position: absolute; left: 0; top: 9px; font-weight: 800; }
.pv-proven li::before { content: "✓"; color: var(--green); }
.pv-testing li::before { content: "◔"; color: #B07E00; }
.fig-stack { display: grid; gap: 24px; margin-top: 24px; }
.fig-stack .fig-card:first-child { max-width: 780px; margin: 0 auto; }
.fig-card code { font-family: var(--font-mono); font-size: 12.5px; background: #EEF3FA; padding: 1px 5px; border-radius: 4px; }

.flow7 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.flow7 li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 14px 12px 12px;
  box-shadow: var(--shadow-sm);
}
.flow7 li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 800;
  color: var(--amber);
  z-index: 2;
  line-height: 1;
}
.flow7 strong { display: block; color: var(--navy-dark); font-size: 13.5px; line-height: 1.25; margin-bottom: 4px; }
.flow7 span { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.flow7 .fl-open { border-style: dashed; border-color: var(--amber); border-top-width: 4px; background: #FFFBF0; }
.flow7 .fl-end { border-top-color: var(--green); background: #F1FAF4; }
.flow-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 720px; margin: 22px auto 40px; }

.pilot3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pilot-col { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.pilot-col-us { border-top-color: var(--amber); }
.pilot-col-out { border-top-color: var(--green); }
.pilot-role { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.pilot-col h3 { font-size: 20px; }
.pilot-promise { text-align: center; color: var(--muted); font-size: 14px; max-width: 700px; margin: 32px auto 0; border-top: 1px dashed var(--border); padding-top: 20px; }

.stat-source { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.stat-source a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.chips li { background: #EAF2FB; color: var(--navy); border-radius: 100px; padding: 6px 13px; font-size: 13px; font-weight: 600; }
.light-lede { color: rgba(255, 255, 255, .72); }
.contact-cta { margin-top: 26px; }

.sw-showcase { margin-top: 64px; }
.sw-showcase .subhead { margin-top: 0; }
.sw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sw-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.sw-card a { display: block; background: #0b1220; }
.sw-card img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.sw-card figcaption { padding: 16px 20px 18px; color: var(--muted); font-size: 14px; }
.sw-card figcaption strong { color: var(--navy-dark); }
.sw-points { max-width: 720px; margin: 26px auto 0; }
.sw-points li { position: relative; padding: 7px 0 7px 20px; color: var(--muted); font-size: 14.5px; }
.sw-points li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

.pv-3 { grid-template-columns: repeat(3, 1fr); }
.pv-planned { background: #F4F5F7; border-color: #DDE1E8; border-top: 5px solid #9AA3B2; }
.pv-planned .pv-icon { background: #9AA3B2; color: #fff; }
.pv-planned li::before { content: "○"; color: #7C8493; }
.lim-box {
  margin-top: 22px;
  background: #FFF6F6;
  border: 1px solid #F1C4C4;
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.lim-box h4 { font-size: 17px; margin-bottom: 10px; }
.lim-box ul { columns: 2; column-gap: 40px; }
.lim-box li { position: relative; padding: 5px 0 5px 16px; font-size: 14.5px; color: var(--ink); break-inside: avoid; }
.lim-box li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.lim-box p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.section:not(.section-alt):not(.section-contact) + .section:not(.section-alt):not(.section-contact) { border-top: 1px solid var(--border); }

.nav .lang-link {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  opacity: .9;
}
.nav .lang-link:hover { border-color: var(--navy); opacity: 1; }

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .glance-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-flow { grid-template-columns: repeat(2, 1fr); }
  .ev-step:not(:last-child)::after, .flow7 li:not(:last-child)::after { display: none; }
  .flow7 { grid-template-columns: repeat(4, 1fr); }
  .pilot3 { grid-template-columns: 1fr; }
  .pv-3 { grid-template-columns: 1fr; }
  .tech-grid, .pilot-steps, .cm-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { grid-template-columns: 1fr; padding: 36px; }
}

@media (max-width: 860px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 10px 28px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); opacity: 1; }
  .nav a:last-child { border-bottom: none; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .nav .lang-link { align-self: flex-start; margin: 12px 0 4px; }
  .nav-toggle { display: flex; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .pipe-stages, .tech-grid, .pilot-steps, .cm-grid, .orig-grid { grid-template-columns: 1fr; }
  .glance-grid, .ev-flow, .pv-grid, .flow7, .sw-grid { grid-template-columns: 1fr; }
  .lim-box ul { columns: 1; }
  .hw-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; text-align: left; }
  .section { padding: 80px 0; }
  .contact-panel { padding: 28px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .hero-title { font-size: 34px; }
}

/* French navigation labels are longer: use the compact menu up to 1020px so the header never wraps */
@media (max-width: 1020px) {
  html[lang="fr"] .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 10px 28px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  html[lang="fr"] .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  html[lang="fr"] .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); opacity: 1; }
  html[lang="fr"] .nav a:last-child { border-bottom: none; }
  html[lang="fr"] .nav .nav-cta { margin-top: 10px; text-align: center; }
  html[lang="fr"] .nav .lang-link { align-self: flex-start; margin: 12px 0 4px; }
  html[lang="fr"] .nav-toggle { display: flex; }
}
