@import url('./fonts.css?v=20261009b');

:root {
    --ink: #172033;
    --muted: #667085;
    --blue: #3154ad;
    --blue2: #243f8e;
    --red: #e63345;
    --paper: #fff;
    --soft: #f5f7fb;
    --line: #e6e9f0;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'Nunito Sans','Noto Sans KR',sans-serif;
    background: #fff
}

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

.wrap {
    width: min(var(--max),calc(100% - 44px));
    margin: auto
}

.site-header {
    height: 82px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 700
}

.brand img {
    width: 74px;
    height: 46px;
    object-fit: cover;
    object-position: center
}

.brand strong {
    color: var(--blue)
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 700
}

nav a:hover {
    color: var(--blue)
}

.youtube-link {
    padding: 11px 16px;
    border: 1px solid var(--line);
    border-radius: 10px
}

.hero {
    overflow: hidden;
    background: linear-gradient(120deg,#fff 56%,#f2f5fb 56%)
}

.hero-grid {
    min-height: 600px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 55px
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .15em;
    font-weight: 900;
    color: var(--blue);
    margin: 0 0 16px
}

.hero h1 {
    font-size: 62px;
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 0 0 24px;
    font-weight: 900
}

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

.lead {
    font-size: 20px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 620px;
    margin: 0
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 34px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 21px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 800
}

.primary {
    background: var(--blue);
    color: white
}

.primary:hover {
    background: var(--blue2)
}

.secondary {
    border: 1px solid #cfd5e2;
    background: white
}

.proof {
    font-size: 13px;
    color: #7b8496;
    margin-top: 25px
}

.hero-art {
    height: 440px;
    position: relative
}

.logo-card {
    position: absolute;
    width: 390px;
    height: 260px;
    top: 70px;
    left: 25px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 65px rgba(33,49,89,.14);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-3deg);
    overflow: hidden
}

.logo-card img {
    width: 105%;
    height: auto
}

.hangul {
    position: absolute;
    font-family: 'Noto Sans KR';
    font-weight: 800;
    color: #dfe5f2;
    font-size: 180px
}

.h1 {
    right: -15px;
    top: -70px
}

.h2 {
    left: -35px;
    bottom: -85px
}

.mini-card {
    position: absolute;
    right: -4px;
    bottom: 28px;
    background: var(--ink);
    color: white;
    border-radius: 15px;
    padding: 17px 22px;
    box-shadow: 0 16px 40px rgba(20,28,47,.22);
    transform: rotate(3deg)
}

.mini-card span {
    display: block;
    color: #9eb5ef;
    font-family: 'Noto Sans KR';
    font-size: 12px;
    margin-bottom: 4px
}

.mini-card strong {
    font-size: 14px
}

.start,.featured,.about {
    padding: 90px 0
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 36px
}

.section-head h2,.topics h2,.about h2,.youtube h2 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0
}

.section-head>p {
    max-width: 520px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0
}

.start-lesson {
    display: grid;
    grid-template-columns: 150px 180px 1fr 190px;
    align-items: center;
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease
}

.start-lesson:hover {
    transform: translateY(-3px);
    border-color: #cfd3eb;
    box-shadow: 0 16px 40px rgba(20,24,50,.08)
}

.start-number {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    background: var(--blue);
    color: #fff
}

.start-number span {
    margin-bottom: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em
}

.start-number strong {
    font-size: 48px;
    line-height: 1
}

.start-korean {
    text-align: center;
    font-size: 52px;
    font-weight: 800;
    color: var(--blue)
}

.start-content {
    padding: 28px 20px
}

.start-content>span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em
}

.start-content h3 {
    margin: 0 0 8px;
    font-size: 24px
}

.start-content p {
    max-width: 570px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6
}

.start-action {
    padding: 28px;
    color: var(--blue);
    font-weight: 800;
    text-align: right
}

.topics {
    padding: 70px 0;
    background: var(--soft)
}

.topic-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px
}

.topic-list a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 17px 22px;
    font-family: 'Noto Sans KR';
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(30,45,80,.03)
}

.topic-list span {
    font-family: 'Nunito Sans';
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    margin-left: 9px
}

.text-link {
    font-weight: 800;
    color: var(--blue);
    font-size: 14px
}

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

.lesson-card {
    border: 1px solid var(--line);
    border-radius: 17px;
    overflow: hidden;
    background: #fff;
    transition: .2s
}

.lesson-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(33,49,89,.09)
}

.lesson-visual {
    width: 100%;
    overflow: hidden;
}

.lesson-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.lesson-visual>span {
    font-size: 12px;
    font-weight: 800;
    color: #727b8c
}

.lesson-visual strong {
    font-family: 'Noto Sans KR';
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    color: #202b42
}

.play {
    position: absolute;
    right: 18px;
    bottom: 17px;
    width: 42px;
    height: 42px;
    background: var(--red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding-left: 2px
}

.lesson-body {
    padding: 23px
}

.pill {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--blue)
}

