/* MICo LP — единый стиль. Контент виден без JS, никаких скрытых блоков, анимаций появления и inline-стилей. */
@font-face { font-family: "PP Radio Grotesk"; src: url("../fonts/PPRadioGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/MartianMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --black: #121214;
  --black-75: #121214bf;
  --grey: #dfdfe2;
  --bg: #eaeaeb;
  --lime: #d1ff97;
  --green: #539105;
  --white: #fff;
  --sans: "PP Radio Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--black); font-family: var(--sans); font-size: 18px; line-height: 1.45; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .02em; }
.muted { opacity: .6; }
.center { text-align: center; margin-inline: auto; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--black); color: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- top ---------- */
.top { padding: 20px 0; }
.top__in { display: flex; align-items: center; gap: 24px; }
.logo img { width: 120px; height: auto; }
.top__meta { opacity: .6; }
.top__nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.link { text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- buttons / chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; border: 1px solid transparent; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: #2a2a2e; }
.btn--ghost { background: transparent; border-color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.btn--s { padding: 11px 18px; font-size: 11px; }
.btn[disabled] { opacity: .5; cursor: progress; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--center { justify-content: center; max-width: 720px; margin: 28px auto 0; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--grey); }
.chips--lime .chip { background: var(--lime); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 64px 80px; }
.hero h1 { font-weight: 400; font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -.03em; margin: 28px 0 24px; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.35; max-width: 560px; margin-bottom: 32px; }
.lead--s { font-size: 18px; max-width: 560px; margin-bottom: 0; }
.note { margin-top: 28px; max-width: 520px; font-size: 13px; line-height: 1.5; opacity: .65; }
.note--wide { max-width: 640px; margin-top: 40px; }
.hero__img img { width: 100%; }

/* ---------- statement ---------- */
.statement { padding-block: 40px 100px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; background: var(--black); display: inline-block; }
.dot--lime { background: var(--lime); }
.statement__t { font-weight: 400; font-size: clamp(32px, 5vw, 64px); line-height: 1.05; letter-spacing: -.025em; max-width: 960px; margin: 24px auto 0; }

/* ---------- panels ---------- */
.panel { border-radius: var(--r); padding: 28px 0 80px; margin: 0 12px 12px; }
.panel--dark { background: var(--black); color: var(--white); }
.panel--lime { background: var(--lime); }
.panel--white { background: var(--white); }
.panel__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 56px; }
.panel h2 { font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.025em; max-width: 800px; margin-bottom: 20px; }
.panel .lead--s { margin-bottom: 0; }
.panel .center.lead { max-width: 620px; }

.grid { display: grid; gap: 12px; margin-top: 56px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-inline: auto; }
.grid--2 { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

.card { border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.card h3 { font-weight: 400; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.card p { font-size: 15px; line-height: 1.4; }
.card--dark { background: #2a2a2c; }
.card--dark p { color: rgba(255,255,255,.7); }
.card--light { background: rgba(255,255,255,.6); }
.card--step { justify-content: space-between; min-height: 220px; }
.card--step img { width: 48px; height: 48px; }
.card--step h3 { font-size: 24px; max-width: 220px; }

/* ---------- results ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--grey); margin-top: 56px; }
.stat { padding: 40px 16px; text-align: center; border-left: 1px solid var(--grey); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.stat:first-child { border-left: 0; }
.stat__n { font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -.03em; }
.audience { margin-top: 56px; font-size: clamp(28px, 4vw, 48px); line-height: 1.05; letter-spacing: -.02em; max-width: 780px; }

/* ---------- features ---------- */
.features { padding-block: 100px; }
.features h2 { font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.03em; margin: 20px 0 0; }
.feature img { width: 100%; aspect-ratio: 1264 / 660; object-fit: contain; border-radius: 24px; background: var(--white); }
.feature h3 { font-weight: 400; font-size: 26px; letter-spacing: -.01em; margin: 20px 0 8px; }
.feature p { max-width: 460px; opacity: .75; }

/* ---------- demo ---------- */
.demo { padding-bottom: 80px; }
.demo__box { background: var(--white); border-radius: var(--r); padding: clamp(24px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.demo__chip { width: 120px; height: 120px; margin-bottom: 16px; }
.demo h2 { font-weight: 400; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 20px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__l { font-family: var(--mono); font-size: 11px; text-transform: uppercase; opacity: .6; }
.field__c { font-size: 13px; opacity: .55; }
.form input:not([type="hidden"]), .form select { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--grey); background: var(--bg); }
.form input:focus, .form select:focus { border-color: var(--black); outline: none; }
.form .btn { align-self: flex-start; margin-top: 6px; }
.form__policy { font-size: 13px; line-height: 1.45; opacity: .65; }
.form__msg { font-size: 15px; min-height: 1.4em; }
.form__msg.is-ok { color: var(--green); }
.form__msg.is-fail { color: #b3261e; }

/* ---------- footer ---------- */
.foot { background: var(--black); color: var(--white); border-radius: var(--r) var(--r) 0 0; padding: 64px 0 32px; font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot__grid p + p { margin-top: 12px; }
.foot__grid > div { color: rgba(255,255,255,.7); max-width: 360px; }
.foot__co { color: var(--white); }
.foot__h { opacity: .5; margin-bottom: 14px; }
.foot li + li { margin-top: 8px; }
.foot a { text-decoration: none; }
.foot a:hover, .linkbtn:hover { text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.foot__c { margin-top: 56px; opacity: .5; font-size: 13px; }

/* ---------- cookie banner ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; background: var(--white); border: 1px solid var(--grey); border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,.12); padding: 18px 20px; display: flex; gap: 20px; align-items: center; z-index: 50; font-size: 13px; line-height: 1.45; }
.consent[hidden] { display: none; }
.consent__btns { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero, .demo__box { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .top__meta, .top__nav .link { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--grey); }
  .stat:first-child { border-top: 0; }
  .panel { margin-inline: 6px; }
  .consent { flex-direction: column; align-items: stretch; }
  .foot__grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- success page ---------- */
.thanks { padding-block: 120px; min-height: 60vh; }
.thanks h1 { font-weight: 400; font-size: clamp(48px, 8vw, 110px); line-height: 1; letter-spacing: -.03em; margin: 24px 0; }
.foot p + p { margin-top: 10px; }
