/* ==========================================================
   BELAJAREDUTECH
   SISTEM PERSAMAAN LINEAR
   MATEMATIKA SMP KELAS 8
========================================================== */

.system-grade-eight-page {
    --system8-primary: #4f46e5;
    --system8-primary-dark: #3730a3;
    --system8-primary-soft: #eef2ff;

    --system8-secondary: #0891b2;
    --system8-secondary-soft: #ecfeff;

    --system8-green: #0f766e;
    --system8-green-soft: #f0fdfa;

    --system8-orange: #c2410c;
    --system8-orange-soft: #fff7ed;

    --system8-red: #b91c1c;
    --system8-red-soft: #fef2f2;

    --system8-text: #0f172a;
    --system8-muted: #64748b;
    --system8-border: #e2e8f0;
    --system8-soft: #f8fafc;
}


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

.system-grade-eight-page .section {
    padding: 82px 0;
}


.system-eight-footer-disabled {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(255, 255, 255, 0.42);

    cursor: default;
}


/* ==========================================================
   BREADCRUMB
========================================================== */

.system-eight-breadcrumb-section {
    background: #ffffff;

    border-bottom:
        1px solid
        var(--system8-border);
}


.system-eight-breadcrumb {
    min-height: 54px;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    color:
        var(--system8-muted);

    font-size: 0.76rem;
}


.system-eight-breadcrumb a {
    color:
        var(--system8-muted);

    text-decoration: none;
}


.system-eight-breadcrumb a:hover {
    color:
        var(--system8-primary);
}


.system-eight-breadcrumb strong {
    color: #334155;
}


/* ==========================================================
   HERO
========================================================== */

.system-eight-hero {
    position: relative;

    overflow: hidden;

    padding:
        76px 0 88px;

    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(79, 70, 229, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 88%,
            rgba(8, 145, 178, 0.09),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f8faff,
            #ffffff
        );
}


.system-eight-hero-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1.03fr)
        minmax(430px, 0.97fr);

    align-items: center;

    gap: 52px;
}


.system-eight-hero-content,
.system-eight-hero-visual {
    min-width: 0;
}


.system-eight-topic-badge {
    width: fit-content;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

    color:
        var(--system8-primary-dark);

    font-size: 0.67rem;

    font-weight: 850;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}


.system-eight-topic-badge span {
    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    color: #ffffff;

    background:
        var(--system8-primary);

    border-radius: 11px;

    font-size: 0.6rem;
}


.system-eight-hero-content h1 {
    max-width: 710px;

    margin:
        0 0 22px;

    font-size:
        clamp(
            2.85rem,
            4.65vw,
            4.65rem
        );

    line-height: 1.01;

    letter-spacing: -0.052em;

    overflow-wrap: break-word;
}


.system-eight-hero-content > p {
    max-width: 660px;

    margin: 0;

    color:
        var(--system8-muted);

    line-height: 1.8;
}


.system-eight-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


.system-eight-hero-meta {
    max-width: 610px;

    display: grid;

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

    gap: 10px;

    margin-top: 34px;
}


.system-eight-hero-meta > div {
    padding: 16px;

    background:
        rgba(255, 255, 255, 0.85);

    border:
        1px solid
        var(--system8-border);

    border-radius: 14px;
}


.system-eight-hero-meta strong,
.system-eight-hero-meta span {
    display: block;
}


.system-eight-hero-meta strong {
    margin-bottom: 4px;

    color:
        var(--system8-primary);

    font-size: 1.05rem;
}


.system-eight-hero-meta span {
    color:
        var(--system8-muted);

    font-size: 0.68rem;
}


/* ==========================================================
   HERO BOARD
========================================================== */

.system-eight-hero-visual {
    width: 100%;

    max-width: 620px;

    margin-left: auto;
}


.system-eight-board {
    padding: 30px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #312e81,
            #4338ca 46%,
            #0e7490
        );

    border-radius: 30px;

    box-shadow:
        0 32px 85px
        rgba(49, 46, 129, 0.24);
}


