:root {
    --primary: #1d4fa3;
    --primary-dark: #153b7c;
    --bg: #f5f8fd;
    --tint: #e9f0fa;
    --card: #ffffff;
    --line: #d5e1f2;
    --head: #12233d;
    --text: #51627c;
    --footer: #12233d;
    --gold: #f2b134;
    --gold-dark: #e5a21f;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.6
}

h1,
h2,
h3 {
    color: var(--head);
    margin: 0;
    line-height: 1.2
}

h2 {
    font-size: 30px;
    margin-bottom: 8px
}

.wrap {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px
}

section {
    padding: 56px 0
}

.tint {
    background: var(--tint)
}

.center {
    text-align: center
}

/* header */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg);
    border-bottom: 1px solid var(--line)
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px
}

.logo {
    font-weight: 800;
    color: var(--head);
    display: flex;
    gap: 8px;
    align-items: center;
    text-decoration: none;
    white-space: nowrap
}

.logo b {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    display: inline-block;
    flex: none
}

.logo span {
    font-weight: 400;
    color: var(--text)
}

nav ul {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500
}

nav ul a:hover {
    color: var(--primary)
}

nav .btn {
    white-space: nowrap
}

/* buttons */
.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--head);
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none;
    border: 0;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit
}

.btn:hover {
    background: var(--gold-dark)
}

.btn.o {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary)
}

.btn.o:hover {
    background: var(--primary);
    color: #fff
}

.btn.full {
    width: 100%;
    margin-top: 16px
}

.btns {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap
}

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

.eyebrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px
}

.hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    margin: 10px 0 14px;
    min-height: 2.5em
}

.hero h1 .hl {
    color: var(--primary)
}

.art {
    background: linear-gradient(135deg, #d9e6f8, #f8ebcb);
    border-radius: 20px;
    aspect-ratio: 4/3;
    display: grid;
    place-items: center
}

/* cards */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: 14px;
    padding: 20px
}

.tint .card {
    background: #fff
}

.card h3 {
    font-size: 17px;
    margin: 10px 0 6px
}

.card p {
    margin: 0;
    font-size: 14px
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center
}

/* forms */
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0 4px;
    color: var(--head)
}

input,
select {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--head);
    font-size: 15px;
    font-family: inherit
}

input:focus,
select:focus {
    outline: 2px solid var(--gold);
    border-color: var(--primary)
}

.res {
    margin-top: 16px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
    padding: 14px;
    background: var(--tint)
}

.res strong {
    display: block;
    font-size: 26px;
    color: var(--primary)
}

.res small {
    font-size: 12px
}

/* plans (home page) */
.plans-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 36px
}

.plans-head h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.15;
    margin: 0
}

.plans-head em {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--primary)
}

.plans-head p {
    margin: 0;
    font-size: 17px
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: 24px;
    padding: 32px;
    transition: transform .2s, box-shadow .2s, border-color .2s
}

.plan:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 10px 26px rgba(29, 79, 163, .16)
}

.num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--gold-dark)
}

.pic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 28px
}

.plan h3 {
    font-size: 22px;
    margin: 0 0 10px
}

.plan p {
    margin: 0 0 28px;
    font-size: 15px;
    flex: 1
}

.more {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    color: var(--head);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none
}

.more:hover {
    color: var(--primary)
}

/* ===== How it works – accordion gallery ===== */
.accordion-gallery {
    --ag-accent: var(--gold);
    --ag-gap: 10px;
    --ag-radius: 16px;
    display: flex;
    flex-direction: row;
    gap: var(--ag-gap);
    width: 100%;
    height: 440px;
    margin-top: 32px;
    perspective: 1400px;
    perspective-origin: 50% 50%;
    text-align: left;
}

.ag-panel {
    --ag-gray: .7;
    --ag-dim: .3;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--ag-radius);
    cursor: pointer;
    outline: none;
    transform-style: preserve-3d;
    transform-origin: center;
    background: #12233d;
    box-shadow: 0 12px 30px -16px rgba(18, 35, 61, .6);
    will-change: flex-grow, transform;
    -webkit-tap-highlight-color: transparent;
}

.ag-panel:focus-visible {
    box-shadow: 0 0 0 2px var(--ag-accent), 0 12px 30px -16px rgba(18, 35, 61, .6)
}

