
:root {
    --fn-navy: #071b33;
    --fn-primary: #126bff;
    --fn-bright: #33a6ff;
    --fn-home: #0b988b;
    --fn-home-dark: #087f75;
    --fn-muted: #5b6d82;
    --fn-border: rgba(7, 27, 51, .09);
    --fn-shadow: 0 28px 64px rgba(7, 27, 51, .12);
    --fn-shadow-soft: 0 18px 38px rgba(7, 27, 51, .08);
    --fn-radius-lg: 28px;
}

.family-hero,
.home-hero {
    padding: 132px 0 72px;
    overflow: hidden;
}

.family-hero {
    background:
        radial-gradient(circle at 85% 18%, rgba(51,166,255,.16), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.home-hero {
    background:
        radial-gradient(circle at 85% 18%, rgba(37,194,171,.18), transparent 31%),
        linear-gradient(180deg, #ffffff 0%, #eef9f6 100%);
}

.hero-row {
    row-gap: 38px;
}

.family-hero .container,
.home-hero .container,
.section .container {
    max-width: 1180px;
}

.family-hero-copy h1,
.home-hero-copy h1 {
    margin: 0;
    color: var(--fn-navy);
    font-family: "Manrope", Arial, sans-serif;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.055em;
}

.family-hero-copy h1 {
    max-width: 660px;
    font-size: clamp(3rem, 5vw, 4.6rem);
}

.home-hero-copy h1 {
    max-width: 640px;
    font-size: clamp(2.8rem, 4.5vw, 4.1rem);
}

.family-lead,
.home-hero-lead {
    max-width: 660px;
    margin: 22px 0 28px;
    color: var(--fn-muted);
    font-size: 1.02rem;
    line-height: 1.74;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.family-trust,
.home-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 24px;
    color: #53667f;
    font-size: .86rem;
    font-weight: 700;
}

.family-trust i,
.home-trust i {
    margin-right: 6px;
    color: var(--fn-primary);
}

.home-trust i {
    color: var(--fn-home);
}

.family-hero-panel {
    max-width: 560px;
    margin-left: auto;
    padding: 26px;
    border: 1px solid rgba(18,107,255,.12);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--fn-shadow);
}

.family-panel-heading span,
.family-panel-heading strong {
    display: block;
}

.family-panel-heading span {
    color: var(--fn-primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.family-panel-heading strong {
    margin-top: 8px;
    color: var(--fn-navy);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 1.38rem;
    line-height: 1.3;
}

.family-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 20px;
}

.family-mini-product {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 100px;
    padding: 14px;
    border: 1px solid rgba(18,107,255,.1);
    border-radius: 20px;
    background: #f7faff;
    color: inherit;
}

.family-mini-product:hover {
    color: inherit;
    border-color: rgba(18,107,255,.22);
    box-shadow: var(--fn-shadow-soft);
    transform: translateY(-2px);
}

.family-mini-product img {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    object-fit: contain;
    border-radius: 16px;
}

.family-mini-product span,
.family-mini-product strong,
.family-mini-product small {
    display: block;
}

.family-mini-product span {
    color: var(--fn-primary);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.family-mini-product strong {
    margin: 5px 0 4px;
    color: var(--fn-navy);
    font-family: "Manrope", Arial, sans-serif;
    font-size: .98rem;
    line-height: 1.1;
}

.family-mini-product small {
    color: var(--fn-muted);
    font-size: .78rem;
    line-height: 1.45;
}

.family-mini-home {
    border-color: rgba(11,152,139,.13);
    background: #f1fbf8;
}
.family-mini-home span { color: var(--fn-home-dark); }

.family-mini-pet {
    border-color: rgba(11,152,139,.13);
    background: #f5fbfb;
}
.family-mini-pet span { color: var(--fn-home-dark); }

.family-mini-travel {
    border-color: rgba(18,107,255,.12);
    background: #f4f7ff;
}
.family-mini-travel span { color: var(--fn-primary); }

.family-mini-dev {
    cursor: default;
}

.family-panel-message {
    display: flex;
    gap: 15px;
    padding: 18px 20px;
    color: #fff;
    border-radius: 20px;
    background: linear-gradient(135deg, #071b33, #123d68);
}

.family-panel-message i {
    margin-top: 3px;
    color: #5ac8fa;
    font-size: 1.15rem;
}

.family-panel-message strong,
.family-panel-message span { display: block; }

.family-panel-message span {
    margin-top: 4px;
    color: rgba(255,255,255,.72);
    font-size: .84rem;
    line-height: 1.5;
}

.family-proof-strip {
    color: #fff;
    background: var(--fn-navy);
}

.family-proof {
    padding: 22px 20px;
    border-right: 1px solid rgba(255,255,255,.08);
}

.family-proof:last-child {
    border-right: 0;
}

.family-proof strong,
.family-proof span {
    display: block;
}

.family-proof strong {
    font-family: "Manrope", Arial, sans-serif;
}

.family-proof span {
    margin-top: 4px;
    color: rgba(255,255,255,.58);
    font-size: .77rem;
}

.section {
    padding: 76px 0;
}

.section-white {
    background: #fff;
}

.section-dark {
    color: #fff;
    background: linear-gradient(135deg, #071b33 0%, #0d2e54 55%, #124477 100%);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading p {
    margin: 14px auto 0;
    color: var(--fn-muted);
    line-height: 1.7;
}

.section-heading-dark p {
    color: rgba(255,255,255,.66);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--fn-primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-kicker,
.home-eyebrow {
    color: var(--fn-home-dark);
}

.home-kicker-dark {
    color: #74ddd0;
}

.section-heading h2,
.family-dark-title,
.home-dark-title {
    margin: 0;
    color: var(--fn-navy);
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.section-dark .section-heading h2,
.family-dark-title,
.home-dark-title {
    color: #fff;
}

.family-value-card,
.home-small-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--fn-border);
    border-radius: var(--fn-radius-lg);
    background: #fff;
    box-shadow: 0 12px 30px rgba(7,27,51,.05);
}

.family-value-card h3,
.home-small-card h3 {
    margin: 20px 0 10px;
    color: var(--fn-navy);
    font-size: 1.04rem;
    font-weight: 800;
}

.family-value-card p,
.home-small-card p {
    margin: 0;
    color: var(--fn-muted);
    font-size: .9rem;
    line-height: 1.64;
}

.family-apps-section {
    background: #edf4ff;
}

.family-product-card {
    margin-bottom: 28px;
    padding: 42px;
    overflow: hidden;
    border: 1px solid rgba(18,107,255,.1);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--fn-shadow);
}

.family-product-copy h3 {
    max-width: 520px;
    margin: 18px 0 14px;
    color: var(--fn-navy);
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(1.7rem, 2.8vw, 2.28rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.04em;
}

.family-product-copy > p {
    max-width: 550px;
    color: var(--fn-muted);
    line-height: 1.72;
}

.family-product-status {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    color: #0b61d8;
    background: #eaf3ff;
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.family-product-status.review {
    color: var(--fn-home-dark);
    background: #e7f8f4;
}

.family-product-logo {
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.family-product-logo.motoring-logo {
    width: 210px;
    margin-top: 20px;
}

.family-product-logo.home-logo {
    width: 220px;
    margin-top: 20px;
}

.family-check-list {
    padding: 0;
    margin: 24px 0 28px;
    list-style: none;
}

.family-check-list li {
    position: relative;
    padding: 7px 0 7px 26px;
    color: #3f536b;
    font-weight: 600;
}

.family-check-list li i {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--fn-primary);
}

.family-product-home .family-check-list li i {
    color: var(--fn-home);
}

.family-screenshot-panel,
.home-hero-image,
.home-feature-device-panel,
.home-side-device-wrap,
.home-tour-image,
.home-report-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.family-screenshot-panel {
    min-height: 360px;
    padding: 26px;
    border-radius: 28px;
}

.family-screenshot-blue {
    background: linear-gradient(145deg, #dcecff, #8cc8ff);
}

.family-screenshot-home {
    background: linear-gradient(145deg, #dff7f1, #80d8c8);
}

.btn-home-primary {
    padding: 13px 24px;
    color: #fff !important;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #087f75, #18b7a5);
    box-shadow: 0 12px 28px rgba(8,127,117,.22);
    font-family: "Manrope", Arial, sans-serif;
    font-weight: 700;
}

.btn-home-primary:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.dark-step-card {
    height: 100%;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.05);
}

.dark-step-card span {
    display: inline-block;
    margin-bottom: 14px;
    color: #5ac8fa;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
}

.dark-step-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.dark-step-card p {
    margin: 0;
    color: rgba(255,255,255,.67);
    line-height: 1.62;
}

.future-app-card {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 180px;
    padding: 28px;
    border: 1px solid var(--fn-border);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--fn-shadow-soft);
}

.future-app-icon {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 12px 24px rgba(7,27,51,.11);
}

.future-app-copy {
    min-width: 0;
}

.future-status {
    display: inline-block;
    color: var(--fn-primary);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.future-app-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 34px;
    margin: 10px 0 12px;
    object-fit: contain;
    object-position: left center;
}

.future-pet-logo {
    height: 38px;
}

.future-travel-logo {
    height: 34px;
}

.future-app-copy p {
    margin: 0;
    color: var(--fn-muted);
    line-height: 1.6;
    font-size: .9rem;
}

.family-final-cta {
    margin-top: 14px;
}

/* iPhone mockups */
.iphone-mockup {
    --device-width: 240px;
    position: relative;
    width: min(var(--device-width), 100%);
    padding: 12px;
    border-radius: 40px;
    background: linear-gradient(180deg, #182231 0%, #070f1c 100%);
    box-shadow:
        0 30px 50px rgba(7,27,51,.26),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.iphone-mockup-md { --device-width: 235px; }
.iphone-mockup-lg { --device-width: 255px; }
.iphone-mockup-sm { --device-width: 215px; }
.iphone-mockup-home {
    background: linear-gradient(180deg, #193642 0%, #08131d 100%);
}
.iphone-mockup-dark {
    background: linear-gradient(180deg, #243547 0%, #0a1017 100%);
}

.iphone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 38%;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 0 0 14px 14px;
    background: #05080f;
    z-index: 2;
}

.iphone-screen {
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(7,27,51,.08);
}

.iphone-screen img {
    display: block;
    width: 100%;
    height: auto;
}

.iphone-home-indicator {
    width: 34%;
    height: 4px;
    margin: 10px auto 2px;
    border-radius: 999px;
    background: rgba(255,255,255,.5);
}

.home-hero-logo {
    display: block;
    width: 240px;
    max-width: 100%;
    margin: 2px 0 18px;
}

.home-hero-copy h1 span {
    color: var(--fn-home);
}

.home-hero-image {
    min-height: 360px;
    max-width: 420px;
    margin-left: auto;
    padding: 8px;
    border-radius: 30px;
    background: linear-gradient(145deg, #dff8f1, #78d7c7);
    box-shadow: var(--fn-shadow);
}

.home-stat-strip {
    color: #fff;
    background: linear-gradient(135deg, #063846, #087f75);
}

.home-stat {
    min-height: 116px;
    padding: 24px 20px;
    border-right: 1px solid rgba(255,255,255,.1);
}

.home-stat i {
    margin-right: 8px;
    color: #8cede0;
}

.home-stat strong,
.home-stat span {
    display: block;
}

.home-stat strong {
    margin-top: 8px;
}

.home-stat span {
    margin-top: 4px;
    color: rgba(255,255,255,.6);
    font-size: .76rem;
}

.home-feature-main,
.home-feature-side {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(8,127,117,.13);
    border-radius: 28px;
    background: #f4fbf9;
}

.home-feature-main {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    min-height: 400px;
}

.home-feature-main-copy {
    padding: 34px;
}

.home-feature-main h3,
.home-feature-side h3 {
    margin: 14px 0;
    color: var(--fn-navy);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.18;
}

.home-feature-main p,
.home-feature-side p {
    color: var(--fn-muted);
    line-height: 1.68;
}

.home-feature-label {
    color: var(--fn-home-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.home-feature-device-panel {
    min-height: 400px;
    padding: 24px 18px;
    background: linear-gradient(145deg, #dff8f1, #a5e6da);
}

.home-feature-side {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.home-side-device-wrap {
    flex: 1;
    min-height: 240px;
    padding-top: 12px;
}

.home-feature-icon {
    color: var(--fn-home-dark);
    background: #e4f8f3;
}

.home-tour-section,
.home-faq-section {
    background: #eef7f5;
}

.home-tour {
    max-width: 1040px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(8,127,117,.13);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--fn-shadow-soft);
}

.home-tour-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-bottom: 1px solid rgba(7,27,51,.08);
}

.home-tour-tabs button {
    min-height: 62px;
    padding: 12px 8px;
    border: 0;
    border-right: 1px solid rgba(7,27,51,.08);
    color: #617184;
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.home-tour-tabs button:last-child {
    border-right: 0;
}

.home-tour-tabs button.active {
    color: var(--fn-home-dark);
    background: #eaf8f5;
    box-shadow: inset 0 -3px 0 var(--fn-home);
}

.home-tour-content {
    min-height: 420px;
}

.home-tour-copy {
    padding: 38px;
}

.home-tour-copy > span {
    color: var(--fn-home-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.home-tour-copy h3 {
    margin: 15px 0;
    color: var(--fn-navy);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.14;
}

.home-tour-copy p {
    color: var(--fn-muted);
    line-height: 1.72;
}

.home-tour-image {
    min-height: 360px;
    padding: 24px;
}

#homeTourImage {
    transition: opacity .18s ease, transform .18s ease;
}

#homeTourImage.is-changing {
    opacity: .4;
    transform: translateY(4px);
}

.home-report-preview {
    min-height: 380px;
    padding: 8px;
    border-radius: 30px;
    background: linear-gradient(145deg, #174e5c, #0a9b8c);
    box-shadow: var(--fn-shadow);
}

.home-claim-steps > div {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.home-claim-steps span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #73e0ce;
    border-radius: 10px;
    background: rgba(115,224,206,.12);
    font-weight: 800;
}

.home-claim-steps p {
    margin: 0;
    color: rgba(255,255,255,.62);
    line-height: 1.54;
}

.home-claim-steps strong {
    color: #fff;
}

.home-cta-panel {
    text-align: center;
}

.home-cta-panel > img {
    width: 92px;
    height: 92px;
    margin-bottom: 20px;
    border-radius: 22px;
}

.faq-item {
    margin-bottom: 16px;
    padding: 20px 22px;
    border: 1px solid rgba(7,27,51,.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(7,27,51,.04);
}

.faq-item summary {
    cursor: pointer;
    color: var(--fn-navy);
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer p {
    margin: 14px 0 0;
    color: var(--fn-muted);
    line-height: 1.7;
}

@media (max-width: 991px) {
    .family-hero-panel,
    .home-hero-image {
        max-width: 560px;
        margin: 0 auto;
    }

    .family-product-card {
        padding: 34px;
    }

    .family-product-copy {
        margin-bottom: 30px;
    }

    .family-product-home .family-product-copy {
        margin-top: 30px;
        margin-bottom: 0;
    }

    .home-feature-main {
        grid-template-columns: 1fr;
    }

    .home-feature-device-panel {
        min-height: 320px;
    }

    .home-tour-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .family-hero,
    .home-hero {
        padding: 118px 0 62px;
    }

    .section {
        padding: 62px 0;
    }

    .family-panel-grid {
        grid-template-columns: 1fr;
    }

    .family-proof,
    .home-stat {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .family-product-card {
        padding: 26px;
    }

    .family-screenshot-panel {
        min-height: 320px;
        padding: 20px;
    }

    .future-app-card {
        align-items: flex-start;
        min-height: 0;
        padding: 24px;
    }

    .future-app-icon {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
        border-radius: 18px;
    }

    .future-app-logo {
        height: 28px;
    }

    .future-pet-logo {
        height: 31px;
    }

    .home-tour-tabs {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .home-tour-tabs button {
        min-width: 132px;
        flex: 0 0 132px;
    }

    .home-tour-content {
        min-height: 0;
    }

    .home-tour-copy,
    .home-tour-image {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        display: grid;
    }

    .family-trust,
    .home-trust {
        display: grid;
    }

    .future-app-card {
        flex-direction: column;
        gap: 16px;
    }
}


/* === Family v4 focused visual polish === */
.family-eyebrow {
    color: #ffffff;
    border-color: rgba(255,255,255,.18);
    background: linear-gradient(135deg, #0d3f77 0%, #126bff 58%, #20a8ff 100%);
    box-shadow: 0 12px 28px rgba(18,107,255,.22);
}

.family-eyebrow .eyebrow-dot {
    background: #76e8ff;
    box-shadow: 0 0 0 6px rgba(118,232,255,.16);
}

.family-hero-copy h1 .accent {
    color: transparent;
    background: linear-gradient(90deg, #126bff 0%, #20a8ff 58%, #13b8ae 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.family-final-cta {
    background:
        radial-gradient(circle at 82% 18%, rgba(89,200,255,.32), transparent 28%),
        linear-gradient(135deg, #0d53d9 0%, #126bff 52%, #33a6ff 100%);
}

.family-final-cta .family-cta-kicker {
    color: #bfe9ff;
}

.family-final-cta h2,
.family-final-cta p {
    color: #ffffff;
}

.home-cta-panel {
    background:
        radial-gradient(circle at 78% 18%, rgba(89,200,255,.28), transparent 30%),
        linear-gradient(135deg, #0d53d9 0%, #126bff 54%, #33a6ff 100%);
}

.home-cta-logo {
    display: block;
    width: min(420px, 72%);
    height: auto;
    margin: 0 auto 22px;
    object-fit: contain;
}

.home-cta-kicker {
    color: #c9f5ff;
}

.home-cta-panel h2,
.home-cta-panel p {
    color: #ffffff;
}

.home-cta-panel .btn-fn-secondary {
    background: #ffffff;
    border-color: rgba(255,255,255,.7);
}

@media (max-width: 767px) {
    .home-cta-logo {
        width: min(320px, 88%);
    }
}


/* === Family v5 Home+ feature polish === */
.home-inventory-card {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 0;
    background: #ffffff;
}

.home-inventory-copy {
    padding: 30px 30px 24px;
}

.home-inventory-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-inventory-heading .feature-icon {
    margin: 0;
}

.home-inventory-card h3 {
    margin: 18px 0 10px;
    font-size: 1.8rem;
}

.home-inventory-card > .home-inventory-copy > p {
    margin-bottom: 18px;
}

.home-inventory-points {
    display: grid;
    gap: 9px;
}

.home-inventory-points span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #40566f;
    font-size: .88rem;
    font-weight: 700;
}

.home-inventory-points i {
    color: var(--fn-home);
    font-size: .76rem;
}

.home-inventory-device-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 330px;
    padding: 34px 24px 0;
    overflow: hidden;
    border-top: 1px solid rgba(8,127,117,.1);
    background:
        radial-gradient(circle at 78% 18%, rgba(255,255,255,.72), transparent 28%),
        linear-gradient(145deg, #dff8f1 0%, #a6e8dc 55%, #82d8cb 100%);
}

.home-inventory-device-stage::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    left: -70px;
    bottom: -95px;
    border: 1px solid rgba(8,127,117,.16);
    border-radius: 50%;
}

.home-inventory-device-stage .iphone-mockup {
    z-index: 1;
    transform: translateY(8px);
}

.home-inventory-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    max-width: 170px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 15px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 26px rgba(7,27,51,.08);
    backdrop-filter: blur(8px);
}

.home-inventory-badge strong,
.home-inventory-badge span {
    display: block;
}

.home-inventory-badge strong {
    color: var(--fn-navy);
    font-size: .78rem;
}

.home-inventory-badge span {
    margin-top: 3px;
    color: var(--fn-muted);
    font-size: .68rem;
}

.home-cta-logo {
    width: min(620px, 88%);
    margin-bottom: 26px;
}

.home-cta-panel {
    padding-top: 58px;
    padding-bottom: 58px;
}

@media (max-width: 991px) {
    .home-inventory-device-stage {
        min-height: 350px;
    }
}

@media (max-width: 767px) {
    .home-inventory-copy {
        padding: 26px 24px 22px;
    }

    .home-inventory-device-stage {
        min-height: 315px;
    }

    .home-inventory-badge {
        top: 16px;
        left: 16px;
    }

    .home-cta-logo {
        width: min(520px, 96%);
    }
}

@media (max-width: 480px) {
    .home-inventory-heading {
        align-items: flex-start;
    }

    .home-inventory-badge {
        display: none;
    }
}


/* === Family v6 final CTA refinement === */
.home-cta-panel {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 62px 68px;
    text-align: left;
    background:
        radial-gradient(circle at 86% 22%, rgba(91,216,255,.28), transparent 26%),
        radial-gradient(circle at 78% 88%, rgba(20,188,178,.18), transparent 28%),
        linear-gradient(135deg, #0b4fcf 0%, #126bff 52%, #32a7ff 100%);
}

.home-cta-panel::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
}

.home-cta-panel::after {
    content: "";
    position: absolute;
    right: 110px;
    bottom: -150px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
}

.home-cta-panel > * {
    position: relative;
    z-index: 1;
}

.home-cta-panel > img.home-cta-logo {
    display: block;
    width: min(720px, 78%);
    height: auto;
    max-height: none;
    margin: 0 0 28px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
}

.home-cta-panel .home-cta-kicker {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 8px 12px;
    color: #d7f7ff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(7,27,51,.16);
    letter-spacing: .12em;
}

.home-cta-panel h2 {
    max-width: 680px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2.4rem, 4vw, 3.65rem);
    line-height: 1.05;
}

.home-cta-panel > p {
    max-width: 620px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.82);
    font-size: 1.02rem;
    line-height: 1.65;
}

.home-cta-panel .hero-actions {
    justify-content: flex-start;
}

.home-cta-panel .btn-home-primary {
    background: linear-gradient(135deg, #08a698, #18c3b2);
    box-shadow: 0 14px 30px rgba(4,85,79,.28);
}

.home-cta-panel .btn-fn-secondary {
    color: var(--fn-navy) !important;
    background: #fff;
    border-color: rgba(255,255,255,.9);
    box-shadow: 0 14px 30px rgba(7,27,51,.14);
}

.home-cta-panel .btn-home-primary:hover,
.home-cta-panel .btn-fn-secondary:hover {
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .home-cta-panel {
        min-height: 0;
        padding: 54px;
    }

    .home-cta-panel > img.home-cta-logo {
        width: min(620px, 88%);
    }
}

@media (max-width: 767px) {
    .home-cta-panel {
        padding: 42px 30px;
    }

    .home-cta-panel > img.home-cta-logo {
        width: 100%;
        margin-bottom: 22px;
    }

    .home-cta-panel h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .home-cta-panel {
        padding: 36px 24px;
    }

    .home-cta-panel .hero-actions {
        display: grid;
        width: 100%;
    }

    .home-cta-panel .hero-actions .btn {
        width: 100%;
    }
}


/* === Family v7 CTA balance pass === */
.home-cta-panel {
    min-height: 0;
    padding: 52px 60px;
}

.home-cta-panel > img.home-cta-logo {
    width: min(460px, 58%);
    margin: 0 0 22px;
}

.home-cta-panel h2 {
    max-width: 620px;
    margin-bottom: 12px;
    font-size: clamp(2rem, 3.1vw, 3rem);
    line-height: 1.08;
}

.home-cta-panel > p {
    max-width: 600px;
    margin-bottom: 24px;
    font-size: .98rem;
}

.home-cta-panel .hero-actions {
    gap: 12px;
}

@media (max-width: 991px) {
    .home-cta-panel {
        padding: 48px;
    }

    .home-cta-panel > img.home-cta-logo {
        width: min(420px, 66%);
    }
}

@media (max-width: 767px) {
    .home-cta-panel {
        padding: 40px 30px;
    }

    .home-cta-panel > img.home-cta-logo {
        width: min(360px, 82%);
        margin-bottom: 18px;
    }

    .home-cta-panel h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .home-cta-panel {
        padding: 34px 24px;
    }

    .home-cta-panel > img.home-cta-logo {
        width: 100%;
    }

    .home-cta-panel h2 {
        font-size: 2rem;
    }
}


/* === Family v8 CTA scale reduction === */
.home-cta-panel {
    padding: 46px 56px;
}

.home-cta-panel > img.home-cta-logo {
    width: min(320px, 42%);
    margin: 0 0 18px;
}

.home-cta-panel h2 {
    max-width: 560px;
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 2.35vw, 2.25rem);
    line-height: 1.08;
}

.home-cta-panel > p {
    max-width: 540px;
    margin-bottom: 22px;
    font-size: .95rem;
}

@media (max-width: 991px) {
    .home-cta-panel {
        padding: 42px 44px;
    }

    .home-cta-panel > img.home-cta-logo {
        width: min(300px, 50%);
    }

    .home-cta-panel h2 {
        font-size: clamp(1.7rem, 2.8vw, 2.1rem);
    }
}

@media (max-width: 767px) {
    .home-cta-panel {
        padding: 36px 28px;
    }

    .home-cta-panel > img.home-cta-logo {
        width: min(280px, 68%);
        margin-bottom: 16px;
    }

    .home-cta-panel h2 {
        font-size: 1.9rem;
    }

    .home-cta-panel > p {
        font-size: .93rem;
    }
}

@media (max-width: 480px) {
    .home-cta-panel {
        padding: 32px 22px;
    }

    .home-cta-panel > img.home-cta-logo {
        width: min(250px, 78%);
    }

    .home-cta-panel h2 {
        font-size: 1.72rem;
    }
}
