:root {
  --ink: #122018;
  --ink-soft: #24352a;
  --muted: #5a6b60;
  --bg: #f3f6f3;
  --bg-deep: #e6ece7;
  --surface: #ffffff;
  --line: #d3ddd6;
  --line-strong: #b7c6bb;
  --accent: #1a6b42;
  --accent-2: #248a56;
  --accent-soft: #e5f3eb;
  --dark: #0f1c14;
  --dark-2: #173323;
  --warn: #8a5a16;
  --shadow: 0 18px 50px rgba(15, 28, 20, 0.1);
  --shadow-soft: 0 10px 28px rgba(15, 28, 20, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --shell-pad: clamp(16px, 4vw, 40px);
  --shell-width: min(var(--max), calc(100% - 40px));
  --header-h: 72px;
  --space-section: clamp(40px, 5.5vw, 72px);
  --space-block: clamp(24px, 3.5vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 8% -8%, rgba(196, 220, 204, 0.55) 0%, transparent 58%),
    radial-gradient(900px 480px at 100% 0%, rgba(214, 226, 216, 0.45) 0%, transparent 50%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header — контент той же ширины, что подвал */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding: 14px max(var(--shell-pad), calc((100% - var(--max)) / 2));
  background: rgba(243, 246, 243, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(211, 221, 214, 0.8);
}
.logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.logo span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 2px;
}
.site-header nav {
  display: flex;
  gap: 8px 16px;
  align-items: center;
  flex-wrap: wrap;
}
.site-header nav a {
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}
.site-header nav a.on,
.site-header nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 750;
  font-size: 15px;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px rgba(26, 107, 66, 0.22);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover {
  background: var(--accent-2);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(26, 107, 66, 0.28);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink) !important;
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover {
  background: #fff;
  border-color: var(--line-strong);
}
.btn.dark {
  background: #fff;
  color: var(--dark) !important;
  box-shadow: none;
}
.btn.small { padding: 10px 14px; font-size: 13px; box-shadow: none; }

/* Hero */
.hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--space-section) 0 var(--space-block);
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(243, 246, 243, 0.94) 0%, rgba(243, 246, 243, 0.78) 42%, rgba(243, 246, 243, 0.55) 100%),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  z-index: -1;
  height: 70%;
  background: radial-gradient(closest-side, rgba(36, 138, 86, 0.14), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1;
}
.brand-mark i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #3db873);
  box-shadow: 0 0 0 6px rgba(26, 107, 66, 0.12);
  font-style: normal;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  letter-spacing: 0.02em;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--ink);
  max-width: 14ch;
}
.lead {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.55;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Product frame / screenshots */
.product-frame {
  position: relative;
  border-radius: 22px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.55)),
    var(--accent-soft);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
}
.product-frame-docs {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.product-frame .caption {
  margin: 14px 4px 2px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* CSS document stack */
.doc-stage {
  position: relative;
  min-height: 340px;
  perspective: 900px;
}
.product-frame-docs .doc-stage {
  min-height: 360px;
  width: 100%;
}
.doc-sheet {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(100%, 400px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  transform-origin: 80% 100%;
}
.doc-sheet.back {
  right: 36px;
  bottom: 34px;
  transform: rotate(-5deg) translateY(-6px);
  opacity: 0.9;
  background: #f7faf8;
  z-index: 0;
}
.doc-sheet.mid {
  right: 16px;
  bottom: 16px;
  transform: rotate(3deg);
  opacity: 0.96;
  z-index: 1;
}
.doc-sheet.front {
  right: 0;
  bottom: 0;
  z-index: 2;
}
.doc-kicker {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc-kicker b { color: var(--accent); }
.doc-sheet h3 {
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -0.03em;
}
.doc-sheet .meta {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--muted);
}
.doc-lines { display: grid; gap: 8px; }
.doc-line {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.5fr 0.7fr;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
.doc-line span {
  height: 8px;
  border-radius: 99px;
  background: #e7eee9;
}
.doc-line span.on { background: #cfe4d7; }
.doc-line strong {
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  color: var(--ink-soft);
}
.doc-total {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.doc-seal {
  position: absolute;
  right: 12px;
  bottom: 12px;
  top: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(26, 107, 66, 0.45);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-12deg);
  background: #fff;
  box-shadow: 0 6px 16px rgba(18, 40, 28, 0.12);
  z-index: 3;
  pointer-events: none;
}
/* Итого / строки не заезжают под печать PDF */
.doc-sheet:has(.doc-seal) {
  padding-bottom: 20px;
}
.doc-sheet:has(.doc-seal) .doc-total {
  padding-right: 64px;
  min-height: 44px;
  align-items: center;
}
.doc-sheet:has(.doc-seal):not(:has(.doc-total)) .doc-lines {
  padding-right: 64px;
  padding-bottom: 36px;
}

/* Proof strip */
.proof-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: var(--space-block) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.proof-strip article {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}
.proof-strip article:last-child { border-right: 0; }
.proof-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.proof-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Sections */
.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: var(--space-section) 0 0;
}
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 18ch;
}
.section .sub {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 52ch;
  font-size: 16px;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pain-card {
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}
.pain-card.bad {
  background:
    linear-gradient(180deg, #fbf7f2, #fff);
  border-color: #e6d7c5;
}
.pain-card.good {
  background:
    linear-gradient(180deg, #eef8f2, #fff);
  border-color: #c5dfd0;
}
.pain-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.pain-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.pain-card li { margin: 6px 0; }

.demo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}
.demo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.shot-stack { display: grid; gap: 14px; }
.shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.shot-frame {
  background:
    linear-gradient(180deg, #e8efe9 0%, #f5f8f5 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.shot-featured .shot-frame {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: stretch;
  padding: 10px 10px 0;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.shot-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 8px 24px rgba(15, 28, 20, 0.1);
  background: #fff;
}

.shot-slider {
  max-width: 980px;
  margin: 0 auto;
}
.shot-slider-viewport {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.shot-slider-viewport:active {
  cursor: grabbing;
}
.shot-slider-track {
  display: flex;
  width: 100%;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.shot-slider-track.is-dragging {
  transition: none;
}
.shot-slider-track img {
  pointer-events: none;
  -webkit-user-drag: none;
}
.shot-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.shot-slide .shot-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 12px 12px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: stretch;
  box-sizing: border-box;
}
.shot-slide .shot-frame-doc {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(68vh, 640px);
  height: auto;
  background: #e8eee9;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 22px 14px;
  box-sizing: border-box;
}
.shot-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-radius: 10px 10px 0 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 28, 20, 0.1);
}
.shot-slide .shot-frame-doc img {
  display: block;
  width: min(100%, 520px) !important;
  height: auto !important;
  max-height: calc(min(68vh, 640px) - 36px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 28, 20, 0.14);
}
.shot-slide figcaption {
  padding: 14px 16px 16px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 650;
  text-align: center;
}
.shot-slider-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}
.shot-nav {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.shot-nav:hover {
  border-color: #9bb8a6;
  color: var(--accent);
}
.shot-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.shot-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #c5d2c9;
  cursor: pointer;
}
.shot-dots button.is-active {
  width: 22px;
  background: var(--accent);
}
.pain-card {
  min-height: 0;
}
.pain-grid {
  align-items: stretch;
}
.pain-card ul { margin-bottom: 0; }
.shot figcaption {
  padding: 12px 14px 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 650;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: step;
}
.steps article {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.steps article::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}
.steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.audience article {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
  align-content: start;
}
.audience-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.audience-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(26, 107, 66, 0.12);
}
.audience h3 { margin: 0 0 8px; letter-spacing: -0.02em; }
.audience p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.doc-inline {
  margin-top: 22px;
  max-width: 480px;
}
.doc-inline .doc-stage { min-height: 280px; }
.doc-inline .doc-sheet { width: min(100%, 400px); }

.intent-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #e8f0ea;
  box-shadow: var(--shadow);
}
.intent-box h2 { color: #fff; max-width: 16ch; }
.intent-box p,
.intent-box li { color: #b7cfc2; }
.intent-box ul {
  margin: 0 0 18px;
  padding-left: 18px;
}
.intent-box li { margin: 8px 0; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.trust-row article {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
}
.trust-row strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.trust-row p { margin: 0; color: var(--muted); font-size: 14px; }

.quote-card {
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.quote-card p {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.45;
}
.quote-card footer {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
}
details.faq summary {
  cursor: pointer;
  font-weight: 750;
  letter-spacing: -0.02em;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq p {
  margin: 10px 0 2px;
  color: var(--muted);
  font-size: 15px;
}

.final-cta {
  width: min(var(--max), calc(100% - 40px));
  margin: var(--space-section) auto var(--space-block);
  padding: clamp(28px, 5vw, 44px);
  border-radius: 28px;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(61, 184, 115, 0.18), transparent 60%),
    linear-gradient(135deg, #123024, #1a4632);
  color: #e8f0ea;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 20px;
  align-items: center;
}
.final-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.04em;
  max-width: none;
}
.final-cta p { margin: 0; color: #b7cfc2; max-width: 42ch; }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.link-grid a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
  font-size: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.link-grid a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Pricing */
.pricing {
  width: min(var(--max), calc(100% - 40px));
  margin: var(--space-section) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.section .pricing {
  width: 100%;
  margin: 0;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-card.featured {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--accent), #4ec987) border-box;
  border: 2px solid transparent;
  box-shadow: 0 18px 40px rgba(26, 107, 66, 0.12);
  transform: translateY(-4px);
}
.price-card h3 { margin: 0; letter-spacing: -0.03em; }
.price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 6px 0;
}
.price span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.price-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  flex: 1;
}
.price-card li { margin: 6px 0; }
.price-card .btn { width: 100%; }

/* Auth */
.auth-wrap {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 32px; max-width: none; }
.auth-card label {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  font-size: 13px;
  color: var(--muted);
}
.auth-card input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfb;
}
.auth-card .btn { width: 100%; margin-top: 8px; border-radius: 12px; }
.error { color: #a13a2c; font-size: 14px; min-height: 1.2em; }

/* Footer */
.site-footer {
  margin-top: var(--space-section);
  padding: 36px max(var(--shell-pad), calc((100% - var(--max)) / 2)) 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 1 1 220px;
  max-width: 320px;
}
.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 6px;
}
.footer-brand p { margin: 0; max-width: 36ch; }
.footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col {
  display: grid;
  gap: 8px;
  min-width: 140px;
}
.footer-col span {
  color: var(--ink);
  font-weight: 750;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.footer-col a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.footer-col a:hover { color: var(--ink); }
.footer-disclaimer {
  width: 100%;
  max-width: var(--max);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #8a968e;
  font-size: 12px;
  line-height: 1.55;
}
.footer-copy {
  width: 100%;
  max-width: var(--max);
  margin: 14px auto 0;
  color: #8a968e;
  font-size: 12px;
  font-weight: 600;
}
.footer-links { display: none; }

/* Legal pages — та же ширина, что шапка и подвал */
.legal-page {
  width: var(--shell-width);
  max-width: 100%;
  margin: 0 auto;
  padding: var(--space-section) 0 var(--space-block);
}
.legal-page h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
}
.legal-meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}
.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.legal-page ul { padding-left: 1.2em; }
.legal-note {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0 8px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: #eef3ef;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.legal-table code {
  font-size: 12px;
  background: #eef3ef;
  padding: 1px 5px;
  border-radius: 6px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(15, 28, 20, 0.94);
  color: #e8f0ea;
  box-shadow: 0 18px 40px rgba(15, 28, 20, 0.28);
  backdrop-filter: blur(10px);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p {
  margin: 0;
  flex: 1 1 260px;
  font-size: 13px;
  line-height: 1.5;
  color: #c5d4cb;
}
.cookie-banner a { color: #9fdbb8; font-weight: 650; }
.cookie-banner a:hover { color: #fff; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-banner .btn.ghost {
  background: transparent;
  color: #e8f0ea !important;
  border-color: rgba(255,255,255,.28);
}
.cookie-banner .btn.ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
}

/* Consent checkbox on auth */
.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.consent-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}
.consent-row a { font-weight: 650; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .hero-grid,
  .demo-grid,
  .demo-pair,
  .pain-grid,
  .intent-box,
  .final-cta,
  .proof-strip,
  .steps,
  .audience,
  .trust-row,
  .pricing {
    grid-template-columns: 1fr;
  }
  h1 { max-width: 12ch; }
  .proof-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip article:last-child { border-bottom: 0; }
  .price-card.featured { transform: none; }
  .product-frame-docs { min-height: 320px; }
  .doc-stage { min-height: 300px; margin-top: 8px; }
  .doc-sheet {
    width: min(100%, 360px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .doc-sheet.back {
    transform: translateX(-58%) rotate(-4deg);
    bottom: 22px;
  }
  .doc-sheet.mid {
    transform: translateX(-42%) rotate(2.5deg);
    bottom: 10px;
  }
  .doc-sheet.front {
    transform: translateX(-50%);
    bottom: 0;
  }
  .doc-seal {
    width: 40px;
    height: 40px;
    right: 10px;
    bottom: 10px;
  }
  .doc-sheet:has(.doc-seal) .doc-total {
    padding-right: 56px;
  }
  .site-header {
    flex-wrap: wrap;
  }
  .site-header nav a:not(.btn) { display: none; }
  .site-header nav .btn {
    padding: 10px 14px;
    font-size: 13px;
  }
  .final-cta .btn { width: 100%; }
  .cta-row .btn { width: 100%; }
}