.ag-frame {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: inherit
}

.ag-media {
    position: absolute;
    inset: 0;
    display: block;
    background: var(--bg);
    filter: grayscale(var(--ag-gray))
}

.ag-panel:nth-child(1) .ag-media {
    background: linear-gradient(160deg, #3b74c9, #1d4fa3)
}

.ag-panel:nth-child(2) .ag-media {
    background: linear-gradient(160deg, #2f63b5, #173f85)
}

.ag-panel:nth-child(3) .ag-media {
    background: linear-gradient(160deg, #254f9b, #12336b)
}

.ag-panel:nth-child(4) .ag-media {
    background: linear-gradient(160deg, #1c4082, #0e2850)
}

.ag-panel:nth-child(5) .ag-media {
    background: linear-gradient(160deg, #16336a, #12233d)
}

.ag-art {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    will-change: transform
}

.ag-art b {
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: -.02em
}

.ag-art i {
    font-style: normal;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1
}

.ag-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 25, 50, .65) 100%), rgba(11, 25, 50, var(--ag-dim))
}

.ag-label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    align-items: stretch;
    gap: 12px;
    pointer-events: none
}

.ag-bar {
    flex: none;
    width: 3px;
    border-radius: 3px;
    background: var(--ag-accent);
    opacity: 0;
    box-shadow: 0 0 12px rgba(242, 177, 52, .6)
}

.ag-text {
    display: block;
    color: #fff;
    opacity: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .4)
}

.ag-text strong {
    display: block;
    font-size: clamp(17px, 1.6vw, 22px);
    line-height: 1.25
}

.ag-text small {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.45;
    opacity: .92;
    max-width: 34ch
}

/* advisor */
.who {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 16px
}

.who h3 {
    font-size: 18px;
    margin: 0
}

.av {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    flex: none
}

/* footer */
footer {
    background: var(--footer);
    color: #c4d6f2;
    padding: 36px 0;
    font-size: 14px
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

footer b {
    color: #fff;
    font-size: 18px
}

footer a {
    color: #c4d6f2;
    display: block;
    text-decoration: none
}

footer a:hover {
    color: #fff
}

.note {
    font-size: 12px;
    margin-top: 18px;
    opacity: .85
}

footer .full {
    flex-basis: 100%
}

/* ===== Plans page ===== */
.page-hero {
    padding: 64px 0 48px
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    margin: 10px 0 14px
}

.page-hero h1 em {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--primary)
}

.page-hero p {
    max-width: 56ch;
    margin: 0;
    font-size: 17px
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.chip {
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--head);
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit
}

.chip:hover {
    border-color: var(--primary)
}

.chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.pgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.pcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: 20px;
    padding: 26px;
    transition: transform .2s, box-shadow .2s
}

.pcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(29, 79, 163, .16)
}

.pcard[hidden] {
    display: none
}

.ptop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px
}

.ptop .pic {
    margin-bottom: 0
}

.tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--tint);
    padding: 4px 10px;
    border-radius: 999px
}

.pcard h3 {
    font-size: 21px;
    margin: 0 0 8px
}

.pcard p {
    margin: 0 0 16px;
    font-size: 15px
}

.pcard ul {
    margin: 0 0 22px;
    padding-left: 18px;
    font-size: 14px;
    flex: 1
}

.pcard li {
    margin-bottom: 6px
}

.pcard .btn.full {
    margin-top: 0;
    text-align: center
}

.note-box {
    margin-top: 28px;
    font-size: 13px;
    background: var(--tint);
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    border-radius: 8px
}

