/* RRAWK marketing — tokens mirror gui AppColors (dark) */
:root {
  --bg-deep: #0b0e12;
  --bg-canvas: #0b0e12;
  --bg-panel: #11161d;
  --bg-elevated: #171d26;
  --bg-hover: #1d2530;
  --border-subtle: #29313c;
  --border-strong: #353f4c;
  --border-quiet: #1c232c;
  --accent: #e23b46;
  --accent-hover: #ef4a54;
  --accent-pressed: #bf2f38;
  --accent-soft: rgba(226, 59, 70, 0.2);
  --text: #f4f6f8;
  --text-secondary: #a2abb7;
  --text-muted: #8b95a3;
  --success: #35c98b;
  --badge-r3d: #5ba4cf;
  --badge-nev: #9b8ac4;
  --badge-nef: #d4a05a;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --nav-h: 4.25rem;
  --max: 1120px;
  --max-wide: 1280px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

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

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

button,
input {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--text);
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 1rem;
}

/* —— Atmosphere —— */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(226, 59, 70, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(91, 164, 207, 0.05), transparent 50%),
    linear-gradient(180deg, #0d1117 0%, var(--bg-deep) 35%, var(--bg-deep) 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    backdrop-filter 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 14, 18, 0.88);
  border-bottom-color: var(--border-quiet);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 1.35rem;
  width: auto;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  display: block;
  padding: 0.45rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: var(--bg-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: currentColor;
}
.nav-toggle span::before {
  top: -5px;
}
.nav-toggle span::after {
  top: 5px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: rgba(11, 14, 18, 0.97);
  padding: 1rem 1.5rem 2rem;
  overflow-y: auto;
  z-index: 40;
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-quiet);
  color: var(--text-secondary);
  font-weight: 500;
}
.mobile-nav a:hover {
  color: var(--text);
}
.mobile-nav .btn {
  margin-top: 1.25rem;
  width: 100%;
}

@media (min-width: 1180px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-links a {
    padding: 0.4rem 0.5rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 1179px) {
  .nav-actions .nav-cta {
    display: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--text);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--text);
}
.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  min-height: 2.75rem;
  min-width: 44px;
  padding: 0.5rem 0.85rem;
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-hover);
}
.btn-lg {
  min-height: 3.15rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}
.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* —— Layout —— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap-wide {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--border-quiet);
  scroll-margin-top: var(--nav-h);
}
.section-tight {
  padding: 4rem 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.section-lead {
  margin: 0 0 2.5rem;
  max-width: 38rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* —— Hero —— */
.hero {
  padding: 2.5rem 0 0;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
}

.hero-copy {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  padding: 1.5rem 1.5rem 0;
  text-align: center;
}

.hero-logo {
  height: 2.15rem;
  width: auto;
  margin: 0 auto 1.75rem;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.05s forwards;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.12s forwards;
}

.hero h1 .line2 {
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-sub {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.2s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.28s forwards;
}

.hero-price {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.34s forwards;
}

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

.hero-visual {
  flex: 1;
  margin-top: 2rem;
  position: relative;
  opacity: 0;
  animation: rise 1s var(--ease) 0.4s forwards;
}

.hero-visual-frame {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  overflow: hidden;
}

.hero-visual-frame img {
  width: 100%;
  max-height: min(62vh, 720px);
  object-fit: cover;
  object-position: top center;
}

.hero-visual-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: linear-gradient(transparent, var(--bg-deep));
  pointer-events: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Concept —— */
.concept-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
}
.concept-item {
  padding: 1.75rem 1.5rem;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-subtle);
}
.concept-item:last-child {
  border-bottom: 0;
}
.concept-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.concept-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.975rem;
}
@media (min-width: 800px) {
  .concept-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .concept-item {
    border-bottom: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
  }
  .concept-item:nth-child(3n) {
    border-right: 0;
  }
  .concept-item:nth-last-child(-n + 3) {
    border-bottom: 0;
  }
}

.privacy-callout {
  margin: 1.75rem 0 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text-secondary);
  font-size: 0.975rem;
}

