@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --green: #173f37;
    --cream: #faf9f4;
    --orange: #c9774c;
    --ink: #223d35;
    --muted: #6c766e;
    --line: #dfe4da
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 15px/1.65 'DM Sans', sans-serif
}

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

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

button {
    cursor: pointer
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px
}

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

h1,
h2,
h3 {
    font-family: Manrope, sans-serif;
    line-height: 1.17;
    letter-spacing: -1.5px
}

h1 {
    font-size: clamp(42px, 4.4vw, 65px);
    font-weight: 600;
    margin: 24px 0
}

h2 {
    font-size: clamp(32px, 3.3vw, 46px);
    font-weight: 500;
    margin-bottom: 25px
}

h3 {
    font-size: 22px;
    letter-spacing: -.5px
}

em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--orange)
}

p {
    color: var(--muted)
}

.container {
    width: min(1160px, calc(100% - 64px));
    margin: auto
}

.announcement {
    background: var(--green);
    color: white;
    text-align: center;
    font-size: 12px;
    padding: 9px 18px;
    letter-spacing: .2px
}

.live-dot {
    display: inline-block;
    background: #e6bc75;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    margin: 0 7px 2px 0
}

.announcement-tail {
    margin-left: 50px;
    color: #d3dfcf;
    font-size: 11px
}

.header {
    max-width: 1280px;
    padding: 25px 40px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 800 18px/1.2 Manrope, sans-serif;
    letter-spacing: 1px
}

.brand small {
    display: block;
    font: 500 9px 'DM Sans', sans-serif;
    letter-spacing: 2.1px;
    margin-top: 5px
}

.brand-icon {
    position: relative;
    font: 400 47px/43px Georgia, serif;
    border: 1px solid #b9c7b7;
    border-radius: 12px;
    width: 47px;
    height: 49px;
    text-align: center
}

.brand-icon span {
    font-size: 18px;
    position: absolute;
    right: -5px;
    top: -13px;
    color: var(--orange)
}

nav {
    display: flex;
    gap: 28px;
    font-size: 13px
}

nav a:hover,
nav .active {
    color: var(--orange)
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    background: var(--green);
    color: white;
    border: 1px solid var(--green);
    border-radius: 7px;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    transition: background .2s
}

.button:hover {
    background: #28564b
}

.button span {
    font-size: 19px
}

.button.small {
    padding: 9px 17px;
    font-size: 12px;
    gap: 18px
}

.button.outline {
    color: var(--green);
    background: transparent;
    border-color: #bac9ba
}

.button.outline:hover {
    background: #eaf0e8
}

.button.full {
    display: flex;
    width: 100%;
    justify-content: space-between
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 32px;
    padding-top: 45px;
    padding-bottom: 72px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #6d7d61
}

.hero-copy h1 {
    position: relative
}

.spark {
    font: 400 54px Georgia;
    color: #c49d59;
    margin-left: 25px
}

.hero-lead {
    font-size: 20px;
    color: var(--ink);
    margin: 26px 0 10px
}

.hero-copy>p:not(.hero-lead) {
    max-width: 430px;
    line-height: 1.85;
    font-size: 14px
}

.actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 28px 0
}

.text-link {
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    gap: 12px;
    align-items: center
}

.hero-perks {
    display: flex;
    gap: 22px;
    font-size: 11px;
    color: #798271
}

.hero-art {
    position: relative;
    padding: 45px 0 20px
}

.hero-art>img {
    width: 100%;
    height: auto;
    display: block
}

.art-label {
    position: absolute;
    top: 24px;
    left: 48px;
    font: italic 19px/1.4 Georgia, serif;
    transform: rotate(-8deg);
    color: #607558
}

.floating-note {
    position: absolute;
    left: -12px;
    bottom: 76px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 14px 18px;
    border: 1px solid #e8eadf;
    border-radius: 10px;
    box-shadow: 0 10px 40px #1b3c3010;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(-4deg)
}

.floating-note small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    font-weight: 400
}

.floating-note>span {
    background: #edf1e8;
    color: #7f956b;
    border-radius: 50%;
    padding: 5px 12px;
    font-size: 21px
}

.fee-float {
    position: absolute;
    right: -5px;
    bottom: 0;
    background: #fcfaf3;
    padding: 17px 23px;
    border: 1px solid #e1dece;
    border-radius: 10px;
    transform: rotate(4deg);
    display: flex;
    flex-direction: column;
    box-shadow: 0 9px 30px #1b3c3009
}

