/* ============================================================
   JalurSamping.com Design System — jalsam-style.css
   Single stylesheet for 139+ product pages.
   Mobile-first · Accessible · Production-ready
   ============================================================ */

/* ---------------------------------------------------------- 1. RESET & BOX-SIZING */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
img,picture,video,canvas,svg{display:block;max-width:100%}
input,button,textarea,select{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
table{border-collapse:collapse;width:100%}

/* ---------------------------------------------------------- 2. DESIGN TOKENS */
:root{
  /* brand */
  --bg-cream:#F4F1EA;
  --brand-navy:#1D2D44;
  --brand-navy-light:#324665;
  --brand-navy-dark:#14203A;
  --brand-gold:#AF905B;
  --brand-gold-light:#CBAE7B;
  --brand-gold-pale:#F5EDE0;
  /* text */
  --text-main:#1E293B;
  --text-muted:#64748B;
  /* Legacy neobrutalism aliases (used in inline styles) */
  --fg:var(--text-main);
  --bg:var(--bg-cream);
  /* surfaces */
  --card-bg:#FFFFFF;
  --border-light:#E2E8F0;
  --surface-warm:#FBF8F3;
  /* semantic */
  --error-red:#E63946;
  --error-red-bg:#FEF2F2;
  --success-green:#10B981;
  --success-green-bg:#ECFDF5;
  --info-blue:#3B82F6;
  --info-blue-bg:#EFF6FF;
  --warn-amber:#F59E0B;
  --warn-amber-bg:#FFFBEB;
  --purple:#8B5CF6;
  --purple-bg:#F5F3FF;
  /* fonts */
  --serif:'Source Serif 4',Georgia,serif;
  --sans:'Inter',system-ui,-apple-system,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,monospace;
  /* layout */
  --max:1160px;
  --max-article:900px;
  --pad:clamp(15px,4vw,80px);
  /* radius */
  --r-sm:8px;
  --r-md:10px;
  --r-lg:12px;
  --r-xl:14px;
  --r-pill:50px;
  /* shadow — neobrutalism hard shadows in brand navy */
  --shadow-sm:3px 3px 0 var(--brand-navy);
  --shadow-md:4px 4px 0 var(--brand-navy);
  --shadow-lg:6px 6px 0 var(--brand-navy);
  --shadow-focus:0 0 0 3px rgba(175,144,91,.45);
  --shadow-hover:6px 6px 0 var(--brand-navy);
  /* border — visible neobrutalism borders */
  --border-card:2px solid var(--brand-navy);
  --border-accent:2px solid var(--brand-gold);
  /* transition */
  --ease:cubic-bezier(.4,0,.2,1);
  --dur:250ms;
}

/* ---------------------------------------------------------- 3. BASE / BODY */
body{
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  color:var(--text-main);
  background:var(--bg-cream);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

::selection{background:var(--brand-gold-light);color:var(--brand-navy)}
:focus-visible{outline:2px solid var(--brand-gold);outline-offset:2px;border-radius:4px}

/* scrollbar */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:var(--bg-cream)}
::-webkit-scrollbar-thumb{background:var(--brand-gold-light);border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:var(--brand-gold)}

/* ---------------------------------------------------------- 4. TYPOGRAPHY */
h1,h2,h3,h4,h5,h6{
  font-family:var(--serif);
  color:var(--brand-navy);
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.01em;
}
h1{font-size:clamp(2rem,5vw,3.25rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.5rem)}
h3{font-size:clamp(1.3rem,2.5vw,1.85rem)}
h4{font-size:clamp(1.1rem,2vw,1.4rem)}
h5{font-size:1.1rem}
h6{font-size:1rem}

p{margin-bottom:1rem;color:var(--text-main);line-height:1.7}
.lead{font-size:1.15rem;color:var(--text-muted);line-height:1.7}

a{transition:color var(--dur) var(--ease)}
a:hover{color:var(--brand-gold)}

strong,b{font-weight:600}
small,.small{font-size:.875rem}

/* lists */
ul,ol{padding-left:1.5rem;margin-bottom:1rem}
ul{list-style:disc}
ol{list-style:decimal}
li{margin-bottom:.45rem;line-height:1.65}
li::marker{color:var(--brand-gold)}

/* blockquote */
blockquote{
  border-left:5px solid var(--brand-gold);
  padding:1rem 1.5rem;
  margin:1.5rem 0;
  background:var(--brand-gold-pale);
  border-radius:var(--r-md);
  font-style:italic;
  color:var(--brand-navy);
  border:var(--border-accent);
  border-left:5px solid var(--brand-gold);
  box-shadow:var(--shadow-sm);
}
blockquote cite{display:block;margin-top:.5rem;font-size:.85rem;color:var(--text-muted);font-style:normal}

/* code */
code{
  font-family:var(--mono);
  font-size:.875em;
  background:rgba(29,45,68,.06);
  padding:.15em .35em;
  border-radius:4px;
}
pre{
  background:var(--brand-navy);
  color:#fff;
  padding:1.5rem;
  border-radius:var(--r-md);
  overflow-x:auto;
  margin:1.5rem 0;
  font-size:.9rem;
  line-height:1.75;
}
pre code{background:transparent;padding:0;color:#fff}
/* Ensure ALL children inside pre have white text */
pre p,pre li,pre span,pre strong,pre em,pre h1,pre h2,pre h3,pre h4,pre h5,pre h6{
  color:#fff;
}
pre ul,pre ol{
  padding-left:1.5rem;
  margin:.5rem 0;
}
pre li{margin-bottom:.25rem}
pre a{color:var(--brand-gold-light);text-decoration:underline}

/* tables */
table{margin:1.5rem 0;font-size:.95rem}
th,td{padding:.65rem .85rem;text-align:left;border-bottom:1px solid var(--border-light)}
th{font-weight:600;color:var(--brand-navy);background:rgba(29,45,68,.04)}
tr:hover td{background:rgba(175,144,91,.05)}

hr{border:none;height:1px;background:var(--border-light);margin:2rem 0}

/* ---------------------------------------------------------- 5. LAYOUT */
.container{
  width:100%;
  max-width:var(--max);
  margin-inline:auto;
  padding-inline:var(--pad);
}

.grid{display:grid;gap:1.5rem}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}

@media(min-width:640px){
  .grid-2{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:900px){
  .grid-3{grid-template-columns:repeat(3,1fr)}
}

.flex{display:flex;flex-wrap:wrap;gap:1rem}
.flex-center{display:flex;align-items:center;justify-content:center}
.flex-between{display:flex;align-items:center;justify-content:space-between}

/* spacing */
.section{padding-block:clamp(2.5rem,6vw,5rem)}
.section-sm{padding-block:clamp(1.5rem,4vw,3rem)}

/* ---------------------------------------------------------- 6. TOPBAR (glass morphism) */
.topbar{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(244,241,234,.82);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border-light);
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:60px;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:60px;
  gap:1rem;
}
.logo{display:flex;gap:.3rem;align-items:baseline;text-decoration:none}
.logo-text-navy{font-family:var(--serif);font-weight:700;font-size:1.2rem;color:var(--brand-navy)}
.logo-text-gold{font-family:var(--serif);font-weight:700;font-size:1.2rem;color:var(--brand-gold)}
.topbar-nav{
  display:flex;
  gap:.5rem;
  font-size:.85rem;
  font-weight:500;
  align-items:center;
}
.topbar-nav a{
  color:var(--text-muted);
  transition:all var(--dur) var(--ease);
  white-space:nowrap;
  padding:.4rem .85rem;
  border-radius:var(--r-pill);
  border:1px solid transparent;
}
.topbar-nav a:hover{
  color:var(--brand-gold);
  background:rgba(175,144,91,.08);
  border-color:rgba(175,144,91,.15);
}

/* Hide hamburger — not needed for 2 links */
.topbar-toggle{display:none!important}

@media(max-width:480px){
  .topbar-nav{gap:.25rem}
  .topbar-nav a{padding:.35rem .6rem;font-size:.8rem}
}

/* ---------------------------------------------------------- 7. HERO SECTION */
.hero{
  background:var(--brand-navy);
  color:#fff;
  padding-block:clamp(2.5rem,7vw,5rem);
  text-align:center;
  position:relative;
  overflow:hidden;
  /* Break out of parent container (content-wrap) to full viewport width */
  width:100vw;
  margin-left:calc(-50vw + 50%);
  margin-right:calc(-50vw + 50%);
  border-bottom:4px solid var(--brand-gold);
}
.hero::before{
  content:'';
  position:absolute;
  top:-50%;right:-30%;
  width:600px;height:600px;
  background:radial-gradient(circle,rgba(175,144,91,.2),transparent 70%);
  pointer-events:none;
}
/* Diagonal accent stripe */
.hero::after{
  content:'';
  position:absolute;
  bottom:0;left:0;right:0;
  height:6px;
  background:repeating-linear-gradient(
    90deg,
    var(--brand-gold) 0,
    var(--brand-gold) 20px,
    transparent 20px,
    transparent 40px
  );
  pointer-events:none;
}
.hero h1{color:#fff;margin-bottom:1rem;max-width:780px;margin-inline:auto;position:relative}
.hero .lead{color:rgba(255,255,255,.75);max-width:600px;margin-inline:auto;margin-bottom:2rem;position:relative}
.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size:.85rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--brand-gold);
  margin-bottom:1rem;
  position:relative;
}
.hero-eyebrow::before{
  content:'';
  width:28px;height:2px;
  background:var(--brand-gold);
  border-radius:1px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;position:relative}

