/* =============================================================
   MENTIBUDDY — DESIGN LANGUAGE v1
   Transferred from the Wise 2024 Annual Report (design reference).
   Grid derived from A4 595.28pt with 56.7pt side margins (9.5%).
   Body/UI face: Inter.  Display face: Archivo 900, standing in for
   the proprietary Wise Sans Heavy — swap for a licensed geometric
   heavy (Averta / Sofia Pro / Greycliff) when one is acquired.
   Load: https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Archivo:wght@700;800;900&display=swap
   ============================================================= */
/* ============================================================
   DESIGN LANGUAGE — transferred from the Wise 2024 Annual Report
   Grid: A4 595.28pt, 56.7pt side margins (9.5%), 481.9pt content.
   Type: Inter (body/titles) + Archivo 900 (display, standing in
   for the proprietary Wise Sans Heavy).
   Palette sampled from the source PDF.
   ============================================================ */
:root{
  --forest:#153304;        /* primary dark — ground and all headings */
  --forest-2:#24501A;      /* hover / secondary dark */
  --bright:#9FE870;        /* the accent. one colour, used loudly */
  --bright-2:#C6F2A9;      /* tint for secondary marks */
  --sage:#838F79;          /* muted bar — prior period / secondary */
  --grey:#F0F0F0;          /* card ground */
  --grey-2:#E4E4E4;        /* card ground, second level */
  --rule:#D8D8D8;          /* hairline */
  --body:#555454;          /* body copy */
  --body-2:#7A7979;        /* captions, de-emphasis */
  --white:#FFFFFF;

  --sans:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display:"Archivo", "Arial Black", "Helvetica Neue", Impact, sans-serif;

  --pad:clamp(20px, 9.5vw, 106px);   /* the 56.7pt page margin */
  --maxw:964px;                      /* the 481.9pt content width */
  --r:28px;                          /* card radius */
  --r-s:16px;
  color-scheme: light;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--white); color:var(--body);
  font-family:var(--sans); font-size:16px; line-height:1.5;
  font-weight:400; -webkit-font-smoothing:antialiased;
}

