/* BidScout — shared styles for SEO content pages.
   Reuses the design tokens from index.html (navy / blue / cream, DM Serif + Inter)
   so guide pages read as native parts of the site, not bolted-on articles. */

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

:root {
  --navy: #0b1a2e;
  --navy-mid: #132440;
  --navy-light: #1a3158;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --cream: #f7f5f0;
  --warm-white: #fefdfb;
  --text-primary: #0b1a2e;
  --text-secondary: #4a5568;
  --text-light: #94a3b8;
  --accent: #f59e0b;
  --border: #e2e0db;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ NAV (shared with homepage) ═══ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(11, 26, 46, 0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; background: var(--blue); border-radius: 8px;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.logo-mark::after {
  content: ''; position: absolute; width: 14px; height: 14px;
  border: 2.5px solid white; border-radius: 50%; top: 5px; left: 5px;
}
.logo-mark::before {
  content: ''; position: absolute; width: 8px; height: 2.5px; background: white;
  bottom: 7px; right: 4px; border-radius: 2px; transform: rotate(-45deg);
}
.logo-text { font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: white; letter-spacing: -0.01em; }
.nav-cta {
  padding: 0.55rem 1.4rem; background: transparent; color: var(--blue-bright);
  border: 1px solid rgba(59, 130, 246, 0.4); border-radius: 6px; font-size: 0.85rem;
  font-weight: 500; cursor: pointer; text-decoration: none; transition: all 0.25s; font-family: inherit;
}
.nav-cta:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* ═══ ARTICLE SHELL ═══ */
.article-head {
  background: var(--navy);
  padding: 8.5rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.article-head::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 10%, rgba(59,130,246,0.08) 0%, transparent 60%);
}
.article-head-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }

.breadcrumb { font-size: 0.8rem; color: var(--text-light); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--blue-bright); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: 0.5; margin: 0 0.4rem; }

.article-head .eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--blue-bright); font-weight: 600; margin-bottom: 0.9rem;
}
.article-head h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  color: white; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.article-head .standfirst { font-size: 1.1rem; color: var(--text-light); max-width: 640px; line-height: 1.65; }
.article-head .meta { margin-top: 1.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.35); }

.article-body { max-width: 760px; margin: 0 auto; padding: 3.5rem 2rem 1rem; }
.article-body h2 {
  font-family: 'DM Serif Display', serif; font-size: 1.7rem; color: var(--navy);
  line-height: 1.2; margin: 2.8rem 0 1rem; letter-spacing: -0.01em; scroll-margin-top: 6rem;
}
.article-body h3 { font-size: 1.15rem; color: var(--navy); margin: 1.8rem 0 0.6rem; font-weight: 600; }
.article-body p { color: var(--text-secondary); margin-bottom: 1.1rem; font-size: 1.02rem; }
.article-body ul, .article-body ol { color: var(--text-secondary); margin: 0 0 1.2rem 1.3rem; font-size: 1.02rem; }
.article-body li { margin-bottom: 0.55rem; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: #2563eb; }
.article-body strong { color: var(--navy); font-weight: 600; }

/* table of contents */
.toc {
  background: var(--cream); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.4rem 1.6rem; margin: 0 0 2.5rem;
}
.toc h2 { font-family: 'Inter', sans-serif; font-size: 0.75rem !important; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-secondary); margin: 0 0 0.8rem !important; }
.toc ol { margin: 0 0 0 1.1rem; font-size: 0.95rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }

/* key-facts card */
.factbox {
  border: 1px solid var(--border); border-left: 3px solid var(--blue);
  border-radius: 10px; background: var(--warm-white);
  padding: 1.5rem 1.7rem; margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(11,26,46,0.04);
}
.factbox h3 { margin-top: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }
.factbox dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.2rem; margin-top: 0.9rem; }
.factbox dt { font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.factbox dd { color: var(--text-secondary); font-size: 0.92rem; }

/* callout */
.callout {
  background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.16);
  border-radius: 10px; padding: 1.2rem 1.5rem; margin: 1.8rem 0;
}
.callout p { margin: 0; color: var(--navy); font-size: 0.98rem; }
.callout strong { color: var(--blue); }

/* inline CTA band */
.cta-band {
  background: var(--navy); border-radius: 16px; padding: 2.5rem 2rem; margin: 3rem 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 60%);
}
.cta-band-inner { position: relative; z-index: 2; max-width: 480px; margin: 0 auto; }
.cta-band h2 { font-family: 'DM Serif Display', serif; color: white !important; font-size: 1.6rem !important; margin: 0 0 0.6rem !important; line-height: 1.2; }
.cta-band p { color: var(--text-light); font-size: 0.98rem; margin-bottom: 1.5rem; }
.waitlist-form { display: flex; gap: 0.6rem; max-width: 420px; margin: 0 auto; }
.waitlist-form input {
  flex: 1; padding: 0.8rem 1rem; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; color: white;
  font-size: 0.95rem; font-family: inherit; outline: none; transition: border-color 0.25s;
}
.waitlist-form input::placeholder { color: rgba(255,255,255,0.35); }
.waitlist-form input:focus { border-color: var(--blue); }
.waitlist-form button {
  padding: 0.8rem 1.6rem; background: var(--blue); color: white; border: none;
  border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: all 0.25s; white-space: nowrap;
}
.waitlist-form button:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,0.3); }
.cta-band .fineprint { margin-top: 0.9rem; font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* FAQ */
.faq { margin: 2.5rem 0; }
.faq details {
  border-bottom: 1px solid var(--border); padding: 1.1rem 0;
}
.faq summary {
  font-weight: 600; color: var(--navy); cursor: pointer; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.8rem 0 0; }

/* related */
.related { border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 2rem; }
.related h2 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.related-card {
  border: 1px solid var(--border); border-radius: 10px; padding: 1.1rem 1.3rem;
  text-decoration: none; transition: all 0.25s; display: block;
}
.related-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,26,46,0.06); }
.related-card .rc-title { color: var(--navy); font-weight: 600; font-size: 0.98rem; margin-bottom: 0.2rem; }
.related-card .rc-sub { color: var(--text-light); font-size: 0.85rem; }

/* footer (shared with homepage) */
footer { padding: 3rem 2rem; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-left { display: flex; align-items: center; gap: 0.6rem; }
.footer-text { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .article-head { padding: 7rem 1.5rem 3rem; }
  .article-body { padding: 2.5rem 1.5rem 1rem; }
  .related-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .factbox dl { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .factbox dd { margin-bottom: 0.6rem; }
}
