* {
  box-sizing: border-box;
}

:root {
  --background: #f4f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #667085;
  --border: #dfe5ef;
  --accent: #2563eb;
  --accent-soft: #eaf1ff;
  --max-width: 1040px;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--text);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand-mark {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.hero {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.hero section {
  max-width: 760px;
  text-align: center;
  padding: 80px 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.primary {
  color: white;
  background: var(--accent);
}

.secondary {
  color: var(--accent);
  background: var(--accent-soft);
}

.legal-page {
  width: min(calc(100% - 40px), 860px);
  margin: 36px auto 80px;
}

.legal-card {
  padding: clamp(28px, 6vw, 68px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(23, 32, 51, 0.07);
}

.legal-card h1 {
  margin: 0 0 4px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.effective-date {
  color: var(--muted);
  margin: 0 0 36px;
}

.legal-card h2 {
  margin: 42px 0 10px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.legal-card p,
.legal-card li {
  color: #344054;
}

.legal-card ul {
  padding-left: 24px;
}

footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

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

  nav {
    width: 100%;
    gap: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero section {
    text-align: left;
    padding: 70px 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  footer {
    flex-direction: column;
  }
}
