/* Visual section order preserves existing DOM paths used by published inline copy. */
body > main {display:flex;flex-direction:column;reading-flow:flex-visual}
body > main > .hero {order:1}
body > main > .race-strip {order:2}
body > main > #topics {order:3}
body > main > #challenge {order:4}
body > main > #kaip {order:5}
body > main > .supporter-hub {order:6}
body > main > .landing-example {order:7}
body > main > #remejams {order:8}
body > main > #prisideti-prie-ailaume {order:9}
body .wrap {width:min(1200px,calc(100% - 32px))}
body :is(#topics,#kaip,.supporter-hub,.landing-example,#remejams) {padding-block:24px}
body .hero {padding-block:20px 16px}
body .hero .grid {min-height:460px;grid-template-columns:1fr 1fr;gap:24px}
body .hero .grid > div:first-child {max-width:560px;padding-block:12px}
body .hero .hero-title {font-size:clamp(36px,3.5vw,48px)!important;line-height:1.08!important;letter-spacing:-.035em!important;margin:16px 0}
body .hero .hero-title-line {text-wrap:pretty}
body .hero .hero-subline {font-size:16px;line-height:1.55;margin:14px 0 18px;max-width:520px}
body .hero .hero-subline :is(span,b,strong,i,em) {color:#42604b!important}
body .hero .actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0}
body .hero .actions > .landing-cta {width:100%;min-width:0;font-size:15px;min-height:46px;padding:12px 14px}
body .hero .hero-browse {background:#f7faf5;color:#204c32;border:1px solid #a8c4ad;box-shadow:none}
body .hero .actions > #heroGroupQuiz {grid-column:1/-1;justify-self:start;width:auto;min-height:36px;padding:6px 0;background:transparent!important;border:0!important;font-size:13px;font-weight:600;box-shadow:none!important}
body .race-strip {padding-block:16px}
body .race-strip-summary {margin-bottom:10px;padding:12px 16px}
body .race-strip-card .race-strip-proof {max-width:none}
body .race-strip .knowledge-duel {gap:16px!important}
body .race-strip .knowledge-duel > .duel-side {padding:14px 18px!important}
body .knowledge-duel .duel-meta {min-height:2.8em}
body .race-strip .progress-detail {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;margin-top:12px;padding:12px 16px}
body .race-strip .progress-detail > .race-strip-status {border-bottom:0;padding:0!important}
body .race-strip .progress-detail > .cycle-meta {margin:0!important;border-left:1px solid #d3dfd5;padding-left:20px}
body #topics .topics-head {margin-bottom:12px}
body #topics .topic-grid {gap:12px}
body #topics .topic-card {min-height:148px;padding:14px}
body #topics .topic-top {margin-bottom:12px}
body #topics .topic-card > b {font-size:16px;min-height:2.6em;line-height:1.3}
body #topics .topic-card p {font-size:13px;line-height:1.4}
body #topics .topics-start-actions {margin-top:14px}
body #kaip .steps {margin-top:14px}
body .supporter-grid {gap:16px}
body .supporter-card {padding:18px}
body .supporter-card .challenge-panel-head b {font-size:18px;line-height:1.3}
body .landing-example #campaignPreview {padding:20px;gap:12px 24px}
body .site-footer {padding-block:20px}
body .site-footer .footer-row {gap:14px}
body .ui-direction {display:inline-block;width:18px;height:18px;vertical-align:-.2em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;margin-right:.3em}
body #topicsNext span {font-size:0;display:block;width:20px;height:20px;background:currentColor;mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M4 12h16m-6-6 6 6-6 6"/%3E%3C/svg%3E') center/contain no-repeat}
@media(min-width:801px) {
 body .supporter-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 body .supporter-latest-card {grid-column:1/-1}
 body #remejams .sponsor {gap:24px;padding:22px}
 body .hero .landing-character {inset:-20px calc((100vw - 100%)/-2) -16px}
}
@media(max-width:800px) {
 body :is(#topics,#kaip,.supporter-hub,.landing-example,#remejams) {padding-block:18px}
 body .hero {padding:0 0 10px}
 body .hero .grid {display:block;min-height:0;padding-top:225px}
 body .hero .landing-character {inset:0 -16px auto;height:255px}
 body .hero .landing-handwritten {top:58px;left:18px;font-size:23px}
 body .hero .grid > div:first-child {padding:0}
 body .hero .hero-title {font-size:clamp(29px,7.9vw,34px)!important;line-height:1.08!important;margin:12px 0}
 body .hero .hero-explainer-trigger {font-size:10px}
 body .hero .hero-subline {font-size:14px;line-height:1.5;margin:10px 0 16px}
 body .hero .actions {gap:8px}
 body .hero .actions > .landing-cta {font-size:14px;min-height:44px;padding:10px 12px}
 body .hero .actions > #heroGroupQuiz {justify-self:center;min-height:32px;padding:4px 0;font-size:12px}
 body .race-strip .knowledge-duel {gap:10px!important}
 body .race-strip .knowledge-duel > .duel-side {padding:12px!important}
 body .race-strip .progress-detail {display:block;padding:12px}
 body .race-strip .progress-detail > .race-strip-status {padding-bottom:10px!important;border-bottom:1px solid #d3dfd5}
 body .race-strip .progress-detail > .cycle-meta {padding:0;margin-top:10px!important;border-left:0}
 body #topics .topic-grid {grid-auto-columns:minmax(210px,72vw);gap:10px}
 body #topics .topic-card {min-height:148px;padding:12px}
 body .supporter-card {padding:14px}
 body .landing-example #campaignPreview {padding:16px}
}
