:root {
  --navy:        #0d1117;
  --navy-2:      #161b22;
  --navy-3:      #21262d;
  --gold:        #f59e0b;
  --gold-2:      #fcd34d;
  --blue:        #3b82f6;

  --d-text:    #f0f6fc;
  --d-muted:   #8b949e;
  --d-border:  rgba(255,255,255,0.08);

  --l-bg:     #f8fafc;
  --l-panel:  #ffffff;
  --l-text:   #0f172a;
  --l-muted:  #64748b;
  --l-border: #e2e8f0;

  --bg:           var(--l-bg);
  --panel:        var(--l-panel);
  --panel-soft:   #f1f5f9;
  --text:         var(--l-text);
  --text-soft:    var(--l-muted);
  --border:       var(--l-border);
  --primary:      var(--blue);
  --primary-dark: #2563eb;
  --accent:       #06b6d4;
  --shadow:       0 10px 30px rgba(0,0,0,0.08);
  --shadow-soft:  0 4px 16px rgba(0,0,0,0.05);
  --radius:       16px;
  --max:          1160px;

  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--l-text);
  background: var(--l-bg);
}

a { color: inherit; text-decoration: none; }

a.link {
  color: var(--primary-dark);
  font-weight: 600;
}

a.link:hover {
  text-decoration: underline;
}

.inline-form { display: inline; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Dark topbar (matches home.css) ──────────────────────── */

.topbar {
  background: rgba(13,17,23,0.88) !important;
  border-bottom-color: rgba(255,255,255,0.07) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.topbar .brand { color: #fff !important; }

.topbar .nav-links a {
  color: rgba(255,255,255,0.55) !important;
}

.topbar .nav-links a:hover,
.topbar .nav-links a.active {
  background: rgba(255,255,255,0.07) !important;
  color: #fff !important;
}

.topbar .nav-actions .btn-secondary {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.85) !important;
}

.topbar .nav-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.13) !important;
  color: #fff !important;
}

.topbar .mobile-menu-btn {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: #fff !important;
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.78rem 1.35rem;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.96rem;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  box-shadow: 0 6px 22px rgba(37,99,235,0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(37,99,235,0.38);
}

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

.btn-secondary:hover {
  background: var(--panel-soft);
  border-color: #cfd4dc;
}

/* ── Page header (compact dark strip) ────────────────────── */

.page-header {
  background: var(--navy);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--d-border);
}

.page-header .eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
  max-width: 620px;
}

.page-header p {
  font-size: 1rem;
  color: var(--d-muted);
  line-height: 1.6;
  max-width: 580px;
}

.page-header .meta {
  color: rgba(255,255,255,0.22);
  font-size: 0.85rem;
  margin-top: 0.7rem;
}

/* ── Content sections ────────────────────────────────────── */

.section {
  padding: 2rem 0 3rem;
}

.content {
  padding: 2rem 0 3rem;
}

/* Narrower content for long-form reading */
.content > .container {
  max-width: 820px;
}

/* ── Cards ───────────────────────────────────────────────── */

.card {
  background: var(--l-panel);
  border: 1px solid var(--l-border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.card + .card {
  margin-top: 0.85rem;
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  color: var(--l-text);
}

.card h3 {
  font-size: 0.93rem;
  font-weight: 700;
  margin: 1.1rem 0 0.3rem;
  color: var(--l-text);
}

.card p {
  color: var(--l-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 0.25rem 0 0.85rem 1.25rem;
  color: var(--l-muted);
  font-size: 0.95rem;
}

.card li {
  margin-bottom: 0.35rem;
  line-height: 1.55;
}

/* ── Support-specific ────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
  max-width: 980px;
}

.support-email {
  display: inline-block;
  margin: 0.25rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--l-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.list-item span:first-child {
  color: var(--primary-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.muted {
  color: var(--l-muted);
}

.panel-note {
  background: var(--panel-soft);
  border: 1px solid var(--l-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--l-text);
  font-size: 0.93rem;
}

/* ── Dark footer (matches home.css) ──────────────────────── */

footer {
  background: var(--navy-2);
  border-top: 1px solid var(--d-border);
  padding: 2.25rem 0 2.75rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 800;
  font-size: 0.96rem;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.footer-copy {
  color: rgba(255,255,255,0.2);
  font-size: 0.84rem;
}

.footer-copy a {
  color: var(--d-muted);
  transition: color 0.14s;
}

.footer-copy a:hover {
  color: rgba(255,255,255,0.7);
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 760px) {
  .page-header {
    padding: 2.5rem 0 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.2rem;
  }
}

@media (max-width: 640px) {
  .page-header h1 {
    font-size: 1.75rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}