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

:root {
  --bg:          #141213;
  --border:      rgba(255, 255, 255, 0.07);
  --text:        #F5F2F4;
  --muted:       #5C5459;
  --muted-light: #8A8388;
  --accent:      #8C1C2E;
}

html { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── Nav ──────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

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

.nav-links a {
  font-size: 12px;
  color: var(--muted-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

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

/* ── Footer ───────────────────────────────────────────────────────── */

footer {
  margin-top: auto;
  padding: 20px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .copy {
  font-size: 12px;
  color: var(--muted);
}

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

footer .foot-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ── Hero (index) ─────────────────────────────────────────────────── */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(56px, 8.5vw, 116px);
  font-weight: 300;
  line-height: 1.01;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 40px;
}

.hero-title em {
  font-style: italic;
  color: var(--muted-light);
}

.hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-light);
  margin-bottom: 52px;
  max-width: 300px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.005em;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 100px;
  width: fit-content;
  transition: border-color 0.2s, background 0.2s;
}

.cta:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Content pages (privacy, terms) ──────────────────────────────── */

.page-hero {
  padding: 120px 48px 56px;
}

.page-body {
  flex: 1;
  padding: 0 48px 80px;
  max-width: 640px;
}

.prose p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted-light);
  margin-bottom: 20px;
}

.prose h2 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 52px;
  margin-bottom: 16px;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.prose ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-light);
  margin-bottom: 6px;
}

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Contact page ─────────────────────────────────────────────────── */

.contact-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px;
  max-width: 640px;
}

.contact-wrap .contact-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-wrap .contact-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--muted);
}

.contact-wrap h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 32px;
}

.contact-wrap p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-light);
  margin-bottom: 40px;
  max-width: 320px;
}

.contact-mail {
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.contact-mail:hover {
  border-color: var(--muted-light);
}

/* ── Support page ─────────────────────────────────────────────────── */

.faq-section {
  margin-bottom: 52px;
}

.faq-section-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.faq-q {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.faq-a {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted-light);
}

.faq-a a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-contact {
  margin-top: 72px;
  padding-top: 52px;
  border-top: 1px solid var(--border);
}

.support-contact-heading {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.support-contact p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-light);
  margin-bottom: 28px;
  max-width: 340px;
}

.support-contact .contact-mail {
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.support-contact .contact-mail:hover {
  border-color: var(--muted-light);
}

/* ── Mobile ───────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .nav {
    padding: 18px 24px;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .page-hero {
    padding: 100px 24px 48px;
  }

  .page-body {
    padding: 0 24px 60px;
  }

  .contact-wrap {
    padding: 100px 24px 60px;
  }

  footer {
    padding: 18px 24px;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
