/* MARLI Landing V2.3 · Official Design System & Layout
   Tokens, Typography, Connected Journey, Immediate Nido Transitions & Responsive Architecture */

:root {
  --cream: #f5f1e9;
  --cream-light: #faf8f4;
  --navy: #1b3a5c;
  --deep: #122d49;
  --orange: #c66b45;
  --orange-light: #e07a4e;
  --orange-text: #9c4a28;
  --orange-glow: rgba(198, 107, 69, 0.22);
  --text-soft: #486178;
  --text-muted: #5e7488;
  --paper: #ffffff;
  --paper-warm: #fffdf9;
  --wash: #e8edf0;
  --wash-dark: #dbe3e8;
  --line: #c9d2d9;
  --line-light: rgba(27, 58, 92, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Card elevation tokens (Zero heavy blur, 100% GPU-efficient) */
  --card-bg: #ffffff;
  --card-border: rgba(27, 58, 92, 0.13);
  --card-border-hover: var(--navy);
  --card-border-active: var(--orange);
  --card-shadow: 0 4px 18px -2px rgba(18, 45, 73, 0.06), 0 1px 3px 0 rgba(18, 45, 73, 0.03);
  --card-shadow-hover: 0 10px 28px -4px rgba(18, 45, 73, 0.12), 0 2px 6px 0 rgba(18, 45, 73, 0.05);
  --card-shadow-selected: 0 0 0 2px var(--orange), 0 8px 24px -4px rgba(198, 107, 69, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Interactive Background Canvas */
.marli-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

button:disabled {
  cursor: default;
}

[hidden],
button[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange-text);
  outline-offset: 4px;
  border-radius: 4px;
}

h1[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus,
h3[tabindex="-1"]:focus {
  outline: none;
}

h1,
h2,
h3,
h4,
p,
figure,
ol,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

h1,
h2 {
  letter-spacing: -0.05em;
  font-weight: 600;
}

h3 {
  letter-spacing: -0.035em;
  font-weight: 600;
}

/* Accessibility Skip Link */
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 999;
  padding: 12px 20px;
  background: #ffffff;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 6px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip:focus {
  top: 16px;
}

/* Section Eyebrow Labels */
.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 12px;
}
.section-eyebrow.eyebrow-light {
  color: #efbc9e;
}

/* Typography Accents & Strategic Opposite-Color Outlines */
.text-accent-outline {
  color: #efbc9e;
  text-shadow: 0 0 1px rgba(239, 188, 158, 0.6);
}

.text-outline-blue-orange {
  color: var(--navy);
  -webkit-text-stroke: 1.2px var(--orange);
  paint-order: stroke fill;
  display: inline-block;
  letter-spacing: -0.02em;
}

.text-outline-orange-blue {
  color: var(--orange);
  -webkit-text-stroke: 1.2px var(--navy);
  paint-order: stroke fill;
  display: inline-block;
  letter-spacing: -0.02em;
}

.text-outline-value {
  color: #efbc9e;
  -webkit-text-stroke: 1.1px rgba(255, 255, 255, 0.85);
  paint-order: stroke fill;
  display: inline-block;
  letter-spacing: -0.02em;
}

/* Precision Hairline Vector Arrows & Directional Icons */
.m-arrow {
  width: 23px;
  height: 23px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.15s ease;
}

.button .m-arrow {
  margin-left: 2px;
}

.button:hover .m-arrow-right {
  transform: translateX(4px);
}

.button-glass:hover .m-arrow-slant,
.demo-link:hover .m-arrow-slant {
  transform: translate(2px, -2px);
}

.hero-secondary:hover .m-arrow-down {
  transform: translateY(3px);
}

.choice:hover .m-arrow-right,
.confidence-btn:hover .m-arrow-right {
  transform: translateX(4px);
}

.back-link:hover .m-arrow-left {
  transform: translateX(-3px);
}

.text-button:hover .m-arrow-restart,
.button-secondary:hover .m-arrow-restart {
  transform: rotate(-50deg);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  min-height: 52px;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.button-primary {
  background: linear-gradient(180deg, #1f4268 0%, #153250 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 18px -2px rgba(18, 45, 73, 0.25);
}
.button-primary:hover {
  background: linear-gradient(180deg, #244e7a 0%, #112840 100%);
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 24px -3px rgba(18, 45, 73, 0.35);
  transform: translateY(-1px);
}
.button-primary:active {
  transform: translateY(1px);
}

.button-secondary {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid var(--line);
  box-shadow: 0 2px 6px rgba(18, 45, 73, 0.05);
}
.button-secondary:hover {
  border-color: var(--navy);
  background: var(--cream-light);
  transform: translateY(-1px);
}

.button-glass {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid var(--line);
  box-shadow: 0 4px 14px rgba(18, 45, 73, 0.06);
}
.button-glass:hover {
  border-color: var(--navy);
  box-shadow: 0 6px 20px rgba(18, 45, 73, 0.1);
  transform: translateY(-1px);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  min-height: 44px;
}
.text-button:hover {
  color: var(--orange-text);
  text-decoration: underline;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 20;
}

.brand {
  display: block;
  line-height: 0;
}
.brand img {
  display: block;
  width: 145px;
  height: 48px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.site-header nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.15s ease;
}
.site-header nav a:hover {
  color: var(--orange-text);
}

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  box-shadow: 0 2px 8px rgba(18, 45, 73, 0.05);
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s;
}
.demo-link:hover {
  background: #ffffff;
  border-color: var(--orange);
  color: var(--orange-text);
  transform: translateY(-1px);
}
.demo-link span {
  font-size: 15px;
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 5.5% 48px;
  position: relative;
}

.hero-intro {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero-watermark-bird {
  position: absolute;
  top: 10px;
  right: 1.5%;
  width: 440px;
  max-width: 30vw;
  height: auto;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-3deg);
  filter: blur(0.4px);
  user-select: none;
}

.hero-brand-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.hero-brand-emblem {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-bird-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(18, 45, 73, 0.08));
}
.hero-bird-mini {
  display: block;
  width: 44px;
  height: auto;
}
.brand-dots-svg {
  width: 120px;
  height: 24px;
  overflow: visible;
}
.p-dot {
  fill: var(--navy);
  transition: opacity 0.3s ease;
}
.p-dot.dot-orange {
  fill: var(--orange);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero-br-title {
  display: inline;
}

.hero-headline-sub {
  display: block;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text-soft);
  margin-top: 6px;
}

.hero-copy {
  font-size: clamp(18.5px, 1.7vw, 21.5px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 14px;
}

.hero-secondary-line {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-soft);
  margin-bottom: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-intro {
  text-align: left;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-secondary {
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--navy);
  border-bottom: 1.5px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.hero-secondary:hover {
  color: var(--orange-text);
  border-bottom-color: var(--orange-text);
}

.hero-trajectory-arc {
  margin-top: 24px;
  width: 100%;
  max-width: 440px;
  overflow: visible;
}
.hero-arc-svg {
  width: 100%;
  height: 48px;
  display: block;
  overflow: visible;
}

/* Hero Right Column: Soaring Bird + Photo */
.hero-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-soaring-bird-wrap {
  position: absolute;
  top: -46px;
  right: 16px;
  width: 170px;
  height: 98px;
  z-index: 10;
  pointer-events: auto;
  filter: drop-shadow(0 8px 16px rgba(18, 45, 73, 0.12));
}
.hero-bird-symbol {
  width: 100%;
  height: auto;
  display: block;
}
.bird-eyes-hero {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-photo-wrap {
  margin: 0;
  width: 100%;
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(27, 58, 92, 0.14);
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.75),
    0 24px 64px -16px rgba(18, 45, 73, 0.16),
    0 6px 18px -4px rgba(18, 45, 73, 0.06);
  background: var(--wash);
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: clamp(380px, 38vw, 540px);
  object-fit: cover;
  object-position: 72% 35%;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -60px 80px -20px rgba(18, 45, 73, 0.35);
}

.hero-telemetry-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(18, 45, 73, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-telemetry-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.hero-photo-wrap figcaption {
  font-size: 14px;
  color: var(--text-soft);
  padding-top: 12px;
  text-align: right;
}

/* Organic Section Wave Dividers (Fluid Editorial Continuity) */
.section-curve-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
  pointer-events: none;
}
.section-curve-divider svg {
  display: block;
  width: 100%;
  height: 48px;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-intro {
    text-align: center;
  }
  .hero-br-title {
    display: none;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trajectory-arc {
    margin: 20px auto 0;
  }
  .hero-soaring-bird-wrap {
    top: -36px;
    right: 0;
    width: 140px;
  }
}

/* ==========================================================================
   HOW IT WORKS (CONNECTED JOURNEY)
   ========================================================================== */
.how {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 5.5% 52px;
  position: relative;
  background: #ffffff;
}

.how-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}
.how-heading h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.08;
}
.how-heading p {
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--navy);
  max-width: 440px;
}

/* Connected 4-Step Learning Journey with Circular Node Previews */
.learning-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.learning-journey::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  border-top: 2px dashed #b4c6d4;
  z-index: 1;
}

.journey-step {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.journey-node-visual {
  position: relative;
  margin-bottom: 20px;
  display: inline-block;
}

.node-circle-frame {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid rgba(27, 58, 92, 0.14);
  box-shadow: 0 8px 24px -4px rgba(18, 45, 73, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.node-circle-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(18, 45, 73, 0.12);
}
.node-icon-svg {
  width: 44px;
  height: 44px;
}

.journey-point {
  position: absolute;
  bottom: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.journey-step:last-child .journey-point {
  background: var(--orange);
}

.journey-content h3 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.journey-lead {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.journey-detail {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-soft);
}

/* ==========================================================================
   EMBEDDED NIDO SECTION
   ========================================================================== */
.product {
  max-width: 1440px;
  margin: 0 auto;
  padding: 76px 5.5% 60px;
}

.product-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.product-intro h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
}
.product-intro p {
  font-size: 19.5px;
  line-height: 1.5;
  color: var(--navy);
  max-width: 480px;
}

/* The Nido Frame (Luminous, airy liquid-glass product demonstration) */
.nido-experience {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 24px 64px -16px rgba(18, 45, 73, 0.09),
    0 4px 16px -2px rgba(18, 45, 73, 0.03),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  position: relative;
}

/* Nido Header Bar */
.nido-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(27, 58, 92, 0.06);
}

.nido-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.nido-badge-sep {
  color: var(--orange);
}
.nido-step-counter {
  color: var(--orange-text);
  font-variant-numeric: tabular-nums;
}

.nido-bar-mode {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Nido Stage Area */
.nido-stage {
  min-height: 460px;
  padding: 36px 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Step Panels with Instant Transition */
.nido-step-panel {
  width: 100%;
}
.step-enter {
  animation: step-in 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step 1: Decision Layout (2 Columns on Desktop) */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: start;
  gap: 44px;
}

.step-caption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange-text);
}

.scenario-context {
  font-size: 16.5px;
  color: var(--navy);
  margin-top: 6px;
}

.dominant-question {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--navy);
  margin: 8px 0 14px;
}

.scenario-note {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.chart-wrap-inline {
  min-width: 0;
}
.chart-container {
  background: transparent;
  border-radius: var(--radius-md);
  padding: 0;
  border: none;
  box-shadow: none;
}
.chart {
  width: 100%;
  height: auto;
  display: block;
}
.chart text {
  font-family: var(--sans);
  fill: var(--navy);
}
.chart .chart-caption {
  font-size: 11px;
  fill: var(--text-muted);
}
.chart .chart-bound-label {
  font-size: 10.5px;
  font-weight: 500;
  fill: var(--text-soft);
}
.chart .chart-nominal-label {
  font-size: 10.5px;
  font-weight: 600;
  fill: var(--orange-text);
}
.chart .value {
  font-size: 15px;
  font-weight: 600;
}
.chart .value-active {
  font-size: 16.5px;
  font-weight: 700;
  fill: var(--orange-text);
}
.chart .seq-num {
  font-size: 11px;
  fill: var(--text-muted);
}

/* Choice Cards (Right Column) - Sleek Horizontal Liquid-Glass Pills */
.choices-col {
  display: flex;
  flex-direction: column;
}
.choices-col-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  text-align: left;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(27, 58, 92, 0.12);
  box-shadow: 0 2px 8px rgba(18, 45, 73, 0.03);
  cursor: pointer;
  transition:
    background-color 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease,
    transform 0.12s ease;
}
.choice:hover {
  background: #ffffff;
  border-color: rgba(27, 58, 92, 0.28);
  box-shadow: 0 6px 18px -2px rgba(18, 45, 73, 0.07);
  transform: translateY(-1px);
}
.choice:active {
  transform: translateY(0);
}

/* Instant Selected State (Rule: Click acknowledgment happens in 0ms) */
.choice.is-selected {
  border-color: var(--orange) !important;
  background: #fff8f4 !important;
  box-shadow: 0 0 0 2px var(--orange), 0 8px 22px -4px rgba(198, 107, 69, 0.18) !important;
  transform: translateY(-1px) !important;
}

.choices.is-resolving .choice:not(.is-selected) {
  opacity: 0.45;
  pointer-events: none;
}

.choice-radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #1B3A5C;
  background: #ffffff;
  flex-shrink: 0;
  transition: border-color 0.12s ease;
}
.choice-radio .radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.12s ease;
}

