/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.4;
}

/* GLOBAL PAGE WRAPPER */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* =========================
   NAVIGATION
   ========================= */

.site-header.bold-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.4rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

nav a {
  color: #e6e6e6;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.9;
  transition: 0.2s ease;
}

nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 0.55rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
}

/* =========================
   HERO (HOMEPAGE)
   ========================= */

.mega-hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* cat-poster style: dark top, warm bottom glow */
  background:
    radial-gradient(
      circle at bottom center,
      rgba(255, 106, 50, 0.35),
      transparent 70%
    ),
    linear-gradient(
      to bottom,
      #050505 0%,
      #050505 40%,
      #1a0d08 100%
    );
}

.mega-inner {
  max-width: 980px;
  padding: 2.5rem 1.5rem;
}

.hero-tag {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff6a32;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.mega-h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  color: #ff6a32;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
}

.mega-sub {
  max-width: 620px;
  margin: 0 auto 1.8rem;
  font-size: 1.05rem;
  color: #e8e8e8;
  opacity: 0.92;
}

.mega-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s;
  border: 1px solid transparent;
}

.mega-btn-primary {
  background: linear-gradient(135deg, #ff6a32, #ff944d);
  color: #000;
}

.mega-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(255, 106, 50, 0.28);
}

.mega-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.mega-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 1.5rem 1.75rem;
  background: #000;
  color: #e6e6e6;
  font-size: 1rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.6;
  color: #c3c7d0;
}

/* Footer grid columns */

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-heading {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9fa6b5;
  margin-bottom: 0.4rem;
}

.footer-link {
  display: inline-block;
  font-size: 1rem;
  color: #e6e6e6;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
  color: #ffffff;
}

.footer-meta {
  font-size: 0.95rem;
  color: #a5abb8;
}

/* Bottom row */

.footer-bottom {
  max-width: 1120px;
  margin: 2rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom-left {
  font-size: 0.9rem;
  color: #9ca3b0;
}

.footer-bottom-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* =========================
   INNER PAGE LAYOUTS
   ========================= */

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.8rem 1.5rem;
}

.page-hero-tag {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff6a32;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.page-hero .page-lede {
  max-width: 40rem;
  font-size: 0.98rem;
  color: #e5e2ee;
  opacity: 0.9;
}

.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.8rem 3rem;
}

.page-section {
  margin-top: 2.2rem;
}

.page-section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.page-section .section-intro {
  font-size: 0.95rem;
  color: #c3bfd9;
  max-width: 34rem;
}

