/* ============================================
   LANCELOT DESIGN LABS — Styles v3
   Full copy v1 applied + smooth scroll animations
   ============================================ */

@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,700,800,900&f[]=switzer@300,400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #0a0a0a;
  --green: #8CC63F;
  --orange: #FF4500;
  --white: #e6e6e6;
  --gray: #888888;
  --gray-card: #0f0f0f;
  --muted: #999;
  --border: rgba(255,180,140,0.10);
  --border-warm: rgba(255,180,140,0.16);
  --border-faint: rgba(255,180,140,0.06);
  --font-body: 'Switzer', system-ui, sans-serif;
  --font-display: 'Cabinet Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  font-feature-settings: "kern" 1, "ss01" 1;
}

/* Tabular nums on all data + counters — industrial spec-sheet feel */
.glass-card-stat-value,
.problem-list li::before,
.faq-question::before,
.hero-stats-strip,
.comparison-table td,
.comparison-table th,
.footer-copyright,
.section-marker .num,
.glass-card-mono,
.glass-card-stat-label {
  font-feature-settings: "tnum" 1, "kern" 1;
  font-variant-numeric: tabular-nums;
}

/* Ensure page content renders above fixed bg effects */
nav, section, footer, .hero { position: relative; z-index: 1; }

::selection { background: var(--orange); color: var(--bg); }

/* Skip link — keyboard accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--orange);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  z-index: 2000;
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus { top: 0; }

/* Scroll progress — orange hairline tracking page position */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 1100;
  pointer-events: none;
  background: rgba(255,69,0,0.08);
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--orange);
  transition: width 80ms linear;
  box-shadow: 0 0 6px rgba(255,69,0,0.5);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }
.text-muted { color: var(--muted); }

/* ============================================
   SCROLL ANIMATIONS — Smooth, staggered
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* Counter animation */
.count-up {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   NAVBAR — instrument panel, constant height, HUD-style
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.2s linear, border-color 0.2s linear;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(255,69,0,0.18);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img { height: 32px; width: auto; }

.navbar-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.navbar-links a {
  position: relative;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--white);
}
.navbar-links a:hover::after,
.navbar-links a.active::after {
  transform: scaleX(1);
}
.navbar-links a.active::after {
  background: var(--orange);
  height: 2px;
}

.navbar-cta {
  background: var(--orange);
  color: #fafafa;
  padding: 0.55rem 1.4rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  transition: all 0.25s ease;
  border: 1px solid var(--orange);
  flex-shrink: 0;
}

.navbar-cta:hover {
  background: transparent;
  color: var(--orange);
}

.navbar-cta:focus-visible,
.navbar-logo:focus-visible,
.navbar-links a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  background: transparent;
  color: var(--orange);
}

