.home-analytics-landing {
    --ha-blue: #0b6ef3;
    --ha-blue-dark: #0754c7;
    --ha-navy: #0f1b3d;
    --ha-text: #1e293b;
    --ha-muted: #64748b;
    --ha-bg: #f6f9fc;
    --ha-border: #e2e8f0;
    --ha-green: #16a34a;
    --ha-red: #ef4444;
    --ha-purple: #7c3aed;
    --ha-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    --hdl-ai-chat-bottom-mobile: 86px;
    background: var(--ha-bg);
}

.ha-landing,
.ha-landing * {
    box-sizing: border-box;
}

.ha-landing {
    background:
        radial-gradient(circle at 80% 4%, rgba(11, 110, 243, 0.12), transparent 24rem),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 36%, #f6f9fc 100%);
    color: var(--ha-text);
    overflow: hidden;
}

.ha-container {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 24px;
    width: 100%;
}

.ha-kicker {
    color: var(--ha-blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.ha-hero {
    padding: 34px 0 26px;
    position: relative;
}

.ha-hero::after {
    background: linear-gradient(90deg, rgba(11, 110, 243, 0.08), rgba(124, 58, 237, 0.06));
    content: "";
    height: 1px;
    inset: auto 0 0;
    position: absolute;
}

.ha-hero__grid {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
}

.ha-hero__content {
    min-width: 0;
    padding: 22px 0 34px;
}

.ha-hero h1 {
    color: var(--ha-navy);
    font-size: 3.42rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0 0 16px;
    max-width: 620px;
}

.ha-hero h1 span {
    color: var(--ha-blue);
    display: block;
}

.ha-hero__copy {
    color: #273449;
    font-size: 1.04rem;
    font-weight: 650;
    line-height: 1.48;
    margin: 0 0 22px;
    max-width: 590px;
}

.ha-address-form {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 650px;
}

.ha-address-form__field {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 9px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    display: flex;
    gap: 10px;
    min-height: 52px;
    padding: 0 14px;
}

.ha-address-form__icon {
    color: #94a3b8;
    display: inline-flex;
    flex: 0 0 auto;
}

.ha-address-form svg {
    height: 20px;
    width: 20px;
}

.ha-address-form input[type="text"] {
    background: transparent;
    border: 0;
    color: var(--ha-text);
    flex: 1 1 auto;
    font: 700 0.84rem/1.2 var(--font-sans);
    min-width: 0;
    outline: 0;
}

.ha-address-form input::placeholder {
    color: #8a97aa;
    font-size: 0.84rem;
    opacity: 1;
}

.ha-button {
    align-items: center;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    display: inline-flex;
    font: 900 0.96rem/1 var(--font-sans);
    gap: 10px;
    justify-content: center;
    letter-spacing: 0;
    min-height: 52px;
    padding: 0 22px;
    text-align: center;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.ha-button svg {
    flex: 0 0 auto;
    height: 19px;
    width: 19px;
}

.ha-button--primary {
    background: var(--ha-blue);
    box-shadow: 0 14px 28px rgba(11, 110, 243, 0.24);
    color: #ffffff !important;
}

.ha-button--primary:hover,
.ha-button--primary:focus-visible {
    background: var(--ha-blue-dark);
    color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.ha-button--secondary {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    color: var(--ha-blue) !important;
}

.ha-button--secondary:hover,
.ha-button--secondary:focus-visible {
    background: #eff6ff;
    color: var(--ha-blue-dark) !important;
    outline: none;
}

.ha-sample-link {
    color: var(--ha-muted);
    font-size: 0.92rem;
    font-weight: 800;
    margin: 12px 0 0;
}

.ha-sample-link a {
    align-items: center;
    color: var(--ha-blue);
    display: inline-flex;
    gap: 5px;
}

.ha-sample-link svg {
    height: 15px;
    width: 15px;
}

.ha-report-preview {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(214, 226, 241, 0.96);
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
    min-width: 0;
    padding: 18px;
    position: relative;
}

.ha-report-preview::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0)),
        url("/assets/images/home-analysis-preview-house.webp") center/cover;
    border-radius: 18px;
    content: "";
    inset: 0;
    opacity: 0.09;
    position: absolute;
}

.ha-report-preview > * {
    position: relative;
    z-index: 1;
}

.ha-report-preview__top {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 0.72fr) minmax(190px, 1fr);
    margin-bottom: 14px;
}