/* ---------------------------------------------------------- 8. BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  font-weight:600;
  font-size:.95rem;
  padding:.7rem 1.5rem;
  border-radius:var(--r-md);
  border:2px solid transparent;
  cursor:pointer;
  transition:all var(--dur) var(--ease);
  text-decoration:none;
  white-space:nowrap;
}
.btn-primary{
  background:var(--brand-navy);
  color:#fff;
  box-shadow:var(--shadow-md);
  border:2px solid var(--brand-navy);
}
.btn-primary:hover{background:var(--brand-navy-light);color:#fff;transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.btn-outline{
  background:transparent;
  color:var(--brand-navy);
  border:2px solid var(--brand-navy);
  box-shadow:var(--shadow-sm);
}
.btn-outline:hover{background:var(--brand-navy);color:#fff;box-shadow:var(--shadow-md)}
.btn-gold{
  background:var(--brand-gold);
  color:#fff;
  box-shadow:var(--shadow-md);
  border:2px solid var(--brand-navy);
}
.btn-gold:hover{background:var(--brand-gold-light);color:#fff;transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.btn-sm{padding:.45rem 1rem;font-size:.85rem;border-radius:var(--r-sm)}
.btn-pill{border-radius:var(--r-pill)}

/* ---------------------------------------------------------- 9. CONTENT CARDS */
.card{
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-md);
  overflow:hidden;
  transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease);
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover)}
.card-body{padding:1.25rem}
.card-title{font-family:var(--serif);font-size:1.15rem;font-weight:600;color:var(--brand-navy);margin-bottom:.5rem}
.card-text{font-size:.9rem;color:var(--text-muted);line-height:1.55}
.card-img{width:100%;aspect-ratio:16/9;object-fit:cover}
.card-meta{font-size:.8rem;color:var(--text-muted);margin-top:.75rem;display:flex;align-items:center;gap:.5rem}
.card-flat{box-shadow:none;border:1px solid var(--border-light)}
.card-flat:hover{box-shadow:var(--shadow-md)}

/* ---------------------------------------------------------- 10. PILLS / CATEGORY BUTTONS */
.pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}
.pill{
  display:inline-flex;
  align-items:center;
  padding:.4rem 1rem;
  font-size:.85rem;
  font-weight:600;
  border-radius:var(--r-pill);
  background:var(--card-bg);
  color:var(--text-main);
  border:2px solid var(--brand-navy);
  cursor:pointer;
  transition:all var(--dur) var(--ease);
  box-shadow:var(--shadow-sm);
}
.pill:hover{border-color:var(--brand-gold);color:var(--brand-gold);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.pill.active,.pill[aria-pressed="true"]{
  background:var(--brand-navy);
  color:#fff;
  border-color:var(--brand-navy);
  box-shadow:var(--shadow-md);
}

/* ---------------------------------------------------------- 11. SEARCH INPUT */
.search{
  position:relative;
  max-width:480px;
  margin-inline:auto;
  margin-bottom:2rem;
}
.search-input{
  width:100%;
  padding:.75rem 1rem .75rem 2.75rem;
  border:var(--border-card);
  border-radius:var(--r-md);
  background:var(--card-bg);
  font-size:.95rem;
  transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease);
  box-shadow:var(--shadow-sm);
}
.search-input:focus{outline:none;border-color:var(--brand-gold);box-shadow:var(--shadow-focus);box-shadow:4px 4px 0 var(--brand-gold)}
.search-icon{
  position:absolute;
  left:.85rem;top:50%;
  transform:translateY(-50%);
  width:18px;height:18px;
  color:var(--text-muted);
  pointer-events:none;
}

