/* Shared styles for /guides/. Tokens and components mirror the homepage
   (website/index.html) so the guides read as part of the same site. */

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

:root {
  --orange: #D46B50;
  --orange-light: #DE7F65;
  --orange-dark: #C05840;
  --orange-50: #FDF3F0;
  --orange-100: #FADED8;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

a { color: var(--orange-dark); text-underline-offset: 2px; }
a:hover { color: var(--orange); }

/* ── Nav ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 24px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gray-900); }
.nav-logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav-logo span { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 800; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--gray-700); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-link:hover { color: var(--orange-dark); }
.nav-cta {
  background: var(--orange); color: #fff; text-decoration: none;
  padding: 8px 18px; border-radius: 100px; font-size: 14px; font-weight: 600;
  transition: background .15s, transform .1s;
}
.nav-cta:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }

/* ── Layout ── */
main { padding-top: 60px; }
.guide { max-width: 720px; margin: 0 auto; padding: 36px 24px 24px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--gray-500); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gray-300); }
.crumbs a { color: var(--gray-500); text-decoration: none; }
.crumbs a:hover { color: var(--orange-dark); text-decoration: underline; }

header { margin: 28px 0 26px; }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
h1 {
  font-family: 'Fraunces', serif; font-weight: 800;
  font-size: clamp(32px, 6vw, 46px); line-height: 1.12; letter-spacing: -0.028em;
  margin-bottom: 16px;
}
.byline { font-size: 14px; color: var(--gray-500); }
.lede { font-size: 18px; color: var(--gray-500); line-height: 1.65; }

/* ── Short answer + TOC ── */
.answer {
  background: var(--orange-50); border: 1px solid var(--orange-100);
  border-left: 4px solid var(--orange); border-radius: 14px;
  padding: 20px 22px; margin: 0 0 28px;
}
.answer-label, .toc-label, .fits-label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: 8px;
}
.answer p:last-child { font-size: 18px; line-height: 1.6; color: var(--gray-900); }

.toc { border: 1px solid var(--gray-100); border-radius: 14px; padding: 18px 22px; margin-bottom: 36px; }
.toc ol { padding-left: 20px; font-size: 15px; color: var(--gray-700); }
.toc li { margin: 3px 0; }

/* ── Body copy ── */
article section { margin-bottom: 36px; }
h2 {
  font-family: 'Fraunces', serif; font-weight: 800;
  font-size: clamp(24px, 4vw, 30px); line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
h3 { font-size: 17px; font-weight: 700; margin: 22px 0 6px; }
article p, article li { font-size: 17px; color: var(--gray-700); }
article p { margin-bottom: 14px; }
article ul, article ol { padding-left: 24px; margin-bottom: 16px; }
article li { margin-bottom: 7px; }
article li::marker { color: var(--orange); font-weight: 700; }
strong { color: var(--gray-900); }

blockquote {
  border-left: 3px solid var(--orange-100); background: var(--gray-100);
  border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 14px 0;
  font-style: italic; color: var(--gray-700); font-size: 16px;
}

table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--gray-100); vertical-align: top; color: var(--gray-700); }
th { background: var(--gray-100); color: var(--gray-900); font-weight: 700; white-space: nowrap; }

.note { font-size: 14px; border-top: 1px solid var(--gray-100); padding-top: 14px; margin-bottom: 36px; }
.note p { font-size: 14px; color: var(--gray-500); margin: 0; }

/* ── Where CallMe fits ── */
.fits {
  background: var(--gray-100); border-radius: 18px; padding: 24px 24px 26px; margin: 8px 0 40px;
}
.fits p { font-size: 16px; }

.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff; text-decoration: none;
  padding: 13px 24px; border-radius: 14px; font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 18px rgba(212,107,80,.3);
  transition: background .15s, transform .1s;
}
.btn-store:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.btn-store svg { width: 20px; height: 20px; }

/* ── Sources ── */
.sources ol { font-size: 14px; }
.sources li { font-size: 14px; color: var(--gray-500); }
.sources a { word-break: break-word; }

/* ── Cards ── */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards-hub { grid-template-columns: repeat(2, 1fr); } }
.card {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--gray-100); border-radius: 18px; padding: 20px;
  text-decoration: none; color: var(--gray-700); font-size: 14px; line-height: 1.55;
  box-shadow: 0 2px 14px rgba(0,0,0,.04); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.08); color: var(--gray-700); }
.card strong { font-family: 'Fraunces', serif; font-size: 18px; line-height: 1.25; color: var(--gray-900); }
.card-cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.card-meta { font-size: 12px; color: var(--gray-500); margin-top: auto; padding-top: 6px; }
.related h2 { margin-bottom: 16px; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff; text-align: center; padding: 64px 24px; margin-top: 24px;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 24px; font-size: 17px; }
.cta-band .btn-store { background: var(--gray-900); box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.cta-band .btn-store:hover { background: #000; }

/* ── Footer ── */
.site-footer { padding: 32px 24px; text-align: center; border-top: 1px solid var(--gray-100); font-size: 13px; color: var(--gray-500); }
.site-footer a { color: var(--gray-500); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }

@media (max-width: 600px) {
  .site-nav { padding: 0 16px; }
  .guide { padding: 28px 16px 16px; }
  article p, article li { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn-store, .nav-cta { transition: none; }
}

/* ── Press page ── */
.press-facts th { width: 34%; white-space: normal; }
.copyblock {
  background: var(--gray-100); border-radius: 14px; padding: 16px 20px; margin: 10px 0 18px;
}
.copyblock .copy-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 6px; }
.copyblock p:last-child { margin-bottom: 0; font-size: 16px; }
.assets { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 14px 0 8px; }
@media (min-width: 640px) { .assets { grid-template-columns: repeat(4, 1fr); } }
.asset { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--gray-500); text-decoration: none; }
.asset img { width: 100%; height: 190px; object-fit: contain; background: var(--gray-100); border: 1px solid var(--gray-100); border-radius: 14px; padding: 10px; }
.asset strong { font-size: 14px; color: var(--gray-900); }
.asset:hover strong { color: var(--orange-dark); }
.pullquote { border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 14px 0; font-size: 18px; font-style: italic; color: var(--gray-900); }
.pullquote cite { display: block; font-size: 14px; font-style: normal; color: var(--gray-500); margin-top: 8px; }
