/* Round 20 (Oct 21, 2026): the homepage from the Round 20 board (D72–D84), the one-row bar, the ending (D81, 11).
   Loaded on every page by includes/head-brand.php; the h20-* rules apply only on the homepage (body.h20-page). */

/* The gold primary: the one "next step" button */
.h20-gold.btn-primary{background:#c9a227!important;color:#001a33!important;border-color:#c9a227!important}
.h20-gold.btn-primary:hover{box-shadow:0 0 20px rgba(201,162,39,.55)!important}

/* h1: the three stories as one band, three rails, no photos */
.h20-st-in{position:relative;z-index:1;max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 48px;align-items:start}
.h20-st .hs-h{font-size:clamp(24px,2vw,30px);max-width:none}
.h20-st .hs-p{font-size:16px;max-width:none}
@media (max-width:900px){.h20-st-in{grid-template-columns:1fr;gap:40px}}

/* The gold button in the bar (Round 22: Sign Up again; a <button> like Login, the same box, the same lift, a gold glow; no chamfer, since a clip-path would cut the glow off) */
.btn-nav-r20-gold.btn-nav-signup{background:#c9a227!important;color:#001a33!important;border-color:#c9a227!important;border-radius:0;font-weight:600;text-decoration:none;display:inline-block;line-height:normal}
.nav-r20one .guest-menu .btn-nav-login,.nav-r20one .guest-menu .btn-nav-signup{min-width:108px;text-align:center}
@media (hover:hover){.btn-nav-r20-gold.btn-nav-signup:hover{background:#c9a227!important;color:#001a33!important;box-shadow:0 0 20px rgba(201,162,39,.55)!important}}
.btn-nav-r20-gold.btn-nav-signup:focus-visible{outline:2px solid #001a33;outline-offset:2px}

/* Homepage ending: the 3-step rail sits five sections above, so no drop line; the mark lights on arrival (as the FAQ) */
.h20-page .tx-end .tx-end-drop{display:none}

/* The opportunity banner: the second rotating banner's look, one fixed line, then the figures and the graph */
.h20-opp{padding-bottom:clamp(48px,6vw,80px)}
.h20-opp .rotating-banner-content{min-height:0}
.h20-opp-h.rotating-banner-text{position:static;opacity:1;transform:none;margin:0;font:800 clamp(26px,3.4vw,46px)/1.12 "Roboto Slab",Georgia,serif;text-transform:uppercase;letter-spacing:.01em;max-width:24ch;margin-inline:auto;text-wrap:balance}
.h20-opp-in{position:relative;z-index:1;margin-top:28px}
.h20-opp .h20-num-g{border-top:1px solid rgba(255,255,255,.22);padding-top:28px}
.h20-opp .h20-n b{color:#fff}
.h20-opp .h20-n span{color:#d6dde6}
.h20-opp .h20-n a{color:#e0b23a}

/* The pay graph */
.h20-graph{max-width:1200px;margin:40px auto 0;border:1px solid rgba(255,255,255,.25);padding:22px 24px 18px;background:rgba(0,12,26,.35);color:#f0f4f8}
.h20-graph-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 24px;margin-bottom:18px}
.h20-graph-k{margin:0 0 6px;font:700 11px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#e0b23a}
.h20-graph-h{margin:0;font:800 clamp(20px,2vw,26px)/1.15 "Roboto Slab",Georgia,serif;color:#fff}
.h20-graph-toggle{display:inline-flex;border:1px solid rgba(255,255,255,.35)}
.h20-graph-toggle button{appearance:none;background:transparent;border:0;border-right:1px solid rgba(255,255,255,.35);color:#d6dde6;font:600 13px/1 var(--tx-ui,Inter),system-ui,sans-serif;padding:11px 14px;min-height:44px;cursor:pointer}
.h20-graph-toggle button:last-child{border-right:0}
.h20-graph-toggle button.on{background:#e0b23a;color:#001a33}
.h20-graph-toggle button:focus-visible{outline:2px solid #e0b23a;outline-offset:-2px}
.h20-graph-plot{position:relative;height:300px}
.h20-graph-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.h20-g-median{stroke:#e0b23a;stroke-width:1.5;stroke-dasharray:6 6;opacity:.9}
.h20-g-median-t{fill:#e0b23a;font:600 11px Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.h20-g-mv{font:800 18px "Roboto Slab",Georgia,serif;fill:#fff;letter-spacing:0;text-transform:none}
.h20-bars{list-style:none;margin:0;padding:0 0 0 150px;height:100%;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:end;box-sizing:border-box}
.h20-bars li{position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:0;cursor:default}
.h20-bars li i{display:block;width:min(100%,72px);height:calc((100% - 34px) * var(--p,0));background:#0d3255;border:1.5px solid rgba(255,255,255,.55);box-sizing:border-box;transform-origin:bottom;transform:scaleY(0);transition:transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0ms);clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%)}
.h20-bars li.j i{background:#e0b23a;border-color:#e0b23a}
.h20-bars.in li i{transform:scaleY(1)}
.h20-bars li b{position:absolute;left:0;right:0;text-align:center;bottom:calc((100% - 34px) * var(--p,0) + 40px);font:800 15px/1 "Roboto Slab",Georgia,serif;color:#fff;font-variant-numeric:tabular-nums;opacity:0;transition:opacity .4s ease var(--d,0ms)}
.h20-bars.in li b{opacity:1}
.h20-bars li span{height:34px;display:flex;align-items:center;font:600 12px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#a9b8c8;white-space:nowrap}
.h20-bars li.j span{color:#e0b23a}
.h20-bars li:hover i,.h20-bars li:focus-within i{border-color:#fff}
.h20-graph-src{margin:14px 0 0;font:400 12.5px/1.6 var(--tx-ui,Inter),system-ui,sans-serif;color:#a9b8c8;max-width:90ch}
.h20-graph-src a{color:#e0b23a}
@media (max-width:700px){.h20-graph{padding:18px 14px 14px}.h20-graph-plot{height:240px}.h20-bars{padding-left:0;gap:6px}.h20-bars li span{font-size:10px}.h20-bars li b{font-size:12px}.h20-g-median-t{display:none}}
@media (prefers-reduced-motion:reduce){.h20-bars li i{transform:scaleY(1);transition:none}.h20-bars li b{opacity:1;transition:none}}

/* The triple panel in the story treatment, on its light gradient */
.h20-tri.advantages-section{padding:clamp(56px,7vw,96px) 0}
.h20-tri-in{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 48px;align-items:start;max-width:1200px}
.h20-tri .hs-h{font-size:clamp(24px,2vw,30px);max-width:none}
.h20-tri .hs-p{font-size:16px;max-width:none}
.h20-tri-list{list-style:none;margin:0 0 22px;padding:0;font:400 16px/1.5 "Roboto Slab",Georgia,serif;color:#3d4652}
.h20-tri-list li{padding:9px 0;border-bottom:1px solid #d9dee4}
.h20-tri-list li:first-child{border-top:1px solid #d9dee4}
@media (max-width:900px){.h20-tri-in{grid-template-columns:1fr;gap:36px}}

/* Nav 3: one row, PEAK6-style height; Login navy, Start Lesson 1 gold; a shadow once scrolled */
.nav-r20one .nav-container{padding:.75rem 2rem}
.nav-r20one .nav-left{gap:2.25rem}
.nav-r20one .logo-section{flex-direction:row}
.nav-r20one .nav-menu-links{margin-top:0;gap:1.6rem}
.nav-r20one .nav-menu-links .nav-dropdown{flex:0 0 auto}
.nav-r20one .nav-menu-links .nav-link{white-space:nowrap;flex:0 0 auto}
.nav-r20one.main-header{transition:box-shadow .3s ease}
.nav-r20one.main-header.is-scrolled{box-shadow:0 4px 18px rgba(0,26,51,.12)}
@media (max-width:1180px){.nav-r20one .nav-left{gap:1rem}}
/* signed in: four things on the right (name, Dashboard, Profile, Logout) only fit on one row above 1,440 px; below that the name goes */
.nav-r20one .user-menu{gap:.6rem!important}
.nav-r20one .user-menu .btn-nav-login,.nav-r20one .user-menu .btn-nav-contact,.nav-r20one .user-menu .btn-nav-logout{white-space:nowrap}
@media (max-width:1439px){.nav-r20one .user-name-nav{display:none}}
@media (max-width:1300px){.nav-r20one .nav-menu-links{gap:1.1rem}.nav-r20one .user-menu .btn-nav-login,.nav-r20one .user-menu .btn-nav-contact,.nav-r20one .user-menu .btn-nav-logout{padding-left:.9rem;padding-right:.9rem}.nav-r20one .nav-container{padding-left:1.25rem;padding-right:1.25rem}}
.h20-g-medlab{position:absolute;left:0;width:140px;transform:translateY(-100%);padding-bottom:6px;display:flex;flex-direction:column;gap:2px;pointer-events:none}
.h20-g-medlab .h20-g-ml{font:600 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#e0b23a}
.h20-g-medlab .h20-g-mv{font:800 18px/1 "Roboto Slab",Georgia,serif;color:#fff}
@media (max-width:700px){.h20-g-medlab{display:none}}

/* The panel as wide as the three steps; more room above it; nothing under it */
.tx-panel-home.h20-panel-wide{max-width:1300px;margin:56px auto 0}

/* Stories: equal columns, buttons on one line */
.h20-st-in{align-items:stretch}
.h20-st .hs-copy{display:flex;flex-direction:column;height:100%}
.h20-st .hs-p{flex:1 0 auto}
.h20-st .hs-more{margin-top:auto;align-self:flex-start}
.h20-st .hs-h{min-height:2.3em}

/* The opportunity band, compact: the line at the banner's size, figures left, the chart right */
.h20-opp{padding-bottom:clamp(40px,5vw,64px)}
.h20-opp-h.rotating-banner-text{font-size:clamp(24px,2.9vw,40px);max-width:34ch}
.h20-opp-in{margin-top:22px}
.h20-opp-g{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:32px 48px;align-items:stretch;max-width:1200px;margin:0 auto;border-top:1px solid rgba(255,255,255,.22);padding-top:28px}
.h20-num-2x2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px;border-top:0;padding-top:0;max-width:none;margin:0;align-content:space-between}
.h20-num-2x2 .h20-n b{font-size:clamp(32px,3.2vw,44px)}
.h20-num-2x2 .h20-n span{font-size:14px}
.h20-num-2x2 .h20-n a{font-size:10px}
.h20-graph.h20-graph-sm{margin:0;padding:16px 18px 12px}
.h20-graph-sm .h20-graph-head{margin-bottom:10px;align-items:center}
.h20-graph-sm .h20-graph-k{margin:0;color:#d6dde6;letter-spacing:.1em}
.h20-graph-sm .h20-graph-toggle button{padding:8px 11px;min-height:36px;font-size:12px}
.h20-graph-sm .h20-graph-plot{height:210px}
.h20-graph-sm .h20-bars{padding-left:120px;gap:10px}
.h20-graph-sm .h20-bars li i{width:min(100%,48px)}
.h20-graph-sm .h20-bars li b{font-size:13px}
.h20-graph-sm .h20-bars li span{font-size:11px}
.h20-graph-sm .h20-bars li span u{display:none;text-decoration:none}
.h20-graph-sm .h20-g-medlab{width:110px}
.h20-graph-sm .h20-g-medlab .h20-g-mv{font-size:15px}
.h20-graph-sm .h20-graph-src{margin-top:10px;font-size:11.5px;line-height:1.5}
@media (max-width:900px){.h20-opp-g{grid-template-columns:1fr;gap:28px}.h20-num-2x2{gap:18px 20px}}
@media (max-width:700px){
  .h20-graph-sm .h20-graph-plot{height:190px}
  .h20-graph-sm .h20-bars{padding-left:0;gap:6px}
  .h20-graph-sm .h20-bars li span em{display:none}
  .h20-graph-sm .h20-bars li span u{display:inline}
  .h20-graph-sm .h20-bars li.j span em{display:none}
  .h20-graph-sm .h20-bars li i{clip-path:polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,0 100%)}
  .h20-graph-sm .h20-bars li b{font-size:11px}
  .h20-graph-sm .h20-graph-head{flex-direction:column;align-items:flex-start}
  .h20-opp-h.rotating-banner-text{font-size:22px}
}
.h20-graph-sm .h20-bars li span em{font-style:normal}

/* ---------- The ending (Oct 21): the label row and the chip ---------- */

/* ---------- The ending (Oct 21, D81 ending 11): the footer on the same grid, the label row and the chip ---------- */
/* The footer sits on the same 1,100 grid as every page's ending, so the lockup lines up under the heading's left edge */
footer.main-footer .footer-container{max-width:1100px}
.h20-lab{display:flex;align-items:center;gap:12px;margin:0 0 26px;font:600 12px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#5d6875}
.h20-chip{display:grid;place-items:center;width:46px;height:30px;background:#001a33;color:#fff;font:700 12px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.1em;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%)}

/* The ending, re-set (D81): more air above, a label, a display line, one button */
.h20-sheet .tx-end-in{padding-top:clamp(72px,8vw,120px)}
.h20-sheet .tx-end-copy{padding-bottom:80px}
.h20-sheet .tx-end-h h2{font-size:clamp(40px,5vw,64px);line-height:1.02;letter-spacing:-.02em;max-width:15ch}
.h20-sheet .tx-end-under{margin-top:16px}
.h20-sheet .tx-end-act{margin-top:34px;gap:14px 28px}
@media (max-width:820px){
  .h20-sheet .tx-end-in{padding-top:56px}
  .h20-sheet .tx-end-copy{padding-bottom:0}
  .h20-sheet .tx-end-act{align-items:flex-start;gap:18px}
  .h20-sheet .tx-end-mark{width:180px;margin:28px 0 -60px auto}
}

/* The mark sits beside the heading inside the ending, not across the seam; the footer follows at its usual distance */
.h20-final .tx-end-in{align-items:center;gap:24px 64px}
.h20-final .tx-end-copy{padding-bottom:clamp(72px,8vw,120px)}
.h20-final .tx-end-mark{margin:0 0 clamp(72px,8vw,120px);width:280px;justify-self:end}
.h20-final .tx-end-h h2{max-width:19ch}
main:has(> .tx-end.h20-final) ~ footer.main-footer{padding-top:60px!important}
@media (max-width:820px){
  .h20-final .tx-end-in{gap:8px}
  .h20-final .tx-end-copy{padding-bottom:0}
  .h20-final .tx-end-mark{width:160px;margin:32px 0 48px auto}
  main:has(> .tx-end.h20-final) ~ footer.main-footer{padding-top:48px!important}
}

/* Round 21a (D88 a): the line under the unlock card after the free lessons, into the setup flow */
.tx-unlock-offer .tx-unlock-setup,.tx-unlock-setup{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #d7dee6;font:500 .9rem Inter,system-ui,sans-serif;color:#001a33;text-decoration:none}
.tx-unlock-setup b{font-weight:700}
.tx-unlock-setup svg{width:10px;height:10px;flex:0 0 auto}
@media (hover:hover){.tx-unlock-setup:hover{text-decoration:underline;text-underline-offset:3px}}

/* ================= Round 22 (Oct 26, 2026): nine fixes Eddie asked for after seeing Round 20 live ================= */

/* 1 · hero: the gold button has no underline and stays gold under the pointer (styles.css turned it navy with the starfield) */
.btn-hero.h20-gold,.h12-actions .h20-gold.btn-primary{text-decoration:none!important}
.hero-actions .h20-gold.btn-primary:hover,.hero-actions .h20-gold.btn-primary:focus-visible{background:#c9a227!important;background-image:none!important;color:#001a33!important}
.h20-gold.btn-primary::after{display:none!important}

/* 3 · the 3-step model: the numbers keep their navy under the pointer */
@media (hover:hover){.h20-page .solution-card:hover .solution-step-num{background:#001a33!important;color:#fff!important}}

/* 4 · the course panel as "Topics you can expect to learn" (Round 23: the four free lessons on and named from the start; the other sixteen dark until the main is flipped; brand.js adds txp-dark, so without script every name shows) */
.txp-topics.txp-dark:not(.main-on) .txp-c{position:relative}
.txp-topics.txp-dark:not(.main-on) .txp-c:not(.on) span{opacity:0}
@media (prefers-reduced-motion:no-preference){.txp-topics[data-armed] .txp-c span{transition:color .25s ease,opacity .3s ease;transition-delay:calc(var(--i,0)*70ms)}}
.txp-topics.txp-dark:not(.main-on) .txp-c:not(.on)::after{content:"";position:absolute;top:50%;left:calc(2.6em + 18px);right:calc(3.6em + 18px);border-top:1px dashed rgba(255,255,255,.22)}
@media (max-width:600px){
  .tx-panel-home.txp-topics .txp-g{grid-template-columns:1fr}
  .tx-panel-home.txp-topics .txp-bus{display:none}
  .tx-panel-home.txp-topics .txp-c{grid-template-columns:2.6em minmax(0,1fr) 3.6em;gap:8px}
  .tx-panel-home.txp-topics .txp-c span{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
  .tx-panel-home.txp-topics .txp-col:first-child .txp-c:last-child{border-bottom:1px solid rgba(255,255,255,.12)}
  .txp-topics.txp-dark:not(.main-on) .txp-c:not(.on)::after{display:block;left:calc(2.6em + 16px);right:calc(3.6em + 16px)}
}

/* 5 · the figures: number, its line, then the source under it (the mock's layout rules, missing from this file since Round 20) */
.h20-n{display:flex;flex-direction:column;gap:10px;min-width:0}
.h20-n b{font:800 clamp(40px,4.2vw,60px)/1 "Roboto Slab",Georgia,serif;letter-spacing:-.02em;color:#fff;font-variant-numeric:tabular-nums}
.h20-n span{font:400 15px/1.55 var(--tx-ui,Inter),system-ui,sans-serif;color:#d6dde6}
.h20-n a{font:600 11px/1 var(--tx-ui,Inter),system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#e0b23a;text-decoration:none;margin-top:auto;align-self:flex-start}
.h20-n a:hover{text-decoration:underline;text-underline-offset:3px}
.h20-num-2x2 .h20-n a{font-size:11px}

/* 5b · one line over the figures, not two (the 2x2 grid's border-top:0 lost to .h20-opp .h20-num-g) */
.h20-opp .h20-num-2x2{border-top:0;padding-top:0}

/* 6 · the pay graph: room above the journeyman bar for its figure (round20.js uses the same 70) */
.h20-graph-sm .h20-bars li i{height:calc((100% - 70px) * var(--p,0))}
.h20-graph-sm .h20-bars li b{bottom:calc((100% - 70px) * var(--p,0) + 40px)}

/* 7 · the navy bands on the homepage: a dark blue grain instead of the starfield */
.h20-page .rotating-banner-section{background:linear-gradient(135deg,#000c1a 0%,#001a33 50%,#000c1a 100%)!important}
.h20-page .rotating-banner-section::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 .3'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23g)'/%3E%3C/svg%3E") 0 0/220px 220px repeat,radial-gradient(circle at 50% 50%,rgba(0,51,102,.18) 0%,transparent 70%)!important;background-size:220px 220px,auto!important}

/* 8 · the ending: no label row; "Start Lesson 1 today." and "No account needed." on their own lines */
.h20-final .tx-end-h h2{max-width:none;font-size:clamp(34px,4.5vw,58px)}
.h20-final .tx-end-h h2 span{display:block}

/* 9 · the footer lockup, larger, on its own row above the columns (every page) */
footer.main-footer .footer-about{display:contents}
footer.main-footer .footer-logo{grid-column:1/-1;margin-bottom:0!important}
footer.main-footer .footer-logo .tx-lock{gap:18px}
footer.main-footer .footer-logo .tx-lock-m{width:68px}
footer.main-footer .footer-logo .tx-lock-w{width:230px}
footer.main-footer .footer-content{row-gap:36px}
footer.main-footer .footer-description{grid-column:1;margin:0}
@media (max-width:600px){
  footer.main-footer .footer-logo .tx-lock-m{width:52px}
  footer.main-footer .footer-logo .tx-lock-w{width:176px}
  footer.main-footer .footer-description{grid-column:1/-1}
}