/* ---------- running head ---------- */
.topbar{
  position:sticky; top:0; z-index:40; background:var(--white);
  border-bottom:1px solid var(--rule);
}
.topbar-in{
  max-width:calc(var(--maxw) + 2*var(--pad)); margin:0 auto; padding:14px var(--pad);
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.tb-id{
  font-size:13px; font-weight:600; color:var(--forest); letter-spacing:0;
  text-transform:none; white-space:nowrap;
  background:var(--bright); border-radius:999px; padding:5px 14px;
}
.tb-id b{font-weight:600;}
.tb-score{
  font-size:13px; font-weight:600; color:var(--forest);
  border:none; background:transparent; padding:0; white-space:nowrap;
}
.tb-nav{display:flex; gap:2px; flex-wrap:wrap; margin-left:auto;}
.tb-nav a{
  font-size:13px; font-weight:500; letter-spacing:0; text-transform:none;
  color:var(--body); text-decoration:none; padding:4px 9px; border-radius:999px; white-space:nowrap;
}
.tb-nav a:hover{color:var(--forest); background:var(--grey);}
@media (max-width:940px){ .tb-nav{display:none} }

.wrap{max-width:calc(var(--maxw) + 2*var(--pad)); margin:0 auto; padding:0 var(--pad);}
main{padding:0 0 120px;}
.col{max-width:640px;}
.col-wide{max-width:100%;}

/* ---------- type ---------- */
h1{
  font-family:var(--display); font-weight:900; text-transform:uppercase;
  font-size:clamp(44px, 8.4vw, 116px); line-height:.85; letter-spacing:-.022em;
  margin:0 0 22px; color:var(--bright); text-wrap:balance;
}
h2{
  font-family:var(--sans); font-weight:600; color:var(--forest);
  font-size:clamp(30px, 4.2vw, 50px); line-height:1.1; letter-spacing:-.02em;
  margin:0; text-wrap:balance;
}
h3{font-family:var(--sans); font-weight:600; color:var(--forest); font-size:clamp(22px,2.4vw,30px); line-height:1.14; letter-spacing:-.015em; margin:0 0 10px;}
h4{font-family:var(--sans); font-weight:600; color:var(--forest); font-size:20px; line-height:1.2; letter-spacing:-.01em; margin:0 0 8px;}
p{margin:0 0 15px; max-width:62ch;}
a{color:var(--forest); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1.5px;}
a:hover{color:var(--forest-2);}
strong{font-weight:600; color:var(--forest);}
.lede{font-size:clamp(18px,2vw,22px); font-weight:600; color:var(--bright); line-height:1.35; max-width:34ch; letter-spacing:-.01em;}
.eyebrow{
  font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:0;
  text-transform:none; color:var(--forest); margin:0 0 12px;
}
.small{font-size:15px; color:var(--body); line-height:1.5;}
.tiny{font-family:var(--sans); font-size:13px; color:var(--body-2); line-height:1.5;}
.q{font-style:normal; color:var(--forest);}

/* ---------- sections ---------- */
section{padding:76px 0 0; border-top:none;}
section:first-of-type{padding-top:0;}
.sec-head{display:flex; flex-direction:column; align-items:flex-start; gap:18px; margin-bottom:24px;}
.sec-head .n{
  font-family:var(--sans); font-size:13px; font-weight:600; color:var(--forest);
  letter-spacing:0; border:none; background:var(--bright); border-radius:999px; padding:5px 13px; flex:none;
}
.sec-sub{color:var(--body); font-size:17px; line-height:1.5; max-width:60ch; margin:0 0 30px;}

/* ---------- the dark hero (Wise "highlights" page) ---------- */
.hero{
  background:var(--forest); color:var(--bright);
  margin:0 calc(-1 * var(--pad)); padding:56px var(--pad) 64px;
}
.hero .who{
  display:flex; align-items:center; justify-content:flex-start; gap:14px 18px; flex-wrap:wrap;
  font-size:14px; font-weight:500; color:var(--bright-2); margin:0 0 44px; letter-spacing:0;
}
.hero .whoin{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.hero .pip{width:3px;height:3px;border-radius:50%;background:var(--bright-2);opacity:.6;}
.countdown{
  display:inline-flex; align-items:baseline; gap:8px;
  font-size:13px; font-weight:600; color:var(--forest); white-space:nowrap; margin-left:auto;
  background:var(--bright); border:none; border-radius:999px; padding:6px 14px;
}
.countdown-none{background:transparent; border:1.5px dashed rgba(159,232,112,.5); color:var(--bright);}
.countdown-none a{color:var(--bright); font-weight:600;}

/* KPI row on the dark hero */
.hero-kpis{
  display:grid; gap:36px 40px; margin-top:52px;
  grid-template-columns:repeat(auto-fit, minmax(150px,1fr));
}
.kpi .v{
  font-family:var(--display); font-weight:900; color:var(--bright);
  font-size:clamp(38px,5vw,56px); line-height:.92; letter-spacing:-.02em;
}
.kpi .v s{text-decoration:none; font-size:.44em; letter-spacing:0;}
.kpi .k{font-size:16px; font-weight:600; color:var(--bright); margin-top:10px; line-height:1.3;}
.kpi .d{font-size:16px; font-weight:600; color:var(--bright); opacity:.82; margin-top:2px;}
.kpi .d.flat{opacity:.6;}

/* ---------- cards ---------- */
.panel{
  background:var(--grey); border:none; border-radius:var(--r);
  padding:34px 36px; box-shadow:none;
}
.panel-quiet{background:var(--grey); }
.panel-gap{background:var(--forest); color:var(--bright-2);}
.panel-gap h3, .panel-gap h4, .panel-gap strong, .panel-gap .eyebrow{color:var(--bright);}
.panel-gap a{color:var(--bright);}
.panel-gap p{color:var(--bright-2);}
.panel-accent{background:var(--bright); color:var(--forest);}
.panel-accent .eyebrow, .panel-accent h3, .panel-accent strong{color:var(--forest);}
.panel-accent p{color:var(--forest);}
.stack{display:flex; flex-direction:column; gap:18px;}
.panel p, .panel li, .fix-card p, .fix-card li{max-width:66ch;}
.panel h3{max-width:24ch;}
.grid2{display:grid; gap:18px;}
@media(min-width:760px){ .grid2{grid-template-columns:1fr 1fr;} }
.hr-soft{border:none; border-top:1px solid var(--rule); margin:24px 0;}
.panel-gap .hr-soft{border-color:rgba(159,232,112,.25);}
.panel-accent .hr-soft{border-color:rgba(21,51,4,.2);}

/* ---------- the KPI block with a rule above (Wise KPI page) ---------- */
.scoreblock{
  display:grid; gap:40px; align-items:start; margin-top:0;
  background:transparent; border:none; border-radius:0; padding:0; box-shadow:none;
}
@media(min-width:860px){ .scoreblock{grid-template-columns:minmax(0,1fr) minmax(0,1fr);} }
.bigscore{display:flex; flex-direction:column;}
.bigscore .v{
  font-family:var(--display); font-weight:900; color:var(--bright);
  font-size:clamp(76px,13vw,150px); line-height:.84; letter-spacing:-.035em;
}
.bigscore .v span{font-size:.32em; letter-spacing:-.01em; opacity:.72;}
.bigscore .band{font-size:22px; font-weight:600; margin-top:18px; color:var(--bright);}
.bigscore .delta{font-size:16px; font-weight:500; color:var(--bright-2); margin-top:6px;}
.bigscore .delta b{color:var(--bright); font-weight:600;}

/* score scale on the dark ground */
.scale{margin-top:30px;}
.scale-track{
  position:relative; height:26px; border-radius:999px; overflow:hidden;
  display:grid; grid-template-columns:49fr 15fr 15fr 21fr; gap:2px;
}
.scale-track i{display:block; background:rgba(159,232,112,.16);}
.scale-track i.b2{background:rgba(159,232,112,.3);}
.scale-track i.b3{background:rgba(159,232,112,.48);}
.scale-track i.b4{background:var(--bright);}
/* height must cover the labels: .mk sits at top:-26px, so the ghost label's
   box runs to about 48px below this box's origin. Reserving it here keeps the
   component self-sizing instead of relying on a margin on whatever follows. */
.scale-marks{position:relative; height:52px;}
.mk{position:absolute; top:-26px; height:26px; width:3px; background:var(--white); border-radius:2px;}
.mk.ghost{background:rgba(255,255,255,.45); width:3px;}
.mk .lab{
  position:absolute; top:32px; left:0; transform:none;
  font-size:13px; font-weight:600; white-space:nowrap; color:var(--bright);
}
.mk.ghost .lab{top:54px; left:auto; right:0; transform:none;}
.mk.ghost .lab{color:var(--bright-2); opacity:.7;}

/* ---------- Wise pill bar chart ---------- */
.caps{display:flex; flex-direction:column; gap:0; margin-top:0;}
.caprow{
  display:grid; grid-template-columns:minmax(0,1fr); gap:8px;
  align-items:start; padding:22px 0 0; border-bottom:none; border-top:2px solid var(--forest); margin-top:26px;
}
.caprow:first-child{margin-top:0;}
.caprow .nm{font-size:17px; font-weight:600; color:var(--forest); line-height:1.25;}
.caprow .nm i{display:block; font-style:normal; font-size:14px; font-weight:400; letter-spacing:0; text-transform:none; color:var(--body-2); margin-top:4px;}
.caprow .sc{
  font-family:var(--display); font-weight:900; color:var(--forest);
  font-size:clamp(34px,4.4vw,50px); line-height:1; letter-spacing:-.025em; text-align:left; min-width:0; margin:6px 0 2px;
}
.caprow .sc b{font-weight:900;}
.caprow .sc s{
  display:inline-block; text-decoration:none; font-family:var(--sans); font-size:15px;
  font-weight:600; color:var(--body); margin-left:12px; letter-spacing:0; vertical-align:middle;
}
.caprow-lvl{grid-template-columns:minmax(0,1fr); }
.caprow-lvl .sc{font-family:var(--sans); font-size:15px; font-weight:500; color:var(--body); margin:0;}

/* the bars themselves */
.bars{display:flex; flex-direction:column; gap:7px; margin-top:10px;}
.barrow{display:grid; grid-template-columns:96px minmax(0,1fr); gap:14px; align-items:center;}
.barrow .yr{font-size:14px; font-weight:500; color:#000;}
.barrow .track{position:relative; height:26px;}
.barrow .fill{
  position:absolute; left:0; top:0; bottom:0; border-radius:999px; background:var(--sage);
  display:flex; align-items:center; justify-content:flex-end; padding-right:12px;
  font-size:14px; font-weight:500; color:var(--white); min-width:44px;
}
.barrow.now .fill{background:var(--forest);}
.meter{position:relative; height:26px; background:transparent; border-radius:999px; overflow:visible;}
.meter i{position:absolute; left:0; top:0; bottom:0; background:var(--forest); border-radius:999px;}
.meter u{position:absolute; top:0; bottom:0; width:3px; background:var(--white); text-decoration:none; z-index:2;}
.meter-wrap .cap-note{font-size:14px; color:var(--body-2); margin-top:8px; letter-spacing:0;}

/* level chips */
.lvl{
  display:inline-block; font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:0;
  text-transform:none; border:none; border-radius:999px; padding:5px 13px;
  background:var(--grey-2); color:var(--body); white-space:nowrap;
}
.lvl.below{background:var(--forest); color:var(--bright);}
.lvl.at{background:var(--bright); color:var(--forest);}
.lvl.above{background:var(--bright); color:var(--forest);}

/* ---------- coverage grid ---------- */
.cover{display:flex; flex-wrap:wrap; gap:5px; margin:2px 0 0;}
.cover u{display:block; width:18px; height:18px; border-radius:6px; border:none; background:var(--grey-2); text-decoration:none;}
.cover u.on{background:var(--forest);}
.cover u.key{background:var(--bright); border:none;}
.cover-key{display:flex; gap:20px; flex-wrap:wrap; margin-top:14px; font-size:14px; font-weight:500; letter-spacing:0; color:var(--body);}
.cover-key span{display:inline-flex; align-items:center; gap:8px;}
.cover-key u{display:block; width:15px; height:15px; border-radius:5px; border:none; background:var(--grey-2); text-decoration:none;}
.cover-key u.on{background:var(--forest);}
.cover-key u.key{background:var(--bright); border:none;}

/* ---------- capability card ---------- */
.capcard{background:var(--grey); border:none; border-radius:var(--r); box-shadow:none; overflow:hidden;}
.capcard + .capcard{margin-top:20px;}
.capcard-top{
  display:grid; gap:22px; padding:34px 36px 26px; border-bottom:1px solid var(--rule); background:transparent;
}
@media(min-width:760px){ .capcard-top{grid-template-columns:minmax(0,1fr) 240px; align-items:start;} }
.capcard-top h3{font-size:clamp(24px,2.6vw,32px); margin-bottom:8px;}
.capcard-top .req{font-size:14px; font-weight:400; letter-spacing:0; color:var(--body-2); line-height:1.5;}
.capscore{text-align:left;}
@media(min-width:760px){ .capscore{text-align:right;} }
.capscore .v{font-family:var(--display); font-weight:900; color:var(--forest); font-size:clamp(44px,5.4vw,62px); line-height:.92; letter-spacing:-.03em;}
.capscore .v span{font-size:.34em; opacity:.55;}
.capscore .d{font-size:15px; font-weight:500; color:var(--body); margin-top:8px;}
.capscore .d b{color:var(--forest); font-weight:600;}
.capcard-body{padding:30px 36px 34px; display:flex; flex-direction:column; gap:28px;}
.blk h4{font-family:var(--sans); font-size:20px; font-weight:600; letter-spacing:-.01em; text-transform:none; color:var(--forest); margin:0 0 14px;}

.hits{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px;}
.hits li{position:relative; padding-left:32px; font-size:16px; line-height:1.5; color:var(--body);}
.hits li::before{
  content:""; position:absolute; left:0; top:5px; width:19px; height:19px; border-radius:50%;
  background:var(--bright) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23153304' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/13px no-repeat;
}
.misses{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:20px;}
.misses li{position:relative; padding-left:32px; font-size:16px; line-height:1.5; color:var(--body);}
.misses li::before{
  content:""; position:absolute; left:0; top:5px; width:19px; height:19px; border-radius:50%;
  background:var(--forest) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 6v8.5M12 18.4v.2' fill='none' stroke='%239FE870' stroke-width='3.2' stroke-linecap='round'/></svg>") center/13px no-repeat;
}
.misses .fix{
  display:block; margin-top:10px; font-size:16px; color:var(--forest); font-weight:500;
  background:var(--bright); border-radius:var(--r-s); padding:12px 16px;
}
.misses .fix::before{content:"Say: "; font-weight:600; color:var(--forest);}

/* ---------- transcript ---------- */
.tx{
  display:flex; flex-direction:column; gap:12px; margin:0;
  font-family:var(--sans); font-size:15px; line-height:1.5; background:var(--white);
  border:none; border-radius:var(--r-s); padding:24px 26px;
}
.panel .tx, .capcard .tx{background:var(--white);}
.tx .tr{display:grid; grid-template-columns:92px minmax(0,1fr); gap:14px; align-items:start;}
@media(max-width:620px){ .tx .tr{grid-template-columns:minmax(0,1fr); gap:2px;} }
.tx b{color:var(--body-2); font-weight:500; user-select:none; font-size:14px;}
.tx mark{background:var(--bright); color:var(--forest); padding:1px 5px; border-radius:5px; box-decoration-break:clone; font-weight:500;}
.tx em{font-style:normal; background:var(--forest); color:var(--bright); padding:1px 5px; border-radius:5px; box-decoration-break:clone; font-weight:500;}
.txnote{position:relative; padding-left:0; margin-top:16px; font-size:16px; color:var(--forest); font-weight:500; line-height:1.5;}
.txnote::before{content:""; display:none;}

/* ---------- level ladder ---------- */
.ladder{display:flex; flex-direction:column; gap:0; margin:0; padding:0; list-style:none;}
.ladder li{display:grid; grid-template-columns:150px minmax(0,1fr); gap:18px; align-items:start; padding:16px 0; border-top:1px solid var(--rule);}
.ladder li:first-child{border-top:none; padding-top:0;}
.ladder .rung{font-size:15px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--body-2); display:flex; align-items:center; gap:10px;}
.ladder .rung::before{content:""; width:12px; height:12px; border-radius:50%; border:none; background:var(--grey-2); flex:none;}
.ladder li.you .rung::before{background:var(--forest);}
.ladder li.need .rung::before{background:var(--bright);}
.ladder li.you .rung{color:var(--forest);}
.ladder li.need .rung{color:var(--forest);}
.ladder .txt{font-size:16px; color:var(--body); line-height:1.5;}
.ladder li.you .txt, .ladder li.need .txt{color:var(--forest); font-weight:500;}
.ladder .tag{display:inline-block; font-size:14px; font-weight:600; letter-spacing:0; text-transform:none; margin-left:10px; color:var(--body-2);}

/* ---------- session strip ---------- */
.chartwrap{overflow-x:auto; margin:0 -2px; padding-bottom:4px;}
.qs{display:flex; gap:8px; align-items:flex-end; margin:0; padding:0; list-style:none; overflow-x:auto;}
.qs li{flex:1 1 0; min-width:38px; display:flex; flex-direction:column; gap:8px; align-items:stretch;}
.qs .bar{position:relative; height:110px; background:var(--grey-2); border-radius:999px; display:flex; align-items:flex-end; overflow:hidden;}
.qs .bar i{display:block; width:100%; background:var(--forest); border-radius:999px;}
.qs .tag{font-size:13px; font-weight:500; color:var(--body-2); text-align:center;}
.qs .fr{font-size:14px; font-weight:600; color:var(--forest); text-align:center;}
.qs li.flag .bar{background:var(--bright);}
.marks{display:flex; gap:8px; margin:10px 0 0; padding:0; list-style:none;}
.marks li{flex:1 1 0; min-width:38px; height:18px; display:flex; justify-content:center; gap:4px; align-items:center;}
.marks .p{width:8px;height:8px;border-radius:50%;background:var(--forest);}
.marks .f{width:8px;height:8px;border-radius:2px;background:var(--sage);}

/* ---------- stat row (Wise KPI grid) ---------- */
.stats{display:grid; gap:36px 40px; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); background:transparent; border:none; border-radius:0; overflow:visible;}
.stat{background:transparent; padding:22px 0 0; border-top:2px solid var(--forest);}
.stat .k{font-size:16px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--forest); margin-bottom:10px;}
.stat .v{font-family:var(--display); font-weight:900; color:var(--forest); font-size:clamp(36px,4.4vw,50px); line-height:.95; letter-spacing:-.025em;}
.stat .v s{text-decoration:none; font-size:.36em; color:var(--body-2); font-family:var(--sans); font-weight:500;}
.stat .n{font-size:15px; color:var(--body); margin-top:12px; line-height:1.5;}
.stat .spark{display:flex; align-items:center; gap:10px; margin-top:12px; font-size:13px; color:var(--body-2);}
.stat .bar2{flex:1; height:10px; background:var(--grey-2); border-radius:999px; overflow:visible; position:relative;}
.stat .bar2 i{position:absolute; left:0; top:0; bottom:0; background:var(--forest); border-radius:999px;}
.stat .bar2 u{position:absolute; top:-3px; bottom:-3px; width:3px; background:var(--sage); text-decoration:none;}

