@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ===== RESET & VARS — Brutalist Technical ===== */
:root {
  /* ---- color: surfaces ---- */
  --bg: #f5f3ee;
  --bg-alt: #ebe9e2;
  --bg-dark: #0a0a0c;
  --bg-dark2: #131316;
  --bg-dark3: #1a1a1e;
  --surface: #ffffff;
  --surface-elevated: #ffffff;

  /* ---- color: text ---- */
  --text: #1a1a1e;
  --text-strong: #0a0a0c;
  --text-soft: #4a4a52;
  --text-mute: #6e6e78;
  --text-light: #f5f3ee;
  --text-light-soft: #d8d3c5;
  --text-light-mute: #918a7c;

  /* ---- color: brand (monochrome + one signal) ---- */
  --accent: #0a0a0c;
  --accent-strong: #0a0a0c;
  --accent-soft: rgba(10,10,12,.08);
  --accent-softer: rgba(10,10,12,.04);
  --cyan: #c4502f;
  --cyan-strong: #a3401f;

  /* ---- color: signal ---- */
  --green: #2d8056;
  --green-soft: rgba(45,128,86,.10);
  --red: #c4302f;
  --red-soft: rgba(196,48,47,.08);
  --yellow: #d4a017;

  /* ---- color: lines (hairlines) ---- */
  --border: rgba(10,10,12,.10);
  --border-strong: rgba(10,10,12,.20);
  --border-dark: rgba(245,243,238,.10);
  --border-dark-strong: rgba(245,243,238,.20);

  /* ---- shadow tiers (restrained, no glow) ---- */
  --shadow-xs: 0 1px 0 rgba(10,10,12,.04);
  --shadow-sm: 0 1px 2px rgba(10,10,12,.04);
  --shadow: 0 4px 12px rgba(10,10,12,.05);
  --shadow-md: 0 8px 24px rgba(10,10,12,.06);
  --shadow-lg: 0 16px 40px rgba(10,10,12,.08);
  --shadow-xl: 0 28px 64px rgba(10,10,12,.10);
  --shadow-glow-accent: 0 8px 24px rgba(196,80,47,.20);
  --shadow-glow-cyan:   0 8px 24px rgba(196,80,47,.15);

  /* ---- radii (sharp brutalist) ---- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-pill: 999px;

  /* ---- spacing scale (4px base) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;
  --space-13: 120px;

  /* ---- type scale ---- */
  --fs-2xs: .72rem;
  --fs-xs:  .82rem;
  --fs-sm:  .88rem;
  --fs-base: 1rem;
  --fs-md:  1.05rem;
  --fs-lg:  1.18rem;
  --fs-xl:  1.4rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: clamp(1.85rem, 2.6vw, 2.4rem);
  --fs-4xl: clamp(2.2rem, 3.6vw, 3rem);
  --fs-5xl: clamp(2.6rem, 4.6vw, 3.6rem);

  /* ---- line-height ---- */
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-base: 1.55;
  --lh-loose: 1.7;

  /* ---- layout ---- */
  --container: min(1180px, calc(100vw - 48px));
  --container-narrow: min(820px, calc(100vw - 48px));
  --anchor-offset: 88px;

  /* ---- typography families (Bricolage Grotesque + Manrope + JetBrains Mono) ---- */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Bricolage Grotesque', 'Manrope', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 360ms;

  /* ---- focus ring (single source of truth) ---- */
  --ring: 0 0 0 3px rgba(10,10,12,.25);
  --ring-on-dark: 0 0 0 3px rgba(245,243,238,.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--anchor-offset); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
::selection { background: rgba(99,102,241,.28); color: var(--text-strong); }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-feature-settings: 'ss01', 'ss02', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Subtle brutalist atmosphere — fine grid on light, hairlines on dark */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10,10,12,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,12,.024) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: 0;
  mix-blend-mode: multiply;
}
main, header, footer, .modal, .lightbox-overlay { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; }

.container { width: var(--container); margin: 0 auto; }
.center { text-align: center; }
/* anchor landing handled by html { scroll-padding-top } alone; no duplicate */
h1, h2, h3, .logo-text, .price-name {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  color: var(--text-strong);
  font-weight: 700;
  line-height: var(--lh-tight);
  font-variation-settings: "opsz" 96, "wght" 700;
}
h2 { letter-spacing: -0.025em; }
h3 { letter-spacing: -0.02em; font-weight: 600; font-variation-settings: "opsz" 48, "wght" 600; }
.accent-word {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: var(--cyan);
  position: relative;
  display: inline-block;
}
.accent-word::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.05em;
  height: 0.06em;
  background: currentColor;
  opacity: 0.35;
}
h1, h2, h3, p, summary, .btn, .badge, .price-name, .logo-text {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: 4px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-align: center; white-space: normal;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--text-strong);
  color: var(--bg);
  border-color: var(--text-strong);
}
.btn-primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg);
  box-shadow: var(--shadow-glow-accent);
}
.btn-primary:active { transform: translateY(0); }

/* Inverted button on dark surfaces: cream-on-dark; hover flips to signal rust */
.section-dark .btn-primary,
.hero .btn-primary {
  background: var(--bg);
  color: var(--text-strong);
  border-color: var(--bg);
}
.section-dark .btn-primary:hover,
.hero .btn-primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg);
}
/* Pricing buttons on the new transparent dark cards:
   Pro tier = filled rust, the conversion-critical CTA.
   Free/Enterprise = ghost cream outline (less weight). */
