/* ============================================================
   BONUSZ — Editorial brutalist landing
   Display: Bricolage Grotesque (variable)
   Accent:  Fraunces italic (variable)
   Mono:    JetBrains Mono
============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --surface: #0e0e0e;
  --surface-2: #141414;
  --border: #1f1f1f;
  --border-strong: #2a2a2a;

  --accent: #e81c1c;
  --accent-hot: #ff7a1f;
  --accent-soft: rgba(232, 28, 28, 0.14);

  --text: #fafafa;
  --text-2: #cfcfcf;
  --muted: #7a7a7a;
  --muted-strong: #5a5a5a;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-italic: 'Fraunces', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'ss02';
}

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

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

em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ============ GRAIN OVERLAY ============ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.02em;
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.version-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 22px 14px 24px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--accent), 0 12px 28px -8px rgba(232, 28, 28, 0.5);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.25s, box-shadow 0.25s;
}

.btn-header .arrow {
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}

.btn-header:hover {
  background: var(--accent-hot);
  box-shadow: 0 0 0 1px var(--accent-hot), 0 16px 36px -8px rgba(255, 122, 31, 0.55);
  transform: translateY(-2px);
}

.btn-header:hover .arrow {
  transform: translateX(4px);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) var(--gutter) clamp(80px, 12vw, 160px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  z-index: 2;
}

.hero-bg-z {
  position: absolute;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(420px, 80vw, 980px);
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(232, 28, 28, 0.10);
  top: -8%;
  right: -22%;
  user-select: none;
  pointer-events: none;
  z-index: -1;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-40px, 30px) rotate(-2deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 8px 14px 8px 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 28, 28, 0.35);
  border-radius: 999px;
  animation: fadeUp 0.8s 0.1s both;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.5; }
}

.hero-title {
  font-size: clamp(48px, 7.2vw, 104px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-title .line {
  display: block;
  animation: fadeUp 0.9s both;
}

.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.32s; }
.hero-title .line:nth-child(3) { animation-delay: 0.44s; }
.hero-title .line:nth-child(4) { animation-delay: 0.56s; }

.hero-title .accent {
  color: var(--accent);
}

.hero-title .accent-2 {
  color: var(--accent-hot);
  font-weight: 800;
}

.hero-title em {
  background: linear-gradient(96deg, var(--accent), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}

.dot-mark {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 0.05em;
  vertical-align: baseline;
  transform: translateY(-0.05em);
}

@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 40px;
  animation: fadeUp 0.9s 0.7s both;
}

.subtitle strong {
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.85s both;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 16px 24px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  position: relative;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -10px rgba(232, 28, 28, 0.55);
}

.btn-primary:hover {
  background: var(--accent-hot);
  box-shadow: 0 0 0 1px var(--accent-hot), 0 24px 50px -8px rgba(255, 122, 31, 0.55);
  transform: translateY(-2px);
}

.btn-primary svg {
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.btn-ghost .arrow {
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}

.btn-ghost:hover .arrow {
  transform: translate(3px, 3px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  flex-wrap: wrap;
  animation: fadeUp 0.9s 1s both;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.stat-rule {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}

/* ============ PHONE MOCKUP ============ */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 1.2s 0.4s both;
}

.phone-glow {
  position: absolute;
  width: 110%;
  height: 90%;
  background: radial-gradient(circle, rgba(232, 28, 28, 0.45), transparent 60%);
  filter: blur(60px);
  z-index: -1;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

.phone {
  width: clamp(240px, 30vw, 300px);
  aspect-ratio: 280 / 580;
  background: #050505;
  border-radius: 42px;
  border: 8px solid #1a1a1a;
  padding: 18px 12px 18px;
  position: relative;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: rotate(-3deg);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-2.5deg) translateY(-14px); }
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 6px;
  background: #0a0a0a;
  border-radius: 4px;
}

.phone-screen {
  margin-top: 22px;
  background: var(--bg);
  border-radius: 22px;
  height: calc(100% - 22px);
  position: relative;
  overflow: hidden;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 2px 8px;
}

.mini-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.mini-logo::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 4px;
  margin-right: 5px;
  vertical-align: -2px;
}

.mini-bell {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}

.mini-bell::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 10px;
  border: 2px solid var(--text);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.mini-balance-card {
  position: relative;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid rgba(232, 28, 28, 0.25);
  padding: 12px;
  overflow: hidden;
}

.mini-balance-glow {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(232, 28, 28, 0.45), transparent 70%);
  filter: blur(20px);
}

