/* ========================================================================
   TM Zero Freight Services — Design System
   Concept: Industrial precision. Zero compromise. Hydrogen future.
   Palette: Carbon Black + Deep Vector + Hydrogen Green + Vapor Gray.
   ======================================================================== */

:root,
[data-theme='dark'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6.5vw, 7rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts — Space Grotesk as Porsche Next Wide stand-in */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Brand colors (from brand standards page) */
  --brand-carbon: #080B0D;
  --brand-vector: #0F2B2E;
  --brand-green: #A6E22E;
  --brand-green-bright: #B6EF3E;
  --brand-green-dim: #7BA820;
  --brand-vapor: #E6E6E6;
  --brand-white: #FFFFFF;

  /* Surfaces — carbon black dominant */
  --color-bg: #080B0D;
  --color-surface: #0E1214;
  --color-surface-2: #131719;
  --color-surface-offset: #1A1E20;
  --color-surface-offset-2: #23282B;
  --color-divider: rgba(230, 230, 230, 0.08);
  --color-border: rgba(230, 230, 230, 0.14);

  /* Text — vapor whites */
  --color-text: #F3F4F5;
  --color-text-muted: #A8ADB0;
  --color-text-faint: #6B7275;
  --color-text-inverse: #080B0D;

  /* Primary — hydrogen green */
  --color-primary: #A6E22E;
  --color-primary-hover: #B6EF3E;
  --color-primary-active: #C6FA55;
  --color-primary-highlight: rgba(166, 226, 46, 0.14);

  /* Accent — deep vector teal (rare, atmospheric only) */
  --color-accent: #A6E22E;
  --color-accent-deep: #0F2B2E;

  /* Deep sections */
  --color-deep: #050708;
  --color-deep-2: #0F2B2E;

  --color-success: #A6E22E;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(166, 226, 46, 0.45), 0 12px 48px rgba(166, 226, 46, 0.28);

  --content-narrow: 720px;
  --content-default: 1080px;
  --content-wide: 1280px;
}

[data-theme='light'] {
  /* Vapor-gray backdrop, carbon text, green accents */
  --color-bg: #F3F4F5;
  --color-surface: #FFFFFF;
  --color-surface-2: #FBFBFC;
  --color-surface-offset: #E6E6E6;
  --color-surface-offset-2: #D8D9DA;
  --color-divider: rgba(8, 11, 13, 0.10);
  --color-border: rgba(8, 11, 13, 0.18);

  --color-text: #080B0D;
  --color-text-muted: #4A4F52;
  --color-text-faint: #86898C;
  --color-text-inverse: #FFFFFF;

  --color-primary: #567918;
  --color-primary-hover: #6E9720;
  --color-primary-active: #85B627;
  --color-primary-highlight: rgba(166, 226, 46, 0.22);

  --color-accent: #567918;
  --color-accent-deep: #0F2B2E;

  --color-deep: #080B0D;
  --color-deep-2: #0F2B2E;

  --shadow-sm: 0 1px 2px rgba(8, 11, 13, 0.06);
  --shadow-md: 0 8px 24px rgba(8, 11, 13, 0.08);
  --shadow-lg: 0 24px 64px rgba(8, 11, 13, 0.14);
  --shadow-glow: 0 0 0 1px rgba(86, 121, 24, 0.4), 0 8px 40px rgba(166, 226, 46, 0.25);
}

/* ========================================================================
   LAYOUT PRIMITIVES
   ======================================================================== */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 4vw, var(--space-10));
}

.container--narrow { max-width: var(--content-default); }
.container--tight  { max-width: var(--content-narrow); }

section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  position: relative;
}

