.hdr-in,
.hdr-l,
.nl {
    display: flex;
}

.ftr-desc,
body {
    line-height: 1.6;
}

.ftr-legal li a:hover,
.ftr-pages li a:hover,
.m-btn,
body {
    color: var(--txt-main);
}

#pg-content-inner a,
.ab-meta-item a:hover {
    text-decoration: underline;
}

.ab-eyebrow {
    text-transform: uppercase;
}

#pg-content-inner table {
    border-collapse: collapse;
}

.ab-name a,
.vl-breadcrumb li a,
.xpl__link,
a {
    text-decoration: none;
}

.m-btn {
    cursor: pointer;
}

* {
    box-sizing: border-box;
}

.ftr-legal,
.ftr-pages,
.vl-breadcrumb,
ul {
    list-style: none;
}

@font-face {
    font-family: Inter;
    src: url("../font/inter-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url("../font/inter-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url("../font/inter-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-top: #1f1b18;
    --bg-hdr: #f6f4f1;
    --txt-main: #0f172a;
    --btn-dk: #4338ca;
    --font: "Inter", Arial, sans-serif;
    --trans: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    background: var(--bg-hdr);
    letter-spacing: -0.011em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

a {
    color: inherit;
    transition: var(--trans);
}

.hdr {
    background: #1f1b18;
    border-bottom: 1px solid #ffffff1a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.hdr-in {
    max-width: 1230px;
    margin: 0 auto;
    padding: 1.3rem 2.5rem;
    align-items: center;
    justify-content: space-between;
}

.hdr-l {
    align-items: center;
    gap: 5rem;
}

.nl {
    gap: 2rem;
}

.nl li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e9e9e9;
    letter-spacing: -0.015em;
}

.nl li a:hover {
    opacity: 0.7;
}

.m-btn {
    display: none;
    background: 0 0;
    border: none;
}

.ftr,
.ftr-bot {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width:992px) {
    .hdr-l {
        gap: 1.5rem;
    }

    .nl {
        gap: 1rem;
    }
}

.ftr {
    background: #fff;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.ftr-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ftr-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.ftr-brand {
    max-width: 400px;
}

.ftr-desc {
    font-size: 0.95rem;
    color: #64748b;
}

.ftr-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cpy {
    font-size: 0.85rem;
    color: #94a3b8;
}

.ftr-legal {
    display: list-item;
    display: flex;
    gap: 15px;
}

.ftr-legal li a,
.ftr-pages li a {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.ftr-legal li,
.ftr-pages li {
    margin-top: 10px;
}

.vl-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.lg,
.vl-breadcrumb li {
    align-items: center;
}

.vl-breadcrumb li {
    display: flex;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.vl-breadcrumb li a {
    color: #6e7786;
    transition: color 0.2s;
}

.vl-breadcrumb li.vl-breadcrumb__current {
    color: #6e7786;
    font-weight: 500;
}

.vl-breadcrumb__sep {
    color: #cbd5e1;
    display: inline-block;
}

.hdr-r,
.lg {
    display: flex;
}

.hdr-in img {
    height: 25px !important;
}
@media (max-width:800px) {.hdr-in img {
    height: 25px !important;
    margin-left:-15px !important
}
}

.ftr-brand img {
    margin: 20px 0;
    width: 180px;
}

.hdr-r {
    align-items: center;
    gap: 4px;
}

.blg-bread-container .vl-breadcrumb .vl-breadcrumb__current,
.blg-bread-container .vl-breadcrumb li a {
    color: #94a3b8;
}

#pg-content-inner p:last-child {
    margin-bottom: 0;
}

.xpl__txt {
    flex-direction: column;
}

.ab-avatar,
.ab-content,
.ab-inner,
.ab-meta {
    display: flex;
}

.ab-band {
    background: #faf8f6;
    padding: 20px 0;
}

.ab-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: flex-start;
    gap: 16px;
}

.ab-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1f1b18;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ab-content {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.ab-meta {
    flex-shrink: 0;
}

.ab-eyebrow {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #94a3b8;
    line-height: 1.4;
}

.ab-name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.ab-name a {
    color: #0f172a;
}

.ab-name a:hover {
    color: #8c523e;
}

.ab-role {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

.ab-bio {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.65;
}

#pg-content-inner,
#pg-hero-inner,
.xpl {
    max-width: 1200px;
    margin: 0 auto;
}

.ab-meta {
    flex-direction: column;
    gap: 5px;
    align-self: stretch;
    justify-content: center;
}

.ab-meta-item a,
.ab-meta-item time {
    font-weight: 600;
}

.xpl {
    padding: 28px 24px 40px;
}

.xpl__inner {
    background: #1f1b18;
    border-radius: 16px;
    padding: 24px 26px;
}

.xpl__head {
    margin-bottom: 14px;
}

#pg-title,
.xpl__title {
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.xpl__title {
    display: block;
    font-size: clamp(16px, 2.2vw, 19px);
    color: #fff;
}

.xpl__desc {
    display: block;
    margin: 4px 0 0;
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 60ch;
}

.xpl__desc,
.xpl__title {
    margin-block-start: 0;
    margin-block-end: 0;
}

.xpl__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.xpl__links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.xpl__links .xpl__link:nth-child(-n+3) {
    grid-column: span 2;
}

.xpl__links .xpl__link:nth-child(n+4) {
    grid-column: span 3;
}

.xpl__link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    color: inherit;
    transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}

.xpl__link:hover {
    background: rgba(140, 82, 62, 0.2);
    border-color: rgba(234, 217, 210, 0.4);
    transform: translateY(-2px);
}

.xpl__ic {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    background: rgba(234, 217, 210, 0.16);
    color: #fff;
}

.xpl__link:hover .xpl__ic {
    background: #8c523e;
    color: #fff;
}

.xpl__txt {
    min-width: 0;
    display: flex;
    gap: 3px;
}

.xpl__nm {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.xpl__sm {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}

#pg-main {
    background: #f6f4f1;
    min-height: 100vh;
}

#pg-hero {
    background: #1f1b18;
    padding: 32px 0 40px;
}

#pg-hero-inner {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#pg-title {
    font-size: 28px;
    color: #fff;
}

#pg-content {
    padding: 40px 0 64px;
}

#pg-content-inner {
    padding: 32px 36px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

#pg-content-inner h2 {
    margin: 24px 0 10px;
    font-size: 25px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

#pg-content-inner h3 {
    margin: 24px 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

#pg-content-inner p {
    margin: 0 0 16px;
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
}

