/* My Life Insurance Plans — Stylesheet */

:root {
    --navy-900: #0f2547;
    --navy-800: #17325e;
    --navy-700: #1e3a68;
    --navy-600: #2a4f86;
    --navy-100: #eaf0f8;

    --green-700: #3f8a21;
    --green-600: #5bb030;
    --green-500: #6fc23e;
    --green-100: #e8f5dc;

    --ink: #101828;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #e4e7ec;
    --surface: #ffffff;
    --bg: #f7f9fc;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-pill: 9999px;

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.12);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-600); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px;
}

.brand img { height: 65px; width: auto; }

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--green-600);
    border-radius: var(--radius-pill);
    color: var(--navy-800);
    font-weight: 700;
    font-size: 16px;
    transition: background .2s, color .2s;
}

.header-phone svg { width: 18px; height: 18px; color: var(--green-600); }

.header-phone:hover { background: var(--green-600); color: #fff; }
.header-phone:hover svg { color: #fff; }

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    background-color: #eef5ee;
    background-image:
        linear-gradient(100deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.78) 30%, rgba(255, 255, 255, 0.35) 55%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0) 100%),
        url('/1/images/hero.webp');
    background-size: auto, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    padding: 56px 0 72px;
    overflow: hidden;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero-copy .hero-price {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--ink-soft);
    margin-bottom: 28px;
}

.hero-copy .hero-price strong { color: var(--green-700); font-weight: 700; }

.hero-bullets {
    list-style: none;
    display: grid;
    gap: 3px;
    margin-top: 24px;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    font-size: 15px;
}

.emphasis {
    color: var(--green-700);
    font-weight: 700;
}

.cta-section .emphasis { color: #b7ea88; }

.hero-bullets svg {
    width: 20px;
    height: 20px;
    color: var(--green-600);
    flex-shrink: 0;
}

.hero-photo-mobile { display: none; }

/* =========================================
   QUOTE CARD — refined editorial treatment
   ========================================= */
.quote-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    border: 1px solid rgba(15, 37, 71, 0.06);
    border-radius: 20px;
    padding: 36px 32px 32px;
    box-shadow:
        0 1px 2px rgba(15, 37, 71, 0.04),
        0 8px 24px rgba(15, 37, 71, 0.06),
        0 30px 60px -20px rgba(15, 37, 71, 0.18);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}

.quote-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 2px rgba(15, 37, 71, 0.04),
        0 12px 28px rgba(15, 37, 71, 0.08),
        0 36px 72px -22px rgba(15, 37, 71, 0.22);
}

.quote-card-header {
    text-align: left;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(15, 37, 71, 0.1);
}

.quote-card-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.quote-card-header p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
}

/* -----------------------------------------
   Field scaffolding
----------------------------------------- */
.form-field { margin-bottom: 16px; }

.form-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--navy-800);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.form-field:has(:required) label::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-600);
    margin-left: 2px;
}

.field-wrap { position: relative; }

/* Shared input base */
.form-field input,
.form-field select {
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-900);
    background: #ffffff;
    border: 1.5px solid rgba(15, 37, 71, 0.14);
    border-radius: 12px;
    padding: 15px 16px;
    letter-spacing: -0.005em;
    box-shadow:
        inset 0 1px 1px rgba(15, 37, 71, 0.03),
        0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        border-color .2s ease,
        box-shadow .25s ease,
        background-color .2s ease,
        transform .15s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-field input::placeholder {
    color: var(--muted);
    font-weight: 400;
}

/* Hover — subtle lift */
.form-field input:hover,
.form-field select:hover {
    border-color: rgba(15, 37, 71, 0.24);
    box-shadow:
        inset 0 1px 1px rgba(15, 37, 71, 0.03),
        0 2px 6px rgba(15, 37, 71, 0.06);
}

/* Focus — branded green halo with layered glow */
.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--green-600);
    background-color: #ffffff;
    box-shadow:
        inset 0 1px 1px rgba(15, 37, 71, 0.02),
        0 0 0 4px rgba(91, 176, 48, 0.14),
        0 6px 14px -4px rgba(91, 176, 48, 0.22);
}