/* Storage result and clearer public V1 hierarchy */
.savings-section { padding-top: 4.25rem; padding-bottom: 4.5rem; }
.savings-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #141a22;
}
.savings-original { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border-quiet); padding-bottom: 1rem; }
.savings-original span, .savings-row > span { color: var(--text-secondary); }
.savings-original strong { font: 700 clamp(1.7rem, 4vw, 2.5rem)/1 var(--font-display); letter-spacing: -0.04em; }
.savings-results { display: grid; gap: 1rem; }
.savings-row { display: grid; grid-template-columns: 5.3rem minmax(0, 1fr) 5.5rem; align-items: center; gap: 1rem; font-size: 0.95rem; }
.savings-row strong { text-align: right; font: 700 1.2rem/1.2 var(--font-display); letter-spacing: -0.025em; white-space: nowrap; }
.savings-track { height: 0.8rem; border-radius: 999px; background: var(--bg-elevated); overflow: hidden; }
.savings-bar { display: block; height: 100%; border-radius: inherit; }
.savings-lossless { background: #7d8794; }
.savings-pure { background: #a9b5c4; }
.savings-prime { background: var(--accent); }
.savings-note { margin: 0.85rem 0 0; color: var(--text-muted); font-size: 0.84rem; }
@media (min-width: 800px) {
  .savings-card { grid-template-columns: 15rem minmax(0, 1fr); align-items: center; gap: 2rem; padding: 2rem; }
  .savings-original { display: grid; align-content: center; gap: 0.4rem; border: 0; border-right: 1px solid var(--border-quiet); padding: 0 2rem 0 0; min-height: 8rem; }
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .concept-item:nth-child(3n) { border-right: 1px solid var(--border-subtle); }
  .concept-item:nth-child(2n) { border-right: 0; }
  .concept-item:nth-last-child(-n + 3) { border-bottom: 1px solid var(--border-subtle); }
  .concept-item:nth-last-child(-n + 2) { border-bottom: 0; }
}
.privacy-callout { display: flex; flex-wrap: wrap; gap: 0.3rem 0.75rem; border-color: rgba(53, 201, 139, 0.3); }
.privacy-callout strong { color: var(--text); }
@media (max-width: 520px) {
  .savings-card { padding: 1.15rem; }
  .savings-row { grid-template-columns: 4.6rem minmax(0, 1fr) 4.8rem; gap: 0.55rem; font-size: 0.85rem; }
  .savings-row strong { font-size: 1rem; }
}

/* —— Feature bands —— */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.chip-r3d {
  border-color: rgba(91, 164, 207, 0.35);
  color: var(--badge-r3d);
}
.chip-nev {
  border-color: rgba(155, 138, 196, 0.35);
  color: var(--badge-nev);
}
.chip-nef {
  border-color: rgba(212, 160, 90, 0.35);
  color: var(--badge-nef);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: center;
  }
  .split-reverse {
    grid-template-columns: 1.15fr 1fr;
  }
  .split-reverse .split-copy {
    order: 2;
  }
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-quiet);
  display: grid;
  gap: 0.2rem;
}
.feature-list li:last-child {
  border-bottom: 1px solid var(--border-quiet);
}
.feature-list strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.feature-list span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.shot {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.shot img {
  width: 100%;
}

/* —— App —— */
.app-stack {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .app-stack {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
  }
  .app-stack .shot:first-child {
    grid-row: 1 / 3;
  }
}

.app-points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .app-points {
    grid-template-columns: repeat(4, 1fr);
  }
}
.app-point {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}
.app-point h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
}
.app-point p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* —— Performance / Compat —— */
.plain-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .plain-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .plain-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.plain-item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--border-subtle);
}
.plain-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.plain-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.note {
  margin-top: 1.5rem;
  padding: 0.95rem 1.1rem;
  border-left: 2px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* —— FAQ —— */
.faq-list {
  max-width: 46rem;
  border-top: 1px solid var(--border-subtle);
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.compat-matrix {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .compat-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
}
.matrix-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #141a22;
  overflow: hidden;
}
.matrix-card.is-limited {
  border-color: rgba(226, 59, 70, 0.35);
}
.matrix-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid var(--border-quiet);
}
.matrix-art {
  flex: none;
  width: 5.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
}
.matrix-art img {
  max-width: 100%;
  max-height: 3.5rem;
  object-fit: contain;
}
.camera-kind {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.matrix-head h3 {
  margin: 0.2rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.matrix-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.matrix-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.matrix-details { min-width: 0; }
.matrix-details summary {
  list-style: none;
  padding: 0.75rem 1.1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.matrix-details summary::-webkit-details-marker { display: none; }
.matrix-details summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.matrix-details[open] summary::after { content: "−"; }
.matrix-details summary:hover { background: var(--bg-hover); }
.matrix-details[open] summary { border-bottom: 1px solid var(--border-quiet); }
.matrix-table {
  width: 100%;
  min-width: 22rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.matrix-table th,
.matrix-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-quiet);
}
.matrix-table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-elevated);
}
.matrix-table tr:last-child td {
  border-bottom: 0;
}
.matrix-sub {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.status-ok {
  color: var(--success);
  font-weight: 600;
}
.status-no {
  color: var(--text-muted);
  font-weight: 600;
}
.compat-aside {
  margin: 1.25rem 0 0;
  color: var(--text-secondary);
  font-size: 0.975rem;
}

.quality-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .quality-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.quality-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #141a22;
}
.quality-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.quality-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.975rem;
}
.quality-limit {
  margin-top: 0.75rem !important;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-quiet);
  color: var(--text-muted) !important;
  font-size: 0.875rem !important;
}

