/* KingFisher Academy demo pass. Shared by every page.
   DNA: header=ribbon-sash; navIndicator=surface-step; hero=object-collage; row2=pull-quote-answer;
   composition=featured-plus-grid; faq=own-page; footer=cta-help-main; prefooter=estimate-banner;
   material=duotone; type=slab-friendly; feature=day-aware; motion=diorama */

:root {
  --blue: #095aa5;          /* kingfisher back, straight from kf-symbol.svg */
  --blue-deep: #07467f;
  --blue-step: #2a73b6;
  --navy: #0d1f35;          /* the site's dark band navy */
  --orange: #fe9a16;        /* kingfisher breast and beak */
  --orange-ink: #a64b08;    /* orange text on paper, 5.6:1 */
  --maroon: #7d0729;        /* eye and feet */
  --paper: #fbf5ea;         /* the watercolor covers' own paper */
  --paper-2: #f3e9d6;
  --paper-3: #ead9bb;
  --card: #fffcf6;
  --ink: #1a2232;
  --slate: #44566c;
  --line: #e2d5bd;
  --line-cool: #d6e0ec;
  --duo-light: #f5d29b;
  --display: "Zilla Slab", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --r: 12px;
  --r-sm: 8px;
  --head-full: 156px;       /* top bar + sash, set again in JS from the real height */
  --topbar: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 128px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  padding-top: var(--head-full);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; text-wrap: balance; margin: 0; color: var(--navy); }
