/* Empower by StreamSoft (empower.streamsoft.co.za, 1.52.0; 1.51.0 "Workforce") - on top of /css/learn.css (the shared top
   bar) and SkillVerify's /sv/home.css (hero, sections, cards, footer). Teal and white only. Never restyles the shared bar.
   The wf- class prefix is kept from 1.51.0. */

/* Alternate sections, as on Team Skills' home (ts.css) */
.sec.alt { background: #F7FAF9; }

/* Hero: the evidence record card on the right */
.wf-pack { background: rgba(255,255,255,.97); color: var(--ink); border-radius: 18px; padding: 20px 20px 16px; box-shadow: 0 40px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1); }
.wf-pack-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 6px; }
.wf-pack-head b { font-size: 1rem; }
.wf-pack-head span { font-size: .75rem; color: var(--muted); font-weight: 600; }
.wf-pack-row { display: grid; grid-template-columns: 1.2fr 1.6fr .8fr .9fr; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.wf-pack-row:last-of-type { border-bottom: 0; }
.wf-pack-row.th { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 4px 0 6px; }
.wf-pack-row b { font-weight: 600; }
.wf-pack-row em { font-style: normal; justify-self: start; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--t1); color: var(--t7); }
.wf-pack-row em.plan { background: var(--t0); color: var(--t6); box-shadow: inset 0 0 0 1px var(--t2); }
.wf-pack-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wf-pack-foot span { font-size: .74rem; font-weight: 700; color: var(--t6); background: var(--t0); border: 1px solid var(--t1); border-radius: 8px; padding: 4px 9px; }
@media (max-width: 960px) { .wf-pack { max-width: 560px; } }
@media (max-width: 480px) { .wf-pack-row { grid-template-columns: 1fr 1.4fr .9fr; } .wf-pack-row > :nth-child(3) { display: none; } }

/* The five pillars of the B-BBEE scorecard: where Workforce works (core), where Empower supports (sup), and the one it
   works around (ind - Ownership) */
