:root {
    --brand: #386FF5;
    --brand-deep: #244FC0;
    --lime: #B7F000;
    --paper: #FFFFFF;
    --ink: #111827;
    --muted: #4b5563;
    --line: #dce5f4;
    --card-radius: 20px;
    --control-radius: 12px;
    --card-shadow: 0 4px 16px rgba(17, 24, 39, .045);
    --page-gutter: clamp(1rem, 2.5vw, 2.5rem);
    --noise: url("./assets/landing-grain.svg");
}

html { scroll-padding-top: 5.25rem; }
body { color: var(--ink); background: var(--paper); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #8faeff75;
    color: white;
    background: radial-gradient(ellipse at 78% -100%, #5285ff, transparent 72%),
                linear-gradient(112deg, #10245b 0%, #244fc0 57%, #2146ad 100%);
    box-shadow: 0 8px 24px #152f7426;
    transition: box-shadow .28s ease;
}

.site-header.is-scrolled {
    background: linear-gradient(112deg, #10245be0, #244fc0cc 60%, #2146add9);
    backdrop-filter: blur(18px) saturate(145%);
    box-shadow: 0 10px 28px #152f7433;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(.75rem, 2vw, 2rem);
    max-width: 1500px;
    min-height: 72px;
    margin-inline: auto;
    padding-inline: var(--page-gutter);
}
.site-wordmark { display: block; flex: 0 0 auto; border-radius: 6px; }
.site-wordmark img { display: block; width: clamp(7.5rem, 13vw, 11.5rem); height: auto; }
.site-nav-links, .site-nav-actions { display: flex; align-items: center; }
.site-nav-links {
    gap: clamp(.85rem, 1.55vw, 1.5rem);
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 500;
}
.site-nav-links a {
    padding-block: .55rem;
    color: #f0f5ff;
    text-underline-offset: .45rem;
}
.site-nav-links a:hover { color: white; text-decoration: underline; text-decoration-color: var(--lime); }

@media (min-width: 1091px) {
    .site-nav-links a {
        position: relative;
        font-weight: 600;
    }
    .site-nav-links a::after {
        content: "";
        position: absolute;
        inset: auto 0 .2rem;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, #d7ff55, #8bd8ff);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .22s ease;
    }
    .site-nav-links a:hover, .site-nav-links a:focus-visible { text-decoration: none; }
    .site-nav-links a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .site-header, .site-nav-links a::after { transition: none; }
}
.site-nav-actions { gap: .4rem; }
.nav-store, .login-link, #menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 40px;
    padding: 0 .65rem;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
}
.nav-store, .site-nav #menu-toggle {
    border: 1px solid #ffffff52;
    background: #ffffff14;
}
.nav-store:hover, .site-nav #menu-toggle:hover { background: #ffffff2e; }
.nav-store i { font-size: .95rem; }
.login-link { color: var(--ink); background: var(--lime); padding-inline: 1rem; }
.login-link:hover { background: #d1ff38; }
.site-nav #menu-toggle { display: none; }

.hero-canvas {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    margin-inline: var(--page-gutter);
    padding: clamp(2.25rem, 7vw, 6.25rem) clamp(1rem, 4.75vw, 4.5rem) clamp(3rem, 7vw, 6.5rem);
    border-radius: 18px 18px 0 0;
    background:
        radial-gradient(ellipse at 105% -7%, #2462f4 0%, transparent 42%),
        radial-gradient(ellipse at 0% 47%, #edddff 0%, transparent 42%),
        linear-gradient(152deg, #f5f8fe 25%, #eaf3ff 67%, #dce5ff);
    clip-path: polygon(0 0, 100% 0, 100% 94%, 50% 100%, 0 94%);
}
.hero-canvas::before, .feature-anchor::before, .download-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--noise) repeat;
    opacity: .24;
}
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 5vw, 5rem);
    align-items: start;
    max-width: 1320px;
    margin: auto;
}
.hero-intro h1 {
    font-size: clamp(3rem, 5.85vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.01;
}
.hero-intro h1 span {
    display: block;
    color: var(--brand);
    background: linear-gradient(90deg, #2054d6, #3882fa);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-intro p {
    max-width: 34rem;
    margin-top: clamp(1rem, 2.25vw, 2rem);
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    line-height: 1.55;
    letter-spacing: -.02em;
}
.hero-art {
    display: flex;
    position: relative;
    align-items: end;
    justify-content: center;
    gap: clamp(.5rem, 2vw, 2rem);
    width: min(100%, 490px);
    height: clamp(13rem, 23vw, 18.5rem);
    margin-top: 1.25rem;
}
.hero-art img {
    height: 100%;
    width: auto;
    min-width: 0;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px #315ab24d);
}
.glass-pillar {
    position: relative;
    width: clamp(2rem, 8vw, 7rem);
    height: 58%;
    border: 1px solid #c8dfff;
    border-radius: 12px 12px 5px 5px;
    transform: skewY(-9deg);
    background: linear-gradient(100deg, #ffffffc9, #a4c9ffad 27%, #8abaff90 65%, #ffffffb3 97%);
    box-shadow: inset 0 12px 17px #ffffffb0, inset 2px 0 8px #386ff570, 0 17px 28px #315ab23d;
}
.glass-pillar-short { height: 43%; transform: skewY(9deg); }
.glass-pillar i {
    display: grid;
    position: absolute;
    bottom: calc(100% + 1rem);
    left: 12%;
    width: 76%;
    aspect-ratio: 1;
    place-items: center;
    color: #fff;
    font-size: clamp(.95rem, 2.7vw, 2.4rem);
    border-radius: 23%;
    background: linear-gradient(150deg, #d5e7ff, #386ff5 58%, #163a9a);
    box-shadow: inset 0 2px 7px #fff8, 0 12px 16px #315ab24d;
    transform: rotate(-8deg);
}
.glass-pillar-short i { color: var(--ink); background: linear-gradient(135deg, #f1ffd1, var(--lime)); }

.hero-panel {
    padding: clamp(1.15rem, 2.5vw, 2.25rem);
    border: 1px solid #8b97aa;
    border-radius: 10px;
    background: var(--paper);
    box-shadow: 0 16px 42px #1e438311;
}
.hero-panel h2 { margin-bottom: 1.25rem; font-size: clamp(1.25rem, 1.75vw, 1.55rem); font-weight: 700; line-height: 1.2; letter-spacing: -.045em; }
.journey-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .75rem;
    padding: .85rem;
    margin-bottom: .75rem;
    border: 1px solid #c7d3e5;
    border-radius: 8px;
    transition: border-color .2s, background .2s;
}
.journey-option:hover { border-color: var(--brand); background: #f5f8ff; }
.journey-option i:first-child { display: grid; place-items: center; width: 2.25rem; aspect-ratio: 1; background: #eaf1ff; color: var(--brand-deep); border-radius: 8px; }
.journey-option i:last-child { font-size: .65rem; color: var(--brand-deep); }
.journey-option strong, .journey-option small { display: block; }
.journey-option small { margin-top: .15rem; color: var(--muted); line-height: 1.4; }
.hero-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .7rem;
    width: 100%;
    min-height: 52px;
    margin-top: 1.2rem;
    padding: .6rem;
    color: white;
    background: var(--brand-deep);
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
}
.hero-action:hover { background: #183d9e; }
.hero-benefits { display: grid; gap: .55rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .78rem; }
.hero-benefits li { display: flex; align-items: center; gap: .5rem; }
.hero-benefits i { display: grid; place-items: center; flex: 0 0 1.25rem; aspect-ratio: 1; border-radius: 5px; background: var(--lime); font-size: .65rem; }

.preview-frame {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: -.2rem auto 0;
    padding: clamp(.35rem, 1.15vw, 1.1rem);
    border: 2px solid #ffffffc9;
    border-radius: 24px;
    background: #ffffff72;
    box-shadow: 0 20px 55px #3464ba30;
}
.preview-toolbar, .preview-content { background: #f7faff; }
.preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding: .8rem clamp(.75rem, 2vw, 1.6rem);
    color: white;
    background: #202a3d;
    border-radius: 13px 13px 0 0;
    font-size: .9rem;
    font-weight: 600;
}
.preview-toolbar i { color: var(--lime); margin-right: .3rem; }
.preview-toolbar small { display: inline-block; margin-left: .45rem; color: #d1ddfa; font-weight: 400; }
.preview-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding: clamp(.7rem, 2vw, 1.6rem);
    border-radius: 0 0 13px 13px;
}
.preview-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.preview-metrics > div, .preview-chart {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    padding: clamp(.55rem, 1.35vw, 1.15rem);
}
.preview-metrics > div { display: flex; flex-direction: column; justify-content: center; }
.preview-metrics strong { color: var(--brand-deep); font-size: clamp(1.3rem, 3vw, 2.85rem); line-height: 1; letter-spacing: -.065em; }
.preview-metrics span { margin-top: .35rem; color: var(--muted); font-size: .74rem; }
.preview-chart figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .6rem; font-size: .95rem; font-weight: 700; }
.preview-chart small { font-size: .68rem; font-weight: 400; color: var(--muted); }
.chart-row { display: grid; grid-template-columns: 6.1rem minmax(0, 1fr) 2.3rem; align-items: center; gap: .4rem; font-size: .73rem; padding-block: .14rem; }
.chart-row meter { width: 100%; height: .7rem; accent-color: var(--brand); }
.chart-row meter::-webkit-meter-bar { background: #ebf0fa; border: 0; }
.chart-row meter::-webkit-meter-optimum-value { background: var(--brand); }
.chart-row meter::-moz-meter-bar { background: var(--brand); }
.chart-row strong { text-align: right; }

.page-section { padding: clamp(3rem, 7.5vw, 7rem) clamp(1rem, 5.5vw, 5rem); }
.page-section h2 { letter-spacing: -.055em; text-wrap: balance; }
.section-title, .page-section h2 { font-size: clamp(1.8rem, 4.1vw, 3.55rem); line-height: 1.09; font-weight: 700; }
.section-title { text-align: center; margin-bottom: clamp(1.5rem, 4vw, 3.25rem); }
.steps-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.step-card {
    position: relative;
    isolation: isolate;
    min-height: 13rem;
    padding: clamp(1.25rem, 3vw, 2.65rem);
    border: 2px solid transparent;
    background: linear-gradient(#f7faff, #f7faff) padding-box,
                linear-gradient(135deg, var(--brand), #c3d5ff 48%, var(--brand)) border-box;
    transition: color .24s ease, box-shadow .24s ease;
}
.step-card::before, .step-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 8px;
    border-radius: calc(var(--card-radius) - 8px);
    pointer-events: none;
}
.step-card::before {
    background: white;
    box-shadow: 0 3px 10px #244fc012;
}
.step-card::after {
    background: linear-gradient(140deg, #315dcc, #1b39b5);
    opacity: 0;
    transition: opacity .24s ease;
}
.step-card .step-number {
    transition: color .24s ease, background-color .24s ease;
}
.step-card p { transition: color .24s ease; }

@media (hover: hover) {
    .step-card:hover { color: white; box-shadow: 0 8px 22px #244fc024; }
    .step-card:hover::after { opacity: 1; }
    .step-card:hover p { color: #f0f5ff; }
    .step-card:hover .step-number { background-color: white; color: var(--brand-deep); }
}
@media (prefers-reduced-motion: reduce) {
    .step-card, .step-card::after, .step-card .step-number, .step-card p { transition: none; }
}
.step-number { display: inline-grid; place-items: center; width: 2.5rem; aspect-ratio: 1; margin-bottom: 1rem; border-radius: 8px; background: var(--brand-deep); color: white; font-weight: 600; }
.step-card h3, .feature-card h3 { font-size: clamp(1rem, 1.7vw, 1.38rem); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.step-card p, .feature-card p { margin-top: .65rem; color: var(--muted); line-height: 1.55; font-size: .9rem; }
.platform-section, .feedback-section { margin-inline: var(--page-gutter); border-radius: 18px; background: #f0f6fc; }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 2.5rem 1.5rem; }
.feature-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-height: 11rem;
    padding: clamp(1.15rem, 2.25vw, 2rem);
    background: white;
}
.feature-card > div:first-child { border: 1px solid #dbe7ff; }
.feature-anchor {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    grid-column: span 2;
    grid-row: span 2;
    justify-content: end;
    background:
        radial-gradient(ellipse at 85% 8%, #b3cbff, transparent 61%),
        linear-gradient(140deg, #f3f7ff, #e1ecff);
}
.feature-anchor::after {
    content: "\f086";
    position: absolute;
    z-index: -1;
    top: 6%;
    right: 9%;
    color: #2558d324;
    font: 900 clamp(4rem, 12vw, 10rem) "Font Awesome 5 Free";
    transform: rotate(-12deg);
}
.feature-anchor h3 { font-size: clamp(1.4rem, 3.2vw, 2.85rem); }
.download-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: clamp(2rem, 5vw, 4.5rem) var(--page-gutter);
    border-radius: 18px;
    background: radial-gradient(ellipse at 100% 0%, #b6ceff, transparent 65%), #edf4ff;
}
main a:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 4px; }
.site-header a:focus-visible, .site-header #menu-toggle:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.floating-contact {
    position: fixed;
    z-index: 40;
    right: max(.75rem, env(safe-area-inset-right));
    bottom: max(.75rem, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem 1rem;
    border-radius: 6px;
    color: white;
    background: var(--brand-deep);
    box-shadow: 0 6px 18px #244fc035;
    font-size: .8rem;
    font-weight: 600;
}
.floating-contact:hover { background: #183d9e; }

@media (max-width: 1090px) {
    .site-nav { min-height: 64px; }
    .site-nav #menu-toggle { display: inline-flex; width: 40px; padding: 0; }
    .site-nav-links {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        align-items: stretch;
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        padding: .75rem var(--page-gutter);
        background: linear-gradient(145deg, #152d73, #244fc0);
        border-block: 1px solid #ffffff40;
        box-shadow: var(--card-shadow);
    }
    .site-nav-links.active { display: grid; gap: 0; }
    .site-nav-links a { padding: .75rem .25rem; }
    .site-nav-links a + a { border-top: 1px solid #ffffff30; }
}
@media (max-width: 520px) {
    .site-nav { gap: .3rem; }
    .nav-store { width: 36px; padding: 0; }
    .nav-store span { display: none; }
    .login-link { padding-inline: .65rem; }
}
@media (max-width: 360px) {
    .site-wordmark img { width: 2.15rem; }
}
@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-intro { display: contents; }
    .hero-intro h1 { grid-row: 1; }
    .hero-intro p { grid-row: 2; margin-top: 0; }
    .hero-panel { grid-row: 3; }
    .hero-art { grid-row: 4; margin: 0 auto; }
    .hero-canvas { clip-path: polygon(0 0, 100% 0, 100% 98%, 50% 100%, 0 98%); }
    .preview-content { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-anchor { grid-row: auto; }
}
@media (max-width: 600px) {
    .hero-layout { gap: 1rem; }
    .hero-intro h1 { font-size: clamp(2.15rem, 9vw, 3.3rem); }
    .hero-art { height: 12rem; }
    .preview-toolbar { font-size: .75rem; }
    .preview-status { width: 100%; }
    .chart-row { grid-template-columns: 5rem minmax(0, 1fr) 2rem; }
    .steps-grid, .feature-grid { grid-template-columns: 1fr; }
    .feature-anchor { grid-column: auto; }
    .step-card, .feature-card { min-height: auto; }
    .feature-anchor { min-height: 12rem; }
}
@media (prefers-reduced-motion: reduce) {
    .journey-option { transition: none; }
}

.product-tour {
    background: linear-gradient(180deg, #fff, #f3f7ff);
}
.product-tour-inner { max-width: 1280px; margin-inline: auto; }
.tour-heading { text-align: center; margin-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.tour-label {
    display: inline-block;
    color: var(--brand-deep);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.tour-heading h2 { margin-top: .5rem; }
.tour-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tour-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 0;
    padding: clamp(1.15rem, 3vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--card-shadow);
}
.tour-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--noise) repeat;
    opacity: .23;
}
.tour-card-school { background: radial-gradient(ellipse at top right, #d3e2ff, #f9fbff 70%); }
.tour-card-assessment { background: radial-gradient(ellipse at top right, #e9f8c6, #fcfef7 70%); }
.tour-card-mobile {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.65fr);
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    margin-top: 1rem;
    background: radial-gradient(ellipse at top right, #c9dbff, #f3f7ff 72%);
}
.tour-copy h3 {
    margin: .35rem 0 .55rem;
    font-size: clamp(1.35rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.045em;
}
.tour-copy p { max-width: 35ch; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.tour-screens { display: grid; gap: .75rem; margin-top: 1.4rem; }
.browser-shot {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: 0 8px 20px #254d9212;
}
.browser-shot img { display: block; width: 100%; height: auto; }
.browser-shot figcaption, .phone-gallery figcaption {
    padding: .55rem .75rem;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 600;
}
.tour-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
    color: var(--brand-deep);
    font-size: .85rem;
    font-weight: 700;
}
.tour-link:hover { text-decoration: underline; }
.phone-gallery figure { text-align: center; }
.phone-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 20;
    object-fit: contain;
    background: white;
    border: clamp(2px, .45vw, 6px) solid #202a3d;
    border-radius: clamp(10px, 2vw, 23px);
    box-shadow: 0 10px 22px #254d9226;
}
.store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.65rem, 2.5vw, 1.25rem);
    max-width: 540px;
    margin-inline: auto;
}
.store-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: .65rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--card-shadow);
}
.store-card:hover { border-color: var(--brand); }
.store-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    border-radius: 10px;
    background: #101318;
}
.store-card-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .7rem .2rem .25rem;
    text-align: left;
}
.store-card-label i { font-size: clamp(1.1rem, 4vw, 1.65rem); }
.store-card-label small, .store-card-label strong { display: block; }
.store-card-label small { color: var(--muted); font-size: .65rem; }
.store-card-label strong { font-size: clamp(.8rem, 3vw, 1.05rem); }

@media (max-width: 700px) {
    .tour-grid, .tour-card-mobile { grid-template-columns: 1fr; }
    .phone-gallery figcaption { padding-inline: 0; font-size: .66rem; }
}

.section-grain { position: relative; isolation: isolate; }
.section-grain::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: var(--noise) repeat, repeating-linear-gradient(122deg, transparent 0 23px, #386ff510 24px 25px, transparent 26px 48px);
}
.section-kicker {
    display: inline-block;
    margin-bottom: .85rem;
    padding: .35rem .7rem;
    border-radius: 6px;
    background: var(--lime);
    color: var(--ink);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.partners-band { margin: 0 var(--page-gutter) clamp(2rem, 5vw, 4.5rem); }
.logo-window { overflow: hidden; border-block: 1px solid var(--line); padding-block: .85rem; }
.logo-track { display: flex; width: max-content; }
.logo-strip { display: flex; flex: none; gap: .75rem; padding-right: .75rem; }
.logo-strip li {
    display: grid;
    place-items: center;
    width: 8rem;
    height: 4.35rem;
    padding: .55rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.logo-strip img { width: 100%; height: 100%; max-height: 3.2rem; object-fit: contain; }
.logo-track.is-moving { animation: university-ticker 160s linear infinite; }
.logo-window:focus-within .logo-track, .logo-window:hover .logo-track { animation-play-state: paused; }
@keyframes university-ticker { to { transform: translateX(-50%); } }
.logo-window:has(.logo-track:not(.is-moving)) { overflow-x: auto; }

.audience-section {
    margin-inline: var(--page-gutter);
    border-radius: 28px;
    background: radial-gradient(ellipse at 88% 0%, #dcf5a8 0%, transparent 32%),
                radial-gradient(ellipse at 12% 5%, #ceddff 0%, transparent 45%), #f5f8ff;
}
.audience-title span { color: var(--brand-deep); }
.audience-section .tabs-container { gap: .6rem; }
.audience-section .tab-btn { background: #ffffffd9; padding: .75rem 1.25rem; }
.audience-section .tab-btn.active { color: var(--ink); border-color: #91bb13; background: var(--lime); }
.audience-section .tab-content {
    align-items: center;
    padding: clamp(1.1rem, 3vw, 2.5rem);
    border: 1px solid #dce5f4;
    border-radius: 22px;
    background: #ffffffeb;
    box-shadow: 0 20px 36px -30px #244fc08f;
}
.audience-section .tab-content ul { display: grid; gap: .55rem; }
.audience-section .tab-content ul li {
    margin: 0;
    padding: .65rem .75rem;
    border-radius: 9px;
    background: #f2f6ff;
}
.audience-section .tab-content ul li i { color: #527000; }
.audience-section .tab-content img { width: 100%; max-height: 26rem; aspect-ratio: 4 / 3; }

.audience-section .tab-content .audience-product-image {
    padding: .45rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    aspect-ratio: auto;
    object-fit: contain;
    background: white;
    box-shadow: 0 14px 30px #244fc022;
}

.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.benefit-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.25rem, 3.5vw, 2.75rem);
    border: 1px solid var(--line);
    border-radius: 22px;
}
.benefit-schools { color: white; background: radial-gradient(ellipse at 100% 0%, #244fc0, transparent 75%), #111827; }
.benefit-students { background: radial-gradient(ellipse at 100% 0%, #d8f891, transparent 72%), #f5fae8; }
.benefit-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.35rem; }
.benefit-heading i { display: grid; flex: 0 0 2.65rem; aspect-ratio: 1; place-items: center; border-radius: 9px; color: var(--ink); background: var(--lime); }
.benefit-heading h3 { font-size: clamp(1.15rem, 2.05vw, 1.65rem); font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.benefit-list li { padding: .75rem; border: 1px solid #11182719; border-radius: 9px; background: #ffffffb8; }
.benefit-schools .benefit-list li { border-color: #ffffff38; background: #ffffff11; }
.benefit-list strong { display: block; font-size: .86rem; line-height: 1.25; }
.benefit-list p { margin-top: .25rem; font-size: .75rem; line-height: 1.5; color: var(--muted); }
.benefit-schools .benefit-list p { color: #d7e2fa; }
.benefit-schools button { width: fit-content; margin-top: 1rem; color: var(--ink); background: var(--lime); }
.benefit-schools button:hover { background: #d4ff4f; }

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    max-width: 1280px;
    margin-inline: auto;
    padding: clamp(1.25rem, 5vw, 4rem);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: radial-gradient(ellipse at 95% 5%, #c7d9ff, transparent 60%), #f6f8ff;
}
.about-story { align-self: center; }
.about-paragraphs { display: grid; gap: .85rem; margin-top: 1.25rem; max-width: 56ch; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.about-portrait {
    display: grid;
    place-items: center;
    position: relative;
    min-height: 16rem;
    overflow: hidden;
    border-radius: 18px;
    background: repeating-radial-gradient(ellipse at center, transparent 0 26px, #d8e4ff22 27px 28px, transparent 29px 52px), linear-gradient(145deg, #10224f, var(--brand));
}
.about-portrait span { position: absolute; color: #fff2; font-size: clamp(4rem, 13vw, 12rem); font-weight: 800; letter-spacing: -.08em; }
.about-portrait img { position: relative; width: min(83%, 21rem); max-height: 25rem; object-fit: contain; filter: drop-shadow(0 14px 20px #11182760); }
.about-products { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.about-products button {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .55rem;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
    color: var(--ink);
    text-align: left;
    font-size: .8rem;
    font-weight: 600;
}
.about-products button:hover { border-color: var(--brand); }
.about-products i:first-child { color: var(--brand-deep); }
.about-products i:last-child { color: #587100; font-size: .65rem; }

.journey-section { background: #f7f9fe; }
.journey-heading { text-align: center; margin-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1280px;
    margin-inline: auto;
}
.journey-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 2.1rem);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(155deg, #e0ebff, white 75%);
}
.journey-apply { background: linear-gradient(155deg, #e8f8b8, white 75%); }
.journey-loan { background: linear-gradient(155deg, #e8e5ff, white 75%); }
.journey-mark { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .7rem; }
.journey-mark span { font-size: .7rem; font-weight: 700; letter-spacing: .07em; color: var(--brand-deep); }
.journey-mark i { display: grid; place-items: center; width: 2.5rem; aspect-ratio: 1; border-radius: 10px; background: white; color: var(--brand-deep); }
.journey-card h3 { font-size: clamp(1.15rem, 2.2vw, 1.65rem); font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.journey-card p, .journey-card ul { color: var(--muted); font-size: .85rem; line-height: 1.5; }
.journey-card ul { padding-inline-start: 1rem; list-style: disc; }
.journey-card li + li { margin-top: .3rem; }
.journey-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: .7rem .9rem;
    border-radius: 8px;
    color: white;
    background: var(--brand-deep);
    text-align: left;
    font-size: .8rem;
    font-weight: 600;
}
.journey-cta:hover { background: #183d9e; }
.journey-apply .journey-cta { color: var(--ink); background: var(--lime); }
.journey-apply .journey-cta:hover { background: #a9dc00; }

.phone-slider { min-width: 0; }
.phone-controls { display: flex; justify-content: flex-end; gap: .45rem; margin-bottom: .65rem; }
.phone-controls[hidden] { display: none; }
.phone-controls button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--brand-deep); }
.phone-controls button:disabled { opacity: .45; }
.phone-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 1.5rem) / 3);
    gap: .75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: .25rem 0 .65rem;
}
.phone-gallery figure { min-width: 0; scroll-snap-align: start; }
.phone-gallery img { height: auto; }
.logo-window:focus-visible, .phone-gallery:focus-visible, .phone-controls button:focus-visible,
.journey-cta:focus-visible, .about-products button:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 2px; }

@media (max-width: 900px) {
    .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey-loan { grid-column: 1 / -1; }
    .about-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .benefits-grid, .about-layout, .journey-grid { grid-template-columns: 1fr; }
    .phone-gallery { grid-auto-columns: calc((100% - .75rem) / 2.15); }
}
@media (max-width: 380px) {
    .benefit-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .logo-strip[aria-hidden="true"] { display: none; }
    .logo-track.is-moving { animation: none; }
    .logo-window { overflow-x: auto; }
    .phone-gallery { scroll-behavior: auto; }
}

.journey-option { width: 100%; text-align: left; }
.portal-button { display: inline-flex; align-items: center; justify-content: center; }

.app-dialog {
    width: min(29rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    color: var(--ink);
    background: white;
    box-shadow: 0 28px 80px #101e4990;
}
.app-dialog::backdrop { background: #101a36a8; backdrop-filter: blur(5px); }
html:has(.app-dialog[open]) { overflow: hidden; }
.app-dialog-content {
    padding: clamp(1.25rem, 5vw, 2.1rem);
    border-radius: inherit;
    background: radial-gradient(ellipse at 100% 0%, #d9e7ff, transparent 65%), #fff;
}
.app-dialog-close {
    position: absolute;
    top: .7rem;
    right: .7rem;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
}
.app-dialog-logo { display: block; margin-bottom: .75rem; }
.app-dialog h2 { font-size: clamp(1.3rem, 5vw, 1.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -.04em; }
.app-dialog p { margin-top: .65rem; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.app-dialog-stores { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.25rem; }
.app-dialog-stores a {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 54px;
    padding: .55rem .65rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
}
.app-dialog-stores a:hover { border-color: var(--brand); color: var(--brand-deep); }
.app-dialog-stores i { font-size: 1.25rem; }
.app-dialog-stores small, .app-dialog-stores strong { display: block; }
.app-dialog-stores small { font-size: .62rem; }
.app-dialog-stores strong { font-size: clamp(.72rem, 3vw, .9rem); }
.app-dialog :focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 2px; }

.feedback-section {
    border-radius: 26px;
    background: radial-gradient(ellipse at 95% 0%, #ccdcff, transparent 48%), #f2f6ff;
}
.feedback-inner { max-width: 1280px; margin-inline: auto; }
.feedback-intro { max-width: 43rem; margin-bottom: clamp(1.35rem, 4vw, 3rem); }
.feedback-intro p { margin-top: .85rem; max-width: 53ch; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.feedback-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.feedback-card {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    min-width: 0;
    padding: clamp(1.1rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: var(--card-shadow);
}
.feedback-card > i { color: var(--brand-deep); font-size: 1.25rem; }
.feedback-card blockquote { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.feedback-card figcaption { display: flex; align-items: center; gap: .65rem; margin-top: auto; font-size: .8rem; font-weight: 700; }
.feedback-avatar { display: grid; flex: 0 0 2.1rem; aspect-ratio: 1; place-items: center; border-radius: 7px; color: var(--brand-deep); background: #eaf1ff; font-size: .63rem; }
.feedback-featured {
    grid-column: 1 / -1;
    background: radial-gradient(ellipse at top right, #2a53bf, transparent 65%), #172749;
    color: white;
}
.feedback-featured > i { color: var(--lime); font-size: 1.75rem; }
.feedback-featured blockquote { max-width: 67ch; color: #f0f5ff; font-size: clamp(1rem, 2vw, 1.35rem); }
.feedback-featured .feedback-avatar { color: var(--ink); background: var(--lime); }

@media (max-width: 640px) {
    .feedback-grid { grid-template-columns: 1fr; }
}

.site-footer {
    overflow: hidden;
    padding: clamp(2rem, 6vw, 5rem) var(--page-gutter) 4.5rem;
    border-top: 1px solid #638fff;
    border-radius: 28px 28px 0 0;
    background: radial-gradient(ellipse at 85% 0%, #224bb9, transparent 55%),
                linear-gradient(135deg, #152c69, #101b3d 64%);
    color: white;
}
.site-footer::before { opacity: .55; }
.footer-inner { max-width: 1280px; margin-inline: auto; }
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, .8fr)) minmax(0, .95fr);
    align-items: start;
    gap: clamp(1.2rem, 4vw, 4rem);
}
.footer-wordmark { display: inline-block; }
.footer-wordmark img { width: min(12.75rem, 100%); height: auto; }
.footer-brand p { margin-top: .55rem; max-width: 31ch; line-height: 1.65; }
.footer-brand p, .footer-links a, .footer-bottom { color: #dbe5ff; font-size: .85rem; }
.footer-socials { display: flex; gap: .5rem; margin-top: 1.1rem; }
.footer-socials a, .footer-stores a {
    display: flex;
    align-items: center;
    border: 1px solid #ffffff45;
    border-radius: 9px;
    background: #ffffff12;
}
.footer-socials a { justify-content: center; width: 2.5rem; height: 2.5rem; }
.footer-links h2, .footer-app h2 { margin-bottom: .75rem; color: white; font-size: .95rem; font-weight: 700; }
.footer-links ul { display: grid; gap: .55rem; }
.footer-links a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.footer-app {
    padding: 1rem;
    border: 1px solid #ffffff45;
    border-radius: 16px;
    background: #ffffff14;
}
.footer-stores { display: grid; gap: .55rem; }
.footer-stores a { gap: .65rem; padding: .55rem .7rem; font-size: .8rem; font-weight: 600; }
.footer-stores i { width: 1rem; text-align: center; }
.footer-socials a:hover, .footer-stores a:hover { border-color: var(--lime); color: var(--lime); background: #ffffff23; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .85rem 1.25rem;
    margin-top: clamp(1.75rem, 4vw, 3.5rem);
    padding-top: 1rem;
    border-top: 1px solid #ffffff45;
}
.footer-bottom a { display: inline-flex; align-items: center; gap: .55rem; color: var(--lime); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

@media (max-width: 820px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-app { grid-column: 1 / -1; }
    .footer-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
