:root {
  --canvas: #0a0a0a;
  --surface: #121212;
  --elevated: #181818;
  --panel: #141414;
  --ink: #ffffff;
  --text: #f5f5f5;
  --body: rgba(245, 245, 245, 0.88);
  --muted: rgba(245, 245, 245, 0.62);
  --hairline: rgba(255, 255, 255, 0.1);
  --hairline-strong: rgba(255, 255, 255, 0.18);
  --primary: #ffffff;
  --primary-fg: #0a0a0a;
  --primary-hover: #e8e8e8;
  --link: #ffffff;
  --scrim: color-mix(in srgb, #0a0a0a 72%, transparent);
  --accent: #ff6b4a;
  --accent-soft: rgba(255, 107, 74, 0.14);
  --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --btn-radius: 9999px;
  --btn-padding-y: 12px;
  --btn-padding-x: 22px;
  --btn-transform: none;
  --radius-card: 14px;
  --radius-media: 12px;
  --header-h: 56px;
  --follow-h: 72px;
  --gutter: clamp(16px, 3vw, 40px);
  --wrap: min(1120px, 100% - var(--gutter) * 2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--canvas);
  padding-bottom: calc(var(--follow-h) + env(safe-area-inset-bottom));
}
.legal-page { padding-bottom: env(safe-area-inset-bottom); }
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--primary-hover); }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--primary); color: var(--primary-fg);
  padding: 8px 14px; border-radius: var(--btn-radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: clamp(40px, 6vw, 88px) 0; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0; }
.section-kicker {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); margin: 0 0 16px; }
h3 { font-size: 1.05rem; margin: 0 0 8px; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: 1.12rem; color: var(--body); }
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding-y) var(--btn-padding-x);
  text-transform: var(--btn-transform);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--primary-fg);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--hairline-strong);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* H2 solid-bar header — dense bar in document flow above hero */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.site-header[data-header-variant="H2"] .header-bar {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px var(--gutter);
  min-height: var(--header-h);
}
.brand-cluster {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-cluster img {
  display: block;
  height: 22px;
  width: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px 16px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: auto;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 2px;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

@media (max-width: 767px) {
  .site-header[data-header-variant="H2"] .header-bar {
    flex-wrap: wrap;
    align-items: center;
  }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; }
  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 4px 0 8px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 4px; min-height: 44px; display: flex; align-items: center; }
  .header-actions .btn-primary { display: none; }
}

/* video-fullbleed hero — poster-only with scrim */
.hero[data-hero-variant="video-fullbleed"] {
  position: relative;
  min-height: calc(100svh - var(--header-h) - var(--follow-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero[data-hero-variant="video-fullbleed"] .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero[data-hero-variant="video-fullbleed"] .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero[data-hero-variant="video-fullbleed"] .hero-media img[data-hero-still] {
  animation: heroDrift 28s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.03); }
  to { transform: scale(1.1) translate3d(-1%, 1.5%, 0); }
}
.hero[data-hero-variant="video-fullbleed"].is-static .hero-media img[data-hero-still],
.hero.is-static .hero-media img[data-hero-still] { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-media img[data-hero-still] { animation: none; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, color-mix(in srgb, #0a0a0a 25%, transparent) 0%, color-mix(in srgb, #0a0a0a 82%, transparent) 72%),
    radial-gradient(55% 45% at 50% 35%, color-mix(in srgb, var(--accent) 12%, transparent), transparent);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
  max-width: 42rem;
}
.hero-byline {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 14px;
}

/* catalog-grid (R4) */
.catalog-grid,
.model-grid,
.card-grid,
.showcase-grid,
.benefits-grid,
.audience-list,
.reviews,
.steps {
  display: grid;
  gap: 14px;
}
.catalog-grid,
.model-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .catalog-grid,
  .model-grid,
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .catalog-grid,
  .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.panel,
.card,
.model-card,
.benefit {
  display: block;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: clamp(16px, 2.5vw, 22px);
  text-decoration: none;
  color: inherit;
}
.panel:hover,
.card:hover,
.model-card:hover {
  border-color: var(--hairline-strong);
}
.card-link { height: 100%; }
.card h3,
.model-card h3,
.panel h3 { color: var(--ink); }

.models-list { display: grid; gap: 12px; }
.model-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: inherit;
}
.model-row:hover { border-color: var(--hairline-strong); }
.model-row h3 { margin: 0 0 6px; }
.model-row p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.model-row .chev { color: var(--muted); font-size: 1.2rem; padding-top: 4px; }

/* Gallery / showcase — max 3 columns, 16:9 media-frame */
.gallery,
.showcase-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .gallery,
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .gallery,
  .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gallery-item,
.showcase-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-media);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
}
.media-frame img,
.media-frame video,
.gallery-item img,
.gallery-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.gallery-item figcaption,
.showcase-card .cap,
.snippet-card .cap {
  padding: 10px 12px 12px;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.snippet-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-media);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.snippet-card pre,
.snippet-card .body-snip {
  margin: 0;
  padding: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  overflow: auto;
  max-height: 200px;
  flex: 1;
}
.snippet-card .body-snip {
  white-space: pre-wrap;
  color: var(--body);
  background: var(--elevated);
}
.snippet-card pre {
  background: #050505;
  color: #e7e5e4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.cta-band {
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
}
.cta-band h2 { margin-top: 0; }

.disclaimer {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 3px solid var(--hairline-strong);
  padding-left: 14px;
  margin-top: 18px;
}

.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.faq-a {
  padding: 0 18px 16px;
  color: var(--body);
}
.faq-a[hidden] { display: none; }

.rating {
  text-align: center;
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
}
.rating-score {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.reviews {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 18px;
}
.review-card .who {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}
.review-card .stars {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 18px 0 8px;
  width: var(--wrap);
  margin-inline: auto;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0 36px;
  background: var(--canvas);
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  gap: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

.follow-cta {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  background: color-mix(in srgb, var(--elevated) 94%, transparent);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.follow-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.follow-cta p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
  font-family: var(--font-ui);
}
@media (max-width: 767px) {
  .follow-cta {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    justify-content: space-between;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
}

.cta-stub {
  border: 0;
  border-radius: 20px;
  padding: 0;
  max-width: min(440px, calc(100vw - 32px));
  background: var(--surface);
  color: var(--body);
}
.cta-stub::backdrop {
  background: rgba(0, 0, 0, 0.65);
}
.cta-stub-inner { padding: 28px; }
.cta-stub h2 { margin-top: 0; }
.cta-stub .btn { margin-top: 8px; }

.legal-prose { max-width: 72ch; }
.legal-prose h2 { margin-top: 1.6em; }

.steps {
  counter-reset: step;
}
.step {
  position: relative;
  padding: 18px 18px 18px 56px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-fg);
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
}

.page-inner main .wrap { padding-bottom: 48px; }