/* ---------- fixes ---------- */
.fix-card{background:var(--grey); border:none; border-radius:var(--r); box-shadow:none; overflow:hidden;}
.fix-card + .fix-card{margin-top:20px;}
.fix-head{padding:30px 36px 24px; background:transparent; border-bottom:1px solid var(--rule); display:flex; gap:16px; align-items:baseline; flex-wrap:wrap;}
.fix-head .n{font-family:var(--sans); font-size:13px; font-weight:600; color:var(--forest); border:none; background:var(--bright); border-radius:999px; padding:5px 13px;}
.fix-head h3{margin:0; font-size:clamp(22px,2.4vw,30px); flex:1; min-width:240px;}
.fix-head .gain{font-family:var(--sans); font-size:15px; font-weight:600; color:var(--forest); letter-spacing:0;}
.fix-body{padding:30px 36px 34px; display:flex; flex-direction:column; gap:26px;}
.fb h4{font-family:var(--sans); font-size:20px; font-weight:600; letter-spacing:-.01em; text-transform:none; color:var(--forest); margin:0 0 10px;}
.fb p{margin:0; font-size:16px;}
.say{
  border-left:none; background:var(--bright); border-radius:var(--r-s);
  padding:24px 26px; font-family:var(--sans); font-weight:600; font-size:clamp(18px,2vw,23px);
  line-height:1.4; color:var(--forest); letter-spacing:-.012em;
}
.say .blank{
  font-family:var(--sans); font-size:.86em; font-weight:600; color:var(--bright);
  background:var(--forest); border-bottom:none; padding:2px 9px; border-radius:999px;
}