@media (max-width: 900px) {
  .navbar-links { display: none; }
  .navbar { gap: 1rem; }
}
@media (max-width: 768px) {
  .navbar-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.18em;
  }
}
@media (max-width: 640px) {
  .navbar-tagline { display: none; }
  .navbar-cta { padding: 0.45rem 0.9rem; font-size: 0.7rem; letter-spacing: 0.08em; }
  .navbar { padding: 0 1rem; gap: 0.75rem; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  padding-top: 4rem;
  gap: 0;
}

/* Subtle blueprint grid background — replaces video */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,180,140,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,180,140,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-dots {
  position: absolute; inset: 0;
  width: 50%;
  opacity: 0.12;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem 7rem clamp(1rem, 2vw, 2rem);
  max-width: 900px;
  justify-self: end;
  width: 100%;
}

.hero-headline {
  font-size: clamp(2.6rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
  font-kerning: normal;
  font-feature-settings: "ss01" 1, "kern" 1;
  clip-path: inset(0 100% 0 0);
}
body.fonts-loaded .hero-headline {
  animation: heroPrint 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
@keyframes heroPrint {
  to { clip-path: inset(0 0 0 0); }
}

.hero-headline .line-2 { display: block; }

.hero-subheadline {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: rgba(255,255,255,0.8);
  max-width: 760px;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-weight: 400;
  clip-path: inset(0 100% 0 0);
}
body.fonts-loaded .hero-subheadline {
  animation: heroPrint 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-subheadline { margin-bottom: 2.5rem; }

.hero-cta {
  display: inline-block;
  background: var(--orange);
  color: #fafafa;
  padding: 0.9rem 2.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  border: 1px solid var(--orange);
  transition: all 0.25s ease;
  opacity: 0;
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero-cta {
  position: relative;
  overflow: hidden;
}
.hero-cta::after {
  content: '→';
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cta:hover {
  background: transparent;
  color: var(--orange);
}
.hero-cta:hover::after { transform: translateX(6px); }

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   WIS3 LIVE ANALYZER — interactive feature analysis
   Replaces hero video. Right column of hero grid.
   ============================================ */
.hero-analyzer {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(2rem, 4vw, 5rem) 6rem 0;
}

.analyzer-frame {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analyzer-product {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 80px rgba(0,0,0,0.5));
  user-select: none;
  -webkit-user-drag: none;
}

.analyzer-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 60px rgba(255,69,0,0.25));
}
.analyzer-canvas.ready { opacity: 1; }
.analyzer-canvas:active { cursor: grabbing; }

.analyzer-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,69,0,0.6);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.analyzer-loading.hidden { opacity: 0; }

.analyzer-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Corner panels — instrument readouts */
.analyzer-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}
.analyzer-corner .corner-label {
  color: rgba(255,180,140,0.5);
  font-weight: 500;
}
.analyzer-corner .corner-status,
.analyzer-corner .corner-value,
.analyzer-corner .corner-score {
  color: var(--orange);
  font-weight: 600;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

.corner-tl { top: 0; left: 0; }
.corner-tr { top: 0; right: 0; align-items: flex-end; }
.corner-bl { bottom: 0; left: 0; }
.corner-br { bottom: 0; right: 0; align-items: flex-end; }

.corner-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.corner-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 6px rgba(255,69,0,0.7);
  animation: statusPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.corner-value-dim { color: rgba(255,180,140,0.35); font-weight: 400; }
.corner-score {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.swatch-row {
  display: flex;
  gap: 4px;
  margin-top: 0.15rem;
}
.swatch {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255,180,140,0.25);
}

/* Feature points */
.analyzer-points { position: absolute; inset: 0; pointer-events: none; }

.point {
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  width: auto; height: auto;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  font-family: var(--font-mono);
}

.point-dot {
  position: relative;
  display: block;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,69,0,0.15), 0 0 12px rgba(255,69,0,0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.point.active .point-dot,
.point:hover .point-dot {
  transform: scale(1.5);
  box-shadow: 0 0 0 4px rgba(255,69,0,0.25), 0 0 24px rgba(255,69,0,0.7);
}

.point-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, rgba(255,69,0,0.7), rgba(255,69,0,0.15));
  transform-origin: left center;
  transform: translateY(-50%) rotate(0deg) scaleX(0.4);
  opacity: 0.5;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.point.active .point-line,
.point:hover .point-line { opacity: 1; transform: translateY(-50%) rotate(0deg) scaleX(1); }

.point-tag {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 0.65rem;
  background: rgba(15, 8, 4, 0.92);
  border: 1px solid rgba(255,69,0,0.5);
  white-space: nowrap;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}
.point.active .point-tag,
.point:hover .point-tag { opacity: 1; border-color: var(--orange); }

.tag-key { color: rgba(255,255,255,0.55); font-weight: 500; }
.tag-value { color: var(--orange); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; }
.point.active .tag-key, .point:hover .tag-key { color: var(--white); }

/* Direction-aware line + tag positioning */
.point[data-dir="up-left"] .point-line { transform: translateY(-50%) rotate(225deg) scaleX(0.4); width: 80px; }
.point[data-dir="up-left"].active .point-line, .point[data-dir="up-left"]:hover .point-line { transform: translateY(-50%) rotate(225deg) scaleX(1); }
.point[data-dir="up-left"] .point-tag { right: 70px; bottom: 60px; }

.point[data-dir="left-down"] .point-line { transform: translateY(-50%) rotate(180deg) scaleX(0.4); width: 70px; }
.point[data-dir="left-down"].active .point-line, .point[data-dir="left-down"]:hover .point-line { transform: translateY(-50%) rotate(180deg) scaleX(1); }
.point[data-dir="left-down"] .point-tag { right: 80px; top: -10px; }

.point[data-dir="right-up"] .point-line { transform: translateY(-50%) rotate(315deg) scaleX(0.4); width: 80px; }
.point[data-dir="right-up"].active .point-line, .point[data-dir="right-up"]:hover .point-line { transform: translateY(-50%) rotate(315deg) scaleX(1); }
.point[data-dir="right-up"] .point-tag { left: 70px; bottom: 60px; }

.point[data-dir="right-down"] .point-line { transform: translateY(-50%) rotate(45deg) scaleX(0.4); width: 80px; }
.point[data-dir="right-down"].active .point-line, .point[data-dir="right-down"]:hover .point-line { transform: translateY(-50%) rotate(45deg) scaleX(1); }
.point[data-dir="right-down"] .point-tag { left: 70px; top: 60px; }

/* Mobile: stack hero, shrink analyzer */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-content { padding: 3rem 2rem 0; max-width: 100%; }
  .hero-analyzer { padding: 2rem 2rem 6rem; }
  .analyzer-frame { max-width: 540px; }
  .analyzer-corner { font-size: 0.58rem; }
  .point-tag { font-size: 0.58rem; padding: 0.3rem 0.5rem; }
}

@media (max-width: 640px) {
  .hero-analyzer { padding: 1.5rem 1.25rem 5rem; }
  .analyzer-frame { max-width: 360px; }
  .point-tag { display: none; }
  .point.active .point-tag, .point:hover .point-tag { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .point .point-line, .point .point-tag, .point .point-dot { transition: none; }
  .corner-status .status-dot { animation: none; }
}

/* Hero asymmetric stats strip — bottom-right "system status" line */
.hero-stats-strip {
  position: absolute;
  bottom: 2rem;
  left: 3rem;
  right: 3rem;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,180,140,0.14);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
}
.hero-stats-strip > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-stats-strip > div:first-child::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: statusPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  box-shadow: 0 0 6px rgba(255,69,0,0.6);
}
@keyframes statusPulse {
  0%, 60%, 100% { opacity: 1; transform: scale(1); }
  30% { opacity: 0.35; transform: scale(0.85); }
}
@media (max-width: 768px) {
  .hero-stats-strip { display: none; }
}
.hero-stats-mark { color: var(--orange); margin-right: 0.4em; }

@media (max-width: 768px) {
  .hero-stats-strip { display: none; }
}

/* ============================================
   SOCIAL PROOF — Dual marquee + Glass card
   ============================================ */
.social-proof {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.marquee-bg {
  position: absolute; inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.marquee-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 50%, rgba(10,10,10,0.55) 100%);
  z-index: 1;
}

.marquee-row {
  display: flex;
  gap: 2rem;
  opacity: 1;
  filter: grayscale(0.2) contrast(1.05) saturate(0.85) brightness(0.95);
  width: max-content;
}

.marquee-row-left { animation: marqueeLeft 60s linear infinite; }
.marquee-row-right { animation: marqueeRight 60s linear infinite; }


@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-row img {
  width: 256px; height: 256px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.glass-card {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  background: #100b08;
  border: 1px solid rgba(255,69,0,0.35);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,69,0,0.18),
    0 2px 0 rgba(255,69,0,0.10),
    0 14px 24px -10px rgba(20,8,2,0.85),
    0 28px 0 -27px rgba(255,69,0,0.25);
}

.glass-card-top { padding: 3rem 3.5rem; text-align: center; }

.glass-card-mono {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.glass-card-logo {
  height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 2rem;
}

.glass-card-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

.glass-card-divider { border: none; border-top: 1px solid var(--border); }

.glass-card-quote {
  margin: 2rem auto 0;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  font-style: italic;
}
.glass-card-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
}

/* Proof log — spec-sheet metric rows, replaces hero-metric stat bank */
.proof-log {
  background: rgba(20,10,4,0.55);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}
.proof-log-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.55rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.proof-log-row:hover { color: var(--white); }

.proof-log-id {
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.16em;
}
.proof-log-name { color: rgba(255,255,255,0.55); text-transform: lowercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.proof-log-leader {
  border-bottom: 1px dotted rgba(255,180,140,0.25);
  align-self: end;
  height: 0.5em;
}
.proof-log-value {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-align: right;
  min-width: 4.5rem;
}

.proof-log-tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  margin-left: 0.4rem;
  background: rgba(140,198,63,0.15);
  border: 1px solid rgba(140,198,63,0.5);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  vertical-align: middle;
}
.proof-log-row--clean .proof-log-value { color: var(--white); }

@media (max-width: 640px) {
  .proof-log-row { grid-template-columns: auto 1fr auto; font-size: 0.7rem; }
  .proof-log-leader { display: none; }
  .proof-log-name { font-size: 0.7rem; }
}

/* ============================================
   SECTIONS — General
   ============================================ */
section { padding: 7rem 2rem; position: relative; scroll-margin-top: 80px; }

/* Section rhythm — vary breathing room */
#problem { padding: 9rem 2rem 7rem; }
#philosophy { padding: 6rem 2rem 8rem; }
#offer { padding: 5rem 2rem 7rem; }
#comparison { padding: 6rem 2rem 5rem; }
#case-study { padding: 7rem 2rem 9rem; }
#faq { padding: 5rem 2rem 6rem; }
#contact { padding: 9rem 2rem 6rem; }

/* Subtle vertical hairlines — spec-sheet 12-col grid feel */
.section-container { max-width: 1100px; margin: 0 auto; position: relative; }
.section-container::before,
.section-container::after {
  content: '';
  position: absolute;
  top: -2rem;
  bottom: -2rem;
  width: 1px;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.section-container::before { left: 33.33%; }
.section-container::after { right: 33.33%; }

@media (max-width: 768px) {
  .section-container::before, .section-container::after { display: none; }
  #problem, #philosophy, #offer, #comparison, #case-study, #faq, #contact { padding: 5rem 1.25rem; }
}

.section-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 2.5rem;
}

/* Spec-sheet section markers — large orange divider + numbered eyebrow */
.section-marker {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
}
.section-marker .bar {
  flex-shrink: 0;
  width: 120px;
  height: 6px;
  background: var(--orange);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-marker.drawn .bar {
  clip-path: inset(0 0 0 0);
}
.section-marker .num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}
.section-marker.drawn .num {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .section-marker .bar, .section-marker .num { clip-path: none; transition: none; }
}

@media (max-width: 640px) {
  .section-marker { flex-wrap: wrap; gap: 0.75rem 1rem; margin-bottom: 1.75rem; padding-top: 0.5rem; }
  .section-marker .bar { width: 88px; height: 5px; }
  .section-marker .num { font-size: 0.78rem; }
}

.section-body {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 720px;
}

.section-body.center { text-align: center; margin: 0 auto; }

/* ============================================
   PROBLEM
   ============================================ */
/* Problem section — INFRASTRUCTURE.BOM diagram replaces bullet list */
.problem-bom {
  margin-top: 2.5rem;
  position: relative;
  font-feature-settings: "tnum" 1;
}

.problem-bom-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 2px solid rgba(255,69,0,0.45);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.problem-bom-id { color: var(--orange); font-weight: 600; }
.problem-bom-status { color: rgba(255,255,255,0.45); }

.problem-bom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.problem-bom-grid::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255,69,0,0.25);
  pointer-events: none;
  z-index: 1;
}

