
/* =========================================================
       STORM SYTLE SYSTEM – 1:1 FULL REPLACEMENT
    ========================================================= */

:root {
    --spi-bg-deep: #0b0f14;
    --spi-bg-mid: #0f141b;
    --spi-bg-soft: #121821;
    --spi-bg-card: #5F716F;

    --spi-electric: #00e6c3;
    --spi-electric-deep: #008675;
    --spi-electric-dark: #005F54;
    --spi-electric-glow: rgba(0, 230, 195, 0.25);

    --spi-text-main: #ffffff;
    --spi-text-muted: rgba(255, 255, 255, 0.65);
    --spi-border-subtle: rgba(0, 230, 195, 0.08);

    --spi-atmosphere:
        radial-gradient(circle at 15% 0%, rgba(0, 230, 195, 0.08), transparent 60%),
        radial-gradient(circle at 85% 40%, rgba(0, 134, 117, 0.06), transparent 60%),
        #0b0f14;
}

/* =========================================================
       GLOBAL ATMOSPHERE
    ========================================================= */

.spi-atmosphere {
    background:
        radial-gradient(circle at 15% 0%, rgba(0, 230, 195, 0.08), transparent 60%),
        radial-gradient(circle at 85% 40%, rgba(0, 134, 117, 0.06), transparent 60%),
        #0b0f14;
    color: #ffffff;
}

.rst-slider {
    position: relative;
}

.rst-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.rst-slide.active {
    display: block;
    opacity: 1;
}

.motion-gradient {
    padding: 16px;
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    border-radius: 8px;
    width: 120px;
}

.surface-motion-card {
    box-shadow: 0px 0px 24px 2px rgba(0, 0, 0, 0.15) !important;
    border-radius: 16px;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media all and (min-width:320px) and (max-width:425px) {
    .rst-slider {
        position: relative;
        margin-top: 32px;
    }
}

.free-shipping-stripe {
    padding: 16px;
    background-color: #008675;
    display: none;
}

.text-center {
    text-align: center;
}


* {
    box-sizing: border-box;
}

/* ===============================
   SCROLL OFFSET HELPERS
================================ */

#why-layouts-matter,
#how-to-choose-layout,
#compare-layouts,
#why,
#products,
#breakdown,
#use-cases {
    scroll-margin-top: 300px;
}


/* =========================================================
   STORM GRID SYSTEM
========================================================= */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}




/* =========================================================
   STORM UI CARD SYSTEM
========================================================= */

.ui-card {
    background:
        linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));

    border-radius: 20px;
    padding: 40px 32px;
    backdrop-filter: blur(6px);
    transition: all .35s ease;

}

.ui-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, 0.25);
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

.ui-card h4 {
    font-size: 18px;
    letter-spacing: .05em;
    margin-bottom: 16px;
}

.ui-card p {
    font-size: 15px;
    line-height: 1.7;
    opacity: .8;
}


/* =========================================================
   STORM LIST SYSTEM
========================================================= */

.ui-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ui-list li {
    position: relative;
    padding: 14px 0 14px 18px;
    font-size: 15px;
    line-height: 1.6;
    opacity: .85;
    color: var(--spi-text-main);
    border-bottom: 1px solid var(--spi-border-subtle);
}

.ui-list li:last-child {
    border-bottom: none;
}

/* Subtle left indicator instead of bullets */
.ui-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: var(--spi-electric);
}

/* ===============================
   ICONS
================================ */

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   TYPOGRAPHY
================================ */

.h-xl {
    font-size: 48px;
    font-weight: 800;
}

.h-lg {
    font-size: 36px;
    font-weight: 800;
}

.h-md {
    font-size: 20px;
    font-weight: 700;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 100px auto;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.section-header p {
    opacity: .7;
    font-size: 18px;
}



@media (max-width: 768px) {
    .h-xl {
        font-size: 32px !important;
    }

    .h-lg {
        font-size: 20px !important;
    }

    .h-md {
        font-size: 16px !important;
    }

    .body-text {
        font-size: 12px;
    }
}

/* ===============================================
   SPI VIDEO CARDS
================================================ */

.video-ui-card {
    flex: 0 0 320px;
    width: 320px;
    cursor: pointer;
    transition: transform .35s ease;
}

.video-ui-card:hover {
    transform: translateY(-6px);
}

@media (max-width: 768px) {
    .video-ui-card {
        flex: 0 0 260px;
        width: 260px;
    }
}

/* ---------------------------------- */
/* Thumbnail Container */
/* ---------------------------------- */

.video-thumb {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    transition: all .35s ease;
}

.video-ui-card:hover .video-thumb {
    border-color: rgba(0, 230, 195, .35);
    box-shadow: 0 12px 30px rgba(0, 230, 195, .12);
}

.video-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .5),
            rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* ---------------------------------- */
/* Image */
/* ---------------------------------- */

.video-thumb img {
    width: 100%;
    display: block;
    transition: transform .4s ease, opacity .25s ease;
}

.video-ui-card:hover img {
    transform: scale(1.05);
    opacity: .9;
}

/* ---------------------------------- */
/* Play Button */
/* ---------------------------------- */

.video-play {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

/* Circle */
.video-play::before {
    content: "";
    width: 50px;
    height: 50px;

    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(6px);

    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 0 24px rgba(0, 0, 0, .4);

    position: absolute;
}

/* Triangle */
.video-play::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent var(--spi-electric);
    margin-left: 6px;
    position: relative;
    z-index: 2;
}

.video-ui-card:hover .video-play::before {
    background: rgba(0, 0, 0, .75);
    box-shadow: 0 0 30px var(--spi-electric-glow);
}

/* ---------------------------------- */
/* Timestamp */
/* ---------------------------------- */

.time-stamp {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: .08em;
    padding: 4px 8px;
    color: var(--spi-text-main);
}

/* ---------------------------------- */
/* Title */
/* ---------------------------------- */

.video-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.4;
    text-transform: none;
    margin-top: 8px;
}


/* ===============================================
   SPI ARTICLE CARDS
================================================ */

.article-card {
    flex: 0 0 340px;
    width: 340px;
}

.article-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;

    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));


    transition: all .35s ease;
}

.article-link:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, .35);
    box-shadow: 0 14px 34px rgba(0, 230, 195, .15);
}

/* ---------------- Thumbnail ---------------- */

.article-thumb {
    position: relative;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    display: block;
    transition: transform .4s ease, opacity .3s ease;
}

.article-link:hover .article-thumb img {
    transform: scale(1.05);
    opacity: .9;
}

/* Read Time */

.read-time {
    position: absolute;
    bottom: 14px;
    right: 14px;

    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(6px);

    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .2);

    font-size: 11px;
    letter-spacing: .1em;
    padding: 5px 9px;
    color: var(--spi-text-main);
}

/* ---------------- Body ---------------- */

.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Tag */

.article-tag {
    font-size: 11px;
    letter-spacing: .12em;
    padding: 6px 12px;
    border-radius: 999px;

    background: rgba(0, 230, 195, .12);
    border: 1px solid rgba(0, 230, 195, .35);

    color: var(--spi-electric);
}

/* Title */

.article-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--spi-text-main);
}

/* Meta */

.article-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .02em;
}


.article-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 3px;
    background: var(--spi-electric);
    opacity: .15;
}
















/* WEIGHTBLOCK / COVER COMPARE TABLE */

.simple-breakdown {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #f5f5f5;
    background-color: #191C1B;
    border-radius: 12px;
    overflow: hidden;
}

