:root {
  color-scheme: light;
  --background: #FAFAF7;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #666666;
  --accent: #2C3E50;
  --border: #E8E4DC;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

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

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

.shell {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
  text-align: center;
}

.mark {
  align-items: center;
  background: var(--accent);
  border-radius: 20px;
  color: var(--surface);
  display: flex;
  font-size: 32px;
  font-weight: 700;
  height: 72px;
  justify-content: center;
  line-height: 1;
  width: 72px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin: 12px 0 0;
}

p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 24px;
  margin: 0;
  max-width: 360px;
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  margin-top: 12px;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 32px;
}

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

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 10px;
  color: var(--surface);
  display: inline-flex;
  font-size: 17px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.site-nav a,
.home-links a {
  color: var(--text-secondary);
  font-size: 15px;
}

.legal-main {
  margin: 0 auto;
  max-width: 780px;
  padding: 56px 32px 72px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.last-updated {
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 8px;
}

.intro {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 28px;
  margin-top: 28px;
  max-width: 680px;
}

.legal-section {
  border-top: 1px solid var(--border);
  margin-top: 34px;
  padding-top: 28px;
}

.legal-section h2 {
  font-size: 22px;
  line-height: 30px;
  margin: 0 0 12px;
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 25px;
}

.legal-section p {
  margin: 0 0 12px;
  max-width: none;
}

.legal-section ul,
.legal-section ol {
  margin: 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 9px;
}

.link-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding-left: 0;
}

.link-list a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: block;
  padding: 14px 16px;
  text-decoration: none;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .legal-main {
    padding: 40px 20px 56px;
  }
}
