:root{
  /* DIFFERENT PALETTE: navy + sage + sand */
  --bg:#f3efe7;           /* soft sand */
  --paper:#fffdf9;        /* warm white */
  --tint:#f5f8f6;         /* very light sage */
  --ink:#111827;          /* near-black */
  --muted:#44525a;        /* slate */

  --navy:#20324a;         /* primary */
  --sage:#2f6f5f;         /* secondary */
  --clay:#a4582a;         /* accent */

  --border: rgba(17,24,39,.10);
  --soft: rgba(17,24,39,.07);
  --shadow: 0 18px 42px rgba(0,0,0,.08);
  --shadow2: 0 10px 22px rgba(0,0,0,.06);

  --r:18px;
  --r2:22px;
  --max:1140px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px; border-radius:12px;
  background:#111827; color:#fff; z-index:999;
}

/* Top bar */
.top{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243,239,231,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--soft);
}

.top__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}

.brand{display:flex;align-items:center;gap:12px}
.brand__dot{
  width:14px;height:14px;border-radius:6px;
  background: linear-gradient(90deg, var(--navy), #2b4563);
  box-shadow: 0 0 0 6px rgba(32,50,74,.14);
}
.brand__name{font-weight:950;letter-spacing:-.2px}
.brand__sub{font-size:12px;color:var(--muted);margin-top:2px}

/* Nav */
.nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.nav a{
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.55);
  border: 1px solid transparent;
}
.nav a:hover{border-color:var(--soft); background: rgba(255,255,255,.80)}
.nav__cta{
  font-weight:900;
  background: rgba(47,111,95,.10) !important;
  border-color: rgba(47,111,95,.18) !important;
  color: var(--sage);
}

/* Mobile menu */
.menuBtn{
  display:none;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.85);
  cursor:pointer;
  font-weight:900;
}
.menuBtn__icon{
  width:18px;height:12px;position:relative;display:inline-block;
}
.menuBtn__icon::before,
.menuBtn__icon::after{
  content:"";
  position:absolute;left:0;right:0;height:2px;border-radius:2px;
  background: var(--navy);
}
.menuBtn__icon::before{top:0}
.menuBtn__icon::after{bottom:0}
.menuBtn__label{font-size:14px}

@media (max-width: 860px){
  .menuBtn{display:inline-flex}
  .nav{
    width:100%;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px 0 2px;
  }
  .nav.isOpen{display:flex}
  .nav a{padding:12px 12px;background: rgba(255,255,255,.92)}
}

/* Shell */
.shell{
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 18px 80px;
}

/* Hero layout (different from your other pages) */
.hero{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
  align-items:start;
  margin-top: 14px;
}
@media (max-width: 980px){
  .hero{grid-template-columns:1fr}
}