.choice:hover .choice-radio {
  border-color: var(--orange);
}
.choice.is-selected .choice-radio {
  border-color: var(--orange);
}
.choice.is-selected .choice-radio .radio-dot {
  background: var(--orange);
}

.choice-text {
  flex-grow: 1;
}
.choice-title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 2px;
}
.choice-desc {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-soft);
}
.choice-arrow {
  color: var(--orange);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

/* Step 2: Confidence View */
.step-confidence,
.step-feedback,
.step-evidence {
  max-width: 860px;
  margin: 0 auto;
}

.step-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.recap-choice-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
}
.recap-choice-chip strong {
  color: var(--navy);
}

.confidence-lead {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 24px;
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.confidence-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(27, 58, 92, 0.1);
  box-shadow: 0 2px 8px rgba(18, 45, 73, 0.03);
  text-align: left;
  transition:
    background-color 0.14s,
    border-color 0.14s,
    box-shadow 0.14s,
    transform 0.14s;
}
.confidence-btn:hover {
  border-color: rgba(27, 58, 92, 0.28);
  box-shadow: 0 6px 20px -3px rgba(18, 45, 73, 0.08);
  transform: translateY(-2px);
}
.confidence-btn:active {
  transform: translateY(0);
}

.confidence-btn.is-selected {
  border-color: var(--orange) !important;
  background: #fff9f6 !important;
  box-shadow: 0 0 0 2px var(--orange), 0 8px 20px -4px rgba(198, 107, 69, 0.2) !important;
  transform: translateY(-2px) !important;
}

