/* ============================================================
   BearLinkNET — Instruction Site
   Fonts: Syne (display) + Inter (body)
   Palette: jet black / crimson / amber accent on screenshots
   ============================================================ */

:root {
  --bg: #060606;
  --surface: rgba(14,12,15,0.8);
  --surface-strong: rgba(17,15,18,0.96);
  --border: rgba(255,34,34,0.2);
  --border-soft: rgba(255,255,255,0.07);
  --red: #ff2020;
  --red-dim: rgba(255,32,32,0.12);
  --red-glow: rgba(255,20,20,0.25);
  --green: #32d65a;
  --green-dim: rgba(50,214,90,0.12);
  --text: #f5f5f7;
  --muted: #9a9aaa;
  --dim: #505060;
  --radius: 20px;
  --radius-sm: 12px;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }

body {
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(6,6,6,0.96) 0%, rgba(6,6,6,0.80) 46%, rgba(6,6,6,0.58) 100%),
    url('desktop-bg.png') center/cover fixed;
  color-scheme: dark;
  overflow-x: hidden;
  min-height: 100vh;
}

#particleCanvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0; opacity: 0.45;
}

body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 80% 8%, rgba(255,20,20,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 15% 85%, rgba(255,10,10,0.07) 0%, transparent 60%);
}

button { font: inherit; appearance: none; -webkit-appearance: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ── Container ── */
.container {
  position: relative; z-index: 1;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Section ── */
.section {
  padding: 72px 0;
}

.section-steps {
  border-top: 1px solid var(--border-soft);
}

.section-head {
  margin-bottom: 40px;
  max-width: 680px;
}

.section-head h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.section-head-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-icon {
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: contain;
  background: rgba(255,255,255,0.03);
}

.section-sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* ── Eyebrow ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ff5555;
  margin-bottom: 12px;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff3333;
  box-shadow: 0 0 8px #ff2222, 0 0 16px rgba(255,34,34,0.45);
  animation: blink 1.9s ease-in-out infinite;
  flex-shrink: 0;
}

.dot-green {
  background: var(--green);
  box-shadow: 0 0 8px var(--green), 0 0 16px rgba(50,214,90,0.4);
}

@keyframes blink {
  0%,100% { opacity:1; }
  50% { opacity:0.35; }
}

/* ── Buttons ── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,0.14) 50%, transparent 72%);
  transform: translateX(-130%); pointer-events: none;
  transition: transform 0.55s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #d91818, #840000);
  border-color: rgba(255,80,80,0.32);
  box-shadow: 0 10px 32px rgba(255,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-primary:hover { box-shadow: 0 16px 44px rgba(255,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2); }

.btn-outline {
  border-color: var(--border);
  background: rgba(255,20,20,0.05);
  backdrop-filter: blur(12px);
}
.btn-outline:hover { border-color: rgba(255,30,30,0.45); background: rgba(255,20,20,0.1); }

.btn-outline-sm {
  height: 42px; padding: 0 18px; font-size: 13px;
  border-color: var(--border-soft);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
}
.btn-outline-sm:hover { border-color: rgba(255,255,255,0.15); }

.btn-red-solid {
  background: linear-gradient(135deg, #d91818, #840000);
  border-color: rgba(255,80,80,0.32);
  box-shadow: 0 10px 32px rgba(255,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-red-solid:hover { box-shadow: 0 16px 44px rgba(255,0,0,0.3); }

.btn-green-solid {
  background: linear-gradient(135deg, #1c9e3e, #0b5222);
  border-color: rgba(50,214,90,0.32);
  box-shadow: 0 10px 32px rgba(50,200,80,0.16), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-green-solid:hover { box-shadow: 0 16px 44px rgba(50,200,80,0.28); }

/* ── Badge ── */
.badge-green {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(50,214,90,0.28);
  padding: 3px 10px; border-radius: 20px;
  white-space: nowrap;
}

.badge-inline {
  margin-left: 10px;
  vertical-align: middle;
  font-size: 10px;
}

/* ══════════════════════════════════════════════
   SITE NAV
══════════════════════════════════════════════ */
.site-nav {
  position: relative; z-index: 10;
  padding: 22px 0 0;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  animation: fadeDown 0.6s cubic-bezier(0.2,0.8,0.2,1) both;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 50px;
  background: rgba(0,0,0,0.36);
  backdrop-filter: blur(20px);
}

.brand-mark {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--red-dim);
  border: 1px solid rgba(255,32,32,0.48);
  color: var(--red);
}