/* Read-only display fields (e.g. State auto-filled from ZIP) */
.form-field--readonly input[readonly] {
    background-color: var(--navy-100);
    color: var(--ink);
    cursor: default;
}
.form-field--readonly input[readonly]:focus {
    border-color: var(--line);
    background-color: var(--navy-100);
    box-shadow: none;
}

/* -----------------------------------------
   Select — custom chevron + placeholder color
----------------------------------------- */
.form-field select {
    cursor: pointer;
    padding-right: 44px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1.25L7 6.75L13 1.25' stroke='%2317325e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 13px 8px;
}

.form-field select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1.25L7 6.75L13 1.25' stroke='%233f8a21' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Grey out the placeholder "Choose your state…" option while it's selected */
.form-field select:required:invalid { color: var(--muted); font-weight: 400; }
.form-field select option { color: var(--navy-900); font-weight: 500; }
.form-field select option[value=""] { color: var(--muted); }

/* IE arrow removal */
.form-field select::-ms-expand { display: none; }

/* -----------------------------------------
   Date input — tinted calendar indicator
----------------------------------------- */
.form-field input[type="date"] {
    padding-right: 44px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317325e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
    font-variant-numeric: tabular-nums;
}

/* Chrome/Safari: the native indicator becomes a transparent click target over our custom icon */
.form-field input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

/* Empty date shows muted "mm/dd/yyyy" text — match our placeholder tone */
.form-field input[type="date"]:not(:focus):invalid,
.form-field input[type="date"]:not(:focus):placeholder-shown {
    color: var(--muted);
}

.form-field input[type="date"]::-webkit-datetime-edit-text,
.form-field input[type="date"]::-webkit-datetime-edit-month-field,
.form-field input[type="date"]::-webkit-datetime-edit-day-field,
.form-field input[type="date"]::-webkit-datetime-edit-year-field {
    color: inherit;
    font-variant-numeric: tabular-nums;
}

/* Validation: check icon sits inside the input on the right */
.field-check {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 20px;
    height: 20px;
    color: var(--green-600);
    opacity: 0;
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}

.form-field.valid input,
.form-field.valid select {
    border-color: var(--green-600);
    background-color: #fff;
    padding-right: 40px;
}

.form-field.valid select { padding-right: 44px; }

.form-field.valid .field-check {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.form-field.invalid input,
.form-field.invalid select {
    border-color: #dc2626;
    background-color: #fff;
}

/* Gender radiogroup — valid/invalid painted on the toggle container */
.form-field[data-validate="gender"].invalid .gender-toggle label {
    border-color: #dc2626;
}

.form-field[data-validate="gender"].valid .gender-toggle label {
    border-color: var(--green-600);
}

/* Async validation: spinning indicator while zip is being looked up */
.field-spinner {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: var(--navy-700);
    opacity: 0;
    transform: translateY(-50%);
    pointer-events: none;
    animation: field-spin 0.9s linear infinite;
}

.form-field.checking .field-spinner {
    opacity: 1;
}

.form-field.checking .field-check {
    opacity: 0 !important;
}

.form-field.checking input {
    border-color: rgba(15, 37, 71, 0.28);
    padding-right: 40px;
}

@keyframes field-spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}

.field-error {
    display: none;
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

.form-field.invalid .field-error {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(180deg, #6dc33a 0%, #5bb030 50%, #4fa028 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    padding: 16px 28px;
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 6px 16px rgba(91, 176, 48, 0.28),
        0 1px 2px rgba(63, 138, 33, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #7acc44 0%, #66bd38 50%, #55a82d 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 10px 22px rgba(91, 176, 48, 0.36),
        0 2px 4px rgba(63, 138, 33, 0.45);
}

.btn-primary:hover::after { opacity: 1; }

.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(91, 176, 48, 0.25);
}

.btn-block { width: 100%; }

.btn-secondary {
    background: var(--navy-700);
    color: #fff;
}

.btn-secondary:hover { background: var(--navy-800); color: #fff; }

.btn-dark {
    background: var(--navy-900);
    color: #fff;
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-dark:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 37, 71, 0.2); }

/* Form steps */
.form-step { display: block; }
.form-step.hidden { display: none; }

/* Consent legal block */
.consent {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.55;
    margin: 14px 0 18px;
}

.consent a {
    color: var(--muted);
    text-decoration: underline;
    font-weight: 600;
}

/* "or call us" divider + phone link */
.or-call {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.or-call::before,
.or-call::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 37, 71, 0.14), transparent);
}