.hero__left{
  background: var(--paper);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero__right{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.eyebrow{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:950;
  background: rgba(32,50,74,.10);
  border: 1px solid rgba(32,50,74,.18);
  color: var(--navy);
}

h1{
  margin: 12px 0 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.6px;
}
h2{
  margin:0 0 10px;
  font-size: 22px;
  letter-spacing: -0.25px;
}
h3{margin:0 0 8px;font-size:16px}

.lead{
  margin:0 0 18px;
  color: var(--muted);
  max-width: 80ch;
}

/* CTAs */
.ctaRow{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(17,24,39,.10);
}
.ctaRow--wide{margin-top:16px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 950;
  border: 1px solid rgba(17,24,39,.14);
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: var(--shadow2);
  text-decoration:none;
}
.btn:hover{background:#fff}

/* Primary = NAVY (not teal/plum) */
.btn--primary{
  background: linear-gradient(90deg, var(--navy), #2b4563);
  border-color: transparent;
  color: #fff;
}
.btn--primary:hover{
  background: linear-gradient(90deg, var(--navy), #2b4563);
  filter: brightness(.98);
  text-decoration:none;
}

/* Secondary */
.btn--ghost{
  background: transparent;
  border-color: rgba(32,50,74,.22);
  color: var(--navy);
}

/* Accent (clay) */
.btn--soft{
  background: rgba(164,88,42,.10);
  border-color: rgba(164,88,42,.22);
  color: #7a3b17;
}
.btn--full{width:100%}

/* Side cards */
.sideCard{
  background: rgba(47,111,95,.08);
  border: 1px solid rgba(47,111,95,.16);
  border-radius: var(--r2);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.sideCard__title{font-weight:950;margin-bottom:8px}
.sideCard__text{margin:0 0 12px;color:var(--muted);line-height:1.6}

/* Author card (different styling than other pages) */
.authorCard{
  background: var(--paper);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 18px;
  box-shadow: var(--shadow2);
  display:grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items:center;
}
@media (max-width: 520px){
  .authorCard{grid-template-columns:1fr}
}

.authorCard__avatar{
  width:72px;height:72px;border-radius:20px;overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow2);
  background:#fff;
}
.authorCard__avatar img{width:100%;height:100%;object-fit:cover}

.authorCard__name{font-weight:950;letter-spacing:-.2px}
.authorCard__role{font-size:13px;color:var(--muted);margin:2px 0 8px}
.authorCard__text{margin:0;color:var(--muted);line-height:1.6}

/* Pulse grid */
.pulseGrid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 900px){
  .pulseGrid{grid-template-columns:1fr}
}
.pulse{
  background: rgba(255,255,255,.70);
  border: 1px solid var(--soft);
  border-radius: 16px;
  padding: 12px 14px;
}
.pulse__k{font-weight:950;margin-bottom:4px}
.pulse__v{font-size:13px;color:var(--muted);line-height:1.5}
.pulse--warn{
  border-left: 5px solid rgba(164,88,42,.85);
}

/* Content area with sticky sidebar */
.content{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items:start;
}
@media (max-width: 980px){
  .content{grid-template-columns:1fr}
}

.content__main{min-width:0}

.content__side{
  position: sticky;
  top: 88px;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-self:start;
}
@media (max-width: 980px){
  .content__side{position:static}
}

/* Blocks */
.block{
  background: var(--paper);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 22px;
  box-shadow: var(--shadow2);
  margin-bottom: 14px;
}
.block--tint{
  background: var(--tint);
  border-color: rgba(47,111,95,.14);
}
.block--alert{
  background: rgba(164,88,42,.08);
  border-color: rgba(164,88,42,.18);
}
.block--takeaway{
  background: rgba(32,50,74,.08);
  border-color: rgba(32,50,74,.16);
}

.quote{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(32,50,74,.10);
  border: 1px solid rgba(32,50,74,.14);
  font-weight: 800;
  color: #26384f;
}

/* Tiles */
.tiles{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 900px){
  .tiles{grid-template-columns:1fr}
}
.tile{
  background: rgba(255,255,255,.70);
  border: 1px solid var(--soft);
  border-radius: 18px;
  padding: 16px;
}
.tile p{margin:0;color:var(--muted)}

/* Steps */
.steps{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 900px){
  .steps{grid-template-columns:1fr}
}
.step{
  background: rgba(255,255,255,.70);
  border: 1px solid var(--soft);
  border-radius: 18px;
  padding: 14px;
  display:grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items:start;
}
.step__n{
  width:32px;height:32px;border-radius:12px;
  display:grid;place-items:center;
  background: rgba(47,111,95,.14);
  border: 1px solid rgba(47,111,95,.18);
  color: var(--sage);
  font-weight: 950;
}
.step__b p{margin:0;color:var(--muted)}

/* CTA band */
.ctaBand{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17,24,39,.10);
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.ctaBand__sub{color:var(--muted);font-size:14px;margin-top:2px}

/* Checklist */
.checks{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.checks li{margin: 8px 0}

/* Sidebar cards */
.toc{
  background: rgba(255,255,255,.70);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 16px;
  box-shadow: var(--shadow2);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.toc__title{font-weight:950;margin-bottom:2px}
.toc a{
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.75);
}
.toc a:hover{border-color:var(--soft); background:#fff}

.sideMini{
  background: rgba(32,50,74,.08);
  border: 1px solid rgba(32,50,74,.14);
  border-radius: var(--r2);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.sideMini__title{font-weight:950;margin-bottom:10px}
.sideMini__line{
  display:flex;
  gap:10px;
  align-items:center;
  color: var(--muted);
  margin: 8px 0;
  font-size: 14px;
}
.dot{width:10px;height:10px;border-radius:999px;display:inline-block}
.dot--ok{background: rgba(47,111,95,.85)}
.dot--bad{background: rgba(164,88,42,.90)}

/* FAQ */
.faq{
  background: rgba(255,255,255,.70);
  border: 1px solid var(--soft);
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 10px;
}
.faq summary{cursor:pointer;font-weight:950}
.faq p{margin:10px 0 0;color:var(--muted)}

/* Footer */
.foot{
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(17,24,39,.10);
  color: #5f6b73;
  font-size: 13px;
}

/* Print */
@media print{
  .top, .btn, .content__side, .menuBtn { display:none !important; }
  body{background:#fff;color:#000}
}