.brand-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 15px;
}
.brand-text em { color: var(--red); font-style: normal; }

.nav-sep {
  width: 1px; height: 18px;
  background: var(--border-soft);
  margin: 0 2px;
}

.nav-label {
  font-size: 12px; font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  padding: 56px 0 48px;
  min-height: min(680px, 90vh);
  display: flex; align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 300px);
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-copy h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.h1-stroke {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  filter: drop-shadow(0 0 24px rgba(255,20,20,0.28));
}

.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted); line-height: 1.58;
  max-width: 520px; margin-bottom: 32px;
}

.hero-btns {
  display: flex; flex-wrap: wrap; gap: 12px;
}

/* Orb */
.hero-visual { display: flex; justify-content: center; }

.orb-wrap {
  position: relative;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
}

.orb-ring {
  position: absolute; border-radius: 50%; border: 1px solid;
  animation: spin linear infinite;
}
.r1 { width: 230px; height: 230px; border-color: rgba(255,30,30,0.18); animation-duration: 20s; }
.r2 { width: 180px; height: 180px; border-color: rgba(255,30,30,0.12); border-style: dashed; animation-duration: 32s; animation-direction: reverse; }
.r3 { width: 136px; height: 136px; border-color: rgba(255,30,30,0.08); animation-duration: 44s; }

@keyframes spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }

.orb-core {
  position: relative; z-index:1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px;
}

.orb-core span {
  font-family: 'Syne', sans-serif;
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--red); opacity: 0.65;
}

/* Quick strip */
.quick-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  padding: 18px 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(12px);
}

.qs-label {
  font-size: 13px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}

.qs-apps {
  display: flex; flex-wrap: wrap; gap: 10px;
}

.qs-app {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.04);
  font-size: 13px; font-weight: 600;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.qs-app:hover { border-color: rgba(255,30,30,0.4); background: rgba(255,20,20,0.07); transform: translateY(-1px); }
.qs-app img { border-radius: 7px; object-fit: contain; background: rgba(255,255,255,0.03); }

.qs-recommended {
  border-color: rgba(50,214,90,0.3);
  background: rgba(50,214,90,0.06);
}
.qs-recommended:hover { border-color: rgba(50,214,90,0.55); background: rgba(50,214,90,0.12); }

.qs-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(50,214,90,0.25);
  padding: 2px 7px; border-radius: 20px;
}

/* ══════════════════════════════════════════════
   APP CARDS
══════════════════════════════════════════════ */
.app-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.app-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.44);
  transition: transform 0.22s cubic-bezier(0.2,0.8,0.2,1), border-color 0.22s, box-shadow 0.22s;
}

.app-card::before {
  content: '';
  position: absolute; top:0; left:0; right:0; height:100px;
  background: linear-gradient(180deg, rgba(255,22,22,0.08), transparent);
  pointer-events: none;
}

.app-card::after {
  content: '';
  position: absolute; top:0; left:12px; right:12px; height:2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,34,34,0.65), transparent);
}

.app-card-green::before { background: linear-gradient(180deg, rgba(50,214,90,0.07), transparent); }
.app-card-green::after { background: linear-gradient(90deg, transparent, rgba(50,214,90,0.65), transparent); }

.app-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,34,34,0.42);
  box-shadow: 0 32px 72px rgba(0,0,0,0.56), 0 0 36px rgba(255,0,0,0.07);
}