#pg-content-inner ol,
#pg-content-inner ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

#pg-content-inner li {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 6px;
}

#pg-content-inner a {
    color: #0f172a;
    font-weight: 600;
    text-underline-offset: 3px;
}

#pg-content-inner strong,
#pg-content-inner th {
    font-weight: 700;
    color: #0f172a;
}

#pg-content-inner a:hover {
    color: #475569;
}

#pg-content-inner hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 28px 0;
}

#pg-content-inner table {
    width: 100%;
    font-size: 13.5px;
    margin-bottom: 16px;
}

#pg-content-inner th {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    text-align: left;
}

#pg-content-inner td {
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    color: #475569;
}

.ab-meta-item time {
    color: #5f5e5a;
}

.ab-meta-item a {
    color: #185fa5;
    text-decoration: none;
}

.hr-sub {
    text-align: center;
}

.hr {
    background: #1f1b18;
    padding: 40px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hr-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hr-tg {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}

.hr-ft {
    display: flex;
}

.hr-ttl {
    color: #fff;
}

.hr-tg::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dec04a;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}

.hr-ttl {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    max-width: 640px;
}

.hr-sub {
    margin: 0;
    max-width: 550px;
    font-size: 14.5px;
    color: #94a3b8;
    line-height: 1.7;
}

.hr-ft {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.hr-bdg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 5px 12px;
}

.hr-bdg svg {
    color: #fff88a;
    flex-shrink: 0;
}

#mainNav .menu-item-has-children {
    position: relative;
}

#mainNav .menu-item-has-children>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

#mainNav .menu-item-has-children>a::after {
    content: "";
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    opacity: 0.65;
    transition: transform 0.25s;
}

#mainNav .menu-item-has-children.is-open>a::after,
#mainNav .menu-item-has-children:hover>a::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

#mainNav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 999;
}

#mainNav .sub-menu li {
    width: 100%;
}

#mainNav .sub-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
    transition: background 0.15s;
}

#mainNav .sub-menu a:focus-visible,
#mainNav .sub-menu a:hover {
    background: #f1f5f9;
}