.call-link {
    display: block;
    text-align: center;
    color: var(--navy-800);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    transition: color .2s, transform .2s;
}

.call-link:hover {
    color: var(--green-700);
    transform: translateY(-1px);
}

.form-disclaimer {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 14px;
    line-height: 1.55;
}

.form-disclaimer a {
    color: var(--navy-700);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    font-weight: 500;
}

.form-disclaimer a:hover { color: var(--green-700); }

.form-disclaimer a { color: var(--navy-700); text-decoration: underline; }

/* =========================================
   SECTIONS (shared)
   ========================================= */
.section { padding: 72px 0; }
.section-alt { background: #fff; }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-head p {
    font-size: 17px;
    color: var(--ink-soft);
}

.prose {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
}

.prose p + p { margin-top: 16px; }

/* =========================================
   GUARANTEED ACCEPTANCE LIFE INSURANCE (Section 2)
   ========================================= */
.gal-section {
    background: linear-gradient(180deg, #f3f7ff 0%, #e7eefb 100%);
    padding: 72px 0;
}

.gal-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.gal-intro-text h2 {
    font-size: clamp(1.875rem, 3.4vw, 2.5rem);
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}

.gal-intro-text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 760px;
}

.gal-intro-icon {
    flex-shrink: 0;
}

.gal-intro-icon svg {
    width: 96px;
    height: 96px;
    display: block;
}

.gal-detail {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: 48px;
    align-items: start;
}

.gal-detail-side {
    border-left: 4px solid #c0392b;
    padding: 6px 0 6px 20px;
}

.gal-detail-side h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.25;
    letter-spacing: -0.005em;
    margin: 0;
}

.gal-detail-main h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.3;
    margin-bottom: 14px;
}

.gal-detail-main p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
}

@media (max-width: 720px) {
    .gal-section { padding: 48px 0; }
    .gal-intro {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
    }
    .gal-intro-icon { order: -1; }
    .gal-intro-icon svg { width: 72px; height: 72px; }
    .gal-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =========================================
   FEATURES (Section 3)
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--green-100);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon svg { width: 26px; height: 26px; color: var(--green-700); }

.feature h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.feature p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* =========================================
   HOW IT WORKS (Section 4)
   ========================================= */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 8px;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy-700);
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.step p { color: var(--ink-soft); font-size: 15px; }

.steps-cta {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    flex-wrap: wrap;
}

.steps-cta p {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.steps-cta small {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 6px;
}

.steps-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.steps-cta-terms {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.steps-cta-terms:hover {
    color: #fff;
}

/* =========================================
   TRUST BAR (Section 5)
   ========================================= */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.trust-col {
    text-align: center;
    padding: 0 12px;
}

.trust-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.trust-icon svg { width: 32px; height: 32px; color: var(--green-700); }

.trust-col h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.trust-col p { color: var(--ink-soft); font-size: 15px; }

/* =========================================
   FAQ (Section 6)
   ========================================= */
.faq {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .2s;
}

.faq-item.active { border-color: var(--green-600); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-900);
    cursor: pointer;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--navy-700);
    flex-shrink: 0;
    transition: transform .25s;
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================
   BOTTOM CTA (Section 7)
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: #fff;
    padding: 72px 0;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
}

