:root {
  color-scheme: light dark;
  --background: #f7f8f6;
  --surface: #ffffff;
  --text: #18201c;
  --muted: #5f6b64;
  --line: #d9dfdb;
  --accent: #087f78;
  --accent-strong: #05645f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.shell {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner,
.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

nav a,
.footer-inner a {
  font-weight: 600;
  text-decoration: none;
}

.intro {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
}

h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.lead {
  max-width: 680px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1.15rem;
}

.primary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.primary-action:hover {
  background: var(--accent-strong);
}

.content-band {
  padding: 48px 0 64px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.support-grid article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.support-grid p,
.legal-page p {
  margin: 0;
  color: var(--muted);
}

.legal-page {
  max-width: 760px;
  padding-top: 64px;
  padding-bottom: 72px;
}

.legal-page h1 {
  margin-bottom: 44px;
}

.legal-page section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner {
    min-height: 64px;
  }

  .intro {
    padding: 48px 0 44px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111613;
    --surface: #18201c;
    --text: #f2f6f3;
    --muted: #b6c1ba;
    --line: #36423b;
    --accent: #2aa79f;
    --accent-strong: #72d5cf;
  }

  .primary-action {
    color: #071b18;
  }
}