.section-dark .price-card .btn-primary {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}
.section-dark .price-card .btn-primary:hover {
  background: var(--cyan-strong);
  border-color: var(--cyan-strong);
  color: var(--bg);
}
.section-dark .price-card .btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border-dark-strong);
}
.section-dark .price-card .btn-outline:hover {
  border-color: var(--text-light);
  background: rgba(245,243,238,.06);
  color: var(--text-light);
}
.btn-ghost {
  color: var(--text-light);
  border-color: var(--border-dark-strong);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--text-light);
  background: rgba(245,243,238,.06);
  color: var(--text-light);
}
.btn-outline { color: var(--text-strong); border-color: var(--border-strong); background: var(--surface); }
.btn-outline:hover { border-color: var(--text-strong); background: var(--text-strong); color: var(--bg); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

:where(a, button, summary, input, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: inherit;
  transition: box-shadow var(--dur-fast) var(--ease-out);
}
.section-dark :where(a, button, summary, input, textarea, [tabindex]):focus-visible,
.hero :where(a, button, summary, [tabindex]):focus-visible {
  box-shadow: var(--ring-on-dark);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
}
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-danger { background: var(--red-soft); color: var(--red); }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; padding: 10px 0;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-weight: 700; font-size: .95rem; }
.nav { display: flex; gap: 24px; }
.nav a { font-size: .88rem; color: var(--text-soft); transition: color .15s; }
.nav a:hover { color: var(--text); }
.header-right { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex; padding: 3px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--border);
}
.lang-switch button {
  padding: 5px 10px; border: 0; background: transparent;
  border-radius: 999px; font-size: .78rem; font-weight: 600;
  color: var(--text-soft); cursor: pointer; transition: all .15s;
  font-family: var(--font);
}
.lang-switch button[aria-pressed="true"] {
  background: var(--surface); color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.mobile-jump { display: none; border-top: 1px solid var(--border); }
.mobile-jump-track {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 10px 0 12px; scrollbar-width: none;
}
.mobile-jump-track::-webkit-scrollbar { display: none; }
.mobile-jump-track a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== HERO ===== */
.hero {
  background: var(--bg-dark);
  padding: var(--space-9) 0 var(--space-12);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 20% 40%, rgba(99,102,241,.18), transparent 70%),
    radial-gradient(45% 40% at 85% 20%, rgba(6,182,212,.14), transparent 70%),
    radial-gradient(30% 30% at 50% 95%, rgba(99,102,241,.08), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(1.5px 1.5px at 15% 20%, rgba(255,255,255,.20) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 35%, rgba(255,255,255,.16) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 75%, rgba(255,255,255,.18) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 85%, rgba(255,255,255,.14) 50%, transparent 51%);
  background-size: 320px 320px;
  opacity: .35;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.hero-kicker {
  font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 600;
  color: var(--cyan);
  margin: 0 0 14px;
}
.hero-kicker strong { color: var(--text); font-weight: 700; }
.hero-badge {
  display: inline-block;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(99,102,241,.12); color: var(--cyan);
  font-size: .82rem; font-weight: 500;
  margin-bottom: 24px; border: 1px solid rgba(99,102,241,.2);
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.12; font-weight: 800;
  color: #fff; max-width: 20ch;
  text-wrap: balance;
  word-break: keep-all;
  hyphens: manual;
}
.hero-sub {
  margin-top: 20px; font-size: 1.05rem;
  color: var(--text-light-soft); max-width: 52ch;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-free-note {
  margin-top: var(--space-5);
  padding: 10px 14px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(6,182,212,.06);
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: var(--lh-base);
  max-width: 52ch;
}
.hero-stats {
  display: flex; gap: 32px; margin-top: 40px;
  padding-top: 24px; border-top: 1px solid var(--border-dark);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 1.5rem; color: #fff; font-weight: 700; }
.hero-stat span { font-size: .78rem; color: var(--text-light-soft); }
.hero-visual {
  display: grid;
  gap: 18px;
  justify-items: end;
}
.hero-proofboard {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin-left: auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-dark-strong);
  background: linear-gradient(180deg, rgba(245,243,238,.04), rgba(245,243,238,.01));
  box-shadow:
    inset 0 1px 0 rgba(245,243,238,.08),
    0 30px 80px rgba(0,0,0,.45),
    0 0 0 1px rgba(196,80,47,.22);
}
.hero-proofboard::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,17,32,0) 60%, rgba(11,17,32,.45) 100%);
}
.hero-proofboard img {
  width: 100%;
  aspect-ratio: 872 / 1408;
  object-fit: cover;
  object-position: top center;
}
.hero-proof-caption {
  position: absolute;
  inset: auto 14px 14px 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(160%);
  background: rgba(11,17,32,.78);
  border: 1px solid var(--border-dark-strong);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.hero-proof-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-proof-caption p {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text-light);
}
/* ===== SECTIONS ===== */
.section { padding: 48px 0 96px; }
.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  /* On dark sections: ONLY swap text-soft / text-mute / accent so dim text
     and link colours become legible against near-black. We deliberately do
     NOT override --text-strong or --text — many elements inside dark
     sections (pricing cards, CTA buttons) have their own cream/white
     surface and need dark text. Body text on the dark surface itself is
     handled by direct rules: `.section-dark p { color: var(--text-light-soft) }`. */
  --text-soft: var(--text-light-soft);
  --text-mute: var(--text-light-mute);
  --accent: var(--cyan);
  --accent-strong: var(--cyan-strong);
  --accent-soft: rgba(196,80,47,.12);
  --accent-softer: rgba(196,80,47,.06);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .text-soft, .section-dark p { color: var(--text-light-soft); }
.section-alt { background: var(--bg-alt); }

.section-header { margin-bottom: 48px; }
.section-header.center { max-width: 680px; margin-left: auto; margin-right: auto; }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  margin-top: 12px; text-wrap: balance;
}
.section-header p { margin-top: 16px; font-size: 1.02rem; color: var(--text-soft); }
.section-dark .section-header p { color: var(--text-light-soft); }

/* ===== PROBLEM GRID ===== */
.problem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card {
  position: relative;
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.problem-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: var(--space-5);
}
.problem-icon-red {
  background: linear-gradient(135deg, rgba(239,68,68,.16), rgba(239,68,68,.06));
  color: var(--red);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.problem-card h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-strong);
}
.problem-card p {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: var(--lh-base);
}