.download-panel {
  display: block;
  max-width: 42rem;
}
@media (min-width: 900px) {
  .download-panel {
    max-width: 42rem;
  }
}
.download-main,
.smartscreen {
  padding: 1.35rem 1.25rem 1.4rem;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #141a22;
}
.download-meta {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.download-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-quiet);
  font-size: 0.95rem;
}
.download-meta span {
  color: var(--text-muted);
}
.download-meta strong {
  text-align: right;
  font-weight: 650;
}
.download-hash-label {
  margin: 1.15rem 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.download-hash {
  margin: 0;
}
.download-hash code {
  display: block;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border-quiet);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.smartscreen h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.smartscreen p {
  margin: 0 0 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.smartscreen-steps {
  color: var(--text) !important;
  font-size: 1rem !important;
}
.smartscreen-note {
  margin-bottom: 0 !important;
  color: var(--text-muted) !important;
  font-size: 0.875rem !important;
}
.download-main { padding: 2rem; }
.download-main > .btn { min-width: min(100%, 18rem); }
.download-reassurance { margin: 0.85rem 0 0; color: var(--text-secondary); font-size: 0.95rem; }
.download-notice { margin: 1.4rem 0 0; color: var(--text-muted); font-size: 0.86rem; }
.download-secondary { margin-top: 0.55rem; }
.download-detail { border-top: 1px solid var(--border-quiet); }
.download-detail summary { list-style: none; padding: 0.85rem 0; color: var(--text-secondary); font-size: 0.9rem; cursor: pointer; }
.download-detail summary::-webkit-details-marker { display: none; }
.download-detail summary::after { content: "⌄"; display: inline-block; margin-left: 0.4rem; color: var(--accent); }
.download-detail[open] summary::after { transform: rotate(180deg); }
.download-detail p { margin: 0 0 0.8rem; color: var(--text-secondary); font-size: 0.88rem; }
.hash-row { display: flex; align-items: stretch; gap: 0.5rem; min-width: 0; }
.hash-row code { flex: 1; min-width: 0; padding: 0.7rem; border: 1px solid var(--border-quiet); border-radius: var(--radius); background: var(--bg-elevated); color: var(--text-secondary); font: 0.75rem/1.5 var(--font-mono); overflow-wrap: anywhere; word-break: break-all; }
.hash-row button { flex: none; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 0.45rem 0.8rem; background: var(--bg-elevated); color: var(--text); cursor: pointer; }
.hash-row button:hover { background: var(--bg-hover); }
.download-detail .copy-feedback { min-height: 1.2rem; margin: 0.3rem 0 0.7rem; color: var(--success); font-size: 0.8rem; }
@media (max-width: 520px) { .download-main { padding: 1.25rem; } .hash-row { flex-wrap: wrap; } }
.footer-version {
  margin-top: 0.85rem !important;
  color: var(--text-muted) !important;
  font-family: var(--font-mono);
  font-size: 0.8rem !important;
}

.compat-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 700px) {
  .compat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .compat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.compat-card {
  padding: 1.05rem 1.15rem 1.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #141a22;
}
.compat-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.compat-mark {
  width: 3px;
  height: 0.85em;
  border-radius: 2px;
  background: var(--accent);
}
.compat-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.35;
}

.bench-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.bench-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}
.bench-table th,
.bench-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-quiet);
  vertical-align: top;
}
.bench-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-elevated);
}
.bench-table td {
  color: var(--text-secondary);
}
.bench-table tr:last-child td {
  border-bottom: 0;
}
.bench-table td:first-child {
  color: var(--text);
  font-weight: 500;
}
.faq-item button::after {
  content: "+";
  flex-shrink: 0;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1.25rem;
}
.faq-item.is-open button::after {
  content: "–";
}
.faq-panel {
  display: none;
  padding: 0 0 1.2rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
}
.faq-item.is-open .faq-panel {
  display: block;
}

/* —— Final CTA —— */
.final-cta {
  text-align: center;
  padding: 5rem 1.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(226, 59, 70, 0.12), transparent 60%),
    var(--bg-panel);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.final-cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: -0.035em;
}
.final-cta p {
  margin: 0 auto 1.5rem;
  max-width: 30rem;
  color: var(--text-secondary);
}
.final-cta .hero-ctas {
  opacity: 1;
  animation: none;
}

/* —— Footer —— */
.site-footer {
  padding: 3rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer-brand img {
  height: 1.15rem;
  margin-bottom: 0.85rem;
}
.footer-brand p {
  margin: 0;
  max-width: 22rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  color: var(--text-secondary);
  font-size: 0.925rem;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-quiet);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Auth / legal pages —— */
.auth-shell {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
  width: 100%;
}
.auth-shell .auth-card {
  margin-inline: auto;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}
.auth-card h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}
.auth-card .lede {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.field input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
}
.field input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.status {
  min-height: 1.4rem;
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.status.is-error {
  color: #ff646e;
}
.status.is-ok {
  color: var(--success);
}
.auth-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.auth-links a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-wide {
  max-width: 640px;
}
.account-block {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.account-block h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 650;
}
.account-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-block li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-quiet);
  color: var(--text-secondary);
  font-size: 0.925rem;
}
.account-block li .btn {
  min-height: 2.2rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
}

.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.legal h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: -0.03em;
}
.legal .meta {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.legal h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.legal p,
.legal li {
  color: var(--text-secondary);
}
.legal ul {
  padding-left: 1.2rem;
}

.simple-header .nav-links,
.simple-header .nav-toggle {
  display: none;
}
.simple-header .nav-actions {
  margin-left: auto;
}