@media (hover:hover) and (pointer:fine) {
    #mainNav .menu-item-has-children:focus-within>.sub-menu,
    #mainNav .menu-item-has-children:hover>.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

#mainNav .menu-item-has-children.is-open>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width:768px) {
    .hdr-in {
        padding: 1rem 1.5rem;
    }

    .m-btn,
    .offcanvas-overlay.active {
        display: block;
    }

    .offcanvas-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 998;
    }

    #mainNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-hdr);
        z-index: 999;
        transition: var(--trans);
        padding: 2rem;
        overflow-y: auto;
        box-shadow: -6px 0 24px rgba(0, 0, 0, 0.12);
        flex-direction: column;
        gap: 1.5rem;
        display: flex;
    }

    #mainNav.active {
        right: 0;
    }

    .nl {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .ftr-legal,
    .ftr-top {
        flex-direction: column;
    }

    .ftr {
        padding: 3rem 0 2rem;
    }

    .ftr-in {
        padding: 0 1.5rem;
    }

    .ftr-top {
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .ftr-legal {
        width: 100%;
        margin-bottom: 1rem;
    }

    #mainNav li a {
        color: #0f172a;
    }

    .ftr-bot {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .hr-ft {
        justify-content: center;
    }

    #mainNav .sub-menu {
        position: static;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        margin-top: 6px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.25s, padding 0.25s;
    }

    #mainNav .menu-item-has-children.is-open>.sub-menu {
        max-height: 300px;
        padding: 8px;
    }
}

@media (max-width:900px) {
    .ab-inner {
        flex-wrap: wrap;
    }

    .ab-meta {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        align-self: auto;
        min-width: 0;
    }

    .ab-meta {
        grid-column: 1/-1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        padding-left: 0;
        border-left: none;
        border-top: 0.5px solid #d3d1c7;
        padding-top: 0.75rem;
        align-self: auto;
    }
}

@media (min-width:800px) {
    .ftr-desc {
        padding-left: 7px;
    }
}

.ab-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 160px;
    padding-left: 1.5rem;
    border-left: 0.5px solid #c8c7d3;
    align-self: stretch;
}

.ab-meta-item {
    font-size: 0.78rem;
    color: #62646a;
    margin: 0;
    line-height: 1.5;
}

@media (max-width:1100px) {
    .xpl__links {
        grid-template-columns: repeat(2, 1fr);
    }

    .xpl__links .xpl__link:nth-child(-n+3),
    .xpl__links .xpl__link:nth-child(n+4) {
        grid-column: auto;
    }

    .xpl__links .xpl__link:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width:640px) {
    .ab-inner {
        padding: 0 16px;
    }

    .xpl__inner {
        padding: 16px;
    }

    .xpl {
        padding: 20px 14px 32px;
    }

    .xpl__row {
        gap: 10px;
    }

    .xpl__links {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .xpl__links .xpl__link:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .xpl__link {
        font-size: 12px;
        padding: 8px 11px;
    }

    #pg-hero {
        padding: 24px 0 32px;
    }

    #pg-hero-inner {
        padding: 0 16px;
        gap: 16px;
    }

    #pg-title {
        font-size: 22px;
    }

    #pg-content {
        padding: 24px 0 48px;
    }

    #pg-content-inner {
        margin: 10px;
        padding: 32px 20px;
    }

    .blg-bread-container {
        min-width: 0;
    }

    .blg-bread-container .vl-breadcrumb {
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: hidden;
        display: flex;
    }

    .blg-bread-container .vl-breadcrumb li {
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .blg-bread-container .vl-breadcrumb li a {
        display: inline-block;
        max-width: 96px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: bottom;
    }

    .blg-bread-container .vl-breadcrumb li:last-child {
        overflow: hidden;
    }

    .blg-bread-container .vl-breadcrumb li:last-child .vl-breadcrumb__current,
    .blg-bread-container .vl-breadcrumb li:last-child a,
    .blg-bread-container .vl-breadcrumb li:last-child span {
        display: inline-block;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: bottom;
    }

    .hr-sub {
        font-size: 14px;
    }

    .hr-in {
        padding: 0 16px;
        gap: 12px;
    }

    .hr {
        padding: 28px 0 36px;
    }

    .hr-bdg {
        font-size: 11.5px;
    }
}

.ftr-pages {
    display: block;
    gap: 15px;
}

@media (max-width:800px) {
    .ftr-legal,
    .ftr-pages {
        gap: 0;
    }

    .hr-ttl {
        font-size: 20px;
    }
}





























/* ============================================================
   SHARED CONTENT SECTIONS (.cs-*) - used on every calculator page
   ============================================================ */






























/* ============================================================
   Training Zones Grid (3-column)
   ============================================================ */

.cs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cs-zone {
    background: #faf8f6;
    border: 1px solid #e5dfd9;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.cs-zone--primary::before,
.cs-zone--sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #8c523e;
}