.simple-breakdown th {
    background-color: #2a2d2c;
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.simple-breakdown td {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.simple-breakdown tr:nth-child(even) {
    background-color: #212423;
}

.simple-breakdown tr:hover {
    background-color: #5F716F;
    /* Storm tint hover */
}

.meter {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 10px;
    width: 120px;
    margin-top: 6px;
    overflow: hidden;
}

.meter span {
    display: block;
    height: 100%;
    border-radius: 20px;
    background: #00e6c3;
}


.simple-breakdown .section-header td {
    background-color: #111312;
    color: #00e6c3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    border-top: 2px solid #5F716F;
}


.coverstock-table-wrapper {
    max-height: 600px;
    /* adjust for how much you want visible before expanding */
    overflow: hidden;
    transition: max-height 0.6s ease;
    position: relative;
}

/* Faded gradient hint at bottom before expanding */
.coverstock-table-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, #191C1B 20%, rgba(25, 28, 27, 0));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.coverstock-table-wrapper.expanded {
    max-height: 5000px;
    /* plenty of room for full table */
}

.coverstock-table-wrapper.expanded::after {
    opacity: 0;
}


/* ============================= */
/* MOBILE TABLE LAYOUT */
/* ============================= */

@media (max-width: 768px) {

    .simple-breakdown thead {
        display: none;
    }

    .simple-breakdown {
        display: block;
        width: fit-content;
        min-width: unset;
    }

    .simple-breakdown tbody,
    .simple-breakdown tr,
    .simple-breakdown td {
        display: block;
        min-width: unset;
    }

    .simple-breakdown tr {
        background: #1e2221;
        margin-bottom: 20px;
        padding: 18px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .simple-breakdown tr.section-header {
        background-color: #111312;
        border-radius: 0;
        padding: 14px 18px;
        border: none;
    }

    .simple-breakdown td {
        padding: 8px 0;
        border: none;
    }

    .simple-breakdown td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0.6;
        margin-bottom: 4px;
    }

    .meter {
        width: 100%;
    }

    .simple-breakdown tr:hover {
        background: #1e2221;
    }
}




/* ========================================================================== */
/*                                                                            */
/*                            ██████  THE COVER  ██████                        */
/*                                                                            */
/*                      Foundation of Ball Motion & Friction                  */
/*                                                                            */
/* ========================================================================== */



/* =========================================================
       COVER TYPE SECTION
    ========================================================= */

.cover-type-section {
    padding: 120px 24px;
}

.cover-type-section h2 {
    margin-bottom: 16px;
    font-size: 42px;
    letter-spacing: 1px;
}

.cover-type-section .body-text {
    max-width: 760px;
    margin: 0 auto 80px auto;
    opacity: .75;
    font-size: 18px;
    line-height: 1.6;
}

/* GRID */

.cover-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1600px;
    margin: 0 auto;
    margin-top: 48px;
}

/* CARD */

.cover-card {
    background:
        linear-gradient(145deg, var(--spi-bg-card), var(--spi-bg-mid));

    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
    backdrop-filter: blur(6px);
    border-radius: 16px;
}

.cover-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, 0.25);
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

/* .cover-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--spi-electric), var(--spi-electric-deep));
    } */

/* remove rainbow accents */
.cover-card.solid::before,
.cover-card.pearl::before,
.cover-card.hybrid::before,
.cover-card.urethane::before {
    background: linear-gradient(90deg, var(--spi-electric), var(--spi-electric-deep));
}

/* TYPOGRAPHY */

.cover-card h3 {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.motion-visual {
    background: radial-gradient(circle at 50% 50%, rgba(0, 230, 195, 0.08), transparent 70%);
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
}

.cover-data {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.cover-data div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 230, 195, 0.12);
    padding-bottom: 8px;
}

.cover-data span {
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .6;
}

.cover-data strong {
    font-size: 14px;
    font-weight: 600;
}

.cover-note {
    font-size: 14px;
    line-height: 1.6;
    opacity: .75;
}

/* =========================================================
       COVER TECH SECTION
========================================================= */

.cover-tech-section {
    padding: 120px 24px;
}




.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    background:
        linear-gradient(145deg, var(--spi-bg-card), var(--spi-bg-soft));

    padding: 40px;
    transition: .35s ease;
    width: unset !important;
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, 0.25);
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

.tech-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.tech-card ul {
    margin-bottom: 20px;
    padding-left: 18px;
}

.tech-card ul li {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: .85;
}

.tech-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: .75;
}

/* =========================================================
       ALT STRATEGY SECTION
========================================================= */

.cover-strategy-alt {
    padding: 140px 24px;
}




.player-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 60px 32px;
    border-top: 1px solid var(--spi-border-subtle);
    max-width: 1200px;
    margin: 0 auto;
    transition: .3s ease;
}

.player-row:last-child {
    border-bottom: 1px solid var(--spi-border-subtle);
}

.player-row:hover {
    background: rgba(0, 230, 195, 0.03);
}

.player-label {
    width: 30%;
    display: flex;
    align-items: center;
    gap: 16px;
}

.player-label h3 {
    font-size: 26px;
    letter-spacing: 1px;
}

.player-content {
    width: 65%;
}

.player-content ul {
    margin-bottom: 16px;
    padding-left: 18px;
}

.player-content ul li {
    font-size: 15px;
    margin-bottom: 6px;
    opacity: .9;
}

.player-content p {
    font-size: 14px;
    opacity: .7;
    line-height: 1.6;
}

/* =========================================================
       MOTION PHASE SECTION
    ========================================================= */

.motion-phase-section {
    padding: 160px 24px;
}





.phase-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, var(--spi-electric), var(--spi-electric-deep));
    box-shadow: 0 0 16px var(--spi-electric-glow);
    margin-top: 60px;
}

.phase-track {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    position: relative;
    margin-bottom: 64px;
}



.phase-block {
    max-width: 280px;
}

.phase-label {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-bottom: 8px;
}

.phase-block h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.phase-core {
    font-weight: 600;
    margin-bottom: 12px;
}

.phase-cover {
    opacity: 0.7;
    line-height: 1.6;
}

/* Phase Descriptor */
.phase-description {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 22px;
    line-height: 1.4;
}

/* List Styling */
.lane-phase ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lane-phase li {
    margin-bottom: 18px;
    line-height: 1.6;
    padding-left: 14px;
    position: relative;
    color: #fff !important;
    font-size: 14px;
}

/* Subtle left marker instead of bullets */
.lane-phase li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
}

/* Strong label emphasis */
.lane-phase li strong {
    font-weight: 700;
}

.motion-clarity {
    margin-top: 140px;
    display: flex;
    justify-content: center;
    gap: 60px;
    font-weight: 600;
    opacity: 0.85;
}

/* =========================================================
       INSIGHT CARDS
========================================================= */

.cover-insight-section {
    padding: 160px 0;
    overflow: hidden;
}


.insight-scroll {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.insight-scroll::-webkit-scrollbar {
    display: none;
}

.insight-card {
    max-width: 800px;
    background:
        linear-gradient(145deg, var(--spi-bg-card), var(--spi-bg-mid));

    border-radius: 20px;
    padding: 48px;

    scroll-snap-align: start;
    transition: .35s ease;
    margin: auto;
}

.insight-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, 0.25);
}

.insight-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 28px;
}

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

.insight-note {
    margin-top: 30px;
    opacity: .6;
    font-size: 15px;
}

/* =========================================================
       AGING SECTION
    ========================================================= */

.cover-aging-section {
    padding: 160px 24px;
}

.cover-aging-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.aging-flow {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    margin-bottom: 100px;
    margin-top: 48px;
}

.aging-flow::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 230, 195, 0.15);
}

.aging-stage {
    position: relative;
    max-width: 220px;
}

.aging-stage::before {
    content: "";
    position: absolute;
    top: 25px;
    left: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--spi-electric);
}

.aging-label {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.5;
    display: block;
    margin-bottom: 25px;
}

.aging-stage h3 {
    margin-bottom: 8px;
}

.aging-stage p {
    opacity: 0.7;
    font-size: 15px;
    line-height: 1.5;
}

.restore::before {
    background: #008675;
}



/* =========================================================
       RESPONSIVE
    ========================================================= */

@media(max-width:1024px) {

    .cover-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .cover-type-section,
    .cover-tech-section,
    .cover-strategy-alt,
    .motion-phase-section,
    .cover-aging-section {
        padding: 80px 20px;
    }

    .cover-type-section h2 {
        font-size: 32px;
    }

    .player-row {
        flex-direction: column;
        gap: 20px;
    }

    .player-label,
    .player-content {
        width: 100%;
    }
}

/* =========================================================
   TAB CONTAINER
========================================================= */

.tab-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 60px 0 50px 0;
}

.tab-container button {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
}

/* Base Tab */
.tab-container button {
    background: var(--spi-bg-soft);
    color: var(--spi-text-main);
    border: 1px solid var(--spi-border-subtle);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all .25s ease;
}

/* Hover */
.tab-container button:hover {
    background: rgba(0, 230, 195, 0.06);
    border-color: rgba(0, 230, 195, 0.25);
}

