:root {
    --bg: #eef8f1;
    --bg-hero: #d8f2df;
    --surface: #ffffff;
    --surface-soft: #f7fbf8;
    --text: #112318;
    --muted: #5d6e63;
    --line: #d9e8dc;
    --line-strong: #c8dccd;
    --brand: #13aa60;
    --brand-dark: #0f8a4f;
    --brand-deep: #0d683d;
    --shadow: 0 20px 60px rgba(17, 35, 24, 0.06);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f5fcf6 0%, var(--bg) 100%);
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.page-shell {
    width: min(var(--container), calc(100% - 32px));
    margin: 18px auto 72px;
}

.topbar {
    position: sticky;
    top: 14px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(17, 35, 24, 0.05);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand__mark {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #29c776 0%, #84e3a8 100%);
}
.brand__mark::before,
.brand__mark::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: #ffffff;
}
.brand__mark::before {
    left: 10px;
    top: 13px;
    width: 24px;
    height: 4px;
    transform: rotate(-26deg);
}
.brand__mark::after {
    left: 16px;
    top: 21px;
    width: 16px;
    height: 4px;
    transform: rotate(-26deg);
}

.brand__text { display: grid; gap: 2px; }
.brand__text strong,
.hero h1,
.lead-card h2,
.section-head h2,
.feature-card h3,
.widget-placeholder h3,
.quote-aside h3,
.info-card h3,
.faq-card h3,
.footer__copy strong,
.legal-page h1,
.legal-page h2 {
    font-family: "Space Grotesk", sans-serif;
}
.brand__text small,
.topbar__link,
.hero__lead,
.section-head p,
.feature-card p,
.widget-placeholder p,
.quote-aside p,
.info-card p,
.faq-card p,
.footer p,
.footer__meta a,
.quote-summary small,
.lead-card__legal,
.widget-shell__note,
.legal-page p,
.legal-page li,
.contact-card p,
.contact-card__note {
    color: var(--muted);
    line-height: 1.65;
}

.topbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.topbar__link {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 999px;
}
.topbar__link:hover { background: rgba(19, 170, 96, 0.08); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary {
    color: #ffffff;
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
    box-shadow: 0 14px 30px rgba(19, 170, 96, 0.2);
}
.button--secondary,
.button--ghost {
    background: #ffffff;
    color: var(--text);
    border-color: var(--line-strong);
}
.button--full { width: 100%; }

.eyebrow,
.widget-pill,
.insurers-strip__row span,
.benefit-card__kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
}
.eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-deep);
    background: rgba(19, 170, 96, 0.12);
    border: 1px solid rgba(19, 170, 96, 0.12);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 18px;
    margin-top: 20px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--bg-hero) 0%, #e6f6ea 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
}
.hero h1 {
    margin: 16px 0 14px;
    max-width: 11ch;
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}
.hero__lead {
    max-width: 620px;
    font-size: 18px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.hero__points {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.hero__points li,
.check-list li {
    position: relative;
    padding-left: 28px;
    line-height: 1.55;
}
.hero__points li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(19, 170, 96, 0.14);
    box-shadow: inset 0 0 0 4px rgba(19, 170, 96, 0.28);
}

.hero__panel { display: flex; }
.lead-card,
.feature-card,
.widget-shell,
.quote-aside__card,
.info-card,
.faq-card,
.contact-card,
.legal-page__sheet {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.lead-card {
    width: 100%;
    padding: 22px;
    border-radius: 28px;
}
.lead-card__eyebrow {
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.lead-card h2 {
    margin: 10px 0 18px;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}
.lead-form {
    display: grid;
    gap: 12px;
}
.lead-form label,
.contact-card__form { display: grid; gap: 8px; }
.lead-form span {
    font-size: 14px;
    font-weight: 700;
}
.lead-form input,
.contact-card__field,
.contact-card__textarea {
    min-height: 56px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: #ffffff;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.lead-form input:focus,
.contact-card__field:focus,
.contact-card__textarea:focus {
    border-color: rgba(19, 170, 96, 0.45);
    box-shadow: 0 0 0 4px rgba(19, 170, 96, 0.1);
}
.contact-card__textarea {
    min-height: 132px;
    padding: 16px;
    resize: vertical;
}

.quote-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}
.summary-item {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}
.summary-item strong { font-size: 14px; line-height: 1.45; }
.lead-card__legal { margin: 16px 0 0; font-size: 13px; }

.insurers-strip {
    margin-top: 16px;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.72);
}
.insurers-strip__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}
.insurers-strip__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.insurers-strip__row span,
.widget-pill,
.benefit-card__kicker {
    font-size: 13px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--line);
}
.widget-pill--soft {
    color: var(--brand-deep);
    background: rgba(19, 170, 96, 0.1);
    border-color: rgba(19, 170, 96, 0.14);
}