.danger-banner {
  display: flex; align-items: center; gap: 16px;
  margin-top: 40px; padding: 20px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(239,68,68,.06), rgba(239,68,68,.02));
  border: 1px solid rgba(239,68,68,.15);
  color: var(--red);
}
.danger-banner p { color: var(--text); font-weight: 500; font-size: .95rem; margin: 0; }

/* ===== FLOW DIAGRAM ===== */
.flow-figure {
  margin: 0 0 64px;
}

.flow-figure-shell {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(34,211,238,.14), transparent 36%),
    radial-gradient(circle at 20% 15%, rgba(99,102,241,.18), transparent 28%),
    rgba(255,255,255,.03);
  box-shadow:
    0 28px 80px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.flow-figure-shell img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== BEFORE / AFTER ===== */
.before-after {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.ba-panel {
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--border-dark-strong);
  overflow: hidden;
  background: rgba(2,6,23,.55);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.ba-danger { border-color: rgba(239,68,68,.22); }
.ba-safe   { border-color: rgba(16,185,129,.22); }
.ba-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  margin: 0;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: .02em;
  border-bottom: 1px solid var(--border-dark);
  background: rgba(255,255,255,.025);
}
.ba-danger .ba-header { color: var(--red); }
.ba-safe   .ba-header { color: var(--green); }
.ba-header svg {
  filter: drop-shadow(0 0 8px currentColor);
  opacity: .9;
}
.ba-body {
  padding: var(--space-5) var(--space-6);
}
.ba-body code {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--text-light);
  line-height: 1.85;
  word-break: break-all;
  white-space: pre-wrap;
}
.t-red-bg {
  background: rgba(239,68,68,.2); color: #fca5a5;
  padding: 2px 4px; border-radius: 3px;
}
.t-green-bg {
  background: rgba(16,185,129,.2); color: #6ee7b7;
  padding: 2px 4px; border-radius: 3px;
}
.ba-footer {
  padding: 12px var(--space-6);
  margin-top: 0;
  border-top: 1px solid var(--border-dark);
  font-size: var(--fs-xs);
  font-weight: 600;
  background: rgba(255,255,255,.025);
}
.ba-footer-danger { color: var(--red); }
.ba-footer-safe { color: var(--green); }

/* ===== PROOF / SCREENSHOTS ===== */
.proof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 48px;
}
.stat-card {
  text-align: left;
  padding: var(--space-6) var(--space-7);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  line-height: 1;
}
.stat-num + span,
.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--text-soft);
  letter-spacing: .02em;
}
.proof-note {
  display: grid;
  gap: 8px;
  margin: 0 auto 40px;
  max-width: 760px;
  padding: 18px 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(6,182,212,.04));
}
.proof-note strong {
  font-size: .96rem;
  font-weight: 700;
  color: var(--text);
}
.proof-note p {
  font-size: .9rem;
  color: var(--text-soft);
}

.proof-gallery {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.proof-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: #0d1117; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.proof-figure img {
  width: 100%;
}
.proof-figure:not(.proof-figure-wide) img {
  aspect-ratio: 11 / 10;
  object-fit: cover;
  object-position: top center;
  background: #1a1a1e;
}
.proof-figure figcaption {
  display: flex;
  align-items: flex-start;
  min-height: 92px;
  padding: 14px 18px; font-size: .82rem;
  color: var(--text-soft); background: var(--surface);
  border-top: 1px solid var(--border);
}
.proof-figure-wide { grid-column: 1 / -1; }
.proof-figure-wide img { width: 100%; height: auto; }

/* ===== COVERAGE GRID ===== */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-3);
}
.cover-item {
  position: relative;
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border-dark);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-light);
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.cover-item:hover {
  border-color: rgba(99,102,241,.35);
  background: rgba(99,102,241,.06);
  transform: translateY(-1px);
}
.cover-tier {
  position: absolute; top: 8px; right: 10px;
  font-size: .58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 8px; border-radius: var(--radius-xs);
  line-height: 1;
}
.cover-free { background: rgba(52,211,153,.16); color: #6ee7b7; border: 1px solid rgba(52,211,153,.22); }
.cover-pro  { background: rgba(99,102,241,.16); color: #a5b4fc; border: 1px solid rgba(99,102,241,.22); }
.cover-tier-note {
  margin-top: 14px; font-size: .82rem; color: var(--text-soft);
  text-align: center;
}
.cover-icon {
  width: 8px; height: 28px; border-radius: 0;
  background: var(--cyan); flex-shrink: 0;
  align-self: center;
}
/* Brutalist: thin vertical mark, monochrome by default; Pro items get the warm accent */
.ci-key, .ci-aws, .ci-jwt, .ci-bearer, .ci-ssh, .ci-iban, .ci-crypto, .ci-github { background: var(--text-light-soft); }
.ci-card, .ci-mail, .ci-phone, .ci-lock, .ci-person, .ci-loc, .ci-url { background: var(--cyan); }
.ci-more { background: var(--text-light); }

/* ===== TRUST ROW ===== */
.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.trust-panel-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 12px;
}
.trust-panel p {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 44ch;
}
.trust-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.trust-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.trust-icon {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(99,102,241,.14), rgba(6,182,212,.10));
  color: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 8px 24px -8px rgba(99,102,241,.32);
}
.trust-icon::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 24px;
  border: 1px solid rgba(99,102,241,.12);
  pointer-events: none;
}
.trust-item h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-strong);
}
.trust-item p {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  max-width: 34ch; margin: 0 auto;
  line-height: var(--lh-base);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: stretch;
}

.price-free-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
  max-width: 100%;
  margin: 0 auto var(--space-8);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark-strong);
  background:
    linear-gradient(135deg, rgba(99,102,241,.08), rgba(6,182,212,.04) 60%),
    rgba(255,255,255,.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px rgba(2,6,23,.18);
}

