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

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #666666;
  --color-border: #e5e5e5;
  --color-border-light: #f0f0f0;
  --color-accent: #0066cc;
  --color-bg-soft: #f8f8f8;
  --max-width: 720px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

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

header.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

header.site-header .brand {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

header.site-header nav a {
  color: var(--color-muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

main {
  min-height: 60vh;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.015em;
  color: var(--color-text);
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

hr {
  border: none;
  border-top: 1px solid var(--color-border-light);
  margin: 2.5rem 0;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

code {
  background: var(--color-bg-soft);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--color-border);
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--color-bg-soft);
  font-weight: 600;
}

.effective-date {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.toc {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2.5rem;
  font-size: 0.95rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.toc li {
  margin-bottom: 0.25rem;
}

.toc a {
  color: var(--color-text);
  text-decoration: none;
}

.toc a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.hero {
  padding: 4rem 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .lede {
  font-size: 1.2rem;
  color: var(--color-muted);
  max-width: 32em;
  margin-bottom: 2rem;
}

.hero .coming-soon {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-muted);
  background: var(--color-bg-soft);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-border-light);
}

footer.site-footer {
  border-top: 1px solid var(--color-border-light);
  margin-top: 5rem;
  padding: 2rem 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

footer.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

footer.site-footer a {
  color: var(--color-muted);
  text-decoration: none;
  margin-left: 1.25rem;
}

footer.site-footer a:first-of-type {
  margin-left: 0;
}

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

@media (max-width: 600px) {
  .container {
    padding: 1.5rem 1.15rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 2.5rem 0 1.5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .lede {
    font-size: 1.05rem;
  }

  header.site-header nav a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }

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

  footer.site-footer a {
    margin-left: 0;
    margin-right: 1.25rem;
  }
}
