/* LandScan — лендинг услуги «Аналитика сделок».
   Минималистичная система: тёплая бумага, чернила, зелёный акцент. */

:root {
  --paper: #f7f5ef;
  --paper-2: #fbfaf6;
  --ink: #0f1512;
  --ink-soft: #2a332e;
  --muted: #5e6a63;
  --line: #ddd8cd;
  --line-soft: #eae5da;
  --green: #135c40;
  --green-deep: #0b3f2c;
  --green-soft: #e3ede5;
  --lime: #d8f06a;
  --radius: 18px;
  --shadow: 0 30px 70px -45px rgba(15, 21, 18, 0.45);
  --container: 1180px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--green);
  color: #f6f7f2;
  flex: none;
}

.brand-glyph {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-link:hover {
  color: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.btn-small {
  height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 13.5px;
}

.btn-full {
  width: 100%;
}

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

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

.btn-light {
  background: #fff;
  color: var(--green-deep);
  flex: none;
}

.btn-light:hover {
  background: var(--lime);
  transform: translateY(-1px);
}

/* ---------- Shared typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
  scroll-margin-top: 72px;
}

.section-head {
  max-width: 860px;
}

.section-head h2 {
  margin: 14px 0 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-intro {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(26px, 5vh, 80px) 0 clamp(58px, 9vh, 108px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

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

.lead {
  max-width: 560px;
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.cta-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Product shot ---------- */

.product-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 40px 90px -55px rgba(15, 21, 18, 0.55);
}

.product-frame__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.product-dots {
  display: inline-flex;
  gap: 5px;
}

.product-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6d1c6;
}

.product-url {
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.product-badge {
  padding: 3px 7px;
  border: 1px solid #c9d8cc;
  border-radius: 5px;
  background: #edf3ee;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.product-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Pains ---------- */

.pains {
  border-top: 1px solid var(--line);
}

.situation {
  max-width: 980px;
  margin-top: 38px;
}

.subhead {
  margin-bottom: 20px;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.situation-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.situation-list li {
  position: relative;
  padding: 15px 0 15px 26px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.situation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
}

.situation-conclusion {
  max-width: 780px;
  margin-top: 24px;
  padding-left: 20px;
  border-left: 2px solid var(--green);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- How it works ---------- */

.how {
  margin-top: clamp(64px, 8vw, 108px);
}

.how-title {
  margin-bottom: 28px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.5vw, 64px);
}

.how-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
  grid-template-areas: "copy shot";
  gap: clamp(24px, 3.4vw, 48px);
  align-items: center;
}

.how-step:nth-child(even) {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  grid-template-areas: "shot copy";
}

.how-step__copy {
  grid-area: copy;
  min-width: 0;
}

.how-step__shot {
  grid-area: shot;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 70px -60px rgba(15, 21, 18, 0.55);
}

.how-step__shot img {
  display: block;
  width: 100%;
  height: auto;
}

.how-step__shot figcaption {
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper-2);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.step-num {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--green);
  opacity: 0.22;
}

@supports (-webkit-text-stroke: 1px #000) {
  .step-num {
    color: transparent;
    opacity: 1;
    -webkit-text-stroke: 1.5px rgba(19, 92, 64, 0.5);
  }
}

.how-step h4 {
  margin-bottom: 10px;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.how-step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Features ---------- */

.features-block {
  margin-top: clamp(56px, 7vw, 92px);
}

.features-title {
  margin-bottom: 26px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 40px;
}

.features li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.feature-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--green);
  opacity: 0.75;
}

.features h4 {
  margin: 10px 0 6px;
  font-size: 16.5px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.features p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Offer ---------- */

.offer {
  padding-top: clamp(64px, 8vw, 100px);
  background: #fff;
}

.offer-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 4vw, 48px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-benefits div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.offer-benefits span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--green);
}

.offer-benefits p {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.trial-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 14px;
  background: var(--paper-2);
}

.trial-strip p {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}

.trial-strip strong {
  color: var(--green);
}

.trial-strip span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Pricing ---------- */

.pricing {
  margin-top: 30px;
}

.period-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.period-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.period-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.period-btn {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.period-btn em {
  margin-left: 4px;
  font-style: normal;
  color: var(--green);
}

.period-btn:hover {
  color: var(--ink);
}

.period-btn.is-active {
  background: var(--green);
  color: #fff;
}

.period-btn.is-active em {
  color: var(--lime);
}

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

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px 22px;
  border: 1px solid var(--green-deep);
  border-radius: 18px;
  background: var(--green);
  color: #f5f4ee;
}

.plan-featured {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #f7f5ef;
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-deep);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-name {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.plan-note {
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-amount {
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.plan-per {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.plan-total {
  min-height: 18px;
  margin-top: -6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 8px;
}

.plan-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.45;
}

.plan-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--lime);
}

.plan .btn {
  margin-top: auto;
  background: #fff;
  color: var(--green-deep);
  border-color: transparent;
}

.plan .btn:hover {
  background: var(--lime);
  color: var(--green-deep);
  transform: translateY(-1px);
}

.plan-featured .btn {
  background: var(--lime);
  color: var(--green-deep);
}

.plan-featured .btn:hover {
  background: #fff;
}

/* ---------- FAQ ---------- */

.faq {
  margin-top: clamp(40px, 4.5vw, 56px);
}

.faq-title {
  margin-bottom: 22px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  align-items: start;
}

.faq-item {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--green), var(--green)) center / 12px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) center / 2px 12px no-repeat;
  transition: transform 0.25s ease;
}

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

.faq-item summary:hover {
  color: var(--green);
}

.faq-item p {
  padding: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 26px 30px;
  border: 1px solid var(--green-deep);
  border-radius: 18px;
  background: var(--green);
  color: #f5f4ee;
}

.final-title {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.final-note {
  margin-top: 5px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: 52px 0 40px;
  border-top: 1px solid var(--line);
  background: #e9ebe6;
  color: var(--muted);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #7fa884 55%, transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: start;
}

.brand-footer {
  color: var(--ink);
}

.footer-brand p {
  max-width: 320px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: none;
  opacity: 0.72;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.footer-links a:hover {
  color: var(--green);
  opacity: 1;
}

.footer-copy {
  align-self: end;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
}

/* ---------- Reveal ---------- */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}

.reveal-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    max-width: 720px;
  }

  .how-step,
  .how-step:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "shot";
    gap: 18px;
  }

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

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

  .plan-featured {
    order: -1;
  }
}

@media (max-width: 820px) {
  .situation-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .offer-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }

  .pains {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .situation {
    margin-top: 28px;
  }

  .subhead {
    margin-bottom: 14px;
    font-size: 21px;
  }

  .situation-list li {
    padding: 11px 0 11px 22px;
    font-size: 14.5px;
    line-height: 1.45;
  }

  .situation-list li::before {
    top: 17px;
    width: 6px;
    height: 6px;
  }

  .situation-conclusion {
    margin-top: 18px;
    padding-left: 16px;
    font-size: 16.5px;
  }

  .header-inner {
    height: 62px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-link {
    display: inline-block;
    padding: 8px 0;
    font-size: 13px;
  }

  .header-actions .btn-small {
    padding: 0 12px;
    font-size: 13px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .faq-item {
    padding: 0 18px;
  }

  .faq-item summary {
    padding: 14px 0;
    font-size: 14.5px;
  }

  .trial-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .period-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .period-toggle {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .period-btn {
    padding: 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 15px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-small {
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}
