:root {
    --cream: #fff9ef;
    --cream-deep: #f8eddd;
    --white: #ffffff;
    --ink: #24223c;
    --muted: #655f72;
    --indigo: #354382;
    --indigo-dark: #263467;
    --indigo-soft: #e7e5ef;
    --coral: #ef765a;
    --coral-soft: #fbe1d7;
    --teal: #158e8d;
    --teal-soft: #d9f1ec;
    --yellow: #f2b72a;
    --yellow-soft: #faeab5;
    --lavender: #80669d;
    --lavender-soft: #eee5ec;
    --line: rgba(53, 67, 130, 0.14);
    --shadow: 0 18px 36px rgba(36, 34, 60, 0.1);
    --soft-shadow: 7px 7px 0 rgba(49, 65, 145, 0.1);
    --radius-small: 18px;
    --radius: 28px;
    --radius-large: 42px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Be Vietnam Pro", sans-serif;
    line-height: 1.65;
}

body.modal-open {
    overflow: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
.brand {
    font-family: "Plus Jakarta Sans", sans-serif;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.12;
}

h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: clamp(3.1rem, 5.7vw, 5.35rem);
    letter-spacing: -0.075em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.25rem, 4vw, 3.7rem);
    letter-spacing: -0.065em;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    letter-spacing: -0.035em;
}

p {
    color: var(--muted);
}

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 104px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(49, 65, 145, 0.07);
    background: rgba(255, 249, 239, 0.9);
    backdrop-filter: blur(18px);
}

.nav-shell,
.nav-links,
.footer-links,
.brand,
.hero-actions {
    display: flex;
    align-items: center;
}

.nav-shell {
    min-height: 78px;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    gap: 11px;
    line-height: 1;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 15px 15px 15px 4px;
    color: var(--white);
    background: var(--indigo);
    box-shadow: 4px 4px 0 var(--yellow);
    font-size: 1.15rem;
    font-weight: 800;
}

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

.brand strong {
    color: var(--indigo-dark);
    font-size: 1rem;
}

.brand small {
    margin-top: 5px;
    color: var(--coral);
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav-links {
    gap: 27px;
}

.nav-links a,
.footer-links a {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--indigo);
}

.menu-toggle {
    display: none;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-small {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 0.76rem;
}

.button-primary {
    color: var(--white);
    background: var(--indigo);
    box-shadow: 0 8px 18px rgba(49, 65, 145, 0.2);
}

.button-primary:hover {
    background: var(--indigo-dark);
    box-shadow: 0 12px 22px rgba(49, 65, 145, 0.25);
}

.button-secondary {
    color: var(--indigo);
    border-color: var(--line);
    background: var(--white);
}

.button-secondary:hover {
    box-shadow: var(--soft-shadow);
}

.button-light {
    color: var(--indigo-dark);
    background: var(--white);
    box-shadow: 0 8px 18px rgba(36, 34, 60, 0.13);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 19px;
    color: var(--indigo);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.eyebrow span {
    display: inline-block;
    width: 26px;
    height: 2px;
    background: var(--coral);
}

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 82px;
    padding-bottom: 0;
}

.hero-grid,
.approach-grid,
.support-grid,
.faq-grid {
    display: grid;
    align-items: center;
    gap: 68px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
}

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

.hero h1 em {
    color: var(--coral);
    font-family: inherit;
    font-style: normal;
}

.hero-intro {
    max-width: 640px;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 13px;
}

.hero-decor {
    position: absolute;
    border-radius: 999px;
    opacity: 0.55;
    filter: blur(1px);
}

.hero-decor-one {
    top: 90px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: var(--yellow-soft);
}

.hero-decor-two {
    bottom: 100px;
    left: -120px;
    width: 260px;
    height: 260px;
    background: var(--lavender-soft);
}

.art-frame {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.art-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-art {
    aspect-ratio: 1.3;
    border-radius: 52px 52px 52px 15px;
    box-shadow: 14px 14px 0 rgba(53, 67, 130, 0.13);
}

.hero-art img {
    position: absolute;
    inset: 0;
}

.benefit-strip {
    position: relative;
    z-index: 2;
    display: grid;
    margin-top: 74px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 25px rgba(36, 34, 60, 0.05);
    grid-template-columns: repeat(3, 1fr);
}

.benefit-strip > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 23px;
}

.benefit-strip > div + div {
    border-left: 1px solid var(--line);
}

.benefit-strip strong,
.benefit-strip small {
    display: block;
}

.benefit-strip strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.82rem;
}

.benefit-strip small {
    color: var(--muted);
    font-size: 0.69rem;
}

.benefit-icon {
    display: grid;
    flex: 0 0 auto;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 14px;
    font-weight: 700;
}