.system-eight-board-label {
    display: block;

    margin-bottom: 19px;

    color:
        rgba(255, 255, 255, 0.62);

    font-size: 0.6rem;

    font-weight: 850;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.system-eight-board-equations {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-bottom: 10px;
}


.system-eight-board-equations > div {
    min-height: 115px;

    display: flex;

    flex-direction: column;

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

    padding: 14px;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 15px;

    text-align: center;
}


.system-eight-board-equations span,
.system-eight-board-equations strong {
    display: block;
}


.system-eight-board-equations span {
    margin-bottom: 6px;

    color:
        rgba(255, 255, 255, 0.6);

    font-size: 0.54rem;
}


.system-eight-board-equations strong {
    font-size: 1.05rem;
}


.system-eight-board-process {
    display: grid;

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

    align-items: center;

    gap: 7px;

    margin-bottom: 10px;
}


.system-eight-board-process > div {
    min-height: 100px;

    display: flex;

    flex-direction: column;

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

    padding: 12px;

    background:
        rgba(255, 255, 255, 0.07);

    border-radius: 13px;

    text-align: center;
}


.system-eight-board-process span,
.system-eight-board-process strong {
    display: block;
}


.system-eight-board-process span {
    margin-bottom: 5px;

    color:
        rgba(255, 255, 255, 0.6);

    font-size: 0.5rem;
}


.system-eight-board-process > i {
    color: #67e8f9;

    font-style: normal;

    font-weight: 900;
}


.system-eight-board-result {
    padding: 15px;

    color: #334155;

    background: #ffffff;

    border-radius: 14px;

    text-align: center;
}


.system-eight-board-result span,
.system-eight-board-result strong {
    display: block;
}


.system-eight-board-result span {
    margin-bottom: 5px;

    color:
        var(--system8-muted);

    font-size: 0.54rem;
}


.system-eight-board-result strong {
    color:
        var(--system8-green);

    font-size: 1.12rem;
}


/* ==========================================================
   PROGRESS
========================================================== */

.system-eight-progress-section {
    padding: 14px 0;

    background: #ffffff;

    border-top:
        1px solid
        var(--system8-border);

    border-bottom:
        1px solid
        var(--system8-border);
}


.system-eight-progress-list {
    display: flex;

    align-items: center;

    gap: 8px;

    overflow-x: auto;

    padding-bottom: 3px;
}


.system-eight-progress-list a {
    flex-shrink: 0;

    display: flex;

    align-items: center;

    gap: 7px;

    padding:
        8px 11px;

    color:
        var(--system8-muted);

    background:
        var(--system8-soft);

    border:
        1px solid
        var(--system8-border);

    border-radius: 999px;

    text-decoration: none;

    font-size: 0.68rem;

    font-weight: 750;
}


.system-eight-progress-list a:hover {
    color:
        var(--system8-primary-dark);

    background:
        var(--system8-primary-soft);

    border-color: #c7d2fe;
}


.system-eight-progress-list span {
    color:
        var(--system8-primary);

    font-size: 0.58rem;

    font-weight: 900;
}


/* ==========================================================
   TWO COLUMN
========================================================== */

.system-eight-two-column {
    display: grid;

    grid-template-columns:
        minmax(0, 0.78fr)
        minmax(500px, 1.22fr);

    align-items: center;

    gap: 70px;
}


.system-eight-section-content h2 {
    margin:
        12px 0 18px;

    font-size:
        clamp(
            2.25rem,
            4.3vw,
            3.8rem
        );

    line-height: 1.05;

    letter-spacing: -0.045em;
}


.system-eight-section-content p {
    color:
        var(--system8-muted);

    line-height: 1.8;
}


/* ==========================================================
   OBJECTIVE
========================================================== */

.system-eight-objective-section {
    background: #ffffff;
}


.system-eight-objective-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}


.system-eight-objective-list article {
    min-height: 145px;

    padding: 18px;

    background:
        var(--system8-soft);

    border:
        1px solid
        var(--system8-border);

    border-radius: 17px;
}


.system-eight-objective-list article > span {
    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    margin-bottom: 10px;

    color: #ffffff;

    background:
        var(--system8-primary);

    border-radius: 50%;

    font-size: 0.55rem;

    font-weight: 900;
}


.system-eight-objective-list p {
    margin: 0;

    color:
        var(--system8-muted);

    line-height: 1.65;
}


/* ==========================================================
   INTRO
========================================================== */

.system-eight-intro-section {
    background:
        var(--system8-soft);
}


.system-eight-intro-card {
    display: grid;

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

    align-items: center;

    gap: 9px;

    padding: 25px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #312e81,
            #0f172a
        );

    border-radius: 25px;
}


.system-eight-intro-card > div {
    min-height: 145px;

    display: flex;

    flex-direction: column;

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

    padding: 16px;

    background:
        rgba(255, 255, 255, 0.07);

    border-radius: 15px;

    text-align: center;
}


.system-eight-intro-card span,
.system-eight-intro-card strong {
    display: block;
}


.system-eight-intro-card span {
    margin-bottom: 6px;

    color:
        rgba(255, 255, 255, 0.6);

    font-size: 0.54rem;
}


