:root {
  --bg: #fbfaf7;
  --bg-2: #f1efe9;
  --fg: #1c1b18;
  --muted: #5c5a53;
  --line: #dedbd2;
  --accent: #c2410c;
  --accent-fg: #ffffff;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(28,27,24,.06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15140f;
    --bg-2: #1d1c16;
    --fg: #ede9df;
    --muted: #a7a398;
    --line: #2f2d26;
    --accent: #fb923c;
    --accent-fg: #15140f;
    --card: #1f1e18;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.alt { background: var(--bg-2); }

/* header */
header.top { padding: 18px 0; border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--fg); display: inline-flex; align-items: center; gap: 8px; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }
nav.main { display: none; gap: 20px; font-size: .95rem; }
nav.main a { color: var(--muted); text-decoration: none; }
nav.main a:hover { color: var(--fg); }
@media (min-width: 720px) { nav.main { display: flex; } }

/* hero */
.hero { padding: 64px 0 56px; }
.hero .kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 14px; }
.hero .lead { font-size: 1.2rem; max-width: 620px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-block; padding: 14px 20px; border-radius: 10px; font-weight: 700;
  text-decoration: none; border: 2px solid var(--accent); line-height: 1.2;
}
.btn.primary { background: var(--accent); color: var(--accent-fg); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.secondary { color: var(--accent); background: transparent; }
.btn.secondary:hover { background: var(--bg-2); }
.hero .fine { margin-top: 14px; font-size: .9rem; }

/* fact cards */
.facts { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.fact .big { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin-bottom: 10px; color: var(--accent); }
.fact .src { font-size: .85rem; color: var(--muted); margin: 0; }

/* offer */
.offer { display: grid; gap: 24px; }
@media (min-width: 840px) { .offer { grid-template-columns: 3fr 2fr; align-items: start; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
}
.checklist li::after {
  content: "";
  position: absolute; left: 5px; top: calc(.3em + 4px); width: 8px; height: 5px;
  border-left: 2.5px solid var(--accent-fg); border-bottom: 2.5px solid var(--accent-fg);
  transform: rotate(-45deg);
}
.price { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price .amount small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.price .btn { width: 100%; text-align: center; margin-top: 8px; }

/* steps */
.steps { display: grid; gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--accent-fg); font-weight: 800; margin-bottom: 12px;
}

/* needs */
.needs { display: grid; gap: 14px; }
@media (min-width: 720px) { .needs { grid-template-columns: repeat(3, 1fr); } }
.need { border-left: 3px solid var(--accent); padding-left: 14px; }
.need h3 { margin-bottom: .3em; }

/* faq */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400; flex: none; }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* about + contact */
.about { display: grid; gap: 24px; }
@media (min-width: 840px) { .about { grid-template-columns: 1fr 1fr; } }
.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.contact-box .btn { display: block; text-align: center; margin-top: 10px; }
.email { font-weight: 700; overflow-wrap: anywhere; }

/* footer */
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
footer p { margin-bottom: .6em; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
footer nav a { color: var(--muted); }

/* sub pages */
.page { padding: 48px 0 72px; max-width: 720px; }
.page h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.back { display: inline-block; margin-bottom: 24px; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* spacing utilities (CSP forbids inline style attributes) */
.mt-s { margin-top: 8px; }
.mt-l { margin-top: 22px; }
.mt-xl { margin-top: 48px; }
