/* ============================================================
   BLOGVITALS — CONTENT PAGE STYLES (about.html, terms.html, privacy.html)
   Page hero, prose, callouts, TOC sidebar, contact card
   ============================================================ */

body { line-height: 1.7; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--dark);
  padding: 60px 5% 0;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, #ffffff05 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 60%, #00B49B18 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, #F15A3012 0%, transparent 50%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative; z-index: 1;
  padding-bottom: 52px;
  animation: fadeUp 0.6s ease both;
}
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
}
.page-breadcrumb a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  color: #4a5260; text-decoration: none; transition: color 0.2s;
}
.page-breadcrumb a:hover { color: var(--teal); }
.page-breadcrumb .sep     { color: #2a3038; font-size: 12px; }
.page-breadcrumb .current { font-size: 12px; font-weight: 600; color: var(--teal); letter-spacing: 0.5px; }
.page-tag {
  display: inline-block;
  background: var(--teal); color: var(--dark);
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 4px 13px;
  border-radius: 20px; margin-bottom: 18px;
}
.page-title {
  font-family: 'Titan One', cursive;
  font-size: clamp(36px, 5.5vw, 64px);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.page-title .accent        { color: var(--teal); }
.page-title .accent-orange { color: var(--orange); }
.page-subtitle {
  font-size: 18px; font-weight: 300; color: var(--grey);
  line-height: 1.65; max-width: 580px;
}
.hero-accent-bar {
  width: 60px; height: 5px;
  background: var(--orange);
  border-radius: 3px;
  margin: 24px 0 0;
}
.teal-strip { background: var(--teal); height: 5px; }

/* ===== CONTENT AREA ===== */
.content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}

/* ===== PROSE ===== */
.prose {
  min-width: 0;
  animation: fadeUp 0.5s 0.2s ease both;
}
.prose h2 {
  font-family: 'Titan One', cursive;
  font-size: 24px; color: var(--dark);
  letter-spacing: -0.2px;
  margin-top: 44px; margin-bottom: 14px;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
  line-height: 1.2;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: 'Titan One', cursive;
  font-size: 17px; color: var(--dark);
  margin-top: 28px; margin-bottom: 10px;
}
.prose p {
  font-size: 16px; color: #3a4250;
  line-height: 1.75; margin-bottom: 16px; font-weight: 400;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--dark); font-weight: 600; }
.prose a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: #00B49B60;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.prose a:hover { text-decoration-color: var(--teal); }
.prose ul, .prose ol {
  padding-left: 0; list-style: none; margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.prose ul li, .prose ol li {
  font-size: 15.5px; color: #3a4250;
  line-height: 1.65; padding-left: 24px; position: relative;
}
.prose ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--teal); font-weight: 700;
}
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; }
.prose ol li::before {
  content: counter(item); position: absolute; left: 0;
  color: var(--orange); font-family: 'Titan One', cursive; font-size: 13px;
}

/* Callout boxes */
.callout {
  border-radius: 14px; padding: 20px 22px; margin: 28px 0;
  display: flex; gap: 14px; align-items: flex-start;
}
.callout-teal   { background: var(--teal-light);   border: 1.5px solid #b3e8e0; }
.callout-orange { background: var(--orange-light);  border: 1.5px solid #f9c8b4; }
.callout-dark   { background: var(--dark);          border: 1.5px solid #1e2428; }
.callout-icon   { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.callout-title  { font-family: 'Titan One', cursive; font-size: 14px; margin-bottom: 5px; }
.callout-teal   .callout-title { color: var(--teal-dark); }
.callout-orange .callout-title { color: var(--orange); }
.callout-dark   .callout-title { color: var(--white); }
.callout-text   { font-size: 14px; line-height: 1.6; color: #3a4250; margin: 0; }
.callout-dark   .callout-text  { color: var(--grey); }

/* Divider & last-updated */
.prose-divider {
  border: none; height: 2px; background: var(--card-border);
  margin: 36px 0; border-radius: 2px;
}
.last-updated {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); border: 1.5px solid var(--card-border);
  border-radius: 8px; padding: 7px 14px;
  font-size: 12px; font-weight: 500; color: var(--grey); margin-bottom: 32px;
}
.last-updated .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky; top: 80px;
  display: flex; flex-direction: column; gap: 16px;
  animation: fadeUp 0.5s 0.3s ease both;
}

/* Table of contents */
.toc-card {
  background: var(--white);
  border: 2px solid var(--card-border);
  border-radius: 16px; overflow: hidden;
}
.toc-header {
  background: var(--dark); padding: 14px 18px;
  display: flex; align-items: center; gap: 8px;
}
.toc-header-text {
  font-family: 'Titan One', cursive;
  font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal);
}
.toc-list { list-style: none; padding: 12px 0; }
.toc-list li a {
  display: block; padding: 8px 18px;
  font-size: 13px; font-weight: 500;
  color: #6b7280; text-decoration: none;
  transition: all 0.2s; border-left: 3px solid transparent;
}
.toc-list li a:hover {
  color: var(--dark); background: var(--light); border-left-color: var(--teal);
}
.toc-list li a.active {
  color: var(--teal); font-weight: 600;
  border-left-color: var(--teal); background: var(--teal-light);
}

/* Contact card */
.contact-card {
  background: var(--white);
  border: 2px solid var(--card-border);
  border-radius: 16px; padding: 22px 20px;
}
.contact-card-title {
  font-family: 'Titan One', cursive;
  font-size: 15px; color: var(--dark); margin-bottom: 8px;
}
.contact-card p {
  font-size: 13px; color: #6b7280;
  line-height: 1.6; margin-bottom: 14px;
}
.contact-link {
  display: block; text-align: center; padding: 10px;
  background: var(--teal-light); color: var(--teal-dark);
  font-size: 13px; font-weight: 600; border-radius: 8px;
  text-decoration: none; transition: all 0.2s; border: 1.5px solid #b3e8e0;
}
.contact-link:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* ===== RESPONSIVE ===== */
@media (max-width: 840px) {
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar      { position: relative; top: 0; }
  .toc-card     { display: none; }
}
@media (max-width: 520px) {
  nav ul li:not(:last-child) { display: none; }
}
