:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --border: #dfe3ea;
  --accent: #1f4fd8;
  --accent-soft: #eef3ff;
  --accent-dark: #173da8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.nav,
.page,
.footer-inner {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
}

.page {
  padding: 64px 0 80px;
}

.hero {
  max-width: 760px;
  padding-bottom: 40px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.lede {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 8px 0 40px;
  border: 1px solid var(--border);
  background: var(--border);
}

.meta-item {
  min-width: 0;
  padding: 16px 18px;
  background: var(--surface);
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.meta-value {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.policy-section,
.support-section,
.directory-row {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.policy-section p:last-child,
.support-section p:last-child {
  margin-bottom: 0;
}

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

li + li {
  margin-top: 7px;
}

.notice {
  margin: 8px 0 40px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

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

.directory {
  border-bottom: 1px solid var(--border);
}

.directory-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.directory-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.directory-link {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
}

.button:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 640px) {
  .nav,
  .page,
  .footer-inner {
    width: min(calc(100% - 28px), 560px);
  }

  .nav {
    min-height: 56px;
  }

  .brand {
    max-width: 170px;
    line-height: 1.2;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .page {
    padding: 42px 0 60px;
  }

  h1 {
    font-size: 38px;
  }

  .lede {
    font-size: 18px;
  }

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

  .directory-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .directory-link {
    white-space: normal;
  }
}