/* ---------- rebuild ---------- */
.rebuild{display:grid; gap:20px; border:none; border-radius:0; overflow:visible; background:transparent;}
@media(min-width:820px){ .rebuild{grid-template-columns:1fr 1fr;} }
.rebuild > div{padding:34px 36px; border-radius:var(--r);}
.rebuild .before{background:var(--grey); border-bottom:none;}
@media(min-width:820px){ .rebuild .before{border-right:none;} }
.rebuild .after{background:var(--forest);}
.rebuild .after h4, .rebuild .after strong{color:var(--bright);}
.rebuild .after p{color:var(--bright-2);}
.rebuild .after .tick li{color:var(--bright-2);}
.rebuild .after .blank{background:var(--bright); color:var(--forest);}
.rebuild h4{font-family:var(--sans); font-size:15px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--body-2); margin:0 0 16px;}
.rebuild .before h4{color:var(--body-2);}
.rebuild p{font-size:16px;}
.rebuild .after p{font-family:var(--sans); font-size:17px; line-height:1.55; font-weight:400;}
.tick{list-style:none; margin:20px 0 0; padding:0; display:flex; flex-direction:column; gap:10px;}
.tick li{position:relative; padding-left:30px; font-size:15px; color:var(--body); line-height:1.45;}
.tick li::before{
  content:""; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:50%;
  background:var(--bright) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23153304' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}

/* ---------- lists ---------- */
.notes{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:28px; counter-reset:nlist;}
.notes > li{position:relative; padding-left:0;}
.notes > li::before{
  content:counter(nlist); counter-increment:nlist; position:static; display:inline-flex;
  font-family:var(--sans); font-size:13px; font-weight:600; color:var(--forest); border:none;
  background:var(--bright); border-radius:999px; width:26px; height:26px; align-items:center;
  justify-content:center; margin-bottom:12px;
}
.notes h4{margin:0 0 8px; font-size:20px;}
.notes p{margin:0; font-size:16px; color:var(--body);}
.notes p + p{margin-top:12px;}
.panel-gap .notes > li::before{background:var(--bright); color:var(--forest);}
.panel-gap .notes h4{color:var(--bright);}
.panel-gap .notes p{color:var(--bright-2);}

.bullets{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:13px;}
.bullets li{position:relative; padding-left:22px; font-size:16px; line-height:1.5; color:var(--body);}
.bullets li::before{content:""; position:absolute; left:0; top:10px; width:7px; height:7px; border-radius:50%; background:var(--forest);}
.bullets li strong{color:var(--forest); font-weight:600;}
.panel-gap .bullets li{color:var(--bright-2);}
.panel-gap .bullets li::before{background:var(--bright);}
.panel-gap .bullets li strong{color:var(--bright);}
.panel-accent .bullets li::before{background:var(--forest);}

.kv{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0;}
.kv li{display:grid; grid-template-columns:minmax(112px,auto) minmax(0,1fr); gap:20px; align-items:start; font-size:16px; padding:16px 0; border-top:1px solid var(--rule);}
.kv li:first-child{border-top:none; padding-top:0;}
.kv .k{font-family:var(--sans); font-size:15px; font-weight:600; color:var(--forest); min-width:112px;}
.kv .t{color:var(--body); line-height:1.5;}

.chip{display:inline-block; font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:0; border:none; border-radius:999px; padding:5px 13px; background:var(--grey-2); color:var(--body); white-space:nowrap;}
.chip-a{background:var(--bright); color:var(--forest);}
.chip-g{background:var(--forest); color:var(--bright);}
.chips{display:flex; flex-wrap:wrap; gap:8px;}

/* ---------- plan ---------- */
.plan{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0;}
.plan li{display:grid; grid-template-columns:150px minmax(0,1fr); gap:24px; padding:26px 0; border-top:1px solid var(--rule); align-items:start;}
.plan li:first-child{border-top:none; padding-top:0;}
.plan .when{font-family:var(--sans); font-size:15px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--forest); line-height:1.4;}
.plan .when s{display:block; text-decoration:none; color:var(--body-2); font-weight:400; margin-top:4px;}
.plan h4{margin:0 0 8px; font-size:20px;}
.plan p{margin:0; font-size:16px; color:var(--body);}
.cta{
  display:inline-flex; align-items:center; gap:10px; margin-top:6px;
  background:var(--forest); color:var(--bright); border:none; border-radius:999px;
  font-family:var(--sans); font-weight:600; font-size:17px; padding:15px 30px;
  text-decoration:none; cursor:pointer;
}
.cta:hover{background:var(--forest-2); color:var(--bright);}
.cta-ghost{background:var(--bright); color:var(--forest);}
.cta-ghost:hover{background:var(--bright-2); color:var(--forest);}
.panel-accent .cta{background:var(--forest); color:var(--bright);}
.panel-accent .cta-ghost{background:var(--white); color:var(--forest);}