/* Active */
.tab-container button.active {
    background: linear-gradient(135deg,
            var(--spi-electric),
            var(--spi-electric));
    color: #000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Focus */
.tab-container button:focus,
.tab-container button:focus-visible,
.tab-container button:active {
    outline: none !important;
    box-shadow: none !important;
}


/* =========================================================
   LEGEND
========================================================= */

.motion-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px auto 0px;
    align-items: center;
    font-family: inherit;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* Keep phase colors subtle */
.legend-dot.skid {
    background: #005F54;
}

.legend-dot.hook {
    background: #008675;
}

.legend-dot.roll {
    background: #00E6C3;
}

.legend-label {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: .7;
}





@media (max-width: 900px) {
    .phase-track {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .phase-divider {
        width: 2px;
        height: 60px;
        margin: 0;
    }

    .motion-clarity {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }



    .insight-columns {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .insight-split {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
        margin-bottom: 28px;
    }

    .cover-insight-section {
        padding: 64px 16px;
        overflow: hidden;
    }

    .aging-flow {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        position: relative;
        margin-bottom: 32px;
        margin-top: 48px;
        flex-direction: column;
    }

    .aging-stage h3 {
        margin-bottom: 8px;
        margin-left: 32px;
        font-size: 16px !important;
    }

    .aging-label {
        font-size: 12px !important;
        letter-spacing: 1px;
        opacity: 0.5;
        display: block;
        margin-bottom: 16px;
        margin-left: 32px;
    }

    .aging-stage p {
        opacity: 0.7;
        font-size: 15px;
        line-height: 1.5;
        margin-left: 32px;
    }

    .aging-flow::before {
        content: "";
        position: absolute;
        top: 30px;
        left: 4px;
        right: 0;
        height: 497px;
        width: 2px;
        background: rgba(0, 230, 195, 0.15);
    }

    .motion-gradient {
        margin-bottom: 16px;
    }

    .flex-container-column {
        display: flex;
        flex-direction: column;
    }


    .ball-cover-compare-image {
        width: 50%;
        display: block;
        margin: auto;
    }


}




/* ========================================================================== */
/*                                                                            */
/*                            ██████  THE WEIGHTBLOCK  ██████                        */
/*                                                                            */
/*                                   A Bowling Balls Engine                  */
/*                                                                            */
/* ========================================================================== */


.weightblock-container {
    width: 30%;
    margin: auto;
}

.toggle-label-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.toggle-text {
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--spi-text-muted);
    transition: all .3s ease;
}

.toggle-text.active {
    color: var(--spi-text-main);
    text-shadow: 0 0 18px var(--spi-electric-glow);
}

.toggle-input {
    display: none;
}

.toggle-track {
    width: 120px;
    height: 48px;
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    border-radius: 999px;
    position: relative;
    border: unset !important;
    transition: all .3s ease;
}

.toggle-thumb {
    width: 44px;
    height: 44px;
    background: var(--spi-bg-mid);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
}


.toggle-input:checked+.toggle-track .toggle-thumb {
    transform: translateX(5px);
}

.toggle-icon svg {
    color: var(--spi-electric);
}

.toggle-input:checked+.toggle-track {
    box-shadow: 0 0 20px var(--spi-electric-glow);
}

/* ----------------------------------------------- */

/* ==============================================
   CORE DEEP DIVE – STORM SYSTEM
============================================== */

.core-deep-dive {
    color: var(--spi-text-main);
}


.core-group {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all .35s ease;
}

.core-group.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tier-label {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: .5rem;
    color: var(--spi-electric);
}

.tier-desc {
    font-size: .95rem;
    opacity: .65;
    margin-bottom: 1.5rem;
}

.core-grid-wrapper {
    display: block;
    overflow: scroll;
}

.core-grid {
    flex-direction: row;
    display: flex;
    gap: 16px;
    align-items: stretch;
    padding: 32px;
    width: fit-content;
}

.core-card {
    background:
        linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-mid));

    border-radius: 16px;
    padding: 24px 20px;

    flex: 0 0 260px;
    min-height: 360px;
    position: relative;
    overflow: hidden;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    transition: all .35s ease;
    backdrop-filter: blur(6px);
}

.core-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 2px 16px var(--spi-electric-glow);
}

.core-card img {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;

    filter: drop-shadow(0 0 12px rgba(0, 230, 195, 0.15));
}

/* Brand accent stripe */
.core-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

/* Storm */
[data-brand="storm"].core-card::before {
    background: #00B8A9;
}

/* Roto */
[data-brand="roto"].core-card::before {
    background: #E5006E;
}

/* Global */
[data-brand="global"].core-card::before {
    background: #FFD100;
}


.core-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: .75rem;
}

.core-card h4 {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .02em;
    color: var(--spi-text-main);
}

.core-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 4px 10px;
    border-radius: 40px;

    background: rgba(0, 230, 195, .08);
    color: var(--spi-electric);
}

.core-card p {
    font-size: 13px;
    line-height: 1.5;
    opacity: .75;
    margin-bottom: .75rem;
}

.use-case {
    font-size: 12px;
    opacity: .6;
}


.motion-summary {
    max-width: 900px;
    padding: 0 32px;
}

.motion-macro {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.motion-macro-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 720px;
    opacity: 0.85;
}

.motion-sub {
    margin-top: 40px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
}

.motion-sub-desc {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 720px;
    opacity: 0.8;
}

.motion-sub {
    position: relative;
    padding-top: 28px;
}

.motion-sub::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

/* BALL LIST STYLING */

.core-balls {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.balls-label {
    font-size: 11px !important;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .4;
}

.core-balls a {
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    opacity: .85;
    transition: all .25s ease;
    position: relative;
}

.core-balls a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--spi-electric);
    transition: width .25s ease;
}

.core-balls a:hover {
    opacity: 1;
}

.core-balls a:hover::after {
    width: 100%;
}

/* Optional responsive tweak */
@media (max-width: 768px) {
    .core-grid {
        flex-direction: column;
    }
}

.core-tag {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.7rem !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    background: #555;
    color: #000;
}


[data-type="asym"] .core-tag {
    background: var(--spi-electric);
    color: #001310;
}

[data-type="sym"] .core-tag {
    background: var(--spi-electric-deep);
    color: #ffffff;
}


.motion-subgroup {
    display: none;
}

.motion-subgroup.highlight {
    display: block;
}

/* ===============================
   CORE FILTER – STORM STYLE
================================ */

.filter-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .15em;
    opacity: .6;
}

.filter-group button {
    background: transparent;
    border: 1px solid var(--spi-border-subtle);
    color: var(--spi-text-main);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13px;
    cursor: pointer;
    transition: all .25s ease;
}

.filter-group button:hover {
    border-color: var(--spi-electric);
}

.filter-group button.active {
    background: var(--spi-electric);
    color: #001310;
    border-color: var(--spi-electric);
    box-shadow: 0 0 20px var(--spi-electric-glow);
}

/* ----------------------------------- */


/* =========================================================
   CORE FUNDAMENTAL CARDS
========================================================= */

/* ---------- Container Layout ---------- */
.fundamental-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- Card Shell ---------- */
.fundamental-card {
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: var(--spi-text-main);
    transition: all .35s ease;
    backdrop-filter: blur(6px);
}

.fundamental-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, 0.25);
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

/* ---------- Title ---------- */
.fundamental-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 8px;
}

/* ---------- Subtitle ---------- */
.fundamental-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--spi-text-muted);
    margin-bottom: 18px;
    font-style: italic;
}

/* ---------- List ---------- */
.fundamental-points {
    padding-left: 18px;
    margin-bottom: 32px;
}

.fundamental-points li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
    opacity: .85;
}

/* ---------- Button ---------- */
.fundamental-button {
    margin-top: auto;
}

.fundamental-button .btn.explore {
    background: var(--spi-bg-soft) !important;
    border: 1px solid var(--spi-border-subtle) !important;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--spi-text-main) !important;
    letter-spacing: .05em;
    transition: all .25s ease;
}

.fundamental-button .btn.explore:hover {
    background: rgba(0, 230, 195, 0.08) !important;
    border-color: var(--spi-electric) !important;
    box-shadow: 0 0 16px var(--spi-electric-glow) !important;
}

.fundamental-button .btn.explore.disabled {
    background: var(--spi-bg-soft) !important;
    border: 1px solid var(--spi-border-subtle) !important;
    border-radius: 999px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--spi-text-main);
    letter-spacing: .05em;
    transition: all .25s ease;
}

.fundamental-button .btn.explore.active {
    background: rgba(0, 230, 195, 0.08) !important;
    border-color: var(--spi-electric) !important;
    box-shadow: 0 0 16px var(--spi-electric-glow) !important;
}






/* =========================================================
   EXPLORE MORE POP UPS — STORM SYSTEM
========================================================= */

.info-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 999;
    backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 80px 0;
}

.info-popup-content {
    background: var(--spi-atmosphere);
    color: var(--spi-text-main);
    border-radius: 24px;
    max-width: 1400px;
    width: 90%;
    padding: 48px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: popupFadeIn .3s ease;
}

.info-popup-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--spi-text-muted);
    cursor: pointer;
    transition: color .3s ease;
}

.info-popup-close:hover {
    color: var(--spi-electric);
}