.cta-section p {
    text-align: center;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.cta-form {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    color: var(--ink);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #0b1a33;
    color: #c3ccd9;
    text-align: center;
    padding: 48px 0 32px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-logo img {
    max-width: 220px;
    margin: 0 auto 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 0;
    margin-bottom: 24px;
}

.footer-nav li {
    padding: 0 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav li:last-child { border-right: none; }

.footer-nav a { color: #fff; font-weight: 500; }
.footer-nav a:hover { color: var(--green-500); }

.footer-disclaimer {
    max-width: 960px;
    margin: 0 auto 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    text-align: left;
}

.footer-disclaimer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}

.footer-disclaimer a:hover {
    color: #fff;
}

.footer-company {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.footer-validation {
    font-size: 12px;
    margin-bottom: 14px;
}

.footer-validation a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-validation a:hover { color: var(--green-500); }

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .trust-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps-cta { flex-direction: column; text-align: center; }
    .section { padding: 56px 0; }
    .hero {
        padding: 40px 0 56px;
        background: linear-gradient(180deg, #ffffff 0%, #eef5ee 100%);
    }
    .hero-grid { gap: 24px; }
    .hero-copy { order: 1; }
    .quote-card { order: 2; }
    .hero-photo-mobile {
        order: 3;
        display: block;
        width: calc(100% + 32px);
        margin: 8px -16px 0;
        height: 240px;
        background-image: url('/1/images/hero.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(15, 37, 71, 0.08);
    }
}

@media (max-width: 640px) {
    .brand img { height: 40px; }
    .header-phone { padding: 8px 14px; font-size: 14px; }
    .site-header .container { padding: 12px 16px; }
    .hero-copy h1 { font-size: 2rem; }
    .quote-card { padding: 22px; }
    .steps-cta { padding: 24px; }
}

/* =========================================
   LEGAL / SIMPLE PAGES
   ========================================= */
.legal-page { padding: 56px 0 72px; background: #fff; }
.legal-content { max-width: 1000px; margin: 0 auto; }
.legal-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 8px;
}
.legal-content .last-updated { color: var(--muted); margin-bottom: 24px; font-size: 14px; }
.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 32px 0 12px;
}
.legal-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy-800);
    margin: 20px 0 8px;
}
.legal-content p, .legal-content li {
    color: var(--ink-soft);
    line-height: 1.75;
    font-size: 15px;
}
.legal-content ul, .legal-content ol { padding-left: 24px; margin: 12px 0; }
.legal-content li { margin-bottom: 6px; }

.legal-content .highlight-box {
    background: var(--green-100);
    border-left: 4px solid var(--green-600);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.legal-content .highlight-box p {
    margin: 0;
    color: var(--navy-900);
    font-size: 14.5px;
    line-height: 1.65;
}

.legal-content .legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14px;
    line-height: 1.5;
}
.legal-content .legal-table td,
.legal-content .legal-table th {
    border: 1px solid var(--line);
    padding: 10px 12px;
    vertical-align: top;
}
.legal-content .legal-table tr:first-child td,
.legal-content .legal-table th {
    background: var(--navy-100);
    font-weight: 600;
}
.legal-content .legal-table p { margin: 0 0 6px; font-size: 14px; }
.legal-content .legal-table p:last-child { margin-bottom: 0; }

.legal-content .legal-form-embed {
    margin: 20px 0;
}
.legal-content .legal-form-embed iframe {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.legal-content .highlight-box p strong {
    color: var(--navy-900);
}

/* Thank-you page */
.thankyou {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 20px;
}
.thankyou-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.thankyou-icon svg { width: 40px; height: 40px; color: var(--green-700); }
.thankyou h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--navy-900);
    margin-bottom: 12px;
    font-weight: 800;
}
.thankyou p { color: var(--ink-soft); font-size: 17px; margin-bottom: 12px; }
.thankyou .call-cta {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-600);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 18px;
}
.thankyou .call-cta:hover { background: var(--green-700); color: #fff; }

/* =========================================
   /getquote PAGE — uses brand quote-card system
   ========================================= */
.quote-page {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8f3 100%);
    padding: 56px 0 72px;
}