.problem-bom-node {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--bg);
  border-right: 1px solid rgba(255,180,140,0.1);
  border-bottom: 1px solid rgba(255,180,140,0.1);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.problem-bom-node:nth-child(3n) { border-right: none; }
.problem-bom-node:nth-last-child(-n+3) { border-bottom: none; }
.problem-bom-node:hover { background: rgba(255,69,0,0.04); }

.bom-node-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  color: var(--orange);
  opacity: 0.85;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bom-node-icon svg { width: 100%; height: 100%; display: block; }
.problem-bom-node:hover .bom-node-icon { opacity: 1; transform: translateY(-2px); }

.bom-node-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.bom-node-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.bom-node-cost {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: auto;
}

.problem-bom-footer {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 1.1rem 0 0;
  border-top: 2px solid rgba(255,69,0,0.45);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.bom-tally-label { color: var(--orange); font-weight: 600; }
.bom-tally-value {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.15rem;
}
.bom-tally-dim { color: rgba(255,255,255,0.45); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; font-family: var(--font-mono); }
.bom-tally-divider { color: rgba(255,69,0,0.5); font-weight: 700; }

@media (max-width: 768px) {
  .problem-bom-grid { grid-template-columns: 1fr 1fr; }
  .problem-bom-grid::before { display: none; }
  .problem-bom-node { padding: 1.5rem 1.25rem; }
  .problem-bom-node:nth-child(3n) { border-right: 1px solid rgba(255,180,140,0.1); }
  .problem-bom-node:nth-child(2n) { border-right: none; }
  .problem-bom-node:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255,180,140,0.1); }
  .problem-bom-node:nth-last-child(-n+2) { border-bottom: none; }
  .bom-node-icon { width: 52px; height: 52px; margin-bottom: 1rem; }
  .bom-node-name { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .problem-bom-grid { grid-template-columns: 1fr; }
  .problem-bom-node { border-right: none !important; border-bottom: 1px solid rgba(255,180,140,0.1); }
  .problem-bom-node:last-child { border-bottom: none; }
}

