:root {
  --bg: #0c0e12;
  --surface: #161a22;
  --border: #2a3140;
  --text: #e8eaef;
  --muted: #9aa3b5;
  --accent: #5b9fd4;
  --accent-dim: #3d6f96;
  --radius: 12px;
  --max: 720px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: #7eb8e8;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-img {
  height: 2.5rem;
  width: auto;
  border-radius: 10px;
  display: block;
}

.hero-logo {
  width: min(16rem, 72vw);
  height: auto;
  border-radius: 1.25rem;
  margin: 0 auto 1.5rem;
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

main {
  flex: 1;
  padding: 2.5rem 0 3rem;
}

.hero {
  text-align: center;
  padding: 1rem 0 2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tagline {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  background: var(--accent);
  color: #0c0e12;
  transition: background 0.15s ease;
}

.btn:hover {
  background: #7eb8e8;
  color: #0c0e12;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 540px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.card h2 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--muted);
}

.note strong {
  color: var(--text);
}

/* Privacy / legal pages */
.legal h1 {
  font-size: 1.75rem;
  margin: 0 0 0.25rem;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 2rem;
}

.legal h2 {
  font-size: 1.125rem;
  margin: 2rem 0 0.5rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal p {
  margin: 0.5rem 0 1rem;
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}