/* ========================================================================
   HEADER / NAV
   ======================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}

.header--scrolled { border-bottom-color: var(--color-divider); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--color-text);
}
.brand__mark-img {
  display: block;
  height: 32px;
  width: auto;
  flex-shrink: 0;
}
.brand__divider {
  display: inline-block;
  width: 1px;
  height: 32px;
  background: currentColor;
  opacity: 0.28;
  flex-shrink: 0;
}
.brand__stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
}
.brand__wordmark-img {
  display: block;
  height: 15px;
  width: auto;
}
.brand__stack small {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  color: var(--color-text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
/* Light theme: wordmark PNG is white-on-transparent; on light backgrounds, invert to dark */
[data-theme='light'] .brand__wordmark-img {
  filter: invert(1) brightness(0.15);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__list {
  display: none;
  gap: var(--space-6);
  align-items: center;
  list-style: none;
}

@media (min-width: 900px) {
  .nav__list { display: flex; }
}

.nav__list a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.nav__list a:hover { color: var(--color-text); }

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.theme-toggle:hover { color: var(--color-text); border-color: var(--color-primary); }

/* ========================================================================
   BUTTONS
   ======================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-text-inverse);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 126, 168, 0.35);
}
[data-theme='dark'] .btn--accent {
  color: #020617;
  box-shadow: 0 8px 32px rgba(166, 226, 46, 0.35);
}
.btn--accent:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn--on-dark {
  background: rgba(255,255,255,0.08);
  color: #F3F4F5;
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn--on-dark:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }

/* ========================================================================
   HERO
   ======================================================================== */

.hero {
  position: relative;
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  color: #F3F4F5;
  background:
    radial-gradient(90% 70% at 82% 8%, rgba(166, 226, 46, 0.24), transparent 55%),
    radial-gradient(70% 60% at 12% 100%, rgba(15, 43, 46, 0.65), transparent 60%),
    linear-gradient(180deg, #080B0D 0%, #080B0D 55%, #0A1214 100%);
  overflow: hidden;
}

html, body { overflow-x: hidden; }
[data-theme='light'] .hero {
  color: var(--brand-carbon);
  background:
    radial-gradient(80% 70% at 82% 8%, rgba(166, 226, 46, 0.32), transparent 55%),
    radial-gradient(70% 60% at 12% 100%, rgba(15, 43, 46, 0.06), transparent 60%),
    linear-gradient(180deg, #F3F4F5 0%, #E6E6E6 100%);
}
[data-theme='light'] .hero__grid-bg {
  background-image:
    linear-gradient(rgba(8,11,13,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,11,13,0.045) 1px, transparent 1px);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  right: -10%;
  top: 20%;
  width: 45vw;
  height: 45vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(166, 226, 46, 0.35), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-8);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(var(--space-8), 4.5vw, var(--space-12));
    align-items: center;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-width: 0;
}

.hero__media {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.65),
              0 0 0 1px rgba(166, 226, 46, 0.12);
  background: #0A0D10;
}
@media (min-width: 900px) {
  .hero__media {
    aspect-ratio: 16 / 9;
  }
}
.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__media-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 30% 70%, rgba(166,226,46,0.14), transparent 70%),
    linear-gradient(180deg, rgba(8,11,13,0) 55%, rgba(8,11,13,0.55) 100%);
}

.hero__logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 32px);
  margin-bottom: var(--space-6);
  animation: heroLogoIn 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero__logo-mark {
  display: block;
  flex-shrink: 0;
  height: clamp(7rem, 11vw, 10rem);
  width: auto;
  filter: drop-shadow(0 0 24px rgba(166, 226, 46, 0.28));
}
.hero__logo-divider {
  display: inline-block;
  width: 2px;
  height: clamp(7rem, 11vw, 10rem);
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
[data-theme='light'] .hero__logo-divider { background: rgba(8,11,13,0.28); }
.hero__logo-lockup {
  display: block;
  height: clamp(5.5rem, 9vw, 8rem);
  width: auto;
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
}
[data-theme='light'] .hero__logo-lockup {
  /* Invert luminance so white text becomes dark, keep green intact via hue-rotate composition */
  filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(1.1);
}
.hero__logo-word {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 0.95;
  color: #FFFFFF;
  align-items: flex-start;
}
[data-theme='light'] .hero__logo-word { color: var(--brand-carbon); }
.hero__logo-name {
  font-family: 'Saira', 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  font-style: italic;
  font-stretch: 125%;
  letter-spacing: 0.005em;
  color: inherit;
  line-height: 1;
}
.hero__logo-strap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  font-family: 'Saira', 'Space Grotesk', system-ui, sans-serif;
  font-style: italic;
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(0.65rem, 0.85vw, 0.78rem);
  letter-spacing: 0.04em;
  color: #FFFFFF;
  text-transform: uppercase;
}
[data-theme='light'] .hero__logo-strap { color: var(--brand-carbon); }
.hero__logo-strap-line--accent { color: var(--brand-green); }