/* ---------- panel scoresheet ---------- */
.sheet{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0;}
.sheet li{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:center; padding:22px 0; border-top:1px solid var(--rule);}
.sheet li:first-child{border-top:none; padding-top:0;}
.sheet .nm{font-size:20px; font-weight:600; color:var(--forest); line-height:1.25;}
.sheet .nm s{display:block; text-decoration:none; font-size:15px; font-weight:400; color:var(--body); margin-top:6px;}
.verdict{
  font-family:var(--sans); font-size:14px; font-weight:600; letter-spacing:0; text-transform:none;
  border-radius:999px; padding:9px 20px; white-space:nowrap; border:none;
}
.verdict.met{background:var(--bright); color:var(--forest);}
.verdict.not{background:var(--forest); color:var(--bright);}

/* ---------- path bar ---------- */
.path{display:flex; flex-direction:column; gap:16px;}
.path-bar{display:flex; height:36px; border-radius:999px; overflow:hidden; gap:2px; background:var(--grey-2);}
.path-bar i{display:block; background:var(--forest);}
.path-bar i.g1{background:var(--sage);}
.path-bar i.g2{background:var(--bright);}
.path-bar i.g3{background:var(--bright-2);}
.path-bar i.rest{background:transparent;}
.path-key{display:flex; flex-wrap:wrap; gap:10px 24px; font-size:14px; font-weight:500; color:var(--body);}
.path-key span{display:inline-flex; align-items:center; gap:9px;}
.path-key u{width:14px; height:14px; border-radius:5px; text-decoration:none; display:block;}