.fee-float>small {
    font-size: 8px;
    letter-spacing: 1.5px
}

.fee-float strong {
    font-size: 31px;
    line-height: 1.5
}

.fee-float strong span {
    font-size: 10px;
    font-weight: 400
}

.fee-float>span {
    font-size: 9px;
    color: var(--muted)
}

.benefit-strip {
    border-block: 1px solid var(--line);
    background: #f0f2e9
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 25px 0
}

.benefits>div {
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid #d8dfd1;
    padding: 0 22px
}

.benefits>div:first-child {
    padding-left: 0
}

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

.benefits>div>span {
    color: #9aab89;
    font: italic 23px Georgia, serif
}

.benefits strong {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap
}

.benefits small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 2px
}

.section {
    padding-block: 90px
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px
}

.section .eyebrow {
    margin-bottom: 20px
}

.about-grid>div>p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 24px
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 35px
}

.feature-grid article>span {
    display: block;
    color: #8b9f73;
    font-size: 28px;
    margin-bottom: 12px
}

.feature-grid h3 {
    font-size: 16px;
    letter-spacing: -.3px;
    margin-bottom: 9px
}

.feature-grid p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 0
}

.curriculum-section {
    background: #edf1e8;
    border-block: 1px solid var(--line)
}

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

.section-heading>p {
    font-size: 13px
}

.curriculum-list {
    margin-top: 20px
}

details {
    border-bottom: 1px solid #cdd7c8
}

summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
    padding: 24px 3px
}

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

.chapter-number {
    font: italic 22px Georgia, serif;
    color: #859775
}

summary strong {
    font-size: 16px;
    font-weight: 500
}

.chapter-meta {
    margin-left: auto;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap
}

.chapter-description {
    padding: 0 55px 18px;
    font-size: 13px;
    max-width: 800px
}

.enrollment {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 110px;
    align-items: center
}

.journey {
    margin-top: 35px
}

.journey p {
    display: flex;
    gap: 20px;
    font-size: 12px;
    align-items: center;
    margin: 25px 0
}

.journey b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    border: 1px solid #d6ddcb;
    border-radius: 50%;
    color: #8b9f73;
    font-size: 12px
}

.journey strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    margin-bottom: 3px
}

.course-card {
    background: white;
    border: 1px solid #dfe4d7;
    padding: 33px;
    border-radius: 14px;
    box-shadow: 0 12px 45px #153c3007
}

.pill {
    font-size: 9px;
    letter-spacing: 1px;
    border-radius: 5px;
    background: #edf1e8;
    color: #64795a;
    display: inline-block;
    padding: 5px 10px;
    font-weight: 600
}

.course-card h3 {
    font-size: 28px;
    line-height: 1.3;
    margin: 20px 0 12px
}

.course-card p {
    font-size: 13px
}

.price {
    font: 600 43px Manrope, sans-serif;
    margin: 20px 0
}

.price small {
    display: block;
    font: 11px 'DM Sans', sans-serif;
    color: var(--muted);
    margin-top: 3px
}

.check-list {
    list-style: none;
    padding: 18px 0;
    margin: 10px 0 20px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted)
}

.check-list li {
    padding: 5px 0
}

.check-list li:before {
    content: '✓';
    color: #6c8860;
    margin-right: 10px
}

.card-note {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 10px;
    color: var(--muted)
}

.card-note a {
    text-decoration: underline
}

footer {
    border-top: 1px solid var(--line);
    background: #f1f2e9;
    font-size: 11px;
    color: var(--muted)
}

.footer-inner {
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.footer-brand {
    font-size: 14px;
    display: block;
    color: var(--ink)
}

.footer-brand small {
    font-size: 9px;
    letter-spacing: 0;
    color: var(--muted)
}

.footer-inner>div {
    display: flex;
    gap: 15px
}

.page-top {
    padding: 40px 0 25px
}

.breadcrumb {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 25px
}

.page-top h1 {
    font-size: 40px;
    margin: 12px 0
}

.page-top p {
    max-width: 650px;
    font-size: 14px
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 35px;
    padding-bottom: 70px;
    align-items: start
}

.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px
}

.form-section {
    border: 0;
    margin: 0 0 26px;
    padding: 0 0 25px;
    border-bottom: 1px solid var(--line);
    min-width: 0
}

