:root {
  --bg: #F8FAFF;
  --card: #FFFFFF;
  --accent: #93C5FD;
  --accent-strong: #60A5FA;
  --text: #0F172A;
  --muted: #94A3B8;
  --border: #E2E8F0;
  --max-width: 720px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

a:hover {
  border-bottom-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Brand wordmark gradient */
.wordmark,
.wordmark-small {
  color: var(--text);
  background: linear-gradient(135deg, #0F172A 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: none;
}

.wordmark-small:hover {
  border-bottom-color: transparent;
}

/* Landing */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.wordmark {
  font-size: clamp(64px, 14vw, 104px);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
  line-height: 1;
}

.tagline {
  font-size: clamp(20px, 3.4vw, 26px);
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  max-width: 540px;
}

.subline {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

/* Legal pages */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.page-header {
  margin-bottom: 48px;
}

.wordmark-small {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  line-height: 1;
}

h1 {
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.15;
}

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

h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  line-height: 1.3;
}

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

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

li::marker {
  color: var(--muted);
}

strong {
  font-weight: 600;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

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

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 14px;
  margin: 0;
}

/* Mobile */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .page { padding: 40px 20px 72px; }
  .hero { padding: 64px 20px; }
  h2 { margin-top: 40px; }
  .footer-links { gap: 18px; }
}
