.hero {
    padding-top: 64px;
    background-image: radial-gradient(ellipse at 75% 35%, #7146ae16, transparent 52%), url('../assets/backdrop.jpg');
    /*background-size: auto, cover;*/
    background-position: center;
    background-repeat: no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns:1.08fr .92fr;
    gap: 60px;
    align-items: center
}

.hero-copy {
    padding-bottom: 16px
}

.hero-copy .eyebrow {
    display: flex;
    gap: 10px;
    align-items: center
}

.dot {
    width: 5px;
    height: 5px;
    display: inline-block;
    background: #c9a6f4;
    border-radius: 50%;
    box-shadow: 0 0 12px #c9a6f455
}

h1 {
    font-size: clamp(31px, 3.1vw, 45px);
    line-height: 1.4;
    margin: 22px 0 24px;
    letter-spacing: -.045em
}

h1 > span {
    color: var(--purple)
}

.hero-lead {
    color: #e0d9ed;
    font-size: 20px;
    line-height: 1.65
}

.hero-description {
    font-size: 14px;
    line-height: 1.95;
    max-width: 500px;
    margin: 20px 0 28px
}

.hero-tags {
    display: flex;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    color: #b4a8c7;
    font-size: 10px
}

.hero-tags li {
    position: relative
}

.hero-tags li + li:before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #7b668f;
    border-radius: 50%;
    left: -12px;
    top: 8px
}

.learning-scene {
    position: relative;
    min-width: 0;
    padding-top: 8px
}

.scene-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0 8px;
    margin-bottom: 26px
}

.mini-label {
    font-size: 9px;
    color: #9184a5
}

.question-card {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 22px 26px;
    max-width: 360px;
    margin: 0 auto;
    border: 1px solid #3c3255;
    background: #131125;
    border-radius: 10px
}

.question-card p {
    font-size: 14px;
    color: #b4a6c7;
    line-height: 1.9
}

.question-card strong {
    color: #e0d3f3
}

.small-icon {
    border: 1px solid #68577e;
    color: #c8a3f6;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: Georgia, serif;
    font-size: 23px;
    flex-shrink: 0
}

.connection {
    height: 33px;
    display: flex;
    justify-content: center;
    position: relative
}

.connection > span {
    width: 1px;
    background: linear-gradient(#62467e, #a576d3);
    height: 100%
}

.connection > i {
    position: absolute;
    bottom: 0;
    width: 5px;
    height: 5px;
    background: #b78ae2;
    border-radius: 50%
}

.code-window {
    background: #0e1024;
    border: 1px solid #453761;
    border-radius: 10px;
    box-shadow: 0 30px 60px #00000025;
    overflow: hidden;
    position: relative
}

.code-window:before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b084e9, transparent)
}

.window-top {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #28273e;
    background: #18162c;
    font-family: monospace;
    font-size: 10px;
    color: #9588a9
}

.window-dots {
    color: #78618f;
    font-size: 10px;
    letter-spacing: 2px;
    white-space: nowrap
}

.python-label {
    margin-left: auto;
    font-size: 9px;
    letter-spacing: .12em;
    color: #c1a2e0
}

.code-content {
    padding: 20px 25px 12px;
    overflow-x: auto
}

.code-lines {
    margin: 0;
    padding-left: 27px;
    list-style: decimal;
    color: #514963;
    font-size: 12px
}

.code-lines li {
    padding-left: 18px;
    line-height: 2.25
}

.code-lines code {
    color: #ddd6ed;
    white-space: pre;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 14px
}

.code-purple {
    color: #c29af7
}

.code-peach {
    color: #dfbaa9
}

.code-green {
    color: #a2d7c8
}

.trace-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 10px 24px 14px
}

.trace-row > span {
    font-size: 9px;
    letter-spacing: .15em;
    color: #8f84a3
}

.trace-row > div {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: monospace;
    font-size: 12px;
    color: #6b5a88
}

.trace-row b {
    font-weight: 400;
    display: grid;
    place-items: center;
    width: 31px;
    height: 30px;
    border: 1px solid #322a47;
    border-radius: 4px;
    color: #9183a6;
    transition: background .2s
}

.trace-row .trace-current {
    color: #e4cafc;
    border-color: #9170bb;
    background: #5a3e7c40
}

.trace-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 24px 12px
}

.trace-controls button {
    border: 1px solid #594376;
    border-radius: 5px;
    background: #29203e;
    padding: 10px 14px;
    font-size: 10px;
    font-weight: 700;
    color: #d5b8f5;
    line-height: 1.6
}

.trace-controls button:hover {
    background: #493160
}