.lesson-body h3 {
    font-size: 20px;
    line-height: 1.3;
    margin: 10px 0
}

.lesson-body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    min-height: 45px
}

.lesson-body a {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--blue)
}

.youtube {
    padding: 35px 0 90px
}

.youtube-box {
    background: var(--blue);
    color: #fff;
    border-radius: 25px;
    padding: 60px 65px;
    display: grid;
    grid-template-columns: 1fr 220px;
    align-items: center;
    overflow: hidden
}

.eyebrow.light {
    color: #c8d4f4
}

.youtube h2 {
    font-size: 44px
}

.youtube p:not(.eyebrow) {
    max-width: 660px;
    color: #dbe2f5;
    line-height: 1.65
}

.btn.white {
    background: white;
    color: var(--blue);
    margin-top: 12px
}

.yt-mark {
    font-size: 90px;
    width: 180px;
    height: 130px;
    border: 3px solid rgba(255,255,255,.25);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: rotate(-5deg)
}

.about {
    background: #fafbfc
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px
}

.about-lead {
    font-size: 20px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 400px
}

.people {
    display: grid;
    gap: 15px
}

.people article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 18px;
    align-items: center
}

.avatar {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #eef2fb;
    color: var(--blue);
    font-family: 'Noto Sans KR';
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center
}

.avatar.dark {
    background: #edf0f4;
    color: #253048
}

.people h3 {
    margin: 0 0 5px
}

.people p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5
}

footer {
    padding: 45px 0 22px;
    background: #182238;
    color: #d7dce7
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px
}

.footer-brand img {
    width: 65px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px
}

.footer-grid>div:last-child {
    display: flex;
    gap: 22px;
    font-size: 13px
}

.copyright {
    border-top: 1px solid #344058;
    margin-top: 35px;
    padding-top: 20px;
    font-size: 12px;
    color: #929bad
}

.people p.teacher-contact {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.people p.teacher-contact a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.people p.teacher-contact a:hover {
    text-decoration: underline;
}

.people p.teacher-contact strong {
    color: var(--ink);
    font-weight: 800;
}


.mobile-nav {
    display: none;
}

.mobile-nav details {
    position: relative;
}

.mobile-nav summary {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-menu {
    position: absolute;
    top: 56px;
    right: 0;
    width: 210px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(20, 28, 47, .14);
    z-index: 20;
}

.mobile-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.mobile-menu a:hover {
    background: var(--soft);
    color: var(--blue);
}

@media(max-width:850px) {
    .site-header {
        height: auto;
        padding: 12px 0
    }

    .brand span {
        display: none
    }
    .desktop-nav {
        display: none
    }

    .mobile-nav {
        display: flex;
        align-items: center;
        gap: 10px
    }

    .hero {
        background: #fff
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 70px 0
    }

    .hero h1 {
        font-size: 45px
    }

    .hero-art {
        height: 330px
    }

    .logo-card {
        width: 85%;
        height: 220px
    }

    .section-head {
        align-items: start;
        flex-direction: column;
        gap: 15px
    }

    .start-lesson {
        grid-template-columns: 90px 1fr
    }

    .start-number {
        grid-row: 1/3;
        padding: 20px
    }

    .start-number strong {
        font-size: 38px
    }

    .start-korean {
        padding: 22px 20px 0;
        text-align: left;
        font-size: 38px
    }

    .start-content {
        padding: 10px 20px 22px
    }

    .start-action {
        grid-column: 1/-1;
        padding: 16px 20px;
        border-top: 1px solid var(--line);
        text-align: left
    }

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

    .youtube-box {
        grid-template-columns: 1fr;
        padding: 42px 30px
    }

    .yt-mark {
        display: none
    }

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

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

    .footer-grid>div:last-child {
        flex-wrap: wrap
    }

    .start,.featured,.about {
        padding: 65px 0
    }

}

@media(max-width:520px) {
    .wrap {
        width: min(100% - 28px,var(--max))
    }

    .hero h1 {
        font-size: 39px
    }

    .lead {
        font-size: 17px
    }

    .actions {
        flex-direction: column
    }

    .hero-art {
        height: 270px
    }

    .logo-card {
        height: 180px;
        left: 10px
    }

    .hangul {
        font-size: 120px
    }

    .mini-card {
        right: 0;
        bottom: 10px
    }

    .section-head h2,.topics h2,.about h2,.youtube h2 {
        font-size: 32px
    }

    .youtube h2 {
        font-size: 34px
    }

}

.classes-note {
    margin-top: 26px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.classes-note-label {
    display: block;
    margin-bottom: 5px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .10em;
}

.classes-note a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

.classes-note a:hover {
    text-decoration: underline;
}

.footer-support {
    color: #aeb4ff;
    font-weight: 700;
}
