/* DeepWoodz Guides — on-brand article styling (matches css/styles.css tokens) */
:root {
  --bg-deep: #080808;
  --bg-surface: #111111;
  --bg-elevated: #1A1A1A;
  --text-primary: #F8F8F8;
  --text-muted: #A0A0A0;
  --text-dim: #6B6B6B;
  --accent: #C9972A;
  --accent-bright: #E8B84B;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Nav ---- */
.g-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.g-nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.g-nav-logo img { height: 30px; display: block; }
.g-nav-links { display: flex; align-items: center; gap: 26px; }
.g-nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.g-nav-links a:hover { color: var(--text-primary); text-decoration: none; }
.g-nav-cta {
  color: var(--bg-deep) !important;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  padding: 8px 16px; border-radius: 8px; font-weight: 600 !important;
}
.g-nav-cta:hover { color: var(--bg-deep) !important; opacity: 0.92; }

/* ---- Article ---- */
.g-article { max-width: 720px; margin: 0 auto; padding: 56px 24px 40px; }
.g-eyebrow {
  display: inline-block; color: var(--accent);
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.g-eyebrow:hover { text-decoration: none; color: var(--accent-bright); }
.g-article h1 {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(32px, 6vw, 48px); line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.g-body { margin-top: 28px; }
.g-body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 4vw, 30px); line-height: 1.2;
  margin: 44px 0 14px; color: var(--text-primary);
}
.g-body h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: var(--accent-bright); }
.g-body p { margin: 14px 0; color: #E8E8E8; }
.g-body ul, .g-body ol { margin: 14px 0 14px 22px; }
.g-body li { margin: 7px 0; color: #E8E8E8; }
.g-body strong { color: var(--text-primary); font-weight: 700; }

/* answer box (short answer at top) */
.g-answer {
  background: var(--bg-elevated);
  border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 20px 22px; margin: 8px 0 8px;
}
.g-answer p { margin: 8px 0; }
.g-answer p:first-child { margin-top: 0; }
.g-answer p:last-child { margin-bottom: 0; }

/* app-note (the parenthetical "the app does this" asides) */
.g-appnote {
  background: rgba(201, 151, 42, 0.06);
  border: 1px solid rgba(201, 151, 42, 0.25);
  border-radius: 8px; padding: 16px 18px; margin: 22px 0;
  font-style: italic; color: var(--text-muted) !important; font-size: 16px;
}

/* tables */
.g-body table { border-collapse: collapse; width: 100%; margin: 20px 0; font-size: 16px; }
.g-body th, .g-body td { border: 1px solid var(--border-hover); padding: 10px 14px; text-align: left; }
.g-body th { background: var(--bg-elevated); color: var(--accent-bright); font-weight: 700; }
.g-body td { background: var(--bg-surface); color: #E8E8E8; }

/* CTA box */
.g-cta {
  margin: 40px 0 8px; padding: 28px 26px;
  background: var(--bg-elevated);
  border: 1px solid rgba(201, 151, 42, 0.35); border-radius: 14px; text-align: center;
}
.g-cta p { color: var(--text-muted); margin: 0 0 16px; }
.g-cta strong { color: var(--text-primary); }
.g-cta-btn {
  display: inline-block; color: var(--bg-deep) !important;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  padding: 13px 28px; border-radius: 10px; font-weight: 700; font-size: 16px;
}
.g-cta-btn:hover { text-decoration: none; opacity: 0.92; }
.g-cta-soon { display: block; margin-top: 12px; font-size: 13px; color: var(--text-dim); letter-spacing: 0.04em; }

/* ---- Guides index ---- */
.g-index-head { max-width: 760px; margin: 0 auto; padding: 64px 24px 8px; text-align: center; }
.g-index-head h1 {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(34px, 6vw, 52px); line-height: 1.1; margin-bottom: 14px;
}
.g-index-head p { color: var(--text-muted); font-size: 18px; max-width: 560px; margin: 0 auto; }
.g-index-list { max-width: 760px; margin: 0 auto; padding: 36px 24px 40px; display: grid; gap: 18px; }
.g-card {
  display: block; background: var(--bg-surface);
  border: 1px solid var(--border); border-radius: 14px; padding: 26px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.g-card:hover { border-color: var(--border-hover); transform: translateY(-2px); text-decoration: none; }
.g-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: var(--text-primary); margin-bottom: 8px; }
.g-card p { color: var(--text-muted); font-size: 16px; }
.g-card-arrow { color: var(--accent); font-weight: 700; }

/* ---- Footer ---- */
.g-footer {
  border-top: 1px solid var(--border); margin-top: 48px;
  padding: 32px 24px; text-align: center; color: var(--text-dim); font-size: 14px;
}
.g-footer a { color: var(--text-muted); margin: 0 10px; }
.g-footer-brand { margin-bottom: 14px; }
.g-footer-brand img { height: 26px; opacity: 0.7; }
.g-footer-vet { margin-top: 10px; color: var(--accent); letter-spacing: 0.08em; font-size: 12px; text-transform: uppercase; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .g-nav-links { gap: 16px; }
  .g-nav-links a:not(.g-nav-cta) { display: none; }
}
