/* Робочий стиль. Візуальний стиль затверджується в чаті «Сайт і дизайн». */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #6b6a66;
  --line: #e4e2dc;
  --accent: #1f6f5c;
  --accent-text: #ffffff;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --surface: #1e1e1c;
    --text: #f1f0ec;
    --muted: #a3a29c;
    --line: #2e2e2b;
    --accent: #3fae8f;
    --accent-text: #0d1f1a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
main { max-width: 760px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: clamp(28px, 6vw, 42px); line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: 24px; margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 6px; }

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.logo { font-weight: 700; color: var(--text); text-decoration: none; }

.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-text);
  padding: 14px 22px; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none;
}
.btn-small { padding: 8px 14px; font-size: 15px; }
.btn-wide { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn:disabled { opacity: .6; cursor: wait; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }

.hero { padding: 48px 0 32px; }
.hero p { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.block { padding: 32px 0; border-top: 1px solid var(--line); }
.muted p { color: var(--muted); }

.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card p { margin: 0; color: var(--muted); }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { border-color: var(--accent); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.steps li::before {
  content: counter(s); grid-row: span 2;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-text); font-weight: 700;
}
.steps span { color: var(--muted); }

.ticks { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.price-main { font-size: 40px; font-weight: 800; }
.price-note { color: var(--muted); margin-top: 6px; }

details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input, select {
  font: inherit; font-weight: 400; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; width: 100%;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; min-height: 1.5em; }
.form-msg.ok { color: var(--accent); font-weight: 600; }
.form-msg.err { color: #c0392b; }

.prose h2 { margin-top: 24px; }

.foot { max-width: 760px; margin: 0 auto; padding: 32px 16px 96px; color: var(--muted); font-size: 14px; }

.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10;
  max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.cookie p { margin: 0 0 12px; font-size: 15px; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