.hero__logo-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.85;
  margin-top: 4px;
}
.hero__logo-tag-line {
  flex: 1 1 auto;
  min-width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
  .hero__logo { gap: var(--space-4); margin-bottom: var(--space-8); }
  .hero__logo-mark { width: 108px; height: 108px; }
}
@media (max-width: 480px) {
  .hero__logo-mark { width: 82px; height: 82px; }
  .hero__logo-tag-line { flex-basis: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__logo { animation: none; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(166, 226, 46, 0.3);
  border-radius: var(--radius-full);
  background: rgba(166, 226, 46, 0.08);
  color: #B6EF3E;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  width: max-content;
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A6E22E;
  box-shadow: 0 0 12px #A6E22E;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 20ch;
  color: #fff;
}

.hero__title .accent {
  background: linear-gradient(135deg, #A6E22E 0%, #7BA820 60%, #F3F4F5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 400;
  /* Italic glyphs slant past their box — add right padding so the terminal
     letter isn’t clipped by neighboring text or overflow:hidden ancestors. */
  padding-right: 0.12em;
  margin-right: -0.05em;
  display: inline-block;
}

.hero__lede {
  font-size: var(--text-lg);
  max-width: 56ch;
  color: #b6c3d6;
  font-weight: 400;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-6) var(--space-10);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #A8ADB0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--space-2);
}

/* ========================================================================
   MARQUEE / TRUST BAR
   ======================================================================== */

.marquee {
  padding-block: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #A8ADB0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  text-align: center;
}

.marquee__row {
  display: flex;
  gap: var(--space-12);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #4A4F52;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marquee__row span { display: inline-flex; align-items: center; gap: var(--space-2); }

/* ========================================================================
   FEATURE / VALUE PROPS
   ======================================================================== */

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.section__label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 20ch;
  color: var(--color-text);
}

.section__lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-top: var(--space-5);
  font-weight: 400;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.feature {
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  transition: border-color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
  position: relative;
  overflow: hidden;
}

.feature:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.feature__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.feature__body {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.55;
}

/* ========================================================================
   HOW IT WORKS — STEPS
   ======================================================================== */

.how {
  background: var(--color-surface-offset);
  border-block: 1px solid var(--color-divider);
}

.how__grid {
  display: grid;
  gap: var(--space-12);
  grid-template-columns: 1fr;
  align-items: start;
  margin-top: var(--space-12);
}

@media (min-width: 900px) {
  .how__grid { grid-template-columns: 5fr 6fr; gap: var(--space-16); }
}

.steps { display: grid; gap: var(--space-6); }

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-divider);
}
.step:first-child { border-top: none; padding-top: 0; }

.step__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.step__body { color: var(--color-text-muted); font-size: var(--text-base); }

.how__visual {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-deep);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 5;
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: var(--space-8);
  color: #F3F4F5;
  position: relative;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.h2-formula {
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 480px) {
  .how__visual { padding: var(--space-6) var(--space-4); min-height: 420px; }
  .h2-formula { font-size: var(--text-lg); }
}

.how__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 50% 20%, rgba(166, 226, 46, 0.25), transparent 70%),
    linear-gradient(180deg, #0F2B2E, #080B0D);
}

.how__visual-inner { position: relative; z-index: 2; text-align: center; width: 100%; }

.h2-atom {
  width: min(280px, 60%);
  aspect-ratio: 1;
  margin: 0 auto var(--space-6);
  position: relative;
}

.h2-atom svg { width: 100%; height: 100%; overflow: visible; }

.h2-caption {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A8ADB0;
}

.h2-formula {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #fff;
  margin-top: var(--space-4);
  letter-spacing: -0.02em;
}