.confidence-grid.is-resolving .confidence-btn:not(.is-selected) {
  opacity: 0.45;
  pointer-events: none;
}

.conf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.confidence-indicator {
  font-size: 14px;
}
.ico-dudando {
  color: #d97706;
}
.ico-seguro {
  color: var(--navy);
}
.ico-muy-seguro {
  color: var(--orange-text);
}
.conf-level-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.confidence-text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.confidence-text span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
}
.conf-arrow {
  align-self: flex-end;
  font-size: 18px;
  color: var(--orange);
  margin-top: 10px;
}

.step-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 6px 0;
  min-height: 44px;
  transition: color 0.15s ease;
}
.back-link:hover {
  color: var(--navy);
}

/* Step 3: Feedback View */
.feedback-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.feedback-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.feedback-tag .tag-dot {
  font-size: 10px;
}
.tag-valid {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.tag-adjust {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.tag-verify {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.feedback-recap-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
}
.feedback-recap-pill strong {
  color: var(--navy);
}

.feedback-explanation {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 30px;
  border: 1px solid rgba(27, 58, 92, 0.12);
  box-shadow: 0 4px 16px -4px rgba(18, 45, 73, 0.06);
  margin: 18px 0 26px;
}
.feedback-explanation p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  margin-bottom: 16px;
}
.feedback-explanation p:last-child {
  margin-bottom: 0;
}
.confidence-feedback-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--text-soft) !important;
}