.section {
    margin-top: 22px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
}
.section-head {
    max-width: 760px;
    margin-bottom: 20px;
}
.section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 20px;
    max-width: none;
}
.section-head h2 {
    margin: 12px 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 16px;
    align-items: start;
}
.widget-shell {
    padding: 18px;
    border-radius: 28px;
}
.widget-shell__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.widget-canvas {
    min-height: 620px;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
}
.widget-canvas--active,
.widget-canvas--embedded {
    border-color: rgba(19, 170, 96, 0.25);
}
.widget-canvas iframe {
    display: block;
    width: 100%;
    min-height: 650px;
    border: 0;
}
.widget-placeholder {
    display: grid;
    place-items: center;
    min-height: 620px;
    padding: 28px;
    text-align: center;
    background: linear-gradient(180deg, #fafdfb 0%, #f4fbf6 100%);
}
.widget-placeholder__copy {
    max-width: 420px;
}
.widget-placeholder__label {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-deep);
}
.widget-shell__note {
    margin: 12px 0 0;
    font-size: 13px;
}
.quote-aside { display: grid; }
.quote-aside__card {
    padding: 22px;
    border-radius: 24px;
}
.check-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.feature-grid,
.info-grid,
.faq-grid,
.contact-grid {
    display: grid;
    gap: 16px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-grid--two,
.faq-grid,
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card,
.info-card,
.faq-card,
.contact-card {
    padding: 22px;
    border-radius: 24px;
}
.info-card--soft { background: var(--surface-soft); }
.feature-card h3,
.widget-placeholder h3,
.quote-aside h3,
.info-card h3,
.faq-card h3,
.contact-card h2,
.legal-page h2 {
    margin: 10px 0 8px;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.footer {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 24px;
    margin-top: 22px;
    padding: 24px 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, #163025 0%, #10251c 100%);
    color: #f4fff8;
}
.footer .eyebrow {
    color: #b7f0cb;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}
.footer p { color: rgba(244, 255, 248, 0.72); }
.footer__meta {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 10px;
}
.footer__meta a { color: rgba(244, 255, 248, 0.88); }

.legal-page {
    min-height: 100vh;
    padding: 32px 16px 72px;
    background: linear-gradient(180deg, #f5fcf6 0%, var(--bg) 100%);
}
.legal-page__back {
    display: inline-flex;
    margin: 0 auto 16px;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    font-weight: 700;
}
.legal-page__sheet {
    width: min(860px, 100%);
    margin: 0 auto;
    padding: 32px;
    border-radius: 28px;
}
.legal-page h1 {
    margin: 16px 0 10px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1;
    letter-spacing: -0.05em;
}
.legal-page ul { padding-left: 20px; }
.contact-card__meta {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}
.contact-card__meta strong {
    display: block;
    margin-bottom: 6px;
}

@media (max-width: 1080px) {
    .hero,
    .section-head--split,
    .quote-layout,
    .feature-grid,
    .info-grid--two,
    .faq-grid,
    .contact-grid,
    .footer {
        grid-template-columns: 1fr;
    }
    .hero h1 { max-width: none; }
}

@media (max-width: 820px) {
    .page-shell {
        width: min(var(--container), calc(100% - 20px));
        margin-bottom: 56px;
    }
    .topbar {
        position: static;
        border-radius: 24px;
        padding: 16px;
    }
    .topbar__actions {
        width: 100%;
        justify-content: flex-start;
    }
    .hero,
    .section,
    .footer,
    .lead-card,
    .widget-shell,
    .feature-card,
    .quote-aside__card,
    .info-card,
    .faq-card,
    .contact-card,
    .legal-page__sheet {
        padding: 20px;
        border-radius: 22px;
    }
    .quote-summary { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .button,
    .lead-form input,
    .contact-card__field,
    .contact-card__textarea {
        width: 100%;
    }
    .hero h1,
    .lead-card h2,
    .section-head h2,
    .legal-page h1 {
        letter-spacing: -0.04em;
    }
}
