:root {
  --obsidian: #020205;
  --basalt: #08090C;
  --slate: #11141B;
  --shale: #1E2128;
  --ridge: #2A2F39;
  --cream: #F2EAD3;
  --fog: #8C95A4;
  --gold: #D4A24C;
  --gold-hi: #F0CC78;
  --gold-deep: #B8862F;
  --gold-shadow: #7A5A1E;
  --danger: #C46A6A;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--obsidian);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 162, 76, 0.3);
  transition: border-color 0.15s ease;
}
a:hover { border-bottom-color: var(--gold); }

/* Hex pattern background — repeating SVG tile, sparse gold accents */
.hex-bg {
  position: relative;
  isolation: isolate;
  background-color: var(--obsidian);
  background-image:
    /* Sparse gold hexes */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='384' height='332' viewBox='0 0 384 332'><g fill='none' stroke='%23D4A24C' stroke-width='1.4' opacity='0.45'><polygon points='48,0 60,21 48,42 24,42 12,21 24,0'/><polygon points='240,166 252,187 240,208 216,208 204,187 216,166'/></g></svg>"),
    /* Brighter slate hexes (mid tone) */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='192' height='166' viewBox='0 0 192 166'><g fill='none' stroke='%2323272F' stroke-width='1' opacity='0.6'><polygon points='48,0 60,21 48,42 24,42 12,21 24,0'/><polygon points='144,83 156,104 144,125 120,125 108,104 120,83'/></g></svg>"),
    /* Base dark slate hex grid */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='83' viewBox='0 0 96 83'><g fill='none' stroke='%2313161C' stroke-width='1' opacity='0.5'><polygon points='24,0 36,21 24,42 0,42 -12,21 0,0'/><polygon points='72,0 84,21 72,42 48,42 36,21 48,0'/><polygon points='48,42 60,63 48,84 24,84 12,63 24,42'/></g></svg>");
  background-size: 384px 332px, 192px 166px, 96px 83px;
  background-position: 0 0, 0 0, 0 0;
}

.shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Top bar ────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  color: var(--cream);
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.nav { display: flex; gap: 24px; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  border: none;
  color: var(--fog);
}
.nav a:hover { color: var(--gold); }

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  padding: 64px 0 96px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--obsidian);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  box-shadow: 0 2px 6px rgba(122, 90, 30, 0.5);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  margin: 24px 0 14px;
  letter-spacing: -0.5px;
}
.hero .lede {
  font-size: 17px;
  color: var(--fog);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}
.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 28px auto;
  border-radius: 2px;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: var(--obsidian);
  box-shadow: 0 4px 12px rgba(122, 90, 30, 0.4);
}
.btn-secondary {
  background: var(--basalt);
  color: var(--cream);
  border: 1px solid var(--shale);
}

/* ─── Features ────────────────────────────────────────── */
.features {
  padding: 64px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--basalt);
  border: 1px solid var(--shale);
  border-radius: 14px;
  padding: 22px;
}
.feature-icon {
  width: 44px;
  height: 38px;
  margin-bottom: 14px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
}
.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fog);
}

/* ─── Sections (support + privacy) ────────────────────── */
.section {
  padding: 64px 0;
}
.section h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.section .lede {
  color: var(--fog);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.5;
}
.section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin: 32px 0 8px;
}
.section p, .section li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--cream);
}
.section li {
  margin-bottom: 6px;
}
.section code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  background: var(--basalt);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--shale);
  color: var(--gold-hi);
}

.faq {
  border-top: 1px solid var(--shale);
}
.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--shale);
}
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
}
.faq-item p {
  margin: 0;
  color: var(--fog);
  line-height: 1.6;
  font-size: 14px;
}

/* ─── Footer ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--shale);
  padding: 32px 0 48px;
  margin-top: 64px;
}
footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .copy {
  color: var(--fog);
  font-size: 13px;
}
footer .links {
  display: flex;
  gap: 20px;
}
footer .links a {
  font-size: 13px;
  color: var(--fog);
  border: none;
}
footer .links a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 640px) {
  .nav { display: none; }
  .topbar { padding: 16px 0; }
  .hero { padding: 32px 0 64px; }
}