/* Optional: smooth fade-in animation */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



/* =========================================================
   DIFF CARD
========================================================= */




.diff-specs {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 230, 195, 0.12);
    margin-bottom: 16px;
}

.diff-specs p {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .6;
}

.diff-video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}



.diff-caption {
    font-size: 14px;
    line-height: 1.6;
    opacity: .75;
    color: var(--spi-text-main);
}

.diff-summary {
    margin-top: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

    font-size: 15px;
    line-height: 1.6;
    opacity: .75;
}





.diff-benefit-card {
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));

    border-radius: 16px;
    padding: 32px;
    width: 320px;

    transition: all .35s ease;
}

.diff-benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, 0.25);
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

.diff-benefit-card ul {
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.6;
    opacity: .85;
}


.diff-benefit-card.low {
    border-top: 2px solid var(--spi-electric);
}

.diff-benefit-card.high {
    border-top: 2px solid var(--spi-electric-deep);
}






/* =========================================================
   LANE CARD EXAMPLES 
========================================================= */

.cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.lane-card {
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    border-radius: 20px;
    padding: 32px;
    width: 320px;

    transition: all .35s ease;
    color: var(--spi-text-main);
    backdrop-filter: blur(6px);
}

.lane-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, 0.25);
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

.lane-card h4 {
    margin-bottom: 24px;
    font-size: 18px;
    letter-spacing: .05em;
}

.lane-ball-img {
    width: 200px;
    margin: auto;
    margin-bottom: 32px;
    display: block;
}





/* =========================================================
   INTERMEDIATE DIFF — STORM SYSTEM
========================================================= */

.psa-lane-card {
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    border-radius: 24px;
    width: 320px;
    height: 625px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

.psa-lane-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, .25);
    box-shadow: 0 15px 40px var(--spi-electric-glow);
}

.intermediate-diff-path {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.friction-zone {
    width: 40%;
    height: 100%;
    position: absolute;
    right: 0px;
    top: 0px;
    background-color: #008675;
    z-index: 2;
}

.friction-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    color: var(--spi-electric);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 12px;
    opacity: .7;
}

.transition-copy {
    position: absolute;
    top: 50%;
    left: 32%;
    transform: translate(-50%, -50%);
    color: var(--spi-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}

.low-intermediate-transition {
    position: absolute;
    top: 121px;
    height: 189px;
    width: 100%;
    background-color: #1ca592;
    z-index: 1;
}

.high-intermediate-transition {
    position: absolute;
    top: 202px;
    height: 110px;
    width: 100%;
    background-color: #1ca592;
    z-index: 1;
}

/* ----------------------------------- */


/* =========================================================
   USE CASE CARD — SYM VS ASYM 
========================================================= */

.use-case-card {
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-mid));

    border-radius: 16px;
    padding: 32px;
    width: 420px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: all .35s ease;
    backdrop-filter: blur(6px);
}

.use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

.use-case-card h4 {
    text-align: center;
    margin-bottom: 24px;

    font-size: 18px;
    letter-spacing: .05em;
    font-weight: 600;
}

.use-case-card ul {
    padding-left: 18px;
    line-height: 1.6;
}

.use-case-card li {
    margin-bottom: 8px;
    font-size: 14px;
    opacity: .85;
}

.use-case-quote {
    margin-top: 24px;
    font-style: italic;
    font-size: 14px;
    opacity: .7;
    text-align: center;
}

.use-case-heading {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
    text-align: center;
}

.core-type {
    font-size: 20px;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--spi-text-main);
}

.core-context {
    font-size: 14px;
    letter-spacing: 0.04em;
    font-weight: 500;
    opacity: .6;
}


/* =========================================================
   SYNERGY CARD 
========================================================= */

.synergy-card {
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    border-radius: 20px;
    padding: 48px;
    transition: all .35s ease;
}

.synergy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

.synergy-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.synergy-block h4 {
    font-size: 14px;
    letter-spacing: .15em;
    margin-bottom: 12px;
    color: var(--spi-electric);
}

.synergy-block p {
    font-size: 15px;
    line-height: 1.7;
    opacity: .8;
}

.synergy-divider {
    height: 1px;
    margin: 40px 0;
    background: var(--spi-border-subtle);
}

.synergy-conclusion {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.synergy-heading {
    text-align: center;
    font-size: 28px;
    letter-spacing: .08em;
    margin-bottom: 40px;
}

.synergy-heading span {
    display: block;
    font-size: 14px;
    letter-spacing: .05em;
    opacity: .6;
    margin-top: 8px;
}

/* ----------------------------------- */



/* HIGH RG VS LOW RG */
.lane {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 100px;
    margin: auto;
    background: linear-gradient(to bottom, #444, #222);
    border-radius: 8px;
    overflow: hidden;
}

.ball-spin {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: radial-gradient(circle at 30% 30%, #ff4444, #aa0000);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pap {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

#lowRG {
    top: 20px;
}

#highRG {
    top: 20px;
}

.label {
    position: absolute;
    left: 10px;
    font-weight: bold;
    font-size: 14px;
}

.low {
    top: 0;
}

.high {
    top: 0;
}

/* Pins for context */
.pin-deck {
    position: absolute;
    right: 10px;
    top: 20px;
    width: 70px;
    height: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    opacity: 0.4;
}

.pin {
    width: 10px;
    height: 10px;
    margin: 2px;
    background: white;
    border-radius: 50%;
}

/* RG DIFFERENTIAL EXAMPLES */
.rg-diff-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 2rem;
}

.rg-diff-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.rg-video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.rg-benefits {
    list-style-type: disc;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.4;
}


/* MOBILE: flip to vertical */
@media (max-width: 600px) {
    .lane {
        width: 120px;
        height: 350px;
    }

    .label {
        top: auto;
        bottom: 5px;
        left: 5px;
        font-size: 12px;
    }

    #lowRG,
    #highRG {
        left: 30px;
        top: 0;
    }

    .lanes {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }


    .ball-spin {
        position: absolute;
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: radial-gradient(circle at 30% 30%, #ff4444, #aa0000);
        display: flex;
        justify-content: center;
        align-items: center;
    }
}






/* ========================================================================== */
/*                                                                            */
/*                            ██████  LAYOUTS ██████                        */
/*                                                                            */
/*               Unlock Consitent Ball Motion With The Right Layout                */
/*                                                                            */
/* ========================================================================== */



/* =========================================================
   STORM EDITORIAL SYSTEM
========================================================= */

.editorial-list {
    max-width: 900px;
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;

}

.editorial-item {
    padding: 40px;
    border-top: 1px solid var(--spi-border-subtle);
    transition: .3s ease;
}



.editorial-item:hover {
    background: rgba(0, 230, 195, 0.03);
    padding-left: 16px;
}

.editorial-item h4 {
    font-size: 22px;
    letter-spacing: .04em;
    margin-bottom: 18px;
}

.editorial-item p {
    font-size: 16px;
    line-height: 1.8;
    opacity: .8;
    max-width: 760px;
}

.editorial-item strong {
    display: block;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .55;
    margin-bottom: 6px;
}


.editorial-item em {
    font-style: normal;
    font-weight: 600;
    opacity: .9;
}

/* =========================================================
   STORM LAYOUT STEP SYSTEM
========================================================= */

.layout-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.layout-step {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 16px 20px;
    border-radius: 14px;

    cursor: pointer;
    transition: all .3s ease;

    border: 1px solid var(--spi-border-subtle);
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0.01));

    opacity: .7;
}

.layout-step:hover {
    opacity: 1;
    border-color: rgba(0, 230, 195, .25);
    background: rgba(0, 230, 195, .04);
}

.layout-step.active {
    opacity: 1;
    border-color: var(--spi-electric);
    background: rgba(0, 230, 195, .08);
    box-shadow: 0 0 18px var(--spi-electric-glow);
}

.step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 700;

    background: rgba(255, 255, 255, 0.08);
    color: var(--spi-text-main);

    transition: all .3s ease;
}

.layout-step.active .step-num {
    background: var(--spi-electric);
    color: #001310;
    box-shadow: 0 0 14px var(--spi-electric-glow);
}

/* =========================================================
   LAYOUT STAGE PANEL
========================================================= */

.layout-stage {
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(6px);
    transition: all .35s ease;
}

.layout-stage:hover {
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

.layout-image img {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 0 auto 32px auto;
    filter: drop-shadow(0 0 20px rgba(0, 230, 195, .1));
}

.layout-image img {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 0 auto 32px auto;
    filter: drop-shadow(0 0 20px rgba(0, 230, 195, .1));
}


/* ===============================================
   PIN BUFFER LAYOUT CARDS
================================================ */


#compare-layouts .ui-card-container {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding: 40px 32px;
    justify-content: unset !important;
}