.form-section legend {
    font: 600 17px Manrope, sans-serif;
    padding: 0;
    margin-bottom: 20px
}

.form-section legend span {
    font-size: 10px;
    color: #819273;
    margin-right: 10px
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    min-width: 0
}

.field.wide {
    grid-column: 1/-1
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d8ded3;
    border-radius: 6px;
    padding: 11px 12px;
    background: #fcfcf9;
    color: var(--ink);
    min-height: 44px;
    font-size: 13px
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #a8b69a;
    outline-offset: 1px
}

input[type=checkbox] {
    width: 17px;
    min-height: 17px;
    accent-color: var(--green)
}

input[type=file] {
    font-size: 11px;
    padding: 13px 10px;
    border-style: dashed;
    background: #f7f9f2
}

.hint {
    font-size: 10px;
    font-weight: 400;
    color: var(--muted)
}

.upload-preview {
    height: 90px;
    max-width: 150px;
    object-fit: contain;
    align-self: start;
    border-radius: 6px
}

.form-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 11px;
    color: var(--muted)
}

.side-note {
    position: sticky;
    top: 25px;
    background: #edf1e8;
    padding: 25px;
    border-radius: 10px
}

.side-note h3 {
    font-size: 19px
}

.side-note p,
.side-note li {
    font-size: 12px
}

.side-note ul {
    padding-left: 18px
}

.steps {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 30px;
    font-size: 11px;
    color: #8b9586
}

.steps b {
    font-size: 10px;
    border-radius: 50%;
    padding: 4px 8px;
    background: #e6ecdf;
    margin-right: 5px
}

.steps .current {
    color: var(--green);
    font-weight: 600
}

.steps .current b {
    color: white;
    background: var(--green)
}

.notice,
.error {
    border: 1px solid #ccd8bc;
    background: #edf4e5;
    border-radius: 7px;
    padding: 14px 18px;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 13px
}

.error {
    background: #fff3ed;
    border-color: #e8c4ae;
    color: #974c31
}

.error ul {
    margin: 5px 0;
    padding-left: 18px
}

.auth-panel {
    max-width: 480px;
    margin: 35px auto 70px
}

.auth-panel h1 {
    font-size: 30px
}

.auth-panel .field {
    margin: 18px 0
}

.center {
    text-align: center
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e8f0df;
    color: #527444;
    margin: 0 auto 20px
}

.confirmation {
    max-width: 850px;
    margin: 25px auto 70px
}

.registration-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #edf1e8;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0
}

.registration-banner small {
    display: block;
    font-size: 10px;
    letter-spacing: 1px
}

.registration-banner strong {
    font-size: 20px
}

.badge {
    font-size: 10px;
    display: inline-block;
    background: #eaf0e3;
    color: #527146;
    padding: 4px 9px;
    border-radius: 20px;
    white-space: nowrap
}

.badge.pending {
    color: #93612f;
    background: #fbf0dc
}

.badge.blocked {
    color: #984e3b;
    background: #f8e6df
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.detail-grid dt {
    font-size: 10px;
    color: var(--muted)
}

.detail-grid dd {
    margin: 3px 0 0;
    font-size: 13px;
    overflow-wrap: anywhere
}

.student-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0
}

.student-images img {
    height: 90px;
    max-width: 160px;
    object-fit: contain
}

.payment-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: start;
    padding: 30px 0 70px
}

.payment-info {
    padding: 25px 0
}

.payment-info h2 {
    font-size: 36px
}

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

.learning-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 25px;
    padding-bottom: 65px;
    align-items: start
}

.lesson-sidebar {
    padding: 20px
}

.lesson-sidebar h3 {
    font-size: 15px;
    letter-spacing: 0
}

.lesson-sidebar summary {
    gap: 10px;
    padding: 15px 0
}

.lesson-sidebar summary strong {
    font-size: 12px
}

.lesson-link {
    display: flex;
    gap: 10px;
    border-radius: 6px;
    padding: 10px;
    margin: 5px 0;
    font-size: 12px;
    color: var(--muted);
    align-items: center
}

.lesson-link.selected,
.lesson-link:hover {
    background: #edf1e8;
    color: var(--green)
}

.player {
    aspect-ratio: 16/9;
    background: #17352e;
    border: 0;
    width: 100%;
    border-radius: 10px
}

