:root {
  --bg: #0d0d0d;
  --bg-soft: #111111;
  --bg-elevated: #1a1520;
  --text: #f4f2f7;
  --text-muted: #b9b0c6;
  --text-dim: #7a7388;
  --accent: #9a78c4;
  --accent-soft: #7b55a8;
  --border: rgba(154, 120, 196, 0.22);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(12px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.site-logo img {
  width: 28px;
  height: 28px;
}

.site-logo span {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

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

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.875rem;
  background: var(--bg-soft);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.site-footer a {
  color: var(--text-muted);
}

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

/* Landing hero */
.hero-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(100vh, 920px);
  background:
    radial-gradient(ellipse 70% 55% at 70% 45%, rgba(94, 61, 130, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(123, 85, 168, 0.12), transparent 55%),
    var(--bg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 56px 28px 40px;
  max-width: 560px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--text);
  max-width: 18ch;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #140f1a;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px 24px;
  min-height: 420px;
}

.hero-visual img {
  width: min(100%, 720px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

@media (min-width: 900px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: stretch;
  }

  .hero-copy {
    padding: 80px 40px 80px 64px;
  }

  .hero-visual {
    align-items: center;
    justify-content: flex-end;
    padding: 48px 48px 48px 0;
    min-height: auto;
  }

  .hero-visual img {
    width: min(100%, 780px);
  }
}

/* Inner pages */
.page-shell {
  flex: 1;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(94, 61, 130, 0.18), transparent 60%),
    var(--bg);
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}

.legal-page .updated {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-bottom: 36px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 10px;
}

.legal-page strong {
  color: var(--text);
  font-weight: 600;
}

.support-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}

.faq-block {
  margin-top: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.faq-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.faq-block h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.faq-block p {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 18px;
  }

  .site-nav a:not(.nav-support) {
    display: none;
  }
}
