:root {
  --color-bg: #f8f7f4;
  --color-surface: #ffffff;
  --color-text: #1a1a1f;
  --color-text-muted: #5c5c66;
  --color-accent: #4f46e5;
  --color-accent-soft: #eef2ff;
  --color-border: #e8e6e1;
  --color-header-bg: #1a1a1f;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --max-width: 760px;
  --header-height: 64px;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(100% - 2rem, 1080px);
  margin-inline: auto;
}

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

a:hover {
  color: #3730a3;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.logo:hover {
  color: #fff;
  opacity: 0.9;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  font-weight: 700;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #fff;
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 0;
  max-width: 52ch;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Policy content */

.policy {
  padding: 2.5rem 0 4rem;
}

.policy-section {
  margin-bottom: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.policy-section h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
}

.policy-section p {
  margin: 0;
  color: var(--color-text-muted);
}

.policy-section p + p {
  margin-top: 1rem;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  background: var(--color-header-bg);
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-brand {
  margin: 0;
}

.footer-contact {
  margin: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 0.75rem;
    height: auto;
  }

  .site-header {
    height: auto;
    position: static;
  }

  html {
    scroll-padding-top: 0;
  }

  .nav-links {
    gap: 0.5rem 1rem;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .policy-section {
    padding: 1.25rem 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