/* ---------- act dividers & bridges ---------- */
.act{
  background:var(--forest); color:var(--bright); border-top:none;
  margin:96px calc(-1 * var(--pad)) 0; padding:64px var(--pad) 68px;
  display:grid; gap:14px;
}
.act .n{font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--forest); background:var(--bright); border-radius:999px; padding:5px 13px; justify-self:start;}
.act h2{
  font-family:var(--display); font-weight:900; text-transform:uppercase; color:var(--bright);
  font-size:clamp(38px,7vw,92px); line-height:.86; letter-spacing:-.025em;
}
.act p{margin:10px 0 0; font-size:18px; font-weight:500; color:var(--bright-2); max-width:56ch; line-height:1.45;}
.act + section{border-top:none; padding-top:64px;}

.bridge{
  position:relative; margin:0; padding:34px 0 0; max-width:56ch;
  font-family:var(--sans); font-weight:600; font-size:clamp(19px,2.1vw,25px); line-height:1.35;
  color:var(--forest); font-style:normal; letter-spacing:-.015em;
}
.bridge::before{content:""; position:absolute; top:0; left:0; width:72px; height:3px; background:var(--bright); border-radius:2px;}
.bridge b{font-style:normal; color:var(--forest); font-weight:600;}

/* ---------- footer ---------- */
footer.rep{
  background:var(--forest); color:var(--bright-2);
  margin:96px calc(-1 * var(--pad)) -120px; padding:64px var(--pad) 76px; border-top:none;
}
.flinks{display:flex; flex-wrap:wrap; gap:12px 32px; font-size:16px; font-weight:600;}
.flinks a{color:var(--bright); text-decoration:none; border-bottom:2px solid rgba(159,232,112,.35); padding-bottom:2px;}
.flinks a:hover{border-bottom-color:var(--bright); color:var(--bright);}
.fnote{font-family:var(--sans); font-size:14px; color:rgba(198,242,169,.72); line-height:1.7; margin-top:36px;}
.fnote b{color:var(--bright); font-weight:600;}
.stamp{display:block; margin-top:18px; font-family:var(--sans); font-size:18px; color:var(--bright); font-weight:600;}
footer.rep .tiny{color:rgba(198,242,169,.6);}


/* ---------- dark-ground overrides ---------- */
.hero p, .hero .small, .hero li{color:var(--bright-2);}
.hero strong, .hero b{color:var(--bright); font-weight:600;}
.hero .tiny{color:rgba(198,242,169,.62);}
.hero a{color:var(--bright);}
.hero h3, .hero h4{color:var(--bright);}
.act strong, .act b{color:var(--bright);}
.panel-gap .small, .panel-gap .tiny, .panel-gap li{color:var(--bright-2);}
.panel-gap .tiny{color:rgba(198,242,169,.62);}
.rebuild .after .small{color:var(--bright-2);}
.rebuild .after strong{color:var(--bright);}
.rebuild .after .tx{background:rgba(255,255,255,.06);}
.rebuild .after .tx b{color:rgba(198,242,169,.6);}
.rebuild .after .tx span{color:var(--bright-2);}

a:focus-visible, button:focus-visible{outline:3px solid var(--forest); outline-offset:3px;}
.act a:focus-visible, .hero a:focus-visible, footer.rep a:focus-visible{outline-color:var(--bright);}
@media (prefers-reduced-motion: reduce){ *{transition:none !important; animation:none !important;} }