.quote-page-head {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 44px;
}

.quote-page-head h1 {
    font-size: clamp(1.85rem, 3.4vw, 2.625rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy-900);
    margin-bottom: 14px;
}

.quote-page-head p {
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 720px;
    margin: 0 auto;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 28px;
    align-items: start;
}

/* -----------------------------------------
   Left: plan overview card — quieter sibling of quote-card
----------------------------------------- */
.plan-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    border: 1px solid rgba(15, 37, 71, 0.06);
    border-radius: 20px;
    padding: 28px;
    box-shadow:
        0 1px 2px rgba(15, 37, 71, 0.04),
        0 8px 24px rgba(15, 37, 71, 0.06),
        0 24px 48px -20px rgba(15, 37, 71, 0.12);
}

.plan-card-head {
    text-align: center;
}

.plan-card-head h2 {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.plan-card-head h2 .accent {
    color: var(--green-700);
    font-weight: 700;
}

.plan-tag {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--green-700);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.plan-subhead {
    font-size: 11px;
    font-weight: 700;
    color: var(--navy-800);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 24px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(15, 37, 71, 0.12);
}

.plan-list {
    list-style: none;
    padding: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plan-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.5;
}

.plan-list li > svg {
    width: 16px;
    height: 16px;
    color: var(--green-600);
    margin-top: 4px;
    flex-shrink: 0;
}

.plan-terms {
    display: inline-block;
    margin-top: 20px;
    color: var(--navy-700);
    font-weight: 600;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.plan-terms:hover { color: var(--green-700); }

.info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 4px;
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: help;
    color: var(--muted);
    transition: color .2s;
}

.info-tip:focus { outline: none; }
.info-tip:focus-visible {
    color: var(--green-700);
    outline: 2px solid rgba(91, 176, 48, 0.4);
    outline-offset: 2px;
    border-radius: 50%;
}

.info-tip svg {
    width: 14px;
    height: 14px;
    color: currentColor;
    pointer-events: none;
}

.info-tip:hover { color: var(--navy-700); }

/* Tooltip bubble */
.info-tip[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: max-content;
    max-width: 240px;
    padding: 9px 12px;
    background: var(--navy-900);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    white-space: normal;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 37, 71, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 20;
}

.info-tip[data-tip]::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 6px solid transparent;
    border-top-color: var(--navy-900);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 20;
}

.info-tip[data-tip]:hover::after,
.info-tip[data-tip]:hover::before,
.info-tip[data-tip]:focus-visible::after,
.info-tip[data-tip]:focus-visible::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* -----------------------------------------
   Right: form card — inherits .quote-card treatment
----------------------------------------- */
.quote-card--form {
    padding: 36px 36px 32px;
}

.quote-card--form .quote-card-header h2 {
    font-size: 1.5rem;
}

.quote-full-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Form-field margin is collapsed when it's inside a quote-row, since the row gap handles spacing */
.quote-row .form-field {
    margin-bottom: 0;
}

/* Gender toggle — refined, palette-aligned segmented control */
.gender-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gender-toggle input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gender-toggle label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-800);
    background: #ffffff;
    border: 1.5px solid rgba(15, 37, 71, 0.14);
    border-radius: 12px;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .12s;
    letter-spacing: 0;
    text-transform: none;
    margin: 0;
    box-shadow:
        inset 0 1px 1px rgba(15, 37, 71, 0.03),
        0 1px 0 rgba(255, 255, 255, 0.9);
}

.gender-toggle label:hover {
    border-color: rgba(15, 37, 71, 0.24);
    transform: translateY(-1px);
}

.gender-toggle input[type="radio"]:checked + label {
    background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
    color: #fff;
    border-color: var(--navy-800);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 4px 12px rgba(15, 37, 71, 0.2);
}

.gender-toggle input[type="radio"]:focus-visible + label {
    box-shadow:
        inset 0 0 0 2px var(--green-600),
        0 0 0 4px rgba(91, 176, 48, 0.18);
}

/* Legal consent */
.quote-consent {
    margin-top: 36px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 1180px;
}

