:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e6e2d9;
  --accent: #1f5f8b;
  --accent-ink: #ffffff;
  --soft: #eef4f8;
  --warn: #8a5a00;
  --warn-bg: #fff6e0;
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151c;
    --surface: #1a1f29;
    --ink: #e9ecf2;
    --muted: #a3abba;
    --line: #2b3240;
    --accent: #6fb3e0;
    --accent-ink: #0d1a24;
    --soft: #1c2a36;
    --warn: #f0c36b;
    --warn-bg: #2b2414;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
nav.top a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav.top a:hover { color: var(--ink); }

.hero { padding-top: 64px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 0 24px; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px;
}

section { padding: 40px 0; }
section h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.01em; }
section p.sub { color: var(--muted); margin: 0 0 28px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { margin: 0; font-size: 21px; }
.card .kind { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin: 4px 0; }
.price { font-size: 26px; font-weight: 800; }
.price small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.meta { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.meta b { color: var(--ink); font-weight: 600; }
.cover { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start; }
.cover img { border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.shot img { border-radius: 10px; border: 1px solid var(--line); }
.mock {
  border-radius: 10px; border: 1px solid var(--line); background: var(--soft);
  padding: 16px; font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted);
  overflow: hidden;
}
.mock b { color: var(--ink); }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 700; padding: 11px 18px; border-radius: 10px; text-align: center; margin-top: auto;
}
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.note {
  background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 12px 14px; font-size: 14px;
}
.principles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.principles div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.principles h4 { margin: 0 0 6px; font-size: 16px; }
.principles p { margin: 0; color: var(--muted); font-size: 15px; }

table.prices { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.prices th, table.prices td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
table.prices th { background: var(--soft); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.table-scroll { overflow-x: auto; }

.legal { max-width: 760px; padding: 48px 16px 64px; margin: 0 auto; }
.legal h1 { font-size: 34px; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal li { margin: 6px 0; }

footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0 36px; margin-top: 40px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }
footer.site nav a { color: var(--muted); margin-right: 16px; text-decoration: none; }
footer.site nav a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 520px) {
  nav.top a { margin: 0 14px 0 0; }
  .cover { grid-template-columns: 90px 1fr; }
  .hero { padding-top: 40px; padding-bottom: 24px; }
}
