@charset "utf-8";
/* CSS Document */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #1f2933;
}

a {
    color: #6f9429;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5eaf0;
}

.site-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-weight: 800;
    color: #6f9429;
    text-decoration: none;
    font-size: 18px;
}

.site-nav a {
    margin-left: 20px;
    color: #334e68;
    text-decoration: none;
    font-size: 14px;
}

.site-nav a:hover {
    color: #6f9429;
}

.site-nav a.active {
    color: #6f9429;
    font-weight: 700;
}

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 28px;
    min-height: calc(100vh - 150px);
}

.site-footer {
    border-top: 1px solid #e5eaf0;
    background: #ffffff;
}

.site-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 22px 28px;
    color: #607080;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    margin-left: 0;
    color: #607080;
    text-decoration: none;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #6f9429;
}

.hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

h1 {
    margin: 0 0 8px;
    font-size: 36px;
    line-height: 1.1;
}

h2 {
    margin-top: 0;
}

.muted {
    color: #607080;
}

.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    margin-bottom: 24px;
}

.button,
button {
    display: inline-block;
    background: #6f9429;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: bold;
    border: 0;
    cursor: pointer;
    font-size: 16px;
}

.button:hover,
button:hover {
    background: #5f8122;
}

.button-secondary {
    background: #eef5d2;
    color: #496b16;
}

.button-secondary:hover {
    background: #dcebb6;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    font-size: 16px;
    margin: 8px 0 16px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #7da52f;
    box-shadow: 0 0 0 3px rgba(125, 165, 47, 0.15);
}

label {
    font-weight: bold;
    display: block;
}

.form-card {
    max-width: 460px;
    margin: 40px auto;
}

.notice {
    background: #fff8d6;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.error {
    background: #fff0f0;
    color: #a40000;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.success {
    background: #eef5d2;
    color: #496b16;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.stat-label {
    color: #607080;
    font-size: 14px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 34px;
    font-weight: bold;
    line-height: 1;
}

.stat-note {
    margin-top: 10px;
    color: #607080;
    font-size: 13px;
}

.good {
    color: #4f7d1f;
}

.bad {
    color: #b42318;
}

.category-pill {
    display: inline-block;
    background: #eef5d2;
    color: #496b16;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}

.result-bmi {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    margin: 12px 0;
}

.ad-box {
    background: #eef5d2;
    padding: 22px;
    border-radius: 18px;
}

.ad-box img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 14px;
}

.ad-button {
    display: inline-block;
    background: #6f9429;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: bold;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

th {
    text-align: left;
    color: #607080;
    font-size: 13px;
    border-bottom: 1px solid #e5eaf0;
    padding: 12px;
}

td {
    border-bottom: 1px solid #edf1f5;
    padding: 14px 12px;
}

.empty {
    text-align: center;
    padding: 36px;
}

.small {
    font-size: 13px;
    color: #7b8794;
    line-height: 1.5;
}

@media (max-width: 850px) {
    .site-header-inner,
    .site-footer-inner,
    .hero {
        display: block;
    }

    .hero .button + .button {
        margin-top: 12px;
    }

    .site-nav {
        margin-top: 12px;
    }

    .site-nav a {
        margin-left: 0;
        margin-right: 14px;
    }

    .footer-links {
        margin-top: 12px;
    }

    .footer-links a {
        margin-left: 0;
        margin-right: 14px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 30px;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        background: #ffffff;
        border: 1px solid #edf1f5;
        border-radius: 14px;
        margin-bottom: 12px;
        padding: 10px;
    }

    td {
        border: 0;
        padding: 8px 4px;
    }
}

.facebook-button {
    background: #1877f2;
}

.facebook-button:hover {
    background: #145dbf;
}

/* Provider comparison tables */
.provider-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 850px) {
    .provider-comparison-table tr {
        padding: 18px;
    }

    .provider-comparison-table td {
        border: 0;
        padding: 10px 0;
    }

    .provider-comparison-table .provider-company-cell {
        display: block;
        padding-bottom: 16px;
    }

    .provider-comparison-table .provider-name-cell {
        min-width: 0;
        justify-content: center;
        text-align: center;
    }

    .provider-comparison-table .provider-name-cell img {
        flex: 0 0 auto;
        width: 54px !important;
        max-height: 38px !important;
    }

    .provider-comparison-table .provider-detail-cell {
        display: grid;
        grid-template-columns: minmax(145px, 48%) minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        border-top: 1px solid #edf1f5;
    }

    .provider-comparison-table .provider-detail-cell::before {
        content: attr(data-label) ":";
        color: #607080;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.35;
    }

    .provider-comparison-table .provider-action-cell {
        display: block;
        padding-top: 16px;
    }

    .provider-comparison-table .button {
        display: block;
        width: min(100%, 400px);
        margin: 0 auto;
        text-align: center;
        box-sizing: border-box;
    }

    .provider-comparison-table .provider-empty-row td {
        display: block;
        border-bottom: 0;
    }

    .provider-comparison-table .provider-empty-row td::before {
        content: none;
    }
}


