/* Главная */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--border); }
section.last { border-top: 0; padding-top: 0; }
.section-head { max-width: 640px; display: grid; gap: 12px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }

.hero { padding-top: 80px; padding-bottom: 72px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 620px; margin-top: 12px; }
.hero .lead { margin-top: 18px; font-size: 1.1875rem; color: var(--muted); max-width: 520px; line-height: 1.55; }
.hero .cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.join { display: grid; gap: 14px; padding: 28px; }
.join h2 { font-size: 1.25rem; }
.join .code { height: 64px; font-size: 1.75rem; font-weight: 700; text-align: center; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.join .code::placeholder { letter-spacing: 0.2em; }

.preview { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0; }
.screens { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: end; }
.screen-host { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.screen-host .bar { height: 34px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.screen-host .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.screen-host .body { padding: 28px; display: grid; gap: 22px; }
.screen-host .q { display: flex; align-items: center; gap: 20px; }
.screen-host .q h3 { font-size: 1.5rem; flex: 1; }
.screen-host .answered { text-align: center; }
.screen-host .answered b { display: block; font-size: 1.75rem; line-height: 1; }
.screen-phone { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 14px; display: grid; gap: 8px; }
.screen-phone .top { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 8px; font-weight: 600; font-size: 0.875rem; }
.screen-phone .who { display: flex; align-items: center; gap: 6px; }
.screen-phone .avatar { width: 24px; height: 24px; }
.screen-phone .ans { min-height: 52px; font-size: 0.95rem; }
.screen-phone .answers { gap: 8px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { display: grid; gap: 8px; align-content: start; }
.step::before { counter-increment: step; content: counter(step); width: 32px; height: 32px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { display: grid; gap: 8px; align-content: start; }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.9375rem; }
.feature.alt .ic { background: var(--ok-soft); color: var(--ok); }

.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.style-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.style-card .design-scope { padding: 16px; flex: 1; display: grid; align-content: center; }
.style-card .answers { gap: 6px; }
.style-card .ans { min-height: 42px; padding: 8px 12px; font-size: 0.875rem; gap: 10px; }
.style-card .ans .shape { width: 16px; height: 16px; }
.style-card .ans .lbl { width: 22px; height: 22px; font-size: 0.75rem; border-radius: 6px; }
.style-card .cap { padding: 12px 16px; border-top: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; }

.fair { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checklist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checklist .i { color: var(--ok); margin-top: 2px; }
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: 0.9375rem; }

.cta-band { background: var(--text); color: #fff; border-radius: 16px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9b9c4; margin-top: 8px; }
.cta-band .btn.secondary { background: #fff; border-color: #fff; color: var(--text); }

@media (max-width: 960px) {
  .hero, .fair { grid-template-columns: 1fr; gap: 36px; }
  .screens { grid-template-columns: 1fr; }
  .screen-phone { display: none; }
  .grid4, .styles { grid-template-columns: repeat(2, 1fr); }
  .grid3, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section { padding: 56px 0; }
  .hero { padding-top: 40px; }
  .grid4, .styles { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .screen-host .body { padding: 18px; }
}
