/* Шрифт лежит на сервере сайта — браузер не обращается к зарубежным сервисам */
@font-face { font-family: 'Manrope'; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink:       #211a14;
  --ink-soft:  #6b5d51;
  --line:      #e7ded3;
  --line-dark: #d2c4b4;
  --bg:        #ffffff;
  --bg-alt:    #faf6f1;
  --brand:     #a4541f;
  --brand-dark:#7d3f16;
  --brand-soft:#f6e9dd;
  --ok:        #2f7d4f;
  --err:       #b3261e;
  --radius:    14px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.55;
  color: var(--ink); background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0 0 10px; line-height: 1.18; letter-spacing: -.01em; }
p { margin: 0 0 10px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand-dark); }
code { font-size: .92em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* плашка «демо» */
.demo-note { padding: 11px 0; font-size: 14px; color: #634b1f; background: #fbf1df; border-bottom: 1px solid #eddcb8; }
.demo-note b { color: #43310e; }
.demo-note a { color: #634b1f; }

/* шапка */
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 62px; padding: 8px 0; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; color: var(--ink); text-decoration: none; }
.logo svg { color: var(--brand); }
.topbar__nav { display: flex; gap: 18px; margin-left: auto; font-size: 15px; font-weight: 700; }
.topbar__nav a { color: var(--ink-soft); text-decoration: none; }
.topbar__nav a:hover { color: var(--brand-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  font: inherit; font-weight: 800; text-decoration: none;
  color: #fff; background: var(--brand);
  border: 0; border-radius: 100px; cursor: pointer;
  transition: background .18s, opacity .18s;
}
.btn:hover { background: var(--brand-dark); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--wide { width: 100%; }
.btn--ghost { color: var(--brand-dark); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn--ghost:hover { background: var(--brand-soft); }

.tag { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* первый экран */
.hero { background: linear-gradient(165deg, #fdfaf6, var(--brand-soft)); border-bottom: 1px solid #efe0d1; }
.hero__inner { display: grid; gap: 26px; padding: 38px 0 42px; align-items: center; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; max-width: 17ch; }
.hero__lead { color: var(--ink-soft); font-size: 17px; max-width: 52ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cup { display: grid; place-items: center; }
.cup svg { width: 100%; max-width: 320px; height: auto; }

.facts { display: grid; gap: 12px; padding: 30px 0; }
.fact { padding: 18px 20px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.fact b { display: block; font-size: 17px; margin-bottom: 3px; }
.fact span { font-size: 15px; color: var(--ink-soft); }

/* меню кофейни */
.section { padding: 34px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; }
.section__lead { color: var(--ink-soft); max-width: 58ch; margin-bottom: 20px; }

.menu { display: grid; gap: 10px; }
.menu li { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.menu .name { font-weight: 700; }
.menu .dots { flex: 1; border-bottom: 1.5px dotted var(--line-dark); transform: translateY(-4px); }
.menu .price { font-weight: 800; white-space: nowrap; }
.menu small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); }

/* форма */
.form { max-width: 460px; }
.form__row { display: grid; gap: 10px; margin-bottom: 10px; }
.form input {
  width: 100%; min-width: 0; padding: 13px 16px;
  font: inherit; background: #fff;
  border: 1.5px solid var(--line-dark); border-radius: 100px;
}
.form input:focus { outline: none; border-color: var(--brand); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 14px; font-size: 13px; color: var(--ink-soft); cursor: pointer; line-height: 1.45; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); }
.msg { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; }
.msg--err { color: var(--err); }
.msg--ok  { color: var(--ok); }

.split { display: grid; gap: 20px; align-items: start; }
.info { padding: 22px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.info h3 { font-size: 18px; font-weight: 800; }
.info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 12px 0 0; font-size: 15px; }
.info dt { color: var(--ink-soft); }
.info dd { margin: 0; font-weight: 700; }
.info dd span { font-weight: 500; color: var(--ink-soft); font-size: 14px; }
.info__note { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); }

/* кейс: было / стало */
.cols { display: grid; gap: 16px; margin-bottom: 26px; }
.col { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.col--was { background: var(--bg-alt); }
.col h3 { font-size: 18px; font-weight: 800; }
.col ul { display: grid; gap: 8px; margin-top: 12px; }
.col li { position: relative; padding-left: 28px; font-size: 15px; color: #40352c; }
.col--was li::before { content: '×'; position: absolute; left: 6px; top: -1px; font-size: 19px; font-weight: 800; color: #b3261e; }
.col--now li::before { content: '✓'; position: absolute; left: 4px; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* шаги */
.steps { display: grid; gap: 14px; counter-reset: s; margin-bottom: 8px; }
.step { position: relative; padding: 20px 20px 20px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: s; }
.step::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 17px; font-weight: 800; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* перечни проверки и ограничений */
.checklist { display: grid; gap: 9px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; }
.checklist li::before { content: '✓'; position: absolute; left: 4px; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.limits { padding: 18px 20px; background: #fff; border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.limits li { position: relative; padding-left: 20px; font-size: 15px; color: #40352c; margin-bottom: 6px; }
.limits li::before { content: '—'; position: absolute; left: 0; color: var(--ink-soft); }

.footer { padding: 24px 0 36px; border-top: 1px solid var(--line); }
.footer p { margin: 0 0 4px; font-size: 13px; color: var(--ink-soft); }

@media (min-width: 720px) {
  .hero__inner { grid-template-columns: 1.25fr .75fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .menu { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: minmax(0, 460px) minmax(0, 320px); gap: 28px; }
}
@media (max-width: 719px) { .topbar__nav { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
