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

:root {
  --color-bg: #0f1923;
  --color-bg-alt: #162230;
  --color-surface: #1c2d3f;
  --color-text: #e4e8ec;
  --color-text-muted: #8a9bb0;
  --color-accent: #3b9eff;
  --color-accent-hover: #5cb1ff;
  --color-border: #253545;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --max-width: 1080px;
  --radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ---- Header / Nav ---- */

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

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- Main Content ---- */

main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Hero ---- */

.hero {
  text-align: center;
  padding: 96px 24px 72px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Sections ---- */

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ---- Cards Grid ---- */

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 600;
}

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

/* ---- Legal / Policy Pages ---- */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal .effective-date {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p,
.legal ul {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.97rem;
}

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

.legal li {
  margin-bottom: 6px;
}

/* ---- Contact Page ---- */

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  text-align: center;
}

.contact-wrapper h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-wrapper .lead {
  color: var(--color-text-muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  margin-bottom: 32px;
}

.contact-card .label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-card .email-link {
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-note {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 32px 24px;
  text-align: center;
}

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

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 64px 20px 48px;
  }

  .section {
    padding: 40px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