#compare-layouts .ui-card {
    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));

    border: 1px solid var(--spi-border-subtle);
    border-radius: 20px;

    display: flex;
    flex-direction: column;
    transition: all .35s ease;
    flex: 0 0 320px;
    width: 320px;
    backdrop-filter: blur(6px);
}

#compare-layouts .ui-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, .35);
    box-shadow: 0 12px 30px rgba(0, 230, 195, .12);
}

.layout-visual {
    padding: 36px 20px 28px;
    border-bottom: 1px solid var(--spi-border-subtle);
    text-align: center;
}

.layout-visual img {
    width: 80%;
    max-width: 240px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .4));
}

.layout-spec {
    padding: 28px 26px 32px;
}

.layout-spec h4 {
    font-size: 22px;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.layout-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-direction: column;
}

.layout-meta span {
    font-size: 11px !important;
    letter-spacing: .12em;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 230, 195, .08);
    border: 1px solid rgba(0, 230, 195, .2);
}

.layout-spec p {
    font-size: 14px;
    line-height: 1.6;
    opacity: .8;
}



/* ===============================
   WHY BAD LAYOUTS SECTION
================================ */

#why-bad-layouts {
    margin-top: 100px;
}

.why-card {
    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));

    border: 1px solid var(--spi-border-subtle);
    border-radius: 24px;
    padding: 70px 60px;

    backdrop-filter: blur(8px);
}

/* Title */
.why-title {
    text-align: center;
    font-size: 34px;
    letter-spacing: .05em;
    margin-bottom: 20px;
    color: #fff;
}

/* Intro paragraph */
.why-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px !important;
    color: rgba(255, 255, 255, .65);
    line-height: 1.7;
}

/* Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
}

/* Individual items */
.why-item h4 {
    font-size: 16px;
    letter-spacing: .08em;
    margin-bottom: 12px;
    color: #fff;
}

.why-item p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
}

/* Quote */
.why-quote {
    margin-top: 70px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .1);

    text-align: center;
    font-size: 20px;
    font-style: italic;
    color: var(--spi-electric);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}




/* ========================================================================== */
/*                                                                            */
/*                            ██████  HOW A BALL HOOKS ██████                        */
/*                                                                            */
/*               Understanding ball motion through friction, rotation, and timing.               */
/*                                                                            */
/* ========================================================================== */




/* =========================================================
       REACTION BARS
========================================================= */

.reaction-bars {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.reaction-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .8;
}

.bar-track {
    display: flex;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 230, 195, 0.06);
}

.segment {
    height: 100%;
    flex: unset !important;
}

.segment.skid {
    background: #005F54;
}

.segment.hook {
    background: #008675;
}

.segment.roll {
    background: #00E6C3;
}








/* ========================================================================== */
/*                                                                            */
/*                            ██████  BOWLING BALL MAINTENANCE ██████                        */
/*                                                                            */
/*            Keep Your Bowling Ball Performing at Its Best               */
/*                                                                            */
/* ========================================================================== */


/* ===============================
   WHY MAINTENANCE MATTERS
================================ */

#why-maintenance {
    margin-top: 100px;
}

.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.maintenance-item {
    padding: 40px 36px;

    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));

    border: 1px solid var(--spi-border-subtle);
    border-radius: 24px;

    backdrop-filter: blur(8px);

    transition: transform .3s ease, border-color .3s ease;
}

.maintenance-item:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, .3);
}

.maintenance-item h3 {
    font-size: 18px;
    letter-spacing: .08em;
    margin-bottom: 16px;
    color: #fff;
}

.maintenance-item p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
}


/* ===============================
   TIMELINE — REFINED
=============================== */

.timeline {
    margin: 60px auto 0;
    max-width: 900px;
}

.timeline-stage {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.timeline-stage:last-child {
    border-bottom: none;
}

/* Stage Label */
.stage-label {
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .5;
}

/* Title */
.timeline-content h3 {
    font-size: 20px;
    letter-spacing: .08em;
    margin-bottom: 8px;
    color: #fff;
}

/* Description */
.timeline-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
}


/* ===============================
   SIGNS — STORM REFINED
=============================== */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    margin-top: 40px;
}

/* Card Base */
.attention-card-v2 {
    padding: 36px 28px;
    border-radius: 20px;

    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));

    border: 1px solid var(--spi-border-subtle);

    backdrop-filter: blur(8px);

    text-align: center;
    transition: all .3s ease;
}

/* Hover */
.attention-card-v2:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, .3);
}

/* ICON CONTAINER */
.attention-icon-v2 {
    width: 56px;
    height: 56px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    background: rgba(255, 255, 255, .04);
    border: 2px solid rgba(255, 255, 255, .15);

    transition: all .3s ease;
}

.attention-icon-v2 svg {
    width: 24px;
    height: 24px;
}

/* Severity Accent Rings */

.minor .attention-icon-v2 {
    border-color: #3aa86d;
}

.moderate .attention-icon-v2 {
    border-color: #c9a341;
}

.severe .attention-icon-v2 {
    border-color: #bf4343;
}

.critical .attention-icon-v2 {
    border-color: #888;
}

/* Severity Label */
.attention-card-v2 .severity {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: .5;
}

/* Title */
.attention-card-v2 h4 {
    font-size: 18px;
    letter-spacing: .05em;
    margin-bottom: 8px;
    color: #fff;
}

/* Description */
.attention-card-v2 .desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
}


.attention-card-v2::before {
    content: "";
    display: block;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 18px;
}

.minor::before {
    background: #3aa86d;
}

.moderate::before {
    background: #c9a341;
}

.severe::before {
    background: #bf4343;
}

.critical::before {
    background: #888;
}


/* ===============================
   DEEP CLEAN — COMPACT
=============================== */

.deep-clean-compact {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.deep-main,
.deep-methods {
    padding: 30px 32px;
}

/* Rows */
.deep-row {
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.deep-tag {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    opacity: .5;
    min-width: 120px;
}

.deep-content {
    font-size: 15px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.6;
}

.deep-divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: 20px 0;
}



/* ===============================
   SPINNER STEPS — STORM STYLE
=============================== */

.spinner-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto;
}

.spinner-step {
    padding: 28px;
    border-radius: 20px;

    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));

    border: 1px solid var(--spi-border-subtle);
    backdrop-filter: blur(8px);

    text-align: left;
    transition: all .3s ease;
}

.spinner-step:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, .3);
}

.spinner-step img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 16px;
}

.spinner-step h4 {
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: .05em;
    color: #fff;
}

.spinner-step p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
}


/* ===============================
   GRIT PROGRESSION — REFINED
=============================== */

.grit-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 50px auto 70px;
    position: relative;
}

/* subtle track line */
.grit-timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, .1);
}

/* node */
.grit-node {
    position: relative;
    text-align: center;
    z-index: 2;
}

.grit-dot {
    width: 18px;
    height: 18px;
    background: #111;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    margin: 0 auto 10px;
    transition: all .3s ease;
}

.grit-node:hover .grit-dot {
    border-color: var(--spi-electric);
}

.grit-label {
    font-size: 18px;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .6);
        margin-top: 16px;
}

/* ===============================
   TECH NOTES — STORM STYLE
=============================== */

.tech-notes {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px;

    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));

    border: 1px solid var(--spi-border-subtle);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.tech-notes h4 {
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: .05em;
    color: #fff;
}

.tech-notes ul {
    list-style: none;
    padding: 0;
}

.tech-notes li {
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
}

/* RESURFACE OR REPLACE */
.rr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px
}

/* Card header row */
.rr-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rr-header svg {
    width: 26px;
    height: 26px;
}

.rr-green svg path {
    stroke: #3aa86d;
}

.rr-red svg path {
    stroke: #bf4343;
}

/* Optional subtle tint */
.rr-card {
    background: rgba(0, 0, 0, 0.02);
}

@media (max-width: 850px) {
    .rr-grid {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   BALL CARE PROTOCOL
=============================== */

.care-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.care-card {
    padding: 36px 32px;
    border-radius: 20px;

    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));

    border: 1px solid var(--spi-border-subtle);
    backdrop-filter: blur(8px);
}

/* Label */
.care-label {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    opacity: .5;
    margin-bottom: 18px;
}

/* Text */
.care-card li {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

/* Warning variation */
.care-warning {
    border-color: rgba(191, 67, 67, .25);
}



/* ===============================
   PRODUCTS — STORM STYLE
=============================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

/* Product Card */
.product-card {
    border-radius: 20px;

    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));

    border: 1px solid var(--spi-border-subtle);
    backdrop-filter: blur(8px);

    transition: all .3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 230, 195, .3);
}

