@font-face {
    font-family: Chalk;
    src: url('chalk.ttf') format('truetype');
    font-weight: 400 700;
    font-display: swap
}


:root {
    --board: #1b2523;
    --white: #f0efe5;
    --muted: #c3cbc0;
    --blue: #a8d6ed;
    --yellow: #e8d99b;
    --rose: #e8b8ac;
    --line: #bfc8bc55
}


* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    padding: 14px;
    background: #111915;
    color: var(--white);
    font: 500 24px/1.4 Chalk,'Segoe Print','Bradley Hand',cursive;
    text-shadow: .3px .4px .7px #ffffff28
}

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

a:hover {
    color: var(--yellow)
}

a:focus-visible,summary:focus-visible {
    outline: 2px dashed var(--yellow);
    outline-offset: 5px
}

.board {
    min-height: calc(100vh - 28px);
    background: radial-gradient(ellipse at 25% 35%,#35443b33,transparent 55%),radial-gradient(ellipse at 80% 60%,#0a141433,transparent 65%),var(--board);
    border: 8px solid #5b5142;
    box-shadow: inset 0 0 0 2px #91836b55,inset 0 0 90px #06120e55,0 2px 8px #0009;
    position: relative
}

.board:before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .14;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.7' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 0
}

.board>* {
    position: relative
}

.wrap,.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 50px;
    width: 100%
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 0 22px;
    border-bottom: 2px solid var(--line);
    border-radius: 0 0 40% 2%
}

.brand {
    font-size: 35px;
    font-weight: 700;
    transform: rotate(-2deg);
    display: inline-block;
    white-space: nowrap
}

.navlinks {
    display: flex;
    gap: 25px;
    font-size: 22px;
    flex-wrap: wrap
}

.navlinks a.active {
    color: var(--yellow);
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 8px;
    text-decoration-thickness: 1px
}

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

h1,h2,h3 {
    font-weight: 700;
    line-height: 1.12
}

h1 {
    font-size: clamp(53px,6.7vw,92px);
    margin: 22px 0
}

h2 {
    font-size: clamp(39px,4.7vw,64px);
    margin-bottom: 24px
}

h3 {
    font-size: 30px
}

h1 em,h2 span,h2 i {
    color: var(--blue);
    font-style: normal
}

.under {
    color: var(--yellow)
}

.hero {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 45px;
    align-items: center;
    padding-top: 75px;
    padding-bottom: 80px
}

.kicker,.section-label {
    color: var(--yellow);
    font-size: 22px
}

.pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--yellow);
    border-radius: 50%;
    margin-right: 10px
}

.slash {
    color: var(--rose);
    padding: 0 8px
}

.lead,.two-col p,.section-heading p,.challenge p,.interest p {
    font-size: 25px;
    color: var(--muted);
    line-height: 1.5
}

.heroactions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 28px 0
}

.primary,.secondary {
    display: inline-block;
    border: 2px solid var(--white);
    padding: 10px 20px;
    font-size: 23px;
    transform: rotate(-1deg);
    background: transparent
}

.primary:hover,.secondary:hover {
    border-color: var(--yellow);
    color: var(--yellow)
}

.secondary {
    border-style: dashed
}

.meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 20px;
    color: var(--muted);
    margin-top: 35px
}

.meta b {
    color: var(--yellow);
    font-size: 35px
}

.hero-art,.challenge-visual {
    border: 2px dashed var(--line);
    padding: 24px;
    transform: rotate(1deg)
}

.art-head,.terminal-top {
    display: flex;
    justify-content: space-between;
    font-size: 19px;
    color: var(--yellow)
}

.dots,.gold,.arrow {
    color: var(--yellow)
}

.custom-arrow {
    display: inline-block;
    font-family: Chalk, cursive;
    font-size: 35px;
    font-weight: 400;
    color: inherit;
    vertical-align: middle;
    margin: 0 10px;
    transform: translateX(-60px);
}

.custom-arrow::after {
    content: '⟶';
}
.code-comment,.code-line,.challenge-visual pre {
    font-family: Consolas,monospace;
    font-size: 14px;
    text-shadow: none
}

.code-comment {
    color: var(--muted);
    margin-top: 25px
}

.code-line {
    margin-top: 9px
}

.divider {
    border-top: 2px dashed var(--line);
    margin: 25px 0
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 25px 1fr;
    gap: 8px;
    align-items: center
}

.comparison strong {
    font-family: Chalk,cursive;
    font-size: 42px;
    display: block
}

.tiny,.comparison p,.art-foot {
    font-size: 17px;
    color: var(--muted)
}

.strike {
    color: var(--rose);
    text-decoration: line-through
}

.good {
    color: var(--blue)
}

.plot {
    width: 100%
}

