:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --surface: #1a1a1a;
  --text: #fafafa;
  --text-secondary: #d4d4d4;
  --text-tertiary: #a3a3a3;
  --brand: #fd5b5e;
  --border: #2a2a2a;
  --max: 42rem;
  --font: "Figtree", system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(253, 91, 94, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(253, 91, 94, 0.08), transparent 50%),
    var(--bg);
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #ff7174;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(253, 91, 94, 0.2);
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

.legal main {
  max-width: 44rem;
}

.hero {
  max-width: 36rem;
  margin: 4.5rem auto 0;
  padding: 0 1.5rem 5rem;
  text-align: left;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero .tagline {
  margin: 0 0 2rem;
  max-width: 22rem;
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--text);
  color: var(--bg);
}

.button-primary:hover {
  background: #fff;
  color: var(--bg);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.button-secondary:hover {
  color: var(--text);
  border-color: var(--text-tertiary);
}

.legal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-header .meta {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.95rem;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.prose p,
.prose li {
  color: var(--text-secondary);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin: 0.35rem 0;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.site-footer {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0.25rem 0;
}

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

  .hero {
    margin-top: 2.5rem;
  }
}