.price-free-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.price-free-badge {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 20px;
  background: rgba(52,211,153,.18);
  color: #34d399;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.price-free-copy {
  flex: 1;
  min-width: 0;
}

.price-free-copy strong {
  display: block;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-free-copy p {
  color: var(--text-light-soft);
  font-size: .92rem;
  margin: 0;
  line-height: 1.55;
}

.price-free-banner .btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 12px 28px;
  font-size: .95rem;
}
/* ===== PRICING — editorial flat columns (no card boxes) =====
   The rest of the page uses asymmetric hairline-driven blocks (trust panel,
   coverage grid, problem cards). Floating cream cards on dark felt grafted
   from a different design system. New shape: three columns sitting directly
   on the dark section, divided by vertical hairlines, no card backgrounds.
   Pro tier emphasised by: rust top stripe + soft tonal lift + recommended
   tag, not by being elevated as a separate object. */
/* ===== PRICING — warm, inviting cream section =====
   Lives on its own light .section-pricing surface (NOT section-dark) so it
   breaks the dark monotone above and below it. Cards are present, lifted,
   warm. Pro tier elevated with rust border, soft glow and a floating
   recommended pill — the conversion-critical CTA radiates, not hides. */
.section-pricing {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196,80,47,.04), transparent 60%),
    var(--bg);
  padding: 48px 0 96px;
  position: relative;
}
.section-pricing .section-header { margin-bottom: 48px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 0;
}
.price-card {
  padding: 44px 36px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow:
    0 1px 0 rgba(10,10,12,.04),
    0 14px 36px -10px rgba(10,10,12,.08);
  display: flex; flex-direction: column;
  gap: 22px;
  height: 100%;
  position: relative;
  color: var(--text);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow:
    0 1px 0 rgba(10,10,12,.06),
    0 24px 48px -10px rgba(10,10,12,.14);
}

/* Pro tier — clearly elevated with rust accent, soft warm glow */
.price-card-pop {
  background:
    linear-gradient(180deg, rgba(196,80,47,.05), var(--surface) 35%);
  border: 2px solid var(--cyan);
  transform: translateY(-14px);
  box-shadow:
    0 26px 56px -16px rgba(196,80,47,.34),
    0 0 0 1px rgba(196,80,47,.08);
  padding-top: 50px;
}
.price-card-pop::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px;
  height: 6px;
  background: var(--cyan);
  border-radius: 10px 10px 0 0;
}
.price-card-pop:hover {
  transform: translateY(-18px);
  box-shadow:
    0 32px 64px -16px rgba(196,80,47,.42),
    0 0 0 1px rgba(196,80,47,.14);
  border-color: var(--cyan-strong);
}

/* НАЙПОПУЛЯРНІШИЙ — floating rust pill above the card */
.price-pop-label {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--bg);
  padding: 7px 20px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(196,80,47,.50);
  display: inline-block;
  margin: 0;
  vertical-align: baseline;
}
.price-pop-label::before { content: ''; }

.price-header { display: flex; flex-direction: column; gap: 14px; }

/* Tier name — distinct kicker */
.price-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text-mute);
}
.price-card-pop .price-name { color: var(--cyan); font-weight: 700; }
.price-name::before { content: none; }

/* Price block — big and confident */
.price-amount {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 8px;
  line-height: 1;
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
}
.price-amount strong {
  font-size: 3.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-variation-settings: "opsz" 96, "wght" 700;
  letter-spacing: -0.045em;
  color: var(--text-strong);
  background: none;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  line-height: .95;
}
.price-card-pop .price-amount strong { color: var(--cyan); }
.price-amount span { font-size: .92rem; color: var(--text-soft); }
.price-amount .price-period {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(196,80,47,.10);
  color: var(--cyan);
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.price-month-equiv {
  margin-top: 4px;
  font-size: .86rem;
  color: var(--text-soft);
  font-weight: 500;
  font-family: var(--font);
  letter-spacing: -0.005em;
}

.price-card p { font-size: .94rem; color: var(--text-soft); line-height: 1.55; }
/* Description — supporting, comfortable. NOT the visual hero anymore —
   the price + tier carries the headline, this confirms audience. */
.price-card > p:first-of-type {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-top: 4px;
  margin-bottom: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  text-wrap: balance;
}
.price-card-pop > p:first-of-type { color: var(--text-strong); }

.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-top: 0; }
.price-card > a.btn, .price-card > button.btn { margin-top: auto; }
.price-card li {
  font-size: .94rem; padding-left: 32px; position: relative;
  color: var(--text);
  line-height: 1.5;
}
/* Soft pill background + cyan checkmark — friendlier than dash, more
   premium than a plain green ring. */
.price-card li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(196,80,47,.10);
  border: none;
}
.price-card li::after {
  content: '';
  position: absolute;
  left: 5px; top: 10px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.price-card-pop li::before { background: var(--cyan); }
.price-card-pop li::after {
  border-left-color: var(--bg);
  border-bottom-color: var(--bg);
}

/* "Everything in Free, plus:" — clear inline section label */
.price-card .price-additive {
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--text-strong);
  margin-top: 8px;
  margin-bottom: 0;
}

.price-card .btn {
  margin-top: 28px;
  font-size: .96rem;
  padding: 14px 28px;
}
.price-period {
  display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--green-soft); color: var(--green);
  margin-top: 4px;
}
.price-note {
  position: absolute;
  bottom: 12px;
  left: 32px;
  right: 32px;
  font-size: .75rem;
  color: var(--text-soft);
  margin: 0;
  text-align: center;
}

/* (legacy white-card overrides removed — new design uses transparent
   columns on dark; text colour is set on .price-card and its children
   directly with cream/rust values, no overrides needed here.) */

/* Additive label between description and feature list (Pro/Enterprise upgrade story) */
.price-additive {
  font-size: .85rem;
  color: var(--accent);
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 0;
}

