@font-face {
  font-family: "Red Hat Display";
  src: url("../fonts/RedHatDisplay-VF.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("../fonts/RedHatMono-VF.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Michroma";
  src: url("../fonts/michroma.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #05070a;
  --bg: #080b10;
  --panel: #0e131a;
  --panel-2: #131a23;
  --line: rgba(169, 220, 255, 0.1);
  --line-strong: rgba(169, 220, 255, 0.2);
  --frost: #a9dcff;
  --frost-dim: #7fb6dc;
  --text: #f4f8fb;
  --body: #b6c1cb;
  --muted: #7d8995;
  --radius: 8px;
  --sans: "Red Hat Display", system-ui, sans-serif;
  --mono: "Red Hat Mono", ui-monospace, monospace;
  --gutter: 24px;
  --section: 136px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }

a { color: var(--frost); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 { color: var(--text); margin: 0; font-weight: 850; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(36px, 4.4vw, 58px); }
h3 { font-size: 20px; letter-spacing: -0.01em; font-weight: 750; line-height: 1.25; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--frost); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 14px/1 var(--mono);
  color: var(--frost);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  font: 700 16px/1 var(--sans);
  letter-spacing: 0.005em;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--frost); color: var(--ink); }
.btn-primary:hover { background: #c4e7ff; }
.btn-ghost { color: var(--text); border: 1px solid rgba(244, 248, 251, 0.2); background: rgba(5, 7, 10, 0.25); }
.btn-ghost:hover { border-color: rgba(244, 248, 251, 0.45); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; gap: 8px; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  transition: background-color 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(8, 11, 16, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.wordmark { font: 400 17px/1 "Michroma", var(--sans); letter-spacing: 0.32em; margin-right: -0.32em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--body); font-size: 15px; font-weight: 550; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.82) 0%, rgba(5, 7, 10, 0.5) 38%, rgba(5, 7, 10, 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 11, 16, 0.6) 18%, rgba(8, 11, 16, 0) 45%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0) 18%);
}
.hero-content { position: relative; padding-bottom: clamp(72px, 13vh, 140px); }
.hero h1 {
  font-size: clamp(56px, 9.2vw, 132px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: 28px;
}
.hero-lede { max-width: 560px; font-size: 19px; color: #d3dbe2; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  font: 500 12px/1 var(--mono);
  color: rgba(244, 248, 251, 0.5);
}

/* Facts */
.facts { padding: 24px 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 28px 8px 0; border-top: 1px solid var(--line-strong); }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact-value {
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 14px;
}
.fact-value span { font-size: 0.4em; letter-spacing: 0; color: var(--frost); margin-left: 4px; font-weight: 700; }
.fact-note { font: 400 14px/1.5 var(--mono); color: var(--muted); max-width: 30ch; }
.fn-ref { color: var(--frost); margin-left: 2px; }

/* Trailer */
.trailer { padding: 96px 0 0; }
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
}
.player video { width: 100%; height: 100%; object-fit: cover; }
.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 16px;
  padding: clamp(20px, 4vw, 44px);
  border: 0;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.55), rgba(5, 7, 10, 0) 45%);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.player-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--frost);
  color: var(--ink);
  transition: transform 0.2s;
  padding-left: 3px;
}
.player-start:hover .player-icon { transform: scale(1.06); }
.player-label { font-size: 20px; font-weight: 750; letter-spacing: -0.01em; display: grid; gap: 4px; }
.player-label .mono { font-size: 13px; font-weight: 500; color: var(--body); letter-spacing: 0; }
.player.playing .player-start { display: none; }

/* Features */
.feature { padding: var(--section) 0 0; }
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.feature-flip .feature-text { order: 2; }
.feature-text h2 { margin-bottom: 24px; }
.feature-text > p { max-width: 460px; }

.specs { margin: 36px 0 0; padding: 0; }
.specs div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font: 500 13px/1.7 var(--mono); color: var(--muted); }
.specs dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); }

.shot { margin: 0; }
.shot img, .compare {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}
.shot figcaption { margin-top: 14px; font: 500 13px/1.4 var(--mono); color: var(--muted); }

.versions {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.versions::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--line-strong) 70%, var(--frost));
}
.versions li {
  position: relative;
  font: 500 14px/1 var(--mono);
  color: var(--muted);
  padding-bottom: 22px;
}
.versions li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.versions li:first-child::after { left: 0; margin-left: 0; }
.versions li:last-child::after { left: auto; right: 0; margin-left: 0; }
.versions .current { color: var(--frost); }
.versions .current::after { background: var(--frost); border-color: var(--frost); }

