:root {
    --ink: #163b45;
    --teal: #205e6b;
    --muted: #52666c;
    --line: #d6e2e4;
    --pale: #f0f6f6;
    --accent: #b88040
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 16px/1.65 Arial, Helvetica, sans-serif
}

a {
    color: inherit
}

button,
a,
summary {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid #b88040;
    outline-offset: 5px
}

header {
    background: #fffffff5;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: blur(12px)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap
}

.brand img {
    width: 66px;
    height: 66px;
    object-fit: contain
}

.brand strong {
    font-size: 18px
}

nav {
    display: flex;
    gap: 26px;
    font-size: 14px
}

nav a {
    text-decoration: none
}

nav a:hover,
.text-link:hover {
    color: var(--accent)
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    background: var(--teal);
    color: #fff;
    padding: 12px 22px;
    border: 1px solid var(--teal);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s
}

.button:hover {
    background: #133e48;
    color: white
}

.small {
    min-height: 42px;
    padding: 8px 17px
}

.outline {
    background: transparent;
    color: var(--teal)
}

main {
    max-width: 1440px;
    margin: auto
}

section {
    padding: 72px 6%;
    border-bottom: 1px solid var(--line)
}

.intro {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 8%;
    padding-top: 65px;
    padding-bottom: 60px;
    background: linear-gradient(115deg, #f3f8f8, #fff 72%)
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
    margin: 0 0 16px;
    color: var(--teal)
}

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

h1 {
    font: clamp(36px, 4.4vw, 65px)/1.12 Georgia, serif;
    letter-spacing: -1.5px;
    margin-bottom: 14px
}

h2 {
    font: clamp(29px, 3vw, 42px)/1.15 Georgia, serif;
    letter-spacing: -.7px;
    margin-bottom: 18px
}

h3 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 14px
}

.subtitle {
    font-size: 23px;
    line-height: 1.5;
    margin-bottom: 22px
}

.subtitle span {
    font-size: 19px;
    color: var(--muted)
}

.lead {
    max-width: 590px;
    color: var(--muted);
    font-size: 17px
}

.actions {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 26px
}

.text-link {
    font-size: 14px;
    text-underline-offset: 5px
}

.overview {
    border-top: 3px solid var(--accent);
    padding: 27px 30px;
    background: white;
    box-shadow: 0 12px 35px #1b526b0a
}

.big-number {
    font: 76px/1.2 Georgia, serif;
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 20px 0
}

.big-number span {
    font: 18px/1.4 Arial, sans-serif
}

.overview-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 14px
}

.overview p {
    font-size: 14px;
    color: var(--muted);
    margin: 16px 0 0
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px
}

.section-heading p:last-child {
    margin-bottom: 0;
    color: var(--muted)
}

.section-heading .button {
    flex-shrink: 0
}

.program-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px
}

.route {
    padding-top: 15px
}

.route p {
    color: var(--muted);
    font-size: 14px
}

.route ol {
    list-style: none;
    padding: 0
}

.route li {
    border-left: 2px solid var(--line);
    padding: 4px 0 25px 20px
}

.route li b {
    display: block;
    color: var(--teal);
    font-size: 14px
}

.route li span {
    font-size: 14px
}

.note {
    font-size: 13px !important;
    color: var(--muted)
}

.modules details {
    border-bottom: 1px solid var(--line)
}

.modules details:first-child {
    border-top: 1px solid var(--line)
}

summary {
    cursor: pointer;
    list-style: none
}

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

.modules summary {
    display: grid;
    grid-template-columns: 45px 1fr 22px;
    gap: 14px;
    align-items: center;
    padding: 22px 6px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4
}

.modules summary:after {
    content: '+';
    font-size: 24px;
    font-weight: 400
}

.modules details[open] summary:after {
    content: '−'
}

.modules details[open] {
    background: var(--pale);
    border-radius: 5px
}

.modules details[open] summary {
    padding-left: 17px;
    padding-right: 17px
}

.num {
    font: 23px Georgia, serif;
    color: #587b85
}

.module-body {
    padding: 0 26px 27px 76px;
    color: var(--muted)
}

.module-body ul {
    padding-left: 20px
}

.module-body .eyebrow {
    margin-bottom: 8px
}

.module-body .button {
    margin-top: 9px
}