/* ===== FAQ ===== */
.faq-layout {
  display: grid; grid-template-columns: .4fr 1fr;
  gap: 48px; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99,102,241,.06), var(--shadow-sm);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  color: var(--text-soft);
  transition: transform var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(180deg); color: var(--accent); }
.faq-item p {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: var(--lh-loose);
  max-width: 68ch;
}
.faq-item p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
}
.faq-item p a:hover { color: var(--accent-strong, var(--accent)); text-decoration-thickness: 2px; }

/* FAQ on dark section */
.section-dark .faq-item {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-dark);
}
.section-dark .faq-item summary { color: var(--text-light); }
.section-dark .faq-item p { color: var(--text-light-soft); }

/* ===== FINAL CTA ===== */
.cta-final {
  padding: var(--space-13) 0 var(--space-12);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(99,102,241,.18), transparent 65%),
    radial-gradient(30% 40% at 50% 110%, rgba(6,182,212,.18), transparent 70%);
}
.cta-final::after {
  content: ''; position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(2px 2px at 25% 30%, rgba(255,255,255,.18) 50%, transparent 51%),
    radial-gradient(2px 2px at 70% 70%, rgba(255,255,255,.14) 50%, transparent 51%),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,.18) 50%, transparent 51%);
  background-size: 240px 240px;
  opacity: .4;
  pointer-events: none;
}
.cta-final > .container { position: relative; z-index: 1; }
.cta-final h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 20ch;
  margin: 0 auto;
  text-wrap: balance;
  line-height: var(--lh-tight);
}
.cta-final p { margin-top: 16px; font-size: 1.05rem; color: var(--text-light-soft); max-width: 54ch; margin-left: auto; margin-right: auto; }
.cta-actions { margin-top: 32px; }
.cta-sub { margin-top: 16px; font-size: .82rem; color: var(--text-light-soft); }

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-10) 0 var(--space-7);
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.footer-inner > span:first-child {
  display: flex; flex-direction: column; gap: var(--space-2);
  color: var(--text-mute);
  font-size: var(--fs-xs);
  letter-spacing: .01em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  justify-content: flex-end;
}
.footer-links a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: var(--fs-sm);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-links a:hover { color: var(--text-strong); text-decoration: none; }
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
.lightbox-image {
  cursor: zoom-in;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(2,6,23,.9);
  backdrop-filter: blur(10px);
}
.image-lightbox[hidden] { display: none; }
.image-lightbox-dialog {
  position: relative;
  max-width: min(1200px, 100%);
  max-height: min(90vh, 100%);
  display: grid;
  gap: 14px;
}
.image-lightbox-dialog img {
  max-width: 100%;
  max-height: calc(90vh - 60px);
  object-fit: contain;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 80px rgba(0,0,0,.45);
}
.image-lightbox-dialog p {
  color: var(--text-light-soft);
  font-size: .88rem;
  text-align: center;
}
.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(2,6,23,.72);
  backdrop-filter: blur(10px);
}

.contact-modal[hidden] { display: none; }

.contact-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 28px 90px rgba(2,6,23,.28);
}

.contact-shell {
  padding: 32px;
}

.contact-shell h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.contact-copy {
  margin-top: 12px;
  color: var(--text-soft);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  padding: 13px 15px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input[readonly] {
  background: var(--bg-alt);
}

.contact-note {
  margin-top: 14px;
  font-size: .85rem;
  color: var(--text-soft);
}

.contact-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.warning-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 18px 24px;
  overflow-y: auto;
  background:
    radial-gradient(circle at top, rgba(239,68,68,.18), transparent 36%),
    rgba(2,6,23,.78);
  backdrop-filter: blur(12px);
}

.warning-modal[hidden] { display: none; }

.warning-frame {
  position: relative;
  width: min(1040px, 100%);
}

.warning-dialog {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 36px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(11,17,32,.98), rgba(15,23,42,.98));
  color: var(--text-light);
  border: 1px solid rgba(239,68,68,.22);
  box-shadow: 0 30px 90px rgba(2,6,23,.42);
  outline: none;
}

.warning-shell {
  padding: 30px;
}

.warning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  grid-template-areas:
    "main visual"
    "proof proof"
    "cards cards"
    "actions actions";
  align-items: start;
  gap: 22px;
}

.warning-main {
  grid-area: main;
  min-width: 0;
}

.warning-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.warning-main .badge {
  display: inline-flex;
  line-height: 1.2;
}

.warning-shell h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  color: #fff;
  max-width: 18ch;
  text-wrap: balance;
}

.warning-copy {
  margin-top: 14px;
  max-width: 64ch;
  color: var(--text-light-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.warning-proof {
  grid-area: proof;
  margin-top: 16px;
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.18);
  color: #fecaca;
  font-size: .9rem;
  line-height: 1.45;
  font-weight: 600;
}

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

.warning-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  min-height: 100%;
}

.warning-card strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
}

.warning-card p {
  margin-top: 8px;
  color: var(--text-light-soft);
  font-size: .95rem;
  line-height: 1.5;
}

.warning-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.warning-actions .btn {
  flex: 0 1 auto;
  justify-content: center;
}

.warning-visual {
  grid-area: visual;
  margin: 0;
  display: grid;
  gap: 0;
}

.warning-visual-frame {
  position: relative;
  min-height: 360px;
  aspect-ratio: 16 / 8.6;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: #111827;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.warning-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transform: scale(1.18);
  transform-origin: left top;
  filter: saturate(.9) brightness(.78);
}

.warning-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(239,68,68,.05), rgba(239,68,68,.22), rgba(239,68,68,0));
  mix-blend-mode: screen;
  animation: warning-scan 4.8s ease-in-out infinite;
}

.warning-visual figcaption {
  margin-top: 12px;
  color: var(--text-light-soft);
  font-size: .88rem;
  line-height: 1.45;
}