.lesson-copy {
    margin-top: 24px
}

.lesson-copy h2 {
    font-size: 28px
}

.lesson-copy p {
    white-space: pre-line;
    font-size: 14px
}

.empty-state {
    text-align: center;
    padding: 45px 25px;
    border: 1px dashed #cbd5c4;
    border-radius: 10px;
    background: #f2f5ed
}

.empty-state h3 {
    font-size: 22px
}

.empty-state p {
    font-size: 13px
}

.admin-toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 25px 0
}

.stat {
    background: white;
    border: 1px solid var(--line);
    padding: 20px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--muted)
}

.stat strong {
    display: block;
    font-size: 30px;
    color: var(--green)
}

.table-wrap {
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left
}

th {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .6px;
    text-transform: uppercase;
    background: #f5f7f1
}

td,
th {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap
}

td a {
    text-decoration: underline
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0
}

.admin-grid h2 {
    font-size: 23px
}

.admin-grid .field {
    margin: 14px 0
}

.chapter-admin {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 20px 0;
    background: white;
    padding: 24px
}

.chapter-admin h3 {
    font-size: 20px
}

.lesson-admin {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    align-items: center
}

.lesson-admin p {
    font-size: 12px;
    margin: 5px 0
}

.danger {
    color: #a75d43 !important;
    border-color: #dec1b5 !important
}

.bottom-space {
    padding-bottom: 70px
}

.inline-form {
    display: inline
}

.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px
}

.search-form input {
    max-width: 350px
}

.button:disabled {
    opacity: .5;
    cursor: wait
}

.signout {
    border: 0;
    background: none;
    font-size: 12px;
    text-decoration: underline;
    color: var(--muted)
}

@media(max-width:1000px) {
    .header {
        padding: 20px 28px
    }

    nav {
        gap: 17px
    }

    .container {
        width: calc(100% - 48px)
    }

    .hero {
        gap: 15px
    }

    .hero-perks {
        gap: 10px;
        font-size: 10px
    }

    .floating-note {
        left: 0;
        padding: 10px;
        bottom: 60px
    }

    .fee-float {
        padding: 12px
    }

    .about-grid {
        gap: 45px
    }

    .enrollment {
        gap: 50px;
        grid-template-columns: 1fr 380px
    }

    .benefits>div {
        padding: 0 12px;
        gap: 8px
    }

    .benefits strong {
        font-size: 10px
    }

    .benefits small {
        font-size: 9px
    }

    .form-layout {
        grid-template-columns: 1fr 230px;
        gap: 20px
    }

    .payment-layout {
        gap: 35px
    }

    .learning-layout {
        grid-template-columns: 270px 1fr
    }
}