.system-eight-intro-card > i {
    color: #67e8f9;

    font-style: normal;

    font-weight: 900;
}


.system-eight-intro-card .result {
    background:
        var(--system8-green);
}


/* ==========================================================
   GENERAL FORM
========================================================== */

.system-eight-form-section {
    background: #ffffff;
}


.system-eight-form-card {
    max-width: 740px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin:
        0 auto 16px;

    padding: 25px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--system8-primary),
            var(--system8-secondary)
        );

    border-radius: 23px;
}


.system-eight-form-card > div {
    min-height: 135px;

    display: flex;

    flex-direction: column;

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

    padding: 15px;

    background:
        rgba(255, 255, 255, 0.1);

    border-radius: 14px;
}


.system-eight-form-card span,
.system-eight-form-card strong {
    display: block;
}


.system-eight-form-card span {
    margin-bottom: 7px;

    color:
        rgba(255, 255, 255, 0.66);

    font-size: 0.55rem;
}


.system-eight-form-card strong {
    font-size: 1.3rem;
}


.system-eight-coefficient-grid {
    display: grid;

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

    gap: 12px;
}


.system-eight-coefficient-grid article {
    min-height: 160px;

    padding: 20px;

    background:
        var(--system8-soft);

    border:
        1px solid
        var(--system8-border);

    border-radius: 17px;
}


.system-eight-coefficient-grid strong {
    display: block;

    margin-bottom: 8px;

    color:
        var(--system8-primary-dark);
}


.system-eight-coefficient-grid p {
    margin: 0;

    color:
        var(--system8-muted);

    line-height: 1.65;
}


/* ==========================================================
   ELIMINATION
========================================================== */

.system-eight-elimination-section {
    background:
        var(--system8-soft);
}


.system-eight-method-example {
    max-width: 760px;

    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;

    margin-inline: auto;
}


.system-eight-method-equations,
.system-eight-method-operation,
.system-eight-method-result {
    padding: 22px;

    background: #ffffff;

    border:
        1px solid
        var(--system8-border);

    border-radius: 18px;

    text-align: center;
}


.system-eight-method-equations p {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin:
        8px 0;
}


.system-eight-method-equations span {
    color:
        var(--system8-muted);

    font-size: 0.56rem;
}


.system-eight-method-equations strong {
    color:
        var(--system8-primary-dark);
}


.system-eight-method-example > i {
    color:
        var(--system8-secondary);

    font-style: normal;

    font-weight: 900;

    text-align: center;
}


.system-eight-method-operation span,
.system-eight-method-operation strong,
.system-eight-method-result span,
.system-eight-method-result strong {
    display: block;
}


.system-eight-method-operation span,
.system-eight-method-result span {
    margin-bottom: 6px;

    color:
        var(--system8-muted);

    font-size: 0.55rem;
}


.system-eight-method-operation strong {
    color:
        var(--system8-primary-dark);

    font-size: 1.2rem;
}


.system-eight-method-result {
    color: #ffffff;

    background:
        var(--system8-green);

    border-color:
        var(--system8-green);
}


.system-eight-method-result span,
.system-eight-method-result strong {
    color: #ffffff;
}


/* ==========================================================
   BACK SUBSTITUTION
========================================================== */

.system-eight-back-substitution-section {
    background: #ffffff;
}


.system-eight-back-card {
    padding: 27px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #312e81,
            #0f172a
        );

    border-radius: 24px;
}


.system-eight-back-card > span {
    display: block;

    margin-bottom: 14px;

    color:
        rgba(255, 255, 255, 0.62);

    font-size: 0.58rem;

    text-transform: uppercase;
}


.system-eight-back-card > div {
    display: grid;

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

    align-items: center;

    gap: 10px;
}


.system-eight-back-card > div strong {
    padding: 16px;

    background:
        rgba(255, 255, 255, 0.07);

    border-radius: 13px;

    text-align: center;
}


.system-eight-back-card > div i {
    color: #67e8f9;

    font-style: normal;

    font-weight: 900;
}


.system-eight-back-card p {
    margin:
        18px 0 0;

    color:
        rgba(255, 255, 255, 0.72);

    text-align: center;
}


.system-eight-back-card p strong {
    color: #67e8f9;
}


/* ==========================================================
   SUBSTITUTION
========================================================== */

.system-eight-substitution-section {
    background:
        var(--system8-soft);
}


.system-eight-substitution-flow {
    display: grid;

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

    align-items: center;

    gap: 9px;
}