/* responsive */
@media(max-width:900px) {
    .pgrid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:820px) {
    nav ul {
        display: none
    }

    .hero,
    .two {
        grid-template-columns: 1fr
    }

    .grid3 {
        grid-template-columns: 1fr
    }

    .plans-head {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .plan-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    .pgrid {
        grid-template-columns: 1fr
    }

    .logo span {
        display: none
    }

    nav .btn {
        padding: 9px 14px;
        font-size: 14px
    }
}

@media(max-width:520px) {
    .accordion-gallery {
        flex-direction: column;
        perspective: none;
        height: auto
    }

    .ag-panel {
        flex: 0 0 auto;
        height: 84px;
        transform: none !important
    }

    .ag-art {
        flex-direction: row;
        align-items: center;
        top: 18px
    }
}

@media(prefers-reduced-motion:reduce) {

    .ag-panel,
    .ag-art {
        will-change: auto
    }
}

/* ===== Why insurance matters – glass card carousel ===== */
.fx {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 72px 0;
    background: linear-gradient(160deg, #12233d 0%, #0e2850 55%, #1d4fa3 100%)
}

.fx::before,
.fx::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none
}

.fx::before {
    width: 360px;
    height: 360px;
    background: rgba(242, 177, 52, .28);
    top: -120px;
    left: -80px
}

.fx::after {
    width: 420px;
    height: 420px;
    background: rgba(59, 116, 201, .45);
    bottom: -160px;
    right: -100px
}

.fx .wrap {
    position: relative;
    z-index: 1
}

.fx-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto
}

.fx-eyebrow {
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase
}

.fx h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    margin: 10px 0 0
}

.fx-stage {
    position: relative;
    height: 330px;
    margin-top: 44px
}

.fx-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(360px, 82%);
    height: 100%;
    padding: 30px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
    transition: transform .6s cubic-bezier(.22, .8, .3, 1), opacity .6s, border-color .6s;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(.7);
    cursor: pointer;
}

.fx-card[data-pos="0"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
    z-index: 3;
    border-color: rgba(242, 177, 52, .7);
    background: rgba(255, 255, 255, .13);
    cursor: default
}

.fx-card[data-pos="-1"] {
    opacity: .55;
    pointer-events: auto;
    transform: translateX(calc(-50% - 108%)) scale(.86);
    z-index: 2
}

.fx-card[data-pos="1"] {
    opacity: .55;
    pointer-events: auto;
    transform: translateX(calc(-50% + 108%)) scale(.86);
    z-index: 2
}

.fx-ic {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 26px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2)
}

.fx-no {
    position: absolute;
    top: 30px;
    right: 28px;
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--gold)
}

.fx-card h3 {
    color: #fff;
    font-size: 22px;
    margin: 24px 0 10px
}

.fx-card p {
    margin: 0;
    color: #d3def2;
    font-size: 15px;
    line-height: 1.6
}

.fx-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 32px
}

.fx-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 18px;
    cursor: pointer
}

.fx-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--head)
}

.fx-dots {
    display: flex;
    gap: 8px
}

.fx-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: width .3s, background .3s
}

.fx-dot.on {
    width: 28px;
    background: var(--gold)
}

.fx-cta {
    text-align: center;
    margin-top: 30px
}

@media(max-width:760px) {
    .fx-stage {
        height: 350px
    }

    .fx-card[data-pos="-1"],
    .fx-card[data-pos="1"] {
        opacity: 0;
        pointer-events: none
    }
}

/* ===== Why insurance matters – glass card carousel ===== */
.fx {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 72px 0;
    background: linear-gradient(160deg, #12233d 0%, #0e2850 55%, #1d4fa3 100%)
}

.fx::before,
.fx::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none
}

.fx::before {
    width: 360px;
    height: 360px;
    background: rgba(242, 177, 52, .28);
    top: -120px;
    left: -80px
}

.fx::after {
    width: 420px;
    height: 420px;
    background: rgba(59, 116, 201, .45);
    bottom: -160px;
    right: -100px
}

.fx .wrap {
    position: relative;
    z-index: 1
}

.fx-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto
}

.fx-eyebrow {
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase
}

.fx h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    margin: 10px 0 0
}

.fx-stage {
    position: relative;
    height: 330px;
    margin-top: 44px
}

.fx-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(360px, 82%);
    height: 100%;
    padding: 30px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
    transition: transform .6s cubic-bezier(.22, .8, .3, 1), opacity .6s, border-color .6s;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(.7);
    cursor: pointer;
}

.fx-card[data-pos="0"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
    z-index: 3;
    border-color: rgba(242, 177, 52, .7);
    background: rgba(255, 255, 255, .13);
    cursor: default
}

.fx-card[data-pos="-1"] {
    opacity: .55;
    pointer-events: auto;
    transform: translateX(calc(-50% - 108%)) scale(.86);
    z-index: 2
}