.wf-pillars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.wf-pillar { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px 20px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.wf-pillar h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.wf-pillar p { margin: 0; color: var(--muted); font-size: .9rem; }
.wf-pn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; background: var(--t0); color: var(--t6); }
.wf-tag { align-self: flex-start; margin-top: auto; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #F1F5F4; color: var(--muted); }
.wf-how { border-top: 1px solid var(--line); padding-top: 10px; }
.wf-pillar.ind { background: #FAFBFB; border-style: dashed; border-color: var(--t2); }
.wf-pillar.ind .wf-tag { background: #fff; border: 1px dashed var(--t3); color: var(--t7); }
.wf-pillar.core .wf-how a { color: var(--t3); font-weight: 700; white-space: nowrap; }
.wf-pillar.sup { border: 2px solid var(--t4); }
.wf-pillar.sup .wf-tag { background: var(--t1); color: var(--t7); }
.wf-pillar.core { background: linear-gradient(180deg, var(--t7), var(--t8)); border-color: var(--t7); color: #fff; box-shadow: 0 24px 50px rgba(13,148,136,.28); transform: translateY(-8px); }
.wf-pillar.core p { color: rgba(255,255,255,.82); }
.wf-pillar.core .wf-pn { background: var(--t3); color: var(--t9); }
.wf-pillar.core .wf-tag { background: var(--t3); color: var(--t9); }
.wf-pillar.core .wf-how { border-color: rgba(255,255,255,.2); }
.wf-pillar .wf-tag + .wf-how { margin-top: 2px; }
.wf-pillar.ind .wf-tag, .wf-pillar.sup .wf-tag, .wf-pillar.core .wf-tag { margin-top: 6px; }
.wf-pillar.ind .wf-how, .wf-pillar.sup .wf-how, .wf-pillar.core .wf-how { margin-top: auto; }
@media (max-width: 1100px) { .wf-pillars { grid-template-columns: repeat(2, 1fr); } .wf-pillar.core { grid-column: 1 / -1; order: -1; transform: none; } }
@media (max-width: 640px) { .wf-pillars { grid-template-columns: 1fr; } }

/* Skills development in rand: the worked example */
.wf-target { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; margin-top: 34px; border: 1px solid var(--line); border-radius: 24px; padding: 28px 30px; background: linear-gradient(180deg, var(--t0), #fff); }
.wf-target p { margin: 10px 0 0; color: var(--ink); }
.wf-sum { margin: 0; display: grid; gap: 8px; }
.wf-sum div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.wf-sum dt { color: var(--muted); font-size: .92rem; }
.wf-sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wf-sum .tot { background: var(--t7); border-color: var(--t7); }
.wf-sum .tot dt, .wf-sum .tot dd { color: #fff; }
.wf-small { margin: 18px 0 0; color: var(--muted); font-size: .88rem; max-width: 900px; }
@media (max-width: 860px) { .wf-target { grid-template-columns: 1fr; padding: 22px 18px; } }

/* Employment Equity: the plan-to-progress flow */
.wf-ee { align-items: start; }
.wf-ee h2 { margin-top: 12px; }
.wf-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: f; }
.wf-flow li { position: relative; display: grid; gap: 2px; padding: 16px 18px 16px 62px; border: 1px solid var(--line); border-radius: 16px; background: #fff; counter-increment: f; }
.wf-flow li::before { content: counter(f); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--t6); color: #fff; font-weight: 800; }
.wf-flow li:not(:last-child)::after { content: ""; position: absolute; left: 31px; bottom: -13px; width: 2px; height: 14px; background: var(--t2); }
.wf-flow b { font-size: 1.02rem; }
.wf-flow span { color: var(--muted); font-size: .93rem; }
.wf-flow li:last-child { border: 2px solid var(--t5); }

/* The two offers */
.wf-offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.wf-offer { border: 1px solid var(--line); border-radius: 24px; padding: 32px; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.wf-offer.hot { border: 2px solid var(--t5); box-shadow: 0 24px 60px rgba(13,148,136,.14); }
.wf-offer h3 { font-size: 1.5rem; margin: 10px 0 8px; }
.wf-offer > p { color: var(--muted); margin: 0 0 6px; }
.wf-for { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--t6); }
.wf-offer .hb { margin-top: auto; }
@media (max-width: 860px) { .wf-offers { grid-template-columns: 1fr; } .wf-offer { padding: 26px 22px; } }

/* Tick lists */
.wf-ticks { list-style: none; padding: 0; margin: 14px 0 24px; display: grid; gap: 10px; }
.wf-ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.wf-ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--t1); color: var(--t7); font-size: .75rem; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.wf-ticks li span { display: block; color: var(--muted); font-size: .95rem; }

/* Honest note: what counts is the verification agency's call */
.wf-note { border-left: 4px solid var(--t5); background: var(--t0); border-radius: 0 16px 16px 0; padding: 22px 26px; }
.wf-note h3 { margin: 0 0 8px; font-size: 1.15rem; }
.wf-note p { margin: 0 0 10px; color: var(--ink); }
.wf-note p:last-child { margin-bottom: 0; }
.wf-note small { color: var(--muted); }

/* Feature grid on the offer pages */
.wf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wf-grid .tcard h3 { margin-top: 0; font-size: 1.12rem; }
@media (max-width: 960px) { .wf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wf-grid { grid-template-columns: 1fr; } }

/* Who's involved / a page's sub-hero (shorter than the home hero) */
.wf-sub { padding-bottom: 64px; }
.wf-sub .hero2-in { grid-template-columns: 1fr; max-width: 900px; }
.wf-crumb { font-size: .9rem; color: var(--t2); text-decoration: none; font-weight: 600; }
.wf-crumb:hover { color: #fff; }

/* Yearly plan */
.wf-plan { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.wf-plan-card { border: 2px solid var(--t5); border-radius: 24px; padding: 30px; background: #fff; box-shadow: 0 24px 60px rgba(13,148,136,.14); }
.wf-plan-card h3 { margin: 0 0 6px; font-size: 1.4rem; }
.wf-plan-card .hb { width: 100%; margin-top: 8px; }
.wf-year { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wf-year li { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; }
.wf-year b { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--t6); margin-bottom: 6px; }
.wf-year p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .wf-plan { grid-template-columns: 1fr; } .wf-year { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .wf-year { grid-template-columns: 1fr; } }

/* Demo request */
.wf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; border: 1px solid var(--line); border-radius: 24px; padding: 30px; background: #fff; }
.wf-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.wf-form label.full, .wf-form fieldset, .wf-form .wf-form-end { grid-column: 1 / -1; }
.wf-form input[type=text], .wf-form input[type=email], .wf-form input[type=tel], .wf-form select, .wf-form textarea {
  font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid #C9D9D6; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.wf-form textarea { min-height: 110px; resize: vertical; }
.wf-form input:focus, .wf-form select:focus, .wf-form textarea:focus { outline: 3px solid var(--t2); border-color: var(--t5); }
.wf-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.wf-form legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.wf-form fieldset label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.wf-form fieldset input { margin-top: 4px; accent-color: var(--t6); }
.wf-form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.wf-form-end p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1 1 260px; }
.wf-form button.hb { border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.wf-done { grid-column: 1 / -1; background: var(--t0); border: 1px solid var(--t1); border-radius: 14px; padding: 14px 18px; margin: 0; }
@media (max-width: 700px) { .wf-form { grid-template-columns: 1fr; padding: 22px 18px; } }

/* ---- Home page motion (1.51.0; user: "do something more modern.. animated.. for the workforce homepage") ----------
   CSS animations for the hero; scroll reveals and the rand counters from wf.js (it adds .wf-anim to <body> only when
   motion is wanted, so with no script or reduced motion everything is simply shown). Teal and white only. */
@keyframes wf-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes wf-shine { to { background-position: -300% 0; } }
@keyframes wf-drift1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes wf-drift2 { to { transform: translate(-140px, -40px) scale(.9); } }
@keyframes wf-drift3 { to { transform: translate(60px, -90px) scale(1.2); } }
@keyframes wf-bob { 50% { transform: translateY(-10px); } }
@keyframes wf-ring { from { stroke-dashoffset: 314; } }
@keyframes wf-grow { from { transform: scaleY(0); } }
@keyframes wf-row { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes wf-pulse { 50% { box-shadow: 0 0 0 6px rgba(94,234,212,.25); } }
@keyframes wf-flip-a { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
@keyframes wf-flip-b { 0%, 42% { opacity: 0; transform: translateY(6px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes wf-flip-bg { 0%, 42% { background: var(--t0); box-shadow: inset 0 0 0 1px var(--t2); } 50%, 92% { background: var(--t1); box-shadow: inset 0 0 0 1px var(--t1); } 100% { background: var(--t0); box-shadow: inset 0 0 0 1px var(--t2); } }
@keyframes wf-marquee { to { transform: translateX(-50%); } }
@keyframes wf-spin { to { transform: rotate(1turn); } }

/* Hero: drifting aurora light behind the grid */
.wf-hero { isolation: isolate; padding-bottom: 96px; }
@media (max-width: 960px) { .wf-hero { padding-bottom: 64px; } }
.wf-aurora { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.wf-aurora i { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .45; }
.wf-aurora i:nth-child(1) { background: var(--t5); top: -160px; left: 8%; animation: wf-drift1 16s ease-in-out infinite alternate; }
.wf-aurora i:nth-child(2) { background: var(--t3); bottom: -220px; right: 4%; opacity: .25; animation: wf-drift2 19s ease-in-out infinite alternate; }
.wf-aurora i:nth-child(3) { background: var(--t6); top: 30%; left: 45%; width: 380px; height: 380px; opacity: .35; animation: wf-drift3 22s ease-in-out infinite alternate; }
.wf-h1 span, .wf-h1 em { display: inline-block; animation: wf-up .8s cubic-bezier(.2,.7,.2,1) both; }
.wf-h1 span:nth-child(2) { animation-delay: .15s; }
.wf-h1 em { animation-delay: .32s; background: linear-gradient(90deg, var(--t3), var(--t2), #fff, var(--t3)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.wf-anim .wf-h1 em { animation: wf-up .8s .32s cubic-bezier(.2,.7,.2,1) both, wf-shine 7s 1.2s linear infinite; }
.wf-hero .hero2-lead, .wf-hero .hero2-cta, .wf-hero .hero2-ticks { animation: wf-up .8s .5s cubic-bezier(.2,.7,.2,1) both; }
.wf-hero .hero2-cta { animation-delay: .62s; }
.wf-hero .hero2-ticks { animation-delay: .74s; }

/* Hero: the animated Team view card */
.wf-stage { position: relative; animation: wf-up 1s .35s cubic-bezier(.2,.7,.2,1) both; }
.wf-stage .wf-pack { animation: wf-bob 8s 1.4s ease-in-out infinite; }
.wf-dash-top { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.wf-ring { display: flex; align-items: center; gap: 12px; }
.wf-ring svg { width: 84px; height: 84px; transform: rotate(-90deg); flex: none; }
.wf-ring circle { fill: none; stroke-width: 12; }
.wf-ring .bg { stroke: var(--t0); }
.wf-ring .fg { stroke: var(--t5); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 69; animation: wf-ring 1.8s .8s cubic-bezier(.3,.7,.2,1) both; }
.wf-ring b { display: block; font-size: 1.7rem; line-height: 1; color: var(--t7); }
.wf-ring small { display: block; max-width: 9em; color: var(--muted); font-size: .74rem; margin-top: 4px; }
.wf-bars-t { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.wf-bars-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; height: 64px; }
.wf-bars-in i { display: block; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--t4), var(--t6)); transform-origin: bottom; animation: wf-grow 1s cubic-bezier(.3,.7,.2,1) both; }
.wf-bars-in i:nth-child(1) { animation-delay: .9s; } .wf-bars-in i:nth-child(2) { animation-delay: 1s; } .wf-bars-in i:nth-child(3) { animation-delay: 1.1s; }
.wf-bars-in i.now { background: linear-gradient(180deg, var(--t3), var(--t5)); animation: wf-grow 1s 1.2s cubic-bezier(.3,.7,.2,1) both, wf-pulse 2.4s 2.4s ease-in-out infinite; }
.wf-bars-k { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; font-size: .68rem; color: var(--muted); margin-top: 4px; }
.wf-stage .wf-pack > .wf-pack-row:not(.th) { animation: wf-row .6s cubic-bezier(.2,.7,.2,1) both; }
.wf-stage .wf-pack > :nth-child(4) { animation-delay: 1.2s; } .wf-stage .wf-pack > :nth-child(5) { animation-delay: 1.35s; }
.wf-stage .wf-pack > :nth-child(6) { animation-delay: 1.5s; } .wf-stage .wf-pack > :nth-child(7) { animation-delay: 1.65s; }
.wf-pack-row em.flip { display: inline-grid; animation: wf-flip-bg 8s 2.5s ease-in-out infinite; background: var(--t0); box-shadow: inset 0 0 0 1px var(--t2); color: var(--t6); }
.wf-pack-row em.flip span { grid-area: 1 / 1; }
.wf-pack-row em.flip .a { animation: wf-flip-a 8s 2.5s ease-in-out infinite; }
.wf-pack-row em.flip .b { opacity: 0; color: var(--t7); animation: wf-flip-b 8s 2.5s ease-in-out infinite; }
.wf-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.28); font-size: .8rem; animation: wf-up .8s cubic-bezier(.2,.7,.2,1) both, wf-bob 6s ease-in-out infinite; }
.wf-float b { display: block; font-size: .82rem; color: var(--t7); }
.wf-float span { color: var(--muted); }
.wf-float i { width: 10px; height: 10px; border-radius: 50%; background: var(--t4); box-shadow: 0 0 0 5px rgba(20,184,166,.2); flex: none; animation: wf-pulse 2s ease-in-out infinite; }
.wf-float.f1 { top: -50px; right: -12px; animation-delay: 1.9s, 2.7s; }
.wf-float.f2 { bottom: -34px; left: -26px; animation-delay: 2.2s, 3.4s; }
@media (max-width: 1100px) { .wf-float.f2 { left: 0; } .wf-float.f1 { right: 0; } }
@media (max-width: 960px) { .wf-stage { max-width: 560px; margin-top: 64px; margin-bottom: 40px; } }   /* 1.52.1: room for the EE Plan card above it, clear of the ticks */
@media (max-width: 480px) { .wf-dash-top { grid-template-columns: 1fr; } .wf-float.f1 { top: -46px; right: 6px; } .wf-float.f2 { bottom: -38px; left: 6px; } }

/* A slow band of what Empower covers, under the hero */
.wf-marquee { background: var(--t9); color: var(--t2); overflow: hidden; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); position: relative; }
.wf-marquee::before, .wf-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10%; z-index: 1; pointer-events: none; }
.wf-marquee::before { left: 0; background: linear-gradient(90deg, var(--t9), transparent); }
.wf-marquee::after { right: 0; background: linear-gradient(270deg, var(--t9), transparent); }
.wf-marquee-in { display: flex; gap: 14px; width: max-content; animation: wf-marquee 48s linear infinite; }
.wf-marquee-in span { white-space: nowrap; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(94,234,212,.25); background: rgba(255,255,255,.04); font-size: .88rem; font-weight: 600; }
.wf-marquee-in span::before { content: "\2713"; color: var(--t3); margin-right: 8px; font-weight: 800; }

/* Scroll reveals (empower.js adds .wf-rv, then .in when the element comes into view). `translate`, not `transform`, so
   cards keep their own transforms (the raised Skills Development pillar). */
.wf-anim .wf-rv { opacity: 0; translate: 0 26px; transition: opacity .7s cubic-bezier(.2,.7,.2,1), translate .7s cubic-bezier(.2,.7,.2,1); }
.wf-anim .wf-rv.in { opacity: 1; translate: none; }
.wf-anim .wf-rv:nth-child(2) { transition-delay: .08s; } .wf-anim .wf-rv:nth-child(3) { transition-delay: .16s; }
.wf-anim .wf-rv:nth-child(4) { transition-delay: .24s; } .wf-anim .wf-rv:nth-child(5) { transition-delay: .32s; }

/* The Skills Development pillar: a light running round its edge */
.wf-pillar.core { isolation: isolate; overflow: hidden; border-color: transparent; }
.wf-pillar.core::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, transparent 0 55%, var(--t3) 76%, #fff 82%, var(--t3) 86%, transparent 95%); animation: wf-spin 5s linear infinite; }
.wf-pillar.core::after { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 17px; background: linear-gradient(180deg, var(--t7), var(--t8)); }
.wf-pillar { transition: box-shadow .3s, border-color .3s; }
.wf-pillar.ind:hover { border-color: var(--t2); box-shadow: 0 14px 30px rgba(13,148,136,.08); }
.wf-pillar.sup:hover { box-shadow: 0 18px 40px rgba(13,148,136,.16); }
/* 1.62.1 (user: "all 5 pillars needs to glow.. as the solution supports all 5", "all 5 pillars same styling.. not
   workforce middle dark green"): the five pillar cards are alike - white, each with a slowly turning teal light around
   its border (the same spin as the hero button), each a little out of step with the next. */
.wf-pillar.sup { isolation: isolate; overflow: hidden; border: 0; padding: 24px 20px 22px; box-shadow: 0 12px 30px rgba(13,148,136,.12); }
.wf-pillar.sup::before { content: ""; position: absolute; inset: -60%; z-index: -2;
  background: conic-gradient(from 0deg, var(--t2) 0 52%, var(--t4) 72%, var(--t3) 80%, #fff 83%, var(--t3) 86%, var(--t4) 92%, var(--t2) 97%);
  animation: wf-spin 6s linear infinite; }
.wf-pillar.sup::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 18px; background: #fff; }
.wf-pillar.sup:nth-child(2)::before { animation-delay: -1.2s; } .wf-pillar.sup:nth-child(3)::before { animation-delay: -2.4s; }
.wf-pillar.sup:nth-child(4)::before { animation-delay: -3.6s; } .wf-pillar.sup:nth-child(5)::before { animation-delay: -4.8s; }
.wf-offer, .tcard, .steps2 li { transition: box-shadow .3s, border-color .3s; }
.wf-offer:hover, .steps2 li:hover { border-color: var(--t3); box-shadow: 0 20px 44px rgba(13,148,136,.14); }

/* The EE steps light up in order, joined by a growing line */
.wf-anim .wf-flow li.wf-rv::before { transition: background .5s, box-shadow .5s; background: var(--t2); }
.wf-anim .wf-flow li.wf-rv.in::before { background: var(--t6); box-shadow: 0 0 0 6px rgba(13,148,136,.15); }
.wf-anim .wf-flow li.wf-rv:nth-child(2), .wf-anim .wf-flow li.wf-rv:nth-child(2)::before { transition-delay: .25s; }
.wf-anim .wf-flow li.wf-rv:nth-child(3), .wf-anim .wf-flow li.wf-rv:nth-child(3)::before { transition-delay: .5s; }
.wf-anim .wf-flow li.wf-rv:nth-child(4), .wf-anim .wf-flow li.wf-rv:nth-child(4)::before { transition-delay: .75s; }

@media (prefers-reduced-motion: reduce) {
  .wf-aurora i, .wf-h1 span, .wf-h1 em, .wf-hero .hero2-lead, .wf-hero .hero2-cta, .wf-hero .hero2-ticks, .wf-stage, .wf-stage .wf-pack,
  .wf-ring .fg, .wf-bars-in i, .wf-stage .wf-pack > .wf-pack-row:not(.th), .wf-float, .wf-float i, .wf-marquee-in, .wf-pillar.core::before, .wf-pillar.sup::before,
  .wf-pack-row em.flip, .wf-pack-row em.flip span { animation: none !important; }
  .wf-pack-row em.flip .b { display: none; }
  .wf-marquee-in { flex-wrap: wrap; width: auto; justify-content: center; }
  .wf-marquee-in span:nth-child(n+13) { display: none; }
}

/* Small print under a card's ticks (1.52.0) */
.wf-fine { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

/* ---- 1.60.0: the home page around the five pillars (user: "it needs to have the key focus on the 5 pillars") ---- */

/* Hero: the five pillars as a numbered rail of links to their sections */
.wf-rail { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; animation: wf-up .8s .74s cubic-bezier(.2,.7,.2,1) both; }
.wf-rail a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 999px; border: 1px solid rgba(94,234,212,.3); background: rgba(255,255,255,.06); color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; transition: background .2s, border-color .2s; }
.wf-rail a:hover, .wf-rail a:focus-visible { background: rgba(255,255,255,.14); border-color: var(--t3); }
.wf-rail b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--t3); color: var(--t9); font-size: .78rem; }

/* Hero: the indicative scorecard card - one bar per pillar */
.wf-score .wf-ring b { font-size: 1.35rem; }
.wf-score-sub { display: grid; gap: 4px; justify-items: start; }
.wf-score-sub .wf-bars-t { margin: 0; }
.wf-score-sub em { font-style: normal; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--t1); color: var(--t7); margin-bottom: 4px; }
.wf-score-sub em.plan { background: var(--t0); color: var(--t6); box-shadow: inset 0 0 0 1px var(--t2); }
.wf-srow { display: grid; grid-template-columns: 26px minmax(0, 1.25fr) 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.wf-srow b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--t0); color: var(--t6); font-size: .76rem; }
.wf-srow span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.wf-srow i { position: relative; height: 10px; border-radius: 999px; background: var(--t0); overflow: hidden; }
.wf-srow i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--t5), var(--t4)); transform-origin: left; animation: wf-bar 1.2s cubic-bezier(.3,.7,.2,1) both; }
.wf-srow:nth-of-type(1) i::after { animation-delay: .9s; } .wf-srow:nth-of-type(2) i::after { animation-delay: 1s; }
.wf-srow:nth-of-type(3) i::after { animation-delay: 1.1s; } .wf-srow:nth-of-type(4) i::after { animation-delay: 1.2s; }
.wf-srow:nth-of-type(5) i::after { animation-delay: 1.3s; }
@keyframes wf-bar { from { transform: scaleX(0); } }
.wf-stage .wf-score > .wf-srow { animation: wf-row .6s cubic-bezier(.2,.7,.2,1) both; }
.wf-score ~ .wf-float.f2 { bottom: -66px; }   /* below the card's footer labels, not over them */

/* The pillar cards link down to their sections */
.wf-pillar.sup .wf-how a { color: var(--t6); font-weight: 700; }
@media (max-width: 1100px) { .wf-pillar.core { order: 0; grid-column: auto; } }   /* 1.60.0: numbered 1-5, so keep their order */

/* One section per pillar: what the codes measure and the register (left), developing the people behind it (right) */
.wf-pd-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.wf-pd-top { display: flex; align-items: center; gap: 18px; }
.wf-pd-top h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; font-weight: 800; margin: 6px 0 0; }
.wf-pd-n { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(180deg, var(--t5), var(--t6)); color: #fff; font-size: 1.8rem; font-weight: 800; box-shadow: 0 14px 30px rgba(13,148,136,.25); }
.wf-pd-n.core { background: linear-gradient(180deg, var(--t7), var(--t8)); box-shadow: 0 14px 30px rgba(6,48,44,.3), inset 0 0 0 2px var(--t3); }
.wf-pd-lead { color: var(--ink); font-size: 1.08rem; margin: 18px 0 0; max-width: 46em; }
.wf-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.wf-facts div { padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.sec:not(.alt) .wf-facts div { background: var(--t0); border-color: var(--t1); }
.wf-facts dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wf-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--t7); }
.wf-pd-h { margin: 28px 0 0; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--t6); }
.wf-pd-reg { margin: 8px 0 0; color: var(--muted); }
.wf-pd-main .wf-ticks { margin-bottom: 0; }
.wf-pd-dev { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border: 2px solid var(--t4); border-radius: 24px; padding: 28px; background: #fff; box-shadow: 0 24px 60px rgba(13,148,136,.1); }
.wf-pd-dev > p { margin: 8px 0 0; color: var(--muted); }
.wf-pd-dev .wf-ticks { margin: 16px 0 18px; }
.wf-pd-dev .wf-flow { margin: 16px 0 18px; align-self: stretch; }
.wf-pd-dev .hb { margin-bottom: 18px; }
.wf-pd-dev .wf-fine { margin-top: 0; align-self: stretch; }
.wf-pd-core { background: linear-gradient(180deg, var(--t7), var(--t8)); border-color: var(--t7); color: #fff; box-shadow: 0 24px 50px rgba(13,148,136,.28); }
.wf-pd-core .wf-for { color: var(--t3); }
.wf-pd-core > p { color: rgba(255,255,255,.82); }
.wf-pd-core .wf-ticks li { color: #fff; }
.wf-pd-core .wf-ticks li span { color: rgba(255,255,255,.72); }
.wf-pd-core .wf-ticks li::before { background: rgba(94,234,212,.2); color: var(--t3); }
.wf-pd-core .wf-how a { color: var(--t3); font-weight: 700; }
@media (max-width: 960px) { .wf-pd-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .wf-pd-n { width: 52px; height: 52px; border-radius: 16px; font-size: 1.5rem; } .wf-pd-dev { padding: 22px 18px; } .wf-facts div { flex: 1 1 100%; } }

/* The workspace: three cards on the dark section */
.wf-ws .tcard { display: flex; flex-direction: column; background: rgba(255,255,255,.05); border-color: rgba(94,234,212,.22); color: #fff; }
.wf-ws .tcard:hover { border-color: rgba(94,234,212,.5); box-shadow: 0 20px 44px rgba(0,0,0,.25); }
.wf-ws .tcard h3 { margin: 6px 0 8px; color: #fff; }
.wf-ws .tcard p { color: rgba(255,255,255,.72); }
.wf-ws .wf-for { color: var(--t3); font-size: .74rem; }
.wf-ws .wf-small { color: rgba(255,255,255,.7); }
.wf-ws .wf-small a { color: var(--t3); }

@media (prefers-reduced-motion: reduce) {
  .wf-rail, .wf-srow i::after, .wf-stage .wf-score > .wf-srow { animation: none !important; }
}

/* ---- 1.61.0: how the level is worked out, the glowing "indicative check" button and the check itself ---- */

/* The glowing button: a teal light running round its edge and a slow pulse (still with reduced motion, minus the motion) */
.hb-glow { position: relative; isolation: isolate; overflow: hidden; border: 0; color: #fff; background: linear-gradient(180deg, var(--t5), var(--t6)); box-shadow: 0 0 0 0 rgba(94,234,212,.55), 0 14px 34px rgba(13,148,136,.45); animation: wf-glow 2.6s ease-in-out infinite; cursor: pointer; }
.hb-glow::before { content: ""; position: absolute; inset: -150%; z-index: -2; background: conic-gradient(from 0deg, transparent 0 60%, var(--t3) 75%, #fff 80%, var(--t3) 85%, transparent 95%); animation: wf-spin 3.2s linear infinite; }
.hb-glow::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, var(--t5), var(--t6)); }
.hb-glow:hover, .hb-glow:focus-visible { color: #fff; filter: brightness(1.08); }
@keyframes wf-glow { 50% { box-shadow: 0 0 0 10px rgba(94,234,212,0), 0 18px 44px rgba(20,184,166,.6); } }

/* How the level is worked out: the steps and the level table */
.wf-calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; }
.wf-calc-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: c; }
.wf-calc-steps li { position: relative; padding: 16px 18px 16px 62px; border: 1px solid var(--line); border-radius: 16px; background: #fff; counter-increment: c; }
.wf-calc-steps li::before { content: counter(c); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--t6); color: #fff; font-weight: 800; }
.wf-calc-steps b { display: block; font-size: 1.02rem; }
.wf-calc-steps span { color: var(--muted); font-size: .93rem; }
.wf-levels { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; font-variant-numeric: tabular-nums; }
.wf-levels caption { text-align: left; font-weight: 800; padding: 0 4px 10px; }
.wf-levels th, .wf-levels td { padding: 9px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
.wf-levels thead th { background: var(--t0); color: var(--t7); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.wf-levels tbody tr:last-child td, .wf-levels tbody tr:last-child th { border-bottom: 0; }
.wf-levels td:last-child, .wf-levels th:last-child { text-align: right; }
.wf-levels tbody th { font-weight: 700; color: var(--t7); }
.wf-levels tr.lv1 th, .wf-levels tr.lv1 td { background: var(--t0); }
.wf-levels tbody td:nth-of-type(1) { white-space: nowrap; }
@media (max-width: 480px) { .wf-levels th, .wf-levels td { padding: 9px 10px; } }
.wf-calc-go { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.wf-calc-go p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1 1 240px; }
.wf-why { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.wf-why .tcard h3 { margin: 6px 0 8px; font-size: 1.08rem; }
@media (max-width: 960px) { .wf-calc { grid-template-columns: 1fr; } .wf-why { grid-template-columns: 1fr; } }

/* The check: the form by pillar (left) and the result (right, sticky on wide screens) */
.qc { display: grid; grid-template-columns: 1.25fr .9fr; gap: 28px; align-items: start; }
.qc-form { display: grid; gap: 18px; }
.qc-step { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; border: 1px solid var(--line); border-radius: 22px; padding: 22px; margin: 0; background: #fff; }
.qc-step legend { float: left; width: 100%; padding: 0; margin: 0 0 2px; font-weight: 800; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; }
.qc-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--t6); color: #fff; font-size: .85rem; font-weight: 800; flex: none; }
.qc-step label { display: grid; gap: 6px; align-content: start; font-weight: 600; font-size: .92rem; }
.qc-step label.full { grid-column: 1 / -1; }
.qc-step small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.qc-step input[type=text], .qc-step select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #C9D9D6; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.qc-step input:focus, .qc-step select:focus { outline: 3px solid var(--t2); border-color: var(--t5); }
.qc-step input[aria-invalid] { border-color: var(--t7); outline: 3px solid var(--t1); }
.qc-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 600; }
.qc-check input { margin-top: 4px; accent-color: var(--t6); width: 18px; height: 18px; }
.qc-check small { display: block; }
.qc-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.qc-go p { margin: 0; color: var(--t7); font-weight: 600; }
.qc-result { position: sticky; top: 88px; border: 2px solid var(--t4); border-radius: 24px; padding: 26px; background: linear-gradient(180deg, var(--t0), #fff 160px); box-shadow: 0 24px 60px rgba(13,148,136,.12); }
.qc-empty p { color: var(--muted); margin: 10px 0 0; }
.qc-level { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 8px 0 4px; }
.qc-level b { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; font-weight: 800; color: var(--t7); }
.qc-level span { color: var(--muted); font-weight: 600; }
.qc-why { margin: 8px 0 0; }
.qc-next { margin: 6px 0 0; color: var(--t7); font-weight: 600; }
.qc-flag { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--t1); color: var(--t8); font-weight: 600; }
.qc-result h3 { margin: 20px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t6); }
.qc-bars, .qc-subs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.qc-bars li { display: grid; grid-template-columns: 24px 1fr auto; gap: 4px 10px; align-items: center; }
.qc-bn { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--t0); color: var(--t6); font-size: .76rem; font-weight: 800; }
.qc-bl { font-weight: 600; font-size: .92rem; }
.qc-bv { font-weight: 700; font-variant-numeric: tabular-nums; }
.qc-bv small { color: var(--muted); font-weight: 500; }
.qc-bars i { grid-column: 2 / -1; position: relative; height: 8px; border-radius: 999px; background: var(--t0); overflow: hidden; }
.qc-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--t5), var(--t4)); transition: width .5s cubic-bezier(.3,.7,.2,1); }
.qc-subs li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.qc-subs li b { font-size: .8rem; padding: 1px 9px; border-radius: 999px; align-self: center; }
.qc-subs li.ok b { background: var(--t1); color: var(--t7); }
.qc-subs li.no { border-color: var(--t5); }
.qc-subs li.no b { background: var(--t7); color: #fff; }
.qc-subs small { grid-column: 1 / -1; color: var(--muted); }
.qc-note { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.qc-how { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.qc-how summary { cursor: pointer; font-weight: 700; color: var(--t6); }
.qc-how ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .88rem; display: grid; gap: 6px; }
.qc-small { margin: 14px 0 0; color: var(--muted); font-size: .85rem; }
.qc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 960px) { .qc { grid-template-columns: 1fr; } .qc-result { position: static; } }
@media (max-width: 600px) { .qc-step { grid-template-columns: 1fr; padding: 18px 16px; } .qc-result { padding: 20px 16px; } }

@media (prefers-reduced-motion: reduce) {
  .hb-glow, .hb-glow::before { animation: none !important; }
  .qc-bars i::after { transition: none; }
}

/* 1.61.1 - the "Check now" badge pinned to the hero's scorecard illustration (user: "a nice Check Now badge"):
   a white seal with its edge text turning slowly, a teal centre and a soft pulsing halo; links to the check. */
.wf-stage-wrap { position: relative; }
.wf-badge { position: absolute; z-index: 3; bottom: -64px; right: -40px; width: 148px; height: 148px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  background: radial-gradient(circle at 50% 35%, #fff, var(--t0)); color: var(--t6); box-shadow: 0 0 0 6px rgba(94,234,212,.22), 0 20px 44px rgba(0,0,0,.32);
  transform: rotate(-8deg); animation: wf-badge-in .9s 1.6s cubic-bezier(.2,1.4,.4,1) both, wf-badge-halo 2.8s 2.6s ease-in-out infinite; transition: transform .25s ease, box-shadow .25s ease; }
.wf-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: wf-spin 22s linear infinite; }
.wf-badge text { font-family: inherit; font-weight: 800; font-size: 12.5px; letter-spacing: .5px; fill: var(--t6); }
.wf-badge-in { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff;
  background: linear-gradient(160deg, var(--t4), var(--t6) 70%); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), 0 8px 18px rgba(13,148,136,.45); }
.wf-badge-in b { display: block; font-size: 1.02rem; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.wf-badge-in i { font-style: normal; font-weight: 800; font-size: 1.05rem; line-height: 1; margin-top: 3px; transition: transform .25s ease; }
.wf-badge:hover, .wf-badge:focus-visible { transform: rotate(0deg) scale(1.07); box-shadow: 0 0 0 8px rgba(94,234,212,.35), 0 24px 52px rgba(0,0,0,.36); }
.wf-badge:hover svg, .wf-badge:focus-visible svg { animation-duration: 7s; }
.wf-badge:hover .wf-badge-in i, .wf-badge:focus-visible .wf-badge-in i { transform: translateX(4px); }
.wf-badge:focus-visible { outline: 3px solid var(--t3); outline-offset: 4px; }
@keyframes wf-badge-in { from { opacity: 0; scale: .4; rotate: -32deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes wf-badge-halo { 0%, 100% { box-shadow: 0 0 0 6px rgba(94,234,212,.22), 0 20px 44px rgba(0,0,0,.32); } 50% { box-shadow: 0 0 0 14px rgba(94,234,212,.08), 0 20px 44px rgba(0,0,0,.32); } }
@media (max-width: 1100px) { .wf-badge { right: -8px; } }
@media (max-width: 960px) { .wf-stage-wrap { max-width: 560px; } .wf-badge { bottom: -6px; } }
@media (max-width: 480px) { .wf-badge { width: 118px; height: 118px; bottom: -34px; right: -4px; } .wf-score ~ .wf-float.f2 { display: none; } .wf-badge-in { width: 66px; height: 66px; } .wf-badge-in b { font-size: .86rem; } .wf-badge text { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) {
  .wf-badge, .wf-badge svg { animation: none !important; }
}

/* 1.61.2 - the check's size panel: which size the turnover makes the company, and what that means. */
.qc-size { margin: 16px 0 6px; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--t0); }
.qc-ladder { list-style: none; margin: 0 0 12px; padding: 3px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 11px; background: #fff; border: 1px solid var(--line); }
.qc-ladder li { padding: 6px 8px; border-radius: 8px; text-align: center; color: var(--muted); line-height: 1.2; }
.qc-ladder li b { display: block; font-size: .9rem; color: var(--t7); }
.qc-ladder li small { display: block; font-size: .7rem; }
.qc-ladder li.on { background: linear-gradient(160deg, var(--t5), var(--t6)); color: rgba(255,255,255,.85); box-shadow: 0 6px 14px rgba(13,148,136,.3); }
.qc-ladder li.on b { color: #fff; }
.qc-size h3 { margin: 0; font-size: 1.02rem; color: var(--t7); text-transform: none; letter-spacing: normal; }
.qc-size-t { margin: 2px 0 8px; color: var(--muted); font-size: .9rem; }
.qc-size dl { margin: 0; display: grid; gap: 2px; }
.qc-size dt { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t6); margin-top: 6px; }
.qc-size dd { margin: 0; font-size: .9rem; line-height: 1.45; }

/* ---- Dark mode (1.62.0): the same variables as learn.css's dark block ----
   .svhome (sv/home.css) sets its own --ink / --muted / --line and a white background on <body>, so learn.css's :root
   values never reach these pages; they are set again here with learn.css's dark values (so this agrees with
   sv/home.css's own dark block if that sets them too). The --t0..--t9 ramp is left alone: where a rule paints a light --t0 / --t1 or
   uses dark --t6 / --t7 as text, it is overridden below. Already-dark parts (hero, marquee, the Skills Development
   pillar and card, the workspace section, dark teal number discs) stay as they are. */
:root[data-theme="dark"] .svhome { --ink: #E6EFED; --muted: #A3B5B1; --line: #2A3A37; background: var(--bg); }

/* The hero's scorecard illustration, its floating notes and the "Check now" seal stay light (a product mock-up on
   the dark hero): they keep the light palette so their text stays dark. */
:root[data-theme="dark"] :is(.wf-pack, .wf-float, .wf-badge) {
  --ink: #0B1F1D; --muted: #4B5D5A; --line: #E2ECEA;
  --t9: #042F2B; --t8: #06302C; --t7: #0B4F48; --t6: #0F766E; --t5: #0D9488; --t4: #14B8A6; --t3: #5EEAD4; --t2: #99F6E4; --t1: #CCFBF1; --t0: #F0FDFA; }

/* Sections: page --bg, alternate sections a teal-tinted step up, so cards (--card) stand out on both */
:root[data-theme="dark"] .sec.alt { background: var(--teal-wash); }

/* White cards and panels -> card surfaces */
:root[data-theme="dark"] :is(.wf-pillar:not(.core), .wf-flow li, .wf-offer, .wf-plan-card, .wf-year li, .wf-form,
  .wf-pd-dev:not(.wf-pd-core), .wf-calc-steps li, .wf-levels, .qc-step, .wf-note, .wf-facts div) { background: var(--card); }
:root[data-theme="dark"] .wf-pillar.ind { background: var(--bg); border-color: var(--teal-tint); }
:root[data-theme="dark"] .sec:not(.alt) .wf-facts div { background: var(--teal-wash); border-color: var(--teal-tint); }
/* a step above a card: rows and tracks inside a card */
:root[data-theme="dark"] :is(.wf-sum div:not(.tot), .qc-subs li) { background: var(--dk-raise); }
:root[data-theme="dark"] .qc-bars i { background: var(--dk-raise); }
:root[data-theme="dark"] .wf-target { background: linear-gradient(180deg, var(--teal-wash), var(--card)); }
:root[data-theme="dark"] .qc-result { background: linear-gradient(180deg, var(--teal-wash), var(--card) 160px); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
:root[data-theme="dark"] .qc-size { background: var(--teal-wash); }
:root[data-theme="dark"] .qc-ladder { background: var(--card); }
:root[data-theme="dark"] .wf-done { background: var(--teal-wash); border-color: var(--teal-tint); }

/* Pale teal chips, discs and tags (--t0 / --t1 with --t6 / --t7 text) -> dark teal tint with light teal text */
:root[data-theme="dark"] :is(.wf-pillar:not(.core) .wf-pn, .wf-pillar.sup .wf-tag, .qc-bn, .qc-flag, .qc-subs li.ok b),
:root[data-theme="dark"] .wf-ticks li::before { background: var(--teal-tint); color: var(--teal-deep); }
:root[data-theme="dark"] .wf-pd-core .wf-ticks li::before { background: rgba(94,234,212,.2); color: var(--t3); }   /* on the dark card, as before */
:root[data-theme="dark"] .wf-tag { background: var(--dk-raise); color: var(--muted); }
:root[data-theme="dark"] .wf-pillar.core .wf-tag { background: var(--t3); color: var(--t9); }   /* keep the dark pillar's own tag */
:root[data-theme="dark"] .wf-pillar.ind .wf-tag { background: var(--card); color: var(--teal-dark); }

/* The level table */
:root[data-theme="dark"] .wf-levels thead th { background: var(--dk-raise); color: var(--teal-deep); }
:root[data-theme="dark"] .wf-levels tbody th { color: var(--teal-deep); }
:root[data-theme="dark"] :is(.wf-levels tr.lv1 th, .wf-levels tr.lv1 td) { background: var(--teal-tint); }

/* Dark teal text (--t6 / --t7 / --t8) on what is now a dark surface -> the light teal text colours */
:root[data-theme="dark"] :is(.wf-for, .wf-year b, .wf-pillar.sup .wf-how a, .wf-pd-h, .qc-result h3, .qc-how summary, .qc-size dt) { color: var(--teal-dark); }
:root[data-theme="dark"] :is(.wf-facts dd, .qc-go p, .qc-level b, .qc-next, .qc-ladder li:not(.on) b, .qc-size h3) { color: var(--teal-deep); }

/* Form fields */
:root[data-theme="dark"] :is(.wf-form, .qc-step) :is(input[type=text], input[type=email], input[type=tel], select, textarea) {
  background: var(--dk-raise); border-color: #3A4D49; color: var(--ink); }
:root[data-theme="dark"] :is(.wf-form fieldset input, .qc-check input) { accent-color: var(--teal); }
:root[data-theme="dark"] .qc-step input[aria-invalid] { border-color: var(--teal-dark); outline-color: var(--teal-tint); }

/* Shadows: the teal glow under white cards reads as a smear on dark; a plain deeper shadow instead */
:root[data-theme="dark"] :is(.wf-offer.hot, .wf-plan-card, .wf-pd-dev:not(.wf-pd-core)) { box-shadow: 0 24px 60px rgba(0,0,0,.35); }
/* 1.62.1: the glowing pillar cards' inner face in dark mode (the border light keeps turning around it). */
:root[data-theme="dark"] .wf-pillar.sup::after { background: var(--card); }
:root[data-theme="dark"] .wf-pillar.sup::before { background: conic-gradient(from 0deg, var(--teal-tint) 0 52%, #0F766E 72%, var(--teal) 80%, #CCFBF1 83%, var(--teal) 86%, #0F766E 92%, var(--teal-tint) 97%); }