.system-eight-substitution-flow > div {
    min-height: 150px;

    display: flex;

    flex-direction: column;

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

    padding: 17px;

    background: #ffffff;

    border:
        1px solid
        var(--system8-border);

    border-radius: 17px;

    text-align: center;
}


.system-eight-substitution-flow span,
.system-eight-substitution-flow strong {
    display: block;
}


.system-eight-substitution-flow span {
    margin-bottom: 6px;

    color:
        var(--system8-muted);

    font-size: 0.52rem;
}


.system-eight-substitution-flow strong {
    color:
        var(--system8-primary-dark);
}


.system-eight-substitution-flow > i {
    color:
        var(--system8-secondary);

    font-style: normal;

    font-weight: 900;
}


.system-eight-substitution-flow .result {
    color: #ffffff;

    background:
        var(--system8-green);

    border-color:
        var(--system8-green);
}


.system-eight-substitution-flow .result span,
.system-eight-substitution-flow .result strong {
    color: #ffffff;
}


/* ==========================================================
   CHECK
========================================================== */

.system-eight-check-section {
    background: #ffffff;
}


.system-eight-check-card {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    padding: 25px;

    background:
        var(--system8-green-soft);

    border:
        1px solid #99f6e4;

    border-radius: 24px;
}


.system-eight-check-card > div {
    min-height: 135px;

    display: flex;

    flex-direction: column;

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

    padding: 16px;

    background: #ffffff;

    border-radius: 15px;

    text-align: center;
}


.system-eight-check-card span,
.system-eight-check-card strong,
.system-eight-check-card small {
    display: block;
}


.system-eight-check-card span {
    margin-bottom: 6px;

    color:
        var(--system8-muted);

    font-size: 0.53rem;
}


.system-eight-check-card small {
    margin-top: 5px;

    color:
        var(--system8-green);

    font-weight: 800;
}


.system-eight-check-card .result {
    grid-column:
        1 / -1;

    min-height: 80px;

    color: #ffffff;

    background:
        var(--system8-green);
}


/* ==========================================================
   TYPES OF SOLUTION
========================================================== */

.system-eight-solution-type-section {
    background:
        var(--system8-soft);
}


.system-eight-solution-type-grid {
    display: grid;

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

    gap: 16px;
}


.system-eight-solution-type-grid article {
    min-height: 330px;

    padding: 23px;

    background: #ffffff;

    border:
        1px solid
        var(--system8-border);

    border-radius: 21px;

    text-align: center;
}


.system-eight-solution-type-grid article > span {
    display: block;

    margin-bottom: 15px;

    color:
        var(--system8-primary);

    font-size: 0.58rem;

    font-weight: 850;

    text-transform: uppercase;
}


.system-eight-line-preview {
    position: relative;

    width: 200px;
    height: 130px;

    margin:
        0 auto 18px;

    overflow: hidden;

    background:
        var(--system8-soft);

    border:
        1px solid
        var(--system8-border);

    border-radius: 14px;
}


.system-eight-line-preview i {
    position: absolute;

    left: 24px;

    width: 150px;
    height: 4px;

    border-radius: 999px;
}


.system-eight-line-preview .line-a {
    background:
        var(--system8-primary);
}


.system-eight-line-preview .line-b {
    background:
        var(--system8-secondary);
}


.system-eight-line-preview.intersect .line-a {
    top: 62px;

    transform:
        rotate(-25deg);
}


.system-eight-line-preview.intersect .line-b {
    top: 62px;

    transform:
        rotate(25deg);
}


.system-eight-line-preview.parallel .line-a {
    top: 45px;

    transform:
        rotate(-18deg);
}


.system-eight-line-preview.parallel .line-b {
    top: 82px;

    transform:
        rotate(-18deg);
}


.system-eight-line-preview.same .line-a {
    top: 63px;

    transform:
        rotate(-20deg);
}


.system-eight-line-preview.same .line-b {
    top: 63px;

    transform:
        rotate(-20deg);

    opacity: 0.55;
}


.system-eight-solution-type-grid article > strong {
    display: block;

    margin-bottom: 8px;

    color:
        var(--system8-primary-dark);
}


.system-eight-solution-type-grid p {
    margin: 0;

    color:
        var(--system8-muted);

    line-height: 1.65;
}


/* ==========================================================
   CONTEXT
========================================================== */

.system-eight-context-section {
    background: #ffffff;
}


.system-eight-context-card {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 16px;

    max-width: 980px;

    margin-inline: auto;
}


.system-eight-context-story {
    padding: 24px;

    background:
        var(--system8-primary-soft);

    border:
        1px solid #c7d2fe;

    border-radius: 20px;
}


