:root {
  --bg: #f5f4f0;
  --ink: #111111;
  --muted: #6f6d67;
  --line: #dedbd3;
  --lime: #c9e265;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--lime); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(46px, 7.4vw, 104px); max-width: 11ch; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
p { margin: 0; }
.muted { color: var(--muted); }
.label { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 500; font-size: 16px; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--lime); color: var(--ink); }
.link { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link:hover { border-color: var(--lime); }

header { position: sticky; top: 0; z-index: 10; background: rgba(245, 244, 240, .9); backdrop-filter: blur(12px); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { display: block; height: 46px; width: auto; }
nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
nav .links { display: contents; }
nav .links a { text-decoration: none; color: var(--muted); }
nav .links a:hover { color: var(--ink); }
nav .btn { padding: 10px 18px; font-size: 15px; }

section { padding: 140px 0; }
section + section { border-top: 1px solid var(--line); }

/* Первый экран */
.hero { position: relative; padding: 120px 0 110px; overflow: hidden; }
.hero .label { margin-bottom: 34px; display: block; }
.hero p.lead { margin-top: 30px; font-size: clamp(19px, 1.7vw, 22px); color: var(--muted); max-width: 32ch; }
.hero .actions { display: flex; align-items: center; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
/* Салатовая полоса за второй строкой заголовка — как на логотипе; при прокрутке плывёт медленнее текста */
.hero h1 { position: relative; isolation: isolate; }
.stroke {
  position: absolute; z-index: -1; left: -3vw; right: -8%; top: 50%; height: .6em;
  background: var(--lime); transform: rotate(-3deg); border-radius: 3px;
}
.wave { display: flex; align-items: center; gap: 4px; height: 90px; margin-top: 110px; }
.wave i {
  flex: 1; min-width: 2px; height: calc(var(--h) * 100%); background: var(--line); border-radius: 2px;
  animation: breathe 2.2s ease-in-out var(--d) infinite alternate;
}
.wave i.played { background: var(--ink); }
@keyframes breathe { from { transform: scaleY(.5); } to { transform: scaleY(1); } }

/* Цена */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.price { font-size: clamp(120px, 19vw, 260px); font-weight: 600; letter-spacing: -.06em; line-height: .85; }
.price small { display: block; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.offer p.muted { margin-top: 18px; max-width: 32ch; }
ul.plain { list-style: none; margin: 34px 0 40px; padding: 0; border-top: 1px solid var(--line); }
ul.plain li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
ul.plain li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--ink); }

/* Как работаем */
.timeline { position: relative; height: 1px; background: var(--line); margin: 64px 0 40px; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.timeline::before { left: 0; }
.timeline::after { right: 0; }
.timeline .head { position: absolute; top: -5px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--ink); animation: head 7s ease-in-out infinite; }
@keyframes head { 0% { left: 0; } 50% { left: calc(100% - 11px); } 100% { left: 0; } }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps h3 { margin: 10px 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }

/* Две колонки: заголовок слева, содержимое справа */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.two p.muted { margin: 18px 0 30px; }
ol.numbered { margin: 0; padding: 0; list-style: none; counter-reset: c; }
ol.numbered li { counter-increment: c; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
ol.numbered li:first-child { border-top: 1px solid var(--line); }
ol.numbered li::before { content: "0" counter(c); font: 500 13px/1.9 var(--mono); color: var(--muted); }

/* Салатовый блок: контакты на главной, переход к эксклюзиву на странице покупателя */
.accent { background: var(--lime); }
.accent h2 { margin-bottom: 40px; }
.accent p.muted { color: #3f4a1c; margin: -16px 0 40px; max-width: 34ch; font-size: 20px; }
.email { font-size: clamp(30px, 5.4vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; text-decoration: none; overflow-wrap: anywhere; }
.email:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; font-weight: 500; }
.socials a { text-decoration: none; border-bottom: 1.5px solid var(--ink); }

footer { padding: 56px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer img { height: 64px; width: auto; display: block; }
footer .meta { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
footer .meta a { color: var(--muted); }

[data-speed] { will-change: transform; }

/* Форма заявки */
.sheet {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 40px; border: 0; border-radius: 22px;
  background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
.sheet::backdrop { background: rgba(17, 17, 17, .45); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheet-in .25s ease-out; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(14px); } }
.sheet h2 { font-size: 34px; padding-right: 40px; }
.sheet-note { margin: 10px 0 26px; }
.sheet-close {
  position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted);
}
.sheet-close:hover { background: var(--line); color: var(--ink); }
.sheet-form { display: grid; gap: 16px; }
.sheet-field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.sheet-field input, .sheet-field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.sheet-field textarea { resize: vertical; min-height: 110px; }
.sheet-field input:focus, .sheet-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
.sheet-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sheet-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.sheet-actions .btn { border: 0; cursor: pointer; font-family: inherit; }
.sheet-actions .btn:disabled { opacity: .6; cursor: default; }
.sheet-status { font-size: 15px; }
.sheet-status.error { color: #b3261e; }
.sheet-done { display: grid; justify-items: start; gap: 14px; }
.sheet-tick {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--lime); font-size: 26px; font-weight: 600;
}
.sheet-done .btn { border: 0; cursor: pointer; font-family: inherit; margin-top: 8px; }
@media (max-width: 520px) {
  .sheet { padding: 28px 22px; border-radius: 18px; }
  .sheet h2 { font-size: 28px; }
}

@media (max-width: 880px) {
  nav .links { display: none; }
  section { padding: 96px 0; }
  .hero { padding: 72px 0 80px; }
  .wave { margin-top: 72px; height: 70px; }
  .offer, .two, .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .bar { height: 64px; }
  .logo img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave i, .timeline .head { animation: none; }
}
