/* Divvy guides — static SEO content styling. Matches the Obsidian/gold landing
   design (see app/landing.tsx tokens). Self-contained, no build step. */

:root {
  --gold: #d4af37;
  --gold-dim: #8a7323;
  --bg: #050505;
  --surface: #101010;
  --surface-hi: #181818;
  --border: #262626;
  --text: #f5f5f5;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --maxw: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

.serif {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: 0.2px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--gold); text-decoration: none; }
.btn-sm {
  background: var(--gold);
  color: #1a1400;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
}
.btn-sm:hover { text-decoration: none; filter: brightness(1.05); }
@media (max-width: 680px) { .nav .nav-hide { display: none; } }

/* ── Article ── */
.article {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 20px 40px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-2); }
.kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1.title {
  font-size: 42px;
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 700;
}
.lede {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 8px;
}
.meta {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.article h2 {
  font-size: 27px;
  line-height: 1.25;
  margin: 44px 0 14px;
  font-weight: 700;
}
.article h3 {
  font-size: 20px;
  margin: 30px 0 10px;
  font-weight: 700;
  color: var(--text);
}
.article p { margin: 0 0 18px; color: #e8e8ea; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 22px; }
.article li { margin: 0 0 10px; color: #e8e8ea; }
.article strong { color: var(--text); }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 26px 0;
}
.callout .callout-title {
  font-weight: 700;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.callout p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ── FAQ ── */
.faq { margin-top: 44px; }
.faq h2 { font-size: 27px; margin: 0 0 18px; font-weight: 700; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 0 0 12px;
  overflow: hidden;
}
.faq-item[open] { border-color: var(--gold-dim); }
.faq-q {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  position: relative;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.faq-item[open] .faq-q::after { content: "\2212"; }
.faq-q:hover { color: var(--gold); }
.faq-a {
  padding: 0 18px 16px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}
.faq-a p { margin: 0 0 10px; color: var(--text-2); }
.faq-a p:last-child { margin-bottom: 0; }

.disclaimer {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 20px;
}

table.facts {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
}
table.facts th, table.facts td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.facts th { color: var(--text-2); font-weight: 600; width: 42%; }
table.facts td { color: var(--text); }

/* ── CTA band ── */
.cta {
  max-width: var(--maxw);
  margin: 44px auto 0;
  padding: 0 20px;
}
.cta-card {
  background: linear-gradient(160deg, var(--surface-hi), var(--surface));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px;
  text-align: center;
}
.cta-card h2 {
  font-size: 27px;
  margin: 0 0 8px;
  font-weight: 700;
}
.cta-card p { color: var(--text-2); margin: 0 0 22px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-lg {
  background: var(--gold);
  color: #1a1400;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
}
.btn-lg:hover { text-decoration: none; filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
}
.btn-ghost:hover { text-decoration: none; border-color: var(--gold); color: var(--gold); }
.cta-note { margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* ── Related ── */
.related {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding: 0 20px;
}
.related h2 { font-size: 20px; margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  color: var(--text);
}
.related-card:hover { text-decoration: none; border-color: var(--gold-dim); }
.related-card .rc-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.related-card .rc-title { font-weight: 700; margin-top: 6px; font-size: 16px; }
.related-card .rc-desc { color: var(--text-2); font-size: 14px; margin-top: 6px; }

/* ── Guides hub ── */
.hub { max-width: 1000px; margin: 0 auto; padding: 60px 20px 40px; }
.hub-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.hub-head h1 { font-size: 44px; margin: 12px 0 14px; font-weight: 700; }
.hub-head p { font-size: 19px; color: var(--text-2); margin: 0; }
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  color: var(--text);
  transition: border-color 0.15s ease;
}
.hub-card:hover { text-decoration: none; border-color: var(--gold-dim); }
.hub-card .hc-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hub-card h2 { font-size: 22px; margin: 8px 0 8px; font-weight: 700; }
.hub-card p { color: var(--text-2); font-size: 15px; margin: 0; }
.hub-card .hc-more { color: var(--gold); font-weight: 600; font-size: 14px; margin-top: 14px; display: inline-block; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 30px 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}
.site-footer a { color: var(--text-2); }
.site-footer .foot-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.site-footer .foot-brand img { width: 22px; height: 22px; border-radius: 5px; }
.site-footer .foot-brand span { color: var(--text); font-weight: 700; }
.site-footer .foot-links { margin: 8px 0; }
.site-footer .foot-links a { margin: 0 10px; }
