/* ── HERO ── */
.cs-hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
}

.cs-hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 70% 55% at 60% 15%, rgba(59, 130, 246, .12) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 10% 75%, rgba(249, 115, 22, .09) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 90% 80%, rgba(168, 85, 247, .07) 0%, transparent 60%);
    animation: meshFloat 12s ease-in-out infinite alternate;
}

@keyframes meshFloat {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: .9
    }

    100% {
        transform: scale(1.04) rotate(1.5deg);
        opacity: 1
    }
}

.cs-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    background-image: linear-gradient(var(--text) 1px, transparent 1px), linear-gradient(90deg, var(--text) 1px, transparent 1px);
    background-size: 52px 52px;
}

.rh-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: .18;
}

.rh-orb-1 {
    width: 500px;
    height: 500px;
    top: -15%;
    right: -10%;
    background: linear-gradient(135deg, var(--accent), #06b6d4);
    animation: orbFloat1 10s ease-in-out infinite alternate;
}

.rh-orb-2 {
    width: 380px;
    height: 380px;
    bottom: -8%;
    left: -8%;
    background: linear-gradient(135deg, #f97316, #ec4899);
    animation: orbFloat2 13s ease-in-out infinite alternate;
}

.rh-orb-3 {
    width: 260px;
    height: 260px;
    top: 50%;
    left: 45%;
    background: linear-gradient(135deg, #a855f7, var(--accent));
    animation: orbFloat3 8s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% {
        transform: translate(0, 0) scale(1)
    }

    100% {
        transform: translate(-30px, 25px) scale(1.08)
    }
}

@keyframes orbFloat2 {
    0% {
        transform: translate(0, 0) scale(1)
    }

    100% {
        transform: translate(20px, -20px) scale(1.05)
    }
}

@keyframes orbFloat3 {
    0% {
        transform: translate(0, 0) scale(1)
    }

    100% {
        transform: translate(-15px, 15px) scale(1.1)
    }
}

.cs-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.cs-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, .28);
    background: rgba(249, 115, 22, .08);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}

.cs-hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.4s infinite;
}

.cs-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 700;
    line-height: 1.06;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -.03em;
}

.cs-hero-sub {
    font-size: 1.1rem;
    color: var(--text2);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cs-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px;
}

.cs-chip {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.cs-chip:hover,
.cs-chip.active {
    border-color: var(--border-h);
    background: rgba(249, 115, 22, .08);
    color: var(--accent);
    transform: translateY(-2px);
}

.cs-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.cs-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cs-stat {
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background .2s;
}

.cs-stat:last-child {
    border-right: none;
}

.cs-stat:hover {
    background: var(--bg3);
}

.cs-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.cs-stat-lbl {
    font-size: 12px;
    color: var(--text3);
    font-weight: 500;
}

/* ── ANCHOR STRIP ── */
.cs-anchor-strip {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 50;
}

.cs-anchor-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.cs-anchor-inner::-webkit-scrollbar {
    display: none;
}

.cs-anchor-btn {
    flex-shrink: 0;
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text3);
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.cs-anchor-btn:hover,
.cs-anchor-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: rgba(59, 130, 246, .04);
}

/* ── CODE BLOCKS ── */
.code-block {
    background: var(--code-bg);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red {
    background: #ff5f56;
}

.code-dot.yellow {
    background: #ffbd2e;
}

.code-dot.green {
    background: #27c93f;
}

.code-lang {
    font-size: 11px;
    color: rgba(255, 255, 255, .35);
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.code-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, .35);
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: transparent;
    transition: all .2s;
}

.code-copy:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
}

pre {
    padding: 18px 20px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: var(--code-text);
}

pre::-webkit-scrollbar {
    height: 4px;
}

pre::-webkit-scrollbar-track {
    background: transparent;
}

pre::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .12);
    border-radius: 4px;
}

.kw {
    color: #cba6f7;
}

/* purple - keywords */
.fn {
    color: var(--accent);
}

/* blue - functions */
.st {
    color: #a6e3a1;
}

/* green - strings */
.nm {
    color: #fab387;
}

/* orange - numbers */
.cm {
    color: #6c7086;
    font-style: italic;
}

/* gray - comments */
.op {
    color: #89dceb;
}

/* cyan - operators */
.bi {
    color: #f38ba8;
}

/* red - builtins */
.cl {
    color: #f9e2af;
}

/* yellow - class names */

/* ── CHEATSHEET CARDS ── */
.cs-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.cs-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-h);
    box-shadow: var(--shadow-lg);
}

.cs-card-bar {
    height: 4px;
}

.cs-card-head {
    padding: 22px 22px 16px;
}

.cs-card-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.cs-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.cs-card-desc {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 0;
}

.cs-card-body {
    padding: 0 22px 22px;
}

/* ── CHEATSHEET LINKS SECTION ── */
.cs-link-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.cs-link-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-h);
    box-shadow: var(--shadow-lg);
}

.cs-link-card-icon {
    font-size: 2.4rem;
}

.cs-link-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.cs-link-card-desc {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.6;
}

.cs-link-card-arrow {
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}


/* ── TABLE ── */
.cs-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.cs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cs-table th {
    background: var(--bg3);
    color: var(--text2);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cs-table td {
    padding: 9px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text2);
    vertical-align: top;
}

.cs-table tr:last-child td {
    border-bottom: none;
}

