:root {
  --red: #c9272d;
  --red-dark: #9e171e;
  --black: #050505;
  --ink: #2d2d30;
  --muted: #6f7074;
  --line: #e7e7e8;
  --soft: #f7f7f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0,0,0,.14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .2s ease, padding .2s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.08); padding-top: 12px; padding-bottom: 12px; }
.brand img { width: 260px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.site-nav a { padding: 10px 14px; border-radius: 999px; color: #3c3c3f; }
.site-nav a:hover { background: #f1f1f2; }
.site-nav .nav-cta { background: var(--red); color: #fff; box-shadow: 0 12px 24px rgba(201,39,45,.28); }
.site-nav .nav-cta:hover { background: var(--red-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--red); padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; }

.section-dark {
  background:
    radial-gradient(circle at 15% 20%, rgba(201,39,45,.34), transparent 34%),
    linear-gradient(135deg, #050505 0%, #161616 52%, #080808 100%);
  color: #fff;
}
.hero { padding: 170px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--red); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 900; }
.section-dark .eyebrow { color: #ff4f56; }
h1, h2, h3 { line-height: 1.04; margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(44px, 7vw, 82px); max-width: 850px; }
h2 { font-size: clamp(34px, 4vw, 58px); }
h3 { font-size: 26px; letter-spacing: -.03em; }
.hero-text { font-size: 20px; color: rgba(255,255,255,.78); max-width: 680px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 900; border: 1px solid transparent; }
.button-primary { background: var(--red); color: #fff; box-shadow: 0 18px 36px rgba(201,39,45,.35); }
.button-primary:hover { background: #e03138; transform: translateY(-1px); }
.button-ghost { border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.05); }
.hero-note { display: inline-flex; margin-top: 24px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 700; }
.hero-card { position: relative; min-height: 540px; border: 1px solid rgba(255,255,255,.14); border-radius: 36px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); box-shadow: 0 30px 90px rgba(0,0,0,.45); padding: 34px; overflow: hidden; }
.hero-card:before { content: ""; position: absolute; inset: -160px -120px auto auto; width: 380px; height: 380px; border-radius: 50%; background: rgba(201,39,45,.34); filter: blur(10px); }
.hero-logo { position: relative; width: min(440px, 100%); margin-bottom: 54px; }
.route-panel { position: relative; display: grid; gap: 22px; padding: 18px; }
.route-line { position: absolute; left: 35px; top: 38px; bottom: 38px; width: 3px; background: linear-gradient(var(--red), rgba(255,255,255,.18)); border-radius: 999px; }
.route-stop { position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; padding: 20px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.route-stop span { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--red); z-index: 2; }
.route-stop strong { font-size: 20px; }
.route-stop em { color: rgba(255,255,255,.6); font-style: normal; font-weight: 800; }
.route-stop.active { background: rgba(201,39,45,.22); }

.metrics-strip { border-bottom: 1px solid var(--line); background: #fff; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metrics-grid div { padding: 28px 24px; border-left: 1px solid var(--line); }
.metrics-grid div:last-child { border-right: 1px solid var(--line); }
.metrics-grid strong { display: block; font-size: 18px; }
.metrics-grid span { color: var(--muted); font-size: 14px; }

.section { padding: 96px 0; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p:not(.eyebrow), .platform-copy p, .cta p { color: var(--muted); font-size: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.product-card { grid-column: span 2; min-height: 350px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.05); display: flex; flex-direction: column; align-items: flex-start; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 3; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201,39,45,.26); }
.product-card.featured { background: linear-gradient(180deg, #fff, #fff7f7); border-color: rgba(201,39,45,.28); }
.product-card p { color: var(--muted); margin: 16px 0 24px; }
.product-logo-img { width: 100%; max-height: 86px; object-fit: contain; object-position: left center; margin-bottom: 28px; }
.product-logo-img.hemisphere { max-width: 310px; }
.product-logo-img.companion { max-width: 360px; }
.text-logo { min-height: 86px; display: flex; flex-direction: column; justify-content: center; margin-bottom: 28px; color: var(--red); }
.text-logo span { font-size: 32px; line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.text-logo strong { color: #333; font-size: 25px; line-height: 1.1; font-weight: 500; }
.status-pill { margin-top: auto; display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #fff1f1; color: var(--red); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.section-muted { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platform-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 700; }
.check-list li:before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 5px #fff; }
.platform-panel { background: #111; color: #fff; border-radius: 34px; padding: 28px; box-shadow: var(--shadow); }
.panel-topline { color: #ff565d; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 900; margin-bottom: 18px; }
.stack-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); margin-top: 12px; }
.stack-row span { color: #ff565d; font-weight: 900; }
.stack-row em { font-style: normal; color: rgba(255,255,255,.58); font-weight: 800; }

.cta { padding: 88px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; }
.cta-card { background: #fff; color: var(--ink); border-radius: 30px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.cta-card span { display: block; color: var(--muted); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.cta-card a { display: block; color: var(--red); font-size: clamp(22px, 3vw, 30px); font-weight: 950; margin: 8px 0; word-break: break-word; }
.cta-card p { font-size: 15px; margin-bottom: 0; }

.site-footer { padding: 34px 0; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 230px 1fr auto; gap: 24px; align-items: center; }
.footer-grid img { width: 230px; }
.footer-grid strong, .footer-grid span { display: block; }
.footer-grid span { color: var(--muted); }
.footer-grid a { color: var(--red); font-weight: 900; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 940px) {
  .brand img { width: 220px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .hero-grid, .platform-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero-card { min-height: auto; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .site-header { padding-left: 14px; padding-right: 14px; }
  .brand img { width: 190px; }
  .hero { padding-bottom: 70px; }
  h1 { font-size: 42px; }
  .metrics-grid, .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: auto; }
  .route-stop { grid-template-columns: 28px 1fr; }
  .route-stop em { grid-column: 2; }
  .stack-row { grid-template-columns: 38px 1fr; }
  .stack-row em { grid-column: 2; }
}
