/* Public landing page, extracted without redesign. */
:root {
            --yellow: #f6bf02;
            --green: #214e25;
        }

        html,
        body {
            margin: 0;
            padding: 0;
            width: 100%;
            min-height: 100%;
            overflow-x: hidden;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            scroll-behavior: smooth;
        }

        .poster {
            width: 100%;
            height: 100svh;
            overflow: hidden;
            background: var(--yellow);
        }

        .poster-stage {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background-color: var(--yellow);
            background-image: url('/image/desk-alarm.png');
            background-repeat: no-repeat;
            background-position: left bottom;
            background-size: 100% auto;
        }

        .top-bar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: clamp(42px, 4.5vw, 60px);
            z-index: 9999;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            padding-right: clamp(8px, 1.7vw, 25px);
            background: transparent;
            pointer-events: none;
            transition: background 0.25s ease, box-shadow 0.25s ease;
        }

            .top-bar.scrolled {
                background: rgba(246, 191, 2, 0.1);
                backdrop-filter: blur(8px);
                -webkit-backdrop-filter: blur(8px);
            }

        .top-actions {
            display: flex;
            align-items: center;
            gap: clamp(6px, 0.9vw, 12px);
            pointer-events: auto;
        }

        .sign-in-link,
        .lang-btn {
            color: #000;
            font-size: clamp(10px, 0.85vw, 16px);
            font-weight: 800;
            white-space: nowrap;
            border-radius: 999px;
            padding: clamp(6px, 0.65vw, 10px) clamp(10px, 1vw, 16px);
            background: rgba(255,255,255,0.55);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border: 1px solid rgba(0,0,0,0.10);
        }

        .sign-in-link {
            text-decoration: none;
            font-weight: 700;
            letter-spacing: 0.4px;
            transition: opacity 0.2s ease;
        }

            .sign-in-link:hover {
                opacity: 0.75;
            }

        .lang-dd {
            position: relative;
            display: inline-block;
        }

        .lang-btn {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: clamp(4px, 0.6vw, 8px);
            letter-spacing: 0.6px;
            transition: background 0.2s ease;
        }

            .lang-btn:hover {
                background: rgba(255,255,255,0.75);
            }

        .lang-caret {
            width: 0;
            height: 0;
            margin-top: 1px;
            border-left: clamp(4px, 0.35vw, 5px) solid transparent;
            border-right: clamp(4px, 0.35vw, 5px) solid transparent;
            border-top: clamp(5px, 0.45vw, 6px) solid rgba(0,0,0,0.65);
        }

        .lang-menu {
            position: absolute;
            right: 0;
            top: calc(100% + 10px);
            min-width: clamp(120px, 11vw, 160px);
            z-index: 10000;
            display: none;
            padding: 6px;
            background: rgba(255,255,255,0.94);
            border: 1px solid rgba(0,0,0,0.12);
            border-radius: 14px;
            box-shadow: 0 14px 30px rgba(0,0,0,0.18);
        }

        .lang-dd.open .lang-menu {
            display: block;
        }

        .lang-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: clamp(7px, 0.7vw, 10px);
            border-radius: 10px;
            color: #000;
            text-decoration: none;
            font-size: clamp(10px, 0.8vw, 12px);
            font-weight: 700;
        }

            .lang-item:hover {
                background: rgba(0,0,0,0.06);
            }

            .lang-item.active {
                background: rgba(33,78,37,0.10);
                border: 1px solid rgba(33,78,37,0.20);
            }

        .lang-badge {
            font-size: clamp(9px, 0.7vw, 11px);
            font-weight: 900;
            padding: clamp(3px, 0.35vw, 4px) clamp(6px, 0.55vw, 8px);
            border-radius: 999px;
            background: rgba(0,0,0,0.06);
            letter-spacing: 0.6px;
        }

        .hero-title-wrap {
            position: absolute;
            right: clamp(30px, 5vw, 95px);
            top: clamp(70px, 7vw, 130px);
            z-index: 10;
            text-align: right;
            color: #000;
            pointer-events: none;
        }

        .hero-lesson {
            font-family: Arial, Helvetica, sans-serif;
            font-size: clamp(58px, 7vw, 118px);
            font-weight: 700;
            line-height: 0.85;
        }

        .hero-one {
            font-family: Arial, Helvetica, sans-serif;
            font-size: clamp(38px, 4vw, 74px);
            line-height: 1;
            margin-top: clamp(4px, 0.7vw, 10px);
        }

        .hero-phrase {
            font-family: Arial, Helvetica, sans-serif;
            font-size: clamp(14px, 1.25vw, 20px);
            line-height: 1.35;
            margin-top: clamp(16px, 1.8vw, 28px);
            max-width: clamp(280px, 34vw, 620px);
        }

        .svg-subtitle {
            position: absolute;
            right: clamp(35px, 5vw, 95px);
            top: clamp(300px, 26vw, 470px);
            max-width: clamp(300px, 38vw, 650px);
            z-index: 10;
            color: #fff;
            font-size: clamp(14px, 1.35vw, 24px);
            line-height: 1.28;
            text-align: right;
            opacity: 0.95;
            pointer-events: none;
            text-shadow: 0 2px 2px rgba(0,0,0,0.6), 0 6px 12px rgba(0,0,0,0.45);
        }

        .notes {
            position: absolute;
            left: clamp(10px, 6vw, 120px);
            top: clamp(0px, 1.5vw, 28px);
            z-index: 10;
            display: flex;
            flex-direction: row;
            gap: clamp(12px, 1.8vw, 28px);
            align-items: flex-start;
        }

        .note {
            position: relative;
            width: clamp(80px, 10vw, 190px);
            aspect-ratio: 1 / 1;
            display: block;
            flex: 0 0 auto;
            cursor: pointer;
            transform: rotate(var(--rot, 0deg));
            transition: transform 0.18s ease, filter 0.18s ease;
        }

            .note img {
                width: 100%;
                height: 100%;
                display: block;
                object-fit: contain;
                pointer-events: none;
                user-select: none;
            }

            .note:hover {
                transform: rotate(var(--rot, 0deg)) scale(1.08);
                filter: drop-shadow(0 14px 22px rgba(0,0,0,0.22));
            }

            .note.n1 {
                --rot: -9deg;
            }

            .note.n2 {
                --rot: 6deg;
            }

            .note.n3 {
                --rot: 10deg;
            }

            .note.n4 {
                --rot: -5deg;
            }

        .poster-footer {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 12px;
            z-index: 20;
            text-align: center;
            letter-spacing: 0.3px;
            background: transparent;
            pointer-events: none;
            font-size: clamp(7px, 0.7vw, 10px);
            color: rgba(0, 0, 0, 0.45);
        }

        @media (min-width: 701px) and (max-width: 1024px) {
            .poster,
            .poster-stage {
                min-height: 1000px;
            }

            .top-bar {
                height: clamp(46px, 10vw, 58px);
                padding-right: clamp(6px, 2vw, 10px);
            }

            .top-actions {
                gap: clamp(5px, 1.6vw, 8px);
            }

            .lang-btn,
            .sign-in-link {
                font-size: clamp(8px, 2.1vw, 10px);
                padding: clamp(6px, 1.8vw, 9px) clamp(10px, 3vw, 15px);
            }

            .hero-title-wrap {
                top: clamp(72px, 17vw, 96px);
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                width: min(92vw, 430px);
                text-align: center;
            }

            .hero-lesson {
                font-size: clamp(52px, 15vw, 92px);
            }

            .hero-one {
                font-size: clamp(30px, 7vw, 48px);
            }

            .hero-phrase {
                font-size: clamp(14px, 3.4vw, 19px);
                max-width: none;
            }

            .svg-subtitle {
                top: 325px;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                width: min(84vw, 390px);
                max-width: none;
                font-size: clamp(13px, 3.4vw, 17px);
                line-height: 1.22;
                text-align: center;
            }

            .notes {
                top: 485px;
                left: 50%;
                transform: translateX(-50%);
                display: grid;
                grid-template-columns: repeat(4, clamp(120px, 20vw, 187px));
                row-gap: 0;
                width: auto;
                max-width: calc(100vw - 80px);
                justify-content: center;
                justify-items: center;
            }

            .note {
                width: 160px;
            }

                .note.n1 {
                    --rot: -7deg;
                }

                .note.n2 {
                    --rot: -5deg;
                }

                .note.n3 {
                    --rot: -6deg;
                }

                .note.n4 {
                    --rot: -8deg;
                }
        }

        @media (max-width: 700px) {
            .poster,
            .poster-stage {
                height: 1000px;
                min-height: 1000px;
            }

            .top-bar {
                height: clamp(50px, 11vw, 58px);
                padding-right: clamp(8px, 2.2vw, 12px);
            }

            .top-actions {
                gap: clamp(6px, 1.8vw, 8px);
            }

            .lang-btn,
            .sign-in-link {
                font-size: clamp(9px, 2.2vw, 11px);
                padding: clamp(7px, 1.9vw, 9px) clamp(11px, 3vw, 15px);
            }

            .hero-title-wrap {
                top: clamp(78px, 20vw, 96px);
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                width: min(88vw, 390px);
                text-align: center;
            }

            .hero-lesson {
                font-size: clamp(50px, 15vw, 82px);
            }

            .hero-one {
                font-size: clamp(28px, 8vw, 44px);
            }

            .hero-phrase {
                font-size: clamp(11px, 3.6vw, 18px);
                margin-top: clamp(10px, 3vw, 18px);
                max-width: none;
            }

            .svg-subtitle {
                top: clamp(275px, calc(10vw + 240px), 305px);
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                width: min(92vw, 390px);
                max-width: none;
                font-size: clamp(11px, 3.3vw, 17px);
                text-align: center;
            }

            .notes {
                top: 475px;
                left: 50%;
                transform: translateX(-50%);
                display: grid;
                grid-template-columns: repeat(2, clamp(115px, 30vw, 150px));
                column-gap: clamp(28px, 7vw, 65px);
                row-gap: clamp(22px, 5vw, 45px);
                width: auto;
                max-width: calc(100vw - 40px);
                justify-content: center;
                justify-items: center;
            }

            .note {
                width: clamp(115px, 30vw, 150px);
            }

                .note.n1 {
                    --rot: 5deg;
                }

                .note.n2 {
                    --rot: 5deg;
                }

                .note.n3 {
                    --rot: 1deg;
                }

                .note.n4 {
                    --rot: 4deg;
                }
        }

        @media (max-width: 427px) {
            .poster,
            .poster-stage {
                height: clamp(900px, 250vw, 1080px);
                min-height: clamp(900px, 250vw, 1080px);
            }

            .svg-subtitle {
                top: clamp(220px, 57vw, 265px);
            }

            .notes {
                top: clamp(330px, calc(120vw - 129px), 420px);
                grid-template-columns: 1fr;
                row-gap: clamp(4px, calc(5vw - 8px), 14px);
                column-gap: 0;
                width: 100%;
                max-width: clamp(200px, 58vw, 260px);
            }

            .note {
                width: clamp(105px, calc(30vw + 20px), 150px);
            }

                .note:nth-child(odd) {
                    justify-self: start;
                }

                .note:nth-child(even) {
                    justify-self: end;
                }

                .note.n1 {
                    --rot: -5deg;
                }

                .note.n2 {
                    --rot: 4deg;
                }

                .note.n3 {
                    --rot: -4deg;
                }

                .note.n4 {
                    --rot: 3deg;
                }
        }

        @media (max-width: 360px) {
            .poster,
            .poster-stage {
                height: clamp(960px, 560vw, 1150px);
                min-height: clamp(960px, 560vw, 1150px);
            }

            .poster-stage {
                background-size: 115% auto;
            }

            .top-bar {
                height: 48px;
                padding-right: 6px;
            }

            .top-actions {
                gap: 5px;
            }

            .lang-btn,
            .sign-in-link {
                font-size: clamp(8px, 4.5vw, 10px);
                padding: clamp(6px, 3vw, 8px) clamp(8px, 4vw, 12px);
            }

            .hero-title-wrap {
                top: clamp(70px, 42vw, 95px);
                width: min(92vw, 260px);
            }

            .hero-lesson {
                font-size: clamp(30px, 18vw, 56px);
                line-height: 0.9;
                white-space: nowrap;
            }

            .hero-one {
                font-size: clamp(22px, 12vw, 36px);
            }

            .hero-phrase {
                font-size: clamp(11px, 5.2vw, 15px);
                line-height: 1.28;
                max-width: min(86vw, 240px);
                margin-left: auto;
                margin-right: auto;
            }

            .svg-subtitle {
                top: clamp(220px, 118vw, 300px);
                width: min(90vw, 250px);
                font-size: clamp(10px, 4.9vw, 14px);
                line-height: 1.25;
            }

            .notes {
                top: clamp(390px, calc(230vw - 60px), 460px);
                row-gap: clamp(4px, 2vw, 8px);
                max-width: min(86vw, 190px);
            }

            .note {
                width: clamp(105px, 58vw, 140px);
            }

            .poster-footer {
                font-size: clamp(5px, 2vw, 7px);
                letter-spacing: 0.1px;
                bottom: 8px;
            }
        }

        @media (min-width: 900px) and (max-width: 1366px) and (orientation: portrait) {
            .poster,
            .poster-stage {
                height: 100svh;
                min-height: 2556px;
            }

            .top-bar {
                height: 110px;
                padding-right: 36px;
            }

            .top-actions {
                gap: 20px;
            }

            .lang-btn,
            .sign-in-link {
                font-size: 24px;
                padding: 16px 34px;
            }

            .lang-caret {
                border-left-width: 7px;
                border-right-width: 7px;
                border-top-width: 9px;
            }

            .hero-title-wrap {
                top: 170px;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                width: 1020px;
                text-align: center;
            }

            .hero-lesson {
                font-size: 145px;
            }

            .hero-one {
                font-size: 82px;
                margin-top: 14px;
            }

            .hero-phrase {
                font-size: 40px;
                margin: 52px auto 0;
                max-width: 920px;
            }

            .svg-subtitle {
                top: 620px;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                width: 900px;
                max-width: none;
                font-size: 34px;
                line-height: 1.3;
                text-align: center;
            }

            .notes {
                top: 1100px;
                left: 50%;
                transform: translateX(-50%);
                display: grid;
                grid-template-columns: repeat(2, 360px);
                column-gap: 130px;
                row-gap: 95px;
                width: auto;
                max-width: none;
                justify-content: center;
                justify-items: center;
            }

            .note {
                width: 360px;
            }

                .note.n1 {
                    --rot: -7deg;
                }

                .note.n2 {
                    --rot: 5deg;
                }

                .note.n3 {
                    --rot: -6deg;
                }

                .note.n4 {
                    --rot: 4deg;
                }
        }