.mini-balance-row {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.mini-z-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 28, 28, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-z-icon span {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

.mini-balance-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mini-balance-label {
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-balance-value {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 1px;
}

.mini-chevron {
  width: 22px;
  height: 22px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.mini-banner {
  background:
    linear-gradient(135deg, var(--accent), var(--accent-hot));
  border-radius: 12px;
  padding: 14px 14px 12px;
  height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.mini-banner::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 60%);
}

.mini-merchant {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.18em;
}

.mini-discount {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 3px;
}

.mini-cta {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.mini-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mini-tile-icon {
  font-size: 18px;
  line-height: 1;
}

.mini-tile span {
  font-size: 8px;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.mini-fab {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(232, 28, 28, 0.7);
}

.mini-fab::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: repeating-linear-gradient(
    0deg,
    #fff 0 2px, transparent 2px 4px
  ),
  repeating-linear-gradient(
    90deg,
    #fff 0 2px, transparent 2px 4px
  );
  background-size: 4px 4px;
  border-radius: 4px;
  opacity: 0.6;
}

/* ============ MARQUEE ============ */
.marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 28px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
  color: var(--text);
}

.marquee-z {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.section-head h2 em {
  color: var(--accent);
}

/* ============ STEPS ============ */
.steps {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 140px) 0;
}

.steps-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.step {
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.4s;
}

.step:last-child {
  border-right: none;
}

.step:hover {
  background: rgba(232, 28, 28, 0.03);
}

.step-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 32ch;
}

/* ============ BENEFITS ============ */
.benefits {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.benefit {
  padding: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.benefit:nth-child(2n) {
  border-right: none;
}

.benefit:nth-last-child(-n+2) {
  border-bottom: none;
}

.benefit-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  color: var(--muted-strong);
  letter-spacing: 0;
  margin-bottom: 28px;
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
}

.benefit h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.benefit h3::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-top: 14px;
}

.benefit p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 38ch;
}

/* ============ DOWNLOAD ============ */
.download {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}

.download-frame {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 56px);
  background:
    radial-gradient(ellipse at top, rgba(232, 28, 28, 0.08), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
}

.download-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
}

.download-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.download-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.download-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.download-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.download-frame .section-tag {
  margin-bottom: 18px;
}

.download-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.download-title em {
  color: var(--accent);
}

.download-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 36px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--text);
  color: #000;
  padding: 18px 28px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 12px 30px -8px rgba(255, 255, 255, 0.2);
}

.btn-download:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -8px rgba(232, 28, 28, 0.55);
}

.btn-download-label {
  font-size: 16px;
}

.btn-download-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding-left: 16px;
  border-left: 1px solid currentColor;
  opacity: 0.6;
}

.btn-download:hover .btn-download-meta {
  opacity: 0.85;
}

.btn-download svg {
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}

.btn-download:hover svg {
  transform: translateY(3px);
}

.install-help {
  margin-top: 36px;
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.install-help summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.install-help summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px;
  transition: transform 0.3s;
  color: var(--text);
}

.install-help[open] summary::after {
  transform: rotate(45deg);
}

.install-help ol {
  margin-top: 18px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.install-help ol li::marker {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
}

/* ============ FAQ ============ */
.faq {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: background 0.3s;
}

.faq-list details[open] {
  background: rgba(232, 28, 28, 0.025);
}

.faq-list summary {
  padding: 24px 0;
  cursor: pointer;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 0.2s;
}

.faq-list summary:hover {
  color: var(--accent);
}

.faq-list summary::after {
  content: '+';
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 60ch;
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px var(--gutter) 32px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-mark {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-tag {
  color: var(--muted);
  font-size: 13px;
  max-width: 32ch;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(.2,.8,.2,1);
}

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

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.14em;
}

.footer-z {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px var(--gutter) 80px;
  }

  .hero-bg-z {
    font-size: 80vw;
    top: 5%;
    right: -30%;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    margin-bottom: 12px;
  }

  .phone {
    transform: rotate(-2deg);
  }

  .section-head {
    text-align: center;
  }

  .section-head h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .steps-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: none;
    text-align: center;
  }

  .step p {
    margin-left: auto;
    margin-right: auto;
  }

  .benefit {
    border-right: none;
    text-align: center;
  }

  .benefit h3::after {
    margin-left: auto;
    margin-right: auto;
  }

  .benefit p {
    margin-left: auto;
    margin-right: auto;
  }

  .benefit:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .benefit:last-child {
    border-bottom: none;
  }

  .nav-meta .version-badge {
    display: none;
  }

  .footer-inner {
    align-items: center;
    text-align: center;
  }

  .footer-mark {
    align-items: center;
  }

  .footer-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: 44px;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .download-title {
    font-size: 30px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 14px 18px;
    font-size: 14px;
  }

  .btn-download {
    gap: 12px;
    padding: 16px 22px;
  }

  .btn-download-meta {
    display: none;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-rule {
    height: 28px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

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