:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --text: #121417;
  --muted: #5b616b;
  --line: #e2e3df;
  --accent: #3b5bdb;
  --accent-soft: #e8ecfb;
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e12;
    --surface: #14171d;
    --text: #eceef2;
    --muted: #9aa1ad;
    --line: #262a32;
    --accent: #8ea2ff;
    --accent-soft: #1b2140;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .brand { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; letter-spacing: -0.01em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

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; color: var(--text); font-weight: 600; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; color: var(--accent); }
nav.top a { color: var(--muted); margin-left: 24px; font-size: 15px; }
nav.top a:hover { color: var(--text); text-decoration: none; }

.hero { padding-top: 96px; padding-bottom: 72px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin: 0 0 20px; max-width: 14ch; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 0 0 32px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
}
@media (prefers-color-scheme: dark) { .btn { color: #0c0e12; } }
.btn:hover { text-decoration: none; opacity: 0.9; }

section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 30px; margin: 0 0 12px; }
section .sub { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }

.signature {
  margin-top: 16px; background: var(--accent-soft); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 28px;
}
.signature .tag { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.signature h3 { margin: 6px 0 10px; font-size: 22px; }
.signature p { margin: 0; color: var(--text); max-width: 70ch; }

table.prices { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.prices td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
table.prices tr:first-child td { border-top: 0; }
table.prices td.price { text-align: right; white-space: nowrap; font-weight: 600; }
table.prices .detail { display: block; color: var(--muted); font-size: 14px; }
table.prices tr.premium td { background: var(--accent-soft); }
.note { color: var(--muted); font-size: 15px; margin-top: 20px; max-width: 75ch; }

.contact p { margin: 0 0 6px; }

footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); margin-left: 18px; }
footer.site a:first-child { margin-left: 0; }

.doc { padding-top: 64px; padding-bottom: 80px; }
.doc h1 { font-size: 38px; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { max-width: 72ch; }
.doc ul { padding-left: 20px; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  nav.top a { margin-left: 16px; font-size: 14px; }
  nav.top a.hide-sm { display: none; }
  .hero { padding-top: 64px; padding-bottom: 48px; }
  table.prices td { padding: 14px; }
}