.warning-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translate(18%, -18%);
  border: 2px solid rgba(191,219,254,.38);
  border-radius: 999px;
  background: linear-gradient(180deg, #22314a 0%, #162236 56%, #0f172a 100%);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  outline: none;
  opacity: 1;
  backdrop-filter: none;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(15,23,42,.3),
    0 0 0 4px #0b1120,
    0 10px 24px rgba(2,6,23,.45);
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.warning-close::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: 999px;
  background: #0b1120;
}

.warning-close::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 34%, rgba(255,255,255,0) 58%);
  pointer-events: none;
}

.warning-close:hover {
  border-color: rgba(191,219,254,.55);
  background: linear-gradient(180deg, #2a3a57 0%, #1c2a42 56%, #172033 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 -1px 0 rgba(15,23,42,.34),
    0 0 0 4px #0b1120,
    0 14px 28px rgba(2,6,23,.5);
  transform: translateY(-1px);
}

.warning-close:focus-visible,
.contact-close:focus-visible {
  outline: 2px solid rgba(99,102,241,.55);
  outline-offset: 3px;
}

@keyframes warning-scan {
  0%, 100% {
    top: 6%;
    opacity: .55;
  }
  50% {
    top: 66%;
    opacity: .92;
  }
}

.footer-links a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root { --anchor-offset: 88px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: none; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .mobile-jump { display: none; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .hero-proofboard { margin: 0 auto; }
  .trust-panel { grid-template-columns: 1fr; }
}

/* ===== Mobile drawer menu ===== */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.nav-toggle:hover { border-color: var(--border-strong); }
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1001;
  color: #fff;
  border-color: var(--border-dark-strong);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(2,6,23,.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.nav-overlay.open { opacity: 1; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--bg-dark);
  border-left: 1px solid var(--border-dark-strong);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  box-shadow: -24px 0 60px rgba(0,0,0,.4);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-dark);
}
.nav-drawer-head strong {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
}
.nav-drawer-close {
  width: 36px; height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-dark-strong);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-drawer-close:hover { background: rgba(255,255,255,.12); }
.nav-drawer-list {
  display: flex; flex-direction: column;
  padding: var(--space-4) 0;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
}
.nav-drawer-list a {
  display: block;
  padding: var(--space-4) var(--space-6);
  color: var(--text-light);
  font-size: var(--fs-md);
  font-weight: 500;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav-drawer-list a:hover {
  background: rgba(255,255,255,.04);
  color: #fff;
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  /* Mobile: one navigation, not two. Hamburger covers inter-page nav;
     for in-guide jumping users scroll through the step list naturally
     (each step has its own H2). Guide jump-track is desktop-only. */
  .page-guide .mobile-jump { display: none; }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin: 0 auto;
    gap: var(--space-5);
  }
  .pricing-grid > :nth-child(4) {
    grid-column: 1 / -1;
    max-width: 360px;
    justify-self: center;
  }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .price-card-pop { transform: translateY(-2px); }
}

@media (max-width: 768px) {
  :root { --anchor-offset: 88px; }
  .section { padding: 32px 0 64px; }
  .section-pricing { padding: 32px 0 64px; }
  .hero { padding: 40px 0 64px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .problem-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .flow-figure { margin-bottom: 48px; }
  .flow-figure-shell { border-radius: 20px; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .proof-gallery { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-free-banner { flex-direction: column; text-align: center; gap: 16px; padding: 24px 20px; }
  .price-free-left { flex-direction: column; gap: 12px; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .header-inner { gap: 12px; }
  .page-guide .mobile-jump-track { padding-top: 8px; }
  .hero-proof-caption { inset: auto 12px 12px 12px; }
  .proof-note { margin-bottom: 28px; }
  .image-lightbox { padding: 16px; }
  .image-lightbox-close { top: 12px; right: 12px; }
  .contact-shell { padding: 24px; }
  .contact-close { top: 12px; right: 12px; }
  .warning-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "proof"
      "visual"
      "cards"
      "actions";
  }
  .warning-grid { grid-template-columns: 1fr; }
  .warning-shell { padding: 28px; }
  .warning-visual-frame {
    min-height: 240px;
    aspect-ratio: auto;
  }
  .warning-actions .btn {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 12px 18px;
    font-size: .95rem;
  }
}

@media (max-width: 480px) {
  :root { --anchor-offset: 80px; }
  .container { width: calc(100vw - 32px); }
  .header-inner { gap: 8px; flex-wrap: nowrap; align-items: center; }
  .btn-lg { padding: 14px 24px; font-size: .95rem; }
  .hero { padding: var(--space-8) 0 var(--space-10); }
  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: none;
  }
  .hero-sub { font-size: var(--fs-base); margin-top: var(--space-4); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-3); margin-top: var(--space-6); }
  .hero-actions .btn-lg { min-height: 52px; padding: 14px 20px; font-size: var(--fs-base); }
  .hero-stats { gap: var(--space-2); grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding: 10px 12px; }
  .hero-stat strong { font-size: var(--fs-xl); }
  .hero-stat span { font-size: 11px; }
  .logo-text { display: none; }
  .header-right { width: auto; align-items: center; gap: 8px; margin-left: auto; }
  .header-right .btn-sm { display: inline-flex; padding: 7px 12px; font-size: .78rem; min-height: 36px; }
  .lang-switch { flex-shrink: 0; }
  /* mobile-jump is hidden globally on <=1024px via the drawer model.
     Guide page re-shows it via `.page-guide .mobile-jump`. */
  .page-guide .mobile-jump-track {
    padding: 8px 12px;
  }
  .page-guide .mobile-jump-track a {
    font-size: .8rem;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .flow-figure { margin-bottom: 40px; }
  .flow-figure-shell { border-radius: 16px; }
  .proof-stats { grid-template-columns: 1fr; }
  .stat-card { padding: 20px; }
  .hero-proof-caption p { font-size: .84rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .cta-final { padding: 80px 0; }
  .cta-final h2 {
    font-size: 1.95rem;
    max-width: 12ch;
  }
  .contact-modal { padding: 12px; }
  .contact-shell { padding: 20px; }
  .contact-dialog { max-height: calc(100vh - 24px); }
  .warning-modal { padding: 12px; }
  .warning-frame { width: 100%; }
  .warning-shell { padding: 18px 18px 16px; }
  .warning-dialog { max-height: calc(100vh - 16px); }
  .warning-close {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
    transform: translate(12%, -12%);
  }
  .warning-shell h2 { max-width: none; font-size: 1.58rem; }
  .warning-copy { margin-top: 12px; font-size: .88rem; }
  .warning-proof {
    margin-top: 14px;
    font-size: .8rem;
    padding: 8px 12px;
  }
  .warning-visual-frame {
    min-height: 156px;
  }
  .warning-visual figcaption {
    display: none;
  }
  .warning-grid {
    gap: 12px;
  }
  .warning-card {
    padding: 14px 14px 12px;
    border-radius: 18px;
  }
  .warning-card p {
    margin-top: 6px;
    font-size: .84rem;
  }
  .warning-actions {
    position: sticky;
    bottom: -1px;
    flex-direction: column;
    align-items: stretch;
    padding-top: 14px;
    background: linear-gradient(180deg, rgba(11,17,32,0), rgba(11,17,32,.96) 28%, rgba(11,17,32,.99));
  }
  .warning-actions .btn {
    flex: 1 1 auto;
    min-height: 42px;
    padding: 11px 16px;
    font-size: .92rem;
  }
}

/* ============================================================
   DOWNLOAD PAGE (download.html)
   ============================================================ */

.page-download .header { border-bottom: 1px solid var(--border-dark); }

.download-hero {
  padding: 80px 0 56px;
  background: linear-gradient(180deg, rgba(99,102,241,.08) 0%, transparent 70%);
  text-align: center;
}
.download-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.2;
}
.download-hero-note {
  color: var(--text-soft);
  font-size: .95rem;
  margin: 0 0 28px;
}
.download-hero .btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  justify-content: center;
}
.download-hero .dl-meta {
  font-size: .82rem;
  font-weight: 500;
  opacity: .85;
}
.download-hero-mobile {
  max-width: 480px;
  margin: 20px auto 0;
  padding: 14px 20px;
  border: 1px dashed var(--border-dark);
  border-radius: 12px;
  color: var(--text-soft);
  font-size: .95rem;
}
.download-hero-jump {
  display: inline-block;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.download-hero-jump:hover { text-decoration: underline; }

/* macOS Gatekeeper notice — collapsible "info card" on the download hero.
   Compact, centered, uses warning/info accent so it reads as helpful
   guidance rather than something broken. */
.download-gatekeeper {
  /* Wide enough to keep the headline on one line in all three locales
     ("macOS пише «Програму LocalGuard пошкоджено» — що робити?" is the
     longest at ~58 chars).  Caps at the container width on mobile. */
  max-width: 760px;
  margin: 32px auto 0;
  text-align: left;
  background: linear-gradient(180deg, #fffbf0 0%, #fff8e7 100%);
  border: 1px solid #f0d99a;
  border-radius: 12px;
  padding: 14px 24px;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.08);
}
.download-gatekeeper > summary {
  cursor: pointer;
  font-weight: 600;
  color: #6b4d10;
  font-size: .92rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 0;
  text-align: center;
  white-space: nowrap;
}
.download-gatekeeper > summary::-webkit-details-marker { display: none; }
.download-gatekeeper > summary::before {
  content: "⚠️";
  font-size: 1.05rem;
  flex-shrink: 0;
}
.download-gatekeeper > summary::after {
  content: "▸";
  transition: transform .15s;
  color: #b8860b;
  font-size: .85rem;
}
.download-gatekeeper[open] > summary::after { transform: rotate(90deg); }
.download-gatekeeper-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0d99a;
  color: #4a3a14;
  font-size: .88rem;
  line-height: 1.55;
}
.download-gatekeeper-body p { margin: 0 0 10px; }
.download-gatekeeper-body pre {
  position: relative;
  background: #1f1d1a;
  color: #f0e7d0;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8rem;
  overflow-x: auto;
  margin: 8px 0 12px;
  white-space: nowrap;
}
.download-gatekeeper-body pre code {
  display: block;
  padding-right: 64px;
}
.download-gatekeeper-copy {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  color: #f0e7d0;
  font-size: .72rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.download-gatekeeper-copy:hover { background: rgba(255, 255, 255, 0.20); }
.download-gatekeeper-alt {
  margin-top: 14px !important;
  padding-top: 10px;
  border-top: 1px dashed rgba(184, 134, 11, 0.30);
  color: #6b4d10;
  font-weight: 500;
}
@media (max-width: 560px) {
  .download-gatekeeper { padding: 12px 14px; margin-top: 24px; }
  .download-gatekeeper-body pre { font-size: .72rem; white-space: pre-wrap; word-break: break-all; }
  .download-gatekeeper-body pre code { padding-right: 0; padding-bottom: 32px; }
  .download-gatekeeper-copy { top: auto; bottom: 6px; right: 6px; }
}

.download-other-grid {
  display: grid;
  /* Explicit breakpoints because auto-fit + max-width caused the 4th card
     to drop to a second row alone, which read as broken layout.  Now:
       desktop ≥1024px → 4 in a row (or 3 if we ship without AppImage)
       tablet  680-1024px → 2 × 2
       mobile  <680px  → stacked */
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 1024px) {
  .download-other-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .download-other-grid { grid-template-columns: 1fr; }
}

.download-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-dark .download-card { background: var(--surface); }
.download-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.download-card .dl-meta {
  font-size: .82rem;
  color: var(--text-soft);
  margin: 0;
}
/* The card itself has a light background even inside .section-dark, so the
   inherited light --text-soft from the dark section makes the meta text
   nearly invisible.  Re-anchor to a readable mid-grey. */
.section-dark .download-card .dl-meta { color: #4a4a52; }
.download-card .btn { margin-top: auto; }

.download-power-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 720px) {
  .download-power-cards { grid-template-columns: 1fr; }
}

.dl-cmd {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(15,23,42,.08);
  font-family: "JetBrains Mono", monospace;
  font-size: .82rem;
  color: var(--text);
  overflow-x: auto;
  white-space: pre;
}
.section-dark .dl-cmd { background: rgba(255,255,255,.05); }

.download-steps {
  max-width: 640px;
  margin: 24px auto 0;
  padding: 0;
  counter-reset: dlstep;
  list-style: none;
}
.download-steps li {
  position: relative;
  padding: 14px 20px 14px 56px;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: .98rem;
  line-height: 1.5;
  counter-increment: dlstep;
}
.download-steps li::before {
  content: counter(dlstep);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Guide page ===== */
.page-guide .guide-hero {
  padding-top: var(--space-12);
  padding-bottom: var(--space-9);
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(99,102,241,.10), transparent 70%),
    var(--bg);
}
.page-guide .guide-hero h1 { max-width: 22ch; margin: 0 auto; }
.page-guide .guide-hero .hero-sub { max-width: 60ch; margin: var(--space-4) auto 0; color: var(--text-soft); }
.page-guide .guide-hero .hero-kicker { display: block; margin-bottom: var(--space-4); }

.guide-step { padding-top: 64px; padding-bottom: 64px; }
.guide-step-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.guide-step-inner.reverse > .guide-step-content { order: 2; }
.guide-step-inner.reverse > .guide-step-screenshot { order: 1; }
.guide-step-content h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin: 8px 0 16px;
  font-weight: 700;
}
.guide-step-content p { font-size: 1rem; line-height: 1.65; color: var(--text-soft); margin-bottom: 14px; }
.guide-step-content p a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.guide-step-content p a:hover { color: var(--cyan-strong); }
.section-dark .guide-step-content p a { color: #e0a17f; }
.section-dark .guide-step-content p a:hover { color: var(--cyan); }
.guide-step-content code {
  font-family: var(--mono);
  font-size: .86em;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(10,10,12,.06);
  border: 1px solid var(--border);
  color: var(--text-strong);
}
.section-dark .guide-step-content p { color: var(--text-light-soft); }
.section-dark .guide-step-content { color: var(--text-light); }
.section-dark .guide-step-content code { background: rgba(245,243,238,.06); border-color: var(--border-dark); color: var(--cyan); }

.guide-step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--cyan);
}
.guide-step-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 16px;
}
.guide-step-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: .98rem;
  line-height: 1.55;
  color: var(--text-soft);
}
.section-dark .guide-step-list li { color: var(--text-light-soft); }
.guide-step-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 8px; height: 2px;
  border-radius: 0;
  background: var(--cyan);
}
.guide-step-tip {
  font-size: .92rem;
  line-height: 1.55;
  padding: 14px 18px;
  border-radius: 4px;
  background: rgba(196,80,47,.06);
  border: 1px solid rgba(196,80,47,.20);
  border-left: 3px solid var(--cyan);
  color: var(--text);
  margin-top: 12px;
}
.section-dark .guide-step-tip {
  background: rgba(245,243,238,.04);
  border-color: rgba(245,243,238,.12);
  border-left-color: var(--cyan);
  color: var(--text-light-soft);
}