.cs-zone--sec::before {
    background: #6b705c;
}

.cs-zone-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cs-zone-pct {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8c523e;
    background: #f5ece8;
    padding: 3px 9px;
    border-radius: 99px;
}

.cs-zone--sec .cs-zone-pct {
    color: #6b705c;
    background: #f2f3ef;
}

.cs-zone-reps {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6e655f;
}

.cs-zone-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f1b18;
    line-height: 1.3;
}

.cs-zone-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #6e655f;
    flex: 1 1 auto;
}

.cs-zone-meta {
    margin: 2px 0 0;
    padding-top: 10px;
    border-top: 1px solid #e5dfd9;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cs-zone-meta dt {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6e655f;
}

.cs-zone-meta dd {
    margin: 2px 0 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1f1b18;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .cs-grid-3 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
































/* ============================================================
   Shared Guide / Content Section
   ============================================================ */

.cs-guide {
    padding: 12px 0 4px;
    font-family: var(--font, "Inter", Arial, sans-serif);
    color: #1f1b18;
}

.cs-guide *,
.cs-guide *::before,
.cs-guide *::after {
    box-sizing: border-box;
}

.cs-wrap {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.cs-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cs-card {
    background: #ffffff;
    border: 1px solid #e5dfd9;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(31, 27, 24, 0.05);
}

.cs-head {
    margin-bottom: 18px;
}

.cs-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8c523e;
    background: #f5ece8;
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.cs-title {
    margin: 0 0 6px;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #1f1b18;
}

.cs-lead {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6e655f;
    max-width: 72ch;
}

/* 4-column formula cards */
.cs-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.cs-mini {
    background: #faf8f6;
    border: 1px solid #e5dfd9;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-mini-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cs-mini-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f1b18;
}

.cs-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #8c523e;
    background: #f5ece8;
    padding: 2px 8px;
    border-radius: 99px;
    white-space: nowrap;
}

.cs-badge--sec {
    color: #6b705c;
    background: #f2f3ef;
}

.cs-formula {
    margin: 0;
}

.cs-formula code,
.cs-table code {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1f1b18;
    background: #ffffff;
    border: 1px solid #e5dfd9;
    border-radius: 6px;
    padding: 3px 7px;
}

.cs-mini-text {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #6e655f;
}

/* Comparison table */
.cs-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5dfd9;
    border-radius: 12px;
    background: #ffffff;
}

.cs-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.cs-table th,
.cs-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #e5dfd9;
    vertical-align: middle;
}

.cs-table thead th {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6e655f;
    background: #faf8f6;
}

.cs-table tbody th {
    font-weight: 700;
    color: #8c523e;
    white-space: nowrap;
}

.cs-table tbody td {
    color: #1f1b18;
    line-height: 1.45;
}

.cs-table tbody tr:last-child th,
.cs-table tbody tr:last-child td {
    border-bottom: 0;
}

.cs-callout {
    margin: 14px 0 0;
    padding: 11px 14px;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #4a433e;
    background: #f5ece8;
    border: 1px solid #ead9d2;
    border-radius: 10px;
}

.cs-callout strong {
    color: #1f1b18;
}

/* Responsive */
@media (max-width: 960px) {
    .cs-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .cs-wrap {
        padding: 0 10px;
    }
}

@media (max-width: 600px) {
    .cs-card {
        padding: 14px;
    }

    .cs-grid-4 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cs-table th,
    .cs-table td {
        padding: 8px 10px;
    }
}































/* ============================================================
   Worked Example Grid
   ============================================================ */

.cs-ex-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    gap: 16px;
    align-items: stretch;
}

.cs-table--compact {
    min-width: 0;
}

.cs-ex-grid > .cs-table-wrap .cs-table--compact {
    height: 100%;
}

.cs-grid-3 + .cs-ex-grid,
.cs-ex-grid + .cs-grid-3,
.cs-grid-3 + .cs-grid-3,
.cs-grid-3 + .cs-grid-2 {
    margin-top: 16px;
}

.cs-table--compact tbody tr.cs-row-hl {
    background: #f5ece8;
}

.cs-table--compact tbody tr.cs-row-hl th,
.cs-table--compact tbody tr.cs-row-hl td {
    color: #1f1b18;
    font-weight: 700;
}

.cs-ex-summary {
    background: #faf8f6;
    border: 1px solid #e5dfd9;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.cs-ex-kicker {
    margin: 0 0 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8c523e;
}

.cs-ex-big {
    margin: 0;
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #1f1b18;
    font-variant-numeric: tabular-nums;
}

