.academy-v20 {
    --v20-purple: #633ce0;
    --v20-yellow: #ffda44;
    --v20-ink: #19132d;
    --v20-muted: #645e78;
    margin: 0;
    background: #f7f5fc;
    color: var(--v20-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: clip;
}
.academy-v20 *, .academy-v20 *::before,
.academy-v20 *::after { box-sizing: border-box; }
.academy-v20 main {
    width: min(100% - 32px, 1280px);
    max-width: 1280px;
    margin: auto;
}
.academy-v20 .top {
    background: #fff;
    color: #20163e;
    padding: 18px max(16px, calc((100% - 1280px)/2));
}
.academy-v20 .top a { color: #23183f; }
.academy-v20 .brand-icon {
    background: #633ce0;
    color: #fff;
}
.academy-v20 .btn {
    background: #633ce0;
    color: white;
    min-height: 48px;
    border-radius: 14px;
    padding: 14px 20px;
    font-weight: 750;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s;
}
.academy-v20 .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px #633ce02b;
}
.academy-v20 .btn:active { transform: scale(.98); }
.academy-v20 :focus-visible {
    outline: 3px solid #e6a400;
    outline-offset: 4px;
}
.academy-v20 .hero {
    position: relative;
    isolation: isolate;
    margin: 18px 0 0;
    padding: clamp(24px, 5vw, 72px);
    border-radius: 36px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: clamp(16px, 4vw, 48px);
    background:
        radial-gradient(ellipse at 86% 30%, #7041c3 0%, transparent 58%),
        linear-gradient(135deg, #17132d, #38206a);
    color: #fff;
}
.academy-v20 .hero h1 {
    font-size: clamp(32px, 4.6vw, 64px);
    line-height: 1.07;
    letter-spacing: -.045em;
    margin: 16px 0;
    color: #fff;
    text-wrap: balance;
}
.academy-v20 .hero .lime {
    display: block;
    color: #ffda44;
}
.academy-v20 .hero .eyebrow {
    color: #ffda44;
    font-weight: 800;
}
.academy-v20 .hero-intro {
    color: #eee8ff;
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.65;
}
.academy-v20 .hero .btn,
.academy-v20 .v20-trial .btn {
    background: #ffda44;
    color: #211634;
}
.academy-v20 .hero .secondary {
    background: #ffffff10;
    color: #fff;
    border: 1px solid #ffffff50;
}
.academy-v20 .hero-note { color: #e8defb; }
.academy-v20 .hero-visual {
    position: relative;
    min-width: 0;
    background: transparent;
}
.academy-v20 .hero-art {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 34px #0004);
}
.academy-v20 .visual-label {
    color: #fff;
    background: #21143b;
    border: 1px solid #ffffff25;
}
.v20-float {
    position: absolute;
    padding: 9px 14px;
    border-radius: 14px;
    background: #fff;
    color: #281c47;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 30px #0003;
    animation: v20-float 5s ease-in-out infinite;
    pointer-events: none;
}
.v20-float:nth-of-type(2) { animation-delay: -2s; }
.v20-float:nth-of-type(3) { animation-delay: -3s; }
.v20-float.scratch { top: 5%; left: 0; background: #ffd44f; }
.v20-float.web { right: 0; top: 12%; }
.v20-float.python { bottom: 20%; left: 0; background: #b6d8ff; }
.v20-float.flutter { right: 0; bottom: 15%; background: #b6fff1; }
@keyframes v20-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.v20-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.v20-dates div {
    padding: 12px 16px;
    background: #ffffff0d;
    border: 1px solid #ffffff25;
    border-radius: 12px;
}
.v20-dates small, .v20-dates strong { display: block; }
.v20-dates small { color: #d7cdef; font-size: 11px; }
.v20-dates strong { font-size: 20px; color: #fff; }
.academy-v20 .stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    background: white;
    color: #22173c;
    border: 1px solid #e9e3f3;
    border-radius: 22px;
    margin-top: 20px;
    padding: 22px;
}
.academy-v20 .stats b { color: #633ce0; }
.academy-v20 main > section { margin: 48px 0; }
.academy-v20 section h2 {
    letter-spacing: -.035em;
    line-height: 1.15;
}
.academy-v20 #kursy .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px;
}
.academy-v20 .course {
    position: relative;
    isolation: isolate;
    border: 1px solid #e4dcef;
    background: #fff;
    color: #241939;
    border-radius: 25px;
    padding: 26px;
    overflow: hidden;
    box-shadow: 0 12px 32px #21123e08;
}
.academy-v20 .course-0 { --course: #b55a00; --course-bg: #fff1cf; }
.academy-v20 .course-1 { --course: #633ce0; --course-bg: #ece5ff; }
.academy-v20 .course-2 { --course: #215ab4; --course-bg: #e0edff; }
.academy-v20 .course-3 { --course: #007f91; --course-bg: #d7f8f6; }
.academy-v20 .course .symbol {
    display: inline-block;
    background: var(--course-bg);
    color: var(--course);
    padding: 10px 14px;
    border-radius: 10px;
}
.academy-v20 .course .price,
.academy-v20 .course .eyebrow { color: var(--course); }
.academy-v20 .course .btn { background: var(--course); color: #fff; }
.academy-v20 .course-outcome { font-weight: 750; }
.academy-v20 .course details {
    border: 1px solid #ece6f3;
    padding: 12px;
    border-radius: 12px;
    background: #faf8fd;
}
.academy-v20 .finder {
    background: #ece5ff;
    color: #271943;
    border-radius: 20px;
    padding: 18px;
}
.v20-benefits {
    padding: clamp(20px,4vw,52px);
    background: #fff;
    border-radius: 32px;
    border: 1px solid #e9e3f3;
}
.v20-benefits .eyebrow { color: #633ce0; }
.v20-benefits h2 { font-size: clamp(30px,4vw,54px); }
.v20-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    margin: 28px 0;
}
.v20-benefit-grid article {
    padding: 18px;
    background: linear-gradient(145deg,#f9f7ff,#eee9fc);
    border-radius: 18px;
}
.v20-benefit-grid article span {
    display: inline-block;
    color: #633ce0;
    font-size: 30px;
    font-weight: 850;
}
.v20-benefit-grid h3 { margin: 8px 0; }
.v20-benefit-grid p { color: #5a536d; }
.v20-trial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    background:
        radial-gradient(ellipse at 90% 15%,#6940be,transparent 65%),
        #21163f;
    color: #fff;
    padding: clamp(24px,5vw,56px);
    border-radius: 30px;
}
.v20-trial h2 { color: #fff; font-size: clamp(28px,4vw,48px); }
.v20-trial .eyebrow { color: #ffda44; }
.v20-trial p { color: #e9e1fa; }
.v20-trial ol { padding: 0; margin: 0; list-style: none; }
.v20-trial li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 12px;
    padding: 14px;
    background: #ffffff0d;
    border-radius: 14px;
}
.v20-trial li b { color: #ffda44; }
.v20-trial-note { grid-column: 1/-1; margin: 0; font-size: 14px; }
.academy-v20 #demo {
    border-radius: 30px;
    padding: clamp(16px,3vw,34px);
}
.academy-v20 #demo .lab-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, calc((100% - 20px)/2));
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding-bottom: 12px;
    scrollbar-width: thin;
}
.academy-v20 .lab-card {
    min-width: 0;
    scroll-snap-align: start;
}
.academy-v20 .lab-card[hidden] { display: none !important; }
.v20-gallery-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 12px 0;
}
.v20-gallery-controls button {
    min-width: 48px;
    min-height: 44px;
    background: #633ce0;
    color: white;
    border: 0;
    border-radius: 12px;
    font-size: 22px;
    cursor: pointer;
}
.academy-v20 #zapisy {
    scroll-margin-top: 25px;
}
.academy-v20 #zapisy .panel {
    background: white;
    color: #211735;
    border: 1px solid #e4dcef;
    border-radius: 26px;
    padding: clamp(18px,3vw,32px);
    box-shadow: 0 14px 45px #2517470b;
}
.academy-v20 #trial-form input:not([type=checkbox]),
.academy-v20 #trial-form select,
.academy-v20 #find-age {
    font-size: 16px;
    min-height: 48px;
    background: #faf9fd;
    color: #211735;
    border: 1px solid #ddd6e9;
    border-radius: 10px;
    max-width: 100%;
}
.academy-v20 #trial-submit { width: 100%; }
.academy-v20 footer { background: #19132d; color: #fff; }
.academy-v20 footer a { color: #e7ddff; }
.v20-sticky { display: none; }
.v20-sticky[hidden] { display: none !important; }

@media(max-width: 767px) {
    .academy-v20 main {
        width: calc(100% - 24px);
        padding: 0;
    }
    .academy-v20 .top {
        padding: 10px 12px;
        gap: 8px;
        flex-wrap: wrap;
    }
    .academy-v20 .top nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        gap: 18px;
        font-size: 13px;
    }
    .academy-v20 .head-actions .btn { display: none; }
    .academy-v20 .hero {
        grid-template-columns: minmax(0,1fr);
        border-radius: 24px;
        padding: 22px 18px;
        gap: 12px;
        margin-top: 10px;
    }
    .academy-v20 .hero h1 { font-size: clamp(27px,7vw,39px); }
    .academy-v20 .hero-intro { font-size: 15px; }
    .academy-v20 .hero-actions { display: grid; gap: 8px; }
    .academy-v20 .hero-actions .btn { text-align: center; width: 100%; }
    .academy-v20 .hero-visual { margin-top: 12px; }
    .academy-v20 .hero-art { max-height: 280px; object-fit: contain; }
    .v20-float { font-size: 10px; padding: 7px 10px; }
    .v20-dates { gap: 8px; margin-top: 12px; }
    .v20-dates div { flex: 1; padding: 10px; }
    .v20-dates strong { font-size: 16px; }
    .academy-v20 .stats { grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; }
    .academy-v20 main > section { margin: 30px 0; }
    .academy-v20 #kursy .grid { grid-template-columns: 1fr; gap: 12px; }
    .academy-v20 .course { padding: 20px; }
    .academy-v20 .course .btn { width: 100%; text-align: center; }
    .v20-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .v20-benefit-grid article { padding: 12px; overflow-wrap: anywhere; }
    .v20-benefit-grid h3 { font-size: 16px; }
    .v20-benefit-grid p { font-size: 13px; }
    .v20-trial { grid-template-columns: 1fr; }
    .academy-v20 #demo .lab-grid { grid-auto-columns: 100%; }
    .academy-v20 #zapisy { display: grid; grid-template-columns: 1fr; }
    .academy-v20 #trial-form .fields { grid-template-columns: 1fr; }
    .academy-v20 { padding-bottom: calc(80px + env(safe-area-inset-bottom,0px)); }
    .v20-sticky {
        position: fixed;
        z-index: 90;
        left: 0;
        right: 0;
        bottom: 0;
        display: block;
        background: #19132d;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom,0px));
        box-shadow: 0 -6px 25px #21173522;
    }
    .v20-sticky .btn {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: #ffda44;
        color: #211735;
        width: 100%;
    }
}
@media(prefers-reduced-motion: reduce) {
    .v20-float { animation: none; }
    .academy-v20 .btn { transition: none; }
    .academy-v20 #demo .lab-grid { scroll-behavior: auto; }
}