.product-card a {
    display: block;
    padding: 26px;
    text-decoration: none;
}

/* Image */
.product-image {

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.product-image img {

    max-width: 100%;
    object-fit: contain;
}

/* Info */
.product-info h4 {
    font-size: 12px;
    margin-bottom: 6px;
    color: #fff;
    letter-spacing: .04em;
}

.product-info p {
    font-size: 10px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .65);
}


/* ===============================
   DEEP CLEANING – STORM CARD
=============================== */



/* 3-column layout */
.deep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.deep-item h4 {
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .85);
}

.deep-item p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .6);
}

/* Bottom emphasis line */
.deep-note {
    margin-top: 60px;
    text-align: center;
    font-style: italic;
    color: #00E6C3;
    opacity: .9;
}

/* Mobile */
@media (max-width: 900px) {
    .deep-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .deep-card {
        padding: 50px 30px;
    }
}






/* ========================================================================== */
/*                                                                            */
/*                            ██████  SURFACE ADJUSTMENTS ██████                        */
/*                                                                            */
/*                         Tune The Bowling Ball To Match Your Style.              */
/*                                                                            */
/* ========================================================================== */

/* ===============================
   WHY SURFACE MATTERS — STORM STYLE
=============================== */




/* Flex Layout */
.surface-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 800px;
    margin: auto;
}

.surface-image {
    flex: 1;
}

.surface-image img {
    width: 500px;
    border-radius: 18px;
}

.surface-content {
    flex: 1;
}

.surface-analogy {
    font-size: 18px;
    margin-bottom: 20px;
    color: #00E6C3;
    font-weight: 600;
}

.surface-list {
    list-style: none;
    padding: 0;
}

.surface-list li {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
}

/* Mobile */
@media (max-width: 900px) {
    .surface-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .surface-card {
        padding: 50px 30px;
    }
}


/* ===============================
   SURFACE BREAKDOWN
=============================== */

.surface-breakdown-card {
    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));
    border: 1px solid var(--spi-border-subtle);
    border-radius: 24px;
    padding: 70px 60px;
    backdrop-filter: blur(8px);
    max-width: 1200px;
    margin: 0 auto;
}

.breakdown-title {
    text-align: center;
    font-size: 28px;
    letter-spacing: .08em;
    margin-bottom: 20px;
}

.breakdown-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px !important;
    color: rgba(255, 255, 255, .7);
}

/* Horizontal rail */
.breakdown-rail {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
}

/* Individual style block */
.breakdown-item {
    min-width: 260px;
    padding: 24px 0;
}

.breakdown-item h4 {
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.problem {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 12px;
}

.solution {
    font-weight: 600;
    color: #00E6C3;
    font-size: 14px;
}

/* Remove ugly scrollbar */
.breakdown-rail::-webkit-scrollbar {
    height: 6px;
}

.breakdown-rail::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .15);
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 900px) {
    .surface-breakdown-card {
        padding: 50px 30px;
    }
}


/* GRIT cards */
.grit-card {
    min-width: 260px;
    border-radius: 16px;
    padding: 28px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
}

.grit-card h4 {
    color: #fff;
}

.grit-card .sub {
    color: #bbb;
    margin: 6px 0 16px;
}

.grit-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.grit-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 15px;
}

.grit-list li:last-child {
    border-bottom: none;
}

/* Color accents */

.grit-180 {
    border-left: 4px solid #A3A3A3;
    /* darkest traction */
}

.grit-360 {
    border-left: 4px solid #FF8C42;
    /* slightly less intense */
}

.grit-500 {
    border-left: 4px solid #41c27a;
}

.grit-1000 {
    border-left: 4px solid #4db7ff;
}

.grit-2000 {
    border-left: 4px solid #ffd26e;
}

.grit-3000 {
    border-left: 4px solid #e57cff;
}

.grit-4000 {
    border-left: 4px solid #ff7a7a;
}

.grit-polish {
    border-left: 4px solid #ffffff;
    /* pure white = high gloss */
}

/* Optional mask fade */
.grit-slider-wrapper {
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}


/* changing surface */
.surface-steps {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 32px auto;
    max-width: 1200px;
}

.step-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 300px;

}


.step-content h4 {
    margin-bottom: 6px;
}

@media (max-width: 700px) {
    .step-row {
        align-items: center;
    }
}


/* SURFACE IS THE #1 TOOL FOR CUSTOMIZING BALL REACTION */
.surface-motion-demo {
    margin: auto;
    max-width: 900px;
}


.lane-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    padding: 16px;

}

.lane-visual img {
    display: block;
    /* kills the baseline gap */
    width: 100%;
    height: auto;
}

/* motion legend */
.motion-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px auto 0px;
    align-items: center;
    font-family: inherit;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
}

.legend-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
}








/* ========================================================================== */
/*                                                                            */
/*                            ██████  BUILDING AN ARSENAL ██████                        */
/*                                                                            */
/*                     The right motion for the right moment on the lane.                */
/*                                                                            */
/* ========================================================================== */



/* ------------------ */
/* Intro */
/* ------------------ */

.matrix-intro {
    margin: 0 auto 80px auto;
}

/* ------------------ */
/* Stage */
/* ------------------ */

.matrix-stage {
    position: relative;
    max-width: 700px;
    margin: auto;
}

.matrix-visual img {
    width: 100%;
    display: block;
}

/* ------------------ */
/* Axis Labels */
/* ------------------ */

.matrix-axis {
    position: absolute;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .65;
}

/* vertical */

.matrix-axis-vertical {
    left: -140px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}

/* horizontal */

.matrix-axis-horizontal {
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* ------------------ */
/* Mobile */
/* ------------------ */

@media (max-width:768px) {

    .matrix-axis-vertical,
    .matrix-axis-horizontal {
        position: static;
        transform: none;
        text-align: center;
        margin: 16px 0;
    }

}

.matrix-visual {
    max-width: 520px;
    margin: auto;
}

.arsenal-matrix {
    width: 100%;
    height: auto;
    color: var(--spi-electric);
}

.matrix-slot {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(0, 230, 195, 0.25);
    stroke-width: 2;
    transition: .25s ease;
}

.matrix-slot:hover {
    fill: rgba(0, 230, 195, 0.1);
    stroke: var(--spi-electric);
}

.matrix-slot.benchmark {
    fill: rgba(0, 230, 195, 0.18);
    stroke: var(--spi-electric);
}

.matrix-label {
    font-size: 11px;
    letter-spacing: 1px;
    opacity: .6;
    fill: white;
}

.matrix-axis-label {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: .8;
    fill: white;
}



/* ARSENAL SCALE */
.arsenal-scale-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1500px;
    margin: 60px auto 0;
}

.arsenal-scale-card {
    padding: 32px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    text-align: center;
    transition: .25s;
}

.arsenal-scale-card:hover {

    transform: translateY(-4px);

}

.arsenal-scale-card.featured {

    border-color: var(--accent);

}

.arsenal-scale-subtitle {

    opacity: .7;
    margin-bottom: 16px;

}

.arsenal-scale-list {

    list-style: none;
    padding: 0;
    margin: 20px 0;

}

.arsenal-scale-list li {

    margin: 6px 0;

}

.arsenal-scale-desc {

    opacity: .8;
    font-size: .95rem;

}

/* ===============================
GRID
================================ */

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 80px auto 0;

}


/* ===============================
CARD LINKS
================================ */

.strength-links {

    margin-top: 20px;

    display: flex;
    gap: 18px;
    flex-wrap: wrap;

}

.strength-links a {

    font-size: 14px;
    text-decoration: none;

    color: var(--spi-electric);

    border-bottom: 1px solid rgba(0, 230, 195, .4);

    padding-bottom: 2px;

}


/* ===============================
BENCHMARK SECTION
================================ */

.benchmark-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;

    max-width: 1100px;
    margin: 32px auto 0;

}

.benchmark-example {

    font-size: 15px;
    opacity: .9;
    margin-bottom: 16px;

}


/* ===============================
BENCHMARK BALL IMAGE
================================ */

.benchmark-ball-image {

    display: flex;
    justify-content: center;

    margin-bottom: 18px;

}

.benchmark-ball-image img {

    width: 200px;
    height: auto;

    transition: transform .35s ease;

}

.benchmark-card:hover img {

    transform: scale(1.05);

}


/* ===============================
EXAMPLE ARSENALS
================================ */

.example-arsenals-section {
    margin-top: 160px;
}


/* ===============================
GRID LAYOUT
================================ */