.app-card-green:hover {
  border-color: rgba(50,214,90,0.45);
  box-shadow: 0 32px 72px rgba(0,0,0,0.56), 0 0 36px rgba(50,214,90,0.07);
}

.card-glow {
  position: absolute; inset:-1px; pointer-events:none;
  opacity:0;
  background: linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.055) 50%, transparent 82%);
  transform: translateX(-100%);
  transition: opacity 0.22s, transform 0.6s ease;
}
.app-card:hover .card-glow { opacity:1; transform: translateX(100%); }

.card-head {
  position: relative; z-index:1;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}

.app-icon-wrap {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.48);
  transition: transform 0.2s ease;
}
.app-card:hover .app-icon-wrap { transform: translateY(-2px) scale(1.04); }
.app-icon-wrap img { display:block; width:100%; height:100%; object-fit: contain; }

.card-meta { flex:1; }
.card-title-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:4px; }

.card-meta h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.01em;
  position: relative; z-index:1;
}

.app-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--dim); text-transform: uppercase;
}

.app-desc {
  position: relative; z-index:1;
  flex:1; font-size: 14px; line-height: 1.6;
  color: var(--muted); margin-bottom: 18px;
}

.app-btns {
  position: relative; z-index:1;
  display: flex; gap: 10px;
}

/* ══════════════════════════════════════════════
   STEPS GRID
══════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.flow-note {
  max-width: 860px;
  margin: -16px 0 28px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.flow-note strong {
  color: var(--text);
}

.flow-note-green {
  border-color: rgba(50,214,90,0.22);
  background: rgba(50,214,90,0.045);
}

.step-card {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.36);
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: rgba(255,34,34,0.28);
  transform: translateY(-2px);
}

.step-card-final {
  border-color: rgba(255,34,34,0.22);
  background: rgba(255,20,20,0.04);
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red); opacity: 0.8;
}

.step-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 16px; font-weight: 700;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px; color: var(--muted); line-height: 1.6;
}

.step-body strong { color: var(--text); }

.step-screenshot {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #000;
  max-width: 240px;
  align-self: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.step-screenshot img {
  display: block; width: 100%; height: auto;
}

/* Full-width screenshot cards */
.step-card-screenshot {
  grid-column: span 1;
}

.step-card-wide {
  grid-column: span 2;
}

.step-screenshot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.section-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   LINK SECTION
══════════════════════════════════════════════ */
.section-link { background: rgba(255,255,255,0.01); }

.link-variants {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}

.link-variant {}

.variant-header {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 20px;
}

.variant-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 16px; font-weight: 800;
  background: var(--red-dim);
  border: 1px solid rgba(255,34,34,0.3);
  color: var(--red);
}

.variant-num-b {
  background: rgba(50,214,90,0.1);
  border-color: rgba(50,214,90,0.28);
  color: var(--green);
}

.variant-header h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700;
  margin-bottom: 6px;
}

.variant-header p {
  font-size: 14px; color: var(--muted); line-height: 1.55;
}
.variant-header strong { color: var(--text); }

.variant-screenshots {
  display: flex; flex-wrap: wrap; gap: 14px;
}

.vshot-card {
  flex: 1; min-width: 200px; max-width: 280px;
  display: flex; flex-direction: column; gap: 8px;
}

.vshot-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--dim);
}

.vshot-card img {
  display: block; width: 100%; height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
}

.vshot-hint {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
  line-height: 1.5;
}

.variant-divider {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  padding-top: 60px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim);
  gap: 8px;
}

.variant-divider::before, .variant-divider::after {
  content: '';
  width: 1px; height: 60px;
  background: var(--border-soft);
}

.tip-box {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 36px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,80,30,0.22);
  background: rgba(255,50,20,0.06);
}

.tip-icon {
  flex-shrink: 0; margin-top: 2px;
}

