:root {
  color-scheme: light dark;
  --background: #f6f6f3;
  --surface: #ffffff;
  --surface-soft: #eeeeea;
  --border: #e4e4df;
  --text: #16181b;
  --muted: #5c6168;
  --accent: #116a7b;
  --accent-soft: #e3eeef;
  --max-width: 760px;
  --sans: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #121416;
    --surface: #1a1d20;
    --surface-soft: #22262a;
    --border: #2e3338;
    --text: #f1f2f0;
    --muted: #a7acb2;
    --accent: #4fb3c4;
    --accent-soft: #15323a;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.page {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* The app's logo: accent square with a white bar near the bottom. */
.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 6px;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: #ffffff;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: -0.035em;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(42px, 8vw, 64px);
  line-height: 1.02;
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.updated {
  margin: 20px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary,
.notice {
  margin: 48px 0 56px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--accent-soft);
}

.summary strong,
.notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.summary p,
.notice p {
  margin: 0;
}

section {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 16px;
  font-size: 27px;
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

li {
  margin: 10px 0;
  padding-left: 4px;
}

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

.data-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.data-card p,
.data-card li {
  color: var(--muted);
}

.contact {
  padding: 26px;
  border-radius: 22px;
  background: var(--surface-soft);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

/* Index page */
.hero h1 {
  max-width: 560px;
}

.links {
  display: grid;
  gap: 14px;
  margin: 56px 0;
}

.card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.card-label {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card h2 {
  margin: 6px 0 6px;
  font-size: 24px;
}

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

.arrow {
  font-size: 22px;
  color: var(--accent);
}

.support {
  padding: 26px;
  border-radius: 22px;
  background: var(--surface-soft);
}

.support h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

@media (max-width: 560px) {
  .page {
    width: min(calc(100% - 32px), var(--max-width));
    padding-top: 20px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 52px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .summary,
  .notice {
    margin-top: 36px;
  }
}