.trace-controls button:first-child {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex: 1
}

.trace-controls button:last-child {
    width: 36px;
    padding: 8px 0;
    font-size: 17px
}

.trace-explanation {
    font-size: 10px;
    line-height: 1.75;
    min-height: 58px;
    padding: 0 24px 18px;
    color: #aaa0bc
}

.understanding-card {
    padding: 22px 10px 0;
    display: flex;
    align-items: center;
    gap: 12px
}

.check {
    display: grid;
    place-items: center;
    background: #18352c50;
    color: #a8dfc7;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    border: 1px solid #35564c;
    flex-shrink: 0
}

.understanding-card strong {
    font-size: 11px;
    color: #d4dfda
}

.understanding-card p {
    font-size: 10px;
    color: #8eaaa3;
    margin-top: 3px
}

.trust-strip {
    display: grid;
    grid-template-columns:1fr .8fr 1fr 1fr;
    gap: 32px;
    padding-top: 36px;
    padding-bottom: 32px;
    margin-top: 55px;
    border-top: 1px solid #343044
}

.trust-strip p {
    display: flex;
    flex-direction: column;
    line-height: 1.7
}

.trust-strip strong {
    color: #d4b6fa;
    font-size: 16px;
    font-weight: 600
}

.trust-strip p > span {
    color: #a99dbb;
    font-size: 10px;
    margin-top: 5px
}

.trust-strip a {
    font-size: 10px;
    color: #c6bed4;
    align-self: center;
    display: flex;
    gap: 15px;
    justify-self: end;
    align-items: center
}

.trust-strip a > span {
    font-size: 20px;
    color: #c7a1f4
}

@media (min-width: 621px) and (max-width: 1023px) {
    .hero-grid {
        grid-template-columns:1fr;
        gap: 40px
    }

    .hero {
        padding-top: 48px
    }

    .hero-copy {
        max-width: 660px
    }

    .hero h1 {
        font-size: 44px
    }

    .learning-scene {
        max-width: 530px;
        width: 100%;
        margin: 0 auto
    }

    .hero-description {
        max-width: 620px
    }

    .trust-strip {
        grid-template-columns:1fr;
        margin-top: 44px;
        gap: 18px;
        padding: 26px 0
    }

    .trust-strip p {
        flex-direction: row;
        align-items: center;
        gap: 20px
    }

    .trust-strip p > span {
        margin: 0
    }

    .trust-strip a {
        justify-self: start
    }

    .trust-strip strong {
        min-width: 150px
    }
}

@media (max-width: 620px) {
    .hero {
        padding-top: 34px
    }

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

    h1 {
        font-size: 30px;
        margin: 20px 0;
        line-height: 1.47
    }

    .hero-lead {
        font-size: 17px
    }

    .hero-description {
        font-size: 13px;
        margin: 18px 0 24px
    }

    .hero-tags {
        gap: 20px;
        font-size: 9px;
        flex-wrap: wrap;
        margin-top: 23px
    }

    .hero-copy {
        padding-bottom: 0
    }

    .scene-caption {
        margin-bottom: 18px
    }

    .question-card {
        padding: 18px;
        gap: 12px
    }

    .question-card p {
        font-size: 12px
    }

    .code-content {
        padding: 18px 15px 10px
    }

    .code-lines {
        padding-left: 20px
    }

    .code-lines code {
        font-size: 12px
    }

    .code-lines li {
        padding-left: 10px
    }

    .window-top {
        padding: 12px;
        gap: 9px;
        font-size: 9px
    }

    .python-label {
        font-size: 8px
    }

    .trace-row {
        margin: 8px 17px 12px;
        gap: 15px
    }

    .trace-row > div {
        gap: 7px
    }

    .trace-controls {
        margin-left: 17px;
        margin-right: 17px
    }

    .trace-explanation {
        padding-left: 17px;
        padding-right: 17px;
        min-height: 70px
    }

    .understanding-card {
        padding: 20px 0 0
    }

    .understanding-card strong {
        font-size: 10px
    }

    .understanding-card p {
        font-size: 9px
    }

    .trust-strip {
        grid-template-columns:1fr;
        gap: 19px;
        margin-top: 34px;
        padding: 25px 0
    }

    .trust-strip p {
        flex-direction: row;
        align-items: center;
        gap: 14px
    }

    .trust-strip strong {
        min-width: 145px;
        font-size: 14px
    }

    .trust-strip p > span {
        margin: 0;
        font-size: 9px
    }

    .trust-strip a {
        justify-self: start;
        font-size: 10px
    }
}