.ribbon {
    border-block: 2px dashed var(--line)
}

.ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 18px;
    color: var(--yellow);
    flex-wrap: wrap
}

.star {
    color: var(--rose)
}

.section {
    padding-top: 78px;
    padding-bottom: 78px;
    border-bottom: 2px dashed var(--line)
}

.section-label {
    margin-bottom: 24px
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px
}

.two-col p+p {
    margin-top: 20px
}

.tagline {
    margin-top: 26px;
    color: var(--yellow);
    border-left: 3px solid var(--yellow);
    padding-left: 20px
}

.tagline span {
    float: right
}

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

.section-heading p {
    max-width: 680px
}

.schedule-note {
    min-width: 220px;
    color: var(--yellow);
    font-size: 20px;
    text-align: right
}

.schedule-note small {
    display: block;
    color: var(--muted);
    font-size: 17px
}

.sessions {
    border-top: 2px dashed var(--line)
}

.sessions details {
    border-bottom: 2px dashed var(--line)
}

.sessions summary {
    display: grid;
    grid-template-columns: 55px 1fr 100px 25px;
    gap: 20px;
    align-items: center;
    padding: 23px 10px;
    cursor: pointer;
    list-style: none
}

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

.sessions summary:hover {
    background: #ffffff0a
}

.num {
    color: var(--yellow);
    font-size: 33px
}

.session-title {
    font-size: 30px
}

.session-title small {
    display: block;
    font-size: 20px;
    color: var(--muted);
    margin-top: 4px
}

.week {
    font-size: 20px;
    color: var(--blue)
}

.plus {
    color: var(--yellow);
    font-size: 32px
}

.sessions details[open] .plus {
    transform: rotate(45deg)
}

.details-body {
    margin: 0 40px 25px 75px;
    border-left: 3px solid var(--blue);
    padding: 8px 24px
}

.details-body p {
    color: var(--muted)
}

.math-link,.problem {
    font-size: 18px;
    color: var(--yellow);
    margin-top: 15px
}

.math-link strong,.problem strong {
    color: var(--white);
    font-weight: 500;
    margin-left: 12px
}

.challenge-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center
}

.challenge-stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 25px
}

.challenge-stats span {
    font-size: 18px;
    color: var(--muted)
}

.challenge-stats strong {
    display: block;
    font-size: 38px;
    color: var(--yellow)
}

.challenge-visual {
    overflow: auto
}

.challenge-visual pre {
    line-height: 2
}

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

.keyword {
    color: var(--blue)
}

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

.faq-grid article {
    border-top: 2px dashed var(--line);
    padding-top: 20px
}

.faq-grid h3 {
    color: var(--yellow);
    margin-bottom: 10px
}

.faq-grid p {
    color: var(--muted);
    font-size: 22px
}

.interest {
    text-align: center;
    border: 3px dashed var(--yellow);
    padding: 50px 35px;
    transform: rotate(-.3deg)
}

.interest p {
    max-width: 650px;
    margin: 0 auto 25px
}

.interest-note {
    font-size: 19px;
    color: var(--muted);
    margin-top: 25px
}

.interest-note small {
    font-size: 17px
}

footer {
    padding: 30px 0;
    font-size: 20px;
    color: var(--muted)
}

.footerinner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

footer a {
    color: var(--yellow)
}

@media(max-width:950px) {
    .nav {
        align-items: flex-start;
        flex-direction: column
    }

    .hero,.two-col,.challenge-card {
        grid-template-columns: 1fr
    }

    .hero-art {
        max-width: 640px
    }

    .section-heading {
        display: block
    }

    .schedule-note {
        text-align: left;
        margin-top: 25px
    }

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

}

@media(max-width:650px) {
    body {
        padding: 5px;
        font-size: 20px
    }

    .board {
        border-width: 5px
    }

    .wrap,.container {
        padding: 0 20px
    }

    .brand {
        font-size: 30px
    }

    .navlinks {
        gap: 13px;
        font-size: 18px
    }

    .hero {
        padding-top: 48px;
        padding-bottom: 50px
    }

    .lead,.two-col p,.section-heading p,.challenge p,.interest p {
        font-size: 21px
    }

    .hero-art {
        padding: 13px
    }

    .section {
        padding-top: 55px;
        padding-bottom: 55px
    }

    .ribbon-inner {
        font-size: 16px
    }

    .sessions summary {
        grid-template-columns: 35px 1fr 20px;
        gap: 10px
    }

    .session-title {
        font-size: 23px
    }

    .session-title small {
        font-size: 17px
    }

    .week {
        display: none
    }

    .details-body {
        margin-left: 30px;
        padding-left: 15px
    }

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

    .interest {
        padding: 30px 15px
    }

    .meta {
        font-size: 17px
    }

}
