:root {
  --bg: #08060f;
  --bg-alt: #0d0a18;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-solid: #14101f;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ece9f5;
  --muted: #a49fbb;
  --faint: #6f6a86;
  --accent: #8b5cf6;
  --accent-2: #6d28d9;
  --accent-3: #d8b4fe;
  --cyan: #22d3ee;
  --green: #86efac;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

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

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

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

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

code,
pre,
kbd {
  font-family: var(--mono);
}

code {
  font-size: 0.86em;
  background: rgba(139, 92, 246, 0.14);
  color: var(--accent-3);
  padding: 0.12em 0.42em;
  border-radius: 6px;
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 6, 15, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(8, 6, 15, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}
.brand img {
  border-radius: 9px;
}
.brand-accent {
  color: var(--accent-3);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 9px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover {
  color: var(--text);
  background: var(--surface);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(139, 92, 246, 0.8);
}
.btn-primary:hover {
  box-shadow: 0 16px 38px -12px rgba(139, 92, 246, 0.95);
}
.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--accent);
}
.btn-ghost {
  color: var(--muted);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--surface);
}
.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
  border-radius: 13px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.32), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(134, 239, 172, 0.16);
}
h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 800;
}
.gradient-text {
  display: block;
  background: linear-gradient(120deg, var(--accent-3), var(--accent) 45%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 30px;
}
.lead strong {
  color: var(--text);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: var(--faint);
}
.hero-meta li {
  position: relative;
  padding-left: 16px;
}
.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- App visual ---------- */
.hero-visual {
  position: relative;
}

.float-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.72rem;
  background: rgba(19, 15, 30, 0.94);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  color: var(--muted);
  animation: floaty 5s ease-in-out infinite;
}
.float-badge strong {
  color: var(--accent-3);
  font-size: 0.8rem;
}
.badge-tofu {
  left: -26px;
  bottom: 40px;
}
.badge-jump {
  right: -20px;
  top: 26px;
  animation-delay: 1.4s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.85rem;
}
.logo-strip b {
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.045), transparent);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  font-weight: 750;
}
.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

.grid {
  display: grid;
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.gap-lg {
  gap: 56px;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.06);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--accent-3);
  margin-bottom: 18px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-reverse .split-visual {
  order: -1;
}
.split-copy h2 {
  margin-top: 4px;
}
.split-copy > p {
  color: var(--muted);
  font-size: 1.02rem;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.4);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 5px;
  height: 9px;
  border: solid var(--accent-3);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Chain (ProxyJump) ---------- */
.chain {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  gap: 0;
  box-shadow: var(--shadow);
}
.chain-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.chain-node.target {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.07);
}
.chain-node > div {
  display: flex;
  flex-direction: column;
}
.chain-node strong {
  font-size: 0.94rem;
}
.chain-node small {
  color: var(--faint);
  font-size: 0.78rem;
}
.chain-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.16);
  flex-shrink: 0;
}
.chain-dot.hop {
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.16);
}
.chain-line {
  width: 2px;
  height: 26px;
  margin-left: 19px;
  background: linear-gradient(180deg, var(--accent), var(--cyan));
  opacity: 0.6;
}
.chain-caption {
  text-align: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.84rem;
  margin: 16px 0 0;
}

/* ---------- Tabs (automation) ---------- */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 0 auto 34px;
}
.section .tabs {
  display: flex;
  width: fit-content;
}
.tab-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.tab-panels {
  position: relative;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fade 0.35s ease;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.panel-copy h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
}
.panel-copy p {
  color: var(--muted);
}
/* ---------- Themes ---------- */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.theme-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.theme-card:hover,
.theme-card.active {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.theme-swatch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  height: 46px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--t-bg);
  border: 1px solid var(--border);
}
.theme-swatch i {
  display: block;
  height: 100%;
}
.theme-swatch-system {
  grid-template-columns: 1fr 1fr;
  background: #15171c;
}
.theme-swatch-system i:last-child {
  box-shadow: inset 1px 0 0 rgba(8, 6, 15, 0.55);
}
.theme-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
.theme-card.active .theme-name {
  color: var(--text);
}