.quote-consent a {
    color: var(--navy-700);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.quote-consent a:hover { color: var(--green-700); }

/* Responsive */
@media (max-width: 900px) {
    .quote-layout { grid-template-columns: 1fr; gap: 24px; }
    .plan-card { max-width: 420px; margin: 0 auto; order: 2;}	
}

@media (max-width: 640px) {
    .quote-card--form { padding: 28px 22px 24px; }
    .quote-row { grid-template-columns: 1fr; gap: 14px; }
    .quote-page { padding: 32px 0 56px; }
    .quote-page-head h1 br { display: none; }
}

/* =========================================
   PRODUCT TERMS MODAL
   ========================================= */
.pt-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pt-modal.is-open { display: flex; animation: pt-fade .2s ease; }

body.pt-locked { overflow: hidden; }

.pt-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 37, 71, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.pt-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(15, 37, 71, 0.05),
        0 20px 60px rgba(15, 37, 71, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: pt-pop .25s cubic-bezier(.2,.9,.2,1);
}

@keyframes pt-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pt-pop {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.pt-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px dashed rgba(15, 37, 71, 0.12);
}

.pt-modal__header h2 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.01em;
    margin: 0;
}

.pt-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(15, 37, 71, 0.12);
    color: var(--navy-800);
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
}

.pt-modal__close svg { width: 16px; height: 16px; }

.pt-modal__close:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
    transform: rotate(90deg);
}

.pt-modal__controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: #f7f9fc;
    border-bottom: 1px solid rgba(15, 37, 71, 0.06);
}

.pt-modal__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--navy-800);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.pt-modal__select-wrap {
    flex: 1;
    position: relative;
}

.pt-modal__select {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-900);
    background: #fff;
    border: 1.5px solid rgba(15, 37, 71, 0.14);
    border-radius: 10px;
    padding: 10px 44px 10px 14px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1.25L7 6.75L13 1.25' stroke='%2317325e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 7px;
    transition: border-color .2s, box-shadow .2s;
}

.pt-modal__select:hover { border-color: rgba(15, 37, 71, 0.28); }
.pt-modal__select:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(91, 176, 48, 0.14);
}

.pt-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 28px 28px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

.pt-modal__body h2.pt-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.01em;
    margin: 0 0 4px;
}

.pt-modal__body p.pt-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-700);
    margin: 0 0 18px;
}

.pt-modal__body h3.pt-section {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-900);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 22px 0 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 37, 71, 0.08);
}

.pt-modal__body h3.pt-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.pt-modal__body p {
    margin: 0 0 10px;
}

.pt-modal__loading,
.pt-modal__error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.pt-modal__loading svg {
    width: 18px;
    height: 18px;
    animation: field-spin 0.9s linear infinite;
}