.arsenal-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;

    max-width: 1200px;
    margin: 80px auto 0;

}


/* ===============================
ARSENAL BLOCK
================================ */

.arsenal-example {

    text-align: center;

}

.arsenal-example h3 {

    font-size: 28px;
    letter-spacing: 1px;

}

.arsenal-subtitle {

    opacity: .7;
    margin-bottom: 30px;

}


/* ===============================
MATRIX GRID
================================ */

.arsenal-step-matrix {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 500px;
    margin: 48px auto;
}


/* ------------------------------------------------------------------------------------- */
.matrix-axis-y {

    position: absolute;

    left: -60px;
    top: 0;
    bottom: 0;

    width: 2px;
    background: white;

}

.matrix-axis-y::before,
.matrix-axis-y::after {

    content: "";
    position: absolute;
    left: -6px;

    border-left: 6px solid transparent;
    border-right: 6px solid transparent;

}

.matrix-axis-y::before {

    top: -12px;
    border-bottom: 12px solid white;

}

.matrix-axis-y::after {

    bottom: -12px;
    border-top: 12px solid white;

}

.matrix-y-labels {
    position: absolute;
    left: -110px;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: .85rem;
    opacity: .8;
}


.matrix-axis-x {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
}

.matrix-axis-x::before,
.matrix-axis-x::after {

    content: "";
    position: absolute;
    top: -6px;

    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;

}

.matrix-axis-x::before {

    left: -12px;
    border-right: 12px solid white;

}

.matrix-axis-x::after {

    right: -12px;
    border-left: 12px solid white;

}

.matrix-x-labels {

    position: absolute;

    bottom: -80px;
    left: 0;
    right: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    text-align: center;

    font-size: .85rem;
    opacity: .8;

}


.matrix-axis-title-y {

    position: absolute;
    left: -100px;
    top: 50%;

    transform: rotate(-90deg) translateY(-50%);
    transform-origin: center;

    font-weight: 600;
    letter-spacing: .08em;

}

.matrix-axis-title-x {

    position: absolute;
    bottom: -40px;
    left: 50%;

    transform: translateX(-50%);

    font-weight: 600;
    letter-spacing: .08em;

}

/* ------------------------------------------------------------------------------------- */
/* =========================
MATRIX GRID BASE
========================= */

.arsenal-matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* important for clean grid lines */
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* =========================
IMAGES
========================= */

.matrix-cell img {
    width: 75%;
    height: auto;
    object-fit: contain;

    transition: transform 0.2s ease;
}

.matrix-cell img:hover {
    transform: scale(1.05);
}

/* =========================
INDIVIDUAL CELLS
========================= */

.matrix-cell {
    position: relative;

    aspect-ratio: 1 / 1;
    /* 🔥 keeps perfect squares */

    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.02);
    /* subtle fill so empty cells show */
    overflow: hidden;
}


/* =========================
EMPTY STATE (important)
========================= */

.matrix-cell:empty::after {
    content: "";
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

/* optional: subtle hover for future interactivity */
.matrix-cell:hover {
    background: rgba(255, 255, 255, 0.05);
}




/* -------------------------------------------------------------------------------------------- */
.arsenal-options-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    max-width: 900px;
    margin: 50px auto;
}

.arsenal-option-group {
    text-align: center;
}

.arsenal-ball-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 14px;
}

.arsenal-ball-row img {
    width: 120px;
}




/* ================================
STEP SECTION STRUCTURE
================================ */

.matrix-step {

    margin-top: 228px;
    text-align: center;

}

/* headline + intro copy */

.step-header {

    max-width: 720px;
    margin: 0 auto 40px auto;

}

.step-header h3 {

    margin-bottom: 12px;

}

.step-header p {

    opacity: .85;

}


/* visual container */

.step-visual {

    margin: 40px auto;

}


/* caption text under visuals */

.step-caption {

    max-width: 520px;
    margin: 20px auto 0 auto !important;
    opacity: .8;
    font-size: .95rem;

}


/* ============================= */
/* STEP BREAKDOWN */
/* ============================= */

.step-breakdown {

    max-width: 760px;
    margin: 0 auto;
    text-align: center;

}

/* Lead sentence */

.step-lead {

    font-size: 1.1rem;
    line-height: 1.6;
    opacity: .9;

    margin-bottom: 36px;

}

/* ============================= */
/* LOGIC EXPLANATION */
/* ============================= */

.step-logic {

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
    gap: 40px;

    max-width: 700px;
    margin: 0 auto 40px auto;

}

.logic-item {

    text-align: center;
    max-width: 260px;
    margin: auto;

}

.logic-item h4 {

    margin-bottom: 10px;
    letter-spacing: .04em;

}

.logic-item p {

    opacity: .85;
    line-height: 1.5;

}

/* + divider */

.logic-divider {

    font-size: 28px;
    font-weight: 600;

    opacity: .55;

}

/* ============================= */
/* OUTCOME STATEMENT */
/* ============================= */

.step-outcome {

    margin-top: 30px;
    font-size: 1rem;

    opacity: .85;
    line-height: 1.6;

}

/* ============================= */
/* VISUAL SECTION */
/* ============================= */

.step-visual {

    margin-top: 60px;
    padding-top: 40px;

    border-top: 1px solid rgba(255, 255, 255, .08);

}

/* ============================= */
/* OPTION GROUPS */
/* ============================= */

.arsenal-options-row {

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;

    max-width: 900px;
    margin: auto;

}

.arsenal-option-group {

    text-align: center;

}

.arsenal-option-group h4 {

    margin-bottom: 20px;
    letter-spacing: .06em;
    font-size: .95rem;

    opacity: .8;

}

/* ============================= */
/* BALL ROW */
/* ============================= */

.arsenal-ball-row {

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 26px;

}

/* ball images */

.arsenal-ball-row img {

    width: 90px;
    height: auto;

    transition: .25s ease;

}

/* subtle hover polish */

.arsenal-ball-row img:hover {

    transform: scale(1.05);

}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width:768px) {

    .step-logic {

        grid-template-columns: 1fr;
        gap: 24px;

    }

    .logic-divider {

        display: none;

    }

    .arsenal-options-row {

        grid-template-columns: 1fr;
        gap: 40px;

    }

    .arsenal-ball-row {

        gap: 18px;

    }

    .arsenal-ball-row img {

        width: 75px;

    }

}


/* =========================================================
       ARSENAL BUILDER
    ========================================================= */

#builder-step-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

#builder-step-container.active {
    max-height: 2000px;
    /* big enough to fit content */
    margin-top: 64px;
    opacity: 1;
}

.builder-step {
    margin-top: 128px;
}


#builder-matrix {
    display: none;
}

.builder-nav {
    margin-top: 128px !important;
}

#benchmark-options,
#strong-options,
#weak-options,
#strongWeak-options,
#weakStrong-options,
#strongMedium-options,
#weakMedium-options,
#mediumStrong-options,
#mediumWeak-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ball-option {
    cursor: pointer;
    padding: 26px;
}

.ball-option.active {
    transform: translateY(-6px);

    border-color: rgba(0, 230, 195, 0.3);

    box-shadow:
        0 10px 30px var(--spi-electric-glow),
        inset 0 0 0 1px rgba(0, 230, 195, 0.2);
}


/* =========================
   BUILDER STEP LAYOUT
========================= */

.builder-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 32px;
}





/* =========================
   RIGHT SIDE (MATRIX + CTA)
========================= */

.builder-side {
    display: flex;
    flex-direction: column;
    gap: 24px;

    position: sticky;
    top: 120px;

    border-left: 1px solid var(--spi-border-subtle);
    padding-left: 32px;
}


/* =========================
   MATRIX POSITIONING
========================= */