.fx-card[data-pos="1"] {
    opacity: .55;
    pointer-events: auto;
    transform: translateX(calc(-50% + 108%)) scale(.86);
    z-index: 2
}

.fx-ic {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 26px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2)
}

.fx-no {
    position: absolute;
    top: 30px;
    right: 28px;
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--gold)
}

.fx-card h3 {
    color: #fff;
    font-size: 22px;
    margin: 24px 0 10px
}

.fx-card p {
    margin: 0;
    color: #d3def2;
    font-size: 15px;
    line-height: 1.6
}

.fx-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 32px
}

.fx-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 18px;
    cursor: pointer
}

.fx-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--head)
}

.fx-dots {
    display: flex;
    gap: 8px
}

.fx-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: width .3s, background .3s
}

.fx-dot.on {
    width: 28px;
    background: var(--gold)
}

.fx-cta {
    text-align: center;
    margin-top: 30px
}

@media(max-width:760px) {
    .fx-stage {
        height: 350px
    }

    .fx-card[data-pos="-1"],
    .fx-card[data-pos="1"] {
        opacity: 0;
        pointer-events: none
    }
}

/* Mobile header spacing – works whatever the class names are */
@media (max-width: 600px) {

    header nav,
    header>div,
    header .wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
    }

    header .wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* the logo / brand name */
    header nav>a:first-child,
    header .logo {
        min-width: 0 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        flex: 1 1 auto !important;
    }

    /* the Get a Quote button */
    header nav>a:last-child,
    header .btn {
        flex: none !important;
        padding: 9px 14px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }
}

/* ===== Smooth page transitions ===== */
/* Chrome, Edge and Safari: native cross-fade between pages */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: pt-out .35s ease both;
}

::view-transition-new(root) {
    animation: pt-in .45s ease both;
}

@keyframes pt-out {
    to {
        opacity: 0;
    }
}

@keyframes pt-in {
    from {
        opacity: 0;
    }
}

/* Other browsers (e.g. Firefox): fallback fade, switched on by transition.js */
body.pt-fallback-in {
    animation: pt-in .45s ease both;
}

body.pt-fallback-out {
    opacity: 0;
    transition: opacity .3s ease;
}

@media (prefers-reduced-motion: reduce) {

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }

    body.pt-fallback-in {
        animation: none;
    }

    body.pt-fallback-out {
        transition: none;
        opacity: 1;
    }
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img {
  width: 40px;
  height: 40px;          /* always square, so the ratio never changes */
  flex: none;            /* stops the logo shrinking next to long text */
  display: block;
}

@media (max-width: 600px) {
  .logo img { width: 32px; height: 32px; }
}
/* Logo text */
.logo-name {
  display: block;
  min-width: 0;
  font-weight: 800;
  line-height: 1.2;
  color: #072251;
  white-space: nowrap;
}
.logo-name span {              /* "· LIC Advisor" part */
  font-weight: 400;
  color: var(--text);
}

@media (max-width: 600px) {
  .logo-name { font-size: 15px; }
  .logo-name span { display: none; }   /* hide only "· LIC Advisor" on phones */
}




body { overflow-x: hidden; }

@media (max-width: 600px) {
  .logo { overflow: hidden; }
  .logo-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
  .page-hero { padding: 40px 0 32px; }
  .fx { padding: 48px 0; }
  .fx-stage { height: 380px; }
  .fx-card { padding: 24px 20px; }
  .fx-card h3 { font-size: 20px; }
  .pcard { padding: 20px; }
  .chips { gap: 8px; }
  .chip { padding: 8px 14px; font-size: 13px; }
}




@media (max-width: 820px) {
    html { scroll-padding-top: 110px; }

    header nav {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        row-gap: 2px !important;
        padding: 8px 0 4px;
    }

    header nav ul {
        display: flex;
        order: 3;
        flex: 0 0 100%;
        gap: 18px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 4px 0 8px;
        font-size: 14px;
        scrollbar-width: none;
    }

    header nav ul::-webkit-scrollbar { display: none; }
}

@media (max-width: 600px) {
    .logo .logo-name { display: block; font-size: 13px; }
    .logo .logo-name span { display: none; }
}
