:root {
  color-scheme: light;
  --ink: #14201d;
  --muted: #52615d;
  --paper: #f7f5ef;
  --panel: #fffdf8;
  --line: #d9ddd7;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --notice: #fff5d8;
  --notice-line: #e4b94f;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

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

.shell {
  width: min(100% - 2rem, 760px);
  margin-inline: auto;
}

main {
  flex: 1;
  padding-block: 2rem 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.55rem;
  background: var(--accent);
  color: white;
}

.hero {
  padding-block: clamp(5rem, 14vw, 9rem);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 2.8rem 0 0.7rem;
  font-size: 1.35rem;
  letter-spacing: -0.018em;
}

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

.lede {
  max-width: 56ch;
  margin: 1.5rem 0 2rem;
  font-size: 1.12rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 0.7rem;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

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

.legal-page {
  max-width: 720px;
}

.document-header {
  padding-block: 4.5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  max-width: none;
  font-size: clamp(2.4rem, 7vw, 4rem);
}

.updated {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.notice {
  margin-block: 1.5rem 2rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--notice-line);
  border-radius: 0.35rem;
  background: var(--notice);
  color: #604a12;
}

section p,
section li {
  max-width: 72ch;
}

li + li {
  margin-top: 0.35rem;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .footer-content {
    flex-direction: column;
  }
}
