:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #1f2a2e;
  --muted: #5b6a70;
  --line: #e5ddd1;
  --accent: #0f6e6a;
  --accent-ink: #ffffff;
  --warm: #c8693c;
  --radius: 14px;
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12181a;
    --surface: #1a2225;
    --ink: #eef2f1;
    --muted: #a3b1b5;
    --line: #2b3639;
    --accent: #3fb3ab;
    --accent-ink: #0c1415;
    --warm: #e08a5f;
  }
}
:root[data-theme="dark"] {
  --bg: #12181a; --surface: #1a2225; --ink: #eef2f1; --muted: #a3b1b5;
  --line: #2b3639; --accent: #3fb3ab; --accent-ink: #0c1415; --warm: #e08a5f;
}
* { 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); }
.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; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px;
}
.brand { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--warm); }
nav.site { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--ink); }
.hero { padding-top: 64px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 1.5px solid var(--accent);
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.secondary { color: var(--accent); background: transparent; }
section { padding: 40px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 26px; margin: 0 0 12px; letter-spacing: -0.01em; }
section p.lead { color: var(--muted); margin: 0 0 24px; max-width: 680px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.score { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.score li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.score li small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
table.rates { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.rates th, table.rates td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.rates th { font-size: 14px; color: var(--muted); font-weight: 600; }
table.rates td.price { white-space: nowrap; font-weight: 700; }
.table-scroll { overflow-x: auto; }
footer.site { padding: 32px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer.site a { color: var(--muted); }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 40px; padding-bottom: 32px; }
  .hero p { font-size: 17px; }
  table.rates th, table.rates td { padding: 10px; }
}