.system-eight-context-story > span {
    display: block;

    margin-bottom: 12px;

    color:
        var(--system8-primary);

    font-size: 0.58rem;

    font-weight: 850;

    text-transform: uppercase;
}


.system-eight-context-story p {
    color:
        var(--system8-muted);

    line-height: 1.7;
}


.system-eight-context-model {
    display: grid;

    gap: 9px;
}


.system-eight-context-model > div {
    padding: 18px;

    background:
        var(--system8-soft);

    border:
        1px solid
        var(--system8-border);

    border-radius: 16px;
}


.system-eight-context-model span,
.system-eight-context-model strong {
    display: block;
}


.system-eight-context-model span {
    margin-bottom: 8px;

    color:
        var(--system8-muted);

    font-size: 0.53rem;

    text-transform: uppercase;
}


.system-eight-context-model strong {
    margin:
        5px 0;

    color:
        var(--system8-primary-dark);
}


.system-eight-context-model .result {
    color: #ffffff;

    background:
        var(--system8-green);

    border-color:
        var(--system8-green);
}


.system-eight-context-model .result span,
.system-eight-context-model .result strong {
    color: #ffffff;
}


/* ==========================================================
   STRATEGY
========================================================== */

.system-eight-strategy-section {
    background:
        var(--system8-soft);
}


.system-eight-strategy-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


.system-eight-strategy-grid article {
    min-height: 230px;

    padding: 22px;

    background: #ffffff;

    border:
        1px solid
        var(--system8-border);

    border-radius: 21px;
}


.system-eight-strategy-grid article > span {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    margin-bottom: 15px;

    color: #ffffff;

    background:
        var(--system8-primary);

    border-radius: 50%;

    font-size: 0.56rem;

    font-weight: 900;
}


.system-eight-strategy-grid h3 {
    margin:
        0 0 8px;
}


.system-eight-strategy-grid p {
    margin: 0;

    color:
        var(--system8-muted);

    line-height: 1.65;
}


/* ==========================================================
   LAB
========================================================== */

.system-eight-lab-section {
    color: #ffffff;

    background: #0f172a;
}


.system-eight-lab-section
.section-eyebrow {
    color: #93c5fd;
}


.system-eight-lab-section
.section-header p {
    color: #94a3b8;
}


.system-eight-lab-card {
    max-width: 1080px;

    margin:
        0 auto 20px;

    padding: 30px;

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 28px;
}


.system-eight-lab-heading {
    margin-bottom: 24px;

    text-align: center;
}


.system-eight-lab-heading > span {
    display: block;

    margin-bottom: 5px;

    color: #93c5fd;

    font-size: 0.6rem;

    font-weight: 850;

    text-transform: uppercase;
}


.system-eight-lab-heading h3 {
    margin:
        0 0 7px;

    color: #ffffff;
}


.system-eight-lab-heading p {
    margin: 0;

    color: #94a3b8;
}


/* ==========================================================
   EQUATION BUILDER
========================================================== */

.system-eight-equation-builder {
    display: grid;

    gap: 10px;

    margin-bottom: 13px;
}


.system-eight-builder-row {
    display: grid;

    grid-template-columns:
        120px
        80px
        auto
        auto
        80px
        auto
        auto
        100px;

    align-items: end;

    gap: 8px;

    padding: 17px;

    color: #334155;

    background: #ffffff;

    border-radius: 16px;
}


.system-eight-builder-label {
    align-self: center;

    color:
        var(--system8-primary);

    font-size: 0.58rem;

    font-weight: 850;

    text-transform: uppercase;
}


.system-eight-builder-row > div {
    min-width: 0;
}


.system-eight-builder-row label {
    display: block;

    margin-bottom: 4px;

    color:
        var(--system8-muted);

    font-size: 0.5rem;

    text-align: center;
}


.system-eight-builder-row input {
    width: 100%;

    min-height: 42px;

    padding: 7px;

    color:
        var(--system8-primary-dark);

    background:
        var(--system8-primary-soft);

    border:
        1px solid #c7d2fe;

    border-radius: 9px;

    font: inherit;

    font-weight: 800;

    text-align: center;
}


.system-eight-builder-row > strong,
.system-eight-builder-row > span:not(.system-eight-builder-label) {
    align-self: center;

    text-align: center;
}


/* ==========================================================
   LIVE EQUATIONS
========================================================== */

.system-eight-live-equations {
    display: grid;

    grid-template-columns:
        1.3fr 0.7fr;

    gap: 9px;

    margin-bottom: 13px;
}


