/* A second pass on the selected crimson direction. No animation libraries. */
[hidden]{display:none!important}
.course-picker{margin:0;padding:0;border:0;min-width:0}
.course-picker legend{font-size:11px;margin-bottom:10px}
.course-picker-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.course-picker-options label{position:relative;cursor:pointer;min-width:0}
.course-picker-options input{position:absolute;width:1px;height:1px;opacity:0;inset:0;margin:0;min-height:0;padding:0;border:0}
.course-picker-options label>span{display:grid;position:relative;gap:6px;border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:16px 32px 16px 14px;min-height:78px;color:var(--text);height:100%}
.course-picker-options strong{font-size:14px;font-weight:600}
.course-picker-options small{font-size:10px;line-height:1.6;color:var(--muted)}
.course-picker-options i{position:absolute;right:12px;top:16px;font-style:normal;color:var(--accent);opacity:0}
.course-picker-options input:checked+span{border-color:var(--accent);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--accent)}
.course-picker-options input:checked+span i{opacity:1}
.course-picker-options input:focus-visible+span{outline:3px solid var(--accent);outline-offset:4px}
.course-picker-options .undecided{grid-column:1/-1}
.course-picker-options .undecided>span{min-height:60px;grid-template-columns:1fr;padding-right:32px}
@media(hover:hover) and (pointer:fine){.course-picker-options label:hover>span{border-color:var(--accent)}}
@media(prefers-reduced-motion:no-preference){.course-picker-options label>span{transition:border-color 160ms ease,background-color 160ms ease,transform 140ms var(--ease)}.course-picker-options label:active>span{transform:scale(.98)}}
@media(max-width:400px){.course-picker-options{grid-template-columns:1fr}.course-picker-options label>span{min-height:66px}}
body{padding-bottom:66px}
section[id]{scroll-margin-top:96px}
.theme-switch{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);box-shadow:0 6px 24px #160c1226;font-size:12px;font-weight:600;touch-action:manipulation}
.theme-switch>span:first-child{font-size:23px;line-height:1;color:var(--accent)}
.route{display:grid;grid-template-columns:1fr 1.05fr;gap:72px;border-top:1px solid var(--line);padding-block:56px 90px;align-items:center}
.route .eyebrow{margin-bottom:20px}
.route .eyebrow,.qa-lab .eyebrow{color:var(--accent)}
.route-options{display:grid;gap:10px;margin-top:28px;max-width:350px}
.route-options button{display:flex;justify-content:space-between;align-items:center;gap:20px;background:transparent;border:1px solid var(--line);border-radius:var(--radius);padding:16px 20px;min-height:54px;text-align:left;color:var(--text);font-size:14px}
.route-options button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}
.route-preview{padding:30px 0 30px 36px;border-left:1px solid var(--line);min-height:300px}
.route-label{font-size:14px;font-weight:600;color:var(--accent)}
.route-preview ol{list-style:none;padding:0;margin:26px 0;display:grid;gap:24px}
.route-preview li{display:flex;gap:18px;align-items:center;font-size:14px;line-height:1.7}
.route-preview li>span{font-size:12px;color:var(--accent);font-variant-numeric:tabular-nums}
.route-preview .text-link{color:var(--text)}
.route-notice{font-size:11px;margin-top:18px;line-height:1.8;max-width:340px}
.qa-lab{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;align-items:center;padding-block:50px 100px;border-top:1px solid var(--line)}
.qa-lab .eyebrow{margin-bottom:20px}
.bug-lab{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px;min-width:0}
.lab-label{font-size:11px;margin-bottom:24px;color:var(--muted)}
.lab-field{display:grid;gap:8px;font-size:12px;color:var(--muted)}
.lab-field input{font:16px Manrope,system-ui,sans-serif;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:13px 14px;width:100%;min-width:0}
.lab-run{margin-top:16px;font-size:12px;min-height:46px}
.lab-output{font-size:12px;line-height:1.8;min-height:42px;margin-top:18px}
.lab-output.is-error{color:var(--accent)}
.bug-lab fieldset{min-width:0;border:0;padding:0;margin:12px 0 0}
.bug-lab legend{font-size:13px;font-weight:600;margin-bottom:16px}
.bug-lab fieldset:disabled{opacity:.55}
.bug-lab button:disabled{cursor:not-allowed}
.lab-reset{border:0;padding:8px 0;background:transparent;color:var(--muted);font-size:12px;min-height:44px;margin-top:8px}
.payment-heading{margin-top:64px;max-width:780px}
.payment-heading .section-copy{max-width:700px}
.payment-providers{padding-block:28px 30px;border-bottom:1px solid var(--line)}
.providers-label{font-size:12px;color:var(--accent);margin-bottom:18px}
.payment-providers ul{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;margin:0}
.payment-providers li{display:flex;flex-direction:column;gap:12px;padding-block:16px}
.provider-name{font-size:24px;font-weight:800;letter-spacing:-.7px;color:var(--text)}
.payment-providers li>span:last-child{font-size:11px;color:var(--muted)}
.provider-notice{font-size:12px;line-height:1.85;max-width:720px;margin-top:18px}
.payment-terms{margin-top:8px}
.payment-terms details{border-bottom:1px solid var(--line)}
.payment-terms summary{font-size:18px;font-weight:600;padding-block:26px;line-height:1.5}
.terms-body{padding-bottom:28px;max-width:900px;font-size:14px;line-height:1.9;color:var(--muted)}
.terms-body p{max-width:75ch}
.eligibility{padding-left:20px;margin:0 0 24px;display:grid;gap:5px}
.terms-table-wrap{max-width:100%;min-width:0}
.terms-body table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}
.terms-body caption{text-align:left;font-size:12px;padding-bottom:12px;color:var(--text)}
.terms-body th,.terms-body td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:16px 14px 16px 0;overflow-wrap:anywhere}
.terms-body th{color:var(--text);font-weight:600}
.terms-body th:first-child{width:22%}
.terms-body th:nth-child(2){width:29%}
.terms-body .terms-caveat{margin-top:22px;font-size:12px}
.faq-list details:first-child summary{padding-top:20px}
.faq>.reveal,.faq>div:first-child{position:sticky;top:110px}
.faq>div:first-child .text-link{margin-top:24px;color:var(--accent)}
.demo-notice{border:1px solid var(--line);border-radius:6px;padding:12px;line-height:1.6}
[data-variant=crimson] .promo{border:1px solid var(--line)}
.site-header{background:var(--bg)}
/* Fourth variant: red stays concentrated in actions and a physical hero spotlight. */
:root[data-palette=scarlet]{--bg:#160e12;--surface:#23161c;--surface-2:#321b24;--text:#f9eeed;--muted:#cdb8c0;--line:#60404d;--accent:#ff7a80;--accent-text:#350c18;--radius:10px}
:root[data-palette=scarlet][data-mode=light]{--bg:#faf0ec;--surface:#f1ddd8;--surface-2:#ead1cb;--text:#32141c;--muted:#74515c;--line:#bd959c;--accent:#aa2039;--accent-text:#fff2eb;color-scheme:light}
[data-palette=scarlet] .hero{background:#220e17;border:1px solid #6c293c;position:relative;overflow:hidden}
[data-palette=scarlet] .hero:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 85% 60%,#b11d3e70,transparent 60%);pointer-events:none}
[data-palette=scarlet] .hero h1 span{color:#ff7988}
[data-palette=scarlet] .hero-actions .button{background:#fa6478;color:#300c17}
[data-palette=scarlet][data-mode=light] .hero{background:#e7bbc0;color:#34111e;border-color:#b67986}
[data-palette=scarlet][data-mode=light] .hero h1 span{color:#8d1935}
[data-palette=scarlet][data-mode=light] .hero .eyebrow,[data-palette=scarlet][data-mode=light] .hero-description,[data-palette=scarlet][data-mode=light] .hero-actions .text-link{color:#572535}
[data-palette=scarlet][data-mode=light] .hero-actions .button{background:#8d1935;color:#fff1e9}
[data-palette=scarlet] .course{background:var(--surface);border-color:var(--line)}
@media(hover:hover) and (pointer:fine){.theme-switch:hover,.route-options button:hover{border-color:var(--accent)}.bug-lab .quiz-answers button:disabled:hover{border-color:var(--line)}.route-options button:hover span{transform:translate(2px,-2px)}}
@media(prefers-reduced-motion:no-preference){.theme-switch,.route-options button{transition:transform 160ms var(--ease),background-color 180ms ease,border-color 180ms ease}.theme-switch:active,.route-options button:active{transform:scale(.97)}.route-options button span{transition:transform 180ms var(--ease)}.route-preview.is-new{animation:route-arrive 220ms var(--ease)}.hero-visual img{transition:transform 650ms var(--ease)}.hero-visual.is-tilted img{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) rotateZ(8deg)}.course{transition:border-color 180ms ease,transform 200ms var(--ease)}.course:focus-within{border-color:var(--accent)}details[open]>.terms-body,details[open]>p{animation:route-arrive 180ms var(--ease)}@keyframes route-arrive{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}
html.keyboard-input *,html.keyboard-input *:before,html.keyboard-input *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:1100px){.route,.qa-lab{gap:40px}.provider-name{font-size:21px}}
@media(max-width:767px){.route,.qa-lab{grid-template-columns:1fr;gap:28px;padding-block:38px 56px}.route-options{max-width:none}.route-preview{padding:0;border-left:0;border-top:1px solid var(--line);padding-top:26px;min-height:0}.route-preview li{font-size:13px}.bug-lab{padding:22px}.payment-heading{margin-top:42px}.payment-providers ul{grid-template-columns:1fr;gap:0}.payment-providers li{flex-direction:row;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding-block:18px}.payment-providers li:last-child{border:0}.provider-name{font-size:23px}.payment-providers li>span:last-child{font-size:10px}.payment-terms summary{font-size:16px}.terms-body{font-size:13px}.terms-body table{font-size:11px}.terms-body th,.terms-body td{padding:12px 10px 12px 0}.terms-body th:first-child{width:24%}.terms-body th:nth-child(2){width:29%}.faq>div:first-child{position:static}.theme-switch{bottom:14px;right:14px;padding:9px 13px;min-height:44px}.lab-run{font-size:12px}.bug-lab fieldset .quiz-answers{display:grid;grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hero-visual.is-tilted img{transform:rotate(8deg)}}
/* Legal navigation stays visible, reachable and legible in both themes. */
.footer .footer-documents{display:flex;flex-wrap:wrap;gap:12px;font-size:14px}
.footer-documents a{display:inline-flex;align-items:center;min-height:48px;padding:12px 18px;border:1px solid var(--accent);border-radius:10px;color:var(--text);background:var(--surface);text-decoration:underline;text-underline-offset:4px;transition:background-color 180ms ease,color 180ms ease,box-shadow 180ms ease}
.footer-documents a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.footer .footer-requisites{flex-basis:100%;display:block;padding-top:24px;border-top:1px solid var(--line);font-size:14px;line-height:1.8;color:var(--text)}
.footer-requisites span,.footer-requisites small{display:block}.footer-requisites small{font-size:12px;color:var(--muted);margin-top:12px}
.site-header .brand img{width:48px;height:48px}
@media(hover:hover) and (pointer:fine){.footer-documents a:hover{background:var(--accent);color:var(--accent-text);box-shadow:0 0 24px color-mix(in srgb,var(--accent) 22%,transparent)}}
@media(max-width:400px){.footer .footer-documents{width:100%}.footer-documents a{width:100%;font-size:13px}}