.tinted {
    background: var(--pale)
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.three-col p {
    color: var(--muted);
    margin-bottom: 0
}

.kicker {
    display: block;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    color: var(--teal)
}

.faq {
    border-top: 1px solid #cbdcde;
    margin-top: 28px;
    padding-top: 20px
}

.faq summary {
    font-weight: 700
}

.faq summary:after {
    content: ' +';
    color: var(--teal)
}

.faq p {
    margin: 15px 0 0;
    color: var(--muted)
}

.teacher {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10%;
    align-items: center
}

.logo-panel {
    background: #f5f8f8;
    padding: 28px;
    text-align: center
}

.logo-panel img {
    max-width: 270px;
    width: 100%;
    height: auto
}

.teacher p {
    color: var(--muted)
}

.teacher .eyebrow {
    color: var(--teal)
}

.large {
    font-size: 20px
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

.price {
    padding: 30px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--teal)
}

.price h3 {
    font-weight: 400
}

.price h3 strong {
    display: block;
    font: 44px Georgia, serif;
    margin: 15px 0 25px
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-top: 14px
}

.price-row small {
    font-weight: 400;
    color: var(--muted);
    font-size: 13px
}

.payment {
    margin-top: 28px;
    max-width: 900px
}

.payment p {
    color: var(--muted)
}

.steps article>b {
    font: 35px Georgia, serif;
    color: #638991;
    display: block;
    margin-bottom: 15px
}

.contact {
    background: #153f49;
    color: white;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 10%
}

.contact .eyebrow {
    color: #acd2db
}

.contact .button {
    background: white;
    color: #153f49;
    margin-top: 15px
}

.contact-info p {
    margin-bottom: 20px
}

.contact-info span {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    color: #acd2db;
    margin-bottom: 5px
}

.contact-info a {
    display: block;
    text-decoration: none;
    overflow-wrap: anywhere
}

.contact-info a:hover {
    text-decoration: underline
}

footer {
    padding: 32px 6%;
    max-width: 1440px;
    margin: auto;
    color: var(--muted);
    font-size: 13px
}

footer p {
    max-width: 1080px;
    margin: 8px 0
}

footer strong {
    color: var(--ink)
}

@media(max-width:1050px) {
    header {
        flex-wrap: wrap;
        gap: 10px
    }

    nav {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
        gap: 25px;
        overflow-x: auto;
        padding: 7px 0
    }

    .intro {
        gap: 30px
    }

    .program-layout {
        grid-template-columns: 210px 1fr;
        gap: 25px
    }

    .three-col {
        gap: 25px
    }

    .price-row {
        flex-wrap: wrap
    }
}

@media(max-width:720px) {
    html {
        scroll-padding-top: 160px
    }

    header {
        padding: 10px 5%
    }

    .brand img {
        width: 48px;
        height: 48px
    }

    .brand {
        font-size: 12px
    }

    .brand strong {
        font-size: 16px
    }

    nav {
        justify-content: flex-start;
        gap: 24px;
        white-space: nowrap
    }

    section {
        padding: 45px 6%
    }

    .intro {
        grid-template-columns: 1fr;
        padding-top: 38px
    }

    .subtitle {
        font-size: 20px
    }

    .subtitle span {
        font-size: 17px
    }

    .overview {
        padding: 23px
    }

    .big-number {
        font-size: 60px;
        margin: 12px 0
    }

    .section-heading {
        display: block
    }

    .section-heading>.button {
        margin-top: 22px
    }

    .program-layout {
        display: block
    }

    .route {
        display: none
    }

    .modules summary {
        font-size: 16px;
        grid-template-columns: 33px 1fr 16px;
        gap: 9px;
        padding: 20px 0
    }

    .module-body {
        padding: 0 20px 24px
    }

    .three-col,
    .teacher,
    .price-grid,
    .contact {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .teacher {
        gap: 28px
    }

    .logo-panel img {
        max-width: 190px
    }

    .price {
        padding: 24px
    }

    .price-row {
        font-size: 14px
    }

    .contact h2 br {
        display: none
    }

    .overview-row {
        font-size: 14px
    }

    .button {
        white-space: normal
    }

    .actions {
        gap: 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

.training-assistant {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 26px;
    margin-bottom: 26px
}

.training-assistant h3 {
    font: 30px/1.2 Georgia, serif;
    margin-bottom: 16px
}

.training-assistant .eyebrow {
    margin-bottom: 12px
}

.group-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px 0
}

.group-filters button {
    font: inherit;
    color: var(--teal);
    background: white;
    border: 1px solid var(--line);
    padding: 12px 22px;
    border-radius: 6px;
    cursor: pointer;
    min-height: 48px
}

.group-filters button[aria-pressed="true"] {
    background: var(--teal);
    color: white;
    border-color: var(--teal)
}

.group-filters button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px
}

.group-card {
    background: white;
    border: 1px solid var(--line);
    border-top: 3px solid var(--teal);
    padding: 30px;
    margin-bottom: 20px;
    max-width: 720px
}

.group-card h3 {
    font: 30px/1.25 Georgia, serif
}

.group-card p {
    color: var(--muted)
}

.group-card .eyebrow {
    color: var(--teal)
}

.group-hours {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    font-weight: 700
}

@media(max-width:720px) {
    .group-filters {
        gap: 8px
    }

    .group-filters button {
        flex: 1 1 140px;
        padding: 12px
    }

    .group-card {
        padding: 24px
    }
}