:root {
    --navy: #070b48;
    --blue: #1249d8;
    --orange: #ff4b0b;
    --ink: #090d46;
    --muted: #59647a;
    --line: #b9d2f5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5fbff;
    color: var(--ink);
    font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    height: 82px;
    padding: 0 clamp(20px,4vw,68px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fdff;
    border-bottom: 1px solid #cbdff3;
}

.wordmark {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    font-weight: 950;
    letter-spacing: -.055em;
}

.wordmark strong {
    font-size: 26px;
    line-height: .9;
}

.wordmark strong span {
    color: var(--orange);
}

.wordmark small {
    padding-left: 0px;
    border-left: 0px solid #8bb5dd;
    color: var(--black);
    font-size: 15px;
    letter-spacing: .1em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
}

.language {
    color: var(--blue);
}

.login {
    padding: 11px 15px;
    border: 1.5px solid var(--blue);
    border-radius: 8px;
    color: var(--blue);
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 258px;
    padding: 34px clamp(20px,4vw,68px) 29px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(105deg,#f2fbff 0 58%,#d9f0ff 100%);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px,5.2vw,72px);
    line-height: .92;
    letter-spacing: -.065em;
}

.hero h1 span {
    position: relative;
}

.hero h1 span:after {
    content: "";
    position: absolute;
    left: 0;
    right: 2%;
    bottom: -7px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    transform: rotate(-1deg);
}

.trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 21px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 850;
}

.trust i {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 8px;
    background: var(--blue);
    color: white;
    font-style: normal;
}

.road-art {
    position: absolute;
    inset: 0 0 0 52%;
    overflow: hidden;
}

.sun {
    position: absolute;
    width: 220px;
    height: 220px;
    right: 6%;
    bottom: -87px;
    border: 36px solid #aad9fa;
    border-radius: 50%;
    opacity: .85;
}

.route {
    position: absolute;
    border: 13px dashed white;
    border-radius: 50%;
}

.route.one {
    width: 350px;
    height: 350px;
    left: 9%;
    top: 25px;
}

.route.two {
    width: 270px;
    height: 270px;
    right: -13%;
    bottom: -150px;
}

.arrow {
    position: absolute;
    right: 13%;
    top: 35px;
    color: #7cbcf0;
    font-size: 76px;
    font-weight: 950;
}

.road-sign {
    position: absolute;
    right: 27%;
    bottom: 25px;
    width: 42px;
    height: 42px;
    border: 8px solid var(--orange);
    transform: rotate(45deg);
}

.road-sign:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 45px;
    right: -27px;
    bottom: -43px;
    background: var(--navy);
    transform: rotate(-45deg);
}

.dots {
    position: absolute;
    left: 44%;
    top: 48px;
    width: 95px;
    height: 50px;
    background-image: radial-gradient(var(--blue) 2px,transparent 2px);
    background-size: 14px 14px;
}

.courses {
    position: relative;
    z-index: 3;
    margin: -4px auto 0;
    width: min(1450px,calc(100% - 40px));
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
}

.course-card {
    --accent: var(--blue);
    min-height: 440px;
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--blue);
    border-radius: 15px;
    background: white;
    box-shadow: 0 12px 26px rgba(13,55,137,.1);
    transition: .2s;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(13,55,137,.16);
}

.traffic-school {
    --accent: #15864a;
}

.mature-driver {
    --accent: #7450c7;
}

.permit-prep {
    --accent: var(--orange);
}

.icon-wrap {
    height: 98px;
    display: grid;
    place-items: center;
}

.course-icon {
    position: relative;
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e4f3ff;
    color: var(--accent);
}

.traffic-school .course-icon {
    background: #e4f8ea;
}

.mature-driver .course-icon {
    background: #eee9fc;
}

.permit-prep .course-icon {
    background: #fff0e8;
}

.laptop-icon:before {
    content: "";
    width: 52px;
    height: 38px;
    border: 5px solid currentColor;
    border-radius: 4px;
}

.laptop-icon:after {
    content: "";
    position: absolute;
    width: 66px;
    height: 6px;
    bottom: 17px;
    border-radius: 0 0 7px 7px;
    background: currentColor;
}

.laptop-icon i {
    position: absolute;
    width: 18px;
    height: 11px;
    left: 34px;
    top: 37px;
    border-left: 4px solid currentColor;
    border-bottom: 4px solid currentColor;
    transform: rotate(-45deg);
}

