:root {
  --bg: #0a0a0b;
  --bg-elevated: #141416;
  --border: #26262a;
  --text: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #7c5cff;
  --accent-glow: rgba(124, 92, 255, 0.15);
  --max-width: 760px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

header.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c5cff 0%, #5b8cff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  letter-spacing: -0.5px;
}

.brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

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

nav.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

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

h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 48px;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text);
}

h2:first-of-type {
  margin-top: 0;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

p {
  margin-bottom: 14px;
  color: var(--text-secondary);
}

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

li {
  margin-bottom: 6px;
  color: var(--text-secondary);
}

li strong {
  color: var(--text);
  font-weight: 600;
}

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

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.contact-card {
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.contact-card h2 {
  margin-top: 0;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 16px;
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 10px;
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.15s ease;
}

.email-link:hover {
  background: rgba(124, 92, 255, 0.15);
  text-decoration: none;
  opacity: 1;
}

footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

footer nav {
  display: flex;
  gap: 20px;
}

footer nav a {
  color: var(--text-secondary);
}

/* Support page specific */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0 48px;
}

@media (min-width: 600px) {
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.support-card {
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.support-card .icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.support-card h3 {
  font-size: 17px;
  margin-top: 0;
  margin-bottom: 6px;
}

.support-card p {
  font-size: 14px;
  margin-bottom: 0;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
}

.faq-item p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Home page specific */
.hero {
  text-align: center;
  padding: 40px 0 60px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 600px) {
  .link-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.link-card {
  display: block;
  padding: 28px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.link-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
  opacity: 1;
}

.link-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 17px;
}

.link-card p {
  font-size: 14px;
  margin-bottom: 0;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .container {
    padding: 32px 20px 60px;
  }

  h1 {
    font-size: 32px;
  }

  .hero h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 20px;
  }

  nav.site-nav {
    gap: 16px;
  }

  nav.site-nav a {
    font-size: 13px;
  }
}
