/* Shared styles for /guides/ pages. Same tokens as the rest of the site. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:      #F97316;
  --orange-dark: #EA580C;
  --slate-900:   #0F172A;
  --slate-700:   #334155;
  --slate-600:   #475569;
  --slate-400:   #94A3B8;
  --slate-200:   #E2E8F0;
  --slate-100:   #F1F5F9;
  --slate-50:    #F8FAFC;
  --white:       #FFFFFF;
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.7;
}
a { color: var(--orange-dark); }

header { background: var(--white); border-bottom: 1px solid var(--slate-200); position: sticky; top: 0; z-index: 10; }
.header-inner { max-width: 1080px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark { width: 48px; height: 48px; background: #1B3D6F; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-name { font-size: 19px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.5px; }
.header-links { display: flex; align-items: center; gap: 20px; }
.header-back { font-size: 14px; font-weight: 600; color: var(--slate-600); text-decoration: none; }
.header-back:hover { color: var(--orange); }
.nav-cta { font-size: 14px; font-weight: 700; color: var(--white); background: var(--orange); padding: 9px 18px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--orange-dark); }

.wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 24px; }
.crumbs { font-size: 13px; color: var(--slate-400); margin-bottom: 18px; }
.crumbs a { color: var(--slate-600); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

h1 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; color: var(--slate-900); letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.lede { font-size: 18px; color: var(--slate-600); margin-bottom: 28px; }
h2 { font-size: 24px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.5px; line-height: 1.25; margin: 44px 0 14px; scroll-margin-top: 84px; }
h3 { font-size: 18px; font-weight: 700; color: var(--slate-900); margin: 26px 0 8px; }
p { margin-bottom: 16px; }
ul, ol { margin: 0 0 18px 22px; }
li { margin-bottom: 8px; }
strong { color: var(--slate-900); }

.meta { font-size: 13px; color: var(--slate-400); margin-bottom: 28px; }

.toc { background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; padding: 18px 22px; margin-bottom: 28px; }
.toc p { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--slate-400); margin-bottom: 8px; }
.toc ol { margin-bottom: 0; }
.toc a { text-decoration: none; }

.callout { background: var(--white); border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }

.checklist { list-style: none; margin-left: 0; background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; padding: 18px 22px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border: 2px solid var(--slate-400); border-radius: 4px; }

table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--slate-200); border-radius: 10px; margin-bottom: 20px; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
th { background: var(--slate-100); color: var(--slate-900); font-weight: 700; }
tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; }

.cta-box { background: linear-gradient(135deg, #FB923C 0%, #F97316 45%, #EA580C 100%); border-radius: 16px; padding: 32px 28px; margin: 44px 0 20px; color: var(--white); }
.cta-box h2 { color: var(--white); margin: 0 0 10px; font-size: 24px; }
.cta-box p { color: rgba(255,255,255,0.92); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn { display: inline-block; font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 10px; text-decoration: none; }
.btn-solid { background: var(--white); color: var(--orange-dark); }
.btn-ghost { border: 2px solid rgba(255,255,255,0.75); color: var(--white); }
.cta-note { font-size: 13px; margin: 14px 0 0; color: rgba(255,255,255,0.85); }

.related { margin-top: 36px; }
.related ul { list-style: none; margin-left: 0; }
.related a { font-weight: 600; }

.disclaimer { font-size: 13px; color: var(--slate-400); margin-top: 28px; }

/* hub */
.guide-grid { display: grid; gap: 16px; margin: 24px 0 8px; }
.guide-card { display: block; background: var(--white); border: 1.5px solid var(--slate-200); border-radius: 12px; padding: 20px 22px; text-decoration: none; color: inherit; }
.guide-card:hover { border-color: var(--orange); }
.guide-card h3 { margin: 0 0 6px; }
.guide-card p { margin: 0; font-size: 15px; color: var(--slate-600); }

footer { max-width: 760px; margin: 0 auto; padding: 24px 24px 56px; font-size: 13px; color: var(--slate-400); }
footer a { color: var(--slate-600); }

@media (max-width: 560px) {
  .header-back { display: none; }
  .wrap { padding-top: 32px; }
}
