/*
 * NovaWire marketing page.
 *
 * The palette is deliberately the app's own: a dark blue-grey canvas, a violet
 * accent reserved for interaction, and a light theme that is a token swap rather
 * than a second design. Everything is expressed as a role (surface, border,
 * text-muted) so the two themes cannot drift apart.
 */

:root {
  color-scheme: dark;

  --bg: #0a0d11;
  --bg-2: #0e1218;
  --surface: #12171e;
  --surface-2: #171d26;
  --surface-3: #1d2530;
  --border: #232b37;
  --border-soft: #1a2029;
  --border-strong: #344050;

  --text: #e8edf5;
  --text-muted: #9ba8ba;
  --text-faint: #7d8a9c;

  --accent: #7c6cf0;
  --accent-2: #a78bfa;
  --accent-3: #c8bdfd;
  --accent-soft: rgba(124, 108, 240, 0.13);
  --accent-line: rgba(124, 108, 240, 0.34);

  --green: #4ade80;
  --green-soft: rgba(74, 222, 128, 0.14);

  --shadow-lg: 0 40px 110px rgba(0, 0, 0, 0.58);
  --shadow-sm: 0 14px 36px rgba(0, 0, 0, 0.28);
  --header-bg: rgba(10, 13, 17, 0.74);
  --grid-line: rgba(255, 255, 255, 0.045);

  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Inter",
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Cascadia Mono", "JetBrains Mono", "SF Mono",
    Consolas, "Liberation Mono", Menlo, monospace;

  --gutter: clamp(16px, 3.5vw, 24px);
  --max: 1240px;
}

html[data-theme="light"] {
  color-scheme: light;

  --bg: #f4f5f9;
  --bg-2: #eef0f6;
  --surface: #ffffff;
  --surface-2: #f7f8fc;
  --surface-3: #eef1f8;
  --border: #dce1ea;
  --border-soft: #e7ebf2;
  --border-strong: #c6cedb;

  --text: #151a22;
  --text-muted: #556172;
  --text-faint: #6b7688;

  --accent: #5b4bd6;
  --accent-2: #5a48d8;
  --accent-3: #4433b8;
  --accent-soft: rgba(91, 75, 214, 0.09);
  --accent-line: rgba(91, 75, 214, 0.28);

  --green: #15803d;
  --green-soft: rgba(21, 128, 61, 0.11);

  --shadow-lg: 0 40px 90px rgba(20, 27, 40, 0.17);
  --shadow-sm: 0 12px 30px rgba(20, 27, 40, 0.09);
  --header-bg: rgba(244, 245, 249, 0.8);
  --grid-line: rgba(21, 26, 34, 0.055);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent-2);
  background: var(--accent-soft);
  border-radius: 5px;
  padding: 0.08em 0.34em;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

[hidden] {
  display: none !important;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 14px;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-soft);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(20, 27, 40, 0.09);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 7px 18px rgba(91, 75, 214, 0.36));
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-inline: auto;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

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

.site-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.theme-btn:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}

.theme-btn .icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .icon-sun,
html[data-theme="light"] .icon-moon {
  display: none;
}

.menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 49px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.012em;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8b7cf6, #6c5ce7 52%, #5546c9);
  box-shadow: 0 12px 32px rgba(91, 75, 214, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 42px rgba(91, 75, 214, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.btn-small {
  height: 39px;
  padding: 0 15px;
  font-size: 13.5px;
  border-radius: 9px;
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 78px 0 86px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -260px -12% auto;
  height: 940px;
  pointer-events: none;
  background:
    radial-gradient(48% 52% at 66% 30%, rgba(124, 108, 240, 0.24), transparent 72%),
    radial-gradient(34% 38% at 10% 24%, rgba(56, 189, 248, 0.09), transparent 74%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(72% 62% at 58% 34%, #000 18%, transparent 78%);
  mask-image: radial-gradient(72% 62% at 58% 34%, #000 18%, transparent 78%);
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 10.8px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px var(--green-soft);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.9rem, 5.5vw, 4.7rem);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.grad {
  background: linear-gradient(100deg, #d7ceff 4%, #a78bfa 42%, #7c6cf0 72%, #5546c9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

html[data-theme="light"] .grad {
  background: linear-gradient(100deg, #6d5ce7 0%, #5b4bd6 46%, #4433b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 56ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.68;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--text-faint);
}

.hero-points li {
  position: relative;
  padding-left: 15px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6% -4%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(124, 108, 240, 0.28), transparent 72%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-frame {
  position: relative;
  padding: 6px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.hero-frame img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.shot-light {
  display: none;
}

html[data-theme="light"] .shot-dark {
  display: none;
}

html[data-theme="light"] .shot-light {
  display: block;
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 12px;
  color: var(--text-faint);
}

.hero-caption .mono {
  color: var(--accent-2);
  font-size: 10px;
}

/* --------------------------------------------------------------- protocols */

.protocols {
  border-block: 1px solid var(--border-soft);
  background: var(--bg-2);
}

.protocol-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 17px 0;
}

.protocol-label {
  flex: none;
  padding: 5px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.protocol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protocol-chips li {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11.3px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ----------------------------------------------------------------- sections */

.section {
  padding: 112px 0;
}

.section-head {
  max-width: 790px;
  margin-bottom: 52px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.7vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.036em;
}

.section-lede {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text-muted);
}

.zoom-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.zoom-note svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------ features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 130px at 18% 0%, rgba(124, 108, 240, 0.14), transparent 72%);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-2);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.feature-card p {
  position: relative;
  font-size: 14px;
  line-height: 1.66;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------- showcase */

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
  padding: 88px 0;
  border-top: 1px solid var(--border-soft);
}

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

.showcase-row.reverse .showcase-media {
  order: 1;
}

.showcase-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
}

.showcase-copy > p {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-muted);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.56em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  border-radius: 1px;
  transform: rotate(-45deg);
}

.check-list code {
  white-space: nowrap;
}

.inline-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--text-muted);
}

.inline-note .mono {
  flex: none;
  margin-top: 2px;
  font-size: 10px;
  color: var(--accent-2);
}

.showcase-media {
  min-width: 0;
}

.shot-card {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
  cursor: zoom-in;
}

.shot-btn img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.shot-btn:hover img {
  transform: scale(1.012);
}

.shot-card figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 6px 4px;
  font-size: 12px;
  color: var(--text-faint);
}

.shot-card figcaption .mono {
  flex: none;
  font-size: 10px;
  color: var(--accent-2);
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 16px;
}

.duo .shot-card {
  padding: 6px;
}

.duo .shot-card figcaption {
  display: block;
  padding: 10px 5px 3px;
  font-size: 11px;
  line-height: 1.5;
}

.duo .shot-card figcaption .mono {
  display: block;
  margin-bottom: 2px;
}

.shot-card-list {
  max-width: 620px;
}

.shot-card-tall {
  max-width: 540px;
  margin-inline: auto;
}

/* tabs */

.tablist {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.tab {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.18s ease, color 0.18s ease;
}

.tab:hover {
  color: var(--text);
}

.tab.is-active {
  background: var(--accent-soft);
  color: var(--accent-2);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

/* The protocol tab group gives its one portrait screenshot the full media
   column so the frame rows stay readable. */
.shot-tabs-wide .shot-card-tall {
  max-width: none;
  margin-inline: 0;
}

/* --------------------------------------------------------------- performance */

.performance {
  position: relative;
  padding: 112px 0;
  border-block: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  overflow: hidden;
}

.performance::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 240, 0.13), transparent 62%);
  pointer-events: none;
}

.performance .wrap {
  position: relative;
}

.performance-head {
  margin-bottom: 46px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--border);
  overflow: hidden;
}

.stat {
  padding: 28px 26px 30px;
  background: var(--surface);
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, var(--text) 20%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat .unit {
  margin-left: 3px;
  font-size: 0.52em;
  -webkit-text-fill-color: var(--text-muted);
  color: var(--text-muted);
}

.stat span {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.performance-note {
  max-width: 800px;
  margin-top: 28px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-faint);
}

.performance-note strong {
  color: var(--text-muted);
  font-weight: 600;
}

/* ------------------------------------------------------------------- themes */

.themes {
  padding: 112px 0;
}

.theme-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.theme-card {
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.theme-card .shot-btn {
  border-radius: 10px;
}

.theme-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 8px 4px;
  font-size: 12px;
  color: var(--text-faint);
}

.theme-card figcaption .mono {
  font-size: 10px;
  color: var(--accent-2);
}

/* ------------------------------------------------------------------ compare */

.compare {
  padding: 112px 0;
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: 88px;
}

.compare .section-head {
  margin-bottom: 38px;
}

.compare-table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--border-strong) transparent;
}

.compare-table-wrap:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.compare-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  line-height: 1.55;
}

.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.compare-table thead th small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.compare-table thead th.is-nova {
  background: linear-gradient(180deg, var(--accent-soft), var(--surface-2));
  color: var(--accent-2);
}

.compare-table thead th:first-child,
.compare-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface);
  box-shadow: 1px 0 0 var(--border-soft);
}

