:root {
  --bg: #0e0f13;
  --surface: #16181f;
  --text: #f4f5f7;
  --muted: #9aa0ab;
  --accent: #6c8cff;
  --accent-2: #b39dff;
  --border: #262a34;
  --maxw: 920px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand .dot { color: var(--accent); }

.nav a {
  color: var(--muted);
  margin-left: 22px;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  text-align: center;
  padding: 96px 0 72px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  background: linear-gradient(120deg, var(--text), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 140, 255, 0.35);
}

/* Sections */
section { padding: 56px 0; }

.section-title {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }

/* Contact */
.contact {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px 24px;
}
.contact a.email {
  font-size: 1.3rem;
  font-weight: 600;
}

/* Article (privacy / support pages) */
.article { padding: 56px 0 80px; }
.article h1 { font-size: 2.2rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.article .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }
.article h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.article p, .article li { color: #cfd3db; }
.back { display: inline-block; margin-bottom: 28px; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-links a { margin-left: 18px; }
.footer-links a:first-child { margin-left: 0; }

@media (max-width: 560px) {
  .site-header { flex-direction: column; gap: 12px; }
  .nav a:first-child { margin-left: 0; }
  .footer-links { margin-top: 8px; }
}
