:root {
  --ink: #14213d;
  --muted: #5b6577;
  --line: #e3e7ee;
  --soft: #f5f7fb;
  --brand: #1d4ed8;
  --brand-dark: #1e3a8a;
  --ok: #15803d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: .5px; color: var(--ink); }
.logo span { color: var(--brand); }
nav.main { display: flex; gap: 22px; align-items: center; }
nav.main a { color: var(--ink); font-weight: 500; }
nav.main a.on { color: var(--brand); }
nav.main a.btn { color: #fff; }

.btn {
  display: inline-block; padding: 11px 20px; border-radius: 8px; border: 1px solid var(--brand);
  background: var(--brand); color: #fff; font-weight: 600; cursor: pointer; font-size: 15px;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--brand); }
.btn.ghost:hover { background: var(--soft); }

.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--soft), #fff); }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; margin: 0 0 16px; max-width: 760px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }

section.block { padding: 56px 0; }
section.block.soft { background: var(--soft); }
section.block h2 { font-size: 30px; margin: 0 0 8px; }
section.block .lead { color: var(--muted); margin: 0 0 32px; max-width: 640px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }

.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps .card { position: relative; padding-top: 48px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 14px; left: 22px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

.page-title { padding-top: 48px; padding-bottom: 8px; }
.page-title h1 { margin: 0 0 8px; font-size: 36px; }
.page-title p { margin: 0; color: var(--muted); max-width: 640px; }

form.box { max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
form.box label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
form.box input {
  width: 100%; padding: 11px 12px; border: 1px solid #c9d0dc; border-radius: 8px; font: inherit;
}
form.box input:focus { outline: 2px solid #bfd0ff; border-color: var(--brand); }
form.box .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
form.box .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
form.box button { margin-top: 20px; width: 100%; }
.notice { margin-top: 16px; padding: 12px 14px; border-radius: 8px; font-size: 15px; }
.notice.ok { background: #ecfdf3; color: var(--ok); border: 1px solid #b7ebcb; }
.notice.bad { background: #fef2f2; color: #b91c1c; border: 1px solid #f5c2c2; }

.price { font-size: 15px; color: var(--muted); }
.price strong { display: block; font-size: 26px; color: var(--ink); margin: 6px 0 2px; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 640px) {
  nav.main { gap: 12px; font-size: 14px; }
  nav.main a.btn { display: none; }
  .hero { padding-top: 40px; }
}