.compare-table thead th:first-child {
  z-index: 3;
  background: var(--surface-2);
}

.compare-table tbody th {
  width: 182px;
  padding: 13px 12px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  white-space: normal;
}

.compare-table tbody td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody td.is-nova {
  background: var(--accent-soft);
  color: var(--text);
}

.compare-table strong {
  color: var(--text);
  font-weight: 650;
}

.compare-fine {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-faint);
}

.cmp-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cmp-tag.is-yes {
  color: var(--green);
  background: var(--green-soft);
}

.cmp-tag.is-no {
  color: var(--text-faint);
  background: var(--surface-2);
  border-color: var(--border-soft);
}

.cmp-tag.is-mixed {
  color: var(--accent-2);
  background: var(--accent-soft);
}

.compare-scroll-hint {
  display: none;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-faint);
}

.compare-scroll-hint svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare-footnote {
  max-width: 900px;
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--text-faint);
}

.compare-note {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background:
    linear-gradient(90deg, var(--accent-soft), transparent 48%),
    var(--surface);
}

.compare-note-kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.compare-note p:last-child {
  margin: 0;
  max-width: 960px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.compare-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.compare-pick {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.compare-pick.is-nova {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 64%);
}

.compare-pick-name {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.compare-pick.is-nova .compare-pick-name {
  color: var(--accent-2);
}

.compare-pick h3 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: -0.012em;
}

.compare-pick p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

.compare-meta {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-faint);
}

.compare-meta p {
  margin: 0;
}

.compare-meta .mono {
  margin-right: 7px;
  font-size: 9.5px;
  color: var(--accent-2);
}

.compare-meta a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

.compare-meta a:hover {
  color: var(--accent-2);
}

.compare-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.compare-disclaimer {
  max-width: 840px;
}

/* ---------------------------------------------------------------- licensing */

.licensing {
  padding: 112px 0;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
}

.license-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.license-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.license-card-commercial {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 52%);
}

.license-kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.license-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.license-card > p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.license-card .check-list {
  margin-bottom: 24px;
}

.license-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}

.license-card .license-price {
  margin: auto 0 0;
}

.license-price strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
}

.license-price span {
  font-size: 13px;
  color: var(--text-faint);
}

.license-offer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-faint);
}

.license-offer-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.license-offer s {
  color: var(--text-muted);
}

.license-buy {
  margin: 16px 0 0;
}

.license-buy .btn {
  width: 100%;
  justify-content: center;
}

.license-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--text-faint);
}

.license-note a {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ----------------------------------------------------------------- download */

.download {
  padding: 92px 0 112px;
}

.download-card {
  position: relative;
  padding: 62px 40px;
  border: 1px solid var(--accent-line);
  border-radius: 24px;
  background:
    radial-gradient(62% 120% at 50% 0%, rgba(124, 108, 240, 0.17), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
  overflow: hidden;
}

.download-card::after {
  content: "";
  position: absolute;
  inset: auto 12% -60% 12%;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 240, 0.22), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.download-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 16px 38px rgba(91, 75, 214, 0.4));
}

.download-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.download-card h2 {
  position: relative;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.download-card > .eyebrow {
  position: relative;
  margin: 0 0 10px;
  font-size: 10.8px;
  line-height: 1.5;
  letter-spacing: 0.15em;
  color: var(--accent-2);
}

.download-card > p:not(.eyebrow) {
  position: relative;
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.download-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.installer-list {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.installer-list > li {
  min-width: 0;
}

.installer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.installer:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.installer-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #8b7cf6, #6c5ce7 55%, #5546c9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.installer-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.installer-copy {
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.installer-name {
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.installer-detail {
  font-size: 12.5px;
  color: var(--text-faint);
}

.installer-cta {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--accent-2);
}

.installer.is-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #8b7cf6, #6c5ce7 52%, #5546c9);
  box-shadow: 0 12px 32px rgba(91, 75, 214, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.installer.is-primary:hover {
  border-color: transparent;
  box-shadow: 0 16px 42px rgba(91, 75, 214, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.installer.is-primary .installer-name,
.installer.is-primary .installer-cta {
  color: #fff;
}

.installer.is-primary .installer-detail {
  color: rgba(255, 255, 255, 0.75);
}

.installer.is-primary .installer-icon {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.download-card > p.installer-note {
  position: relative;
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-faint);
}

.download-card > p.installer-note[hidden] {
  display: none;
}

.download-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--text-faint);
}

.download-meta li {
  position: relative;
}

.download-meta li + li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* ------------------------------------------------------------------- footer */

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
}

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

.footer-brand p {
  max-width: 360px;
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-faint);
}

.footer-brand p a {
  color: var(--accent-2);
}

.footer-col h4 {
  margin: 4px 0 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--text-faint);
}

/* -------------------------------------------------------------- contact modal */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.78);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.contact-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(92vh, 820px);
  overflow-y: auto;
  padding: 36px 38px 32px;
  border: 1px solid var(--accent-line);
  border-radius: 22px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(124, 108, 240, 0.16), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-muted);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.contact-close:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-3);
}