/* Home page BMI range slider */
.bmi-range-section {
    margin: 38px 0 44px;
    text-align: center;
}

.bmi-range-title {
    margin: 0 0 24px;
    font-size: 34px;
    line-height: 1.2;
    color: #1f2933;
}

.bmi-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 64px;
    outline: none;
}

.bmi-carousel-viewport {
    overflow: hidden;
    border-radius: 44px;
}


.bmi-carousel-viewport {
    touch-action: pan-y;
    cursor: grab;
}

.bmi-carousel-viewport:active {
    cursor: grabbing;
}

.bmi-carousel-slide,
.bmi-range-card {
    user-select: none;
    -webkit-user-select: none;
}

.bmi-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.bmi-carousel-slide {
    min-width: 100%;
}

.bmi-range-card {
    min-height: 330px;
    padding: 58px 62px;
    border-radius: 44px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.bmi-range-label {
    color: #607080;
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 26px;
}

.bmi-range-number {
    color: #1f2933;
    font-size: 76px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
}

.bmi-range-number-good {
    color: #5c8527;
}

.bmi-range-number-bad {
    color: #b52a20;
}

.bmi-range-note {
    margin-top: 28px;
    color: #607080;
    font-size: 27px;
    line-height: 1.3;
}

.bmi-carousel-arrow {
    position: absolute;
    top: calc(50% - 21px);
    z-index: 2;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #dce4ec;
    border-radius: 50%;
    background: #ffffff;
    color: #496b16;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    font-size: 24px;
    line-height: 48px;
    text-align: center;
}

.bmi-carousel-arrow:hover {
    background: #eef5d2;
    color: #496b16;
}

.bmi-carousel-arrow-prev {
    left: 0;
}

.bmi-carousel-arrow-next {
    right: 0;
}


.bmi-range-cta {
    margin-top: 22px;
}

.bmi-range-cta .button {
    min-width: 240px;
    text-align: center;
}

@media (max-width: 850px) {
    .bmi-range-section {
        margin: 32px 0 38px;
    }

    .bmi-range-title {
        margin-bottom: 20px;
        font-size: 29px;
    }

    .bmi-carousel {
        padding: 0 42px;
    }

    .bmi-carousel-viewport {
        border-radius: 30px;
    }

    .bmi-range-card {
        min-height: 280px;
        padding: 42px 34px;
        border-radius: 30px;
    }

    .bmi-range-label {
        margin-bottom: 20px;
        font-size: 23px;
    }

    .bmi-range-number {
        font-size: 54px;
        letter-spacing: -1px;
    }

    .bmi-range-note {
        margin-top: 24px;
        font-size: 20px;
    }

    .bmi-carousel-arrow {
        top: calc(50% - 19px);
        width: 38px;
        height: 38px;
        font-size: 20px;
        line-height: 38px;
    }

    .bmi-range-cta .button {
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 480px) {
    .bmi-carousel {
        padding-right: 34px;
        padding-left: 34px;
    }

    .bmi-range-card {
        min-height: 245px;
        padding: 34px 26px;
    }

    .bmi-range-label {
        font-size: 20px;
    }

    .bmi-range-number {
        font-size: 43px;
    }

    .bmi-range-note {
        font-size: 17px;
    }

    .bmi-carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 17px;
        line-height: 32px;
    }
}