/* ---------------------------------------------------------- 12. STATS BAR */
.stats{
  display:flex;
  gap:1.5rem;
  overflow-x:auto;
  padding-bottom:.5rem;
  scrollbar-width:none;
}
.stats::-webkit-scrollbar{display:none}
.stat{
  flex:0 0 auto;
  text-align:center;
  min-width:120px;
}
.stat-value{font-family:var(--serif);font-size:1.75rem;font-weight:700;color:var(--brand-navy)}
.stat-label{font-size:.8rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}

/* ---------------------------------------------------------- 13. BREADCRUMB */
.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.35rem;
  font-size:.85rem;
  color:var(--text-muted);
  padding-top:1rem;
  margin-bottom:0;
}
.breadcrumb a{color:var(--text-muted);transition:color var(--dur) var(--ease)}
.breadcrumb a:hover{color:var(--brand-gold)}
.breadcrumb .sep{color:var(--border-light)}
.breadcrumb .current{color:var(--brand-navy);font-weight:500}

/* ---------------------------------------------------------- 14. ARTICLE / CONTENT */
.content-wrap{
  max-width:var(--max-article);
  margin-inline:auto;
  padding-block:clamp(2rem,5vw,4rem);
}
.article h2{margin-top:2.5rem;margin-bottom:.75rem}
.article h3{margin-top:2rem;margin-bottom:.6rem}
.article p{margin-bottom:1rem}
.article ul,.article ol{margin-bottom:1rem}
.article img{border-radius:var(--r-md);margin:1.5rem 0}
.article blockquote{margin:1.5rem 0}

/* ============================================================
   15. ARTICLE COMPONENTS — Visual Containers
   These styles match the semantic classes used in the HTML.
   One CSS file → all 129 pages get styled. WordPress-like.
   ============================================================ */

/* --- Section Label (Bab 01, Bab 02, etc.) --- */
.section-label{
  display:inline-block;
  font-size:.8rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--brand-navy);
  background:var(--brand-gold);
  padding:.35rem 1rem;
  border-radius:var(--r-pill);
  margin-bottom:.75rem;
  border:2px solid var(--brand-navy);
  box-shadow:var(--shadow-sm);
}

/* --- Article Section --- */
.section{
  padding-block:clamp(2rem,5vw,4rem);
  border-bottom:1px solid var(--border-light);
}
.section:last-of-type{border-bottom:none}

/* --- Highlight text (inline) --- */
.hl,.highlight,.accent{
  background:linear-gradient(180deg,transparent 60%,rgba(175,144,91,.25) 60%);
  padding:0 .15em;
  font-weight:600;
}
.accent{color:var(--brand-gold)}

/* --- Hero Badge --- */
.hero-badge{
  display:inline-block;
  font-size:.8rem;
  font-weight:600;
  padding:.35rem 1rem;
  border-radius:var(--r-pill);
  background:rgba(255,255,255,.12);
  color:var(--brand-gold-light);
  border:1px solid rgba(175,144,91,.3);
  margin-bottom:1rem;
}

/* --- Hero Meta line --- */
.hero-meta{
  font-size:.85rem;
  color:rgba(255,255,255,.55);
  margin-top:.75rem;
}

/* --- Hero Image --- */
.hero-img-wrap{
  margin-top:2rem;
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:0 12px 40px rgba(0,0,0,.25);
  max-width:700px;
  margin-inline:auto;
}
.hero-img-wrap img{width:100%;height:auto;display:block}

/* --- Table of Contents --- */
.toc{
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  padding:1.5rem 2rem;
  margin:2rem 0;
  box-shadow:var(--shadow-md);
}
.toc h2{
  font-size:1.15rem;
  margin-bottom:1rem;
  padding-bottom:.75rem;
  border-bottom:2px solid var(--brand-gold-pale);
}
.toc ol{
  counter-reset:toc-counter;
  list-style:none;
  padding:0;
  margin:0;
}
.toc ol li{
  counter-increment:toc-counter;
  margin-bottom:.5rem;
  padding-left:2.2rem;
  position:relative;
}
.toc ol li::before{
  content:counter(toc-counter);
  position:absolute;
  left:0;top:0;
  width:1.5rem;height:1.5rem;
  background:var(--brand-gold-pale);
  color:var(--brand-gold);
  font-size:.75rem;
  font-weight:700;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.toc ol li a{
  color:var(--text-main);
  font-size:.95rem;
  font-weight:500;
  transition:color var(--dur) var(--ease);
}
.toc ol li a:hover{color:var(--brand-gold)}

/* --- Stat Grid (data callout cards) --- */
.stat-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:1rem;
  margin:2rem 0;
}
.stat-card{
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  padding:1.5rem;
  text-align:center;
  box-shadow:var(--shadow-md);
  transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease);
}
.stat-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover)}
.stat-card .stat-icon,
.stat-icon{font-size:2rem;margin-bottom:.5rem}
.stat-card .stat-number,
.stat-number{
  font-family:var(--serif);
  font-size:1.75rem;
  font-weight:700;
  color:var(--brand-navy);
  line-height:1.2;
}
.stat-card .stat-label,
.stat-card-label{
  font-size:.85rem;
  color:var(--text-muted);
  margin-top:.25rem;
  line-height:1.4;
}

