.lc-speed-page {
    --lc-speed-ink: #102a43;
    --lc-speed-muted: #486581;
    --lc-speed-border: #cbd8e6;
    --lc-speed-surface: #ffffff;
    --lc-speed-soft: #f2f7fb;
    --lc-speed-primary: #126e82;
    --lc-speed-primary-dark: #0b4f60;
    --lc-speed-accent: #ef8354;
    --lc-speed-success: #16794f;
    --lc-speed-danger: #b42318;
    color: var(--lc-speed-ink);
    background: #f7fafc;
    font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.lc-speed-page *,
.lc-speed-page *::before,
.lc-speed-page *::after {
    box-sizing: border-box;
}

.lc-speed-shell {
    width: min(1320px, calc(100vw - 64px));
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
}

.lc-speed-hero {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 0;
    color: #fff;
    background: linear-gradient(90deg, var(--lc-hero-edge, #124b78) 0%, var(--lc-hero-center, #1b6098) 54%, var(--lc-hero-edge, #124b78) 100%);
    border-image: conic-gradient(var(--lc-hero-edge, #124b78) 0 0) fill 0 / / 0 100vw;
}

.lc-speed-hero::after {
    display: none;
}

.lc-speed-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 0;
}

.lc-speed-breadcrumbs,
.lc-speed-breadcrumbs a,
.lc-speed-breadcrumbs span {
    color: rgba(255, 255, 255, .88);
}

.lc-speed-breadcrumbs a:hover {
    color: #fff;
}

.lc-speed-layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 28px;
    align-items: start;
    grid-template-columns: minmax(0, 1.62fr) minmax(360px, .88fr);
    padding: 24px 0 64px;
}

.lc-speed-layout > *,
.lc-speed-console,
.lc-speed-statistics,
.lc-speed-comparison,
.lc-speed-recent,
.lc-speed-provider-links,
.lc-speed-article {
    min-width: 0;
}

.lc-speed-comparison,
.lc-speed-recent,
.lc-speed-provider-links,
.lc-speed-disclaimer,
.lc-speed-article {
    grid-column: 1 / -1;
}

.lc-speed-tester {
    overflow: hidden;
    border: 1px solid rgba(203, 216, 230, .9);
    border-radius: 22px;
    background: var(--lc-speed-surface);
    box-shadow: 0 24px 60px rgba(16, 42, 67, .14);
}

.lc-speed-section-heading h2,
.lc-speed-provider-links h2 {
    margin: 0;
    color: var(--lc-speed-ink);
    font-size: clamp(24px, 2.2vw, 31px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.18;
}

.lc-speed-section-heading p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--lc-speed-muted);
    font-size: 14px;
    line-height: 1.6;
}

.lc-speed-console {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px;
    background:
        linear-gradient(rgba(255, 255, 255, .94), rgba(255, 255, 255, .94)),
        radial-gradient(circle at 50% 0, rgba(18, 110, 130, .16), transparent 48%);
}

.lc-speed-gauge {
    position: relative;
    display: grid;
    width: min(276px, 72vw);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(from 225deg, var(--lc-speed-primary) 0deg, var(--lc-speed-accent) var(--lc-speed-progress), #dbe5ee var(--lc-speed-progress), #dbe5ee 270deg, transparent 270deg);
    filter: drop-shadow(0 20px 25px rgba(16, 42, 67, .12));
    transition: background .2s ease;
}

.lc-speed-gauge::before {
    position: absolute;
    inset: 14px;
    border-radius: inherit;
    background: #fff;
    content: "";
}

.lc-speed-gauge::after {
    position: absolute;
    inset: 30px;
    border: 1px solid #d7e2ec;
    border-radius: inherit;
    background: linear-gradient(145deg, #fff, #f1f6fa);
    content: "";
}

.lc-speed-gauge__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lc-speed-gauge__phase {
    min-height: 24px;
    color: var(--lc-speed-muted);
    font-size: 15px;
    font-weight: 650;
}

.lc-speed-gauge strong {
    margin: 5px 0 0;
    color: var(--lc-speed-ink);
    font-size: clamp(45px, 8vw, 67px);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1;
}

.lc-speed-gauge__unit {
    margin-top: 8px;
    color: var(--lc-speed-primary-dark);
    font-size: 17px;
    font-weight: 700;
}

.lc-speed-status {
    min-height: 29px;
    margin-top: 22px;
    color: var(--lc-speed-ink);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.lc-speed-status.is-error {
    color: var(--lc-speed-danger);
}

.lc-speed-steps {
    display: grid;
    width: min(760px, 100%);
    margin: 24px 0 0;
    padding: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
}

.lc-speed-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #627d98;
    font-size: 13px;
    font-weight: 650;
    text-align: center;
}

.lc-speed-steps li::before {
    position: absolute;
    z-index: 0;
    top: 17px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: #d8e2eb;
    content: "";
}

.lc-speed-steps li:first-child::before {
    display: none;
}

.lc-speed-steps li span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 2px solid #c5d2de;
    border-radius: 50%;
    color: #526d82;
    background: #fff;
    font-size: 14px;
}

.lc-speed-steps li.is-active,
.lc-speed-steps li.is-done {
    color: var(--lc-speed-primary-dark);
}

.lc-speed-steps li.is-active span {
    border-color: var(--lc-speed-primary);
    color: #fff;
    background: var(--lc-speed-primary);
    box-shadow: 0 0 0 6px rgba(18, 110, 130, .12);
}

.lc-speed-steps li.is-done span {
    border-color: var(--lc-speed-success);
    color: #fff;
    background: var(--lc-speed-success);
}

.lc-speed-steps li.is-done::before,
.lc-speed-steps li.is-active::before {
    background: var(--lc-speed-success);
}

.lc-speed-live-metrics {
    display: grid;
    width: 100%;
    margin-top: 35px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--lc-speed-border);
    border-radius: 18px;
    background: #fff;
}

.lc-speed-live-metrics article {
    min-width: 0;
    padding: 20px 22px;
    border-right: 1px solid var(--lc-speed-border);
}

.lc-speed-live-metrics article:last-child {
    border-right: 0;
}

.lc-speed-live-metrics article > span,
.lc-speed-stat-card > span,
.lc-speed-benchmark__grid span {
    display: block;
    color: var(--lc-speed-muted);
    font-size: 14px;
    font-weight: 650;
}

.lc-speed-live-metrics strong {
    display: block;
    margin-top: 4px;
    color: var(--lc-speed-ink);
    font-size: clamp(23px, 3vw, 31px);
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}

.lc-speed-live-metrics small {
    color: var(--lc-speed-muted);
    font-size: 13px;
    font-weight: 600;
}

.lc-speed-provider-result {
    width: 100%;
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid #b8e4d0;
    border-radius: 14px;
    color: #125f42;
    background: #edfbf4;
    font-size: 14px;
    font-weight: 650;
    text-align: center;
}

.lc-speed-provider-result a {
    color: #0d5c41;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lc-speed-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.lc-speed-turnstile {
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
}

.lc-speed-start,
.lc-speed-cancel {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.lc-speed-start {
    border: 1px solid var(--lc-speed-primary-dark);
    color: #fff !important;
    background: var(--lc-speed-primary) !important;
    box-shadow: 0 10px 24px rgba(18, 110, 130, .24);
}

.lc-speed-start svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.lc-speed-cancel {
    border: 1px solid #aabaca;
    color: var(--lc-speed-ink);
    background: #fff;
}

.lc-speed-start:hover,
.lc-speed-start:focus-visible {
    color: #fff !important;
    background: var(--lc-speed-primary-dark) !important;
    box-shadow: 0 13px 28px rgba(11, 79, 96, .28);
    transform: translateY(-1px);
}

.lc-speed-cancel:hover,
.lc-speed-cancel:focus-visible {
    border-color: var(--lc-speed-ink);
    background: var(--lc-speed-soft);
}

.lc-speed-start:focus-visible,
.lc-speed-cancel:focus-visible,
.lc-speed-provider-links a:focus-visible,
.lc-speed-table a:focus-visible {
    outline: 3px solid #f4a261;
    outline-offset: 3px;
}

.lc-speed-start:disabled {
    cursor: wait;
    opacity: .78;
    transform: none;
}

.lc-speed-data-note {
    width: 100%;
    max-width: none;
    margin: 14px 0 0;
    color: var(--lc-speed-muted);
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
    white-space: nowrap;
}

.lc-speed-statistics,
.lc-speed-comparison,
.lc-speed-recent,
.lc-speed-provider-links,
.lc-speed-article {
    padding: 38px;
    border: 1px solid var(--lc-speed-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16, 42, 67, .07);
}

.lc-speed-section-heading {
    margin-bottom: 25px;
}

.lc-speed-stat-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lc-speed-stat-card {
    min-width: 0;
    padding: 21px 18px;
    border: 1px solid #d9e4ed;
    border-radius: 16px;
    background: var(--lc-speed-soft);
}

.lc-speed-stat-card--count {
    grid-column: 1 / -1;
    border-color: var(--lc-speed-primary);
    color: #fff;
    background: var(--lc-speed-primary-dark);
}

.lc-speed-stat-card--count > span,
.lc-speed-stat-card--count small {
    color: #fff !important;
    opacity: 1 !important;
}

.lc-speed-page .lc-speed-stat-card--count small {
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

.lc-speed-stat-card strong {
    display: block;
    overflow: hidden;
    margin: 8px 0 2px;
    color: var(--lc-speed-ink);
    font-size: clamp(24px, 2.2vw, 31px);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.1;
    text-overflow: ellipsis;
}

.lc-speed-stat-card--count strong {
    color: #fff;
}

.lc-speed-stat-card small {
    color: var(--lc-speed-muted);
    font-size: 13px;
    font-weight: 600;
}

.lc-speed-benchmark {
    display: grid;
    gap: 26px;
    margin-top: 25px;
    padding: 26px;
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.5fr);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #102a43, #164e63);
}

.lc-speed-statistics .lc-speed-benchmark,
.lc-speed-statistics .lc-speed-benchmark__grid {
    grid-template-columns: minmax(0, 1fr);
}

.lc-speed-benchmark h3 {
    margin: 7px 0 0;
    color: #fff;
    font-size: 23px;
    line-height: 1.3;
}

.lc-speed-benchmark__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lc-speed-benchmark__grid div {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 13px;
    background: rgba(255, 255, 255, .07);
}

.lc-speed-benchmark__grid span,
.lc-speed-benchmark__grid small {
    color: rgba(255, 255, 255, .75);
}

.lc-speed-benchmark__grid strong {
    display: block;
    margin: 4px 0;
    color: #fff;
    font-size: 28px;
    font-variant-numeric: tabular-nums;
}

.lc-speed-benchmark__grid small {
    font-size: 12px;
}

.lc-speed-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    border: 1px solid var(--lc-speed-border);
    border-radius: 16px;
    -webkit-overflow-scrolling: touch;
}

.lc-speed-table {
    width: 100%;
    min-width: 790px;
    border: 0;
    border-collapse: collapse;
    background: #fff;
    font-size: 15px;
}

.lc-speed-table th,
.lc-speed-table td {
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid #dce6ee;
    color: var(--lc-speed-ink);
    text-align: left;
    white-space: nowrap;
}

.lc-speed-table thead th {
    color: #334e68;
    background: #eef4f8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.lc-speed-table tbody tr:last-child th,
.lc-speed-table tbody tr:last-child td {
    border-bottom: 0;
}

.lc-speed-table tbody tr:hover {
    background: #f8fbfd;
}

.lc-speed-table a {
    color: var(--lc-speed-primary-dark);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.lc-speed-empty {
    padding: 30px;
    border: 1px dashed #aabaca;
    border-radius: 16px;
    color: var(--lc-speed-muted);
    background: var(--lc-speed-soft);
    font-size: 16px;
    text-align: center;
}

.lc-speed-provider-links {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
}

.lc-speed-provider-links__grid {
    display: grid;
    gap: 11px;
}

.lc-speed-provider-links__grid a {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 17px;
    border: 1px solid #c7d7e4;
    border-radius: 13px;
    color: var(--lc-speed-ink);
    background: #f8fbfd;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.lc-speed-provider-links__grid a:hover {
    border-color: var(--lc-speed-primary);
    color: var(--lc-speed-primary-dark);
    background: #eef9f9;
    transform: translateX(2px);
}

.lc-speed-provider-links__grid svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.lc-speed-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 25px 27px;
    border: 1px solid #e1c77d;
    border-radius: 18px;
    color: #513d0b;
    background: #fff9e8;
}

.lc-speed-disclaimer svg {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    margin-top: 2px;
    fill: #8a6500;
}

.lc-speed-disclaimer strong {
    display: block;
    margin-bottom: 5px;
    color: #463404;
    font-size: 17px;
}

.lc-speed-disclaimer p {
    margin: 0;
    color: #614b12;
    font-size: 14px;
    line-height: 1.65;
}

.lc-speed-article {
    width: min(980px, 100%);
    justify-self: center;
    color: #243b53;
}

.lc-speed-article > :first-child {
    margin-top: 0;
}

.lc-speed-article > :last-child {
    margin-bottom: 0;
}

.lc-speed-article h2 {
    margin: 52px 0 18px;
    color: var(--lc-speed-ink);
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.25;
}

.lc-speed-article p,
.lc-speed-article li,
.lc-speed-article td,
.lc-speed-article th {
    font-size: 15.5px;
    line-height: 1.78;
}

.lc-speed-article p {
    margin: 0 0 20px;
}

.lc-speed-article ul,
.lc-speed-article ol {
    margin: 0 0 24px;
    padding-left: 28px;
}

.lc-speed-article li + li {
    margin-top: 9px;
}

.lc-speed-article .wp-block-table {
    overflow-x: auto;
    margin: 26px 0 32px;
    border: 1px solid var(--lc-speed-border);
    border-radius: 15px;
}

.lc-speed-article table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.lc-speed-article th,
.lc-speed-article td {
    padding: 15px 17px;
    border: 0;
    border-bottom: 1px solid var(--lc-speed-border);
    text-align: left;
    vertical-align: top;
}

.lc-speed-article th {
    color: var(--lc-speed-ink);
    background: #edf4f8;
    font-weight: 700;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1280px) {
    .lc-speed-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .lc-speed-stat-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .lc-speed-stat-card--count {
        grid-column: span 1;
    }

    .lc-speed-statistics .lc-speed-benchmark {
        grid-template-columns: minmax(220px, .75fr) minmax(0, 1.5fr);
    }

    .lc-speed-statistics .lc-speed-benchmark__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .lc-speed-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lc-speed-stat-card--count {
        grid-column: span 1;
    }

    .lc-speed-benchmark,
    .lc-speed-provider-links {
        grid-template-columns: 1fr;
    }

    .lc-speed-statistics .lc-speed-benchmark__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .lc-speed-shell {
        width: calc(100vw - 24px);
    }

    .lc-speed-hero {
        min-height: 0;
        padding: 0;
    }

    .lc-speed-hero .loan-hero__content {
        width: calc(100vw - 24px);
        min-height: 0;
        padding: 22px 0 24px;
    }

    .lc-speed-hero h1 {
        max-width: 92%;
        margin-top: 17px;
        font-size: clamp(29px, 9vw, 38px);
    }

    .lc-speed-hero .loan-listing__description {
        max-width: 92%;
        font-size: 14px;
    }

    .lc-speed-layout {
        gap: 22px;
        padding: 16px 0 58px;
    }

    .lc-speed-tester {
        border-radius: 20px;
    }

    .lc-speed-console {
        padding: 32px 20px 28px;
    }

    .lc-speed-live-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lc-speed-live-metrics article:nth-child(2) {
        border-right: 0;
    }

    .lc-speed-live-metrics article:nth-child(-n+2) {
        border-bottom: 1px solid var(--lc-speed-border);
    }

    .lc-speed-statistics,
    .lc-speed-comparison,
    .lc-speed-recent,
    .lc-speed-provider-links,
    .lc-speed-article {
        padding: 27px 21px;
        border-radius: 18px;
    }

    .lc-speed-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lc-speed-stat-card--count {
        grid-column: 1 / -1;
    }

    .lc-speed-benchmark__grid {
        grid-template-columns: 1fr;
    }

    .lc-speed-actions {
        width: 100%;
        flex-direction: column;
    }

    .lc-speed-start,
    .lc-speed-cancel {
        width: 100%;
    }

    .lc-speed-data-note {
        white-space: normal;
    }

    .lc-speed-disclaimer {
        padding: 21px;
    }
}

@media (max-width: 430px) {
    .lc-speed-steps {
        gap: 9px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lc-speed-steps li {
        flex-direction: row;
        justify-content: flex-start;
        gap: 7px;
        padding: 7px;
        border: 1px solid #d5e0e9;
        border-radius: 11px;
        background: #f8fbfd;
        font-size: 12px;
        text-align: left;
    }

    .lc-speed-steps li span {
        flex: 0 0 31px;
        width: 31px;
        height: 31px;
    }

    .lc-speed-steps li::before {
        display: none;
    }

    .lc-speed-live-metrics article,
    .lc-speed-stat-card {
        padding: 17px 14px;
    }

    .lc-speed-live-metrics strong {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lc-speed-page *,
    .lc-speed-page *::before,
    .lc-speed-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