.light-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.light-icon:before {
    content: "";
    position: absolute;
    width: 36px;
    height: 70px;
    border-radius: 9px;
    background: #14223b;
}

.light-icon i {
    position: relative;
    z-index: 2;
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.light-icon i:nth-child(1) {
    background: #ef4036;
}

.light-icon i:nth-child(2) {
    background: #ffca19;
}

.light-icon i:nth-child(3) {
    background: #20d267;
}

.wheel-icon:before {
    content: "";
    width: 50px;
    height: 50px;
    border: 7px solid currentColor;
    border-radius: 50%;
}

.wheel-icon:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 50px;
    background: currentColor;
    clip-path: polygon(35% 0,65% 0,57% 42%,100% 90%,83% 100%,50% 55%,17% 100%,0 90%,43% 42%);
}

.wheel-icon i {
    position: absolute;
    z-index: 2;
    width: 16px;
    height: 16px;
    border: 4px solid white;
    border-radius: 50%;
    background: currentColor;
}

.clipboard-icon:before {
    content: "";
    width: 46px;
    height: 55px;
    border: 5px solid currentColor;
    border-radius: 5px;
}

.clipboard-icon:after {
    content: "✓  ━\A ✓  ━";
    white-space: pre;
    position: absolute;
    left: 24px;
    top: 25px;
    font-weight: 950;
    font-size: 16px;
    line-height: 1.35;
}

.clipboard-icon i {
    position: absolute;
    top: 11px;
    width: 20px;
    height: 10px;
    border: 4px solid currentColor;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
}

