:root {
    --navy: #102a43;
    --brand: #16a34a;
    --brand-dark: #15803d;
    --brand-soft: #ecfdf3;
    --gold: #f4c542;
    --ink: #1e293b;
    --line: #cbd5e1;
    --paper: #f7fbf8;
    --sidebar: 232px;
    --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    --wrap: 72rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    letter-spacing: -0.011em;
    line-height: 1.55;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.flag-stripe {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--navy) 0 33.33%, var(--gold) 33.33% 66.66%, var(--brand) 66.66%);
}

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin: 0 auto; }
.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand);
}
.eyebrow.gold { color: var(--gold); }
.type-page { font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin: 0.4rem 0 0; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.type-major { font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; margin: 0.4rem 0 1.25rem; font-size: clamp(1.6rem, 3vw, 2rem); max-width: 54rem; }
.copy, .lede { max-width: 40rem; color: rgba(30, 41, 59, 0.78); }
.lede { font-size: 1.15rem; line-height: 1.8; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled,
.btn-primary[disabled] {
    background: #94a3b8;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.85;
}
.btn-primary:disabled:hover,
.btn-primary[disabled]:hover {
    background: #94a3b8;
}
.apply-hint { margin: -0.25rem 0 0; font-size: 0.82rem; }
.form [data-persist-clear] { justify-self: start; }
.btn-outline { background: #fff; color: var(--brand); border: 1px solid rgba(22, 163, 74, 0.3); }
.btn-white { background: #fff; color: var(--brand); }
.text-link { display: inline-block; margin-top: 1rem; font-size: 0.9rem; font-weight: 700; }
.muted-label { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(30, 41, 59, 0.45); }

.brand-mark { display: inline-flex; align-items: center; }
.brand-mark-on-dark { background: #fff; border-radius: 12px; padding: 0.35rem 0.5rem; }
.brand-logo-sm { height: 2.25rem; width: auto; max-width: 10rem; object-fit: contain; object-position: left; }
.brand-logo-md { height: 3rem; width: auto; max-width: 13rem; object-fit: contain; object-position: left; }
.brand-logo-lg { height: 3.6rem; width: auto; max-width: 17.5rem; object-fit: contain; object-position: left; }

.site-header { position: relative; border-bottom: 1px solid var(--line); background: #fff; }
.site-header-inner, .site-header-tools, .header-actions, .site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.site-header-inner { width: min(var(--wrap), calc(100% - 2rem)); margin: 0 auto; justify-content: space-between; padding: 1.1rem 0; gap: 1rem; }
.site-header-tools { margin-left: auto; }
.nav-link, .header-actions form { margin: 0; }
.nav-link {
    background: none;
    border: 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
}
.nav-link:hover { background: var(--brand-soft); }
.mega { position: relative; }
.mega-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    z-index: 30;
    min-width: 18rem;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(22, 163, 74, 0.15);
    border-radius: 18px;
    box-shadow: 0 16px 40px -24px rgba(18, 38, 28, 0.45);
}
.mega-panel.is-open { display: grid; }
@media (hover: hover) and (pointer: fine) {
    .mega::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 0.55rem;
    }
    .mega:hover > .mega-panel,
    .mega:focus-within > .mega-panel {
        display: grid !important;
    }
}
.mega-panel-narrow { min-width: 16rem; grid-template-columns: 1fr; }
.mega-panel a { display: block; color: var(--ink); font-size: 0.9rem; padding: 0.4rem 0; }
.mega-panel a strong { display: block; }
.mega-panel a span { display: block; font-size: 0.75rem; color: rgba(30, 41, 59, 0.55); }
.mega-heading { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.mega-empty { margin: 0; color: rgba(30, 41, 59, 0.55); }
.mobile-toggle { display: none; }
.mobile-menu {
    display: none;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--line);
    background: #fff;
}
.mobile-menu a { display: block; padding: 0.55rem 0; color: var(--ink); }
.mobile-menu.is-open { display: block; }

.hero-band { background: var(--brand-soft); border-bottom: 1px solid rgba(22, 163, 74, 0.15); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-links { margin-top: 1rem; font-size: 0.9rem; color: rgba(30, 41, 59, 0.6); }
.hero-links a { font-weight: 600; }

.hero-slider {
    position: relative;
    background: var(--navy);
    color: #fff;
    overflow: hidden;
}
.hero-slider-viewport {
    position: relative;
    min-height: min(78vh, 44rem);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}
.hero-slide.is-active {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}
.hero-slide-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 42, 67, 0.94) 0%, rgba(16, 42, 67, 0.78) 40%, rgba(16, 42, 67, 0.32) 72%, rgba(16, 42, 67, 0.16) 100%),
        linear-gradient(180deg, rgba(16, 42, 67, 0.12) 0%, rgba(16, 42, 67, 0.55) 100%);
}
.hero-slide-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(78vh, 44rem);
    max-width: 38rem;
    padding: 5.25rem 0 6.75rem;
}
.hero-slide-copy .type-page,
.hero-slide-copy h1,
.hero-slide-copy h2 { color: #fff; }
.hero-slide-copy .lede { color: rgba(255, 255, 255, 0.86); }
.hero-slide-copy .hero-links { color: rgba(255, 255, 255, 0.7); }
.hero-slide-copy .hero-links a { color: #fff; }
.hero-slider .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
}
.hero-slider .btn-outline:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}
.hero-slider-bars {
    position: absolute;
    top: 1.1rem;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    gap: 0.4rem;
    width: min(var(--wrap), calc(100% - 2rem));
    margin: 0 auto;
}
.hero-slider-bar {
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.22);
}
.hero-slider-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: var(--gold);
}
.hero-slider-bar.is-done span { width: 100%; }
.hero-slider-bar.is-active span {
    width: 100%;
    transform-origin: left;
    animation: hero-progress 6.5s linear forwards;
}
.hero-slider-bar.is-paused span { animation-play-state: paused; }
.hero-slider-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.35rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-slider-count {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}
.hero-slider-dots {
    display: flex;
    flex: 1;
    gap: 0.45rem;
    align-items: center;
}
.hero-slider-dot {
    width: 0.65rem;
    height: 0.65rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}
