:root {
  color-scheme: light;
  --background: #fff7ee;
  --surface: #fffdf9;
  --surface-warm: #fff0e8;
  --text: #252321;
  --muted: #756a63;
  --coral: #ee5262;
  --peach: #ff826f;
  --line: #edd8ca;
  --focus: #154f88;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a:hover {
  color: #c8394b;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.96);
}

.header-inner,
.page-shell,
.site-footer {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand img {
  width: 34px;
  height: 34px;
}

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

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--coral);
}

.page-shell {
  padding: 56px 0 72px;
}

.document-header {
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.12;
}

.updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.summary {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: 18px;
}

.legal-document,
.legal-index {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.legal-document {
  padding: 14px 36px 36px;
}

.legal-section {
  padding-top: 24px;
}

.legal-section + .legal-section {
  margin-top: 6px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 22px;
}

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

.legal-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.legal-index a {
  min-height: 150px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text);
  text-decoration: none;
}

.legal-index a + a {
  border-left: 1px solid var(--line);
}

.legal-index strong {
  font-size: 23px;
}

.legal-index span {
  color: var(--muted);
}

.legal-index b {
  color: var(--coral);
}

.site-footer {
  padding: 26px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .header-inner,
  .page-shell,
  .site-footer {
    width: min(100% - 28px, 920px);
  }

  .header-inner {
    min-height: 64px;
  }

  .site-nav {
    gap: 12px;
    font-size: 13px;
  }

  .page-shell {
    padding: 38px 0 52px;
  }

  .legal-document {
    padding: 6px 20px 24px;
  }

  .legal-index {
    grid-template-columns: 1fr;
  }

  .legal-index a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