/* Old problem-list (kept just in case but not used now) */
.problem-list-legacy {
  list-style: none;
  margin-top: 2.5rem;
  counter-reset: problem-counter;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.problem-list li {
  padding: 1.1rem 0 1.1rem 3rem;
  position: relative;
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  counter-increment: problem-counter;
  transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-list li::before {
  content: counter(problem-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), font-size 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-list li:hover { padding-left: 3.5rem; background: linear-gradient(to right, rgba(255,69,0,0.04), transparent 60%); }
.problem-list li:hover::before { font-size: 0.95rem; transform: translateX(4px); }

.problem-kicker {
  margin-top: 2.5rem;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 800;
  color: var(--orange);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Academy sub-section */
.problem-academy {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

/* ============================================
   PHILOSOPHY — Asymmetric quote-driven layout
   1 dominant quote (60%) + 2 smaller stacked quotes (40%)
   ============================================ */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
  border: 1px solid var(--border);
}

.philosophy-card {
  background: var(--bg);
  padding: 2.5rem 2.25rem;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.philosophy-card:first-child {
  grid-row: 1 / 3;
  padding: 4rem 3.25rem;
  justify-content: space-between;
}

.philosophy-card:hover { background: rgba(255,255,255,0.02); }

.philosophy-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--green);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}

.philosophy-card-quote {
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.18;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.philosophy-card:first-child .philosophy-card-quote {
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.philosophy-card-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.philosophy-card:first-child .philosophy-card-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
}

.philosophy-card:not(:first-child) .philosophy-card-body { display: none; }

@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .philosophy-card:first-child { grid-row: auto; padding: 2.5rem 2rem; }
  .philosophy-card:not(:first-child) .philosophy-card-body { display: block; }
}

/* Pipeline section removed — CSS cleaned up */

/* ============================================
   OFFER — Three-column manifest, no boxing
   Hairlines vertical between columns, big display titles
   ============================================ */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 3rem;
  border: none;
  background: transparent;
}

.offer-card {
  background: transparent;
  padding: 2.5rem 2.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: border-right-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-card:first-child { padding-left: 0; }
.offer-card:last-child { border-right: none; padding-right: 0; }

.offer-card:hover { background: transparent; border-right-color: rgba(255,69,0,0.45); }
.offer-card:last-child:hover { border-right: none; border-left: 1px solid rgba(255,69,0,0.45); }
.offer-card .offer-card-title { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: left center; }
.offer-card:hover .offer-card-title { transform: translateX(4px); }
.offer-card li { transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.offer-card li:hover { color: var(--white); padding-left: 1.85rem; }
.offer-card li::before { transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.offer-card li:hover::before { width: 14px; background: var(--orange); }

.offer-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--orange);
  text-transform: none;
  margin-bottom: 1.75rem;
  line-height: 1;
}

.offer-card:nth-child(1) .offer-card-title { color: var(--green); }
.offer-card:nth-child(2) .offer-card-title { color: var(--orange); }
.offer-card:nth-child(3) .offer-card-title { color: var(--white); }

.offer-card-feature {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,180,140,0.12);
  max-width: 24ch;
}

.offer-card-metric {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,180,140,0.12);
}
.offer-card-metric-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}
.offer-card-metric-value .metric-unit {
  font-size: 0.6em;
  margin-left: -0.05em;
}
.offer-card-metric-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.3;
}