.benefit-icon-coral {
    color: var(--coral);
    background: var(--coral-soft);
}

.benefit-icon-teal {
    color: var(--teal);
    background: var(--teal-soft);
}

.benefit-icon-yellow {
    color: #9a6a00;
    background: var(--yellow-soft);
}

.heading-centered {
    max-width: 670px;
    margin: 0 auto 52px;
    text-align: center;
}

.eyebrow-centered {
    justify-content: center;
}

.section-heading > p:last-child {
    margin-bottom: 0;
}

.programs {
    padding-top: 118px;
}

.program-grid {
    display: grid;
    gap: 17px;
    grid-template-columns: repeat(4, 1fr);
}

.program-card {
    min-height: 300px;
    padding: 25px 22px;
    border: 1px solid rgba(49, 65, 145, 0.09);
    border-radius: var(--radius);
    box-shadow: 6px 6px 0 rgba(49, 65, 145, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.program-card:hover {
    transform: translateY(-7px);
    box-shadow: 9px 12px 0 rgba(49, 65, 145, 0.11);
}

.program-card-coral {
    background: var(--coral-soft);
}

.program-card-teal {
    background: var(--teal-soft);
}

.program-card-yellow {
    background: var(--yellow-soft);
}

.program-card-lavender {
    background: var(--lavender-soft);
}

.program-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 15px;
    color: var(--white);
    background: var(--indigo);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
}

.program-card p {
    margin-bottom: 23px;
    font-size: 0.86rem;
    line-height: 1.7;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    padding: 0;
    color: var(--indigo);
    background: transparent;
    font-size: 0.79rem;
    font-weight: 700;
    transition: gap 180ms ease, color 180ms ease;
}

.text-link:hover {
    gap: 12px;
    color: var(--coral);
}

.how-it-works {
    background: var(--indigo);
}

.heading-split {
    display: grid;
    align-items: end;
    gap: 68px;
    margin-bottom: 44px;
    grid-template-columns: 1.1fr 0.9fr;
}

.how-it-works .eyebrow,
.cta-card .eyebrow {
    color: var(--yellow-soft);
}

.how-it-works h2,
.cta-card h2 {
    color: var(--white);
}

.how-it-works .heading-split > p {
    color: var(--indigo-soft);
}

.step-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
}

.step-card {
    display: flex;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 25px 22px 21px;
    background: rgba(255, 255, 255, 0.09);
}

.step-card h3 {
    color: var(--white);
}

.step-card p {
    margin-bottom: 0;
    color: var(--indigo-soft);
    font-size: 0.84rem;
}

.step-number {
    display: grid;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 50%;
    color: var(--indigo-dark);
    background: var(--yellow);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.83rem;
    font-weight: 800;
}

.approach-grid {
    grid-template-columns: 0.98fr 1.02fr;
}

.approach-art,
.support-art {
    aspect-ratio: 1.07;
}

.approach-art {
    border-radius: 44px 44px 14px 44px;
    box-shadow: -13px 13px 0 var(--teal-soft);
}

.approach-copy > p:not(.eyebrow),
.support-copy > p:not(.eyebrow) {
    margin-bottom: 24px;
}

.approach-list {
    display: grid;
    gap: 9px;
}

.approach-list > div {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    border-radius: 15px;
    background: var(--white);
}

.approach-list > div > span {
    display: grid;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--teal);
    font-size: 0.73rem;
}

.approach-list p {
    margin: 0;
}

.approach-list strong,
.approach-list small {
    display: block;
}

.approach-list strong {
    color: var(--ink);
    font-size: 0.82rem;
}

.approach-list small {
    color: var(--muted);
    font-size: 0.73rem;
}

.support {
    background: var(--coral-soft);
}

.support-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.support-art {
    border-radius: 44px 14px 44px 44px;
    box-shadow: 13px 13px 0 rgba(247, 120, 93, 0.22);
}

.faq-grid {
    align-items: start;
    grid-template-columns: 0.82fr 1.18fr;
}

.faq .section-heading {
    position: sticky;
    top: 116px;
}

.faq-list {
    display: grid;
    gap: 11px;
}

details {
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--white);
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 20px;
    color: var(--ink);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

summary span {
    color: var(--coral);
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 180ms ease;
}

details[open] summary span {
    transform: rotate(45deg);
}

details p {
    margin: 0;
    padding: 0 20px 20px;
    font-size: 0.85rem;
}

.cta-section {
    padding-top: 0;
}

.cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    border-radius: var(--radius-large);
    padding: 49px 55px;
    background: var(--indigo);
}

.cta-card h2 {
    max-width: 720px;
    margin-bottom: 0;
    font-size: clamp(2rem, 3.6vw, 3.15rem);
}

