:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #5a6068;
  --accent: #b5651d;
  --accent-dark: #8a4a12;
  --border: #e4ddd2;
  --dark: #1e2229;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }

body { margin: 0; }

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

a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

header.site {
  background: var(--dark);
  color: #fff;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
}

.brand img { width: 40px; height: 40px; border-radius: 9px; }

nav.site a { color: #f3e7d8; text-decoration: none; margin-left: 18px; }

nav.site a:hover { text-decoration: underline; }

.hero {
  background: var(--dark);
  color: #fff;
  padding: 48px 0 56px;
}

.hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.2; margin: 0 0 12px; }

.hero p { font-size: 1.15rem; color: #e6dccf; max-width: 640px; margin: 0 0 24px; }

.badge img { height: 64px; width: auto; display: block; }

main { padding: 40px 0 56px; }

main h1 { line-height: 1.25; }

main h2 { margin-top: 2.2em; line-height: 1.3; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 8px 0 8px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.card h3 { margin: 0 0 6px; }

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

table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

table.compare th, table.compare td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.compare thead th { background: #f3ece2; }

table.compare tr:last-child td { border-bottom: none; }

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

.legal h2 { font-size: 1.2rem; }

.legal li { margin-bottom: 0.4em; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

footer.site a { margin-right: 16px; }

@media (max-width: 560px) {
  header.site .wrap { flex-direction: column; align-items: flex-start; }
  nav.site a { margin: 0 16px 0 0; }
}