.system-eight-live-equations > div {
    min-height: 125px;

    display: flex;

    flex-direction: column;

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

    padding: 16px;

    color: #334155;

    background: #ffffff;

    border-radius: 15px;

    text-align: center;
}


.system-eight-live-equations span,
.system-eight-live-equations strong {
    display: block;
}


.system-eight-live-equations span {
    margin-bottom: 7px;

    color:
        var(--system8-muted);

    font-size: 0.52rem;

    text-transform: uppercase;
}


.system-eight-live-equations strong {
    margin:
        3px 0;

    color:
        var(--system8-primary-dark);
}


/* ==========================================================
   SOLVER RESULT
========================================================== */

.system-eight-solver-result {
    display: grid;

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

    gap: 8px;

    margin-bottom: 13px;
}


.system-eight-solver-result > div {
    min-height: 105px;

    display: flex;

    flex-direction: column;

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

    padding: 14px;

    color: #334155;

    background: #ffffff;

    border-radius: 13px;

    text-align: center;
}


.system-eight-solver-result span,
.system-eight-solver-result strong {
    display: block;
}


.system-eight-solver-result span {
    margin-bottom: 5px;

    color:
        var(--system8-muted);

    font-size: 0.5rem;

    text-transform: uppercase;
}


.system-eight-solver-result strong {
    color:
        var(--system8-primary-dark);
}


.system-eight-solver-result .solution {
    color: #ffffff;

    background:
        var(--system8-green);
}


.system-eight-solver-result
.solution span,
.system-eight-solver-result
.solution strong {
    color: #ffffff;
}


/* ==========================================================
   VERDICT
========================================================== */

.system-eight-verdict {
    margin-bottom: 13px;

    padding: 16px;

    border-radius: 13px;

    text-align: center;
}


.system-eight-verdict strong,
.system-eight-verdict p {
    display: block;
}


.system-eight-verdict strong {
    margin-bottom: 5px;
}


.system-eight-verdict p {
    margin: 0;

    color: inherit;

    line-height: 1.6;
}


.system-eight-verdict.is-unique {
    color: #bbf7d0;

    background:
        rgba(22, 163, 74, 0.12);

    border:
        1px solid
        rgba(74, 222, 128, 0.22);
}


.system-eight-verdict.is-none {
    color: #fecaca;

    background:
        rgba(220, 38, 38, 0.12);

    border:
        1px solid
        rgba(248, 113, 113, 0.22);
}


.system-eight-verdict.is-infinite {
    color: #fde68a;

    background:
        rgba(217, 119, 6, 0.12);

    border:
        1px solid
        rgba(251, 191, 36, 0.22);
}


/* ==========================================================
   PRESETS
========================================================== */

.system-eight-preset-buttons,
.system-eight-elimination-presets {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 8px;
}


.system-eight-preset-buttons button,
.system-eight-elimination-presets button {
    min-height: 44px;

    padding: 10px;

    color: #cbd5e1;

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 10px;

    font-weight: 800;
}


.system-eight-elimination-presets {
    margin-bottom: 13px;
}


.system-eight-elimination-presets
button.active {
    color: #ffffff;

    background:
        var(--system8-primary);

    border-color:
        var(--system8-primary);
}


/* ==========================================================
   ELIMINATION MACHINE
========================================================== */

.system-eight-elimination-machine {
    display: grid;

    grid-template-columns: 1fr;

    gap: 8px;
}


.system-eight-elimination-machine > div {
    min-height: 130px;

    display: flex;

    flex-direction: column;

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

    padding: 17px;

    color: #334155;

    background: #ffffff;

    border-radius: 15px;

    text-align: center;
}


.system-eight-elimination-machine > div span {
    display: block;

    margin-bottom: 7px;

    color:
        var(--system8-muted);

    font-size: 0.52rem;

    text-transform: uppercase;
}


.system-eight-elimination-machine > div strong {
    display: block;

    margin:
        4px 0;

    color:
        var(--system8-primary-dark);
}


.system-eight-elimination-machine > i {
    color: #67e8f9;

    font-style: normal;

    font-weight: 900;

    text-align: center;
}


.system-eight-elimination-machine
.system-eight-elimination-final {
    color: #ffffff;

    background:
        var(--system8-green);
}


.system-eight-elimination-machine
.system-eight-elimination-final span,
.system-eight-elimination-machine
.system-eight-elimination-final strong {
    color: #ffffff;
}


.system-eight-lab-message {
    margin-top: 13px;

    padding: 14px;

    color: #bfdbfe;

    background:
        rgba(37, 99, 235, 0.1);

    border:
        1px solid
        rgba(96, 165, 250, 0.2);

    border-radius: 11px;

    text-align: center;

    line-height: 1.6;
}