.guide-step-screenshot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-step-screenshot img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.40);
  display: block;
}
.section-dark .guide-step-screenshot img { border-color: rgba(245,243,238,.10); }
.guide-step-screenshot figcaption {
  font-size: .82rem;
  color: var(--text-soft);
  line-height: 1.4;
  text-align: center;
}
.section-dark .guide-step-screenshot figcaption { color: var(--text-light-soft); }
.guide-step-screenshot-stack img + img { margin-top: 12px; }

.guide-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 0;
}
.guide-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.guide-cta p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.6; margin-bottom: 28px; }
.section-dark .guide-cta p { color: var(--text-light); opacity: .88; }
.guide-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-guide-cta {
  margin-top: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.download-guide-cta p {
  max-width: 52ch;
  color: var(--text-light-soft);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.guide-config-examples {
  list-style: none;
  padding: 0;
  margin: 10px 0 16px;
  display: grid;
  gap: 16px;
}
.guide-config-examples > li {
  background: rgba(10,10,12,.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
}
.section-dark .guide-config-examples > li {
  background: rgba(245,243,238,.04);
  border-color: rgba(245,243,238,.10);
}
.guide-config-examples > li > strong {
  display: block;
  font-size: .96rem;
  color: var(--text);
  margin-bottom: 4px;
}
.section-dark .guide-config-examples > li > strong { color: var(--text-light); }
.guide-config-examples .guide-config-path {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .8rem;
  color: var(--text-soft);
  background: transparent;
  padding: 0;
  margin-bottom: 10px;
}
.section-dark .guide-config-examples .guide-config-path { color: var(--text-light-soft); }
.guide-config-examples pre {
  margin: 0;
  padding: 14px 16px;
  background: #0a0a0c;
  color: #f5f3ee;
  border-radius: 4px;
  overflow-x: auto;
  font-size: .82rem;
  line-height: 1.6;
  border: 1px solid rgba(245,243,238,.10);
  font-family: var(--mono);
}
.guide-config-examples pre code {
  background: transparent !important;
  padding: 0;
  color: inherit;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  white-space: pre;
}

@media (max-width: 880px) {
  .guide-step-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .guide-step-inner.reverse > .guide-step-content,
  .guide-step-inner.reverse > .guide-step-screenshot { order: initial; }
  .guide-step { padding-top: 40px; padding-bottom: 40px; }
}
