:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --text: #1a202c;
  --muted: #4a5568;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 64px 0 48px;
  background: var(--bg-soft);
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover { background: var(--accent-dark); color: #ffffff; }

/* Sections */
section { padding: 48px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 1.5rem; line-height: 1.3; margin: 32px 0 12px; }
h3 { font-size: 1.15rem; margin: 24px 0 8px; }

section h2:first-child,
.legal h2:first-child { margin-top: 0; }

p { margin: 0 0 14px; }

ul { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 6px; }

.updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg);
}

.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin-bottom: 0; }

/* Pricing table */
.table-wrap { overflow-x: auto; margin: 20px 0 16px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--bg-soft);
  font-weight: 600;
}

td.num, th.num { text-align: right; white-space: nowrap; }

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Company block */
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 20px;
  margin: 20px 0 0;
  padding: 0;
}

.facts dt { font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }

/* Legal pages */
.legal { padding: 24px 0 56px; }
.legal h2 { font-size: 1.25rem; }

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer p { margin-bottom: 8px; }

/* Mobile */
@media (max-width: 600px) {
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 1.7rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  section { padding: 36px 0; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dt { margin-top: 10px; }
}
