:root
{
    --sky: #f2fafc;
    --navy: #18384c;
    --aqua: #087c91;
    --deep: #175277;
}
*
{
    box-sizing: border-box;
}
body
{
    margin: 0;
    color: var(--navy);
    background: var(--sky);
    font: 15px/1.75 Arial, sans-serif;
}
a, button
{
    color: inherit;
}
.topbar
{
    background: var(--deep);
    color: white;
    font-size: 11px;
    text-align: center;
    padding: 10px 20px;
}
.topbar span
{
    opacity: .8;
    margin-left: 15px;
}
header
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 4%;
    background: white;
}
.brand
{
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    line-height: 1;
    color: var(--aqua);
}
.brand svg
{
    width: 24px;
    height: 30px;
    vertical-align: middle;
    margin-right: 7px;
}
.brand span
{
    font-size: 8px;
    letter-spacing: 3px;
    display: block;
    text-align: right;
    margin-top: 5px;
}
nav, .actions
{
    display: flex;
    gap: 25px;
    align-items: center;
}
nav a
{
    font-size: 12px;
    text-decoration: none;
}
.button
{
    display: inline-block;
    border-radius: 30px;
    background: var(--aqua);
    color: white;
    padding: 13px 22px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}
section
{
    padding: 90px max(5%, calc((100% - 1120px) / 2));
}
.hero
{
    position: relative;
    min-height: 750px;
    overflow: hidden;
}
.hero > img
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-copy
{
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    max-width: 580px;
    margin-top: 65px;
}
.caustics
{
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: .65;
    mix-blend-mode: soft-light;
    background-image: radial-gradient(38% 26% at 30% 40%, white 0%, transparent 60%), radial-gradient(28% 22% at 70% 55%, white 0%, transparent 60%), radial-gradient(22% 30% at 52% 22%, white 0%, transparent 60%);
    filter: blur(18px);
    animation: drift 18s ease-in-out infinite;
}
@keyframes drift
{
    50%
    {
        transform: scale(1.06) translate(2%, 3%);
    }
}
.label
{
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--aqua);
}
h1
{
    font-size: clamp(42px, 4.7vw, 65px);
    letter-spacing: -3px;
    line-height: 1.03;
    margin: 25px 0;
}
h1 span, h2 span
{
    color: var(--aqua);
}
.hero-copy > p:not(.label)
{
    max-width: 420px;
}
.actions
{
    font-size: 12px;
    gap: 20px;
    margin-top: 25px;
}
.fine
{
    font-size: 11px;
    color: #607684;
}
h2
{
    font-size: clamp(34px, 4vw, 51px);
    line-height: 1.15;
    letter-spacing: -2px;
    margin: 20px 0 40px;
}
.plans-section
{
    background: #e2f4f8;
    text-align: center;
}
.wave
{
    border-radius: 48% 12% 45% 8% / 35px 20px 35px 20px;
}
.plans, .thirds
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.plans article
{
    background: white;
    text-align: left;
    border-radius: 18px;
    padding: 30px;
    border: 1px solid #cfe7eb;
}
.plans article:hover
{
    background-image: radial-gradient(ellipse at bottom, #bcecf033, transparent 70%);
}
.plans h3
{
    font-size: 43px;
    margin: 22px 0;
    line-height: 1.2;
}
.plans h3 small
{
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 8px;
}
.plans ul
{
    padding-left: 17px;
    font-size: 12px;
    line-height: 2.5;
    min-height: 160px;
}
.plans .popular
{
    background: var(--aqua);
    color: white;
}
.popular .label
{
    color: #d7f9ff;
}
.popular .button
{
    background: white;
    color: var(--aqua);
}
.secondary
{
    background: #e4f3f5;
    color: var(--aqua);
}
.included
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.included p
{
    border-top: 2px solid #9ed5e0;
    padding-top: 20px;
    font-size: 14px;
}
.chemistry
{
    background: var(--deep);
    color: white;
}
.chemistry .label, .chemistry .fine
{
    color: #c1e9f2;
}
.chemistry strong
{
    font-size: 43px;
}
.chemistry strong small
{
    font-size: 16px;
}
.chemistry h3
{
    margin-bottom: 5px;
    font-size: 17px;
}
.chemistry article p
{
    font-size: 13px;
    color: #c9e2ec;
}
.extra-list
{
    max-width: 850px;
}
.extra-list p
{
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #c8dfe5;
    padding: 20px 0;
    margin: 0;
}
.extra-list b
{
    color: var(--aqua);
    font-size: 13px;
}
.rescue
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    background: #e2f4f8;
}
.comparison
{
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 20px;
}
.comparison img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#before
{
    position: absolute;
    inset: 0;
    clip-path: inset(0 50% 0 0);
    border-right: 1px solid white;
}
#before img
{
    filter: hue-rotate(260deg) saturate(.55) brightness(.65);
}
.before-label, .after-label
{
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 8px;
    background: #fff;
    padding: 5px;
}
.after-label
{
    left: auto;
    right: 15px;
}
.rescue label
{
    font-size: 12px;
}
input[type=range]
{
    display: block;
    width: 100%;
    accent-color: var(--aqua);
    margin-top: 15px;
}
output
{
    float: right;
    font-weight: 600;
}
.tabs
{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.tabs button
{
    border: 1px solid #bad6df;
    background: white;
    color: var(--deep);
    font: inherit;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
}
.tabs [aria-selected=true]
{
    color: white;
    background: var(--aqua);
}
#season-copy
{
    max-width: 750px;
    min-height: 100px;
    margin-top: 35px;
    font-size: 21px;
}
.reviews
{
    background: white;
}
blockquote
{
    margin: 20px 0;
    font-size: 18px;
    line-height: 1.65;
}
cite
{
    display: block;
    font: normal 10px/1.9 Arial, sans-serif;
    letter-spacing: 1px;
    margin-top: 20px;
    color: var(--aqua);
}
.towns
{
    font-size: 22px;
    line-height: 2;
    max-width: 900px;
}
details
{
    padding: 25px 0;
    border-top: 1px solid #bed7df;
    margin-top: 35px;
}
summary
{
    cursor: pointer;
}
.cta
{
    background: var(--aqua);
    color: white;
    text-align: center;
}
.cta .label, .cta .fine
{
    color: #d3f0f3;
}
.cta .button
{
    background: white;
    color: var(--aqua);
}
.phone
{
    display: block;
    font-size: 35px;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 25px;
}
footer
{
    background: white;
    padding: 60px 5%;
}
footer .brand
{
    display: inline-block;
    margin-bottom: 25px;
}
footer p, footer small
{
    font-size: 11px;
    color: #607684;
}
.mobile-call
{
    display: none;
}
:focus-visible
{
    outline: 3px solid #49b4d2;
    outline-offset: 4px;
}
@media (max-width: 767px)
{
    .topbar
    {
        font-size: 10px;
    }
    .topbar span
    {
        display: block;
        margin: 0;
    }
    header
    {
        padding: 20px 24px;
    }
    .brand
    {
        font-size: 22px;
    }
    header nav
    {
        display: none;
    }
    header .button
    {
        font-size: 10px;
        padding: 11px 15px;
    }
    section
    {
        padding: 65px 24px;
    }
    .hero
    {
        padding: 0;
        min-height: 0;
    }
    .hero > img
    {
        position: static;
        display: block;
        height: 300px;
    }
    .hero-copy
    {
        margin: 0;
        border-radius: 0;
        padding: 35px 24px;
    }
    h1
    {
        font-size: 44px;
        letter-spacing: -2px;
    }
    .actions
    {
        gap: 13px;
        font-size: 11px;
    }
    .plans, .thirds, .rescue
    {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .popular
    {
        order: -1;
    }
    .included
    {
        grid-template-columns: 1fr 1fr;
    }
    .extra-list
    {
        font-size: 13px;
    }
    .extra-list p
    {
        gap: 15px;
    }
    .comparison
    {
        height: 310px;
    }
    .tabs
    {
        gap: 8px;
    }
    .tabs button
    {
        padding: 11px 16px;
        font-size: 12px;
    }
    .mobile-call
    {
        position: sticky;
        bottom: 0;
        display: block;
        text-align: center;
        padding: 16px;
        background: var(--aqua);
        color: white;
        text-decoration: none;
        font-size: 12px;
    }
    footer nav
    {
        flex-wrap: wrap;
        gap: 15px;
    }
}
@media (prefers-reduced-motion: reduce)
{
    .caustics
    {
        animation: none;
    }
}
