/* Shared styles for privacy, terms, support pages */
:root {
  --bg-0: #1a1d27;
  --bg-1: #20232e;
  --bg-2: #272b38;
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.18);
  --text: #e9ecf2;
  --text-dim: #8a92a3;
  --text-faint: #555c6b;
  --accent: #6b8cff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Space Grotesk', -apple-system, system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none; z-index: 0;
}
.bg-glow {
  position: fixed;
  width: 900px; height: 900px;
  left: 50%; top: 0;
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(107,140,255,0.12) 0%, transparent 60%);
  pointer-events: none; z-index: 0; filter: blur(60px);
}

header {
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(26,29,39,0.7);
  position: sticky; top: 0; z-index: 50;
}
.logo { display: flex; align-items: center; height: 80px; flex: 1; min-width: 0; }
.logo img { height: 80px; width: auto; max-width: 100%; display: block; object-fit: contain; object-position: left center; }
nav { display: flex; gap: 32px; align-items: center; }
nav a {
  color: var(--text-dim); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--text); }

main {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px 80px;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff 0%, #8a92a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 56px;
  text-wrap: pretty;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 14px;
}
h2:first-of-type { margin-top: 0; }

p, li {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
  text-wrap: pretty;
}
ul { padding-left: 22px; margin-bottom: 14px; }
li { margin-bottom: 8px; }

a.inline {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(107,140,255,0.3);
  transition: border-color 0.2s;
}
a.inline:hover { border-bottom-color: var(--accent); }

.callout {
  margin-top: 56px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
}
.callout h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.callout p { font-size: 14px; margin-bottom: 0; }

.meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

footer {
  padding: 48px 40px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  color: var(--text-faint);
  font-size: 13px;
  position: relative;
  z-index: 1;
}
footer .legal { display: flex; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--text); }
.copyright { font-family: 'JetBrains Mono', monospace; font-size: 12px; }

/* Support specific */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 40px;
}
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.contact-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.contact-card .value { font-size: 16px; color: var(--text); font-weight: 500; }
.contact-card .value a { color: var(--accent); text-decoration: none; }

.faq {
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-faint);
  font-size: 18px;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 12px;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  header {
    padding: 10px 16px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .logo, .logo img { height: 72px; }
  nav {
    width: 100%;
    gap: 12px 16px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  nav a { font-size: 13px; }
  main { padding: 40px 20px 56px; }
  .intro { margin-bottom: 40px; }
  .callout { margin-top: 40px; padding: 20px; }
  footer { padding: 32px 20px 24px; flex-direction: column; text-align: center; }
  footer .legal { justify-content: center; }
}