.offer-card ul { list-style: none; }

.offer-card li {
  padding: 0.65rem 0 0.65rem 1.6rem;
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.5;
}

.offer-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 2rem 0; }
  .offer-card:last-child { border-bottom: none; }
}

.offer-kicker {
  margin-top: 3rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-display);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

.comparison-table th,
.comparison-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,180,140,0.07);
}
.comparison-table thead th { border-bottom: 1px solid var(--border-warm); }
.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--orange);
  font-weight: 600;
  font-family: var(--font-mono);
  background: transparent;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
  text-align: right;
  width: 28%;
}

.comparison-table td:first-child {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.01em;
}

.cost-cell {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.cost-cell::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -10px;
  width: var(--w, 50%);
  height: 2px;
  background: linear-gradient(to left, rgba(255,69,0,0.55), rgba(255,69,0,0.1));
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cost-cell-total::before {
  background: linear-gradient(to left, var(--orange), rgba(255,69,0,0.4));
  height: 3px;
}
.cost-unit {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.15rem;
}

.status-pill {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(140,198,63,0.45);
  background: rgba(140,198,63,0.08);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.comparison-total td:first-child {
  color: var(--white);
  font-weight: 800;
}
.comparison-total .cost-cell { color: var(--white); font-size: 1.15rem; }
.comparison-total td:last-child { color: var(--orange); font-weight: 800; font-size: 1.15rem; }

.comparison-savings td {
  border-bottom: none;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: rgba(255,69,0,0.05);
  border-top: 1px solid rgba(255,69,0,0.2);
}
.savings-line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-mono);
}
.savings-label {
  color: var(--orange);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.savings-value {
  color: var(--white);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.savings-unit {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: auto;
}

@media (max-width: 768px) {
  .comparison-table th, .comparison-table td { padding: 0.9rem 0.7rem; }
  .comparison-table th:nth-child(2), .comparison-table th:nth-child(3),
  .comparison-table td:nth-child(2), .comparison-table td:nth-child(3) { width: auto; }
  .cost-cell { font-size: 0.85rem; }
  .cost-unit { font-size: 0.55rem; }
  .status-pill { padding: 0.2rem 0.5rem; font-size: 0.6rem; letter-spacing: 0.12em; }
  .savings-line { flex-direction: column; gap: 0.25rem; }
  .savings-unit { margin-left: 0; }
}
.comparison-table tbody tr:last-child {
  background: rgba(255,69,0,0.04);
}
.comparison-table tbody tr:last-child td {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
  font-size: 1.15rem;
}
.comparison-table tbody tr:last-child td:first-child { color: var(--white); font-weight: 700; }
.comparison-table tbody tr:last-child td:last-child { color: var(--orange); font-weight: 800; }

.comparison-table tr { transition: background 0.2s ease; }
.comparison-table tbody tr { transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.comparison-table tbody tr:hover { background: rgba(255,69,0,0.04); }
.comparison-table tbody tr td:last-child { transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.comparison-table tbody tr:hover td:last-child { padding-left: 2.25rem; }

/* ============================================
   CASE STUDY — unboxed, columns separated by hairline
   ============================================ */
.case-study-card {
  background: transparent;
  border: none;
  max-width: 1000px;
  margin: 3rem 0 0;
  overflow: visible;
}

.case-study-top {
  padding: 0 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 3rem;
  max-width: 720px;
}

.case-study-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--green);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}

.case-study-top h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.case-study-top p {
  color: rgba(255,255,255,0.85);
  font-size: 1.08rem;
  line-height: 1.6;
}

.case-study-pullquote {
  margin: 2.25rem 0 0;
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 1px solid rgba(255,69,0,0.4);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--white);
  max-width: 720px;
}
.case-study-pullquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.case-study-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.case-study-col {
  padding: 0 3rem 0 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.case-study-col:last-child { border-right: none; padding: 0 0 0 3rem; }

.case-study-col h4 {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--orange);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .case-study-bottom { grid-template-columns: 1fr; }
  .case-study-col { padding: 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 2rem; margin-bottom: 2rem; }
  .case-study-col:last-child { padding: 0; border-bottom: none; }
}

.case-study-col ul {
  list-style: none;
}

.case-study-col li {
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.6;
}

.case-study-col li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ============================================
   LEAD FORM
   ============================================ */
.form-section {
  background: #100b08;
  border: 1px solid var(--border-warm);
  padding: 0;
  max-width: 600px;
  margin: 3rem auto 0;
  box-shadow: inset 0 1px 0 rgba(255,180,140,0.06), 0 1px 0 rgba(255,69,0,0.12);
}
.form-section > * { padding-left: 2.5rem; padding-right: 2.5rem; }
.form-section > .form-group:first-of-type { padding-top: 2rem; }
.form-section > .form-submit { margin: 1rem 2.5rem 2rem; padding-left: 1rem; padding-right: 1rem; width: calc(100% - 5rem); }
.form-section > #form-toast,
.form-section > #form-error { margin: 0 2.5rem 2rem; }

.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 2.5rem;
  border-bottom: 1px solid var(--border-warm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255,69,0,0.04);
}
.form-meta-id { color: var(--orange); font-weight: 600; }
.form-meta-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(140,198,63,0.85);
  font-weight: 600;
}
.form-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(140,198,63,0.55);
  animation: statusPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.form-meta-status[data-status="transmitting"] { color: var(--orange); }