.hero-slider-dot.is-active {
    width: 1.65rem;
    background: var(--gold);
}
.hero-slider-arrows { display: flex; gap: 0.5rem; }
.hero-slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(16, 42, 67, 0.35);
    color: #fff;
    cursor: pointer;
}
.hero-slider-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.band.band-cycle {
    background: var(--brand-soft);
    border-bottom: 1px solid rgba(22, 163, 74, 0.15);
    padding: 3.15rem 0;
}
.cycle-split {
    display: grid;
    gap: 1.75rem;
    align-items: center;
    justify-content: space-between;
}
.cycle-intro {
    max-width: 32rem;
}
.cycle-intro .type-major {
    max-width: none;
    margin: 0.5rem 0 0.85rem;
}
.cycle-intro .copy {
    max-width: none;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
    hyphens: auto;
    line-height: 1.75;
}

.band { padding: 4rem 0; }
.band-tight { padding-top: 0; }
.cards-3, .cards-2 { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: 1fr; }
.cards-2 { grid-template-columns: 1fr; margin-top: 2rem; }
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
    border: 1px solid rgba(22, 163, 74, 0.15);
    border-radius: 16px;
    background: #fff;
}
.card-soft { background: rgba(236, 253, 243, 0.4); }
.card h3, .card h2 { margin: 0.45rem 0 0; }
.card p { margin: 0.5rem 0 0; color: rgba(30, 41, 59, 0.75); font-size: 0.92rem; line-height: 1.6; }
.card-title-brand { color: var(--brand); }
.icon-wrap {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
}
.icon-wrap-white { background: #fff; }
.icon { width: 1.25rem; height: 1.25rem; }

.split { display: grid; gap: 2rem; align-items: center; }
.exam-photo {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--brand-soft);
    aspect-ratio: 4 / 5;
    max-width: 28rem;
    margin: 0 auto;
}
.exam-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.cta-band { background: var(--brand); color: #fff; }
.cta-grid { display: grid; gap: 1.5rem; padding: 3.25rem 0; align-items: center; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 48rem; }
.cta-band h2 { color: #fff; }

.teaser {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    border-radius: 28px;
    border: 1px solid rgba(22, 163, 74, 0.15);
    background: var(--brand-soft);
}

.store-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 2rem; }
.store-badge {
    display: inline-flex;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    color: #fff;
    padding: 0 0.25rem;
}
.store-badge svg { height: 52px; width: auto; }

.cycle {
    width: 100%;
    max-width: 26rem;
    justify-self: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.25rem 1.35rem 1.15rem;
    box-shadow: 0 18px 40px -28px rgba(16, 42, 67, 0.28);
    outline: none;
}
.cycle-bars { display: flex; gap: 0.35rem; }
.cycle-bar { flex: 1; height: 2px; overflow: hidden; border-radius: 99px; background: rgba(22, 163, 74, 0.12); }
.cycle-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--brand); }
.cycle-bar.is-done span { width: 100%; }
.cycle-bar.is-active span { width: 100%; transform-origin: left; animation: cycle-progress 5s linear forwards; }
.cycle-bar.is-paused span { animation-play-state: paused; }
.cycle-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 1.1rem; }
.cycle-sub, .cycle-count { margin: 0.2rem 0 0; color: rgba(30, 41, 59, 0.4); font-size: 0.85rem; }
.cycle-count { font-weight: 800; letter-spacing: 0.18em; }
.cycle-stage { position: relative; margin-top: 1.25rem; }
.cycle-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(22, 163, 74, 0.15);
    background: rgba(255,255,255,0.9);
    color: var(--brand);
    transform: translateY(-50%);
    cursor: pointer;
}
.cycle-arrow { left: 0; }
.cycle-arrow-right { left: auto; right: 0; }
.cycle-window { overflow: hidden; padding: 0 2.4rem; }
.cycle-track { display: flex; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.cycle-slide { position: relative; min-height: 7.25rem; width: 100%; flex: 0 0 100%; padding: 0.25rem 0; }
.cycle-num { position: absolute; top: -0.25rem; right: 0; margin: 0; font-size: 3.75rem; font-weight: 300; color: rgba(22, 163, 74, 0.09); }
.cycle-title { margin: 0; font-size: 1.7rem; font-weight: 800; }
.cycle-detail { margin: 0.55rem 0 0; color: rgba(30, 41, 59, 0.55); }
.cycle-detail span { display: block; margin-top: 0.3rem; color: var(--brand); font-size: 0.85rem; }
.cycle-dots { position: relative; display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.cycle-dots::before { content: ""; position: absolute; top: 7px; left: 0.65rem; right: 0.65rem; height: 1px; background: rgba(22, 163, 74, 0.15); }
.cycle-dots li { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; }
.cycle-dots button { width: 0.75rem; height: 0.75rem; border-radius: 999px; border: 1px solid rgba(22, 163, 74, 0.3); background: #fff; padding: 0; cursor: pointer; }
.cycle-dots button.is-active { transform: scale(1.2); border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16); }
.cycle-dots button.is-done { border-color: var(--brand); background: var(--brand); }
.cycle-dots span { display: none; }

.phones { position: relative; height: 420px; max-width: 360px; margin: 2rem auto 0; }
.phone { position: absolute; width: 190px; }
.phone p { text-align: center; font-size: 0.75rem; font-weight: 700; color: rgba(30, 41, 59, 0.55); }
.phone-android { top: 2rem; left: 0; transform: rotate(-8deg); }
.phone-ios { top: 0; right: 0; width: 200px; transform: rotate(8deg); z-index: 2; }
.phone-bezel { padding: 8px; border-radius: 2rem; background: #1c1c1e; box-shadow: 0 28px 50px -24px rgba(18, 38, 28, 0.55); }
.bezel-ios { background: #000; border-radius: 2.2rem; padding: 9px; }
.phone-screen { overflow: hidden; border-radius: 1.55rem; background: #fff; min-height: 340px; padding: 0.4rem 0.7rem 0.8rem; }
.phone-status { display: flex; justify-content: space-between; font-size: 0.65rem; font-weight: 700; padding-top: 1.1rem; }
.phone-apphead { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.6rem; }
.app-icon { display: flex; height: 1.75rem; width: 1.75rem; align-items: center; justify-content: center; border-radius: 8px; background: var(--navy); color: #fff; font-size: 0.6rem; font-weight: 800; }
.phone-name { margin: 0; font-size: 0.82rem; font-weight: 700; }
.phone-card { margin-top: 0.55rem; padding: 0.7rem; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px -12px rgba(18, 38, 28, 0.35); font-size: 0.7rem; }
.phone-card strong, .phone-card span, .phone-card em { display: block; }
.phone-card em { margin-top: 0.35rem; font-style: normal; display: inline-flex; background: var(--brand); color: #fff; border-radius: 6px; padding: 0.2rem 0.45rem; width: fit-content; font-weight: 700; }

.site-footer { background: var(--navy); color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; padding: 3rem 0; }
.footer-brand p { max-width: 28rem; color: rgba(255,255,255,0.7); font-size: 0.92rem; line-height: 1.7; }
.site-footer ul { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.site-footer li { margin: 0.4rem 0; }
.site-footer a { color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-base-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding: 1rem 0; font-size: 0.75rem; color: rgba(255,255,255,0.55); }

.auth-card { width: min(28rem, calc(100% - 2rem)); margin: 3rem auto; }
.form { display: grid; gap: 0.9rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.92rem; font-weight: 600; }
.form input, .form select, .form textarea {
    width: 100%;
    border: 1px solid #c8d6ce;
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    background: #fff;
}
.recruit-card { width: min(44rem, calc(100% - 2rem)); }
.form-grid { display: grid; gap: 0.9rem; }
.form-grid-2 { display: grid; gap: 0.9rem; }
@media (min-width: 700px) {
    .form-grid-2 { grid-template-columns: 1fr 1fr; }
}
.form label.check,
.check {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 500;
    line-height: 1.4;
}
.form label.check input[type="checkbox"],
.check input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    margin: 0.18rem 0 0;
    flex-shrink: 0;
    accent-color: var(--brand);
    border-radius: 4px;
}
.optional { font-weight: 400; color: #6b7c73; }
.muted { color: #5b6d64; }
.alert-error { background: #fde8e8; border: 1px solid #f3b4b4; color: #8a1f1f; padding: 0.8rem 1rem; border-radius: 12px; }
.plain-list { padding-left: 1.1rem; color: rgba(30, 41, 59, 0.75); }

.tutor-path {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}
.tutor-path li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}
.tutor-path-step {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-weight: 800;
}
.tutor-path h3 { margin: 0 0 0.25rem; font-size: 1.05rem; color: var(--navy); }
.tutor-path p { margin: 0; color: #5b6d64; }

.tutor-mini-steps {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.tutor-mini-steps li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}
.tutor-mini-steps li span {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.72rem;
}
.tutor-mini-steps li.is-current {
    background: var(--brand-soft);
    color: var(--brand-dark);
}
.tutor-mini-steps li.is-current span {
    background: var(--brand);
    color: #fff;
}
.tutor-mini-steps li.is-done {
    background: #ecfdf3;
    color: #15803d;
}

.app-body { height: 100vh; overflow: hidden; background: var(--paper); font-family: var(--font); }
.app-shell { display: flex; height: calc(100vh - 4px); }
.app-sidebar {
    width: var(--sidebar);
    max-width: var(--sidebar);
    min-width: 0;
    overflow-x: hidden;
    background: var(--navy);
    color: #fff;
    padding: 1.1rem 0.75rem;
    display: flex;
    flex-direction: column;
}
.app-sidebar .mec-portal-label {
    display: inline-flex;
    align-items: center;
    margin: 0.75rem 0.2rem 0;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.app-nav { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1.4rem; flex: 1; overflow: auto; }
.app-nav a {
    color: rgba(255,255,255,0.88);
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
}
.app-nav a.is-active, .app-nav a:hover { background: #fff; color: var(--brand); }
.sign-out { margin-top: auto; }
.sign-out button { background: none; border: 0; color: rgba(255,255,255,0.8); padding: 0.5rem 0.7rem; cursor: pointer; }
.app-main { flex: 1; min-width: 0; overflow: auto; padding: 1.5rem 1.75rem; }
.page-head h1 { margin: 0.25rem 0 0.5rem; }

@keyframes cycle-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes hero-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .cycle-bar.is-active span,
    .hero-slider-bar.is-active span { animation: none; width: 100%; }
    .cycle-track,
    .hero-slide { transition: none; }
}

@media (min-width: 700px) {
    .cards-2, .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 960px) {
    .hero-grid, .split, .cta-grid, .teaser { grid-template-columns: 1fr 1fr; }
    .cta-grid { grid-template-columns: 2fr auto; }
    .teaser { grid-template-columns: 2fr auto; }
    .cycle-split {
        grid-template-columns: minmax(0, 1fr) 26rem;
        gap: 3.25rem;
        align-items: center;
    }
    .cycle { justify-self: end; }
    .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 959px) {
    .site-nav { display: none; }
    .mobile-toggle { display: inline-flex; }
    .hero-slider-viewport,
    .hero-slide-copy { min-height: 34rem; }
    .hero-slide-copy { padding: 4.25rem 0 6.25rem; }
    .hero-slide-shade {
        background:
            linear-gradient(180deg, rgba(16, 42, 67, 0.55) 0%, rgba(16, 42, 67, 0.88) 58%, rgba(16, 42, 67, 0.94) 100%);
    }
    .cycle { justify-self: center; }
}