.cta-decoration {
    position: absolute;
    right: 190px;
    bottom: -99px;
    color: rgba(255, 255, 255, 0.07);
    font-size: 13rem;
    line-height: 1;
}

.cta-card > *:not(.cta-decoration) {
    position: relative;
    z-index: 1;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 30px 0;
    background: var(--white);
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-links {
    gap: 20px;
}

.site-footer p {
    margin: 0;
    font-size: 0.72rem;
}

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    overflow-y: auto;
    place-items: center;
    padding: 24px;
    background: rgba(36, 34, 60, 0.46);
    backdrop-filter: blur(8px);
}

.modal-panel {
    position: relative;
    width: min(100%, 610px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 35px;
    background: var(--cream);
    box-shadow: 0 25px 70px rgba(36, 34, 60, 0.24);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--indigo);
    background: var(--indigo-soft);
    font-size: 1.65rem;
    line-height: 1;
}

.modal h2 {
    margin-bottom: 10px;
    font-size: 2.25rem;
}

.modal-intro {
    margin-bottom: 20px;
    font-size: 0.88rem;
}

form {
    display: grid;
    gap: 13px;
}

label > span {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 700;
}

label small {
    color: var(--muted);
    font-size: 0.67rem;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 11px 12px;
    color: var(--ink);
    background: var(--white);
    font-size: 0.84rem;
}

textarea {
    resize: vertical;
}

.button-submit {
    width: 100%;
    margin-top: 3px;
}

.success-state {
    padding: 16px 5px 8px;
    text-align: center;
}

.success-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--teal);
    box-shadow: 7px 7px 0 var(--teal-soft);
    font-size: 1.8rem;
    font-weight: 700;
}

.success-state p:not(.eyebrow) {
    margin-bottom: 24px;
}

@media (max-width: 980px) {
    .nav-shell {
        position: relative;
    }

    .menu-toggle {
        display: grid;
        width: 46px;
        height: 46px;
        place-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--white);
    }

    .menu-toggle span {
        display: block;
        width: 19px;
        height: 2px;
        background: var(--indigo);
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 0 0 18px 18px;
        padding: 13px 16px 17px;
        background: rgba(255, 249, 239, 0.98);
        box-shadow: 0 14px 22px rgba(36, 34, 60, 0.08);
    }

    .nav-links.is-open {
        display: grid;
    }

    .nav-links a {
        padding: 8px 0;
    }

    .nav-links .button {
        margin-top: 5px;
    }

    .hero-grid,
    .approach-grid,
    .support-grid {
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 64px;
    }

    .hero-art {
        aspect-ratio: 1.55;
    }

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

    .step-grid {
        grid-template-columns: 1fr;
    }

    .approach-art,
    .support-art {
        aspect-ratio: 1.35;
    }

    .support-copy {
        order: 2;
    }

    .support-art {
        order: 1;
    }

    .faq-grid {
        gap: 35px;
        grid-template-columns: 1fr;
    }

    .faq .section-heading {
        position: static;
    }

    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .section {
        padding: 76px 0;
    }

    .site-header .brand-mark {
        width: 38px;
        height: 38px;
    }

    .hero {
        padding-top: 38px;
        padding-bottom: 0;
    }

    h1 {
        margin-bottom: 18px;
        font-size: clamp(2.42rem, 11.8vw, 3.05rem);
    }

    h2 {
        font-size: clamp(2.1rem, 11vw, 3rem);
    }

    .hero-intro {
        margin-bottom: 21px;
        font-size: 0.9rem;
        line-height: 1.58;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-art {
        aspect-ratio: 1.42;
        border-radius: 34px 34px 34px 12px;
        box-shadow: 9px 9px 0 rgba(53, 67, 130, 0.13);
    }

    .benefit-strip {
        margin-top: 53px;
        grid-template-columns: 1fr;
    }

    .benefit-strip > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .programs {
        padding-top: 84px;
    }

    .heading-centered {
        margin-bottom: 34px;
    }

    .program-grid {
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .program-card {
        min-height: 0;
        padding: 22px;
    }

    .program-icon {
        margin-bottom: 20px;
    }

    .heading-split {
        gap: 10px;
        margin-bottom: 30px;
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 20px 18px 17px;
    }

    .approach-art,
    .support-art {
        aspect-ratio: 1.08;
        border-radius: 32px 32px 12px 32px;
    }

    .support-art {
        border-radius: 32px 12px 32px 32px;
    }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 30px;
        padding: 33px 25px;
    }

    .cta-card .button {
        width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 11px 18px;
    }

    .modal {
        place-items: start center;
        padding: 15px;
    }

    .modal-panel {
        margin-top: 12px;
        border-radius: 22px;
        padding: 28px 20px 22px;
    }

    .modal h2 {
        padding-right: 24px;
        font-size: 1.9rem;
    }
}
