/* ============================================
   CHEMWORKS — Design System & Custom Styles
   Editorial Luxury · Blue & Green · Performance
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors — Royal blue family (no navy / no black) */
  --blue-950: #1E3A8A;
  --blue-900: #1E40AF;
  --blue-800: #2563EB;
  --blue-700: #3B82F6;
  --blue-600: #60A5FA;
  --blue-500: #93C5FD;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;

  /* Green accent — variable names retained as --orange-* for backward compatibility with inline styles */
  --orange-600: #0F8A4F;
  --orange-500: #16A36A;
  --orange-400: #34BD83;
  --orange-100: #DDF5E8;
  --orange-50: #F0FAF4;

  /* Neutrals — cool slate-toned text, warm cream backgrounds */
  --cream: #FDFBF7;
  --cream-dark: #F5F1EB;
  --bone: #EDE8E0;
  --text-primary: #1E293B;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
  --border: #E5E2DC;
  --border-light: #EDEAE4;
  --white: #FFFFFF;

  /* Typography */
  /* Type — display = Big Shoulders Display (heavy & blocky), text = DM Sans */
  /* Variable names retained for backward compat: --font-serif drives display, --font-mono drives labels (no actual mono) */
  --font-serif: 'Big Shoulders Display', 'Arial Black', sans-serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(5rem, 10vw, 8rem);
  --container-max: 1480px;
  --container-wide: 1640px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-base: 0.6s;
  --duration-slow: 0.9s;
  --duration-fast: 0.3s;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; overflow: visible; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.container--wide {
  max-width: var(--container-wide);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.005em;
}

.headline-xl {
  font-size: clamp(3.6rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
}
.headline-lg {
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.005em;
}
.headline-md {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.05;
}
.headline-sm {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.1;
}

.body-lg {
  font-size: 1.3rem;
  line-height: 1.7;
  max-width: 65ch;
}
.body-md {
  font-size: 1.125rem;
  line-height: 1.65;
}
.body-sm {
  font-size: 1rem;
  line-height: 1.6;
}

.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.text-blue { color: var(--blue-700); }
.text-orange { color: var(--orange-500); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.95em;
  letter-spacing: 0.02em;
}

/* Eyebrow / Tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--orange-500);
}

/* --- Film Grain Overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--duration-base) var(--ease-out-expo);
}
.nav.scrolled {
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.65rem;
  color: var(--blue-900);
  letter-spacing: 0;
  text-transform: uppercase;
}
.nav__logo span {
  color: var(--orange-500);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav__links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
  position: relative;
}
.nav__links a:hover {
  color: var(--text-primary);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange-500);
  transition: width var(--duration-base) var(--ease-out-expo);
}
.nav__links a:hover::after {
  width: 100%;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--blue-900);
  color: var(--white) !important;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--duration-fast) var(--ease-out-expo);
}
.nav__cta:hover {
  background: var(--blue-800);
  transform: translateY(-1px);
}
.nav__cta::after { display: none !important; }

/* Mobile Nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 0;
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--duration-base) var(--ease-out-expo);
  transform-origin: center;
}
.nav__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav__mobile.active {
  display: flex;
}
.nav__mobile a {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: all var(--duration-slow) var(--ease-out-expo);
}
.nav__mobile.active a {
  opacity: 1;
  transform: translateY(0);
}
.nav__mobile.active a:nth-child(1) { transition-delay: 0.1s; }
.nav__mobile.active a:nth-child(2) { transition-delay: 0.15s; }
.nav__mobile.active a:nth-child(3) { transition-delay: 0.2s; }
.nav__mobile.active a:nth-child(4) { transition-delay: 0.25s; }
.nav__mobile.active a:nth-child(5) { transition-delay: 0.3s; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* --- Sections --- */
.section {
  padding: var(--section-pad) 0;
}
.section--full {
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
.section--full > .container {
  width: 100%;
}
.section--dark {
  background: var(--blue-950);
  color: var(--cream);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--white);
}
.section--dark .text-muted { color: rgba(255,255,255,0.55); }
.section--dark .eyebrow { color: var(--orange-400); }
.section--dark .eyebrow::before { background: var(--orange-400); }

.section--blue {
  background: var(--blue-900);
  color: var(--cream);
}
.section--blue h1, .section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue .text-muted { color: rgba(255,255,255,0.55); }

.section--cream-dark {
  background: var(--cream-dark);
}

/* --- Hero --- */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero__badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  color: var(--orange-600);
}
.hero__subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 640px;
  opacity: 0.08;
  z-index: 1;
}