.feedback-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Step 4: Evidence View */
.evidence-intro {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 26px;
}

.evidence-cards-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.evidence-signal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px -2px rgba(18, 45, 73, 0.06);
  display: flex;
  flex-direction: column;
}
.evidence-signal-card.signal-highlight {
  border-color: rgba(198, 107, 69, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #fcf7f2 100%);
  box-shadow: 0 6px 20px -2px rgba(198, 107, 69, 0.12);
}

.card-signal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.signal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.signal-dot.dot-navy {
  background: var(--navy);
}
.signal-dot.dot-orange {
  background: var(--orange);
}
.signal-dot.dot-deep {
  background: var(--deep);
  box-shadow: 0 0 0 3px rgba(198, 107, 69, 0.3);
}

.signal-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.card-signal-body strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 6px;
}
.card-signal-body p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-soft);
}

.evidence-operational-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 26px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--navy);
}

.evidence-final-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Nido HUD: Particle Telemetry Stream (Seamless bottom integration) */
.nido-particles-hud {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 16px 36px;
  background: transparent;
  border-radius: 0;
  border-top: 1px solid rgba(27, 58, 92, 0.06);
}

.particle-telemetry-cluster {
  flex-shrink: 0;
}
.telemetry-svg {
  width: 220px;
  height: 38px;
  display: block;
}
.telemetry-svg circle {
  transition:
    cx 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    cy 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    r 0.25s ease,
    fill 0.25s ease,
    opacity 0.25s ease;
}

.telemetry-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.telemetry-info span {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
}

/* Nido Foot */
.nido-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
  border-top: 1px solid rgba(27, 58, 92, 0.06);
  font-size: 14px;
  color: var(--text-soft);
}

/* Iteration End Bar */
.iteration-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 36px 0 0;
}
.iteration-end p {
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
}
.iteration-end p span {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-soft);
  margin-top: 4px;
}

/* ==========================================================================
   VALUE / ROI SECTION (EDITORIAL LAYOUT)
   ========================================================================== */
/* ==========================================================================
   VALUE / ROI SECTION (EDITORIAL LIQUID-GLASS LAYOUT)
   ========================================================================== */
.value-section {
  background: var(--deep);
  color: var(--cream);
  position: relative;
  z-index: 2;
}

.value-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 5.5% 84px;
}

.value-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
}
.value-heading h2 {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #ffffff;
}
.value-heading p {
  font-size: 18.5px;
  line-height: 1.55;
  max-width: 380px;
  color: #dfe5eb;
}

.card-audience-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.audience-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #efbc9e;
}

.audience-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #efbc9e;
  font-size: 15px;
  font-weight: 500;
}

.value-columns {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  margin-top: 56px;
}

.liquid-glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px 36px 32px;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.3);
}

.worker-value h3,
.plant-value h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 16px;
}

.worker-value > p,
.plant-intro {
  font-size: 16.5px;
  line-height: 1.6;
  color: #dfe5eb;
  margin-bottom: 24px;
}

.value-check-list,
.operational-measures-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-check-list li,
.measure-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(198, 107, 69, 0.22);
  color: #f7a885;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-check-list strong,
.measure-item dt {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.value-check-list span,
.measure-item dd {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: #c9d5e0;
}

/* Measurement Sequence */
.measurement {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.measurement-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #efbc9e;
  margin-bottom: 12px;
}

.measurement h3 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 500;
  color: #ffffff;
}

.measurement p {
  font-size: 16px;
  line-height: 1.65;
  color: #dfe5eb;
}

.roi-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  gap: 10px 16px;
}
.roi-sequence li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
}
.roi-sequence li span {
  font-size: 11px;
  color: #efbc9e;
  font-weight: 400;
}
.roi-sequence li:not(:last-child)::after {
  content: "→";
  margin-left: 12px;
  color: #efbc9e;
  font-weight: 400;
}

