:root {
  color-scheme: light dark;
  --bg: light-dark(#f6f7fb, #06080f);
  --bg-alt: light-dark(#eef1f7, #0b0f1b);
  --surface: light-dark(#ffffff, #101626);
  --surface-elevated: light-dark(#ffffff, #151c30);
  --border: light-dark(rgba(15, 23, 42, 0.1), rgba(255, 255, 255, 0.1));
  --text: light-dark(#0b1120, #f4f7ff);
  --text-muted: light-dark(#475569, #94a3b8);
  --accent: #06b6d4;
  --accent-2: #8b5cf6;
  --emerald: #10b981;
  --radius-card: 24px;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

:root:has(> head > meta[name="color-scheme"][content="dark"]),
:root[data-theme="dark"] {
  color-scheme: dark;
}

:root:has(> head > meta[name="color-scheme"][content="light"]),
:root[data-theme="light"] {
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #031318;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.gh-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Floating Glass Pill Header */
.nav-shell {
  position: sticky;
  top: 0.75rem;
  z-index: 90;
  padding-inline: 1rem;
}

.nav-pill {
  width: min(1140px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: light-dark(rgba(255, 255, 255, 0.88), rgba(11, 15, 27, 0.84));
  color: var(--text);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: light-dark(0 12px 32px rgba(15, 23, 42, 0.1), 0 14px 40px rgba(0, 0, 0, 0.32));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: light-dark(rgba(15, 23, 42, 0.05), rgba(255, 255, 255, 0.06));
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.icon-btn:hover {
  background: light-dark(rgba(15, 23, 42, 0.12), rgba(255, 255, 255, 0.14));
  color: var(--text);
}

.icon-sun,
.icon-moon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sun {
  display: none;
}

.icon-moon {
  display: block;
}

:root[data-theme="dark"] .icon-sun {
  display: block;
}

:root[data-theme="dark"] .icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun {
    display: block;
  }
  :root:not([data-theme="light"]) .icon-moon {
    display: none;
  }
}

/* Adaptive Aurora Hero */
.cinema-hero {
  position: relative;
  background: light-dark(#eef4ff, #05070e);
  color: var(--text);
  padding: 5.5rem 0 4.5rem;
  margin-top: -3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.aurora-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: light-dark(0.22, 0.42);
}

.orb-cyan {
  width: 560px;
  height: 560px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
}

.orb-violet {
  width: 620px;
  height: 620px;
  top: -60px;
  right: -120px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
}

.perspective-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(light-dark(rgba(15, 23, 42, 0.05), rgba(255, 255, 255, 0.045)) 1px, transparent 1px),
    linear-gradient(90deg, light-dark(rgba(15, 23, 42, 0.05), rgba(255, 255, 255, 0.045)) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 2.5rem;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: light-dark(rgba(2, 132, 199, 0.1), rgba(34, 211, 238, 0.1));
  border: 1px solid light-dark(rgba(2, 132, 199, 0.28), rgba(34, 211, 238, 0.28));
  color: light-dark(#0369a1, #67e8f9);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: light-dark(#0284c7, #22d3ee);
  box-shadow: 0 0 12px light-dark(#0284c7, #22d3ee);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 1.1rem 0 1rem;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(120deg, light-dark(#0284c7, #67e8f9) 0%, light-dark(#7c3aed, #c084fc) 55%, light-dark(#0369a1, #38bdf8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #03151d;
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: light-dark(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.08));
  color: var(--text);
  border: 1px solid var(--border);
}

.section .btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-trust {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hero-trust .sep {
  opacity: 0.35;
}

/* Fixed-Height 5-Pillar Cinema Showcase Stage */
.cinema-stage {
  width: 100%;
  min-width: 0;
  background: light-dark(rgba(255, 255, 255, 0.88), rgba(15, 22, 38, 0.78));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: light-dark(
    0 24px 50px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 30px 70px rgba(0, 0, 0, 0.55)
  );
}

.stage-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: light-dark(#0369a1, #67e8f9);
  margin-bottom: 0.6rem;
}

.stage-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: light-dark(rgba(15, 23, 42, 0.05), rgba(255, 255, 255, 0.05));
  margin-bottom: 1.15rem;
}

.stage-tab {
  flex: 1 1 auto;
  padding: 0.48rem 0.65rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.stage-tab.is-active {
  background: light-dark(rgba(2, 132, 199, 0.14), rgba(34, 211, 238, 0.16));
  color: light-dark(#0369a1, #67e8f9);
  box-shadow: inset 0 0 0 1px light-dark(rgba(2, 132, 199, 0.35), rgba(34, 211, 238, 0.35));
}

.hardware-rig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  height: 348px;
}

.ui-zoom-wrap,
.watch-chassis {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.ui-zoom-frame {
  width: 300px;
  height: 300px;
  padding: 8px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #f2f2f7;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-zoom-frame.is-watch-slot {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding: 0;
}

.ui-zoom-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ui-zoom-frame.is-watch-slot img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(145deg, #52525b, #18181b 55%, #3f3f46);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.55);
  object-fit: cover;
}

.watch-zoom-bezel {
  position: relative;
  width: 210px;
  height: 210px;
  padding: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #52525b, #18181b 55%, #3f3f46);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
}

.watch-zoom-bezel img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.watch-inline {
  width: 188px;
  height: 188px;
}

.chassis-caption {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.cap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: light-dark(#0284c7, #22d3ee);
}

.cap-emerald {
  background: #10b981;
}

.stage-note {
  margin: 0.9rem 0 0;
  height: 3.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
}

/* Watch Hardware Strip */
.watch-marquee-band {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 1.85rem 0;
}

.marquee-kicker {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
}

.hardware-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.hw-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.hw-chip img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.hw-chip strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.25;
}

.hw-chip span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.compat-footnote {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 4.75rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 64ch;
  margin-bottom: 2.5rem;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Spacious Zoomed Feature Showcase */
.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.showcase-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.06);
}

.showcase-reverse .showcase-copy {
  order: 2;
}

.showcase-reverse .showcase-visuals {
  order: 1;
}

.pillar-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.showcase-copy h3,
.feature-copy h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0 0 0.65rem;
}

.showcase-copy p,
.feature-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.mini-list {
  margin: 0.95rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.mini-list li + li {
  margin-top: 0.42rem;
}

.mini-list strong {
  color: var(--text);
}

.disclaimer-inline {
  margin-top: 0.85rem !important;
  font-size: 0.78rem !important;
  opacity: 0.85;
}

.showcase-visuals {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.dual-crops {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.dual-crops .crop-card {
  flex: 1 1 220px;
  max-width: 270px;
}

.crop-card {
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.16);
  background: #f2f2f7;
}

.crop-wide {
  max-width: 480px;
}

.crop-card img {
  width: 100%;
  height: auto;
}

.two-up-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.06);
}

.watch-feature-stage {
  display: flex;
  justify-content: center;
}

/* Inline Pricing Grid & Comparison Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 860px;
  margin-inline: auto;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.95rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
}

.price-featured {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 20px 44px rgba(6, 182, 212, 0.14);
}

.badge-pop {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.16);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.price-head h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.price-val {
  font-family: var(--font-display);
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.1;
}

.price-val span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-alt,
.price-head p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.price-list {
  margin: 1.25rem 0 1.65rem;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.price-list li + li {
  margin-top: 0.5rem;
}

.full-btn {
  width: 100%;
}

.billing-fine {
  margin: 0.8rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.comparison-block {
  margin-top: 3rem;
}

.comparison-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 1.15rem;
}

.table-wrapper {
  container-type: inline-size;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comp-table th,
.comp-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.comp-table th {
  font-family: var(--font-display);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.comp-table tr:last-child td {
  border-bottom: 0;
}

@container (width < 640px) {
  .comp-table thead {
    display: none;
  }

  .comp-table,
  .comp-table tbody,
  .comp-table tr,
  .comp-table td {
    display: block;
    width: 100%;
  }

  .comp-table tr {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .comp-table td {
    padding: 0.4rem 0;
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }

  .comp-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-muted);
  }
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.05rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-a p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Download Band */
.download-band {
  padding: 4rem 0;
}

.download-card {
  background: light-dark(
    linear-gradient(135deg, #e0f2fe, #ede9fe),
    linear-gradient(135deg, #0b1120, #161f38)
  );
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.download-card h2 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.75rem;
}

.download-card p {
  margin: 0;
  color: var(--text-muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 4.5rem;
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links h4 {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-family: var(--font-display);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-inner,
  .showcase-row,
  .two-up-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .showcase-reverse .showcase-copy {
    order: 0;
  }

  .showcase-reverse .showcase-visuals {
    order: 1;
  }

  .hardware-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-pill {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 0.6rem 0.9rem;
    gap: 0.5rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 0.45rem;
    gap: 0.65rem;
  }

  section[id] {
    scroll-margin-top: 8.5rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .cinema-hero {
    margin-top: -5.5rem;
    padding-top: 7.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, 100% - 1.5rem);
  }

  .hardware-rig {
    flex-direction: column;
    height: 530px;
    gap: 0.9rem;
  }

  .ui-zoom-frame {
    width: min(290px, 100%);
    height: 250px;
  }

  .ui-zoom-frame.is-watch-slot img,
  .watch-zoom-bezel {
    width: 196px;
    height: 196px;
  }

  .stage-note {
    height: 6em;
  }

  .crop-card,
  .dual-crops .crop-card {
    max-width: 100%;
  }

  .hardware-strip {
    grid-template-columns: 1fr;
  }

  .brand-tag {
    display: none;
  }
}