/* Section heads */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head > p { max-width: 480px; }

/* Modules */
.modules { padding: var(--section) 0 0; }
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 28px;
  margin-bottom: 64px;
}
.gallery-main { grid-row: span 2; }
.gallery .shot:not(.gallery-main) img { aspect-ratio: 16 / 9; }

.compare { position: relative; overflow: hidden; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.compare-after { clip-path: inset(0 0 0 var(--pos)); }
.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--frost);
  pointer-events: none;
}
.compare-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: var(--frost) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5 2 10l5 5M13 5l5 5-5 5' fill='none' stroke='%2305070a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.compare-tag {
  position: absolute;
  top: 16px;
  font: 500 12px/1 var(--mono);
  color: var(--text);
  background: rgba(5, 7, 10, 0.6);
  padding: 7px 9px;
  border-radius: 4px;
  pointer-events: none;
}
.compare-tag-l { left: 16px; }
.compare-tag-r { right: 16px; }
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--frost); outline-offset: 3px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--body);
  font: 600 14px/1 var(--sans);
  cursor: pointer;
}
.filters button span { font-family: var(--mono); font-weight: 500; color: var(--muted); margin-left: 6px; }
.filters button:hover { color: var(--text); border-color: rgba(169, 220, 255, 0.4); }
.filters button[aria-pressed="true"] { background: var(--frost); border-color: var(--frost); color: var(--ink); }
.filters button[aria-pressed="true"] span { color: rgba(5, 7, 10, 0.6); }

.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.module-list li { padding: 22px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.module-list li[hidden] { display: none; }
.module-list h3 { font-size: 17px; margin-bottom: 8px; }
.module-list p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Looks */
.look { padding: var(--section) 0 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.card-body { padding: 28px 30px 32px; }
.card h3 { font-size: 24px; margin-bottom: 12px; }
.card p { font-size: 17px; }

/* Get it */
.get { margin-top: var(--section); padding: 120px 0; background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.get-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.get-inner img { margin-bottom: 28px; }
.get-inner h2 { margin-bottom: 16px; }
.get-inner > p { margin-bottom: 32px; }
.get-inner .get-note { margin: 20px 0 0; font: 500 13px/1.4 var(--mono); color: var(--muted); }

/* FAQ */
.faq { padding: var(--section) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  color: var(--text);
  font-size: 19px;
  font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 1.5px solid var(--frost);
  border-bottom: 1.5px solid var(--frost);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > p, .faq table { margin: 0 0 18px; max-width: 620px; font-size: 17px; }
.faq details > :last-child { margin-bottom: 26px; }
.faq table { width: 100%; border-collapse: collapse; font-size: 15px; }
.faq th, .faq td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.faq th { font: 500 12px/1.4 var(--mono); color: var(--muted); }
.faq td:first-child { color: var(--text); font-weight: 650; }

/* Footer */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 56px 0 64px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--body); font-size: 15px; }
.footer-links a:hover { color: var(--text); }
.footer-fine { padding-top: 28px; display: grid; gap: 12px; max-width: 820px; }
.footer-fine p { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Narrower screens */
@media (max-width: 1000px) {
  :root { --section: 104px; }
  .feature-grid, .faq-grid, .section-head { grid-template-columns: minmax(0, 1fr); }
  .feature-flip .feature-text { order: 0; }
  .feature-text > p { max-width: 620px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .module-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-main { grid-column: 1 / -1; grid-row: auto; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --section: 88px; }
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero-lede { font-size: 17px; }
  .hero-caption { display: none; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .fact, .fact + .fact { padding: 22px 12px 8px 0; }
  .fact:nth-child(even) { padding-left: 16px; }
  .fact-note { font-size: 13px; }
  .trailer { padding-top: 72px; }
  .player-icon { width: 52px; height: 52px; }
  .player-label { font-size: 17px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .versions li { font-size: 11px; }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .module-list { grid-template-columns: minmax(0, 1fr); }
  .module-list li { padding: 16px 18px 18px; }
  .module-list h3 { font-size: 16px; margin-bottom: 4px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card-body { padding: 22px 20px 26px; }
  .get { padding: 88px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