.cs-table tr:hover td {
    background: rgba(249, 115, 22, .04);
}

.cs-table code {
    font-family: var(--font-mono);
    font-size: 12px;
    background: var(--bg3);
    color: var(--accent);
    padding: 2px 7px;
    border-radius: 5px;
}

/* ── BADGE PILLS ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.badge-blue {
    background: rgba(59, 130, 246, .12);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, .2);
}

.badge-orange {
    background: rgba(249, 115, 22, .12);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, .2);
}

.badge-green {
    background: rgba(34, 197, 94, .12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, .2);
}

.badge-purple {
    background: rgba(168, 85, 247, .12);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, .2);
}

.badge-cyan {
    background: rgba(6, 182, 212, .12);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, .2);
}

.badge-red {
    background: rgba(239, 68, 68, .12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, .2);
}

.badge-yellow {
    background: rgba(245, 158, 11, .12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, .2);
}

/* ── SECTION HEADER ── */
.sec-header {
    margin-bottom: 48px;
}

.sec-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 1px solid rgba(249, 115, 22, .28);
    background: rgba(249, 115, 22, .08);
    color: var(--accent);
    margin-bottom: 18px;
}

.sec-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.5s ease-in-out infinite;
}

.sec-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.sec-sub {
    font-size: 1rem;
    color: var(--text2);
    max-width: 560px;
    line-height: 1.7;
}

/* ── CHEAT GRID LAYOUTS ── */
.cheat-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cheat-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cheat-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media(max-width:1024px) {
    .cheat-3col {
        grid-template-columns: 1fr 1fr
    }

    .cheat-4col {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:720px) {

    .cheat-2col,
    .cheat-3col,
    .cheat-4col {
        grid-template-columns: 1fr
    }
}

/* ── QUICK REF ITEMS ── */
.qr-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qr-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--bg2);
    border: 1px solid var(--border);
    font-size: 13px;
    transition: border-color .2s;
}

.qr-item:hover {
    border-color: rgba(249, 115, 22, .28);
}

.qr-key {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 5px;
    flex-shrink: 0;
}

.qr-val {
    color: var(--text2);
    line-height: 1.5;
}

/* ── MODAL ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalIn .35s var(--ease-spring);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(.9) translateY(20px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

.modal-head {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(59, 130, 246, .08), rgba(6, 182, 212, .06));
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.modal-sub {
    font-size: 13px;
    color: var(--text2);
}

.modal-body {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.modal-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
}

.modal-input {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--bg3);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.modal-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.modal-input::placeholder {
    color: var(--text3);
}

.modal-select {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--bg3);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color .2s;
    appearance: none;
    cursor: pointer;
}

.modal-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.modal-submit {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--accent), #06b6d4);
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(249, 115, 22 .3);
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(59, 130, 246, .4);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-glass);
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.modal-close:hover {
    background: var(--bg3);
    color: var(--text);
}

.modal-head {
    position: relative;
}

.modal-note {
    font-size: 12px;
    color: var(--text3);
    text-align: center;
}

/* ── SUCCESS STATE ── */
.modal-success {
    display: none;
    padding: 40px 32px;
    text-align: center;
}

.modal-success.show {
    display: block;
}

.modal-success-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.modal-success-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.modal-success-sub {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.7;
}

/* ── COURSE OFFER SECTION ── */
.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-h);
    box-shadow: var(--shadow-lg);
}

.course-thumb {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    position: relative;
    overflow: hidden;
}

.course-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.course-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(8px);
    color: #f59e0b;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-body {
    padding: 22px;
}

.course-cat {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.course-desc {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 14px;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--text3);
    flex-wrap: wrap;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.price-new {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.price-old {
    font-size: 14px;
    color: var(--text3);
    text-decoration: line-through;
}

.price-off {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, .2);
}

.course-enroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316, #ec4899);
    color: #fff;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(249, 115, 22, .3);
}

.course-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, .4);
}

/* ── CTA BANNER ── */
.cta-banner {
    border-radius: var(--radius-xl);
    padding: 70px 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(246, 121, 59, 0.15), rgba(212, 95, 6, 0.1), rgba(247, 201, 85, 0.08));
    border: 1px solid var(--border-h);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(59, 130, 246, .08), transparent);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    position: relative;
}

.cta-sub {
    font-size: 1rem;
    color: var(--text2);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
    position: relative;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.cta-input {
    flex: 1;
    min-width: 220px;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--bg2);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color .2s;
}

.cta-input:focus {
    border-color: var(--accent);
}

.cta-input::placeholder {
    color: var(--text3);
}

@media(max-width:768px) {
    .cs-stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .cs-hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .modal-row {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 40px 24px;
    }
}

@media(max-width:480px) {
    .cs-stats-bar {
        grid-template-columns: 1fr 1fr;
    }
}


/*  aws cheatsheet */

.when-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px
}

.when-table th {
    background: rgba(255, 153, 0, .08);
    color: #ff9900;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border)
}

.when-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text2);
    vertical-align: top;
    line-height: 1.5
}

.when-table tr:last-child td {
    border-bottom: none
}

.when-table tr:hover td {
    background: rgba(255, 153, 0, .03)
}

.when-table td:first-child {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    font-size: 13px
}

.when-table td:nth-child(2) {
    color: #ff9900;
    font-weight: 600;
    font-size: 12px
}