.cs-ex-big span {
    font-size: 1rem;
    font-weight: 700;
    color: #6e655f;
}

.cs-ex-sub {
    margin: 6px 0 14px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #6e655f;
}

.cs-ex-list {
    margin: auto 0 0;
    border-top: 1px solid #e5dfd9;
}

.cs-ex-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e5dfd9;
    font-size: 0.8125rem;
}

.cs-ex-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cs-ex-list dt {
    color: #6e655f;
    font-weight: 500;
}

.cs-ex-list dd {
    margin: 0;
    color: #1f1b18;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
    .cs-ex-grid {
        grid-template-columns: 1fr;
    }
}


























/* ============================================================
   Tips Grid Cards
   ============================================================ */

.cs-tip {
    background: #faf8f6;
    border: 1px solid #e5dfd9;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-tip-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #8c523e;
    background: #f5ece8;
}

.cs-tip-title {
    margin: 2px 0 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f1b18;
    line-height: 1.3;
}

.cs-tip-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #6e655f;
}



































/* ============================================================
   FAQ Accordion
   ============================================================ */

.cs-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-faq {
    background: #faf8f6;
    border: 1px solid #e5dfd9;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.cs-faq[open] {
    border-color: #d6b8ad;
}

.cs-faq-q {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f1b18;
    cursor: pointer;
    user-select: none;
}

.cs-faq-q::-webkit-details-marker {
    display: none;
}

.cs-faq-q:focus-visible {
    outline: 2px solid #8c523e;
    outline-offset: -2px;
}

.cs-faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cs-faq-icon::before,
.cs-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: #8c523e;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cs-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.cs-faq[open] .cs-faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

.cs-faq-a {
    padding: 0 16px 14px;
}

.cs-faq-a p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.65;
    color: #6e655f;
}

























/* ============================================================
   Percentage Chart (2-column tables)
   ============================================================ */

.cs-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cs-chart {
    min-width: 0;
}

.cs-chart-title {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1f1b18;
}

.cs-table--chart {
    min-width: 440px;
    font-variant-numeric: tabular-nums;
}

.cs-table--chart .cs-col-group {
    text-align: center;
    color: #8c523e;
    background: #f5ece8;
}

.cs-table--chart .cs-num {
    text-align: right;
}

.cs-table--chart tbody td.cs-chart-reps {
    color: #6e655f;
}

.cs-table--chart tbody td.cs-num {
    font-weight: 600;
}

.cs-table--chart tbody tr:first-child {
    background: #f5ece8;
}

@media (max-width: 900px) {
    .cs-grid-2 {
        grid-template-columns: 1fr;
    }
}

.cs-table--chart thead th[rowspan] {
    vertical-align: bottom;
}

@media (max-width: 600px) {
    .cs-table--compact td {
        white-space: nowrap;
    }
}





























/* ============================================================
   Text Tables (wrapping cells) & Stacked Blocks
   ============================================================ */

.cs-table--text {
    min-width: 0;
}

.cs-table--text tbody th {
    white-space: normal;
}

.cs-ex-grid + .cs-chart {
    margin-top: 16px;
}





























/* ============================================================
   Letter / Template Block
   ============================================================ */

.cs-letter {
    background: #faf9f7;
    border: 1px solid #e7e2da;
    border-radius: 14px;
    padding: 28px 32px;
    color: #2a2622;
    font-size: 15px;
    line-height: 1.7;
    user-select: text;
}

.cs-letter p {
    margin: 0 0 14px;
}

.cs-letter p:last-child {
    margin-bottom: 0;
}

.cs-letter + .cs-callout {
    margin-top: 16px;
}

.cs-grid-3 + .cs-letter {
    margin-top: 16px;
}

@media (max-width: 600px) {
    .cs-letter {
        padding: 20px 18px;
        font-size: 14px;
    }
}





























/* ============================================================
   Wrapping Compact Tables (mobile)
   ============================================================ */

@media (max-width: 600px) {
    .cs-table--wrap td,
    .cs-table--wrap th,
    .cs-table--wrap code {
        white-space: normal;
    }
}





























/* ============================================================
   Table Followed by Chart Spacing
   ============================================================ */

.cs-table-wrap + .cs-chart,
.cs-grid-3 + .cs-table-wrap {
    margin-top: 16px;
}


.cs-grid-2 + .cs-table-wrap {
    margin-top: 16px;
}


.cs-chart + .cs-chart {
    margin-top: 24px;
}