.contact-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.contact-panel > .eyebrow {
  margin: 0 0 10px;
  font-size: 10.8px;
  line-height: 1.5;
  letter-spacing: 0.15em;
  color: var(--accent-2);
}

.contact-panel h2 {
  max-width: 470px;
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.contact-guidance {
  max-width: 510px;
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 15px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field > span {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-field textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-faint);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 108, 240, 0.18);
}

.contact-close:focus-visible,
.contact-actions .btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.contact-actions .btn {
  height: 44px;
  padding: 0 19px;
  font-size: 14px;
}

.contact-status {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  background: rgba(124, 108, 240, 0.12);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}

.contact-status.is-error {
  border-color: rgba(224, 82, 82, 0.42);
  background: rgba(224, 82, 82, 0.1);
  color: #e05a5a;
}

.contact-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-faint);
}

.contact-note a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-success {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 6px 0 2px;
}

.contact-success[hidden] {
  display: none;
}

.contact-success:focus {
  outline: none;
}

.contact-success-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #8b7cf6, #6c5ce7 55%, #5546c9);
  box-shadow: 0 12px 30px rgba(91, 75, 214, 0.32);
}

.contact-success-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-success h3 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.contact-success p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.contact-success .btn {
  margin-top: 2px;
}

@media (max-width: 620px) {
  .contact-modal {
    padding: 12px;
  }

  .contact-panel {
    max-height: 94vh;
    padding: 30px 20px 24px;
    border-radius: 18px;
  }

  .contact-panel h2 {
    padding-right: 30px;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 7, 11, 0.91);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.lightbox-figure {
  max-width: 96vw;
}

.lightbox-figure img {
  width: auto;
  max-width: 96vw;
  max-height: 86vh;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.65);
}

.lightbox-figure figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #c9d2e0;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.18s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* ------------------------------------------------------------------ motion */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.64s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.64s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- responsive */

@media (min-width: 1320px) {
  /* Let the app frame breathe to the right of the text column. The bleed stops
     short of the viewport edge, and the hero clips its own overflow anyway. */
  .hero-visual {
    margin-right: -30px;
  }
}

@media (min-width: 1440px) {
  .hero-visual {
    margin-right: -42px;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    gap: 38px;
  }

  .showcase-row {
    gap: 44px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }
}

@media (max-width: 1050px) {
  .compare-scroll-hint {
    display: flex;
  }
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero-copy {
    max-width: 720px;
  }

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

  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .showcase-row.reverse .showcase-copy,
  .showcase-row.reverse .showcase-media {
    order: initial;
  }

  .shot-card-list,
  .shot-card-tall {
    max-width: none;
  }

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

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .compare-table tbody th {
    width: 168px;
  }
}

@media (max-width: 920px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 2px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 15px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .theme-btn span {
    display: none;
  }

  .theme-btn {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
  }

  .header-inner {
    height: 66px;
  }

  .hero {
    padding-top: 58px;
  }
}

@media (max-width: 700px) {
  .section,
  .themes,
  .compare,
  .licensing {
    padding: 76px 0;
  }

  .performance {
    padding: 80px 0;
  }

  .showcase-row {
    padding: 64px 0;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-pair,
  .license-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-picks {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-table {
    min-width: 920px;
    font-size: 12.5px;
  }

  .compare-table thead th {
    padding: 12px 10px;
    font-size: 11px;
  }

  .compare-table tbody th {
    width: 138px;
    padding: 12px 10px;
    font-size: 12px;
  }

  .compare-table tbody td {
    padding: 12px 10px;
  }

  .compare-note {
    padding: 18px 16px;
  }

  .duo {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .download {
    padding: 74px 0 82px;
  }

  .download-card {
    padding: 44px 22px;
    border-radius: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 34px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-figure img {
    max-height: 80vh;
  }

  .tab {
    padding: 7px 12px;
  }
}

@media (max-width: 420px) {
  .protocol-label {
    display: none;
  }

  .hero-points {
    gap: 8px 16px;
  }

  .download-meta {
    gap: 6px 18px;
  }

  .download-meta li + li::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pulse,
  .btn,
  .feature-card,
  .shot-btn img {
    animation: none;
    transition: none;
  }
}