@media(max-width:760px) {
    .announcement {
        font-size: 10px;
        padding: 9px 8px
    }

    .announcement-tail {
        display: none
    }

    .header {
        padding: 18px 20px;
        gap: 10px;
        flex-wrap: wrap
    }

    .brand {
        font-size: 14px
    }

    .brand-icon {
        width: 37px;
        height: 40px;
        font-size: 38px;
        line-height: 36px
    }

    .brand small {
        font-size: 7px
    }

    .header-action {
        font-size: 10px !important;
        padding: 8px 10px !important;
        gap: 8px !important
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        border-top: 1px solid var(--line);
        padding-top: 13px;
        margin-top: 6px;
        font-size: 11px;
        gap: 22px
    }

    .container {
        width: calc(100% - 36px)
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 30px;
        padding-bottom: 40px;
        gap: 20px
    }

    .hero h1 {
        font-size: clamp(42px, 10.5vw, 65px);
        margin: 20px 0
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.6px
    }

    .hero-lead {
        font-size: 18px;
        margin-top: 20px
    }

    .hero-copy>p:not(.hero-lead) {
        font-size: 13px;
        max-width: 100%
    }

    .hero-art {
        max-width: 470px;
        width: 100%;
        margin: auto;
        padding-top: 25px;
        padding-bottom: 15px
    }

    .hero-art img {
        max-height: 390px
    }

    .art-label {
        font-size: 16px;
        top: 10px
    }

    .floating-note {
        bottom: 60px;
        font-size: 11px
    }

    .floating-note small {
        font-size: 8px
    }

    .fee-float {
        bottom: 0;
        right: 5px
    }

    .fee-float strong {
        font-size: 26px
    }

    .hero-perks {
        font-size: 10px;
        gap: 20px
    }

    .benefits {
        grid-template-columns: 1fr 1fr;
        gap: 22px 5px;
        padding: 25px 0
    }

    .benefits>div {
        padding: 0 8px !important;
        border: 0
    }

    .benefits strong {
        font-size: 11px
    }

    .benefits small {
        font-size: 9px
    }

    .section {
        padding-block: 55px
    }

    .about-grid,
    .enrollment {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .about-grid>div>p {
        font-size: 13px
    }

    .feature-grid {
        gap: 25px
    }

    .section-heading {
        display: block
    }

    .section-heading>p {
        font-size: 12px;
        margin-bottom: 25px
    }

    .section-heading>p br {
        display: none
    }

    summary {
        gap: 15px;
        padding: 20px 0
    }

    summary strong {
        font-size: 13px
    }

    .chapter-meta {
        font-size: 9px
    }

    .chapter-number {
        font-size: 18px
    }

    .chapter-description {
        padding-left: 33px;
        padding-right: 10px;
        font-size: 12px
    }

    .enrollment .course-card {
        max-width: 480px;
        width: 100%;
        margin: auto
    }

    .course-card {
        padding: 25px
    }

    .course-card h3 {
        font-size: 27px
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 28px 0
    }

    .page-top {
        padding-top: 25px
    }

    .page-top h1 {
        font-size: 31px
    }

    .page-top p {
        font-size: 13px
    }

    .form-layout {
        grid-template-columns: 1fr;
        padding-bottom: 45px
    }

    .side-note {
        position: static;
        order: -1;
        padding: 18px
    }

    .side-note p {
        margin-bottom: 0
    }

    .side-note ul {
        display: none
    }

    .side-note h3 {
        font-size: 16px;
        margin-bottom: 8px
    }

    .panel {
        padding: 20px
    }

    .fields {
        gap: 15px
    }

    .field {
        font-size: 11px
    }

    .form-section legend {
        font-size: 15px
    }

    .form-bottom .button {
        font-size: 12px;
        padding: 12px 16px;
        gap: 15px
    }

    .steps {
        gap: 6px;
        font-size: 9px;
        justify-content: space-between
    }

    .steps b {
        padding: 3px 6px;
        margin-right: 2px
    }

    .auth-panel {
        margin: 15px auto 50px;
        width: calc(100% - 36px)
    }

    .confirmation {
        width: calc(100% - 36px);
        margin-top: 15px
    }

    .confirmation h1 {
        font-size: 29px
    }

    .registration-banner {
        padding: 15px;
        gap: 12px;
        flex-wrap: wrap
    }

    .registration-banner strong {
        font-size: 17px
    }

    .detail-grid {
        gap: 16px
    }

    .payment-layout,
    .learning-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 10px
    }

    .payment-info {
        padding: 0
    }

    .payment-info h2 {
        font-size: 30px
    }

    .payment-layout .course-card {
        max-width: 500px;
        width: 100%;
        margin: auto
    }

    .lesson-sidebar {
        order: 2
    }

    .lesson-copy h2 {
        font-size: 24px
    }

    .admin-grid {
        grid-template-columns: 1fr
    }

    .stats {
        gap: 8px
    }

    .stat {
        padding: 12px;
        font-size: 10px
    }

    .stat strong {
        font-size: 24px
    }

    .chapter-admin {
        padding: 18px
    }

    .admin-toolbar {
        gap: 8px
    }

    .admin-toolbar .button {
        font-size: 11px;
        padding: 9px 12px
    }

    .lesson-admin {
        align-items: flex-start
    }

    .search-form {
        flex-wrap: wrap
    }

    .spark {
        font-size: 40px;
        margin-left: 25px
    }
}

@media(max-width:400px) {
    .fields {
        grid-template-columns: 1fr
    }

    .field.wide {
        grid-column: auto
    }

    .actions {
        gap: 15px
    }

    .actions .button {
        padding: 14px 19px;
        gap: 20px
    }

    .text-link {
        font-size: 11px
    }

    .floating-note {
        left: 0;
        bottom: 50px;
        padding: 9px
    }

    .floating-note>span {
        display: none
    }

    .fee-float>small {
        font-size: 7px
    }

    .detail-grid {
        grid-template-columns: 1fr
    }
}