/* ==========================================================
   PRACTICE
========================================================== */

.system-eight-practice-section {
    background: #ffffff;
}


.system-eight-practice-grid {
    display: grid;

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

    gap: 16px;
}


.system-eight-practice-grid article {
    min-height: 300px;

    padding: 23px;

    background:
        var(--system8-soft);

    border:
        1px solid
        var(--system8-border);

    border-radius: 21px;
}


.system-eight-practice-grid article > span {
    display: block;

    margin-bottom: 12px;

    color:
        var(--system8-primary);

    font-size: 0.59rem;

    font-weight: 850;

    text-transform: uppercase;
}


.system-eight-practice-grid h3 {
    min-height: 105px;

    margin:
        0 0 18px;
}


.system-eight-practice-grid details {
    padding-top: 14px;

    border-top:
        1px solid
        var(--system8-border);
}


.system-eight-practice-grid summary {
    color:
        var(--system8-primary-dark);

    cursor: pointer;

    font-weight: 800;
}


.system-eight-practice-grid details p {
    color:
        var(--system8-muted);

    line-height: 1.65;
}


/* ==========================================================
   QUIZ
========================================================== */

.system-eight-quiz-section {
    background:
        var(--system8-soft);
}


.system-eight-quiz-wrapper {
    max-width: 980px;

    margin-inline: auto;
}


.system-eight-quiz-heading {
    margin-bottom: 25px;

    text-align: center;
}


.system-eight-quiz-heading h2 {
    margin:
        8px 0;
}


.system-eight-quiz-heading p {
    margin: 0;

    color:
        var(--system8-muted);
}


.system-eight-quiz-card {
    padding: 28px;

    background: #ffffff;

    border:
        1px solid
        var(--system8-border);

    border-radius: 26px;
}


.system-eight-quiz-question {
    padding:
        22px 0;

    border-bottom:
        1px solid
        var(--system8-border);
}


.system-eight-quiz-question:first-child {
    padding-top: 0;
}


.system-eight-quiz-question > span {
    display: block;

    margin-bottom: 8px;

    color:
        var(--system8-primary);

    font-size: 0.58rem;

    font-weight: 900;
}


.system-eight-quiz-question h3 {
    margin:
        0 0 15px;
}


.system-eight-quiz-options {
    display: grid;

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

    gap: 8px;
}


.system-eight-quiz-options button {
    min-height: 48px;

    padding: 10px;

    color: #334155;

    background:
        var(--system8-soft);

    border:
        1px solid
        var(--system8-border);

    border-radius: 11px;

    font-weight: 750;
}


.system-eight-quiz-options
button.selected {
    color:
        var(--system8-primary-dark);

    background:
        var(--system8-primary-soft);

    border-color: #a5b4fc;
}


.system-eight-quiz-options
button.correct {
    color: #166534;

    background: #dcfce7;

    border-color: #86efac;
}


.system-eight-quiz-options
button.incorrect {
    color: #991b1b;

    background: #fee2e2;

    border-color: #fca5a5;
}


.system-eight-quiz-footer {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    padding-top: 22px;
}


.system-eight-quiz-result {
    flex-basis: 100%;

    margin-top: 5px;

    color: #334155;

    font-weight: 750;
}


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

.system-eight-summary-section {
    background: #ffffff;
}


.system-eight-summary-card {
    padding: 35px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #4338ca,
            #4f46e5 48%,
            #0e7490
        );

    border-radius: 28px;
}


.system-eight-summary-card
> div:first-child {
    margin-bottom: 25px;
}


.system-eight-summary-card
> div:first-child > span {
    display: block;

    margin-bottom: 6px;

    color:
        rgba(255, 255, 255, 0.67);

    font-size: 0.6rem;

    font-weight: 850;

    text-transform: uppercase;
}


.system-eight-summary-card h2 {
    margin: 0;

    color: #ffffff;
}


.system-eight-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}


.system-eight-summary-grid p {
    margin: 0;

    padding: 16px;

    color:
        rgba(255, 255, 255, 0.77);

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    line-height: 1.65;
}


.system-eight-summary-grid strong {
    color: #67e8f9;
}


/* ==========================================================
   NAVIGATION
========================================================== */

.system-eight-navigation-section {
    padding:
        40px 0 70px;

    background:
        var(--system8-soft);
}