.form-meta-status[data-status="transmitting"] .form-meta-dot { background: var(--orange); box-shadow: 0 0 6px rgba(255,69,0,0.7); animation-duration: 0.8s; }
.form-meta-status[data-status="received"] { color: var(--green); }
.form-meta-status[data-status="received"] .form-meta-dot { animation: none; }
.form-meta-status[data-status="error"] { color: var(--orange); }
.form-meta-status[data-status="error"] .form-meta-dot { background: var(--orange); animation: none; }

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-warm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  border-radius: 0;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23FF4500' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input::placeholder { color: rgba(255,255,255,0.45); }

.form-group { position: relative; }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--orange);
}
.form-group input:focus + .form-corner-marks,
.form-group select:focus + .form-corner-marks { opacity: 1; }
.form-group:focus-within label::before {
  content: '> ';
  color: var(--orange);
}

.form-group select option { background: var(--bg); color: var(--white); }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--orange);
  color: #fafafa;
  border: 1px solid var(--orange);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.form-submit:hover { background: transparent; color: var(--orange); }

.form-toast {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(140, 198, 63, 0.1);
  border: 1px solid var(--green);
  color: var(--green);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-toast.show { display: block; animation: fadeUp 0.4s ease; }

.form-field-error {
  font-size: 0.75rem;
  color: var(--orange);
  font-family: var(--font-mono);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.08);
}

