/* Shared ARLee typography; font licence in assets/fonts/OFL.txt. */
/* cyrillic-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #171b23;
    --muted: #4b5362;
    --line: #d6dfed;
    --soft: #f2f5fa;
    --accent: #174fb5;
    --accent-dark: #123f91;
    --white: #ffffff;
    --shell: 1104px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Nunito Sans", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.site-shell { width: min(calc(100% - 40px), var(--shell)); margin: 0 auto; }
.narrow-shell { max-width: 900px; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 14px; border: 1px solid var(--ink); }

.site-header { border-bottom: 1px solid #f0f1f2; background: #fff; }
.header-inner { min-height: 142px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 245px; }
.header-note { color: var(--muted); font-size: 14px; }

.hero { padding: 66px 0 84px; }
.hero-heading { max-width: 830px; margin-bottom: 42px; border-left: 4px solid var(--accent); padding-left: 22px; }
.eyebrow { margin: 0 0 7px; color: var(--accent-dark); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.hero-lead { margin-bottom: 0; color: var(--muted); font-size: 18px; max-width: 760px; }

.practice-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 72px; align-items: start; }
.field-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.select-wrap { position: relative; }
select { width: 100%; min-height: 52px; padding: 0 46px 0 16px; border: 1px solid #d4dadd; border-radius: 5px; background: #fff; color: var(--ink); font: inherit; appearance: none; -webkit-appearance: none; box-shadow: 0 5px 14px rgba(0,0,0,.035); }
.select-wrap:after { content: ''; position: absolute; right: 18px; top: 20px; width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); pointer-events: none; }
.camera-frame { margin-top: 38px; width: 100%; aspect-ratio: 4 / 3; background: #292929; padding: 9px; }
.camera-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: #6d6d6d; color: rgba(255,255,255,.92); text-align: center; }
.camera-placeholder span { color: rgba(255,255,255,.72); font-size: 14px; }
.camera-icon { width: 40px; height: 27px; border: 3px solid rgba(255,255,255,.8); border-radius: 4px; position: relative; margin-bottom: 7px; }
.camera-icon:after { content: ''; position: absolute; right: -12px; top: 5px; border-width: 7px 0 7px 10px; border-style: solid; border-color: transparent transparent transparent rgba(255,255,255,.8); }
.privacy-note { display: flex; gap: 9px; align-items: center; margin-top: 14px; color: var(--muted); font-size: 14px; }
.lock { font-size: 15px; }

.practice-status { padding-top: 1px; }
.status-item { display: grid; grid-template-columns: 52px 1fr; gap: 24px; margin-bottom: 38px; align-items: start; }
.status-icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 19px; font-weight: 700; }
.status-icon.clock { position: relative; }
.status-icon.clock:before { content: ''; width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; }
.status-icon.clock:after { content: ''; position: absolute; width: 2px; height: 7px; background: #fff; top: 16px; left: 25px; transform-origin: bottom center; transform: rotate(-25deg); }
.status-icon.play:before { content: ''; margin-left: 3px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid #fff; }
.status-item h2 { margin: -3px 0 5px; font-size: 22px; font-weight: 500; }
.status-item p { margin-bottom: 0; color: var(--muted); font-size: 15px; font-style: italic; }

.how-it-works { padding: 82px 0; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-it-works h2, .arlee-cta h2 { margin-bottom: 13px; font-size: 34px; line-height: 1.2; letter-spacing: -.02em; }
.how-it-works > .site-shell > p:not(.eyebrow), .arlee-cta > .site-shell > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 44px; }
.step > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 15px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.step h3 { margin-bottom: 6px; font-size: 18px; }
.step p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.arlee-cta { padding: 82px 0; text-align: center; }
.arlee-cta .eyebrow { text-align: center; }
.button { display: inline-block; margin-top: 13px; padding: 12px 21px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.button-disabled { opacity: .55; cursor: default; }

.site-footer { padding: 30px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-inner p { margin-bottom: 0; }
.footer-small { text-align: right; }

@media (max-width: 820px) {
    .header-inner { min-height: 118px; }
    .brand img { width: 220px; }
    .header-note { display: none; }
    .hero { padding: 46px 0 64px; }
    .practice-card { grid-template-columns: 1fr; gap: 50px; }
    .practice-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .status-item { display: block; margin: 0; }
    .status-icon { margin-bottom: 16px; }
    .steps { gap: 24px; }
}

@media (max-width: 620px) {
    .site-shell { width: min(calc(100% - 28px), var(--shell)); }
    .header-inner { min-height: 104px; justify-content: center; }
    .brand img { width: 205px; }
    .hero-heading { padding-left: 16px; }
    h1 { font-size: 36px; }
    .hero-lead { font-size: 16px; }
    .camera-frame { margin-top: 26px; }
    .practice-status, .steps { grid-template-columns: 1fr; }
    .status-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
    .status-icon { margin-bottom: 0; }
    .how-it-works, .arlee-cta { padding: 62px 0; }
    .how-it-works h2, .arlee-cta h2 { font-size: 29px; }
    .footer-inner { display: block; text-align: center; }
    .footer-small { margin-top: 5px !important; text-align: center; }
}

/* Simulator functionality */
#video-preview { display: none; width: 100%; height: 100%; object-fit: cover; background: #111; }
.simulator-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.simulator-actions .button { margin-top: 0; border: 0; font: inherit; cursor: pointer; }
.simulator-actions .button:disabled { opacity: .45; cursor: default; }
.button-secondary { background: #fff; color: var(--ink); border: 1px solid #cfd5d8 !important; }
.system-message { margin: 14px 0 0; font-size: 14px; }
.error-message { color: #9b2c2c; }
.countdown { color: var(--accent-dark); font-size: 28px; font-style: normal; }
.phase-prepare { color: #b06d00; font-style: normal; }
.phase-answer { color: #278347; font-style: normal; }
.phase-stop { color: #a52a2a; font-style: normal; }
.next-question-wrap { margin: 4px 0 0 76px; }
.next-question-wrap .button { margin-top: 0; }

/* First browser-review refinements */
.header-inner { min-height: 118px; }
.hero { padding-top: 46px; }

@media (max-width: 820px) {
    .header-inner { min-height: 104px; }
    .hero { padding-top: 38px; }
    .next-question-wrap { margin-left: 0; }
}

/* v3: clearer simulator phases */
.phase-status { transition: opacity .2s ease; }
.phase-status .timer-readout { margin-top: 8px; font-style: normal; }
.phase-status .seconds-label { font-style: normal; }
.phase-status.phase-prepare #phase-heading { color: #9a6500; }
.phase-status.phase-answer #phase-heading { color: #278347; }
.phase-status.phase-done #phase-heading { color: #8f2f2f; }
.status-icon.stop:before { content: ''; width: 14px; height: 14px; background: #fff; }

/* Practice controls: local recording and interruption */
.record-option { margin-top: 14px; }
.record-option label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--ink); }
.record-option input { width: 18px; height: 18px; margin-top: 2px; }
.record-option span { display: flex; flex-direction: column; gap: 2px; }
.record-option small { color: var(--muted); font-size: 13px; font-weight: 400; }
.button-danger { background: #fff !important; color: #8b2d2d !important; border: 1px solid #d7b7b7 !important; }
.next-question-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.next-question-wrap[hidden] { display: none; }
.recording-review { margin-top: 20px; padding-top: 18px; border-top: 1px solid #e2e5e7; }
.recording-review h3 { margin: 0 0 10px; font-size: 17px; }
.recording-review video { display: block; width: 100%; max-height: 430px; background: #111; }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.review-actions .button { margin-top: 0; border: 1px solid #cfd5d8; cursor: pointer; }

/* Marketing and conversion sections */
.school-links, .benefit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:34px; }
.school-link, .benefit-card { border:1px solid #dce4ea; border-radius:14px; padding:22px; background:#fff; }
.school-link { display:flex; align-items:center; justify-content:center; min-height:76px; color:#17232d; text-align:center; text-decoration:none; font-weight:700; transition:transform .15s ease,border-color .15s ease; }
.school-link:hover { transform:translateY(-2px); border-color:#91b9d2; }
.content-section { padding:72px 0; }
.content-section.alt { background:#f6f9fb; }
.content-section h2, .arlee-cta h2 { margin:8px 0 14px; font-size:clamp(28px,3vw,40px); line-height:1.15; }
.content-section .section-lead, .arlee-cta > div > p:not(.eyebrow) { max-width:760px; color:#52616c; font-size:18px; line-height:1.65; }
.benefit-card h3 { margin:0 0 8px; font-size:19px; }
.benefit-card p { margin:0; color:#5f6e78; line-height:1.55; }
.arlee-cta { padding:76px 0; text-align:center; background:#17232d; color:#fff; }
.arlee-cta .eyebrow { color:#9bc8e2; }
.arlee-cta > div > p:not(.eyebrow) { margin-left:auto; margin-right:auto; color:#d5dde2; }
.arlee-cta .button { margin-top:18px; }
.arlee-cta .cta-note { display:block; margin-top:13px; color:#aebbc4; font-size:14px; }
.text-link { color:#276b92; font-weight:700; text-decoration:none; }
.text-link:hover { text-decoration:underline; }
@media (max-width:800px){ .school-links,.benefit-grid{grid-template-columns:1fr;} .content-section,.arlee-cta{padding:54px 0;} }

/* v7: simulator controls, timing emphasis and practice guidance */
.simulator-actions [hidden] { display: none !important; }
.practice-controls { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.practice-controls .record-option { margin-top: 0; }
.phase-status .timer-readout:not(:empty) { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 14px; padding: 10px 14px; border: 1px solid #cfe0e8; border-radius: 7px; background: #f2f8fb; color: #315f72; font-size: 15px; font-style: normal; font-weight: 700; }
.phase-status .timer-readout .countdown { padding: 0; background: none; }
.tip-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 34px; }
.tip-card { position: relative; padding: 24px 24px 22px; border: 1px solid #dce4ea; border-radius: 14px; background: #fff; }
.tip-card > span { display: block; margin-bottom: 12px; color: var(--accent-dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.tip-card h3 { margin: 0 0 7px; font-size: 19px; }
.tip-card p { margin: 0; color: #5f6e78; line-height: 1.55; }
.real-conditions { margin-top: 20px; padding: 20px 22px; border-left: 4px solid var(--accent); background: var(--soft); color: #52616c; }
.real-conditions strong { color: var(--ink); }
@media (max-width: 820px) { .tip-grid { grid-template-columns: 1fr; } }

/* v8 fixed: recording review belongs with the live video */
.practice-main > .recording-review { margin-top: 24px; }


/* v12: sticky site navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.97);
}
.header-inner {
    min-height: 92px;
}
.brand img {
    width: 205px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.site-nav a {
    color: #39464e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav a:hover,
.site-nav a:focus {
    color: var(--accent-dark);
}
.site-nav .nav-cta {
    padding: 9px 14px;
    border-radius: 4px;
    background: var(--ink);
    color: #fff;
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
    background: var(--accent-dark);
    color: #fff;
}

.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #39464e;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus {
    color: var(--accent-dark);
}
.nav-dropdown-toggle span {
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 230px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
    transform: translateX(-50%);
}
.nav-dropdown-menu:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -15px;
    height: 15px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
}
.site-nav .nav-dropdown-menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 13px;
}
.site-nav .nav-dropdown-menu a:hover,
.site-nav .nav-dropdown-menu a:focus {
    background: var(--soft);
}
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}
section[id] {
    scroll-margin-top: 110px;
}

/* School guide pages */
.breadcrumbs {
    padding: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.breadcrumbs a {
    color: var(--accent-dark);
    text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.school-hero {
    padding: 42px 0 52px;
}
.school-hero .hero-heading {
    margin-bottom: 0;
}
.school-facts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
    margin-top: 30px;
}
.school-fact {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}
.school-fact strong {
    display: block;
    margin-bottom: 3px;
    font-size: 21px;
}
.school-fact span {
    color: var(--muted);
    font-size: 14px;
}
.guide-copy {
    max-width: 800px;
}
.guide-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(27px,3vw,38px);
    line-height: 1.2;
}
.guide-copy h3 {
    margin: 30px 0 8px;
    font-size: 21px;
}
.guide-copy p,
.guide-copy li {
    color: #52616c;
    font-size: 17px;
}
.guide-copy ul {
    padding-left: 22px;
}
.school-simulator-intro {
    margin-bottom: 34px;
}
.school-simulator-intro h2 {
    margin-bottom: 10px;
    font-size: clamp(28px,3vw,40px);
    line-height: 1.15;
}
.faq-list {
    max-width: 800px;
}
.faq-item {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}
.faq-item:last-child {
    border-bottom: 1px solid var(--line);
}
.faq-item h3 {
    margin: 0 0 7px;
    font-size: 19px;
}
.faq-item p {
    margin: 0;
    color: #52616c;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 78px;
    }
    .brand img {
        width: 185px;
    }
    .nav-toggle {
        display: block;
        margin-left: auto;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 20px 18px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 8px 18px rgba(0,0,0,.06);
    }
    .site-nav.is-open {
        display: block;
    }
    .site-nav a {
        display: block;
        padding: 11px 0;
    }
    .nav-dropdown {
        position: static;
    }
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 11px 0;
    }
    .nav-dropdown-menu {
        position: static;
        width: auto;
        margin: 0 0 8px 12px;
        padding: 0 0 0 14px;
        border: 0;
        border-left: 2px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        transform: none;
    }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: none;
    }
    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
    }
    .site-nav .nav-dropdown-menu a {
        padding: 8px 10px;
        font-size: 13px;
    }
    .site-nav .nav-cta {
        display: inline-block;
        margin-top: 5px;
        padding: 9px 14px;
    }
    .school-facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .header-inner { min-height: 72px; justify-content: space-between; }
    .brand img { width: 172px; }
}

/* End Practice confirmation, shared by all simulators. */
.end-practice-dialog {
    width: calc(100% - 32px);
    max-width: 440px;
    box-sizing: border-box;
    padding: 28px;
    border: 1px solid #d5e1ea;
    border-radius: 10px;
    background: #fff;
    color: #171717;
    box-shadow: 0 16px 60px rgba(0, 0, 0, .2);
    font-family: inherit;
}
.end-practice-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.end-practice-dialog h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.3; }
.end-practice-dialog p { margin: 0; color: #626b73; line-height: 1.6; }
.end-practice-dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.end-practice-dialog-actions .button { margin: 0; }
.end-practice-dialog-actions .button:focus-visible { outline: 2px solid #7da4bb; outline-offset: 3px; }
@media (max-width: 420px) {
    .end-practice-dialog { padding: 22px; }
    .end-practice-dialog-actions .button { flex: 1 1 100%; }
}
/* Shared footer with navigation and copyright. */
.site-footer { padding: 42px 0 24px; border-top: 1px solid #d5e1e9; background: #f2f6f9; color: #52616c; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 28px; }
.footer-brand { display: inline-flex; flex-direction: column; gap: 4px; color: #17232d; text-decoration: none; }
.footer-brand strong { font-size: 17px; }
.footer-brand span { color: #52616c; font-size: 13px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 22px; }
.footer-nav a { color: #3d5d75; font-size: 14px; text-decoration: none; }
.footer-nav .footer-expert-link { color: #276b92; font-weight: 700; }
.footer-nav a:hover, .footer-brand:hover strong { text-decoration: underline; }
.site-footer a:focus-visible { outline: 2px solid #276b92; outline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px 36px; padding-top: 20px; border-top: 1px solid #d5e1e9; }
.footer-bottom p { margin: 0; color: #52616c; font-size: 12px; line-height: 1.6; }
.footer-bottom p:last-child { max-width: 480px; text-align: right; }
.arlee-cta > .site-shell > p:not(.eyebrow) { color: #d5dde2; }
.footer-privacy { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; font-size: 13px; }
.footer-privacy a, .footer-privacy button { color: #3d5d75; }
.footer-privacy button, .cookie-settings-link { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 10000; max-width: 1060px; margin: auto; padding: 22px; background: #fff; color: #17232d; border: 1px solid #c7d5df; border-radius: 10px; box-shadow: 0 4px 30px #17232d33; display: flex; align-items: center; gap: 24px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: #52616c; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.cookie-choice { padding: 11px 16px; border: 1px solid #526c80; border-radius: 4px; background: #fff; color: #17232d; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; }
.cookie-choice:hover { background: #edf3f7; }
.cookie-dialog { box-sizing: border-box; width: min(540px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 28px; border: 1px solid #c7d5df; border-radius: 10px; color: #17232d; }
.cookie-dialog::backdrop { background: #17232d88; }
.cookie-dialog h2 { margin-top: 0; font-size: 24px; }
.cookie-dialog p { color: #52616c; line-height: 1.6; }
.cookie-dialog input { margin-right: 8px; }
.cookie-dialog button:focus-visible, .cookie-banner button:focus-visible, .footer-privacy button:focus-visible { outline: 2px solid #276b92; outline-offset: 3px; }
@media (max-width: 820px) { .cookie-banner { align-items: flex-start; flex-direction: column; gap: 16px; max-height: calc(100vh - 32px); overflow: auto; } }
@media (max-width: 820px) {
    .footer-top { align-items: flex-start; flex-direction: column; }
    .footer-nav { justify-content: flex-start; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .footer-bottom p:last-child { max-width: none; text-align: left; }
}

/* ARLee family styling: shared across the simulator and school guides. */
body { font-size: 17px; line-height: 1.65; }
h1, h2, h3 { color: var(--ink); font-weight: 900; letter-spacing: -.035em; }
h1 { font-size: clamp(36px,4.4vw,56px); line-height: 1.12; }
h2 { line-height: 1.18; }
button, input, select, textarea { font-family: inherit; }
a { text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.header-inner { min-height: 100px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand img { width: 205px; }
.site-nav { gap: 25px; }
.site-nav a, .nav-dropdown-toggle { color: #173b42; font-weight: 600; }
.site-nav .nav-cta { padding: 11px 17px; background: var(--accent); border-radius: 4px; font-weight: 800; }
.nav-dropdown-menu { border-radius: 4px; box-shadow: 0 12px 28px #14264b14; }
.nav-dropdown-menu a:hover { background: var(--soft); color: var(--accent); }
.hero { padding: 58px 0 76px; }
.hero-heading { border-left: 0; padding-left: 0; max-width: 880px; margin-bottom: 36px; }
.hero > .site-shell > .hero-heading { max-width: none; }
.hero > .site-shell > .hero-heading h1 { font-size: clamp(32px, 4vw, 54px); }
.video-coaching-note { margin-top: 28px; padding: 22px 26px; border-top: 3px solid var(--accent); background: var(--soft); }
.video-coaching-note h2 { font-size: 24px; margin-bottom: 8px; }
.video-coaching-note p { margin-bottom: 12px; }
.video-coaching-note a { font-weight: 800; color: var(--accent); }
.support-chat-launcher { position: fixed; left: 18px; bottom: 18px; z-index: 9998; padding: 12px 20px; border: 0; border-radius: 4px; background: var(--accent); color: #fff; font: inherit; font-weight: 800; box-shadow: 0 3px 16px #14264b30; cursor: pointer; }
.support-chat-launcher[hidden], body[data-practice-active="true"] .support-chat-launcher { display: none; }
.eyebrow { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .12em; }
.hero-lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 800px; }
.practice-card { gap: 56px; }
.field-label { font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 800; }
select { border-color: #aebbd1; border-radius: 4px; box-shadow: none; min-height: 54px; }
select:focus { border-color: var(--accent); }
.camera-frame { background: #101010; padding: 0; margin-top: 26px; border-radius: 4px; overflow: hidden; }
.camera-placeholder { background: #101e3d; color: #fff; }
.camera-placeholder strong { font-size: 20px; font-weight: 800; }
.camera-placeholder span { color: #c5d7ef; }
.camera-icon, .camera-icon:after { opacity: .95; }
.practice-status { border-top: 3px solid var(--accent); padding-top: 24px; }
.status-item { gap: 18px; margin-bottom: 30px; }
.status-item h2 { font-size: 23px; font-weight: 900; }
.status-item p { color: var(--muted); font-style: normal; }
.status-icon { background: var(--accent); border-radius: 4px; }
.phase-status .timer-readout:not(:empty) { border-color: var(--line); color: var(--accent-dark); background: var(--soft); border-radius: 4px; }
.countdown { color: var(--accent); font-weight: 900; }
.button { padding: 13px 21px; border-radius: 4px; background: var(--accent); color: #fff; font-weight: 800; line-height: 1.5; }
.button:hover { background: var(--accent-dark); color: #fff; }
.button-secondary { background: #fff; color: var(--accent); border-color: #aebbd1 !important; }
.button-secondary:hover { background: var(--soft); color: var(--accent-dark); }
#next-question-button[data-skip-question], #practice-fixed-question-button { color: var(--accent) !important; border-color: #aebbd1 !important; font-weight: 800 !important; }
#next-question-button[data-skip-question]:hover, #practice-fixed-question-button:hover { background: var(--soft) !important; color: var(--accent-dark) !important; }
.record-option input, .cookie-dialog input { accent-color: var(--accent); }
.privacy-note, .record-option small { color: var(--muted); }
.how-it-works, .content-section { padding: 76px 0; }
.how-it-works, .content-section.alt { background: var(--soft); border-color: var(--line); }
.content-section h2, .how-it-works h2, .school-simulator-intro h2 { font-size: clamp(29px,3.3vw,42px); font-weight: 900; letter-spacing: -.035em; }
.content-section .section-lead, .guide-copy p, .guide-copy li, .faq-item p { color: var(--muted); }
.guide-copy .eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.steps { gap: 30px; }
.step { border-top: 3px solid var(--accent); padding-top: 24px; }
.step > span { background: var(--accent); border-radius: 4px; }
.step h3, .tip-card h3, .benefit-card h3 { font-weight: 900; font-size: 21px; }
.tip-grid, .benefit-grid { gap: 28px; }
.tip-card, .benefit-card { border: 0; border-top: 3px solid var(--accent); border-radius: 0; padding: 25px 0 12px; background: transparent; }
.tip-card > span, .text-link { color: var(--accent); font-weight: 800; }
.tip-card p, .benefit-card p, .step p { color: var(--muted); line-height: 1.65; }
.real-conditions { background: var(--soft); color: var(--muted); border-color: var(--accent); }
.school-link { border-radius: 4px; border-color: var(--line); color: var(--accent); background: #fff; font-weight: 800; }
.school-link:hover { transform: none; background: var(--soft); border-color: var(--accent); }
.school-fact { border-radius: 4px; border-color: var(--line); background: var(--soft); }
.school-fact strong { color: var(--accent); font-weight: 900; }
.school-fact span, .breadcrumbs { color: var(--muted); }
.faq-item { border-color: var(--line); }
.arlee-cta { background: #101010; padding: 82px 0; }
.arlee-cta h2 { color: #fff; font-weight: 900; letter-spacing: -.035em; }
.arlee-cta .eyebrow { color: #a8ceff; }
.arlee-cta > .site-shell > p:not(.eyebrow) { color: #e0e7f2; }
.arlee-cta .button { background: #fff; color: #101010; }
.arlee-cta .button:hover { background: #eaf1fc; }
.arlee-cta .cta-note { color: #b9c5d7; }
.site-footer { background: #fff; border-color: var(--line); padding: 42px 0 28px; color: #173b42; }
.footer-brand, .footer-brand span, .footer-bottom p { color: #173b42; }
.footer-brand strong { font-weight: 900; }
.footer-nav a, .footer-nav .footer-expert-link, .footer-privacy a, .footer-privacy button { color: var(--accent); }
.footer-bottom { border-color: var(--line); }
.footer-privacy button { min-height: 28px; padding: 2px 0; }
.cookie-banner { left: 0; right: 0; bottom: 0; max-width: none; border: 0; border-top: 3px solid var(--accent); border-radius: 0; padding: 22px max(22px,calc((100vw - 1104px)/2)); background: #fff; box-shadow: 0 -5px 20px #14264b0d; }
.cookie-banner > div:first-child { flex: 1; min-width: 0; }
.cookie-choice { border-radius: 4px; border-color: var(--accent); color: var(--accent); font-weight: 800; }
.cookie-choice:first-child { background: var(--accent); color: #fff; }
.cookie-settings-link { color: var(--accent); min-height: 28px; }
.cookie-dialog, .end-practice-dialog { border-radius: 4px; border-color: var(--line); }
.cookie-dialog h2, .end-practice-dialog h2 { font-weight: 900; }
@media (max-width: 900px) {
 .header-inner { min-height: 86px; }
 .site-nav { border-color: var(--line); }
 .nav-toggle { border-radius: 4px; border-color: var(--line); }
 .site-nav .nav-cta { display: inline-block; }
}
@media (max-width: 820px) {
 .practice-card { grid-template-columns: 1fr; gap: 30px; }
 .practice-status { gap: 20px; }
 .cookie-banner { padding: 20px 22px; max-height: 75vh; }
 .how-it-works, .content-section, .arlee-cta { padding: 54px 0; }
}
@media (max-width: 620px) {
 .site-shell { width: calc(100% - 44px); }
 .hero { padding: 38px 0 54px; }
 .hero-heading { padding-left: 0; margin-bottom: 30px; }
 .hero-lead { font-size: 17px; }
 .header-inner { min-height: 82px; }
 .brand img { width: 172px; }
 .status-item { gap: 16px; }
 .school-hero { padding: 30px 0 38px; }
 .school-facts { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .school-link, .phase-status { transition: none; } }