/* GRID + CARDS FOR INNER PAGES */

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-card {
  border-radius: 1rem;
  padding: 1.3rem 1.2rem;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.page-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.page-card p {
  font-size: 0.9rem;
  color: #ddd8f0;
}

.page-card ul {
  margin-top: 0.6rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #cbc4ff;
}

/* FAQ */

.faq-list {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: #e2deff;
}

/* CONTACT FORM */

.form {
  margin-top: 1.5rem;
  max-width: 520px;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #f1ecff;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #050505;
  color: #fff;
  font-size: 0.9rem;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #ff6a32;
}

.form-note {
  font-size: 0.8rem;
  color: #a29cc0;
  margin-top: 0.4rem;
}

/* RESOURCES GRID */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.resource-card .resource-meta {
  font-size: 0.8rem;
  color: #a29cc0;
  margin-bottom: 0.35rem;
}

.resource-card .resource-cta {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: #ff944d;
  text-decoration: none;
}

/* =========================
   FULL-WIDTH + SPLIT SECTIONS
   ========================= */

/* full-width hero/sections for product pages */
.full-section,
.full-section-alt {
  width: 100%;
  padding: 4rem 0;
}

.full-section-alt {
  background: #080808;
}

.section-wrapper {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #d6d3e6;
  font-size: 1.1rem;
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

/* feature blocks (used on full-width sections) */
.full-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.full-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.feature-block {
  padding: 2rem;
  border-radius: 1rem;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-block h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.feature-block p {
  font-size: 1rem;
  color: #d4d0e9;
  line-height: 1.5;
}

/* SPLIT LEFT/RIGHT SECTIONS */

.split-section,
.split-section-alt {
  width: 100%;
  padding: 4rem 0;
}

.split-section-alt {
  background: #080808;
}

.split-wrapper {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.split-content {
  text-align: left;
}

.split-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff6a32;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.split-title {
  font-size: clamp(2.1rem, 3.3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}

.split-text {
  font-size: 1rem;
  color: #e5e2ee;
  opacity: 0.9;
  margin-bottom: 1.2rem;
  max-width: 34rem;
}

.split-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.split-list li {
  font-size: 0.95rem;
  color: #cbc4ff;
  margin-bottom: 0.45rem;
}

/* placeholder visual block for split sections */
.split-visual {
  border-radius: 1.2rem;
  background: radial-gradient(circle at top left, #1b1b1b, #050505);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-visual-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a29cc0;
  margin-bottom: 0.6rem;
}

.split-visual-text {
  font-size: 0.95rem;
  color: #e2deff;
  max-width: 20rem;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .mega-h1 {
    line-height: 1.05;
  }

  .mega-sub {
    font-size: 1rem;
  }

  .mega-ctas {
    flex-direction: column;
  }

  .page-hero {
    padding-inline: 1.4rem;
    padding-top: 3.2rem;
  }

  .page-main {
    padding-inline: 1.4rem;
  }

  .grid-2,
  .grid-3,
  .resource-grid,
  .full-grid-2,
  .full-grid-3 {
    grid-template-columns: 1fr;
  }

  .split-grid,
  .split-grid.reverse {
    grid-template-columns: 1fr;
  }

  .split-wrapper,
  .section-wrapper {
    padding: 0 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===========================================================
   LIGHT THEME FOR INNER PAGES (LEAVES HOMEPAGE UNCHANGED)
   Palette: warm cream / off-white paired with the homepage's
   black + orange language, instead of the old mint/blue tones.
   =========================================================== */

.light-page main {
  background: #fdfaf7; /* warm cream, echoes the homepage's warm glow */
  color: #17130f;
}

/* Section wrappers */
.light-section {
  width: 100%;
  padding: 4rem 0;
  background: #fdfaf7;
}

.light-section-alt {
  width: 100%;
  padding: 4rem 0;
  background: #fff4ec; /* soft peach tint for alternation, same family as the accent */
}

/* Main wrapper inside */
.light-wrapper {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Eyebrow / kicker text for light-page heroes */
.light-kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff6a32;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Titles */
.light-title {
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #17130f;
  margin-bottom: 1rem;
  line-height: 1.15;
}

/* Subtitles */
.light-sub {
  font-size: 1.35rem;
  font-weight: 400;
  color: #4a4238;
  max-width: 48rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Cards */
.light-card {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 2rem;
  border: 1px solid rgba(255, 106, 50, 0.12);
  box-shadow: 0 1px 2px rgba(23, 19, 15, 0.03), 0 10px 24px rgba(23, 19, 15, 0.05);
}

a.light-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.light-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(23, 19, 15, 0.05), 0 14px 28px rgba(23, 19, 15, 0.08);
}

.light-card.mint {
  background: #e8fff4;
}

.light-card.yellow {
  background: #fffbe5;
}

.light-card.peach {
  background: #fff0ea;
}

.light-card.blue {
  background: #eef5ff;
}

/* Card text */
.light-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #17130f;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.light-card p {
  color: #4a4238;
  font-size: 1.12rem;
  line-height: 1.6;
}

/* Light grid */
.light-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2rem;
}

.light-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 2rem;
}

/* LEFT/RIGHT version with light theme */
.light-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.light-split-grid.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/* lists */
.light-list li {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #2c261f;
}

/* Outcome highlight line (no card, orange accent) */
.takeaway-line {
  border-left: 3px solid transparent;
  border-image: linear-gradient(to bottom, #ff6a32, #ff944d) 1;
  padding-left: 1.2rem;
  margin-top: 0.25rem;
}

.takeaway-line h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #17130f;
}

.takeaway-line p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #4a4238;
}

/* =========================================
   SERVICES PAGE LAYOUT (GRADIENT + NO CARDS)
   ========================================= */

/* Top outcomes band (the 3 “Reliable / Compounding / Demand” blocks) */

.services-page .services-outcomes {
  padding: 3.5rem 1.5rem;
  background:
    linear-gradient(to bottom, #0b0f19 0%, #141827 24%, #141827 32%, #141827 100%),
    radial-gradient(circle at top left, rgba(255, 106, 50, 0.24), transparent 55%),
    radial-gradient(circle at top right, rgba(255, 148, 77, 0.18), transparent 55%);
  color: #e5e7f0;
}

.services-page .services-outcomes .light-wrapper {
  max-width: 1040px;
}

.services-page .services-outcomes-row {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .services-page .services-outcomes-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.services-page .services-outcome {
  position: relative;
  padding-left: 1.1rem;
}

.services-page .services-outcome::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #ff6a32, #ff944d);
  opacity: 0.95;
}

.services-page .services-outcome h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #f9fafb;
}

.services-page .services-outcome p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #cdd1de;
}

/* Gradient divider between blocks */

.services-page .services-divider {
  height: 56px;
  background:
    linear-gradient(to right,
      rgba(255, 106, 50, 0.08),
      rgba(255, 148, 77, 0.18),
      rgba(255, 106, 50, 0.08)
    ),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 60%);
}

/* Main services sections (diagnose / architect / execute / accelerate) */

.services-page .services-block {
  padding: 3.4rem 1.5rem;
  background: linear-gradient(to bottom, #fdfaf7 0%, #fffaf5 100%);
}

.services-page .services-block-alt {
  padding: 3.4rem 1.5rem;
  background: linear-gradient(to bottom, #fff7f0 0%, #fefaf6 100%);
}

.services-page .services-block .light-wrapper {
  max-width: 1040px;
}

@media (min-width: 992px) {
  .services-page .services-block,
  .services-page .services-block-alt {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Let the split grid breathe a bit more on this page */
.services-page .services-block .light-split-grid,
.services-page .services-block-alt .light-split-grid {
  gap: 2.8rem;
}

/* =========================================
   FAQ - LIGHT PAGE OVERRIDES
   ========================================= */

body.light-page .faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.light-page .faq-item {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 0;
  color: #17130f;
}

body.light-page .faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #17130f;
}

body.light-page .faq-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4238;
}

/* optional: spacing between questions */
body.light-page .faq-item + .faq-item {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(23, 19, 15, 0.08);
}


/* Buttons remain same style unless you want light buttons later */

/* =========================================
   LIGHT-PAGE FORM OVERRIDES (CONTACT, ETC.)
   ========================================= */

body.light-page .form {
  max-width: 640px;
}

body.light-page .form-row label {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #17130f;
}

body.light-page .form-row input,
body.light-page .form-row select,
body.light-page .form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid #e6dbcf;
  background: #ffffff;
  color: #17130f;
  font-size: 1.1rem;
}

body.light-page .form-row input::placeholder,
body.light-page .form-row textarea::placeholder {
  color: #9c8f82;
}

body.light-page .form-row input:focus,
body.light-page .form-row select:focus,
body.light-page .form-row textarea:focus {
  outline: none;
  border-color: #ff6a32;
  box-shadow: 0 0 0 3px rgba(255, 106, 50, 0.15);
}

body.light-page .form-note {
  font-size: 1rem;
  color: #8c7f72;
}

/* ===========================================================
   RESOURCES PAGE: CARD TAG + STATUS LABEL
   =========================================================== */

.light-card .resource-tag {
  display: inline-block;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ff6a32;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.light-card .resource-status {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #9c8f82;
}

/* ===========================================================
   LIGHT-PAGE GRIDS: MOBILE BREAKPOINT
   =========================================================== */

@media (max-width: 900px) {
  .light-grid-2,
  .light-grid-3,
  .light-split-grid,
  .light-split-grid.reverse {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   ARTICLE TEMPLATE
   =========================================================== */

.breadcrumb {
  font-size: 0.95rem;
  color: #8c7f72;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #8c7f72;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #ff6a32;
}

.article-byline {
  font-size: 1rem;
  color: #8c7f72;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}

.article-byline strong {
  color: #4a4238;
}

/* Two-column layout: sticky table of contents (left) + article body (right) */
.article-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.article-toc {
  order: -1;
  position: sticky;
  top: 100px;
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 106, 50, 0.12);
  box-shadow: 0 1px 2px rgba(23, 19, 15, 0.03), 0 10px 24px rgba(23, 19, 15, 0.05);
}

.article-toc-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6a32;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.article-toc ul {
  list-style: none;
}

.article-toc li {
  margin-bottom: 0.15rem;
}

.article-toc a {
  display: block;
  padding: 0.4rem 0 0.4rem 0.8rem;
  border-left: 2px solid rgba(255, 106, 50, 0.12);
  color: #4a4238;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.article-toc a:hover {
  color: #ff6a32;
  border-left-color: #ff6a32;
}

/* Article body typography */
.article-body h2 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #17130f;
  margin-top: 2.75rem;
  margin-bottom: 0.9rem;
  scroll-margin-top: 100px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #17130f;
  margin-top: 1.9rem;
  margin-bottom: 0.6rem;
  scroll-margin-top: 100px;
}

.article-body p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #2c261f;
  margin-bottom: 1.2rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.2rem;
  padding-left: 1.4rem;
}

.article-body li {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2c261f;
  margin-bottom: 0.55rem;
}

.article-body a {
  color: #ff6a32;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: #e2551f;
}

.article-body code {
  background: rgba(255, 106, 50, 0.08);
  color: #17130f;
  padding: 0.15em 0.4em;
  border-radius: 0.3em;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.code-block {
  background: #17130f;
  color: #f5f0ea;
  padding: 1.25rem 1.5rem;
  border-radius: 0.9rem;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-x: auto;
  margin: 0.5rem 0 1.75rem;
}

.code-block code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.article-body .table-wrap {
  overflow-x: auto;
  margin: 0.5rem 0 1.75rem;
  border: 1px solid rgba(255, 106, 50, 0.15);
  border-radius: 0.9rem;
}

.article-body table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
  background: #fffaf5;
}

.article-body th,
.article-body td {
  text-align: left;
  vertical-align: top;
  padding: 0.9rem 1.1rem;
  border-bottom: 1.5px solid rgba(255, 106, 50, 0.3);
  border-right: 1px solid rgba(255, 106, 50, 0.15);
  white-space: normal;
}

.article-body th:last-child,
.article-body td:last-child {
  border-right: none;
}

.article-body thead th {
  background: rgba(255, 106, 50, 0.12);
  color: #17130f;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid rgba(255, 106, 50, 0.4);
}

.article-body tbody tr:nth-child(even) {
  background: rgba(255, 106, 50, 0.045);
}

.article-body tbody tr:hover {
  background: rgba(255, 106, 50, 0.09);
}

.article-body tbody td {
  color: #2c261f;
}

.article-body tbody tr:last-child td {
  border-bottom: none;
}

/* Research stat tiles (reuses .light-card / .light-grid-3 for the shell) */
.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ff6a32;
  line-height: 1.15;
}

.stat-label {
  font-size: 0.92rem;
  color: #5c5347;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Article figures (charts/screenshots inside .article-body) */
.article-body figure {
  margin: 1.75rem 0;
}

.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 106, 50, 0.15);
  box-shadow: 0 1px 2px rgba(23, 19, 15, 0.03), 0 10px 24px rgba(23, 19, 15, 0.05);
}

.article-body figcaption {
  font-size: 0.88rem;
  color: #8c7f72;
  font-style: italic;
  margin-top: 0.6rem;
}

/* Mobile: stack article body above the table of contents */
@media (max-width: 900px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }
}