.form-error {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 69, 0, 0.06);
  border: 1px solid rgba(255, 69, 0, 0.4);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.55;
  animation: fadeUp 0.35s ease;
}
.form-error a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.form-error a:hover { opacity: 0.8; }

.form-secondary {
  margin: 0.5rem 2.5rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.form-secondary a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(140,198,63,0.4);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.form-secondary a:hover {
  color: var(--white);
  border-bottom-color: var(--green);
}

.form-submit.is-loading {
  cursor: wait;
  opacity: 0.85;
  position: relative;
}
.form-submit.is-loading::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 12px; height: 12px;
  margin-top: -6px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Form micro-interactions */
.form-group.focused label { color: var(--orange); transition: color 0.3s ease; }
.form-submit:disabled { opacity: 0.7; cursor: wait; }

/* Card tilt micro-interaction */
.philosophy-card, .offer-card {
  transition: background 0.3s ease, transform 0.15s ease;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 700px;
  margin: 3rem auto 0;
  border: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-list { counter-reset: faq-counter; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.6rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: background 0.2s ease, padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  counter-increment: faq-counter;
}
.faq-question::before {
  content: counter(faq-counter, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.15em;
  flex-shrink: 0;
  width: 2rem;
}
.faq-question .faq-question-text { flex: 1; }
.faq-question::after {
  margin-left: auto;
}

.faq-question { transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease; }
.faq-question:hover { background: rgba(255,69,0,0.025); padding-left: 2.25rem; }
.faq-question::before { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-question:hover::before { transform: scale(1.15); color: var(--orange); }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--orange);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  padding: 0 1.75rem 1.6rem 4rem;
  margin: 0;
}

/* ============================================
   FOOTER — assertive sign-off, not whisper
   ============================================ */
.footer {
  padding: 5rem 2rem 3rem;
  text-align: center;
  border-top: 2px solid rgba(255,69,0,0.4);
  position: relative;
}
.footer::before {
  content: '// END';
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--orange);
  font-weight: 600;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.1;
}

.footer-copyright { font-size: 0.7rem; color: rgba(255,255,255,0.35); margin-top: 1.5rem; font-family: var(--font-mono); letter-spacing: 0.1em; }

/* Color system legend — codifies the brand taxonomy visibly */
.color-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1.5rem auto 1.25rem;
  max-width: 640px;
}
.color-legend-item {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}
.color-legend dt {
  font-size: 0.6rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.color-legend dd {
  font-size: 0.6rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.legend-swatch {
  width: 8px; height: 8px;
  display: inline-block;
  flex-shrink: 0;
}
.swatch-orange { background: var(--orange); }
.swatch-green  { background: var(--green); }

@media (max-width: 640px) {
  .color-legend { gap: 1rem; }
  .color-legend-item { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}

/* Mobile pipeline removed */

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  section { padding: 5rem 1.25rem; }
  .navbar { padding: 0 1rem; }
  .navbar-logo img { height: 26px; }
  .hero-content { padding: 3rem 1.5rem; }

  .glass-card-top { padding: 2rem 1.5rem; }
  .glass-card-stats { grid-template-columns: repeat(2, 1fr); }
  .glass-card-stat { border-bottom: 1px solid var(--border); }
  .glass-card-logo { height: 48px; }


  .comparison-table th,
  .comparison-table td { padding: 0.8rem; font-size: 0.85rem; }

  .marquee-row img { width: 180px; height: 180px; }
  .form-section { padding: 2rem 1.5rem; }

  .case-study-bottom { grid-template-columns: 1fr; }
  .case-study-col { border-right: none; border-bottom: 1px solid var(--border); }
  .case-study-col:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .philosophy-grid,
  .offer-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .glass-card-stats { grid-template-columns: 1fr; }
}
