/* Landing v3 — section styles (light). */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-heading {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.prose {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}

/* Story «Знакомо?» — soft band between hero and audience */
.section-story {
  padding: 56px 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.story-eyebrow {
  margin-bottom: 20px;
}

.story-layout-split {
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}

.story-split-prose {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--muted);
  line-height: 1.65;
}

.story-split-answer {
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--bg);
  border-left: 2px solid rgba(47, 109, 244, 0.35);
}

.story-split-bridge {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--text);
}

.prose-bridge {
  margin-top: 16px;
  color: var(--text);
}

.section-lead {
  margin: -8px 0 28px;
  max-width: 42em;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

.section-audience {
  padding-top: 72px;
}

.audience-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

.audience-list li + li {
  margin-top: 10px;
}

.data-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.data-note strong {
  color: var(--text);
  font-weight: 600;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-tile {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-tile:hover {
  border-color: rgba(47, 109, 244, 0.35);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.step-num {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.step-tile h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.step-tile p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

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

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 24px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  border-color: rgba(47, 109, 244, 0.35);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

/* WHY: match step-num weight — small accent tile, SVG cannot blow up the card. */
.feature-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  overflow: hidden;
}

.feature-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.install-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 17px;
  color: var(--text);
}

.install-list li + li { margin-top: 12px; }

.hint {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.price-tile strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.price-tile span {
  font-size: 15px;
  color: var(--muted);
}

.price-amount {
  font-size: 16px !important;
  font-weight: 500;
  color: var(--text) !important;
}

.price-features {
  margin: 4px 0 0;
  padding-left: 1.1em;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.price-features li + li {
  margin-top: 6px;
}

.pricing-hint {
  margin-top: 20px;
}

.entity-def {
  margin: -4px 0 28px;
  padding: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.entity-def strong {
  color: var(--text);
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* WHY: Pro highlight without dark fill — Tribute-style light emphasis. */
.price-pro {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.section-cta {
  padding-bottom: 96px;
}

.cta-panel {
  text-align: center;
  padding: 56px 32px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.cta-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-entity {
  font-size: 12px;
  line-height: 1.4;
  max-width: 36em;
  opacity: 0.9;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

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

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

.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em;
}

.legal-meta {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--muted);
}

.legal-page h2 {
  margin: 32px 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-page ul {
  margin: 0;
  padding-left: 1.2em;
}

.legal-page a {
  color: var(--accent);
}

@media (max-width: 800px) {
  .step-row,
  .feature-grid,
  .price-row { grid-template-columns: 1fr; }

  .section { padding: 56px 0; }

  .section-story {
    padding: 48px 0;
  }

  .story-layout-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-audience {
    padding-top: 56px;
  }
}