.pt-modal__error { color: #dc2626; }

@media (max-width: 640px) {
    .pt-modal { padding: 12px; }
    .pt-modal__dialog { max-height: calc(100vh - 24px); border-radius: 16px; }
    .pt-modal__header { padding: 16px 18px 14px; }
    .pt-modal__controls { padding: 14px 18px; flex-wrap: wrap; gap: 10px; }
    .pt-modal__body { padding: 18px 20px 22px; }
}

.form-product-terms {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
}

.form-product-terms a {
    color: var(--navy-700);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.form-product-terms a:hover { color: var(--green-700); }

/* =========================================
   RESPONSIVE CLEANUP (additive fixes)
   ========================================= */

/* Footer: pipe separators become visual clutter once nav wraps — stack cleanly on phones */
@media (max-width: 768px) {
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .footer-nav li {
        border-right: none;
        padding: 0;
    }
    .footer-nav a { padding: 4px 8px; }
    .footer-disclaimer { font-size: 11.5px; }
    .footer-logo img { max-width: 180px; }
}

/* Hero + Section 7 CTA form at tablet-down */
@media (max-width: 768px) {
    .cta-section { padding: 56px 0; }
    .cta-form { padding: 20px; }
    .steps-cta { padding: 24px 20px; }
    .steps-cta p { font-size: 1rem; text-align: center; }
}

/* Phones ≤ 640 — small refinements layered on top of the existing block */
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .hero { padding: 32px 0 48px; }
    .hero-grid { gap: 28px; }
    .hero-copy h1 { font-size: 1.875rem; line-height: 1.15; }
    .hero-copy .hero-price { font-size: 1.0625rem; margin-bottom: 20px; }
    .hero-bullets li { font-size: 14px; }
    .quote-card-header h2 { font-size: 1.4rem; }
    .call-link { font-size: 22px; }
    .form-disclaimer { font-size: 11.5px; }

    .section { padding: 44px 0; }
    .section-head { margin-bottom: 28px; }
    .section-head h2 { font-size: 1.5rem; }
    .section-head p { font-size: 15px; }

    .feature { padding: 22px; }
    .features-grid { gap: 14px; }

    .steps-cta-action { width: 100%; }
    .steps-cta-action .btn { width: 100%; }

    .trust-icon { width: 56px; height: 56px; margin-bottom: 14px; }
    .trust-icon svg { width: 28px; height: 28px; }

    .faq-question { font-size: 15px; padding: 16px 18px; }
    .faq-answer p { padding: 0 18px 16px; }

    .cta-section h2 { font-size: 1.5rem; }
    .cta-section p { font-size: 15px; }

    /* /getquote page */
    .quote-page-head h1 { font-size: 1.625rem; }
    .quote-page-head p { font-size: 15px; }
    .plan-card { padding: 22px; }
    .plan-card-head h2 { font-size: 1.25rem; }
    .quote-card--form .quote-card-header h2 { font-size: 1.25rem; }
    .quote-card--form .quote-card-header p { font-size: 13.5px; }
    .gender-toggle label { padding: 12px 6px; font-size: 14px; }
    .form-field label { font-size: 10.5px; }
    .form-field input,
    .form-field select { font-size: 16px; padding: 13px 14px; }
    .form-field select { padding-right: 40px; }

    /* Info-tip tooltip: narrow the bubble to avoid right-edge clipping */
    .info-tip[data-tip]::after {
        max-width: 200px;
        font-size: 11.5px;
        padding: 8px 10px;
    }

    /* Legal pages */
    .legal-page { padding: 32px 0 48px; }
    .legal-content h2 { font-size: 1.125rem; margin-top: 24px; }
    .legal-content p, .legal-content li { font-size: 14px; line-height: 1.7; }
    .legal-content .highlight-box { padding: 14px 16px; }

    /* Modal */
    .pt-modal__controls { flex-direction: column; align-items: stretch; }
    .pt-modal__label { text-align: left; }
}

/* Very small phones (≤ 420px) — prevent header overflow, tighten big type */
@media (max-width: 420px) {
    .site-header .container { padding: 8px 14px; gap: 10px; }
    .brand img { height: 34px; }
    .header-phone {
        padding: 7px 12px;
        font-size: 13px;
        gap: 6px;
        border-width: 1.25px;
    }
    .header-phone svg { width: 15px; height: 15px; }

    .hero-copy h1 { font-size: 1.625rem; }
    .hero-copy .hero-price { font-size: 1rem; }
    .quote-card { padding: 18px; }
    .quote-card-header { margin-bottom: 18px; padding-bottom: 14px; }
    .call-link { font-size: 20px; }

    .plan-card { padding: 18px; }
    .quote-card--form { padding: 22px 18px 20px; }
    .quote-row { gap: 12px; }

    .btn-primary { padding: 14px 20px; font-size: 14px; }

    .pt-modal__header h2 { font-size: 1rem; }
    .pt-modal__body { font-size: 14px; }
    .pt-modal__body h2.pt-title { font-size: 1.125rem; }
    .pt-modal__body h3.pt-section { font-size: 0.875rem; margin-top: 18px; }
}

/* Horizontal-scroll safety net — catches any rogue overflow */
html, body { overflow-x: hidden; }
