:root {
  --bg: #080c14;
  --bg-elev: #0f1624;
  --surface: rgba(20, 28, 46, 0.72);
  --border: rgba(148, 163, 184, 0.16);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --primary-a: #3b82f6;
  --primary-b: #8b5cf6;
  --ok: #22c55e;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(700px 420px at 10% 10%, rgba(139, 92, 246, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 12, 20, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

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

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 780px;
  margin: 0 auto 18px;
}

.hero h1 span {
  background: linear-gradient(135deg, #60a5fa, #38bdf8, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 660px;
  margin: 0 auto 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  transition: transform .14s ease, border-color .14s ease, filter .14s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.45);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-a), var(--primary-b));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.28);
}

.btn-primary:hover { filter: brightness(1.08); border-color: transparent; }

/* Sections */
.section { padding: 48px 0; }

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: 28px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.section-head p { color: var(--muted); font-size: 15px; }

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

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

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text);
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
}

.badge-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.shot {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.shot figcaption {
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Article pages (Privacy / Support) */
.page-main {
  flex: 1;
  padding: 52px 0 64px;
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.doc h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.doc .meta {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.doc h2 {
  font-size: 19px;
  margin: 26px 0 10px;
  color: #e2e8f0;
}

.doc p, .doc li {
  color: #cbd5e1;
  font-size: 15px;
}

.doc ul, .doc ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 14px;
}

.callout {
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #e0f2fe;
  font-size: 14.5px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13.5px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
  color: #7dd3fc;
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 26px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

@media (max-width: 640px) {
  .doc { padding: 24px 18px; }
  .nav-links { gap: 14px; font-size: 13px; }
}
