/* =========================================================
   Claude MCP Bridge — Viral Content Engine
   Landing page styles. Dark, warm, one accent.
   ========================================================= */

:root {
  --bg: #0b0908;
  --bg-soft: #121010;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-solid: #171412;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4efe9;
  --muted: #a49c93;
  --muted-2: #7c746c;
  --accent: #d97757;
  --accent-2: #f0a37a;
  --accent-deep: #b4522f;
  --green: #6fcf97;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { 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;
  overflow-x: hidden;
}

/* ---------- background decoration ---------- */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 40%, transparent 100%);
  opacity: 0.7;
}

.bg-glow {
  position: fixed;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(217, 119, 87, 0.22), transparent 62%);
  filter: blur(20px);
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.narrow { max-width: 860px; }

.mono { font-family: var(--mono); }

.grad {
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 55%, var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 13px 22px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn svg { flex: none; }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #2a1108;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 26px -10px rgba(217, 119, 87, 0.8);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 16px 34px -12px rgba(217, 119, 87, 0.95);
}

.btn-primary:active { transform: translateY(0) scale(0.99); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 18px; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 9, 8, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 9, 8, 0.88);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-2);
  background: linear-gradient(150deg, rgba(217, 119, 87, 0.28), rgba(217, 119, 87, 0.06));
  border: 1px solid rgba(217, 119, 87, 0.35);
  box-shadow: 0 0 24px -8px rgba(217, 119, 87, 0.7);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.brand-text em { font-style: normal; font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.02em; }

.brand.small .brand-mark { width: 30px; height: 30px; border-radius: 9px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.nav-actions { display: flex; align-items: center; gap: 12px; }

.version-chip {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 9px;
  border-radius: 999px;
}

.burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 14px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(11, 9, 8, 0.98);
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 11px 4px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu a.btn { margin-top: 12px; border-bottom: none; color: #2a1108; }

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

.hero { padding: 88px 0 64px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(217, 119, 87, 0.3);
  background: rgba(217, 119, 87, 0.07);
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(217, 119, 87, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(217, 119, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0); }
}

h1 {
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 22px;
}

.lede {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 30em;
  margin: 0 0 32px;
}

.lede em { color: var(--text); font-style: normal; border-bottom: 1px solid rgba(217, 119, 87, 0.5); }

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.file-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.file-meta .mono { color: var(--muted); font-size: 12px; }

.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); opacity: 0.6; }

.micro { font-size: 12.5px; color: var(--muted-2); margin: 14px 0 0; }

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

.hero-visual { position: relative; }

.window {
  background: linear-gradient(170deg, rgba(30, 25, 22, 0.95), rgba(16, 13, 12, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 24px 60px -30px rgba(217, 119, 87, 0.35);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2.5deg);
  transform-style: preserve-3d;
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: perspective(1400px) rotateY(-6deg) rotateX(2.5deg) translateY(0); }
  50% { transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg) translateY(-10px); }
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.tl { width: 10px; height: 10px; border-radius: 50%; opacity: 0.85; }
.tl.red { background: #e0605b; }
.tl.amber { background: #e0b25b; }
.tl.green { background: #6fcf97; }

.window-title {
  margin-left: 8px;
  font-size: 11px;
  color: var(--muted-2);
  font-family: var(--mono);
}

.window-body { padding: 18px; }

.wp-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  margin-bottom: 16px;
}

.wp-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(111, 207, 151, 0.8);
}

.wp-badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
}

.wp-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.wp-row b { color: var(--text); font-weight: 600; }

.wp-script {
  margin: 16px 0 14px;
  border: 1px solid rgba(217, 119, 87, 0.25);
  background: rgba(217, 119, 87, 0.055);
  border-radius: 10px;
  padding: 13px 14px;
}

.wp-script-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 9px;
}

.wp-script p {
  font-size: 12.5px;
  color: #e8e0d7;
  margin: 0 0 7px;
  line-height: 1.5;
}

.wp-script p:last-child { margin-bottom: 0; }

.cue {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--accent);
  margin-right: 6px;
  letter-spacing: 0.04em;
}

.wp-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.wp-chip {
  font-size: 10.5px;
  font-family: var(--mono);
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 9px;
  border-radius: 6px;
}

.wp-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--green);
  font-weight: 600;
}

.wp-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(111, 207, 151, 0.9);
}

/* ---------- stats ---------- */

.stats {
  padding: 8px 0 12px;
}

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

.stat {
  background: var(--bg-soft);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong { font-size: 26px; letter-spacing: -0.03em; font-weight: 800; }
.stat span { font-size: 13px; color: var(--muted-2); }

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

.section { padding: 96px 0; }

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 18%, rgba(255, 255, 255, 0.018) 82%, transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.section-head { max-width: 640px; margin-bottom: 48px; }

.kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 14px;
}