.matrix-anchor {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* =========================
   NAV BUTTONS
========================= */

.builder-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* =========================
   MOBILE STACK
========================= */

@media (max-width: 768px) {

    .builder-layout {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .builder-side {
        position: static;
        border-left: none;
        padding-left: 0;
    }

    .builder-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .matrix-anchor {
        order: 2;
    }

    .builder-nav {
        order: 3;

        position: sticky;
        bottom: 0;

        background: var(--spi-bg-deep);
        padding: 16px;

        border-top: 1px solid var(--spi-border-subtle);
        z-index: 10;
    }
}






/* ========================================================================== */
/*                                                                            */
/*                            ██████  LANE PLAY ██████                        */
/*                                                                            */
/*                     The right motion for the right moment on the lane.                */
/*                                                                            */
/* ========================================================================== */

.pattern-block {
    max-width: 1000px;
    margin: 70px auto;
}

.pattern-block h3 {
    text-align: center;
    margin-bottom: 25px;
}

.pattern-visual {
    margin-bottom: 25px;
}

.pattern-visual img {
    width: 500px;
    display: block;
}

.pattern-content {
    max-width: 700px;
    margin: 0 auto;
}


.oil-card h4 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.oil-volume {
    margin-bottom: 12px;
    opacity: .85;
}


.oil-row {
    margin: 60px 0;
}

.oil-row h3 {
    margin-bottom: 25px;
}

.oil-row span {
    opacity: .7;
    font-weight: normal;
}

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

@media (max-width:900px) {
    .oil-grid {
        grid-template-columns: 1fr;
    }
}


.pattern-shape-grid {
    margin-top: 50px;
}

.pattern-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin: 70px 0;
}

.pattern-diagram img {
    width: 100%;
    max-width: 600px;
}

.pattern-info h3 {
    margin-bottom: 15px;
}

@media (max-width:900px) {

    .pattern-row {
        grid-template-columns: 1fr;
    }

}


.transition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.transition-stage h3 {
    margin-bottom: 20px;
}

.transition-block {
    margin-bottom: 20px;
}

.transition-block h4 {
    font-size: .9rem;
    letter-spacing: .05em;
    margin-bottom: 6px;
    opacity: .8;
}

@media (max-width:900px) {

    .transition-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}




/* =========================================================
   STORM LANE STYLE SECTION
   Bowler Style vs Lane Transition
========================================================= */

.lane-style-flow {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}


/* =========================================================
       LANE STAGE
    ========================================================= */

.lane-stage-title {
    font-size: 14px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .65;
    margin-bottom: 20px;
}


/* =========================================================
       STYLE GRID
    ========================================================= */

.lane-style-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}


/* =========================================================
       STYLE BLOCK
    ========================================================= */

.lane-style-type h5 {
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: .8;
}

.lane-style-type p {
    font-size: 14px;
    line-height: 1.6;
    opacity: .9;
    margin-bottom: 8px;
}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width:900px) {

    .lane-style-types {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}


/* =========================================================
   STORM LANE TOPOGRAPHY SECTION
========================================================= */

.topography-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    margin-top: 60px;
    max-width: 1000px;
    margin: auto;
}


.topography-example h3 {
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: .8;
}


.topography-example img {
    width: 300px;
    border-radius: 6px;
    margin-bottom: 20px;
}


.topography-example p {
    font-size: 14px;
    line-height: 1.6;
    opacity: .9;
    max-width: 520px;
}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width:900px) {

    .topography-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}



/* ===============================
        SURFACE SUMMARY
=============================== */




.longevity-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: auto;
}

.longevity-number {
    text-align: center;
    padding: 32px !important;
}

.longevity-number h3 {
    font-size: 48px;
    font-weight: 800;
}




@media (max-width: 900px) {
    .longevity-layout {
        grid-template-columns: 1fr 220px;
        gap: 32px;
        padding: 0 20px;
    }

    .longevity-number h3 {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    .longevity-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .longevity-number {
        order: 2;
        /* number AFTER explanation */
        padding: 24px;
    }

    .longevity-number h3 {
        font-size: 40px;
    }
}










/* SURFACE */

.motion-card {
    width: 320px;
    margin: 0 auto;
    text-align: center;
}

.grit-label {
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
}

.grit-desc {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}

/* ===============================
    SURFACE SECTION 1 — WHY SURFACE MATTERS
=============================== */

.surface-why-section {
    padding: 80px 20px;
    border-radius: 12px;
    margin-bottom: 60px;
}

.subtitle {
    max-width: 620px;
    margin: 12px auto 40px;
    font-size: 18px;
    color: #555;
}

/* Icon card grid spacing */
.surface-icon-grid .ui-card {
    text-align: center;
    padding-top: 32px;
}

/* Flex layout for image + text */
.why-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 40px auto 60px;
}

.why-text {
    flex: 1;
}

.why-image {
    flex: 1;
    max-width: 420px;
}

/* Responsive */
@media (max-width: 850px) {
    .why-flex {
        flex-direction: column;
        text-align: center;
    }
}

.surface-editorial {
    max-width: 900px;
    margin: 60px auto;
}

.surface-editorial h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    text-align: left;
    /* Removes card vibe */
}

.surface-editorial .lead {
    max-width: 650px;
    font-size: 18px;
    color: #555;
    margin-bottom: 32px;
}




/* Card styling */
.surface-advice-card {
    min-width: 260px;
    padding: 24px;
    text-align: left;
}

.surface-advice-card .desc {
    color: #666;
    margin-top: 6px;
}

.surface-advice-card .recommend {
    margin-top: 14px;
    font-weight: 700;
    color: #1D4AFF;
}



/* Individual cards */
.grit-card {
    min-width: 260px;
    border-radius: 16px;
    padding: 28px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
}

.grit-card h4 {
    color: #fff;
}

.grit-card .sub {
    color: #bbb;
    margin: 6px 0 16px;
}

.grit-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.grit-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 15px;
}

.grit-list li:last-child {
    border-bottom: none;
}

/* Color accents */

.grit-180 {
    border-left: 4px solid #A3A3A3;
    /* darkest traction */
}

.grit-360 {
    border-left: 4px solid #FF8C42;
    /* slightly less intense */
}

.grit-500 {
    border-left: 4px solid #41c27a;
}

.grit-1000 {
    border-left: 4px solid #4db7ff;
}

.grit-2000 {
    border-left: 4px solid #ffd26e;
}

.grit-3000 {
    border-left: 4px solid #e57cff;
}

.grit-4000 {
    border-left: 4px solid #ff7a7a;
}

.grit-polish {
    border-left: 4px solid #ffffff;
    /* pure white = high gloss */
}

/* Optional mask fade */
.grit-slider-wrapper {
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* SURFACE IS THE #1 TOOL FOR CUSTOMIZING BALL REACTION */
.surface-motion-demo {
    margin: auto;
    max-width: 900px;
}




.lane-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg,
            var(--spi-bg-card),
            var(--spi-bg-soft));
    padding: 16px;

}

.lane-visual img {
    display: block;
    /* kills the baseline gap */
    width: 100%;
    height: auto;
}

/* motion legend */
.motion-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px auto 0px;
    align-items: center;
    font-family: inherit;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
}

/* COLORS */


.legend-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
}


/* changing surface */
.surface-steps {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 32px auto;
    max-width: 1200px;
}

.step-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 300px;

}


.step-content h4 {
    margin-bottom: 6px;
}

@media (max-width: 700px) {
    .step-row {
        align-items: center;
    }
}
























.two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: start;
    justify-content: center;
    text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
    .two-col-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
}



@media all and (min-width:320px) and (max-width:768px) {
    .motion-legend {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin: 20px auto 0px;
        align-items: center;
        font-family: inherit;
    }

    .lane-visual {
        width: 100%;
        display: flex;
        justify-content: center;
        max-width: 800px;
        margin: 0 auto;
        border-radius: 8px;
        overflow: hidden;
    }

    .surface-advice-card {
        width: 200px;
        padding: 24px;
        text-align: left;
        min-width: unset;
    }

    .grit-card {
        width: 200px;
        border-radius: 16px;
        padding: 28px;
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(6px);
        min-width: unset;
    }

    .step-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 250px;
    }

    .surface-steps {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 16px auto;
        justify-content: center;
        align-items: center;
    }

    .spinner-steps-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 1100px;
        margin: 16px auto;
    }

    .step-label {
        font-size: 12px !important;

    }


    .step-num {
        width: 16px;
        height: 16px;
        font-size: 12px !important;
        border-radius: 50%;
        background: #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }



}

/* FAQ */

.faq-container {
    width: 50%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.faq-item {
    padding: 16px;
    cursor: pointer;
    background: linear-gradient(145deg, var(--spi-bg-card), var(--spi-bg-soft));
    border-radius: 16px;

    box-shadow: 0px 0px 24px 2px rgba(0, 0, 0, 0.15);
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 230, 195, 0.35);
    box-shadow: 0 10px 30px var(--spi-electric-glow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--spi-text-main);
}

.faq-question-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--spi-electric);
}

.faq-arrow svg {
    transition: transform 0.3s ease;
    stroke: var(--spi-electric);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease;
    opacity: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    color: var(--spi-text-muted);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding: 24px 0 8px 0;
    border-top: 1px solid var(--spi-border-subtle);
    overflow: scroll;
}

.faq-item.active .faq-arrow svg {
    transform: rotate(180deg);
}

@media all and (min-width:320px) and (max-width:1024px) {
    .faq-container {
        width: 100%;
        margin: auto;
    }
}