.measurement-caveat {
  font-size: 13.5px !important;
  color: #adbccb !important;
  line-height: 1.6 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

/* ==========================================================================
   VISION SECTION (INTEGRATED EDITORIAL RESOLUTION)
   ========================================================================== */
.vision {
  max-width: 1440px;
  margin: 0 auto;
  padding: 84px 5.5% 64px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}

.vision-place {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.vision-city-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 12px;
}

.marli-bird-presence {
  position: relative;
  display: block;
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 14px 34px rgba(18, 45, 73, 0.08));
  user-select: none;
}

.brand-symbol-clean {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.bird-eyes-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bird-eye-socket {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(18, 45, 73, 0.16);
}

/* Exact coordinates from 588 x 339 PNG scan */
.eye-lead {
  left: 87.45%;
  top: 8.94%;
  width: 4.1%;
  aspect-ratio: 1 / 1;
}

.eye-mid {
  left: 59.52%;
  top: 25.10%;
  width: 3.9%;
  aspect-ratio: 1 / 1;
}

.eye-left {
  left: 35.65%;
  top: 39.40%;
  width: 3.1%;
  aspect-ratio: 1 / 1;
}

.bird-eye-sclera {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffffff;
}

.bird-eye-pupil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 55%;
  height: 55%;
  margin-left: -27.5%;
  margin-top: -27.5%;
  border-radius: 50%;
  background: #122d49;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.bird-eye-glint {
  position: absolute;
  top: 16%;
  right: 18%;
  width: 32%;
  height: 32%;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.95;
}

.vision-trajectory-wrap {
  margin-top: 12px;
}
.vision-trajectory {
  width: 240px;
  height: 80px;
  display: block;
  overflow: visible;
}

.vision-story h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.vision-story .vision-lead {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--navy);
  margin-top: 18px;
}
.vision-story p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--navy);
  margin-top: 14px;
}
.vision-story .vision-last {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
  margin-top: 20px;
}

/* Resolved Brand Meaning Panel (Integrated 4 Pillars, No Awkward Detached Gap) */
.brand-meaning-panel {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(27, 58, 92, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 12px 32px -6px rgba(18, 45, 73, 0.06);
}

.meaning-panel-header {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(27, 58, 92, 0.08);
}
.meaning-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 2px;
  display: block;
}
.meaning-headline {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.brand-meaning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.brand-pillar {
  position: relative;
}
.pillar-marker {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  height: 16px;
}
.pillar-dots-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pillar-dots-row .p-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-block;
}
.pillar-dots-row .dot-orange {
  background: var(--orange);
}

.pillar-glyph {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: rgba(27, 58, 92, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
}

.pillar-dots-matrix {
  display: inline-grid;
  grid-template-columns: repeat(2, 5px);
  gap: 3px;
}
.pillar-dots-matrix .p-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
}
.pillar-dots-matrix .dot-orange {
  background: var(--orange);
}

.pillar-tag-border {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange-text);
  border: 1px solid rgba(198, 107, 69, 0.35);
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}

.brand-pillar strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.brand-pillar p {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: var(--text-soft) !important;
  margin-top: 0 !important;
}
.brand-pillar em {
  font-style: normal;
  color: var(--orange-text);
  font-weight: 600;
}

/* ==========================================================================
   CLOSING SECTION (CIUDAD JUÁREZ PANORAMA)
   ========================================================================== */
.closing {
  position: relative;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 5.5% 108px;
  overflow: hidden;
}

.closing-backdrop {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 260px;
  pointer-events: none;
  z-index: 1;
}

.juarez-horizon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin: 8px 0 16px;
}
.closing-subtitle {
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 32px;
}
.closing-actions {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 5.5% 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  border-top: 2px dashed var(--line);
}