h1 { font-size: clamp(44px, 5.2vw, 72px); letter-spacing: -0.01em; }
h2 { font-size: clamp(36px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.tnum { font-variant-numeric: tabular-nums; }
.accent { color: var(--orange-ink); font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.label { font: 600 13px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .3s ease-out, background-color .3s ease-out, color .3s ease-out, border-color .3s ease-out;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--navy); box-shadow: 0 4px 0 #c46f04; }
.btn-orange:hover { background: #ffab3d; }
.btn-blue { background: var(--blue); color: #fffcf6; box-shadow: 0 4px 0 var(--blue-deep); }
.btn-blue:hover { background: var(--blue-step); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 15px; }
.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
}
.btn-shimmer:hover::after { transform: translateX(120%); transition: transform .8s ease-out; }

/* ---------- Header: ribbon sash with a hanging badge ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .4s ease-out; }
.site-head.is-tucked { transform: translateY(calc(var(--topbar) * -1)); }
.topbar { height: var(--topbar); background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 14px; }
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-left: 108px; }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--blue); }
.topbar .notice { display: flex; align-items: center; gap: 8px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .notice i { color: var(--orange-ink); }
.topbar .notice strong { font-weight: 700; }
.topbar .links { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.wmg-tag { font-size: 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--slate) !important; }
.sash-row { position: relative; padding: 12px 0 16px; }
.sash {
  position: relative; height: 72px; display: flex; align-items: center; gap: 24px; padding: 0 40px 0 132px;
  background: var(--blue); color: #fffcf6;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%, 22px 50%);
  box-shadow: inset 0 -6px 0 var(--blue-deep);
}
.sash::before, .sash::after { /* stitched edges */
  content: ""; position: absolute; left: 28px; right: 28px; height: 0;
  border-top: 2px dashed rgba(255, 252, 246, .4);
}
.sash::before { top: 7px; }
.sash::after { bottom: 13px; }
.wordmark { font: 700 26px/1 var(--display); color: #fffcf6; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--orange); }
.nav { margin-left: auto; display: flex; align-items: stretch; height: 100%; }
.nav a {
  position: relative; display: flex; align-items: center; padding: 0 18px; height: 100%;
  color: #fffcf6; text-decoration: none; font-weight: 500; font-size: 16px;
  transition: background-color .3s ease-out;
}
.nav a:hover { background: rgba(255, 252, 246, .07); box-shadow: inset 0 1px 0 rgba(255, 252, 246, .22); }
.nav a[aria-current="page"] { background: rgba(255, 252, 246, .14); box-shadow: inset 0 1px 0 rgba(255, 252, 246, .45); font-weight: 700; }
.badge {
  position: absolute; left: 28px; top: calc(var(--topbar) * -1 + 6px); z-index: 2;
  width: 96px; height: 116px; display: grid; place-items: end center;
  transition: transform .4s ease-out; transform-origin: 50% 100%;
}
.badge img {
  width: auto; height: 108px;
  filter: drop-shadow(2px 0 0 var(--paper)) drop-shadow(-2px 0 0 var(--paper)) drop-shadow(0 2px 0 var(--paper)) drop-shadow(0 -2px 0 var(--paper)) drop-shadow(0 6px 8px rgba(13, 31, 53, .3));
}
.site-head.is-tucked .badge { transform: translateY(-4px) scale(.78); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fffcf6; font-size: 24px; width: 48px; height: 48px; cursor: pointer; }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 16px; }

/* Bottom bar on phones */
.bottom-bar { display: none; }

/* ---------- Hero: object collage, diorama ---------- */
.hero { position: relative; padding: 40px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.hero-copy { padding-top: 32px; }
.hero-copy h1 { margin-top: 8px; }
.hero-copy .lede { margin-top: 24px; font-size: 21px; max-width: 40ch; color: var(--slate); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-note { margin-top: 20px; font-size: 15px; color: var(--slate); }
.collage { position: relative; aspect-ratio: 1 / 0.92; }
.plane { position: absolute; inset: 0; will-change: transform; transition: transform .6s ease-out; }
.frame {
  position: absolute; margin: 0; padding: 8px 8px 0; background: var(--card); border-radius: 4px;
  box-shadow: 0 1px 0 var(--line), 0 18px 36px -12px rgba(13, 31, 53, .35);
}
.frame img { border-radius: 2px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.frame figcaption { font: 600 italic 15px/1.2 var(--display); color: var(--slate); padding: 8px 4px 12px; }
.f1 { width: 64%; left: 0; top: 4%; transform: rotate(-4deg); }
.f2 { width: 58%; right: 0; top: 0; transform: rotate(3deg); }
.f3 { width: 60%; left: 10%; bottom: 2%; transform: rotate(2deg); }
.f4 { width: 46%; right: 2%; bottom: 14%; transform: rotate(-3deg); }
.today {
  position: absolute; right: 4%; top: 42%; width: 52%; z-index: 3;
  background: var(--navy); color: #fffcf6; border-radius: var(--r); padding: 20px 24px 24px;
  box-shadow: 0 24px 48px -16px rgba(13, 31, 53, .55);
}
.today .label { color: var(--orange); }
.today h3 { color: #fffcf6; margin-top: 8px; font-size: 26px; }
.today p { margin-top: 8px; font-size: 15px; color: rgba(255, 252, 246, .78); }
.today a { color: var(--orange); font-weight: 700; text-decoration: none; display: inline-block; margin-top: 12px; }
.today a:hover { text-decoration: underline; }
.seal {
  position: absolute; left: 2%; bottom: 26%; width: 112px; height: 112px; z-index: 4;
  border-radius: 50%; background: var(--maroon); display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--paper), 0 12px 24px -8px rgba(13, 31, 53, .45);
}
.seal svg { position: absolute; inset: 0; animation: spin 45s linear infinite; }
.seal img { width: 40px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Row 2: pull-quote answer ---------- */
.answer { padding: 24px 0 96px; }
.answer .wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.answer blockquote {
  margin: 0; padding: 4px 0 4px 32px; border-left: 6px solid var(--blue);
  font: 500 clamp(24px, 2.4vw, 32px)/1.4 var(--display); color: var(--navy);
}
.answer blockquote strong { color: var(--blue); font-weight: 700; }
.worked-with h2 { font-size: 15px; font-family: var(--body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.logos { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 28px; align-items: center; }
.logos img { max-height: 44px; width: auto; filter: grayscale(1) sepia(.35); opacity: .75; transition: opacity .3s ease-out, filter .3s ease-out; }
.logos img:hover { filter: none; opacity: 1; }
.flag { margin-top: 16px; font-size: 13px; color: var(--slate); }

/* ---------- Featured plus grid ---------- */
.band { padding: 112px 0; }
.band-white { background: var(--card); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head p { max-width: 46ch; color: var(--slate); }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ccard {
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r);
  border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .3s ease-out, box-shadow .3s ease-out;
}
.band-white .ccard { background: var(--paper); }
.ccard:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(13, 31, 53, .4); }
.ccard .art { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.ccard .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease-out; }
.ccard:hover .art img { transform: scale(1.04); }
.ccard .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ccard h3 { font-size: 24px; }
.ccard p { font-size: 16px; color: var(--slate); }
.meta { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--slate); }
.meta i { color: var(--blue); margin-right: 4px; }
.chip { display: inline-flex; align-self: flex-start; padding: 4px 12px; border-radius: 999px; font: 700 12px/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.chip-Leadership { background: #dfeaf6; color: var(--blue-deep); }
.chip-Management { background: #f3dfe4; color: var(--maroon); }
.chip-Communication { background: #dcefe9; color: #0e6458; }
.chip-Productivity { background: #fbe6c8; color: var(--orange-ink); }
.ccard.featured { grid-column: span 2; display: grid; grid-template-columns: 1.15fr 1fr; }
.ccard.featured .art { aspect-ratio: auto; height: 100%; min-height: 320px; }
.ccard.featured .body { padding: 32px; justify-content: center; }
.ccard.featured h3 { font-size: clamp(30px, 3vw, 40px); }
.ccard.featured p { font-size: 18px; }
.ribbon {
  position: absolute; top: 20px; left: -4px; z-index: 2; padding: 8px 20px 8px 16px; background: var(--maroon); color: #fffcf6;
  font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
}
.see-all { margin-top: 48px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Duotone band ---------- */
.duo { position: relative; background: var(--duo-light); overflow: hidden; isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: multiply; }
.duo::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: lighten; pointer-events: none; }
.rooms { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--navy); color: #fffcf6; }
.rooms .duo { min-height: 560px; }
.rooms .rooms-copy { padding: 96px 64px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.rooms h2 { color: #fffcf6; }
.rooms p { color: rgba(255, 252, 246, .82); max-width: 44ch; }
.rooms .quote { margin: 16px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 252, 246, .2); font: 500 italic 24px/1.4 var(--display); color: #fffcf6; }
.rooms .quote cite { display: block; margin-top: 12px; font: 400 normal 15px/1.4 var(--body); color: var(--orange); }

/* ---------- Rank ladder (signature) ---------- */
.ladder-band { padding: 112px 0 128px; position: relative; }
.ladder-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.ladder-head p { color: var(--slate); }
.branch { position: relative; padding: 72px 0 0; }
.branch-line {
  position: absolute; left: 0; right: 0; top: 112px; height: 12px; border-radius: 999px;
  background: linear-gradient(180deg, #8a5a3a, #6d4429); box-shadow: 0 2px 0 #4f2f1b;
}
.rungs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; position: relative; }
.rung { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.rung .knot { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 4px solid #6d4429; margin-top: 30px; position: relative; z-index: 1; }
.rung.on .knot { background: var(--orange); border-color: var(--maroon); }
.rung .hrs { font: 700 22px/1 var(--display); color: var(--navy); }
.rung .hrs small { font: 500 13px var(--body); color: var(--slate); }
.rung .name { font-size: 15px; line-height: 1.3; color: var(--slate); max-width: 12ch; }
.perch {
  position: absolute; top: 0; left: 0; width: 64px; z-index: 2; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.ladder-try { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 24px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.ladder-try p { flex: 1 1 320px; color: var(--slate); font-size: 16px; }
.ladder-try output { font: 700 22px/1.2 var(--display); color: var(--navy); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font: 500 14px var(--body); color: var(--ink); cursor: pointer; transition: background-color .3s ease-out, border-color .3s ease-out;
}
.pick button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fffcf6; }

/* ---------- Pre-footer: first month banner ---------- */
.first-month { position: relative; z-index: 2; margin-bottom: -72px; }
.first-month .card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  background: var(--orange); color: var(--navy); border-radius: 20px; padding: 36px 48px;
  box-shadow: 0 8px 0 #c46f04, 0 30px 60px -20px rgba(13, 31, 53, .45);
}
.first-month .big { font: 700 clamp(48px, 5vw, 72px)/1 var(--display); }
.first-month h2 { font-size: clamp(28px, 2.6vw, 36px); }
.first-month p { margin-top: 8px; font-size: 17px; }
.first-month .btn-blue { background: var(--navy); box-shadow: 0 4px 0 #000c1c; }

/* ---------- Footer: action, help line, main ---------- */
.foot { background: var(--navy); color: rgba(255, 252, 246, .82); }
.foot-action { position: relative; overflow: hidden; padding: 152px 0 80px; }
.foot-action .duo { position: absolute; inset: 0; opacity: .35; }
.foot-action .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.foot-action h2 { color: #fffcf6; }
.foot-action p { margin-top: 16px; max-width: 48ch; }
.foot-help { background: var(--maroon); color: #fffcf6; font-size: 16px; }
.foot-help .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding: 16px 0; }
.foot-help a { color: #fffcf6; font-weight: 700; }
.foot-main { padding: 72px 0 40px; }
.foot-main .wrap { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; }
.foot-brand { display: flex; flex-direction: column; gap: 20px; }
.foot-brand img { width: 88px; }
.foot-brand .tag { font: 600 32px/1.15 var(--display); color: #fffcf6; max-width: 14ch; }
.foot-brand .tag span { color: var(--orange); font-style: italic; }
.foot h3 { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot a { color: rgba(255, 252, 246, .88); text-decoration: none; }
.foot a:hover { color: #fffcf6; text-decoration: underline; }
.socials { display: flex; gap: 12px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 252, 246, .1); font-size: 18px; }
.socials a:hover { background: var(--blue); text-decoration: none; }
.foot-strip { border-top: 1px solid rgba(255, 252, 246, .14); }
.foot-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 20px 0 24px; font-size: 14px; color: rgba(255, 252, 246, .62); }
.foot-strip a { color: rgba(255, 252, 246, .8); }

/* ---------- Interior page heads ---------- */
.page-head { padding: 48px 0 64px; position: relative; }
.page-head .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.page-head p { font-size: 20px; color: var(--slate); max-width: 40ch; }
.page-head h1 { font-size: clamp(44px, 5.4vw, 72px); }

/* Catalog filters */
.filters { position: sticky; top: 104px; z-index: 5; background: rgba(251, 245, 234, .94); backdrop-filter: blur(8px); border-block: 1px solid var(--line); }
.filters .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px 0; }
.filters input {
  flex: 1 1 260px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font: 400 17px var(--body); color: var(--ink);
}
.filters .count { font-size: 15px; color: var(--slate); }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 48px 0 0; }
.ccard details { font-size: 15px; color: var(--slate); }
.ccard summary { cursor: pointer; color: var(--blue); font-weight: 600; list-style: none; }
.ccard summary::-webkit-details-marker { display: none; }
.ccard summary::before { content: "+ "; }
.ccard details[open] summary::before { content: "- "; }
.ccard details p { margin-top: 8px; font-size: 15px; }
.tokens-tag { color: var(--orange-ink); font-weight: 700; }
.empty { display: none; padding: 48px 0; text-align: center; color: var(--slate); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: stretch; }
.plan { position: relative; border-radius: 20px; padding: 48px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.plan.main { background: var(--blue); color: #fffcf6; border: 0; box-shadow: inset 0 -8px 0 var(--blue-deep); }
.plan.main h2, .plan.main h3 { color: #fffcf6; }
.plan .price { font: 700 clamp(56px, 6vw, 80px)/1 var(--display); }
.plan .price small { font: 500 20px var(--body); opacity: .8; }
.plan .strike { text-decoration: line-through; opacity: .7; font-size: .6em; margin-left: 8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li i { color: var(--orange); }
.plan .fine { font-size: 15px; opacity: .85; }
.plan.main .btn { align-self: flex-start; }
.token-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.token-table th, .token-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.token-table td:last-child, .token-table th:last-child { text-align: right; }
.honest { margin-top: 32px; padding: 24px 28px; border-left: 6px solid var(--orange); background: var(--card); border-radius: 0 var(--r) var(--r) 0; font: 500 21px/1.45 var(--display); color: var(--navy); }

/* Q&A, its own page section */
.qa { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.qa nav { position: sticky; top: 128px; }
.qa nav ol { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.qa nav a { color: var(--ink); text-decoration: none; }
.qa nav a:hover { color: var(--blue); text-decoration: underline; }
.qa-group + .qa-group { margin-top: 56px; }
.qa-group h3 { font-size: 30px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.qa-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.qa-item h4 { font: 600 22px/1.3 var(--display); color: var(--navy); }
.qa-item p { margin-top: 8px; color: var(--slate); max-width: 64ch; }

/* ================== App shell ================== */
.app-body { background: #f6f1e6; }
.app-main { padding: 40px 0 120px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--navy); display: grid; place-items: center; font: 700 17px var(--display); }
.demo-note { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--maroon); font-weight: 600; }
.greet { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.greet h1 { font-size: clamp(40px, 4.6vw, 60px); }
.greet .sub { margin-top: 8px; font-size: 19px; color: var(--slate); }
.rank-pin { display: flex; align-items: center; gap: 16px; padding: 12px 20px 12px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.rank-pin .disc { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; box-shadow: inset 0 0 0 3px var(--orange); }
.rank-pin .disc img { width: 26px; margin-left: 4px; }
.rank-pin b { display: block; font: 700 19px/1.2 var(--display); color: var(--navy); }
.rank-pin span { font-size: 14px; color: var(--slate); }

.dash-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; margin-top: 40px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.panel h2 { font-size: 28px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-head a { font-size: 15px; font-weight: 600; text-decoration: none; }
.panel-head a:hover { text-decoration: underline; }

.resume { display: grid; grid-template-columns: 1fr; padding: 0; overflow: hidden; }
.resume .art { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.resume .art img { width: 100%; height: 100%; object-fit: cover; }
.resume .art .chip { position: absolute; left: 20px; top: 20px; }
.resume .copy { padding: 28px 32px 32px; display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: end; }
.resume h2 { font-size: clamp(30px, 3vw, 40px); }
.resume .where { margin-top: 8px; color: var(--slate); font-size: 16px; }
.track { grid-column: 1 / -1; position: relative; height: 12px; border-radius: 999px; background: var(--paper-3); margin-top: 8px; }
.track .fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--blue-step)); transform-origin: left; }
.track .beak { position: absolute; top: 50%; width: 28px; height: 12px; transform: translate(-4px, -50%); }
.track-label { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 14px; color: var(--slate); }
.also { display: flex; gap: 16px; align-items: center; padding: 16px 32px; border-top: 1px solid var(--line); font-size: 16px; }
.also img { width: 96px; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.also .grow { flex: 1; }
.also b { display: block; font-family: var(--display); font-size: 19px; color: var(--navy); }
.mini-track { height: 6px; border-radius: 999px; background: var(--paper-3); margin-top: 8px; overflow: hidden; }
.mini-track div { height: 100%; background: var(--blue); border-radius: 999px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; }
.stat { padding: 24px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .n { font: 700 48px/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 8px; font-size: 15px; color: var(--slate); }

.cats { display: grid; gap: 20px; }
.cat { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.cat b { font: 600 20px/1.2 var(--display); color: var(--navy); }
.cat .r { font-size: 14px; color: var(--slate); text-align: right; }
.cat .bar { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: var(--paper-3); position: relative; overflow: hidden; margin-top: 4px; }
.cat .bar div { position: absolute; inset: 0 auto 0 0; border-radius: 999px; }
.cat .next { grid-column: 1 / -1; font-size: 14px; color: var(--slate); }
.cat-Leadership .bar div { background: var(--blue); }
.cat-Management .bar div { background: var(--maroon); }
.cat-Communication .bar div { background: #0e7c70; }
.cat-Productivity .bar div { background: var(--orange); }

.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px 24px 20px;
  box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 7px var(--paper-3);
  display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center;
}
.cert .of { font: 600 italic 14px/1 var(--display); color: var(--slate); }
.cert h3 { font-size: 21px; }
.cert .when { font-size: 14px; color: var(--slate); }
.cert .wax { width: 52px; height: 52px; border-radius: 50%; background: var(--maroon); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--maroon); }
.cert .wax img { width: 22px; margin-left: 3px; }
.cert .acts { margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cert .acts a { font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); background: var(--card); }
.cert .acts a:hover { border-color: var(--blue); }
.cert .acts .li { background: #0a66c2; color: #fffcf6; border-color: #0a66c2; }
.cert .id { font-size: 12px; color: var(--slate); font-variant-numeric: tabular-nums; }

.recs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recs .ccard h3 { font-size: 21px; }
.explore { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.explore a { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: 16px; text-decoration: none; color: inherit; background: var(--navy); color: #fffcf6; transition: transform .3s ease-out; }
.explore a:nth-child(2) { background: var(--blue); }
.explore a:hover { transform: translateY(-3px); }
.explore i { font-size: 24px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 252, 246, .12); color: var(--orange); flex: none; }
.explore b { display: block; font: 600 24px/1.2 var(--display); }
.explore span { font-size: 15px; opacity: .8; }

/* Progress page ladders */
.cat-ladder { padding: 28px 28px 32px; }
.cat-ladder + .cat-ladder { margin-top: 20px; }
.cat-ladder .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.cat-ladder .top b { font: 600 28px/1.1 var(--display); color: var(--navy); }
.cat-ladder .top span { color: var(--slate); font-size: 16px; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.steps li { position: relative; padding-top: 20px; font-size: 13px; line-height: 1.3; color: var(--slate); }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; border-radius: 3px; background: var(--paper-3); }
.steps li.on::before { background: var(--c, var(--blue)); }
.steps li.here { color: var(--navy); font-weight: 700; }
.steps li.here::after { content: ""; position: absolute; top: -10px; left: 50%; width: 0; height: 0; border: 6px solid transparent; border-top-color: var(--maroon); transform: translateX(-50%); }
.steps small { display: block; font-variant-numeric: tabular-nums; }
.rewards-empty { padding: 28px; border-radius: 16px; border: 2px dashed var(--line); text-align: center; color: var(--slate); }

/* Account */
.acct { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.acct nav { position: sticky; top: 128px; display: grid; gap: 4px; }
.acct nav a { padding: 10px 16px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
.acct nav a:hover { background: var(--card); }
.acct section + section { margin-top: 24px; }
.field { display: grid; gap: 8px; margin-top: 16px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select { min-height: 48px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); font: 400 17px var(--body); color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.toggle-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.toggle-row b { display: block; font-size: 17px; }
.toggle-row span { font-size: 15px; color: var(--slate); }
.switch { position: relative; width: 56px; height: 32px; border-radius: 999px; border: 0; background: var(--paper-3); cursor: pointer; transition: background-color .3s ease-out; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(13, 31, 53, .3); transition: transform .3s ease-out; }
.switch[aria-checked="true"] { background: var(--blue); }
.switch[aria-checked="true"]::after { transform: translateX(24px); }
.member { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 12px; background: var(--blue); color: #fffcf6; }
.member b { font: 600 24px/1.2 var(--display); }
.member span { display: block; font-size: 15px; opacity: .85; }
.ledger { width: 100%; border-collapse: collapse; margin-top: 16px; font-variant-numeric: tabular-nums; font-size: 16px; }
.ledger td, .ledger th { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.ledger td:last-child, .ledger th:last-child { text-align: right; }

/* ---------- Motion (the Bow on Top) ---------- */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js .rise.in { opacity: 1; transform: none; }
.js .hero-copy > * { opacity: 0; transform: translateY(24px); animation: up .6s ease-out forwards; }
.js .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: .2s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .35s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .5s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .6s; }
.js .collage .frame, .js .collage .today, .js .collage .seal { opacity: 0; animation: drop .7s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.js .collage .f1 { animation-delay: .3s; }
.js .collage .f2 { animation-delay: .45s; }
.js .collage .f3 { animation-delay: .6s; }
.js .collage .f4 { animation-delay: .75s; }
.js .collage .today { animation-delay: 1s; }
.js .collage .seal { animation-delay: 1.2s; }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; translate: 0 -32px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
.js .grow-x { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.js .grow-x.in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise, .js .hero-copy > *, .js .collage .frame, .js .collage .today, .js .collage .seal { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; }
  .js .grow-x { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 0 12px; font-size: 15px; }
  .nav-actions .btn-line { display: none; }
  .fgrid, .cgrid { grid-template-columns: repeat(2, 1fr); }
  .ccard.featured { grid-template-columns: 1fr; }
  .ccard.featured .art { aspect-ratio: 16 / 9; min-height: 0; }
  .certs, .recs { grid-template-columns: repeat(2, 1fr); }
  .foot-main .wrap { grid-template-columns: 1fr 1fr; }
  .rooms { grid-template-columns: 1fr; }
  .rooms .duo { min-height: 380px; }
  .rooms .rooms-copy { padding: 64px 40px; }
}
@media (max-width: 900px) {
  :root { --head-full: 132px; }
  .badge { width: 80px; height: 100px; }
  .badge img { height: 92px; }
  .topbar .wrap { padding-left: 92px; }
  .topbar .links a:not(.wmg-tag) { display: none; }
  .sash { padding-left: 112px; height: 64px; }
  .nav, .nav-actions { display: none; }
  .menu-btn { display: block; }
  .site-head.open .nav {
    display: flex; flex-direction: column; position: fixed; left: 16px; right: 16px; top: calc(var(--head-full) - 8px);
    height: auto; background: var(--blue); border-radius: 12px; padding: 8px; box-shadow: 0 20px 40px rgba(13, 31, 53, .35);
  }
  .site-head.open .nav a { height: 52px; border-radius: 8px; }
  .hero .wrap, .answer .wrap, .page-head .wrap, .ladder-head, .dash-grid, .plans, .qa, .acct, .foot-action .wrap, .greet { grid-template-columns: 1fr; }
  .collage { max-width: 600px; }
  .qa nav, .acct nav { position: static; }
  .rungs { grid-template-columns: repeat(5, 1fr); row-gap: 32px; }
  .branch-line { display: none; }
  .rung .knot { margin-top: 0; }
  .perch { display: none; }
  .first-month .card { grid-template-columns: 1fr; gap: 16px; padding: 32px; }
  .steps { grid-template-columns: repeat(5, 1fr); row-gap: 16px; }
  .bottom-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--navy); padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  }
  .bottom-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; color: #fffcf6; text-decoration: none; font-size: 13px; font-weight: 600; border-radius: 8px; }
  .bottom-bar a i { font-size: 18px; color: var(--orange); }
  .bottom-bar a.main { background: var(--orange); color: var(--navy); }
  .bottom-bar a.main i { color: var(--navy); }
  body { padding-bottom: 72px; }
  .filters { top: 88px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .topbar .notice span.long { display: none; }
  .wordmark { font-size: 21px; }
  .band { padding: 80px 0; }
  .fgrid, .cgrid, .certs, .recs, .explore, .two, .stats { grid-template-columns: 1fr; }
  .ccard.featured { grid-column: auto; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: start; }
  .answer blockquote { padding-left: 20px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .today { position: relative; right: auto; top: auto; width: 100%; margin-top: 16px; }
  .collage { aspect-ratio: auto; }
  .plane { position: relative; inset: auto; }
  .plane.back { height: 320px; }
  .plane.front { position: relative; }
  .seal { width: 88px; height: 88px; left: auto; right: 8px; bottom: auto; top: 200px; }
  .plan { padding: 32px 24px; }
  .resume .copy { grid-template-columns: 1fr; padding: 24px; }
  .also { padding: 16px 24px; }
  .also img { width: 72px; }
  .foot-main .wrap { grid-template-columns: 1fr; }
  .rooms .rooms-copy { padding: 56px 24px; }
  .rungs, .steps { grid-template-columns: repeat(2, 1fr); }
  .toggle-row { grid-template-columns: 1fr; }
  .first-month .card { padding: 28px 24px; }
}

.stats-sm .stat { padding: 20px; }
.stats-sm .n { font-size: 36px; }
.stats-sm .l { font-size: 14px; }
@media (max-width: 640px) { .stats-sm { grid-template-columns: repeat(3, 1fr); } .stats-sm .stat + .stat { border-top: 0; border-left: 1px solid var(--line); } .stats-sm .stat { padding: 16px 12px; } .stats-sm .n { font-size: 28px; } }

/* Phone fixes from the Bow on Top's check */
@media (max-width: 640px) {
  :root { --head-full: 120px; }
  .topbar .wrap { padding-left: 68px; }
  .topbar .wmg-tag { display: none; }
  .badge { width: 60px; height: 84px; }
  .badge img { height: 76px; }
  .sash { padding: 0 20px 0 88px; height: 60px; gap: 8px; }
  .wordmark { font-size: 19px; }
  .menu-btn { width: 40px; height: 40px; }
  .plane.back { height: 250px; }
  .collage .f3, .collage .f4 { display: none; }
  .seal { top: 168px; right: 4px; }
  .also img { display: none; }
  .also { flex-wrap: wrap; }
}
@media (max-width: 900px) { .badge { left: 20px; } }
@media (max-width: 640px) { .badge { left: 16px; } }