.h2-formula em { font-style: italic; color: #B6EF3E; font-weight: 400; }

@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.orbit-group { transform-origin: center; animation: orbit 12s linear infinite; }
.orbit-group--reverse { animation: orbit 16s linear infinite reverse; }

/* ========================================================================
   FLEET / DARK FEATURE SECTION
   ======================================================================== */

.fleet {
  background: linear-gradient(180deg, #080B0D 0%, #0A0D0F 100%);
  color: #F3F4F5;
  position: relative;
  overflow: hidden;
}

.fleet::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.fleet .section__label { color: #B6EF3E; }
.fleet .section__title { color: #fff; }
.fleet .section__lede { color: #b6c3d6; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
  z-index: 2;
}

.spec {
  padding: var(--space-6);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.spec__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.spec__unit { font-size: 0.6em; color: #A8ADB0; font-weight: 400; margin-left: 2px; }

.spec__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #A8ADB0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--space-3);
}

.spec__desc {
  font-size: var(--text-sm);
  color: #b6c3d6;
  margin-top: var(--space-2);
  line-height: 1.5;
}

/* ========================================================================
   COMPARISON / IMPACT
   ======================================================================== */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-12);
}

@media (min-width: 720px) {
  .compare-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}

.compare {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.compare--zero {
  background: var(--color-deep);
  color: #F3F4F5;
  border-color: #A6E22E33;
  box-shadow: 0 0 0 1px rgba(166, 226, 46, 0.15), 0 24px 60px rgba(166, 226, 46, 0.15);
  position: relative;
  overflow: hidden;
}
.compare--zero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(166, 226, 46, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.compare--zero .compare__title { color: #fff; }
.compare--zero .compare__eyebrow { color: #B6EF3E; }
.compare--zero .compare__row { border-color: rgba(255,255,255,0.1); }
.compare--zero .compare__label { color: #A8ADB0; }
.compare--zero .compare__value { color: #fff; }

.compare__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.compare__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.compare__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-divider);
}
.compare__row:first-of-type { border-top: none; padding-top: 0; }

.compare__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.compare__value {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}
.compare__value.pos { color: var(--color-accent); }

.compare__footnote {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 78ch;
  line-height: 1.6;
}
.compare__footnote a { color: var(--color-text-muted); text-decoration: underline; text-decoration-color: rgba(0,0,0,0.2); text-underline-offset: 2px; }
.compare__footnote a:hover { color: var(--color-text); text-decoration-color: currentColor; }
[data-theme="dark"] .compare__footnote a { text-decoration-color: rgba(255,255,255,0.25); }

/* ========================================================================
   DRIVERS / CAREERS
   ======================================================================== */

.drivers-section {
  background: linear-gradient(180deg, #080B0D 0%, #0F2B2E 100%);
  color: #F3F4F5;
  position: relative;
  overflow: hidden;
}

.drivers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 20% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.drivers-section .section__label { color: #B6EF3E; }
.drivers-section .section__title { color: #fff; }

.drivers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
  position: relative;
  z-index: 2;
}

@media (min-width: 900px) {
  .drivers { grid-template-columns: 7fr 5fr; gap: var(--space-16); }
}

.drivers__lede {
  font-size: var(--text-lg);
  color: #b6c3d6;
  max-width: 56ch;
  margin-top: var(--space-5);
  margin-bottom: var(--space-8);
  font-weight: 400;
}

.perks {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding: 0;
}

.perks li {
  padding-left: var(--space-6);
  position: relative;
  color: #cfd7e5;
  font-size: var(--text-base);
  max-width: 60ch;
}

.perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A6E22E, #7BA820);
  box-shadow: 0 0 12px rgba(166, 226, 46, 0.5);
}

.perks strong { color: #fff; font-weight: 600; }

.requirements {
  padding: var(--space-8);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
}

.requirements__title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B6EF3E;
  margin-bottom: var(--space-5);
  font-weight: 500;
}

.requirements ul {
  list-style: none;
  display: grid;
  gap: var(--space-4);
  padding: 0;
}

.requirements li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--space-3);
  align-items: start;
  color: #cfd7e5;
  font-size: var(--text-base);
  line-height: 1.5;
}

.requirements li svg {
  width: 18px;
  height: 18px;
  color: #A6E22E;
  margin-top: 4px;
}

.requirements strong { color: #fff; font-weight: 600; }

/* ========================================================================
   CTA / LEAD FORM
   ======================================================================== */

.cta-section { background: var(--color-surface-offset); }

.cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .cta { grid-template-columns: 5fr 6fr; gap: var(--space-16); }
}

.cta__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--color-text);
  max-width: 18ch;
}

.cta__lede {
  margin-top: var(--space-5);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 44ch;
}

.cta__contact {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.cta__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}
.cta__contact a:hover { color: var(--color-primary); }

.cta__contact svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

.form {
  display: grid;
  gap: var(--space-4);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 560px) {
  .form__row--split { grid-template-columns: 1fr 1fr; }
}

.field { display: grid; gap: var(--space-2); }

.field label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: var(--text-base);
  font-family: var(--font-body);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}

.field textarea { resize: vertical; min-height: 100px; }

.form__consent {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form__submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.form__success {
  display: none;
  padding: var(--space-6);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-text);
}

.form__success.active { display: block; }
.form.hidden { display: none; }

.form__error {
  color: #b91c1c;
  font-size: var(--text-sm);
  margin: 0 0 var(--space-3);
  min-height: 1em;
}
[data-theme="dark"] .form__error { color: #fca5a5; }

/* ========================================================================
   FOOTER
   ======================================================================== */

.footer {
  background: #080B0D;
  color: #b6c3d6;
  padding-block: var(--space-16) var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); }
}

.footer__brand p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: #A8ADB0;
  max-width: 40ch;
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B6EF3E;
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.footer__col ul { list-style: none; display: grid; gap: var(--space-3); }
.footer__col a {
  color: #b6c3d6;
  text-decoration: none;
  font-size: var(--text-sm);
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: #4A4F52;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ========================================================================
   SCROLL REVEALS
   ======================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Safety net — if JS never runs or IO fails, ensure content is visible */
.no-js .reveal,
html.reveals-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Mobile nav hidden fallback */
@media (max-width: 899px) {
  .nav__list { display: none; }
  .header__inner { gap: var(--space-3); }
  .brand__name small { display: none; }
  .brand__name b { font-size: 1rem; }
}

@media (max-width: 520px) {
  .header .btn--primary { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
  .theme-toggle { width: 36px; height: 36px; }
}

/* ========================================================================
   BRAND PILLARS
   ======================================================================== */

.pillars {
  position: relative;
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
  overflow: hidden;
}
.pillars::before {
  content: "";
  position: absolute;
  inset: -10% 40% auto -10%;
  height: 60%;
  background: radial-gradient(60% 80% at 20% 30%, rgba(166, 226, 46, 0.18), transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}
.pillars__intro { max-width: 720px; margin-bottom: var(--space-16); position: relative; z-index: 1; }
.pillars__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  padding: 0;
}
.pillar {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-interactive), border-color var(--transition-interactive), background var(--transition-interactive);
}
.pillar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-green) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-interactive);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 226, 46, 0.35);
}
.pillar:hover::after { opacity: 0.9; }
.pillar__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--brand-green);
  margin-bottom: var(--space-5);
}
.pillar__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-3) 0;
  letter-spacing: -0.01em;
}
.pillar__body {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ========================================================================
   WORDMARK — the final 'O' IS the brand mark (inline SVG glyph)
   ======================================================================== */

/* Brand mark PNG (extracted from brand standards) */
.brand__mark-img {
  display: block;
  height: 38px;
  width: auto;
}
.footer__brand .brand__mark-img {
  height: 34px;
}
@media (max-width: 720px) {
  .brand__mark-img { height: 32px; }
}
.brand__mark-inline {
  display: inline-block;
  vertical-align: middle;
  height: 1.25em;
  width: auto;
  margin-left: 0.02em;
  margin-right: -0.02em;
  transform: translateY(-0.05em);
}
.hero__logo-mark-inline {
  display: inline-block;
  vertical-align: middle;
  height: 1.25em;
  width: auto;
  margin-left: 0.02em;
  margin-right: -0.02em;
  transform: translateY(-0.05em);
}

/* ============================================================
   MOBILE NAV TOGGLE (hamburger + slide-down menu)
   ============================================================ */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.nav-toggle:hover { background: var(--color-surface-2); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 160ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: var(--space-3) 0;
}
.mobile-menu__list li { margin: 0; }
.mobile-menu__list a {
  display: block;
  padding: var(--space-3) var(--space-6);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: background 160ms ease, color 160ms ease;
}
.mobile-menu__list li:last-child a { border-bottom: none; }
.mobile-menu__list a:hover,
.mobile-menu__list a:focus-visible {
  background: var(--color-surface-2);
  color: var(--color-accent);
  outline: none;
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .header .header__cta { display: none; }
  .header__inner { flex-wrap: nowrap; }
}

/* CTA row inside the mobile menu */
.mobile-menu__list li:last-child a.mobile-menu__cta {
  margin: var(--space-3) var(--space-6);
  padding: var(--space-3) var(--space-5);
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: 999px;
  text-align: center;
  border: none;
  font-weight: 600;
}
.mobile-menu__list li:last-child a.mobile-menu__cta:hover {
  background: var(--color-accent-strong, var(--color-accent));
  color: var(--color-bg);
}