.site-footer nav {
  display: flex;
  gap: 28px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.site-footer nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.site-footer nav a:hover {
  color: var(--orange-text);
}

.scope-note {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 860px;
}
.scope-note summary {
  cursor: pointer;
  font-weight: 600;
  padding: 6px 0;
}
.scope-note p {
  margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (1000px and 760px / 390px Mobile)
   ========================================================================== */
@media (max-width: 1000px) {
  .site-header nav {
    display: none;
    position: absolute;
    z-index: 30;
    top: calc(100% - 4px);
    left: 5.5%;
    right: 5.5%;
    background: #ffffff;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px -8px rgba(18, 45, 73, 0.2);
    border: 1px solid var(--line);
  }
  .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .demo-link {
    margin-left: auto;
  }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
  }

  .decision-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .value-columns {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .vision {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Mobile: 390px Intentional Adaptation */
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 16px 5%;
    gap: 16px;
  }
  .brand img {
    width: 118px;
    height: 40px;
  }
  .demo-link {
    font-size: 13px;
    padding: 6px 14px;
  }

  .hero {
    padding: 28px 5% 36px;
  }
  .hero-brand-mark {
    margin-bottom: 12px;
  }
  .hero-eyebrow {
    font-size: 11.5px;
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 54px);
    margin-bottom: 18px;
  }
  .hero-headline-sub {
    font-size: clamp(22px, 5.5vw, 32px);
  }
  .hero-copy {
    font-size: 18px;
    margin-bottom: 14px;
  }
  .hero-secondary-line {
    font-size: 15.5px;
    margin-bottom: 26px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .button {
    width: 100%;
  }

  .hero-soaring-bird-wrap {
    position: static;
    margin: 0 auto 16px;
    width: 140px;
    height: 80px;
  }
  .hero-photo-wrap {
    margin-top: 0;
  }
  .hero-photo-frame img {
    height: 360px;
  }
  .hero-telemetry-badge {
    bottom: 14px;
    left: 14px;
    font-size: 14px;
    padding: 9px 14px;
  }

  .how {
    padding: 44px 5% 32px;
  }
  .how-heading {
    display: block;
    margin-bottom: 32px;
  }
  .how-heading p {
    margin-top: 12px;
    font-size: 16.5px;
  }

  .learning-journey {
    display: block;
    position: relative;
  }
  .learning-journey::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
    border-top: 0;
    border-left: 2px dashed #94a8b9;
  }
  .journey-step {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
  }
  .journey-step:last-child {
    margin-bottom: 0;
  }
  .journey-node {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .product {
    padding: 44px 5% 32px;
  }
  .product-intro {
    display: block;
    margin-bottom: 28px;
  }
  .product-intro p {
    margin-top: 12px;
    font-size: 16.5px;
  }

  .nido-bar {
    padding: 14px 18px;
    align-items: center;
    justify-content: space-between;
  }

  .nido-stage {
    padding: 24px 18px 20px;
    min-height: 440px;
  }
  .dominant-question {
    font-size: 26px;
    line-height: 1.18;
    margin: 8px 0 14px;
  }

  .choices {
    gap: 12px;
  }
  .choice {
    padding: 18px 16px;
    gap: 14px;
  }
  .choice-title {
    font-size: 16px;
  }

  .confidence-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .confidence-btn {
    min-height: auto;
    padding: 16px 18px;
  }

  .evidence-cards-matrix {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nido-particles-hud {
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
  }

  .nido-foot {
    padding: 14px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .iteration-end {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 24px;
  }

  .value-section {
    margin-top: 36px;
  }
  .value-inner {
    padding: 56px 5% 52px;
  }
  .value-heading {
    display: block;
  }
  .value-heading p {
    margin-top: 14px;
    font-size: 16.5px;
  }

  .operational-measures > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .measurement {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
    padding-top: 32px;
  }

  .vision {
    padding: 56px 5% 44px;
  }
  .vision-story p {
    font-size: 16.5px;
  }
  .brand-meaning-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .closing {
    padding: 44px 5% 64px;
  }
  .closing h2 {
    font-size: 40px;
  }
  .closing .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 5% 36px;
    gap: 20px;
  }
  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .step-enter,
  .button,
  .choice,
  .confidence-btn,
  .telemetry-svg circle,
  .bird-eye-pupil {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .marli-bg-canvas {
    display: none !important;
  }
}

/* MARLI polish: a single wordmark, deliberate directional controls, one movable guide. */
.m-arrow { width: 28px; height: 28px; }
.m-arrow path { stroke-width: 2.8; }
.button .m-arrow, .demo-link .m-arrow, .hero-secondary .m-arrow {
  width: 40px; height: 40px; padding: 8px; border-radius: 50%;
  background: var(--navy); color: #fffdf9; margin: 0;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.button-primary .m-arrow { background: #fffdf9; color: var(--navy); }
.button-primary:hover, .button-primary:focus-visible { background: #102132; }
.button:hover .m-arrow, .button:focus-visible .m-arrow,
.demo-link:hover .m-arrow, .demo-link:focus-visible .m-arrow,
.hero-secondary:hover .m-arrow, .hero-secondary:focus-visible .m-arrow {
  background: var(--orange-text); color: #fffdf9; transform: translateX(2px);
}
.button-glass:hover, .button-secondary:hover, .demo-link:hover {
  background: #102132; color: #fffdf9; border-color: #102132;
}
.demo-link { padding: 5px 7px 5px 18px; gap: 14px; }
.hero-secondary { gap: 14px; }
.nido-badge { padding: 8px 16px; font-size: 14px; white-space: nowrap; }
.nido-badge > span { flex-shrink: 0; }
.footer-origin { align-self: center; font-size: 16px; color: var(--navy); }
.vision { grid-template-columns: .45fr 1.55fr; }
.marli-companion {
  position: fixed; left: 0; top: 0; width: 76px; height: 76px; padding: 4px;
  z-index: 40; color: var(--navy); cursor: grab; touch-action: none;
  transform: translate3d(calc(100vw - 100px), calc(100dvh - 100px), 0);
  filter: drop-shadow(0 4px 5px #122d4925); border-radius: 12px;
}
.marli-companion svg { display: block; width: 100%; height: 100%; overflow: visible; }
.marli-companion:hover { color: var(--deep); }
.marli-companion.is-dragging { cursor: grabbing; }
.marli-companion:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 3px; }
.companion-pupil { transition: transform .12s ease-out; }
@media (max-width: 1000px) { .vision { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .marli-companion { width: 60px; height: 60px; transform: translate3d(calc(100vw - 78px), calc(100dvh - 88px), 0); }
  .nido-bar { gap: 10px; }
  .nido-badge { font-size: 14px; }
  .hero-secondary .m-arrow { width: 36px; height: 36px; padding: 7px; }
}
@media (prefers-reduced-motion: reduce) { .companion-pupil { transition: none; } }

/* Purposeful guide: contextual docking and a brief acknowledgement after evidence. */
.marli-companion { transition: transform .35s cubic-bezier(.2,.7,.3,1), color .18s ease; }
.marli-companion.is-dragging { transition: none; }
.marli-companion[data-context="nido"] { color: #122d49; }
.marli-companion[data-learning="3"] svg { animation: companion-ack .4s ease-out; }
@keyframes companion-ack { 0%,100% { transform: rotate(0); } 40% { transform: rotate(-5deg) translateY(-3px); } 70% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .marli-companion { transition: none; } .marli-companion svg { animation: none !important; } }

/* Automatic silhouette contrast; eye accent remains MARLI orange. */
.marli-companion[data-bird-tone="light"]{color:#fffdf9;filter:drop-shadow(0 0 1px #122d49) drop-shadow(0 2px 4px #122d4960)}
.marli-companion[data-bird-tone="light"]>svg>circle{fill:#1B3A5C}
.marli-companion[data-bird-tone="dark"]{color:#1B3A5C;filter:drop-shadow(0 0 1px #fffdf9) drop-shadow(0 2px 4px #fffdf970)}
.marli-companion[data-bird-tone="light"]:hover{color:#F5F1E9}

/* The learner sees the decision and next action; supporting context is on demand. */
.nido-particles-hud{display:none}
.step-evidence{max-width:820px;margin-inline:auto}.step-evidence .response-summary{font-size:clamp(20px,2.1vw,25px);line-height:1.5;color:var(--navy);margin:22px 0 30px;max-width:640px}
.evidence-next{padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:22px}
.evidence-next h4{font:600 18px/1.4 var(--font-body,Arial,sans-serif);color:var(--orange-text);margin:0 0 12px}.evidence-next p{font-size:clamp(22px,2.4vw,29px);line-height:1.35;letter-spacing:-.02em;color:var(--navy);margin:0;max-width:650px}
.nido-details{font-size:17px;line-height:1.6;color:var(--navy);text-align:left}.nido-details summary{cursor:pointer;padding:12px 0;font-size:17px;font-weight:600;min-height:48px}.nido-details p{font-size:17px;line-height:1.6;margin:10px 0 18px;max-width:660px}
.nido-details summary:hover{color:var(--orange-text)}.nido-details summary:focus-visible{outline:3px solid var(--orange-text);outline-offset:4px}
.evidence-detail dl{margin:8px 0 20px}.evidence-detail dl>div{margin-bottom:18px}.evidence-detail dt{font-size:17px;font-weight:700}.evidence-detail dd{font-size:18px;line-height:1.6;margin:4px 0 0}
.step-evidence .evidence-final-actions{margin-top:24px;gap:16px}.step-evidence .evidence-final-actions .button{font-size:17px}
.nido-foot{align-items:flex-start}.nido-about{max-width:680px}.nido-stage .choice-desc,.nido-stage .feedback-body p{font-size:17px;line-height:1.6}
@media(max-width:600px){.step-evidence .dominant-question{font-size:32px;line-height:1.14}.step-evidence .response-summary{font-size:20px;margin:18px 0 22px}.evidence-next{padding:20px 0}.step-evidence .evidence-final-actions{align-items:stretch;flex-direction:column}.step-evidence .evidence-final-actions .button{width:100%;justify-content:center}.nido-details summary{font-size:17px}}

.personal-reflection{margin:18px 0 0;padding-top:8px;border-top:1px solid var(--line)}.personal-reflection p{font-size:18px;line-height:1.55}

/* Controlled beta: editorial sections extend the existing MARLI tokens. */
.beta-editorial{padding:clamp(64px,8vw,120px) 6%;color:var(--navy,#1B3A5C);scroll-margin-top:100px}
.beta-editorial h2{font-size:clamp(34px,4.3vw,64px);line-height:1.08;letter-spacing:-.035em;margin:12px 0 26px;max-width:880px}.beta-editorial p{font-size:clamp(18px,1.5vw,21px);line-height:1.6;max-width:760px}.beta-editorial .section-kicker{font-size:17px;font-weight:700;color:var(--orange-text,#9C4A28);margin:0}
.capability-list{margin:44px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:0 56px}.capability-list>div{padding:26px 0;border-top:1px solid var(--line,#c9d2d9)}.capability-list dt{font-size:23px;font-weight:700;line-height:1.3}.capability-list dd{font-size:18px;line-height:1.6;margin:12px 0 0;max-width:540px}
.beta-person{display:grid;grid-template-columns:1.1fr 1fr;gap:8%;background:#fff}.progress-example{margin:0;padding:32px;border:1px solid var(--line,#c9d2d9);border-radius:24px;background:var(--cream,#F5F1E9)}.progress-example figcaption{font-size:17px;color:var(--navy,#1B3A5C)}.progress-example h3{font-size:28px;margin:24px 0}.progress-example dl>div{margin:20px 0}.progress-example dt,.progress-example dd{font-size:18px;margin:0}.progress-example dd{position:relative;padding:8px 0 16px}.progress-example dd span{display:block;height:6px;border-radius:6px;width:var(--example-progress);background:var(--navy,#1B3A5C);margin-top:10px}.progress-example p:last-child{font-size:17px}
.beta-org{background:var(--cream,#F5F1E9)}.org-questions{display:flex;gap:40px;flex-wrap:wrap;margin:32px 0}.org-questions p{flex:1 1 220px;border-top:2px solid var(--orange-text,#9C4A28);padding-top:20px}.workforce-flow{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:12px;margin:46px 0 18px}.workforce-flow li{font-size:18px;font-weight:600;line-height:1.5}.workforce-flow li:not(:last-child)::after{content:'↗';color:var(--orange-text,#9C4A28);padding-left:12px}.flow-caption{font-size:18px}.beta-contact{background:#fff}.beta-contact .button{margin-top:20px}.site-header #main-nav{gap:18px}.site-header #main-nav a{font-size:16px}.site-header .demo-link{white-space:nowrap}
@media(max-width:1100px){.site-header #main-nav{gap:12px}.site-header #main-nav a{font-size:15px}}@media(max-width:850px){.capability-list,.beta-person{grid-template-columns:1fr}.beta-person{gap:36px}.capability-list{gap:0}.org-questions{gap:18px}.beta-editorial{scroll-margin-top:88px}.progress-example{padding:24px}.site-header #main-nav a{font-size:18px}}

[hidden]{display:none!important}

@media(max-width:600px){.site-header .demo-link{display:none}.site-header .menu-toggle{margin-left:auto}.site-header{gap:12px}}

/* Refinement 2026-11-04: retain the industrial composition and canonical palette. */
.hero{padding-top:clamp(36px,6vw,88px);padding-bottom:clamp(54px,7vw,104px)}
.hero-grid{gap:clamp(32px,5vw,76px)}.hero h1{font-weight:650;font-size:clamp(44px,5.2vw,76px);line-height:1.04;letter-spacing:-.055em;max-width:760px}
.hero-headline-sub{font-size:clamp(25px,2.65vw,38px);line-height:1.2;margin-top:16px;color:var(--navy)}.text-outline-blue-orange{-webkit-text-stroke:0;color:var(--navy);text-shadow:none}
.hero-copy{font-size:clamp(19px,1.6vw,22px);line-height:1.55;max-width:42ch;margin-top:24px}.hero-secondary-line{font-size:18px;line-height:1.6;color:var(--navy-soft,#435d72);max-width:43ch;margin-bottom:30px}
.site-header{border-bottom:1px solid rgba(27,58,92,.08)}.demo-link{background:rgba(255,255,255,.78);border:1px solid rgba(27,58,92,.14);box-shadow:0 2px 10px rgba(27,58,92,.035);backdrop-filter:blur(12px)}
.button-primary{box-shadow:0 3px 12px rgba(27,58,92,.12);border:1px solid transparent}.button-primary:hover{box-shadow:0 4px 16px rgba(27,58,92,.15)}
.hero-secondary{font-size:17px;min-height:48px}.product-shell{border:1px solid rgba(27,58,92,.12);box-shadow:0 12px 38px rgba(27,58,92,.055)}
.choice-card,.confidence-card{box-shadow:none}.choice-card:hover,.confidence-card:hover{border-color:var(--navy);background:rgba(231,237,240,.55)}
.section-header p,.product-intro,.product-bridge{font-size:18px;line-height:1.65}.hero-media{border-radius:24px;overflow:hidden}
@media(max-width:850px){.hero{padding-top:32px}.hero-grid{gap:36px}.hero-intro{text-align:left}.hero h1{font-size:clamp(42px,7vw,64px)}.hero-copy,.hero-secondary-line{margin-inline:0}.hero-actions{justify-content:flex-start}.hero-secondary-line{font-size:17px}.hero-trajectory-arc{margin-top:18px}}
@media(max-width:600px){.hero{padding-top:28px;padding-bottom:48px}.hero h1{font-size:clamp(40px,10.5vw,48px)}.hero-headline-sub{font-size:25px;margin-top:14px}.hero-copy{font-size:19px;margin-top:20px}.hero-secondary-line{font-size:17px;margin-bottom:24px}.hero-actions{gap:14px}.hero-actions .button-primary{width:100%;justify-content:center}.hero-secondary{font-size:17px}.hero-trajectory-arc{display:none}.hero-grid{gap:32px}}