.audience {
    margin: 9px 0 10px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.course-card h2 {
    min-height: 58px;
    margin: 0;
    text-align: center;
    font-size: 25px;
    line-height: 1.06;
    letter-spacing: -.04em;
}

.description {
    min-height: 59px;
    margin: 11px auto 17px;
    max-width: 230px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.purchase {
    margin-top: auto;
    display: grid;
    gap: 12px;
}

.price {
    text-align: center;
    color: var(--blue);
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.price small {
    display: block;
    margin-bottom: 2px;
    color: #748095;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .1em;
}

.purchase a {
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 8px;
    background: var(--orange);
    color: white;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: .025em;
    text-transform: uppercase;
    box-shadow: 0 8px 17px rgba(255,75,11,.25);
}

.purchase a:hover,
.purchase a:focus-visible {
    background: #e83e00;
}

.benefits {
    width: min(1220px,calc(100% - 40px));
    margin: 34px auto 42px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-block: 1px solid #cbddec;
}

.benefits>div {
    min-height: 82px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid #cbddec;
}

.benefits>div:last-child {
    border: 0;
}

.benefits>div>span {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border: 2px solid var(--blue);
    border-radius: 50%;
    color: var(--blue);
    font-weight: 900;
}

.benefits p {
    margin: 0;
}

.benefits strong,
.benefits small {
    display: block;
}

.benefits strong {
    font-size: 12px;
}

.benefits small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

footer {
    display: block;
    min-height: auto;
    padding: 0;
    background: var(--navy);
    color: white;
}

.footer-mark strong,
.footer-mark small {
    color: white;
}

.footer-mark small {
    border-color: #6370aa;
}

footer p {
    font-size: 11px;
    color: #bfc8ea;
}

@media (max-width:940px){
    .hero {
        min-height: 235px;
    }

    .courses {
        grid-template-columns: repeat(2,1fr);
        max-width: 720px;
    }

    .course-card {
        min-height: 325px;
    }

    .icon-wrap {
        height: 64px;
    }

    .course-icon {
        width: 62px;
        height: 62px;
        transform: scale(.76);
    }

    .course-card h2 {
        min-height: auto;
        font-size: 21px;
    }

    .description {
        min-height: 38px;
        margin: 7px auto 11px;
    }

    .purchase {
        grid-template-columns: 1fr 1.35fr;
        align-items: end;
    }

    .price {
        font-size: 22px;
    }

    .purchase a {
        height: 45px;
    }

    .benefits {
        grid-template-columns: repeat(2,1fr);
    }

    .benefits>div:nth-child(2) {
        border-right: 0;
    }

    .benefits>div:nth-child(-n+2) {
        border-bottom: 1px solid #cbddec;
    }

    .road-art {
        inset: 0 0 0 58%;
    }
}

@media (max-width:560px){
    .site-header {
        height: 68px;
        padding: 0 13px;
    }

    .wordmark strong {
        font-size: 19px;
    }

    .wordmark small {
        font-size: 7px;
    }

    .language {
        display: none;
    }

    .login {
        padding: 9px 10px;
        font-size: 10px;
    }

    .hero {
        min-height: 204px;
        padding: 27px 15px 23px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .eyebrow {
        font-size: 9px;
    }

    .trust {
        margin-top: 18px;
        font-size: 11px;
    }

    .road-art {
        inset: 0 0 0 61%;
        opacity: .65;
    }

    .dots {
        display: none;
    }

    .arrow {
        right: 4%;
        font-size: 50px;
    }

    .road-sign {
        right: 30%;
        transform: scale(.7) rotate(45deg);
    }

    .courses {
        width: calc(100% - 18px);
        gap: 7px;
    }

    .course-card {
        min-height: 315px;
        padding: 13px 9px 10px;
        border-width: 1.5px;
        border-radius: 10px;
    }

    .icon-wrap {
        height: 58px;
    }

    .course-icon {
        transform: scale(.68);
    }

    .audience {
        min-height: 23px;
        margin: 3px 0 5px;
        font-size: 8px;
    }

    .course-card h2 {
        font-size: 17px;
        min-height: 38px;
    }

    .description {
        min-height: 61px;
        margin: 6px auto 8px;
        font-size: 10px;
        line-height: 1.35;
    }

    .purchase {
        display: block;
    }

    .price {
        display: block;
        margin-bottom: 7px;
        font-size: 18px;
    }

    .purchase a {
        height: 39px;
        font-size: 11px;
    }

    .benefits {
        width: calc(100% - 18px);
        margin: 23px auto 27px;
    }

    .benefits>div {
        min-height: 72px;
        padding: 9px;
        gap: 8px;
    }

    .benefits>div>span {
        width: 27px;
        height: 27px;
        font-size: 11px;
    }

    .benefits strong {
        font-size: 9px;
    }

    .benefits small {
        font-size: 8px;
    }

    footer {
        display: block;
        text-align: center;
    }

    .footer-mark {
        justify-content: center;
    }

    footer p {
        margin: 15px 0 0;
    }
}

/* Approved simple modern icon family */
.course-icon {
    margin-inline: auto;
    background: #dff1ff;
    color: #101b3a;
}

.traffic-school .course-icon,
.mature-driver .course-icon,
.permit-prep .course-icon {
    background: #dff1ff;
    color: #101b3a;
}

.laptop-icon:before {
    width: 58px;
    height: 42px;
    border: 0;
    border-radius: 5px;
    background: #101b3a;
    box-shadow: inset 0 0 0 6px #4d96eb;
}

.laptop-icon:after {
    width: 70px;
    height: 8px;
    bottom: 15px;
    border-radius: 2px 2px 8px 8px;
    background: #101b3a;
}

.laptop-icon i {
    left: 29px;
    top: 45px;
    width: 27px;
    height: 10px;
    border: 0;
    transform: none;
    border-radius: 4px 5px 2px 2px;
    background: #ff4b0b;
}

.laptop-icon i:before {
    content: "";
    position: absolute;
    left: 6px;
    top: -7px;
    width: 15px;
    height: 8px;
    border-radius: 7px 7px 0 0;
    background: #ff4b0b;
}

.laptop-icon i:after {
    content: "";
    position: absolute;
    left: 3px;
    bottom: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dff1ff;
    box-shadow: 16px 0 #dff1ff;
}

.wheel-icon:before {
    width: 58px;
    height: 58px;
    border: 9px solid #101b3a;
    background: #4d96eb;
    box-shadow: inset 0 0 0 8px #dff1ff;
}

.wheel-icon:after {
    width: 10px;
    height: 54px;
    background: #101b3a;
}

.wheel-icon i {
    width: 19px;
    height: 19px;
    border: 4px solid #dff1ff;
    background: #ff4b0b;
}

.clipboard-icon:before {
    width: 52px;
    height: 65px;
    border: 0;
    border-radius: 6px;
    background: #101b3a;
    box-shadow: inset 0 0 0 7px #4d96eb;
}

.clipboard-icon:after {
    left: 25px;
    top: 27px;
    color: #fff;
    font-size: 16px;
    line-height: 1.45;
}

.clipboard-icon i {
    top: 9px;
    width: 23px;
    height: 13px;
    border: 5px solid #ff4b0b;
    border-bottom: 0;
    background: #101b3a;
}