.ha-report-preview__top div {
    align-self: start;
    padding: 6px 0 0;
}

.ha-report-preview__top p,
.ha-report-preview__top span {
    color: var(--ha-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.28;
    margin: 0;
}

.ha-report-preview__top strong {
    color: var(--ha-navy);
    display: block;
    font-size: 1.06rem;
    line-height: 1.15;
    margin: 2px 0;
}

.ha-report-preview__top img {
    aspect-ratio: 16 / 7;
    border-radius: 11px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.ha-metric-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1.18fr repeat(3, 0.94fr);
    margin-bottom: 14px;
}

.ha-metric-card {
    background: #ffffff;
    border: 1px solid var(--ha-border);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    min-width: 0;
    padding: 14px;
}

.ha-metric-card span {
    color: #536175;
    display: block;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.18;
    margin-bottom: 6px;
}

.ha-metric-card strong {
    color: var(--ha-navy);
    display: block;
    font-size: 1.24rem;
    font-weight: 950;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.ha-metric-card strong small {
    color: var(--ha-muted);
    font-size: 0.58em;
    font-weight: 900;
}

.ha-metric-card > small {
    color: #64748b;
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    margin-top: 6px;
}

.ha-metric-positive {
    color: var(--ha-green) !important;
}

.ha-sparkline {
    align-items: end;
    display: flex;
    gap: 4px;
    height: 22px;
    margin-top: 9px;
}

.ha-sparkline span {
    background: linear-gradient(180deg, #60a5fa, var(--ha-blue));
    border-radius: 999px;
    flex: 1 1 0;
    margin: 0;
    min-width: 8px;
}

.ha-sparkline span:nth-child(1) { height: 7px; }
.ha-sparkline span:nth-child(2) { height: 10px; }
.ha-sparkline span:nth-child(3) { height: 12px; }
.ha-sparkline span:nth-child(4) { height: 15px; }
.ha-sparkline span:nth-child(5) { height: 21px; }

.ha-report-preview__bottom {
    display: grid;
    gap: 12px;
    grid-template-columns: 0.94fr 1.06fr;
}

.ha-breakdown-card,
.ha-forecast-card {
    background: #ffffff;
    border: 1px solid var(--ha-border);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
    min-width: 0;
    padding: 15px;
}

.ha-breakdown-card h3,
.ha-forecast-card h3 {
    color: var(--ha-navy);
    font-size: 0.86rem;
    font-weight: 950;
    line-height: 1.2;
    margin: 0 0 12px;
}

.ha-donut {
    background: conic-gradient(#2563eb 0 48%, #7c3aed 48% 63%, #06b6d4 63% 74%, #16a34a 74% 86%, #f59e0b 86% 100%);
    border-radius: 50%;
    float: left;
    height: 76px;
    margin: 0 14px 10px 0;
    position: relative;
    width: 76px;
}

.ha-donut::after {
    background: #ffffff;
    border-radius: 50%;
    content: "";
    inset: 18px;
    position: absolute;
}

.ha-breakdown-card ul {
    display: grid;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ha-breakdown-card li {
    align-items: center;
    color: #475569;
    display: grid;
    font-size: 0.73rem;
    font-weight: 800;
    gap: 6px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    line-height: 1.2;
}

.ha-breakdown-card li span {
    background: var(--dot);
    border-radius: 999px;
    height: 8px;
    width: 8px;
}

.ha-breakdown-card strong {
    color: var(--ha-navy);
    font-size: 0.72rem;
}

.ha-forecast-card__summary {
    align-items: baseline;
    display: flex;
    gap: 14px;
    margin-bottom: 8px;
}

.ha-forecast-card__summary strong {
    color: var(--ha-navy);
    font-size: 1.18rem;
    font-weight: 950;
}

.ha-forecast-card__summary span {
    color: var(--ha-green);
    font-size: 0.84rem;
    font-weight: 950;
}

.ha-forecast-card svg {
    display: block;
    height: auto;
    width: 100%;
}

.ha-trust-strip {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--ha-border);
}

.ha-trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 62px;
}

.ha-trust-item {
    align-items: center;
    border-right: 1px solid #e8eef6;
    color: #1f2d45;
    display: flex;
    font-size: 0.86rem;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    min-width: 0;
    padding: 15px 10px;
    text-align: center;
}

.ha-trust-item:first-child {
    border-left: 1px solid #e8eef6;
}

.ha-trust-item svg {
    color: #56657a;
    flex: 0 0 auto;
    height: 21px;
    width: 21px;
}

.ha-section {
    padding: 44px 0;
}

.ha-section-heading {
    margin: 0 auto 24px;
    max-width: 660px;
    text-align: center;
}

.ha-section-heading h2,
.ha-sample-copy h2,
.ha-final-cta h2 {
    color: var(--ha-navy);
    font-size: 1.8rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.14;
    margin: 0;
}

.ha-inside-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ha-inside-card {
    background: #ffffff;
    border: 1px solid var(--ha-border);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    min-width: 0;
    padding: 22px 18px;
}

.ha-icon-badge {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 15px;
    width: 48px;
}

.ha-icon-badge svg {
    height: 24px;
    width: 24px;
}

.ha-inside-card--blue .ha-icon-badge {
    background: #eaf3ff;
    color: var(--ha-blue);
}

.ha-inside-card--red .ha-icon-badge {
    background: #fff1f2;
    color: var(--ha-red);
}

.ha-inside-card--green .ha-icon-badge {
    background: #ecfdf3;
    color: var(--ha-green);
}

.ha-inside-card--purple .ha-icon-badge {
    background: #f5f0ff;
    color: var(--ha-purple);
}

.ha-inside-card h3,
.ha-step h3,
.ha-perfect-grid h3,
.ha-sample-risks h3 {
    color: var(--ha-navy);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.18;
    margin: 0 0 8px;
}

.ha-inside-card p,
.ha-step p,
.ha-perfect-grid p,
.ha-sample-copy p {
    color: var(--ha-muted);
    font-size: 0.91rem;
    font-weight: 650;
    line-height: 1.48;
    margin: 0;
}

.ha-section--steps {
    background: #ffffff;
    border-bottom: 1px solid var(--ha-border);
    border-top: 1px solid var(--ha-border);
}

.ha-steps {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 820px;
    position: relative;
}

.ha-steps::before {
    border-top: 2px dashed #bfdbfe;
    content: "";
    left: 16%;
    position: absolute;
    right: 16%;
    top: 36px;
}

.ha-step {
    min-width: 0;
    padding: 0 10px;
    position: relative;
    text-align: center;
}

.ha-step__number {
    align-items: center;
    background: var(--ha-blue);
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 950;
    height: 30px;
    justify-content: center;
    margin: 0 auto 8px;
    position: relative;
    width: 30px;
    z-index: 1;
}

.ha-step__icon {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    color: var(--ha-blue);
    display: inline-flex;
    height: 54px;
    justify-content: center;
    margin: 0 auto 12px;
    width: 54px;
}

.ha-step__icon svg {
    height: 28px;
    width: 28px;
}

.ha-section--sample {
    padding: 52px 0;
}

.ha-sample-grid {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 0.72fr) minmax(430px, 1fr);
}

.ha-sample-copy h2 {
    margin-bottom: 10px;
}

.ha-sample-copy > p {
    max-width: 460px;
}

.ha-check-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 20px 0 22px;
    padding: 0;
}

.ha-check-list li {
    align-items: center;
    color: #334155;
    display: flex;
    font-size: 0.94rem;
    font-weight: 850;
    gap: 10px;
}

.ha-check-list svg {
    background: #eff6ff;
    border-radius: 50%;
    color: var(--ha-blue);
    flex: 0 0 auto;
    height: 22px;
    padding: 4px;
    width: 22px;
}

.ha-sample-card {
    background: #ffffff;
    border: 1px solid var(--ha-border);
    border-radius: 16px;
    box-shadow: var(--ha-shadow);
    min-width: 0;
    padding: 22px;
}

.ha-sample-card__head {
    align-items: start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ha-sample-card__head span,
.ha-sample-stats span,
.ha-sample-risks span {
    color: var(--ha-muted);
    display: block;
    font-size: 0.75rem;
    font-weight: 850;
    line-height: 1.22;
}

.ha-sample-card__head strong {
    color: var(--ha-green);
    display: block;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1.1;
    margin-top: 3px;
}

.ha-shield {
    align-items: center;
    background: #ecfdf3;
    border-radius: 50%;
    color: var(--ha-green) !important;
    display: inline-flex !important;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.ha-shield svg {
    height: 24px;
    width: 24px;
}

.ha-sample-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
}

.ha-sample-stats div,
.ha-sample-risks div {
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 10px;
    min-width: 0;
    padding: 12px;
}

.ha-sample-stats strong,
.ha-sample-risks strong {
    color: var(--ha-navy);
    display: block;
    font-size: 0.96rem;
    font-weight: 950;
    line-height: 1.2;
    margin-top: 4px;
}

.ha-sample-risks {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ha-sample-risks h3 {
    grid-column: 1 / -1;
}

.ha-sample-chart {
    align-items: end;
    display: flex;
    gap: 8px;
    height: 66px;
    margin-top: 16px;
}

.ha-sample-chart span {
    background: linear-gradient(180deg, #bfdbfe, var(--ha-blue));
    border-radius: 999px 999px 4px 4px;
    flex: 1;
}

.ha-sample-chart span:nth-child(1) { height: 24px; }
.ha-sample-chart span:nth-child(2) { height: 31px; }
.ha-sample-chart span:nth-child(3) { height: 38px; }
.ha-sample-chart span:nth-child(4) { height: 46px; }
.ha-sample-chart span:nth-child(5) { height: 62px; }

.ha-section--perfect {
    padding-top: 40px;
}

.ha-perfect-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ha-perfect-grid article {
    align-items: start;
    background: #ffffff;
    border: 1px solid var(--ha-border);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px;
}

.ha-perfect-grid article > span {
    align-items: center;
    background: #eff6ff;
    border-radius: 50%;
    color: var(--ha-blue);
    display: inline-flex;
    grid-row: span 2;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.ha-perfect-grid article > span svg {
    height: 22px;
    width: 22px;
}

.ha-final-cta {
    padding: 16px 0 34px;
}

.ha-final-cta__inner {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
        linear-gradient(135deg, #dbeafe 0%, #eef6ff 55%, #f2f7ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(11, 110, 243, 0.11);
    display: grid;
    gap: 20px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 24px;
}

.ha-final-cta__icon {
    align-items: center;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 50%;
    color: var(--ha-blue);
    display: inline-flex;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.ha-final-cta__icon svg {
    height: 34px;
    width: 34px;
}

.ha-final-cta h2 {
    font-size: 1.45rem;
    margin-bottom: 7px;
}

.ha-final-cta p {
    color: #334155;
    font-size: 0.94rem;
    font-weight: 760;
    line-height: 1.42;
    margin: 0 0 5px;
}

.ha-final-cta small {
    color: #315180;
    display: block;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.35;
}

.ha-final-cta__price {
    display: inline-flex;
    vertical-align: baseline;
}

.home-analytics-landing .footer-trust-badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 24px 0 0;
}

.home-analytics-landing .footer-trust-badges span {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-size: 0.77rem;
    font-weight: 900;
    gap: 6px;
    min-height: 34px;
    padding: 7px 10px;
}

.home-analytics-landing .footer-trust-badges svg {
    color: var(--ha-blue);
    height: 17px;
    width: 17px;
}

@media (prefers-reduced-motion: reduce) {
    .ha-button,
    .home-analytics-landing .btn {
        transition: none;
    }

    .ha-button:hover,
    .ha-button:focus-visible {
        transform: none;
    }
}

@media (max-width: 1060px) {
    .ha-hero__grid,
    .ha-sample-grid {
        grid-template-columns: 1fr;
    }

    .ha-hero__content {
        padding-bottom: 0;
    }

    .ha-hero h1 {
        font-size: 3rem;
        max-width: 720px;
    }

    .ha-report-preview {
        margin: 0 auto;
        max-width: 760px;
        width: 100%;
    }

    .ha-inside-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 768px) {
    .ha-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ha-hero {
        padding-top: 24px;
    }

    .ha-hero h1 {
        font-size: 2.34rem;
        line-height: 1.06;
    }

    .ha-hero__copy {
        font-size: 0.96rem;
    }

    .ha-address-form {
        grid-template-columns: 1fr;
    }

    .ha-address-form__field,
    .ha-button {
        width: 100%;
    }

    .ha-report-preview {
        border-radius: 14px;
        padding: 12px;
    }

    .ha-report-preview::before {
        border-radius: 14px;
    }

    .ha-report-preview__top,
    .ha-report-preview__bottom {
        grid-template-columns: 1fr;
    }

    .ha-report-preview__top img {
        aspect-ratio: 16 / 8;
    }

    .ha-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ha-metric-card--wide {
        grid-column: 1 / -1;
    }

    .ha-trust-strip__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ha-trust-item {
        align-content: center;
        display: grid;
        font-size: 0.7rem;
        gap: 5px;
        line-height: 1.15;
        padding: 12px 6px;
    }

    .ha-trust-item svg {
        margin: 0 auto;
    }

    .ha-section {
        padding: 34px 0;
    }

    .ha-section-heading {
        margin-bottom: 18px;
    }

    .ha-section-heading h2,
    .ha-sample-copy h2 {
        font-size: 1.45rem;
    }

    .ha-inside-grid,
    .ha-perfect-grid {
        grid-template-columns: 1fr;
    }

    .ha-inside-card {
        align-items: start;
        display: grid;
        gap: 0 14px;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 17px;
    }

    .ha-inside-card .ha-icon-badge {
        grid-row: span 2;
        height: 42px;
        margin: 0;
        width: 42px;
    }

    .ha-inside-card h3 {
        margin-top: 1px;
    }

    .ha-steps {
        gap: 16px;
        grid-template-columns: 1fr;
    }

    .ha-steps::before {
        border-left: 2px dashed #bfdbfe;
        border-top: 0;
        bottom: 54px;
        left: 27px;
        right: auto;
        top: 46px;
    }

    .ha-step {
        display: grid;
        gap: 0 14px;
        grid-template-columns: 54px minmax(0, 1fr);
        padding: 0;
        text-align: left;
    }

    .ha-step__number {
        grid-column: 1;
        grid-row: 1;
        margin: 0 auto -3px;
    }

    .ha-step__icon {
        grid-column: 1;
        grid-row: 2 / span 2;
        margin: 0;
    }

    .ha-step h3 {
        grid-column: 2;
        margin-top: 8px;
    }

    .ha-step p {
        grid-column: 2;
    }

    .ha-sample-grid {
        gap: 24px;
    }

    .ha-sample-stats,
    .ha-sample-risks {
        grid-template-columns: 1fr;
    }

    .ha-final-cta {
        padding-bottom: 48px;
    }

    .ha-final-cta__inner {
        gap: 16px;
        grid-template-columns: 1fr;
        padding: 20px;
        text-align: left;
    }

    .ha-final-cta__icon {
        height: 50px;
        width: 50px;
    }

    .ha-final-cta h2 {
        font-size: 1.28rem;
    }

    .home-analytics-landing .hdl-consent-banner {
        gap: 14px;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        padding: 20px;
    }

    .home-analytics-landing .hdl-consent-banner h2 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .home-analytics-landing .hdl-consent-banner p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .home-analytics-landing .hdl-consent-banner__links {
        font-size: 0.8rem !important;
        margin-top: 6px !important;
    }

    .home-analytics-landing .hdl-consent-banner__actions {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    }

    .home-analytics-landing .hdl-consent-banner .hdl-consent-btn {
        background: #f8fafc;
        border-color: rgba(226, 232, 240, 0.88);
        color: #0f172a !important;
        font-size: 0.8rem;
        min-height: 42px;
        min-width: 0;
        padding: 9px 10px;
        text-shadow: none;
        white-space: normal;
        width: 100%;
    }
}

@media (max-width: 460px) {
    .ha-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .ha-hero h1 {
        font-size: 2.05rem;
    }

    .ha-address-form__field {
        padding: 0 12px;
    }

    .ha-address-form input[type="text"] {
        font-size: 0.9rem;
    }

    .ha-report-preview {
        margin-left: -2px;
        margin-right: -2px;
    }

    .ha-metric-grid {
        gap: 9px;
    }

    .ha-metric-card,
    .ha-breakdown-card,
    .ha-forecast-card,
    .ha-sample-card {
        padding: 12px;
    }

    .ha-trust-item {
        font-size: 0.64rem;
        padding: 10px 4px;
    }

    .ha-trust-item svg {
        height: 18px;
        width: 18px;
    }

    .ha-breakdown-card li {
        font-size: 0.69rem;
    }

    .home-analytics-landing .footer-trust-badges span {
        width: 100%;
        justify-content: center;
    }
}