/* Stat card color variants */
.stat-card.yellow{background:var(--warn-amber-bg);border-color:rgba(245,158,11,.2)}
.stat-card.yellow .stat-number{color:#B45309}
.stat-card.pink{background:#FDF2F8;border-color:rgba(236,72,153,.15)}
.stat-card.pink .stat-number{color:#BE185D}
.stat-card.blue{background:var(--info-blue-bg);border-color:rgba(59,130,246,.15)}
.stat-card.blue .stat-number{color:#1D4ED8}
.stat-card.green{background:var(--success-green-bg);border-color:rgba(16,185,129,.15)}
.stat-card.green .stat-number{color:#047857}
.stat-card.red{background:var(--error-red-bg);border-color:rgba(230,57,70,.15)}
.stat-card.red .stat-number{color:#B91C1C}
.stat-card.purple{background:var(--purple-bg);border-color:rgba(139,92,246,.15)}
.stat-card.purple .stat-number{color:#6D28D9}
.stat-card.navy{background:rgba(29,45,68,.06);border-color:rgba(29,45,68,.12)}
.stat-card.navy .stat-number{color:var(--brand-navy)}

/* --- Callout Box (info) --- */
.callout-box{
  background:var(--info-blue-bg);
  border-left:5px solid var(--info-blue);
  border:var(--border-card);
  border-left:5px solid var(--info-blue);
  border-radius:var(--r-md);
  padding:1.25rem 1.5rem;
  margin:1.75rem 0;
  box-shadow:var(--shadow-sm);
}
.callout-box p:last-child{margin-bottom:0}
.callout-box .box-label,
.callout-box strong:first-child{
  display:block;
  font-weight:700;
  color:var(--info-blue);
  margin-bottom:.5rem;
  font-size:.9rem;
}

/* --- Tip Box (success/green) --- */
.tip-box{
  background:var(--success-green-bg);
  border:var(--border-card);
  border-left:5px solid var(--success-green);
  border-radius:var(--r-md);
  padding:1.25rem 1.5rem;
  margin:1.75rem 0;
  box-shadow:var(--shadow-sm);
}
.tip-box p:last-child{margin-bottom:0}
.tip-box .box-label{
  display:block;
  font-weight:700;
  color:#047857;
  margin-bottom:.5rem;
  font-size:.9rem;
}

/* --- Warning Box (red) --- */
.warning-box{
  background:var(--error-red-bg);
  border:var(--border-card);
  border-left:5px solid var(--error-red);
  border-radius:var(--r-md);
  padding:1.25rem 1.5rem;
  margin:1.75rem 0;
  box-shadow:var(--shadow-sm);
}
.warning-box p:last-child{margin-bottom:0}
.warning-box .box-label{
  display:block;
  font-weight:700;
  color:#B91C1C;
  margin-bottom:.5rem;
  font-size:.9rem;
}

/* --- Red Flag Box --- */
.red-flag-box{
  background:var(--error-red-bg);
  border:var(--border-card);
  border-left:5px solid var(--error-red);
  border-radius:var(--r-lg);
  padding:1.5rem;
  margin:1.75rem 0;
  box-shadow:var(--shadow-sm);
}
.red-flag-box h3{color:#B91C1C;margin-bottom:.75rem}
.red-flag-box ul{list-style:none;padding:0}
.red-flag-box li{
  padding:.6rem 0;
  border-bottom:1px dashed rgba(230,57,70,.2);
  font-size:.95rem;
}
.red-flag-box li:last-child{border-bottom:none}

/* --- Script Box (purple) --- */
.script-box{
  background:var(--purple-bg);
  border:var(--border-card);
  border-left:5px solid var(--purple);
  border-radius:var(--r-md);
  padding:1.25rem 1.5rem;
  margin:1.75rem 0;
  box-shadow:var(--shadow-sm);
}
.script-box .script-label{
  font-weight:700;
  color:#6D28D9;
  margin-bottom:.75rem;
  font-size:.9rem;
}
.script-box .script-scenario{
  font-size:.85rem;
  color:var(--text-muted);
  margin-bottom:.75rem;
  font-style:italic;
}
.script-box .speaker{
  font-weight:700;
  color:var(--purple);
}
.script-box .script-text{
  background:rgba(255,255,255,.6);
  padding:1rem;
  border-radius:var(--r-sm);
  font-size:.95rem;
  line-height:1.7;
}

/* --- Pullquote --- */
.pullquote{
  background:linear-gradient(135deg,var(--brand-gold-pale),var(--warn-amber-bg));
  border:var(--border-accent);
  border-radius:var(--r-lg);
  padding:2rem;
  margin:2rem 0;
  text-align:center;
  position:relative;
  box-shadow:var(--shadow-md);
}
.pullquote::before{
  content:'"';
  position:absolute;
  top:.5rem;left:1.25rem;
  font-family:var(--serif);
  font-size:4rem;
  color:var(--brand-gold);
  opacity:.3;
  line-height:1;
}
.pullquote p{
  font-family:var(--serif);
  font-size:1.2rem;
  font-weight:600;
  color:var(--brand-navy);
  font-style:italic;
  line-height:1.5;
  position:relative;
}
.pullquote cite{
  display:block;
  margin-top:.75rem;
  font-size:.85rem;
  color:var(--text-muted);
  font-style:normal;
  font-family:var(--sans);
}

/* --- Step List --- */
.step-list{
  counter-reset:step-counter;
  margin:2rem 0;
}
.step-item{
  display:flex;
  gap:1.25rem;
  margin-bottom:1.5rem;
  align-items:flex-start;
}
.step-number{
  counter-increment:step-counter;
  flex-shrink:0;
  width:2.5rem;height:2.5rem;
  background:var(--brand-navy);
  color:#fff;
  font-family:var(--serif);
  font-weight:700;
  font-size:1.1rem;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid var(--brand-gold);
  box-shadow:var(--shadow-sm);
}
.step-item h4{margin-bottom:.35rem}
.step-item p{font-size:.95rem;color:var(--text-muted);margin-bottom:0}

/* --- Do's & Don'ts Grid --- */
.dos-donts{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
  margin:1.75rem 0;
}
@media(min-width:640px){.dos-donts{grid-template-columns:1fr 1fr}}
.dos-box{
  background:var(--success-green-bg);
  border:var(--border-card);
  border-left:5px solid var(--success-green);
  border-radius:var(--r-lg);
  padding:1.25rem;
  box-shadow:var(--shadow-sm);
}
.dos-box h4{color:#047857;margin-bottom:.75rem}
.dos-box ul{list-style:none;padding:0}
.dos-box li{padding:.35rem 0;font-size:.95rem}
.donts-box{
  background:var(--error-red-bg);
  border:var(--border-card);
  border-left:5px solid var(--error-red);
  border-radius:var(--r-lg);
  padding:1.25rem;
  box-shadow:var(--shadow-sm);
}
.donts-box h4{color:#B91C1C;margin-bottom:.75rem}
.donts-box ul{list-style:none;padding:0}
.donts-box li{padding:.35rem 0;font-size:.95rem}

/* --- Checklist --- */
.checklist{
  background:var(--card-bg);
  border:var(--border-accent);
  border-radius:var(--r-lg);
  padding:1.5rem;
  margin:1.75rem 0;
  box-shadow:var(--shadow-md);
}
.checklist h3{margin-bottom:1rem;color:var(--brand-navy)}
.checklist-item{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  padding:.5rem 0;
  border-bottom:1px solid var(--border-light);
  font-size:.95rem;
}
.checklist-item:last-child{border-bottom:none}
.checkbox{
  flex-shrink:0;
  width:1.25rem;height:1.25rem;
  border:2px solid var(--brand-gold);
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.8rem;
  color:var(--brand-gold);
  margin-top:.1rem;
}

/* --- Comparison Table --- */
.comparison-table{
  border-radius:var(--r-lg);
  overflow:hidden;
  border:var(--border-card);
  margin:1.75rem 0;
  box-shadow:var(--shadow-sm);
}
.comparison-table thead th{
  background:var(--brand-navy);
  color:#fff;
  font-weight:700;
  padding:.75rem 1rem;
  border-bottom:3px solid var(--brand-gold);
}
.comparison-table tbody td{
  padding:.7rem 1rem;
  border-bottom:1px solid var(--border-light);
  font-size:.9rem;
}
.comparison-table tbody tr:nth-child(even) td{background:rgba(29,45,68,.02)}
.comparison-table tbody tr:hover td{background:var(--brand-gold-pale)}

/* --- Share Section --- */
.share-section{
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  padding:2rem;
  margin:3rem 0;
  text-align:center;
  box-shadow:var(--shadow-md);
}
.share-section h3{margin-bottom:.5rem}
.share-section p{color:var(--text-muted);font-size:.9rem;margin-bottom:1.25rem}
.share-buttons{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}
.share-btn{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.55rem 1.15rem;
  border-radius:var(--r-sm);
  font-size:.85rem;
  font-weight:600;
  border:2px solid var(--border-light);
  background:var(--card-bg);
  color:var(--text-main);
  transition:all var(--dur) var(--ease);
  cursor:pointer;
}
.share-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}
.share-btn.twitter{border-color:#1DA1F2;color:#1DA1F2}
.share-btn.twitter:hover{background:#1DA1F2;color:#fff}
.share-btn.linkedin{border-color:#0A66C2;color:#0A66C2}
.share-btn.linkedin:hover{background:#0A66C2;color:#fff}
.share-btn.whatsapp{border-color:#25D366;color:#25D366}
.share-btn.whatsapp:hover{background:#25D366;color:#fff}

/* --- Related Articles --- */
.related-articles{
  margin:3rem 0;
  padding-top:2rem;
  border-top:2px solid var(--border-light);
}
.related-articles h2{
  font-size:1.5rem;
  margin-bottom:1.25rem;
  text-align:center;
}
.related-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
}
@media(min-width:640px){.related-grid{grid-template-columns:repeat(2,1fr)}}
.related-card{
  display:block;
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  padding:1.25rem;
  transition:all var(--dur) var(--ease);
  box-shadow:var(--shadow-sm);
}
.related-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:var(--brand-gold)}
.related-tag{
  display:inline-block;
  font-size:.7rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--brand-gold);
  background:var(--brand-gold-pale);
  padding:.2rem .6rem;
  border-radius:var(--r-sm);
  margin-bottom:.5rem;
}
.related-card h4{font-size:1rem;margin-bottom:.35rem;color:var(--brand-navy)}
.related-card p{font-size:.85rem;color:var(--text-muted);line-height:1.5;margin-bottom:0}

/* --- Back to Top Button --- */
.back-to-top{
  position:fixed;
  bottom:2rem;right:2rem;
  width:48px;height:48px;
  background:var(--brand-gold);
  color:#fff;
  border:2px solid var(--brand-navy);
  border-radius:50%;
  font-size:1.2rem;
  cursor:pointer;
  box-shadow:var(--shadow-md);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:all var(--dur) var(--ease);
  z-index:90;
  display:flex;
  align-items:center;
  justify-content:center;
}
.back-to-top.visible{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top:hover{background:var(--brand-gold-light);transform:translateY(-2px);box-shadow:var(--shadow-hover)}

/* --- Box Label (shared for callout/tip/warning) --- */
.box-label{
  font-size:.9rem;
  font-weight:700;
  margin-bottom:.5rem;
}

/* --- Number highlight (large stats inline) --- */
.num-highlight{
  font-family:var(--serif);
  font-size:2rem;
  font-weight:700;
  color:var(--brand-navy);
  display:block;
  line-height:1.2;
}

/* --- Key takeaway box --- */
.key-takeaway{
  background:var(--brand-gold-pale);
  border:var(--border-accent);
  border-radius:var(--r-lg);
  padding:1.5rem;
  margin:2rem 0;
  box-shadow:var(--shadow-md);
}
.key-takeaway h3,.key-takeaway h4{color:var(--brand-navy);margin-bottom:.75rem}
.key-takeaway ul{list-style:none;padding:0}
.key-takeaway li{
  padding:.4rem 0;
  padding-left:1.5rem;
  position:relative;
  font-size:.95rem;
}
.key-takeaway li::before{
  content:'→';
  position:absolute;
  left:0;
  color:var(--brand-gold);
  font-weight:700;
}

/* --- Progress bar / completion --- */
.progress-bar{
  background:var(--border-light);
  border-radius:var(--r-pill);
  height:10px;
  overflow:hidden;
  margin:.5rem 0;
}
.progress-fill{
  background:linear-gradient(90deg,var(--brand-gold),var(--brand-gold-light));
  height:100%;
  border-radius:var(--r-pill);
  transition:width .5s var(--ease);
}

/* --- Article internal navbar (duplicate topbar in content) --- */
.navbar{
  background:var(--card-bg);
  border-bottom:1px solid var(--border-light);
  padding:.75rem 0;
}
.navbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.navbar-brand{
  font-family:var(--serif);
  font-weight:700;
  font-size:1.1rem;
  color:var(--brand-navy);
}
.navbar-brand span{color:var(--brand-gold)}
.navbar-links{
  display:flex;
  gap:1.25rem;
  font-size:.9rem;
  font-weight:500;
}
.navbar-links a{color:var(--text-muted);transition:color var(--dur) var(--ease)}
.navbar-links a:hover{color:var(--brand-gold)}

/* --- Alternating section backgrounds --- */
.section-alt{
  background:var(--surface-warm);
  padding-block:clamp(2rem,5vw,4rem);
}

/* --- Inline tag/badge (article content) --- */
.tag{
  display:inline-block;
  font-size:.7rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.04em;
  padding:.2rem .55rem;
  border-radius:var(--r-sm);
  background:var(--brand-gold-pale);
  color:var(--brand-gold);
}

/* --- Icon circle (for features, stats) --- */
.icon-circle{
  width:3rem;height:3rem;
  background:var(--brand-gold-pale);
  color:var(--brand-gold);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.25rem;
  flex-shrink:0;
}

/* --- Feature grid (for ebook/tool feature lists) --- */
.feature-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
  margin:2rem 0;
}
@media(min-width:640px){.feature-grid{grid-template-columns:repeat(2,1fr)}}
.feature-item{
  display:flex;
  gap:1rem;
  align-items:flex-start;
  background:var(--card-bg);
  padding:1.25rem;
  border-radius:var(--r-md);
  border:var(--border-card);
  box-shadow:var(--shadow-sm);
}
.feature-item h4{margin-bottom:.25rem;font-size:.95rem}
.feature-item p{font-size:.85rem;color:var(--text-muted);margin-bottom:0}

/* --- Ebook: Chapter --- */
.chapter{
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  padding:clamp(1.5rem,4vw,2.5rem);
  margin:2rem 0;
  box-shadow:var(--shadow-md);
  position:relative;
}
.chapter::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:4px;
  background:linear-gradient(90deg,var(--brand-gold),var(--brand-gold-light));
  border-radius:var(--r-lg) var(--r-lg) 0 0;
}
.chapter h1{
  font-size:clamp(1.5rem,3vw,2rem);
  margin-bottom:1rem;
  padding-bottom:.75rem;
  border-bottom:2px solid var(--border-light);
}
.chapter h2{
  font-size:clamp(1.25rem,2.5vw,1.6rem);
  margin-top:2rem;
  margin-bottom:.5rem;
  color:var(--brand-navy);
}
.chapter h3{
  font-size:1.15rem;
  margin-top:1.5rem;
  margin-bottom:.5rem;
}
.chapter p{line-height:1.75}
.chapter em{color:var(--text-muted);font-style:italic}
.chapter hr{
  border:none;
  height:1px;
  background:var(--border-light);
  margin:2rem 0;
}
.chapter ul,.chapter ol{
  margin:1rem 0;
  padding-left:1.5rem;
}
.chapter li{margin-bottom:.5rem;line-height:1.7}

/* Ebook: Subtitle */
.subtitle{
  font-size:1.1rem;
  color:var(--text-muted);
  line-height:1.6;
  margin-bottom:1rem;
}

/* Ebook: Highlight block */
.chapter .highlight{
  background:var(--brand-gold-pale);
  border-left:4px solid var(--brand-gold);
  padding:1rem 1.25rem;
  margin:1.25rem 0;
  border-radius:0 var(--r-sm) var(--r-sm) 0;
  font-weight:500;
}
.chapter .highlight p{margin-bottom:0}

/* Ebook: CTA card */
.cta-card{
  background:linear-gradient(135deg,var(--brand-navy),var(--brand-navy-light));
  color:#fff;
  border-radius:var(--r-lg);
  padding:2rem;
  margin:2rem 0;
  text-align:center;
}
.cta-card h2,.cta-card h3{color:#fff;margin-bottom:.5rem}
.cta-card p{color:rgba(255,255,255,.75);margin-bottom:1rem}
.cta-card .btn,.cta-card .btn-primary{
  background:var(--brand-gold);
  color:#fff;
  font-weight:600;
  padding:.7rem 1.75rem;
  border-radius:var(--r-md);
  border:none;
  cursor:pointer;
  transition:all var(--dur) var(--ease);
}
.cta-card .btn:hover,.cta-card .btn-primary:hover{background:var(--brand-gold-light)}

/* Ebook: CTA footer */
.cta-footer{
  background:var(--brand-navy);
  color:#fff;
  text-align:center;
  padding:clamp(2rem,5vw,3.5rem);
  border-radius:var(--r-xl);
  margin:2rem 0;
}
.cta-footer h2,.cta-footer h3{color:#fff;margin-bottom:.5rem}
.cta-footer p{color:rgba(255,255,255,.7);margin-bottom:1.25rem}
.cta-footer a,.cta-footer .btn-primary{
  display:inline-block;
  background:var(--brand-gold);
  color:#fff;
  font-weight:600;
  padding:.7rem 1.75rem;
  border-radius:var(--r-md);
  text-decoration:none;
  transition:all var(--dur) var(--ease);
}
.cta-footer a:hover{background:var(--brand-gold-light);transform:translateY(-2px)}

/* Ebook: Back to top */
.back-top{
  position:fixed;
  bottom:2rem;right:2rem;
  width:44px;height:44px;
  background:var(--brand-gold);
  color:#fff;
  border:none;
  border-radius:50%;
  font-size:1.1rem;
  cursor:pointer;
  box-shadow:var(--shadow-lg);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:90;
  opacity:0;
  visibility:hidden;
  transition:all var(--dur) var(--ease);
}
.back-top.visible{opacity:1;visibility:visible}

/* Ebook: Site footer (different from .footer) */
.site-footer{
  background:var(--brand-navy-dark);
  color:rgba(255,255,255,.6);
  text-align:center;
  padding:2rem;
  font-size:.85rem;
  margin-top:3rem;
}
.site-footer a{color:var(--brand-gold)}
.site-footer a:hover{color:var(--brand-gold-light)}

/* ============================================================
   16. TOOL-SPECIFIC STYLES
   ============================================================ */

/* Tool: Header */
.site-header{
  background:var(--card-bg);
  border-bottom:1px solid var(--border-light);
  padding:.75rem 0;
}
.header-tag{
  display:inline-block;
  font-size:.75rem;
  font-weight:600;
  padding:.3rem .75rem;
  border-radius:var(--r-pill);
  background:var(--success-green-bg);
  color:#047857;
}

/* Tool: Hero section */
.hero-stats{
  display:flex;
  justify-content:center;
  gap:1.5rem;
  flex-wrap:wrap;
  margin:1.5rem 0;
}
.hero-stat{
  text-align:center;
  min-width:80px;
}
.hero-stat .num,.hero-stat-number{
  font-family:var(--serif);
  font-size:1.75rem;
  font-weight:700;
  color:var(--brand-navy);
  display:block;
}
.hero-stat .label,.hero-stat-label{
  font-size:.8rem;
  color:var(--text-muted);
}

/* Tool: Intro features */
.intro-features{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:1rem;
  margin:1.5rem 0;
}
.intro-feature{
  display:flex;
  gap:.75rem;
  align-items:flex-start;
  padding:1rem;
  background:var(--card-bg);
  border:1px solid var(--border-light);
  border-radius:var(--r-md);
}
.intro-feature .icon{
  font-size:1.5rem;
  flex-shrink:0;
}

/* Tool: Card styles */
.card{
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  padding:1.5rem;
  margin:1rem 0;
  box-shadow:var(--shadow-md);
}
.card h2{font-size:1.3rem;margin-bottom:1rem}
.card-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:1rem;
  padding-bottom:.75rem;
  border-bottom:1px solid var(--border-light);
}
.card-title{
  font-family:var(--serif);
  font-size:1.1rem;
  font-weight:600;
  color:var(--brand-navy);
}

/* Tool: Form elements */
.select-wrap{
  margin-bottom:1rem;
}
.select-wrap label{
  display:block;
  font-size:.9rem;
  font-weight:600;
  color:var(--brand-navy);
  margin-bottom:.35rem;
}
.select-wrap select,.select-wrap input{
  width:100%;
  padding:.65rem .85rem;
  border:1px solid var(--border-light);
  border-radius:var(--r-sm);
  background:var(--card-bg);
  font-size:.95rem;
  transition:border-color var(--dur) var(--ease);
}
.select-wrap select:focus,.select-wrap input:focus{
  outline:none;
  border-color:var(--brand-gold);
  box-shadow:var(--shadow-focus);
}

/* Tool: Progress bar */
.progress-container{
  margin:1.5rem 0;
}
.progress-header{
  display:flex;
  justify-content:space-between;
  font-size:.85rem;
  color:var(--text-muted);
  margin-bottom:.5rem;
}
.progress-bar-bg{
  background:var(--border-light);
  border-radius:var(--r-pill);
  height:8px;
  overflow:hidden;
}
.progress-bar-fill{
  height:100%;
  background:linear-gradient(90deg,var(--brand-gold),var(--brand-gold-light));
  border-radius:var(--r-pill);
  transition:width .4s var(--ease);
}

/* Tool: Quiz sections */
.quiz-section{
  padding:2rem 0;
}
.quiz-nav{
  display:flex;
  justify-content:space-between;
  margin-top:1.5rem;
  gap:1rem;
}
.btn-prev{
  background:var(--card-bg);
  color:var(--brand-navy);
  border:1px solid var(--border-light);
}
.btn-prev:hover{background:var(--surface-warm)}
.btn-next{
  background:var(--brand-navy);
  color:#fff;
}
.btn-next:hover{background:var(--brand-navy-light)}

/* Tool: Results section */
.result-section,.results-section{
  padding:2rem 0;
}
.result-card{
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  padding:1.5rem;
  margin:1rem 0;
  box-shadow:var(--shadow-md);
}
.result-card.highlight{
  border-color:var(--brand-gold);
  box-shadow:0 0 0 2px rgba(175,144,91,.2);
}
.result-card.winner{
  border-color:var(--success-green);
  box-shadow:0 0 0 2px rgba(16,185,129,.2);
}
.score-circle{
  width:80px;height:80px;
  border-radius:50%;
  background:var(--brand-navy);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--serif);
  font-size:1.5rem;
  font-weight:700;
  margin:0 auto 1rem;
}

/* Tool: CTA box */
.cta-box{
  background:var(--brand-gold-pale);
  border:2px solid var(--brand-gold);
  border-radius:var(--r-lg);
  padding:2rem;
  margin:2rem 0;
  text-align:center;
}
.cta-box h2,.cta-box h3{margin-bottom:.5rem}
.cta-box p{color:var(--text-muted);margin-bottom:1rem}
.cta-box .btn,.cta-box .btn-primary{
  background:var(--brand-navy);
  color:#fff;
}

/* Tool: Loading overlay */
.loading-overlay{
  position:fixed;
  inset:0;
  background:rgba(244,241,234,.9);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  z-index:200;
  gap:1rem;
}
.loading-spinner{
  width:40px;height:40px;
  border:3px solid var(--border-light);
  border-top-color:var(--brand-gold);
  border-radius:50%;
  animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.loading-text{
  font-size:.95rem;
  color:var(--text-muted);
  font-weight:500;
}

/* Tool: Info boxes */
.info-box{
  background:var(--info-blue-bg);
  border:var(--border-card);
  border-left:5px solid var(--info-blue);
  border-radius:var(--r-md);
  padding:1rem 1.25rem;
  margin:1rem 0;
  font-size:.95rem;
  box-shadow:var(--shadow-sm);
}
.warn-box{
  background:var(--warn-amber-bg);
  border:var(--border-card);
  border-left:5px solid var(--warn-amber);
  border-radius:var(--r-md);
  padding:1rem 1.25rem;
  margin:1rem 0;
  font-size:.95rem;
  box-shadow:var(--shadow-sm);
}

/* Tool: Tag / badge */
.tag{
  display:inline-block;
  font-size:.7rem;
  font-weight:600;
  padding:.2rem .55rem;
  border-radius:var(--r-sm);
  text-transform:uppercase;
  letter-spacing:.03em;
}
.tag-high{background:var(--error-red-bg);color:#B91C1C}
.tag-mid{background:var(--warn-amber-bg);color:#92400E}
.tag-low{background:var(--success-green-bg);color:#047857}

/* Tool: Salary box */
.salary-box{
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  padding:1.5rem;
  text-align:center;
  margin:1rem 0;
  box-shadow:var(--shadow-md);
}
.salary-box.highlight{
  border-color:var(--brand-gold);
  background:var(--brand-gold-pale);
}
.salary-box.danger{
  border-color:var(--error-red);
  background:var(--error-red-bg);
}
.salary-big{
  font-family:var(--serif);
  font-size:2rem;
  font-weight:700;
  color:var(--brand-navy);
}
.salary-range{
  font-size:.9rem;
  color:var(--text-muted);
  margin-top:.25rem;
}

/* Tool: Score card */
.score-card{
  background:var(--card-bg);
  border:var(--border-card);
  border-radius:var(--r-lg);
  padding:1.5rem;
  text-align:center;
  box-shadow:var(--shadow-md);
}
.score-big{
  font-family:var(--serif);
  font-size:2.5rem;
  font-weight:700;
  color:var(--brand-navy);
}
.score-label{
  font-size:.85rem;
  color:var(--text-muted);
}

/* Tool: Stat card */
.stat-card{
  background:var(--card-bg);
  border:1px solid var(--border-light);
  border-radius:var(--r-lg);
  padding:1.25rem;
  text-align:center;
  box-shadow:var(--shadow-sm);
}
.stat-card.highlight{
  border-color:var(--brand-gold);
  background:var(--brand-gold-pale);
}
.stat-card .stat-icon{font-size:1.5rem;margin-bottom:.5rem}
.stat-card .stat-number{
  font-family:var(--serif);
  font-size:1.5rem;
  font-weight:700;
  color:var(--brand-navy);
}
.stat-card .stat-label{
  font-size:.8rem;
  color:var(--text-muted);
}

/* ============================================================
   17. CTA FOOTER SECTION */
.cta-section{
  background:var(--brand-navy);
  color:#fff;
  text-align:center;
  padding-block:clamp(3rem,6vw,5rem);
  border:3px solid var(--brand-gold);
  border-radius:var(--r-xl);
  margin:clamp(2rem,5vw,4rem) 0;
  box-shadow:var(--shadow-lg);
}
.cta-section h2{color:#fff;margin-bottom:.75rem}
.cta-section p{color:rgba(255,255,255,.75);max-width:540px;margin-inline:auto;margin-bottom:1.75rem}
.cta-section .btn-gold{font-size:1rem;padding:.8rem 2rem}
.cta-section .btn-gold:hover{box-shadow:0 8px 24px rgba(175,144,91,.35)}

/* CTA Banner (inline, smaller) */
.cta-banner{
  background:linear-gradient(135deg,var(--brand-navy),var(--brand-navy-light));
  color:#fff;
  text-align:center;
  padding:2rem;
  border:var(--border-accent);
  border-radius:var(--r-lg);
  margin:2rem 0;
  box-shadow:var(--shadow-md);
}
.cta-banner h3{color:#fff;margin-bottom:.5rem}
.cta-banner p{color:rgba(255,255,255,.7);font-size:.9rem;margin-bottom:1rem}
.cta-banner .btn-gold{font-size:.9rem}

/* ============================================================
   17. SITE FOOTER */
.footer{
  background:var(--brand-navy-dark);
  color:rgba(255,255,255,.6);
  padding-block:2.5rem;
  font-size:.85rem;
}
.footer-inner{
  display:grid;
  grid-template-columns:1fr;
  gap:2rem;
  margin-bottom:2rem;
}
@media(min-width:640px){.footer-inner{grid-template-columns:2fr 1fr 1fr}}
.footer-logo{
  font-family:var(--serif);
  font-weight:700;
  font-size:1.1rem;
  color:#fff;
  margin-bottom:.5rem;
}
.footer-logo span{color:var(--brand-gold)}
.footer-desc{font-size:.85rem;line-height:1.6;max-width:300px}
.footer h4{color:#fff;font-family:var(--sans);font-size:.9rem;font-weight:600;margin-bottom:.75rem}
.footer ul{list-style:none;padding:0;margin:0}
.footer li{margin-bottom:.35rem}
.footer a{color:rgba(255,255,255,.6);transition:color var(--dur) var(--ease)}
.footer a:hover{color:var(--brand-gold)}
.footer-bottom{
  text-align:center;
  padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:.8rem;
  color:rgba(255,255,255,.4);
}

/* ============================================================
   18. BADGE / TAG */
.badge{
  display:inline-block;
  font-size:.75rem;
  font-weight:700;
  padding:.25rem .7rem;
  border-radius:var(--r-sm);
  background:var(--brand-gold);
  color:#fff;
  border:1px solid var(--brand-navy);
}
.badge-navy{background:var(--brand-navy);color:#fff;border-color:var(--brand-navy)}

/* ============================================================
   19. DIVIDER WITH TEXT */
.divider{
  display:flex;
  align-items:center;
  gap:1rem;
  margin:2rem 0;
  color:var(--text-muted);
  font-size:.85rem;
}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:var(--border-light)}

/* ============================================================
   20. ANIMATIONS */
@keyframes riseIn{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:translateY(0)}
}
.animate-rise{animation:riseIn .5s var(--ease) both}
.animate-rise-1{animation-delay:.05s}
.animate-rise-2{animation-delay:.10s}
.animate-rise-3{animation-delay:.15s}
.animate-rise-4{animation-delay:.20s}
.animate-rise-5{animation-delay:.25s}
.animate-rise-6{animation-delay:.30s}

/* hover micro-interaction */
.hover-lift{transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
.hover-lift:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}

/* ============================================================
   21. UTILITY CLASSES */
.hidden{display:none!important}
.sr-only{
  position:absolute;width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0
}
.text-center{text-align:center}
.text-left{text-align:left}
.text-right{text-align:right}
.text-muted{color:var(--text-muted)}
.text-gold{color:var(--brand-gold)}
.text-navy{color:var(--brand-navy)}
.fw-600{font-weight:600}
.fw-700{font-weight:700}
.mt-1{margin-top:.5rem}
.mt-2{margin-top:1rem}
.mt-3{margin-top:1.5rem}
.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}
.mb-2{margin-bottom:1rem}
.mb-3{margin-bottom:1.5rem}
.mb-4{margin-bottom:2rem}
.mx-auto{margin-inline:auto}
.d-block{display:block}
.d-flex{display:flex}
.d-grid{display:grid}
.gap-1{gap:.5rem}
.gap-2{gap:1rem}
.gap-3{gap:1.5rem}
.wrap{flex-wrap:wrap}
.justify-center{justify-content:center}
.items-center{align-items:center}
.w-full{width:100%}
.overflow-hidden{overflow:hidden}
.relative{position:relative}

/* ============================================================
   22. RESPONSIVE BREAKPOINTS (mobile-first)
   ============================================================ */
@media(min-width:640px){
  .stats{justify-content:center}
}
@media(min-width:768px){
  .hero h1{max-width:820px}
}
@media(min-width:900px){
  .card-body{padding:1.5rem}
  .search{max-width:520px}
}
@media(max-width:767px){
  .hero-actions{flex-direction:column;align-items:center}
  .hero-actions .btn{width:100%;max-width:300px}
  .toc{padding:1.25rem 1rem}
  .stat-grid{grid-template-columns:1fr}
  .share-buttons{flex-direction:column;align-items:stretch}
  .share-btn{justify-content:center}
  .footer-inner{grid-template-columns:1fr}
}

/* ============================================================
   23. PRINT STYLES
   ============================================================ */
@media print{
  .topbar,.navbar,.back-to-top,.share-section,.cta-section,.cta-banner,.footer{display:none!important}
  body{background:#fff;color:#000}
  .hero{background:#fff;color:#000;padding:1rem 0}
  .hero h1{color:#000;font-size:1.5rem}
  a{color:#000;text-decoration:underline}
  .callout-box,.tip-box,.warning-box,.script-box,.pullquote{break-inside:avoid}
}

/* ============================================================ END */
