:root {
  color-scheme: light dark;
  --bg: #f6faf8;
  --card: #ffffff;
  --ink: #101b1c;
  --muted: #526365;
  --line: #cfdddb;
  --teal: #147b7f;
  --soft: #eef8f6;
  --warm: #fff0c9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1718;
    --card: #142123;
    --ink: #eff8f6;
    --muted: #b6c8c7;
    --line: #294446;
    --teal: #8ad7d9;
    --soft: #192b2d;
    --warm: #3a2d13;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    'Plus Jakarta Sans',
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

a {
  color: var(--teal);
  font-weight: 800;
}

.page {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.nav a {
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.hero {
  margin: 42px 0 22px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--warm);
  font-weight: 900;
}

h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.55rem;
  line-height: 1.15;
}

p,
li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

section {
  padding: 4px 0;
}

.notice {
  margin: 22px 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
}

.notice p {
  margin: 0;
}

.card {
  margin: 18px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer small {
  line-height: 1.5;
}

@media (max-width: 640px) {
  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 24px 20px;
  }
}