/* Video placeholder */
.hero__video-space {
  margin-top: 4rem;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--blue-950);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero__video-space::after {
  content: 'Hero video placeholder';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.0625rem;
  border-radius: 4px;
  transition: all var(--duration-fast) var(--ease-out-expo);
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  padding: 1rem 2.25rem;
  background: var(--blue-900);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--blue-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(15, 33, 64, 0.15);
}
.btn--secondary {
  padding: 1rem 2.25rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--secondary:hover {
  border-color: var(--text-muted);
  background: var(--white);
}
.btn--orange {
  padding: 1rem 2.25rem;
  background: var(--orange-500);
  color: var(--white);
}
.btn--orange:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 119, 42, 0.2);
}
.btn--ghost {
  padding: 0.5rem 0;
  color: var(--orange-600);
  font-weight: 600;
}
.btn--ghost:hover {
  color: var(--orange-500);
}
.btn--ghost .arrow {
  transition: transform var(--duration-fast) var(--ease-out-expo);
}
.btn--ghost:hover .arrow {
  transform: translateX(4px);
}
.btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* Light variants for dark sections */
.section--dark .btn--primary,
.section--blue .btn--primary {
  background: var(--orange-500);
  color: var(--white);
}
.section--dark .btn--primary:hover,
.section--blue .btn--primary:hover {
  background: var(--orange-400);
}
.section--dark .btn--secondary,
.section--blue .btn--secondary {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

/* --- Metric Cards --- */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.metric {
  padding: 2rem 2.5rem;
  background: var(--white);
}
.metric__value {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.6rem, 4.2vw, 3.4rem);
  color: var(--blue-900);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}
.metric__value span {
  color: var(--orange-500);
}
.metric__label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  --accent: var(--blue-800);
  --accent-bg: rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: background var(--duration-base) var(--ease-out-expo),
              color var(--duration-base) var(--ease-out-expo),
              border-color var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
/* Color variants — each card gets its own hue across the blue→teal→green spectrum */
.feature-card--blue    { --accent: #2563EB; --accent-bg: rgba(37, 99, 235, 0.10); }
.feature-card--sky     { --accent: #3B82F6; --accent-bg: rgba(59, 130, 246, 0.10); }
.feature-card--teal    { --accent: #0D9488; --accent-bg: rgba(13, 148, 136, 0.10); }
.feature-card--cyan    { --accent: #0EA5E9; --accent-bg: rgba(14, 165, 233, 0.10); }
.feature-card--emerald { --accent: #16A36A; --accent-bg: rgba(22, 163, 106, 0.10); }
.feature-card--forest  { --accent: #0F8A4F; --accent-bg: rgba(15, 138, 79, 0.10); }

.feature-card:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 18px 50px -10px var(--accent);
  transform: translateY(-6px);
}
.feature-card:hover .feature-card__title { color: var(--white); }
.feature-card:hover .feature-card__text  { color: rgba(255, 255, 255, 0.88); }
.feature-card:hover .feature-card__icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  transform: scale(1.05) rotate(-3deg);
}

.feature-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background: var(--accent-bg);
  color: var(--accent);
  transition: background var(--duration-base) var(--ease-out-expo),
              color var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
}
/* Legacy icon modifiers — kept for any non-product feature-cards; overridden by card-level accent on product cards */
.feature-card__icon--blue {
  background: var(--blue-50);
  color: var(--blue-700);
}
.feature-card__icon--orange {
  background: var(--orange-50);
  color: var(--orange-500);
}
.feature-card__title {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.feature-card__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Span-2 feature card */
.feature-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .feature-card--wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}
@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
}
.process-step {
  position: relative;
}
.process-step__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--orange-500);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.process-step__title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.process-step__text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* --- Flywheel Section --- */
.flywheel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 768px) {
  .flywheel { grid-template-columns: 1fr; gap: 3rem; }
}
.flywheel__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Partners / Trust --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.trust-card {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: all var(--duration-base) var(--ease-out-expo);
}
.trust-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}
.trust-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--orange-400);
}
.trust-card__title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.trust-card__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-section .headline-lg {
  margin-bottom: 1.25rem;
}
.cta-section .body-lg {
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.footer__brand {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--blue-900);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0;
}
.footer__brand span { color: var(--orange-500); }
.footer__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}
.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__list a {
  font-size: 1rem;
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
}
.footer__list a:hover { color: var(--text-primary); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-faint);
}
@media (max-width: 768px) {
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* --- Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}
.divider--orange {
  width: 3rem;
  height: 2px;
  background: var(--orange-500);
  margin-bottom: 2rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  filter: blur(4px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  .comparison { grid-template-columns: 1fr; }
}
.comparison__card {
  padding: 2.5rem;
  border-radius: 8px;
  font-size: 1.0625rem;
}
.comparison__card--old {
  background: var(--cream-dark);
  border: 1px solid var(--border);
}
.comparison__card--new {
  background: var(--blue-950);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
}
.comparison__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .comparison__vs { padding: 1rem 0; }
}

.comparison__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.comparison__card--new .comparison__item {
  border-bottom-color: rgba(255,255,255,0.06);
}
.comparison__item:last-child { border-bottom: none; }
.comparison__icon { flex-shrink: 0; margin-top: 2px; }

/* --- Form --- */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}
.form-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color var(--duration-fast) ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-50);
}
.form-input::placeholder {
  color: var(--text-faint);
}
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* --- Marquee --- */
.marquee-wrap {
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee {
  display: flex;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.marquee__item::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-400);
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Page Header (for subpages) --- */
.page-header {
  padding: 10rem 0 4rem;
  background: var(--blue-950);
  color: var(--white);
}
.page-header h1 { color: var(--white); }
.page-header .body-lg { color: rgba(255,255,255,0.6); }

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  transform: translateX(-50%);
  margin-left: 0.5px;
}
.timeline__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.timeline__text {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* --- Contact Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; filter: none; }
  .marquee { animation: none; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-indicator__line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
  animation: scroll-pulse 2s ease infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 1; height: 2rem; }
  50% { opacity: 0.3; height: 1rem; }
}
