/* Landing 25.11. Mobile first. The route sheet is the page's object: paper slips with dotted leaders
   on flat brand fields (white, soft blue, lime, CertSeek blue). Motion is transform/opacity only and
   switches off under prefers-reduced-motion. */
/* Owner 27.11 ("buttons jump on load"). Fonts are served with no-store, so every visit and every reload
   downloads Switzer again and swaps it in (font-display:swap, explorer.css). Until it arrives the page uses a
   local Arial/Helvetica scaled to Switzer's widths and line metrics (measured in
   research/landing-polish-20261127/font-metrics.mjs), so the swap does not rewrap the headline or move the
   buttons under it. Bold is narrower in Switzer, hence two fallback faces. */
@font-face{font-family:'Switzer fallback';src:local('Arial'),local('ArialMT'),local('Helvetica'),local('Liberation Sans');font-weight:100 500;font-style:normal;size-adjust:99.83%;ascent-override:98.17%;descent-override:25.04%;line-gap-override:0%}
@font-face{font-family:'Switzer fallback';src:local('Liberation Sans Bold'),local('LiberationSans-Bold'),local('Arial Bold'),local('Arial-BoldMT'),local('Helvetica Bold');font-weight:501 900;font-style:normal;size-adjust:95.1%;ascent-override:103.05%;descent-override:26.29%;line-gap-override:0%}
.home-page{--accent:#2848d8;--accent-deep:#1b2f99;--highlight:#d8f568;--soft:#f3f5fd;--ink:#202334;--muted:#555c70;--on-accent:#fff;--home-paper:#f7f8fa;--finder:#edf4d7;--home-space:20px;--home-radius:24px;--home-ease:cubic-bezier(.22,1,.36,1);--zigzag:polygon(0 0,100% 0,100% 100%,95.833% calc(100% - 10px),91.667% 100%,87.5% calc(100% - 10px),83.333% 100%,79.167% calc(100% - 10px),75% 100%,70.833% calc(100% - 10px),66.667% 100%,62.5% calc(100% - 10px),58.333% 100%,54.167% calc(100% - 10px),50% 100%,45.833% calc(100% - 10px),41.667% 100%,37.5% calc(100% - 10px),33.333% 100%,29.167% calc(100% - 10px),25% 100%,20.833% calc(100% - 10px),16.667% 100%,12.5% calc(100% - 10px),8.333% 100%,4.167% calc(100% - 10px),0 100%)}
/* Main content only: the site header keeps the exact font stack it has on every page (site-header-browser). */
.home-page main{font-family:Switzer,'Switzer fallback',sans-serif}
.home-page main{width:100%;max-width:1440px;margin:auto;padding:8px 12px 0;box-sizing:border-box}
.home-page main *{box-sizing:border-box}
.home-page main p{font-size:17px;line-height:1.6;color:var(--ink)}
.home-page main h1,.home-page main h2,.home-page main h3{font-weight:600;letter-spacing:-.04em;text-wrap:balance;margin:0;color:inherit}
.home-page main h1{font-size:clamp(32px,9vw,64px);line-height:1.04}
/* Goal tabs reserve two lines (27.11), so "Everyday life" can wrap or not without changing their height. */
/* 32 px floor (27.11): at 320 px "Make Portuguese" now fits its line, so the web font and the fallback break it alike. */
.home-page main h2{font-size:clamp(30px,7.6vw,52px);line-height:1.08}
.home-page main h3{font-size:20px;line-height:1.3;letter-spacing:-.02em}
.home-page .button{display:inline-flex;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:15px 20px;font-size:16px;line-height:1.4;border-radius:16px;text-decoration:none;font-weight:600;max-width:100%}
.home-page .button:hover{filter:none}
.home-page .button.primary:hover{background:#203cb6;border-color:#203cb6}
.home-page .button.primary:active{background:#192f94;border-color:#192f94}
.home-page .home-text-link{display:flex;align-items:center;gap:12px;min-height:48px;width:fit-content;font-size:17px;font-weight:550;text-decoration:underline;text-underline-offset:5px;padding-block:12px;color:inherit;border-radius:8px}
.home-page main a,.home-page main button,.home-page main label{transition:transform 220ms var(--home-ease),background-color 220ms ease,color 220ms ease,box-shadow 220ms ease}
.home-page main a>span[aria-hidden]:not(.home-leader),.home-page main button>span[aria-hidden]{display:inline-block;transition:transform 220ms ease}
.home-page main :is(a,button):hover>span[aria-hidden]:not(.home-leader){transform:translateX(4px)}
.home-page main a:active{transform:translateY(2px)}
.home-page main :is(a,button,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.home-section{padding:48px var(--home-space);margin-block:12px;border-radius:var(--home-radius);scroll-margin-top:24px}
.home-leader{align-self:end;min-width:16px;height:0;margin-bottom:.42em;border-bottom:4px dotted currentColor;opacity:.4}
.home-route-steps .home-leader{display:none}

/* Hero: the copy, then the route sheet on a blue field. */
.home-hero{display:grid;gap:24px;padding:20px 8px 8px}
.home-hero-copy{min-width:0;padding-inline:12px}
.home-page .home-hero-copy>p{max-width:23.5em;margin:16px 0 0}
.home-hero-more{margin:-12px 12px 0}
/* Returning visitors read "Continue your plan" (home.mjs): the button keeps the width of the longer label. */
.home-route{min-width:0;padding:20px 14px 14px;background:var(--accent);color:var(--on-accent);border-radius:var(--home-radius)}
.home-page .home-route h2{font-size:22px;letter-spacing:-.03em;padding-inline:6px}
.home-goals{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:14px 0 12px;padding:0;border:0;min-width:0}
.home-goals input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.home-goals label{display:flex;align-items:center;justify-content:center;min-height:calc(2.4em + 16px);padding:8px 6px;border-radius:14px;background:var(--accent-deep);color:var(--on-accent);font-size:15px;font-weight:600;line-height:1.2;text-align:center;cursor:pointer}
.home-goals label:hover{background:#13247a}
.home-goals input:checked+label{background:var(--highlight);color:var(--ink)}
.home-goals input:focus-visible+label{outline:2px solid var(--on-accent);outline-offset:3px}
.home-goals input:active+label{transform:scale(.97)}
.home-route-slip{display:block;background:var(--on-accent);color:var(--ink);padding:22px 16px 34px;clip-path:var(--zigzag)}
.home-route-slip+.home-route-slip{margin-top:12px}
@supports selector(:has(*)){
 .home-route-slip{display:none}
 .home-route-slip+.home-route-slip{margin-top:0}
 .home-route:has(#home-goal-nationality:checked) [data-goal=nationality],.home-route:has(#home-goal-residence:checked) [data-goal=residence],.home-route:has(#home-goal-learning:checked) [data-goal=learning]{display:block}
}
.home-route-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.home-route-steps li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:start;column-gap:10px;font-size:16px;line-height:1.4}
.home-row-text{min-width:0;padding-top:1px}
.home-row-value{font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap;align-self:end}
.home-tick{width:24px;height:24px;display:block}
.home-tick circle{fill:var(--highlight)}
.home-tick path{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:16;stroke-dashoffset:0}
.home-page main .home-route-total{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;gap:16px;margin:20px 0 0;padding:12px 14px;background:var(--ink);color:var(--on-accent);font-weight:600;font-size:16px;line-height:1.4}
/* Owner 27.11: the total starts dark and turns lime once the checklist has ticked through (home.mjs adds
   .is-complete). The lime fades in quickly and the text turns dark halfway (it never sits light on lime), then a soft
   shine sweeps across. With reduced motion or without scripts the bar is lime from the start. Leaving
   .is-complete (a new goal) snaps back to dark, then the sheet replays. */
.home-route-total:before{content:'';position:absolute;inset:0;z-index:-1;background:var(--highlight);opacity:0}
.home-route-total:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,transparent 35%,#ffffffb3 50%,transparent 65%);transform:translateX(-100%);pointer-events:none}
.home-route-price{display:inline-block}
.home-page main .home-route.is-complete .home-route-total{color:var(--ink);background-color:var(--highlight);transition:color 0s linear 150ms,background-color 0s linear 300ms}
.home-route.is-complete .home-route-total:before{opacity:1;transition:opacity 300ms ease-in-out}
/* The route line: a soft connector between the ticks; it draws down as the sheet plays. */
.home-route-steps li{position:relative}
.home-route-steps li:not(:last-child):before{content:'';position:absolute;left:11px;top:26px;bottom:-12px;width:2px;border-radius:2px;background:#c9d2f6;transform-origin:top center}
.home-tick{position:relative;z-index:1}
.home-route-cta{width:100%;margin-top:12px}

/* Courses: the totals (all levels, named as such) and the finder with its own live count. */
.home-courses{background:var(--soft);display:grid;gap:36px}
.home-count-copy{min-width:0}
.home-page .home-count-copy>p:first-of-type{max-width:42ch;margin:20px 0 0}
.home-page .home-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:32px 0 0;padding:0;list-style:none}
.home-stat{display:grid;align-content:space-between;gap:12px;min-width:0;padding:20px 16px 18px;background:var(--on-accent);border-radius:20px}
.home-stat-number{display:block;font-size:clamp(44px,14vw,112px);line-height:.9;font-weight:600;letter-spacing:-.06em;font-variant-numeric:tabular-nums;color:var(--accent);white-space:nowrap}
.home-stat-label{display:block;font-size:16px;line-height:1.35;font-weight:550;color:var(--ink)}
.home-course-picture{display:grid;gap:12px;margin:0;padding:28px 16px;background:var(--finder);border-radius:var(--home-radius);min-width:0}
.home-finder-fields{display:grid;gap:16px}
.home-finder-fields>div{display:grid;gap:10px;min-width:0}
.home-course-picture label{font-size:17px;font-weight:550}
.home-select{position:relative;min-width:0;color:var(--ink)}
.home-select:after{content:'';position:absolute;right:20px;top:50%;width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.home-course-picture select{appearance:none;width:100%;min-width:0;min-height:58px;border:2px solid transparent;border-radius:14px;padding:14px 48px 14px 16px;background:var(--on-accent);color:var(--ink);font:inherit;font-size:16px;cursor:pointer}
.home-course-picture select:hover:not(:disabled){background:var(--home-paper)}
.home-course-picture select:disabled{cursor:not-allowed;color:var(--muted);background:var(--home-paper)}
.home-select:has(select:disabled){color:var(--muted)}
.home-page .home-finder-count{margin:4px 0 0;font-size:17px;font-weight:550}
.home-finder-count[hidden]{display:none}
/* The location list is a searchable combobox (choice-picker.mjs); it keeps the look of the field it replaces. */
.home-course-picture .choice-picker{color:var(--ink)}
.home-course-picture input.choice-search,.home-course-picture button.choice-trigger{appearance:none;-webkit-appearance:none;min-height:58px;border:2px solid transparent;border-radius:14px;padding:14px 48px 14px 16px;background:var(--on-accent);color:var(--ink);font:inherit;font-size:16px;font-weight:400;line-height:1.4}
.home-course-picture input.choice-search:hover:not(:disabled),.home-course-picture button.choice-trigger:hover:not(:disabled){background:var(--home-paper);border-color:transparent}
.home-course-picture :is(input.choice-search,button.choice-trigger)[aria-expanded=true]{border-color:var(--accent);background:var(--on-accent)}
.home-course-picture :is(input.choice-search,button.choice-trigger):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.home-course-picture input.choice-search:disabled,.home-course-picture button.choice-trigger:disabled{opacity:1;color:var(--muted);background:var(--home-paper)}
.home-course-picture input.choice-search::placeholder{color:var(--muted)}
.home-course-picture .choice-chevron{color:transparent}
/* The enhanced field keeps the native select's box (owner 27.11): its hidden chevron leaves the text flow, and the
   value stays on one line, so at 320 px "In person or online" no longer wraps and pushes the button down. */
.home-course-picture button.choice-trigger{position:relative}
.home-course-picture button.choice-trigger>.choice-chevron{position:absolute;right:16px;top:50%;margin-top:-10px}
.home-course-picture button.choice-trigger>.choice-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-course-picture .is-filterable>.choice-chevron{right:4px;width:48px;height:48px;margin-top:-24px}
.home-select:has(:is(input,button).choice-trigger:disabled){color:var(--muted)}
.home-page .choice-popup{border-radius:16px;padding:8px;font-family:inherit;font-size:16px;color:var(--ink);border-color:#d5dbef;box-shadow:0 16px 40px #1b2f9926}
.home-page .choice-option{border-radius:10px;min-height:48px}
.home-page .choice-option.is-active,.home-page .choice-option:hover:not([aria-disabled=true]){background:var(--soft);color:var(--accent-deep);box-shadow:inset 0 0 0 1px #c8d1f5}
.home-page .choice-option[aria-selected=true]{background:var(--finder);color:var(--ink)}
.home-page .choice-check{color:var(--accent-deep)}
.home-course-picture .button{width:100%;cursor:pointer}
.home-page .home-finder-note{margin:4px 0 0;font-size:16px;color:var(--muted)}

/* Next CIPLE exam (2.12): a compact lime strip between the counts and the checker. Secondary links only. */
.home-exam{background:var(--finder);display:grid;gap:14px;padding-block:28px 20px}
.home-page .home-exam h2{font-size:clamp(28px,7vw,44px)}
.home-page .home-exam .home-exam-checked{margin:8px 0 0;font-size:15px;line-height:1.4;color:var(--muted)}
.home-page .home-exam .home-exam-note{margin:0;max-width:52ch;font-size:16px;line-height:1.5}
.home-exam-sessions{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.home-exam-sessions li{display:grid;gap:2px;padding:10px 14px;background:var(--on-accent);border-radius:16px;font-size:15px;line-height:1.45;color:var(--muted)}
/* Phones show the next two sessions (about half a screen less); wider screens show up to three. */
@media(max-width:599px){.home-exam-sessions li:nth-child(n+3){display:none}}
.home-exam-sessions strong{color:var(--ink);font-weight:600;font-size:17px}
.home-page .home-exam .home-exam-links{display:flex;flex-wrap:wrap;column-gap:20px;margin:0}
.home-page .home-exam .home-text-link{gap:8px;font-size:16px;padding-block:10px;min-height:44px}
/* Certificate checker: what it tells you, on a CertSeek blue field with a paper card of the three answers. */
.home-checker{background:var(--accent-deep);color:var(--on-accent);display:grid;gap:32px}
.home-page .home-checker p{color:var(--on-accent);max-width:44ch;margin:20px 0 0}
.home-page .home-checker .home-checker-copy>p{margin:20px 0 28px}
.home-checker .button.primary{background:var(--highlight);border-color:var(--highlight);color:var(--ink)}
.home-checker .button.primary:hover{background:#e6fb94;border-color:#e6fb94}
.home-checker .button.primary:active{background:#c9e94c;border-color:#c9e94c}
.home-page .home-checker .home-checker-note{grid-column:1/-1;max-width:none;font-size:16px;line-height:1.55;margin:0;padding-left:12px;border-left:3px solid var(--highlight)}
.home-checker .home-checker-note a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--on-accent);font-weight:550;text-decoration:underline;text-underline-offset:4px}
.home-page .home-checker :is(a,button):focus-visible{outline-color:var(--highlight)}
.home-checker-card{min-width:0;align-self:center;background:var(--on-accent);color:var(--ink);padding:24px 18px 38px;clip-path:var(--zigzag)}
.home-checker-card h3{margin-bottom:16px!important}
.home-checker-card ul{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.home-checker-card li{display:grid;grid-template-columns:14px minmax(0,1fr);gap:12px;align-items:start;font-size:16px;line-height:1.45;color:var(--muted)}
.home-checker-card li strong{display:block;color:var(--ink);font-weight:600;font-size:17px;margin-bottom:2px}
.home-checker-dot{width:14px;height:14px;margin-top:5px;border-radius:50%;background:var(--accent)}
.home-checker-card .is-match .home-checker-dot{background:#4f8a10}
.home-checker-card .is-review .home-checker-dot{background:#d99a00}
.home-checker-card .is-negative .home-checker-dot{background:#b5452a}

/* Questions folded into <details> (B1), then the three steps with one action and the photo. */
.home-faq{background:var(--home-paper);display:grid;gap:28px}
.home-faq-list{border-top:1px solid #dde1ec;min-width:0}
.home-faq-list details{border-bottom:1px solid #dde1ec}
.home-faq-list summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:56px;padding:12px 0;font-size:18px;font-weight:600;line-height:1.35;letter-spacing:-.01em;cursor:pointer;list-style:none;border-radius:8px}
.home-faq-list summary::-webkit-details-marker{display:none}
.home-faq-list summary:after{content:'';flex:none;width:10px;height:10px;margin-right:6px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:translateY(-3px) rotate(45deg);transition:transform 220ms var(--home-ease)}
.home-faq-list details[open] summary:after{transform:translateY(2px) rotate(-135deg)}
.home-faq-list summary:hover{color:var(--accent-deep)}
.home-faq-list summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.home-page .home-faq-list details p{margin:0 0 20px;max-width:60ch;color:var(--muted)}
.home-faq-list .home-text-link{margin-top:16px}
.home-page .home-faq h2{font-size:clamp(28px,6vw,40px)}
.home-final{background:var(--accent);display:grid;gap:28px;padding-bottom:40px;overflow:hidden}
.home-reply{background:var(--on-accent);padding:32px 20px;transform:rotate(-1deg);min-width:0}
.home-page .home-reply h2{font-size:clamp(28px,6vw,40px);margin-bottom:24px}
.home-steps{list-style:none;counter-reset:home-step;margin:0 0 28px;padding:0;display:grid;gap:18px}
.home-steps li{counter-increment:home-step;display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:14px;font-size:16px;line-height:1.5;color:var(--muted)}
.home-steps li:before{content:counter(home-step);grid-row:1/span 2;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--highlight);color:var(--ink);font-weight:650}
.home-steps strong{display:block;color:var(--ink);font-size:18px;font-weight:600;line-height:1.4}
.home-reply .button{width:100%}
.home-hero-picture{margin:0;min-width:0;border-radius:var(--home-radius);overflow:hidden}
.home-hero-picture img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:48% 50%;border-radius:0}
.home-page footer{margin-top:40px;padding-block:32px}
.home-page footer>span{font-size:16px}

@media(min-width:600px){
 .home-page{--home-space:clamp(28px,5vw,72px);--home-radius:32px}
 .home-page main{padding:16px 24px 0}
 .home-route{padding:28px 24px 24px}
 .home-route-slip{padding:26px 24px 38px}
 .home-goals label{font-size:16px}
 .home-course-picture{padding:36px 32px}
 .home-finder-fields{grid-template-columns:1fr 1fr}
 .home-route-steps .home-leader{display:block}
 .home-route-steps li{grid-template-columns:24px minmax(0,auto) minmax(16px,1fr) auto}
 .home-reply{padding:40px 36px}
}
@media(min-width:900px){
 .home-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:56px;padding:56px 0 24px}
 .home-hero{grid-template-areas:"copy route" "more route";row-gap:0}
 .home-hero-copy{grid-area:copy;align-self:end;padding-inline:var(--home-space) 0}
 .home-route{grid-area:route}
 .home-hero-more{grid-area:more;align-self:start;margin:20px 0 0 var(--home-space)}
 .home-route{padding:32px}
 .home-section{padding-block:104px;margin-block:24px}
 .home-courses{row-gap:56px}
 .home-count-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(40px,6vw,88px);align-items:end}
 .home-count-copy>:not(.home-stats){grid-column:1}
 .home-page .home-stats{grid-column:2;grid-row:1/span 2;margin:0}
 .home-course-picture{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:32px;padding:40px}
 .home-course-picture h3,.home-finder-note{grid-column:1/-1}
 .home-course-picture .home-finder-fields{grid-column:1/-1}
 .home-page .home-finder-count{margin:0;min-height:0;grid-column:1}
 .home-course-picture .home-finder-submit{grid-column:2}
 .home-exam-sessions li{padding:12px 16px;font-size:16px}
 .home-exam{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(40px,6vw,88px);padding-block:56px;align-items:start}
 .home-checker{grid-template-columns:minmax(0,1fr) minmax(0,480px);column-gap:clamp(40px,8vw,120px);align-items:center}
 .home-checker-card{padding:32px 28px 46px}
 .home-course-picture .button{width:auto;min-width:240px}
 .home-faq{grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:56px}
 .home-final{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:56px;padding-bottom:104px}
 .home-reply{padding:56px 48px}
 .home-final .home-hero-picture{order:-1}
 .home-hero-picture img{aspect-ratio:3/2}
}
@media(min-width:900px) and (max-width:1199px){.home-page main h1{font-size:4.8vw}}
@media(min-width:1200px){.home-hero{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}.home-page main h1{font-size:min(5vw,80px);line-height:.98}.home-route-slip{padding-inline:20px}}
/* Narrow phones (B1): the goal sheet and its button stay in the first screen at 320 px too. */
@media(max-width:359px){.home-page .home-hero-copy>p{font-size:16px;line-height:1.5}.home-page .home-route h2{font-size:20px}.home-route{padding-inline:10px}.home-route-slip{padding-inline:12px}.home-route-steps li{font-size:15px;column-gap:8px}.home-page main .home-route-total{font-size:14px;gap:8px;padding-inline:10px;white-space:nowrap}.home-page .home-route-cta{padding-inline:14px;font-size:15px}}
/* Landscape phones: keep the headline and main action inside the first screen (Q02). */
@media(orientation:landscape) and (max-height:500px){
 .home-hero{padding-top:16px;align-items:start}
 .home-page main h1{font-size:34px}
 .home-page .home-hero-copy>p{margin:12px 0 16px;font-size:16px;line-height:1.5}
 .home-hero-copy>.home-text-link{margin-top:0}
}
@media(orientation:landscape) and (max-height:500px) and (min-width:700px){.home-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.home-route{padding:18px}.home-goals{margin:12px 0 10px}}

/* Motion (owner 27.11: more motion, calm and playful). Transform and opacity only, so nothing moves the layout.
   Below-the-fold parts rise in as they approach, siblings one after another (home.mjs sets --reveal-delay);
   the route sheet plays once in view and again when the goal changes: rows rise, ticks draw, the route line
   draws down, then the total turns lime. Everything here is off under prefers-reduced-motion. */
.home-will-reveal{opacity:0;transform:translateY(18px)}
.home-will-reveal.home-revealed{opacity:1;transform:none;transition:opacity 560ms var(--home-ease) var(--reveal-delay,0ms),transform 640ms var(--home-ease) var(--reveal-delay,0ms)}
.home-reply.home-will-reveal{transform:translateY(24px) rotate(-3deg)}.home-reply.home-will-reveal.home-revealed{transform:rotate(-1deg)}
.home-hero-picture.home-will-reveal img{transform:scale(1.06)}.home-hero-picture.home-revealed img{transform:none;transition:transform 1200ms var(--home-ease) var(--reveal-delay,0ms)}
.home-stat.home-will-reveal{transform:translateY(18px) scale(.98)}
@keyframes home-row-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes home-tick-pop{0%{transform:scale(.4)}70%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes home-tick-draw{from{stroke-dashoffset:16}to{stroke-dashoffset:0}}
@keyframes home-line-draw{from{transform:scaleY(0)}to{transform:none}}
@keyframes home-price-pop{0%{transform:none}45%{transform:scale(1.18) rotate(-4deg)}100%{transform:none}}
@keyframes home-shine{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@keyframes home-nudge{0%,100%{transform:none}40%{transform:translateX(6px)}70%{transform:translateX(-1px)}}
@keyframes home-tab-pop{0%{transform:scale(.94)}60%{transform:scale(1.04)}100%{transform:none}}
@keyframes home-count-roll{from{opacity:.2;transform:translateY(40%)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
 html:has(.home-page){scroll-behavior:smooth}
 /* Lift on hover only where there is a real pointer: on phones a tap left buttons raised ("jumping"). */
 @media(hover:hover){
  .home-page .button:hover{transform:translateY(-2px)}
  .home-stat{transition:transform 320ms var(--home-ease)}.home-stat:hover{transform:translateY(-3px) rotate(-.6deg)}
 }
 .home-page .button:active{transform:translateY(1px) scale(.985)}
 .home-route.is-playing .home-goals input:checked+label{animation:home-tab-pop 420ms var(--home-ease) both}
 .home-route:is(.is-playing,.is-drawing) .home-route-steps li:not(:last-child):before{animation:home-line-draw 300ms ease-out both}
 .home-route.is-playing .home-route-steps li{animation:home-row-in 460ms var(--home-ease) both}
 .home-route:is(.is-playing,.is-drawing) .home-tick{animation:home-tick-pop 420ms var(--home-ease) both}
 .home-route:is(.is-playing,.is-drawing) .home-tick path{animation:home-tick-draw 380ms ease-out both}
 .home-route.is-complete .home-route-total:after{animation:home-shine 820ms ease-in-out 260ms both}
 .home-route.is-complete .home-route-price{animation:home-price-pop 520ms var(--home-ease) 380ms both}
 .home-route.is-complete .home-route-cta>span[aria-hidden]{animation:home-nudge 700ms var(--home-ease) 620ms both}
 .home-route-steps li:nth-child(2),.home-route-steps li:nth-child(2) .home-tick{animation-delay:110ms!important}
 .home-route-steps li:nth-child(3),.home-route-steps li:nth-child(3) .home-tick{animation-delay:220ms!important}
 .home-route-steps li:nth-child(4),.home-route-steps li:nth-child(4) .home-tick{animation-delay:330ms!important}
 .home-route-steps li:nth-child(5),.home-route-steps li:nth-child(5) .home-tick{animation-delay:440ms!important}
 .home-route-steps li:nth-child(1) .home-tick path{animation-delay:160ms!important}
 .home-route-steps li:nth-child(2) .home-tick path{animation-delay:270ms!important}
 .home-route-steps li:nth-child(3) .home-tick path{animation-delay:380ms!important}
 .home-route-steps li:nth-child(4) .home-tick path{animation-delay:490ms!important}
 .home-route-steps li:nth-child(5) .home-tick path{animation-delay:600ms!important}
 .home-route-steps li:nth-child(1):before{animation-delay:200ms!important}
 .home-route-steps li:nth-child(2):before{animation-delay:310ms!important}
 .home-route-steps li:nth-child(3):before{animation-delay:420ms!important}
 .home-route-steps li:nth-child(4):before{animation-delay:530ms!important}
 .home-finder-count.is-updating strong{animation:home-count-roll 380ms var(--home-ease) both}
 .home-finder-action.is-updating{display:inline-block;animation:home-count-roll 380ms var(--home-ease) both}
}
@media(prefers-reduced-motion:reduce),(scripting:none){.home-page *,.home-page *:before,.home-page *:after{animation:none!important;transition:none!important}.home-page main a:active,.home-page main :is(a,button):hover>span[aria-hidden]{transform:none}html:has(.home-page){scroll-behavior:auto}.home-will-reveal,.home-hero-picture.home-will-reveal img{opacity:1;transform:none}.home-reply.home-will-reveal{transform:rotate(-1deg)}.home-page main .home-route-total{background:var(--highlight);color:var(--ink)}.home-route-total:before{opacity:1}.home-route-total:after{display:none}}
@media(forced-colors:active){.home-course-picture select,.home-course-picture :is(input,button).choice-trigger{appearance:auto;-webkit-appearance:auto;border-color:ButtonText}.home-stat{border:1px solid CanvasText}.home-checker-card{clip-path:none;border:1px solid CanvasText}.home-select:after{display:none}.home-goals input:checked+label{outline:3px solid Highlight}.home-route-slip{clip-path:none;border:1px solid CanvasText}} /* taste-skill-ignore: forced colours remove fills and clip paths, so the sheets need a system-colour edge */
