@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --ink: #17232b;
    --muted: #6d7b7d;
    --line: #dce5e1;
    --paper: #f8faf6;
    --mint: #d9f4e7;
    --mint-deep: #127b5b;
    --coral: #ff765f;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'DM Sans', sans-serif;
}

body::before {
    position: fixed;
    inset: 0 0 auto;
    height: 420px;
    z-index: -1;
    content: '';
    background: radial-gradient(circle at 86% 12%, rgba(255, 215, 149, .62), transparent 24%), linear-gradient(115deg, #e8f7ed 0%, #f8faf6 55%);
}

.page-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.page-header {
    padding: 34px 0 72px;
    max-width: 700px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -.03em;
}

.brand-mark {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--ink);
    font-size: 18px;
}

.eyebrow,
.section-label {
    margin: 66px 0 14px;
    color: var(--mint-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -.055em;
    line-height: .98;
}

h1 {
    max-width: 640px;
    font-size: clamp(48px, 7vw, 82px);
}

.intro {
    max-width: 570px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.comparison {
    padding: 34px 0 26px;
    border-top: 1px solid rgba(23, 35, 43, .15);
}

.comparison-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 25px;
}

.section-label {
    margin: 0 0 10px;
}

h2 {
    font-size: clamp(29px, 4vw, 44px);
}

.updated {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 13px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(39, 68, 56, .08);
}

table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    text-align: left;
}

caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

th,
td {
    padding: 17px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

thead th {
    padding-top: 22px;
    padding-bottom: 20px;
    background: #f0f7f2;
    font-size: 15px;
}

thead th:first-child {
    width: 38%;
    border-radius: 12px 0 0 0;
}

thead th:last-child {
    border-radius: 0 12px 0 0;
}

.header-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
}

thead small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}

thead b {
    display: inline-block;
    margin-left: 6px;
    padding: 4px 7px;
    border-radius: 99px;
    color: #9e3d2e;
    background: #ffd8d0;
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    letter-spacing: .05em;
    text-transform: uppercase;
    vertical-align: 3px;
}

tbody th {
    font-weight: 600;
}

tbody td {
    color: #445359;
}

tbody tr:last-child th,
tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: #fbfdfb;
}

.featured-plan,
.featured-cell {
    background: var(--mint);
}

.featured-cell {
    color: var(--mint-deep);
    font-weight: 600;
}

.yes {
    color: var(--mint-deep) !important;
    font-size: 19px;
    font-weight: 700 !important;
}

.no {
    color: #aab7b4 !important;
    font-size: 18px;
}

.table-note {
    margin: 15px 2px 0;
    color: var(--muted);
    font-size: 12px;
}

.table-note span {
    margin-left: 14px;
    color: var(--mint-deep);
    font-size: 15px;
    font-weight: 700;
}

.table-note span+span {
    color: #aab7b4;
}

.difference-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

thead th:first-child .difference-toggle {
    margin-bottom: 18px;
}

.difference-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.custom-checkbox {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 1.5px solid #9cafaa;
    border-radius: 5px;
    background: var(--white);
}

.custom-checkbox::after {
    width: 10px;
    height: 6px;
    border-bottom: 2px solid var(--white);
    border-left: 2px solid var(--white);
    content: '';
    opacity: 0;
    transform: rotate(-45deg) translate(1px, -1px);
}

.difference-toggle input:checked+.custom-checkbox {
    border-color: var(--mint-deep);
    background: var(--mint-deep);
}

.difference-toggle input:checked+.custom-checkbox::after {
    opacity: 1;
}

.difference-toggle input:focus-visible+.custom-checkbox {
    outline: 3px solid rgba(255, 118, 95, .35);
    outline-offset: 3px;
}

.control-hint {
    margin: 15px 2px 0;
    color: var(--muted);
    font-size: 12px;
}

.plan-button {
    min-height: 38px;
    width: 100%;
    margin-top: 15px;
    padding: 9px 10px;
    border: 1px solid var(--ink);
    border-radius: 7px;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    font: 600 13px 'DM Sans', sans-serif;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.plan-button:hover {
    color: var(--white);
    background: var(--ink);
    transform: translateY(-2px);
}

.plan-button:focus-visible {
    outline: 3px solid rgba(255, 118, 95, .45);
    outline-offset: 3px;
}

.plan-button-featured {
    border-color: var(--mint-deep);
    color: var(--white);
    background: var(--mint-deep);
}

.plan-button-featured:hover {
    border-color: var(--ink);
    background: var(--ink);
}

thead .plan-button {
    font-size: 12px;
}

tbody tr.is-hidden {
    display: none;
}

.page-footer {
    display: flex;
    justify-content: space-between;
    padding: 28px 0 34px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 650px) {
    .page-shell {
        width: min(100% - 32px, 1180px);
    }

    .page-header {
        padding-top: 23px;
        padding-bottom: 54px;
    }

    .eyebrow {
        margin-top: 54px;
    }

    .intro {
        font-size: 15px;
    }

    .comparison-heading {
        display: block;
    }

    .updated {
        margin-top: 13px;
    }

    .control-hint {
        margin-top: 8px;
    }

    .table-wrap {
        overflow: visible;
    }

    table {
        display: block;
        min-width: 0;
    }

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

    thead tr {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    thead th {
        min-width: 0;
        padding: 15px 8px;
        text-align: center;
    }

    thead th:first-child {
        grid-column: 1 / -1;
        width: auto;
        padding: 14px 12px;
        border-radius: 12px 12px 0 0;
        text-align: left;
    }

    thead th:first-child .difference-toggle {
        margin-bottom: 0;
        font-size: 13px;
    }

    thead th:first-child .header-label {
        display: none;
    }

    .header-label {
        font-size: 14px;
        line-height: 1.1;
    }

    thead small {
        display: none;
    }

    thead b {
        display: block;
        width: max-content;
        margin: 5px auto 0;
        padding: 3px 5px;
        font-size: 8px;
    }

    thead .plan-button {
        min-height: 34px;
        margin-top: 10px;
        padding: 6px 4px;
        font-size: 10px;
        line-height: 1.15;
    }

    tbody tr {
        padding: 13px 12px 14px;
        border-bottom: 1px solid var(--line);
    }

    tbody tr:last-child {
        border-bottom: 0;
    }

    tbody th {
        padding: 0 0 9px;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 16px;
    }

    tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 27px;
        padding: 3px 8px;
        color: #445359;
        font-size: 13px;
    }

    tbody td::before {
        color: var(--muted);
        font-size: 11px;
        font-weight: 600;
    }

    tbody td:nth-child(2)::before {
        content: 'Starter';
    }

    tbody td:nth-child(3)::before {
        content: 'Professional';
    }

    tbody td:nth-child(4)::before {
        content: 'Business';
    }

    tbody td.featured-cell {
        background: linear-gradient(90deg, rgba(217, 244, 231, .7), rgba(217, 244, 231, .25));
    }

    .page-footer {
        gap: 18px;
        line-height: 1.5;
    }
}