.tip-box strong { display: block; margin-bottom: 4px; font-size: 15px; }
.tip-box p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.tip-box strong + p strong { color: var(--text); }

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq-list {
  display: grid; gap: 8px;
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item:hover { border-color: rgba(255,34,34,0.24); }
.faq-item[open] { border-color: rgba(255,34,34,0.28); }

.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; list-style: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--text); }

.faq-arrow {
  font-size: 16px; color: var(--dim);
  flex-shrink: 0;
  transition: transform 0.22s;
}
.faq-item[open] .faq-arrow { transform: rotate(180deg); }

.faq-a {
  padding: 0 20px 18px;
  font-size: 14px; color: var(--muted); line-height: 1.65;
}
.faq-a code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #ff7a7a;
  background: rgba(255,20,20,0.1);
  padding: 2px 6px; border-radius: 5px;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  position: relative; z-index:1;
  margin-top: 0;
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

.footer-note { font-size: 12px; color: var(--dim); }

/* ══════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════ */
.toast-global {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  pointer-events: none;
  transition: opacity 0.3s;
}

.toast-global:empty { opacity: 0; }

.toast-inner {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  background: rgba(16,14,16,0.96);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  font-size: 14px; font-weight: 500; color: var(--text);
  white-space: nowrap;
  animation: toastIn 0.3s cubic-bezier(0.2,0.8,0.2,1) both;
}

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

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
[data-a] {
  opacity: 0; transform: translateY(20px);
  animation: riseIn 0.7s cubic-bezier(0.2,0.8,0.2,1) both;
}

[data-a="0"] { animation-delay: 0.06s; }
[data-a="1"] { animation-delay: 0.14s; }
[data-a="2"] { animation-delay: 0.22s; }
[data-a="3"] { animation-delay: 0.28s; }
[data-a="4"] { animation-delay: 0.34s; }
[data-a="5"] { animation-delay: 0.40s; }
[data-a="6"] { animation-delay: 0.46s; }
[data-a="7"] { animation-delay: 0.52s; }

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

@keyframes fadeDown {
  from { opacity:0; transform:translateY(-10px); }
  to { opacity:1; transform:translateY(0); }
}

/* Reset animations inside sections so scroll reveals work */
.section [data-a] {
  animation: none;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section [data-a].is-visible {
  opacity: 1; transform: translateY(0);
}

/* Hero animations stay normal */
.hero [data-a], .quick-strip[data-a] {
  animation: riseIn 0.7s cubic-bezier(0.2,0.8,0.2,1) both;
  transition: none;
  opacity: 1; transform: none;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 960px) {
  body {
    background:
      linear-gradient(180deg, rgba(6,6,6,0.6) 0%, rgba(6,6,6,0.92) 36%, rgba(6,6,6,0.99) 100%),
      url('mobile-bg.png') center top/cover;
    background-attachment: scroll;
  }

  .container { width: min(680px, calc(100% - 28px)); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 36px 0 32px; }

  .app-cards { grid-template-columns: 1fr; }

  .link-variants {
    grid-template-columns: 1fr;
  }

  .variant-divider {
    flex-direction: row;
    padding-top: 0; padding: 8px 0;
    justify-content: flex-start;
  }
  .variant-divider::before, .variant-divider::after {
    width: 40px; height: 1px;
  }

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

  .step-card-screenshot { grid-column: span 1; }
  .step-card-wide { grid-column: span 1; }

  .step-screenshot { max-width: 100%; }
}

@media (max-width: 540px) {
  .hero-copy h1 {
    font-size: 46px;
    line-height: 0.98;
  }

  .h1-stroke {
    -webkit-text-stroke-width: 1.3px;
  }

  .lead {
    font-size: 16px;
    max-width: 330px;
  }

  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .app-btns .btn { flex: 1; justify-content: center; }
  .quick-strip { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 52px 0; }
  .step-screenshot-pair { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .section [data-a] { opacity:1; transform:none; }
}
