:root {
  --primary: #144C8B;
  --primary-hover: #103c6e;
  --primary-light: #e8f0fe;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #A5B1C4;
  --text-secondary: #505D6F;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.site-header {
  width: 100%;
  z-index: 100;
}

.home-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
}

.legal-page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg-alt);
}

.legal-page-shell .site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(100%, 1200px);
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.site-nav {
  display: flex;
  gap: 24px;
}

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

.site-nav a:hover {
  color: var(--primary);
}

h1,
h2,
h3 {
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.button-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.button-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xl);
}

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

.button-secondary:hover {
  background-color: var(--bg-alt);
  border-color: var(--text-muted);
}

.hero {
  min-height: 100svh;
  padding: 120px 24px 72px;
  background-color: var(--bg-main);
  background-image: url('hero-bg.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: min(100%, 420px);
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 0 48px rgb(255 255 255 / 0.65);
}

.hero-copy {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero .lede {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.section {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 96px 24px;
}

.section.accent {
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-alt);
}

.section-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.card h3::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
}

.card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  position: relative;
}

.faq-list {
  width: min(100%, 900px);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.faq-item {
  background: white;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.faq-item p {
  color: var(--text-muted);
}

.step {
  position: relative;
}

.step span {
  display: block;
  margin-bottom: 16px;
  font-family: 'Archivo', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  letter-spacing: -0.04em;
}

.step p {
  font-size: 1.125rem;
  color: var(--text-main);
  font-weight: 500;
}

.legal-page {
  flex: 1;
  width: min(100%, 768px);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-page h1 {
  margin-bottom: 16px;
  font-size: 3rem;
  font-weight: 800;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.date {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.legal-copy {
  background: white;
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

.legal-copy h2 {
  margin: 40px 0 16px;
  font-size: 1.5rem;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin-bottom: 24px;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #334155;
}

.legal-copy ul {
  margin: 0 0 24px 24px;
  padding: 0;
}

.legal-copy li {
  margin-bottom: 12px;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #334155;
}

.legal-copy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgb(20 76 139 / 0.3);
  font-weight: 500;
  transition: var(--transition);
}

.legal-copy a:hover {
  color: var(--primary-hover);
  text-decoration-color: var(--primary-hover);
}

.site-footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding: 112px 24px 56px;
    text-align: center;
  }

  .hero .lede {
    margin: 0 auto 32px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 64px 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .legal-page {
    padding: 48px 20px;
  }

  .legal-page h1 {
    font-size: 2.25rem;
  }

  .legal-copy {
    padding: 32px 24px;
  }

  .legal-copy h2 {
    font-size: 1.25rem;
  }

  .legal-copy p,
  .legal-copy li {
    font-size: 1rem;
  }
}