/* ---------- Security ---------- */
.sec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.sec-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.sec-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.data-table {
  margin-top: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-solid);
}
.data-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.9rem;
}
.data-row:last-child {
  border-bottom: 0;
}
.data-row.head {
  color: var(--faint);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.02);
}
.data-row span:first-child {
  color: var(--text);
}

/* ---------- Stack / Shortcuts ---------- */
.stack-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stack-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}
.stack-list li:last-child {
  border-bottom: 0;
}
.stack-list span {
  color: var(--muted);
}
.stack-list b {
  color: var(--accent-3);
  font-weight: 600;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.shortcuts {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.sc-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  font-size: 0.9rem;
}
.sc-row span:first-child {
  margin-right: auto;
  color: var(--muted);
}
kbd {
  background: linear-gradient(180deg, #1e1930, #14101f);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 7px;
  padding: 3px 9px;
  font-size: 0.76rem;
  color: var(--text);
}
.note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--faint);
}

/* ---------- CTA / Download ---------- */
.section-cta {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(139, 92, 246, 0.18), transparent 70%),
    var(--bg-alt);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-icon {
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 20px 50px -20px rgba(139, 92, 246, 0.9);
}
.section-cta h2 {
  margin-bottom: 12px;
}
.section-cta > .cta-inner > p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 34px;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 760px;
  margin-bottom: 24px;
}
.dl-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(139, 92, 246, 0.08);
}
.dl-card svg {
  color: var(--accent-3);
  flex-shrink: 0;
}
.dl-card div {
  display: flex;
  flex-direction: column;
}
.dl-card strong {
  font-size: 0.98rem;
}
.dl-card small {
  color: var(--faint);
  font-size: 0.76rem;
}
.cta-note {
  color: var(--faint);
  font-size: 0.82rem;
  margin: 0 0 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.footer-brand img {
  border-radius: 8px;
}
.footer-note {
  color: var(--faint);
  font-size: 0.86rem;
  margin: 0;
  flex: 1 1 240px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-copy {
  color: var(--faint);
  font-size: 0.82rem;
  margin: 0;
}

/* ---------- Screenshots ---------- */
.shot-frame {
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0d0a16;
  line-height: 0;
}
.shot {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(4, 3, 9, 0.86);
  backdrop-filter: blur(6px);
  animation: lb-fade 0.2s ease;
}
.lightbox[hidden] {
  display: none;
}
.lightbox-figure {
  margin: 0;
  max-width: 96vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lightbox-img {
  max-width: 96vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  background: #0d0a16;
  animation: lb-pop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.lightbox-caption:empty {
  display: none;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(19, 15, 30, 0.9);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}
body.lightbox-open {
  overflow: hidden;
}
@keyframes lb-fade {
  from {
    opacity: 0;
  }
}
@keyframes lb-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.gallery-item {
  margin: 0;
}
.gallery-item .shot {
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.gallery-item figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}
.theme-strip {
  margin-top: 56px;
}
.theme-strip-head {
  text-align: center;
  margin-bottom: 24px;
}
.theme-strip-head p {
  color: var(--muted);
  margin: 6px 0 0;
}
.theme-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-visual {
    max-width: 620px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-reverse .split-visual {
    order: 0;
  }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 8, 18, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 22px;
    transform: translateY(-140%);
    transition: transform 0.3s ease;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav a {
    padding: 13px 12px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .menu-toggle {
    display: flex;
  }
  .btn-ghost {
    display: none;
  }
  .section {
    padding: 72px 0;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .gap-lg {
    gap: 44px;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .gallery,
  .theme-strip-grid {
    grid-template-columns: 1fr;
  }
  .data-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .badge-tofu {
    left: -8px;
    bottom: -18px;
  }
  .badge-jump {
    right: -8px;
    top: -18px;
  }
  .logo-strip {
    gap: 10px 22px;
    font-size: 0.78rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .app-body {
    grid-template-columns: 1fr;
  }
  .app-side {
    display: none;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}
