:root {
  --navy: #1c2a55;
  --navy-soft: #2b3a6b;
  --gold: #f4b63f;
  --ink: #1b1f2a;
  --muted: #5b6275;
  --line: #e4e6ec;
  --paper: #ffffff;
  --tint: #f6f7fa;
  --radius: 12px;
  --max: 1040px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--navy); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow > * { max-width: 720px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 18px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
nav.site a { white-space: nowrap; margin-left: 22px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav.site a:hover { color: var(--ink); }

.hero { background: var(--navy); color: #fff; padding: 72px 0 80px; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; margin: 0 0 18px; max-width: 760px; letter-spacing: -0.01em; }
.hero p { color: #d7dcea; font-size: 19px; max-width: 640px; margin: 0 0 30px; }
.hero .mark { color: var(--gold); }
.button { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 600; text-decoration: none; padding: 13px 22px; border-radius: 10px; }
.button.ghost { background: transparent; color: #fff; border: 1px solid #4a5a8c; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: 14px; color: #aab3cf; margin-top: 16px; }

section { padding: 64px 0; }
section.tint { background: var(--tint); }
h2 { font-size: 28px; line-height: 1.25; margin: 0 0 12px; letter-spacing: -0.01em; }
.lead { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 0 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--muted); }
.steps li::before { content: counter(s); display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps strong { display: block; color: var(--ink); margin-bottom: 4px; }

.price { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 520px; border: 2px solid var(--navy); border-radius: var(--radius); padding: 28px; background: var(--paper); }
.price .amount { font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; }
.price .amount span { font-size: 17px; font-weight: 400; color: var(--muted); }
.price ul { padding-left: 20px; margin: 18px 0 0; color: var(--muted); }
.price li { margin-bottom: 6px; }

.prose h1 { font-size: 34px; line-height: 1.2; margin: 48px 0 6px; }
.prose h2 { font-size: 22px; margin: 36px 0 8px; }
.prose p, .prose li { color: #343a4a; }
.prose .meta { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.prose ul { padding-left: 22px; }

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

@media (max-width: 560px) {
  nav.site a { margin-left: 12px; font-size: 14px; }
  .brand { font-size: 16px; }
  .hero { padding: 52px 0 60px; }
  section { padding: 48px 0; }
}