.system-eight-navigation {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


.system-eight-navigation-card {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    color: #334155;

    background: #ffffff;

    border:
        1px solid
        var(--system8-border);

    border-radius: 17px;

    text-decoration: none;
}


.system-eight-navigation-card.next {
    justify-content: flex-end;

    text-align: right;
}


.system-eight-navigation-card > span {
    color:
        var(--system8-primary);

    font-size: 1.25rem;

    font-weight: 900;
}


.system-eight-navigation-card small,
.system-eight-navigation-card strong,
.system-eight-navigation-card div > span {
    display: block;
}


.system-eight-navigation-card small {
    margin-bottom: 4px;

    color:
        var(--system8-muted);
}


.system-eight-navigation-card div > span {
    margin-top: 4px;

    color:
        var(--system8-muted);

    font-size: 0.62rem;
}


.system-eight-navigation-card.disabled {
    opacity: 0.58;

    cursor: default;
}


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

@media (max-width: 1120px) {

    .system-eight-hero-container,
    .system-eight-two-column {
        grid-template-columns: 1fr;

        gap: 48px;
    }


    .system-eight-hero-content {
        max-width: 800px;
    }


    .system-eight-hero-visual,
    .system-eight-intro-card,
    .system-eight-back-card {
        width: 100%;

        max-width: 800px;

        margin-inline: auto;
    }


    .system-eight-strategy-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .system-eight-builder-row {
        grid-template-columns:
            100px
            70px
            auto
            auto
            70px
            auto
            auto
            90px;
    }

}


@media (max-width: 900px) {

    .system-eight-solution-type-grid,
    .system-eight-coefficient-grid,
    .system-eight-practice-grid {
        grid-template-columns: 1fr;
    }


    .system-eight-context-card {
        grid-template-columns: 1fr;
    }


    .system-eight-builder-row {
        grid-template-columns:
            repeat(7, auto);

        justify-content: center;
    }


    .system-eight-builder-label {
        grid-column:
            1 / -1;

        text-align: center;
    }


    .system-eight-live-equations {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 680px) {

    .system-grade-eight-page .section {
        padding: 62px 0;
    }


    .system-eight-hero {
        padding:
            52px 0 64px;
    }


    .system-eight-hero-content h1 {
        font-size:
            clamp(
                2.35rem,
                10.6vw,
                3.55rem
            );

        line-height: 1.04;
    }


    .system-eight-hero-actions {
        flex-direction: column;
    }


    .system-eight-hero-actions .button {
        width: 100%;
    }


    .system-eight-hero-meta,
    .system-eight-objective-list,
    .system-eight-check-card,
    .system-eight-strategy-grid,
    .system-eight-solver-result,
    .system-eight-summary-grid,
    .system-eight-navigation {
        grid-template-columns: 1fr;
    }


    .system-eight-check-card .result {
        grid-column: auto;
    }


    .system-eight-board-equations {
        grid-template-columns: 1fr;
    }


    .system-eight-board-process {
        grid-template-columns: 1fr;
    }


    .system-eight-board-process > i {
        transform:
            rotate(90deg);

        justify-self: center;
    }


    .system-eight-intro-card,
    .system-eight-substitution-flow {
        grid-template-columns: 1fr;
    }


    .system-eight-intro-card > i,
    .system-eight-substitution-flow > i {
        transform:
            rotate(90deg);

        justify-self: center;
    }


    .system-eight-form-card {
        grid-template-columns: 1fr;
    }


    .system-eight-back-card > div {
        grid-template-columns: 1fr;
    }


    .system-eight-back-card > div i {
        transform:
            rotate(90deg);

        justify-self: center;
    }


    .system-eight-builder-row {
        grid-template-columns:
            1fr auto 1fr auto 1fr;

        align-items: center;
    }


    .system-eight-builder-label {
        grid-column:
            1 / -1;
    }


    .system-eight-builder-row > div:first-of-type {
        grid-column: 1;
    }


    .system-eight-preset-buttons,
    .system-eight-elimination-presets,
    .system-eight-quiz-options {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .system-eight-navigation-card.next {
        justify-content: flex-start;

        text-align: left;
    }

}


@media (max-width: 480px) {

    .system-eight-board,
    .system-eight-lab-card,
    .system-eight-quiz-card,
    .system-eight-summary-card {
        padding: 20px;
    }


    .system-eight-builder-row {
        display: flex;

        flex-wrap: wrap;

        justify-content: center;
    }


    .system-eight-builder-label {
        flex-basis: 100%;

        margin-bottom: 5px;
    }


    .system-eight-builder-row > div {
        width: 64px;
    }


    .system-eight-preset-buttons,
    .system-eight-elimination-presets,
    .system-eight-quiz-options {
        grid-template-columns: 1fr;
    }

}