.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }

/* ---------- feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 119, 87, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

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

.card-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--accent-2);
  background: rgba(217, 119, 87, 0.1);
  border: 1px solid rgba(217, 119, 87, 0.26);
  margin-bottom: 18px;
}

.card h3 { font-size: 16.5px; margin: 0 0 8px; letter-spacing: -0.01em; }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.62; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}

.step h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.015em; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  border: 1px solid rgba(217, 119, 87, 0.28);
  background: linear-gradient(100deg, rgba(217, 119, 87, 0.12), rgba(217, 119, 87, 0.03));
  border-radius: var(--radius);
  padding: 26px 28px;
}

.cta-strip strong { display: block; font-size: 18px; margin-bottom: 2px; }
.cta-strip span { color: var(--muted); font-size: 14.5px; }

/* ---------- install ---------- */

.install-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: start;
}

.install-lede { color: var(--muted); font-size: 16.5px; margin: 0 0 32px; max-width: 32em; }

.install-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.install-list li {
  counter-increment: step;
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.install-list li:last-child { border-bottom: none; }

.install-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  border: 1px solid rgba(217, 119, 87, 0.3);
  background: rgba(217, 119, 87, 0.07);
  height: 28px;
  min-width: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  flex: none;
  margin-top: 1px;
}

.il-body strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.il-body p { margin: 0; color: var(--muted); font-size: 14px; }
.il-body .mono { color: var(--accent-2); font-size: 13px; word-break: break-all; }

.cmd-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  border: 1px solid var(--line);
  background: #0e0c0b;
  border-radius: 9px;
  padding: 8px 8px 8px 12px;
  max-width: 320px;
}

.cmd-row code { font-size: 13px; color: var(--text); flex: 1; }

.copy-btn {
  font-size: 11.5px;
  font-family: var(--mono);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 9px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.copy-btn:hover { color: var(--text); border-color: var(--line-strong); }

.install-aside { position: sticky; top: 92px; }

.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  padding: 26px 24px;
}

.aside-card h3 { font-size: 13px; margin: 0 0 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }

.file-list, .req-list { list-style: none; margin: 0; padding: 0; }
.file-list li { font-size: 13px; color: var(--text); padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.file-list li::before { content: "▸"; color: var(--accent); font-size: 10px; }
.req-list li { font-size: 14px; color: var(--muted); padding: 5px 0 5px 18px; position: relative; }
.req-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-size: 11px; }

.aside-divider { height: 1px; background: var(--line); margin: 20px 0; }

/* ---------- faq ---------- */

.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 600;
  padding: 18px 34px 18px 0;
  position: relative;
  transition: color 0.15s ease;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-weight: 400;
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14.8px;
  max-width: 52em;
  padding-right: 20px;
}

.faq details p .mono { color: var(--accent-2); font-size: 13px; }

/* ---------- final ---------- */

.final { padding: 104px 0; }

.final-inner {
  text-align: center;
  border: 1px solid rgba(217, 119, 87, 0.22);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 119, 87, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  border-radius: 24px;
  padding: 64px 28px;
}

.final h2 { max-width: 760px; margin: 0 auto 14px; }
.final p { color: var(--muted); margin: 0 auto 30px; font-size: 16.5px; }
.final .micro { margin-top: 20px; font-size: 12px; color: var(--muted-2); }

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

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: rgba(255, 255, 255, 0.012);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--text); }
.footer-note { width: 100%; margin: 0; color: var(--muted-2); font-size: 12.5px; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: #1c1816;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 10px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 100;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .window { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

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

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .window { transform: none; animation: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .install-grid { grid-template-columns: 1fr; gap: 40px; }
  .install-aside { position: static; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links + .nav-actions { margin-left: auto; }
  .nav-actions { margin-left: auto; }
  .nav-actions .version-chip { display: none; }
  .burger { display: flex; }
  .nav-actions .btn { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 44px; }
  .section { padding: 72px 0; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  h1 { font-size: 38px; }
  .cards { grid-template-columns: 1fr; }
  .download-row { flex-direction: column; align-items: stretch; }
  .download-row .btn { width: 100%; }
  .final { padding: 72px 0; }
  .final-inner { padding: 44px 20px; border-radius: 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 22px; }
  .cta-strip .btn { width: 100%; }
  .brand-text em { display: none; }
}

/* ---------- mobile polish ---------- */

@media (max-width: 620px) {
  .file-meta { font-size: 12px; gap: 8px; }
  .file-meta .dot { display: none; }
  .file-meta .mono { flex-basis: 100%; }
  .window-body { padding: 14px; }
  .wp-row { font-size: 12px; }
  .wp-live { margin-left: 0; }
  .footer-inner { gap: 18px; }
  .footer-links { margin-left: 0; gap: 16px; }
}
