:root {
  --night: #030b18;
  --navy: #07162c;
  --blue: #102a52;
  --cyan: #56f0dc;
  --ice: #b9fff4;
  --gold: #f5c84c;
  --soft-gold: #f4d98a;
  --orange: #ff8a42;
  --paper: #f4f7f7;
  --ink: #102033;
  --muted: #7f91a6;
  --line: rgba(146, 222, 222, .2);
  --max: 1240px;
  --type-body: 18px;
  --type-intro: 20px;
  --type-fine: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: #fff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: var(--type-body);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(3, 11, 24, .88); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.brand {
  display: block;
  width: 220px;
  height: 52px;
  background: url("assets/rapid-lightning-gold.svg") center / contain no-repeat;
  filter:
    drop-shadow(0 0 .35rem rgba(255, 221, 132, .22))
    drop-shadow(0 .12rem .18rem rgba(0, 0, 0, .58));
}
.brand img { display: none; }
.site-footer img { display: none; }
.site-nav {
  display: flex; gap: 0; align-items: center;
  color: #8e8e93;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--type-fine);
  font-weight: 500;
}
.site-nav a {
  position: relative;
  width: 86px;
  padding: 5px 0;
  text-align: center;
}
.site-nav a.active {
  color: #fff;
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 65px;
  height: 2px;
  border-radius: 2px;
  background: #00d4aa;
  transform: translateX(-50%);
}
.text-link:hover { color: var(--cyan); }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; color: white; padding: 9px 14px; border-radius: 6px; }
.menu-label { display: inline; }
.menu-icon { display: none; position: relative; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; border-radius: inherit; background: currentColor; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.hero {
  position: relative; min-height: min(860px, calc(100svh - 80px)); display: grid;
  grid-template-columns: minmax(0, 660px) 1fr; align-items: center; gap: 5vw;
  padding: 72px max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 10, 29, .94) 0%, rgba(2, 10, 29, .78) 32%, rgba(2, 10, 29, .12) 64%, rgba(2, 10, 29, .08) 100%),
    linear-gradient(0deg, rgba(2, 9, 23, .72) 0%, transparent 32%),
    var(--night) url("assets/lunar-rover-hero.jpg") center center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(142,255,236,.55) .7px, transparent .7px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.hero-mobile-art { display: none; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { color: #60a5fa; }
.hero h1 { max-width: 760px; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.035em; }
h1 { color: var(--soft-gold); font-size: clamp(2.6rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2.4rem, 5vw, 3.65rem); }
h3 { font-size: 1.6rem; }
.eyebrow { color: var(--cyan); font-weight: 700; letter-spacing: .17em; text-transform: uppercase; font-size: 13px; }
.mobile-break { display: none; }
.tablet-break { display: none; }
.lede { max-width: 610px; margin: 24px 0; color: #cddbe5; font-size: var(--type-intro); }
.trust-line { margin-top: 30px; color: var(--ice); font-size: var(--type-fine); letter-spacing: .04em; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; padding: 13px 20px; border-radius: 7px; font-weight: 700; }
.primary { background: #3b82f6; color: #ffffff; }
.button[aria-disabled="true"] { cursor: default; opacity: .72; }
.secondary { border: 1px solid rgba(152, 255, 238, .36); background: rgba(10, 35, 60, .5); }
.proof-strip {
  display: grid; grid-template-columns: repeat(3, 105px) 1fr; align-items: center; column-gap: 28px; row-gap: 18px;
  padding: 22px max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(90deg, #0e3153, #0a203a); border-block: 1px solid var(--line);
}
.proof-strip div { display: flex; align-items: baseline; justify-content: center; gap: 9px; }
.proof-strip strong { color: var(--gold); font-size: 1.5rem; }
.proof-strip span { color: #fff; font-size: 1.5rem; font-weight: 700; }
.proof-strip p { margin: 0; color: #aebdcc; text-align: right; }
.section { max-width: var(--max); margin: 0 auto; padding: 50px 24px; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: center; border-top: 1px solid var(--line); }
.section-copy p:not(.eyebrow), .viewer-callout p:not(.eyebrow), .page-copy, .page-copy p { color: #aebdcc; font-size: var(--type-body); max-width: 670px; }
.page-copy h3:not(:first-of-type) { margin-top: 28px; }
.text-link { display: inline-block; margin-top: 20px; color: var(--ice); font-weight: 700; }
.text-link span { color: var(--gold); padding-left: 5px; }
.product-mark { overflow: hidden; border-radius: 26px; background: transparent; }
.product-mark img { width: 100%; height: auto; margin: 0; border-radius: 26px; filter: drop-shadow(0 28px 26px rgba(0,0,0,.35)); }
.gallery-preview { max-width: none; background: #f5f1e7; color: var(--ink); padding-inline: max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid rgba(7, 22, 44, .14); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.gallery-preview .eyebrow { color: #087f89; }
.gallery-preview .text-link { color: #07576c; }
.product-tour { display: grid; gap: clamp(58px, 7vw, 96px); }
.tour-result { display: grid; gap: 28px; }
.tour-result .tour-copy { max-width: 780px; }
.tour-result .tour-image { width: 100%; background: #07182b; }
.webviewer-embed { width: 100%; aspect-ratio: 3840 / 2024; overflow: hidden; border: 1px solid rgba(6, 67, 88, .2); border-radius: 18px; background: #07182b; box-shadow: 0 24px 58px rgba(15, 43, 61, .2); }
.webviewer-embed iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.viewer-interaction-note { display: flex; grid-column: 1 / -1; align-items: center; gap: 16px; margin-top: -4px; }
.viewer-interaction-note img { display: block; flex: 0 0 66px !important; width: 66px !important; height: 66px !important; border-radius: 12px; object-fit: cover; }
.viewer-interaction-note p { margin: 0; color: #516477; font-size: var(--type-body); line-height: 1.45; }
.tour-breakdown-heading { padding-top: clamp(10px, 2vw, 28px); }
.tour-breakdown-heading h3 { margin: 0; color: var(--ink); font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; }
.tour-row { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.tour-row-reverse { grid-template-columns: minmax(260px, .75fr) minmax(0, 1.65fr); }
.tour-row-reverse .tour-image { order: 2; }
.tour-image { display: block; width: 100%; overflow: hidden; padding: 0; border: 1px solid rgba(6, 67, 88, .2); border-radius: 18px; background: #07182b; box-shadow: 0 24px 58px rgba(15, 43, 61, .2); cursor: zoom-in; appearance: none; }
.tour-image img { display: block; width: 100%; height: auto; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 5vh 5vw; background: rgba(1, 7, 15, .84); backdrop-filter: blur(8px); }
.lightbox-panel { position: relative; display: grid; place-items: center; max-width: 80vw; max-height: 80vh; }
.lightbox-image { display: block; max-width: 80vw; max-height: 80vh; border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.lightbox-close { position: absolute; z-index: 1; top: -22px; right: -22px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 4px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; color: #fff; background: #07182b; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); font: 400 2rem/1 sans-serif; cursor: pointer; }
.lightbox-close:hover,
.lightbox-close:focus-visible { color: #07182b; background: var(--cyan); outline: none; }
body.lightbox-open { overflow: hidden; }
.tour-copy h3 { margin: 0 0 18px; color: var(--ink); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; }
.tour-copy > p:last-child { margin-bottom: 0; color: #516477; font-size: var(--type-body); }
@media (max-width: 640px) {
  .viewer-interaction-note { align-items: flex-start; gap: 12px; }
  .viewer-interaction-note img { flex-basis: 54px !important; width: 54px !important; height: 54px !important; border-radius: 10px; }
}
.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 330px 260px; gap: 18px; }
.feature-card { position: relative; overflow: hidden; border-radius: 18px; background: #0b1a2c; }
.feature-card.tall { grid-row: span 2; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.feature-card:hover img { transform: scale(1.025); }
.card-overlay { position: absolute; inset: auto 0 0; display: grid; gap: 4px; padding: 55px 24px 22px; color: white; background: linear-gradient(transparent, rgba(2,9,18,.93)); }
.card-overlay small { color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; }
.card-overlay strong { font-size: 1.35rem; }
.quote-card { padding: 36px; color: white; background: linear-gradient(135deg, #0a3150, #07192e); }
.quote-card p { font-size: 1.8rem; line-height: 1.18; margin: 0 0 25px; }
.quote-card span { color: #a6bbc9; }
.viewer-callout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; align-items: center; }
.viewer-callout figure { margin: 0; }
.viewer-callout img { border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.final-cta { padding-block: 72px; text-align: center; border-top: 1px solid var(--line); }
.final-cta .product-name { color: var(--soft-gold); }
.final-cta p:not(.eyebrow) { color: #aebdcc; font-size: var(--type-intro); }
.final-cta .button-row { justify-content: center; }
.site-footer { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; padding: 44px max(24px, calc((100vw - var(--max)) / 2)); background: #020711; border-top: 1px solid var(--line); color: #8fa1b4; font-size: var(--type-fine); }
.site-footer div { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.site-footer a.active { font-weight: 700; }
.site-footer p { width: 100%; margin: 0; text-align: center; color: var(--soft-gold); }

.page-hero { min-height: 420px; display: grid; align-content: end; padding: 90px max(24px, calc((100vw - var(--max)) / 2)); background: radial-gradient(circle at 80% 20%, rgba(37,221,206,.18), transparent 30%), linear-gradient(140deg, #031021, #0b3156); }
.page-hero h1 { max-width: 920px; }
.page-hero p { max-width: 720px; color: #bdced9; font-size: var(--type-intro); }
.contact-section {
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  background: radial-gradient(circle at 80% 20%, rgba(37,221,206,.18), transparent 30%), linear-gradient(140deg, #031021, #0b3156);
  color: #fff;
}
.contact-section p,
.contact-section a { color: #fff; }
.contact-logo { display: block; width: min(280px, 70vw); height: auto; margin: 26px 0 24px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #08182c; }
.info-card strong { display: block; color: var(--soft-gold); font-size: 2rem; margin-bottom: 10px; }
.workflow-top { position: relative; display: flex; justify-content: center; align-items: center; height: 190px; margin-bottom: 16px; }
.workflow-label { position: absolute; z-index: 1; top: 0; left: 0; display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.workflow-top strong,
.workflow-label h3 { margin: 0; font-size: 2rem; line-height: 1; }
.info-card .workflow-label h3 { color: var(--soft-gold); font-size: 2rem; line-height: 1; }
.workflow-top img { position: absolute; z-index: 0; top: 0; left: 50%; width: 224px; height: 190px; object-fit: contain; object-position: center; border-radius: 8px; transform: translate(-50%, 42px); }
.workflow-card:first-child .workflow-top img { transform: translate(calc(-50% - 18px), 42px); }
.workflow-card:nth-child(2) .workflow-top img { transform: translate(-50%, 32px); }
.workflow-card > p { position: relative; z-index: 2; }
.info-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.info-card p { color: #d2bd78; font-size: var(--type-body); }
.light { max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); background: var(--paper); color: var(--ink); }
.light p { color: #516477; }
.light .info-card h3 { color: #fff; }
.light .info-card .workflow-label h3 { color: var(--soft-gold); }
.light .info-card p { color: #d2bd78; }
.light .workflow-card > p { color: #fff; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.product-hero img { border-radius: 24px; }
.purchase-list-section { padding-top: 48px; }
.download-list { display: grid; gap: 14px; margin-top: 35px; }
.download-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: #08182c; }
.download-row p { margin: 4px 0 0; color: #93a8ba; }
.purchase-product { color: var(--soft-gold); }
.purchase-platform { margin-left: .22em; color: #c7d3dc; font-weight: 400; }
.availability-status { margin-left: .45em; color: #93a8ba; font-size: var(--type-fine); font-weight: 400; letter-spacing: 0; }
.purchase-meta { display: grid; justify-items: end; gap: 2px; text-align: right; }
.regular-price { color: #fff; }
.intro-price { color: #60a5fa; font-size: 1.2rem; }
.support-hero { min-height: 380px; }
.support-flow { padding-top: 58px; }
.knowledge-heading { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.knowledge-section > .page-copy { max-width: 1100px; }
.support-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 64px; margin-top: 52px; }
.support-faq h3 { margin-bottom: 12px; font-size: 1.35rem; line-height: 1.2; }
.support-faq p { max-width: none; margin: 0; color: #516477; }
.support-step {
  display: grid;
  grid-template-columns: 90px minmax(0, 760px);
  gap: 28px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.support-step:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
.support-number { color: var(--soft-gold); font-size: 2rem; line-height: 1; }
.support-step h3 { margin-bottom: 14px; font-size: 1.6rem; }
.support-step p { color: #aebdcc; }
.support-step .button { margin-top: 12px; }
.notice { padding: 20px; border-left: 3px solid var(--gold); background: rgba(245,200,76,.08); color: #cfdae3; }
.comparison-teaser { max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .72fr 1.28fr; gap: 6vw; align-items: center; background: linear-gradient(135deg, #06162a, #0c2c4b); }
.comparison-teaser > div { max-width: 520px; }
.comparison-teaser > div > p:not(.eyebrow) { color: #aebdcc; }
.comparison-teaser img { border-radius: 18px; box-shadow: 0 28px 70px rgba(0,0,0,.38); }
.comparison-case { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5vw; align-items: center; }
.comparison-case .notice { color: #4b5d6c; background: #e8e3cb; border-color: #a57d16; margin-top: 25px; }
.comparison-case figure { margin: 0; }
.comparison-case img { border-radius: 16px; box-shadow: 0 20px 55px rgba(14,31,50,.2); }
.comparison-case figcaption { margin-top: 12px; color: #617283; font-size: var(--type-fine); }
.requirements-intro { max-width: 780px; color: #aebdcc; font-size: var(--type-intro); line-height: 1.7; }
.requirements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 38px; }
.requirements-card { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #0a213a, #071426); }
.requirements-card h3 { color: var(--ice); font-size: 1.8rem; margin-bottom: 22px; }
.requirements-card dl { margin: 0; }
.requirements-card dl div { display: grid; grid-template-columns: 145px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(166, 226, 223, .13); }
.requirements-card dt { color: #dce9ef; font-weight: 700; }
.requirements-card dd { margin: 0; color: #9fb2c0; }
.requirements-note { margin-top: 22px; border-left-color: var(--soft-gold); line-height: 1.65; }
.requirements-note strong { color: var(--soft-gold); }
.light-card { background: white; border-color: rgba(20, 52, 71, .15); box-shadow: 0 18px 45px rgba(21, 48, 66, .08); }
.light-card h3 { color: #07576c; }
.light-card p, .capacity-note { line-height: 1.7; }
.capacity-note { max-width: 920px; margin: 26px 0 0; color: #516477; }
.viewer-capacity-note { color: #9fb2c0; }

@media (max-width: 820px) {
  .menu-button { display: grid; place-items: center; width: 48px; height: 42px; padding: 0; }
  .menu-label { display: none; }
  .menu-icon { display: block; }
  .site-nav { display: none; position: absolute; top: 79px; left: 0; right: 0; padding: 22px; flex-direction: column; align-items: center; background: #061426; }
  .site-nav.open { display: flex; }
  .site-nav a { width: 120px; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px 0; }
  .hero, .split, .viewer-callout, .product-hero, .comparison-teaser, .comparison-case { grid-template-columns: 1fr; }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0 24px 64px;
    background: var(--night);
  }
  .hero::before,
  .hero::after { display: none; }
  .hero-mobile-art {
    display: block;
    width: calc(100% + 48px);
    height: auto;
    max-width: none;
    margin: 0 -24px 38px;
    transform: scale(1.5);
    transform-origin: right center;
  }
  .hero-copy { z-index: 2; margin-top: 0; }
  .mobile-break { display: initial; }
  .proof-strip { grid-template-columns: repeat(3, 1fr); }
  .proof-strip p { grid-column: 1 / -1; text-align: left; }
  .feature-grid { grid-template-columns: 1fr; grid-template-rows: 480px 320px auto; }
  .feature-card.tall { grid-row: auto; }
  .section-heading { align-items: flex-start; flex-direction: column; display: flex; }
  .tour-row { grid-template-columns: 1fr; gap: 26px; }
  .tour-row-reverse { grid-template-columns: 1fr; }
  .tour-row-reverse .tour-image { order: initial; }
  .lightbox { padding: 4vh 3vw; }
  .lightbox-panel,
  .lightbox-image { max-width: 94vw; max-height: 84vh; }
  .lightbox-close { top: -18px; right: -8px; }
  .content-grid { grid-template-columns: 1fr; }
  .requirements-grid { grid-template-columns: 1fr; }
  .requirements-card dl div { grid-template-columns: 1fr; gap: 5px; }
  .support-step { grid-template-columns: 1fr; gap: 14px; }
  .support-faq { grid-template-columns: 1fr; }
  .download-row { grid-template-columns: 1fr; }
  .purchase-meta { justify-items: start; text-align: left; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .tablet-break { display: initial; }
}
