.ivf-process-page {
    --ivf-navy: #20296e;
    --ivf-pink: #ff70a3;
    --ivf-lavender: #f4f2fb;
    --ivf-lavender-deep: #e9e7f5;
    --ivf-ink: #292b48;
    --ivf-muted: #686980;
    --ivf-paper: #fffdfd;
    --ivf-line: rgba(32, 41, 110, .12);
    color: var(--ivf-ink);
    overflow: hidden;
}

.ivf-container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.ivf-hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    padding: clamp(78px, 9vw, 126px) 0 28px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 91% 12%, rgba(255, 112, 163, .17), transparent 28%),
        radial-gradient(ellipse at 58% 79%, rgba(32, 41, 110, .065), transparent 36%),
        linear-gradient(125deg, #f5f3fb 0%, #fff8fa 60%, #f8f5fc 100%);
}

.ivf-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(rgba(32, 41, 110, .16) .75px, transparent .75px);
    background-size: 20px 20px;
    content: "";
    opacity: .23;
    mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
}

.ivf-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr);
    align-items: center;
    gap: clamp(42px, 6vw, 88px);
}

.ivf-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 570px;
    animation: ivf-reveal .7s ease-out both;
}

.ivf-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 19px;
    color: var(--ivf-pink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ivf-eyebrow > span {
    width: 24px;
    height: 2px;
    background: currentColor;
}

.ivf-hero h1 {
    max-width: 600px;
    margin: 0;
    color: var(--ivf-navy);
    font-size: clamp(47px, 5.4vw, 72px);
    font-weight: 750;
    letter-spacing: -.065em;
    line-height: .99;
}

.ivf-hero h1 em,
.ivf-section h2 em {
    color: var(--ivf-pink);
    font-style: normal;
}

.ivf-hero-lead {
    max-width: 520px;
    margin: 26px 0 0;
    color: #5e6075;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.75;
}

.ivf-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 23px;
    margin-top: 31px;
}

.ivf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}

.ivf-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.ivf-button-primary {
    background: var(--ivf-navy);
    box-shadow: 0 10px 24px rgba(32, 41, 110, .16);
    color: #fff;
}

.ivf-button-primary:hover,
.ivf-button-primary:focus {
    background: #151d59;
    color: #fff;
}

.ivf-button span,
.ivf-card-link span,
.ivf-safety-link span {
    font-size: 17px;
    font-weight: 400;
}

.ivf-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ivf-navy);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.ivf-text-link:hover {
    color: #e25489;
}

.ivf-hero-note {
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 440px;
    margin-top: 38px;
    padding-top: 19px;
    border-top: 1px solid rgba(32, 41, 110, .14);
}

.ivf-note-mark {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 112, 163, .15);
    color: #d85283;
    font-size: 14px;
}

.ivf-hero-note p {
    margin: 0;
    color: #66687b;
    font-size: 12px;
    line-height: 1.55;
}

.ivf-hero-note strong {
    color: var(--ivf-navy);
}

.ivf-hero-visual {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    transform: perspective(1150px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    transition: transform .22s cubic-bezier(.2, .7, .2, 1);
    animation: ivf-reveal .8s .1s ease-out both;
}

.ivf-hero-image-frame {
    position: relative;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 34px 80px rgba(39, 34, 91, .18), 0 5px 18px rgba(39, 34, 91, .07);
    transform: translateZ(22px);
}

.ivf-hero-image-frame::before {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(32, 41, 110, .1);
    border-radius: 16px;
    content: "";
    pointer-events: none;
}

.ivf-hero-image-frame img {
    display: block;
    width: 100%;
    border-radius: 13px;
    height: auto;
}

.ivf-visual-index {
    position: absolute;
    top: -35px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #85839a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    transform: translateZ(36px);
}

.ivf-visual-index span:first-child {
    color: var(--ivf-pink);
    font-size: 13px;
}

.ivf-index-rule {
    width: 35px;
    height: 1px;
    background: rgba(32, 41, 110, .25);
}

.ivf-hero-stamp {
    position: absolute;
    right: -31px;
    bottom: -30px;
    display: grid;
    width: 112px;
    height: 112px;
    align-content: center;
    justify-items: center;
    border: 1px solid rgba(32, 41, 110, .12);
    border-radius: 50%;
    background: #fff9fb;
    color: var(--ivf-navy);
    box-shadow: 0 16px 30px rgba(32, 41, 110, .1);
    font-size: 11px;
    transform: translateZ(48px) rotate(7deg);
}

.ivf-hero-stamp::before {
    position: absolute;
    inset: 7px;
    border: 1px dashed rgba(255, 112, 163, .65);
    border-radius: 50%;
    content: "";
}

.ivf-hero-stamp span,
.ivf-hero-stamp b {
    position: relative;
}

.ivf-hero-stamp b {
    margin-top: 4px;
    font-size: 15px;
}

.ivf-hero-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(32, 41, 110, .08);
    border-radius: 50%;
    pointer-events: none;
}

.ivf-hero-orbit-one {
    top: 82px;
    right: -115px;
    width: 410px;
    height: 410px;
}

.ivf-hero-orbit-two {
    top: 137px;
    right: -61px;
    width: 300px;
    height: 300px;
    border-color: rgba(255, 112, 163, .12);
}

.ivf-hero-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: clamp(72px, 8vw, 112px);
    color: #88869a;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ivf-hero-bottom-line {
    width: 50px;
    height: 1px;
    background: rgba(32, 41, 110, .24);
}

.ivf-jump-nav {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--ivf-line);
    background: #fffdfd;
}

.ivf-jump-inner {
    display: flex;
    align-items: center;
    gap: clamp(17px, 3vw, 38px);
    min-height: 70px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ivf-jump-label {
    flex: 0 0 auto;
    color: var(--ivf-pink);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ivf-jump-inner a {
    flex: 0 0 auto;
    color: #66677b;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease;
}

.ivf-jump-inner a:hover,
.ivf-jump-inner a:focus {
    color: var(--ivf-pink);
}

.ivf-section {
    padding: clamp(76px, 9vw, 120px) 0;
}

.ivf-section h2 {
    margin: 0;
    color: var(--ivf-navy);
    font-size: clamp(32px, 4vw, 49px);
    font-weight: 730;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.ivf-overview {
    background: var(--ivf-paper);
}

.ivf-overview-grid {
    display: grid;
    grid-template-columns: minmax(240px, .76fr) minmax(0, 1.24fr);
    gap: clamp(44px, 9vw, 130px);
}

.ivf-overview .ivf-section-intro {
    max-width: 390px;
}

.ivf-overview-copy {
    max-width: 680px;
    padding-top: 5px;
}

.ivf-overview-copy > p,
.ivf-section-heading > p,
.ivf-prep-heading > p:not(.ivf-eyebrow),
.ivf-aftercare-grid > div > p:not(.ivf-eyebrow),
.ivf-outcomes-grid > div > p:not(.ivf-eyebrow),
.ivf-faq-intro > p:not(.ivf-eyebrow) {
    color: var(--ivf-muted);
    font-size: 15px;
    line-height: 1.8;
}

.ivf-overview-copy > p:first-child {
    margin-top: 0;
}

.ivf-overview-copy > p:last-of-type {
    margin-bottom: 0;
}

.ivf-inline-callout {
    display: flex;
    gap: 18px;
    margin-top: 29px;
    padding: 20px 22px;
    border-left: 3px solid var(--ivf-pink);
    background: #f6f4fb;
}

.ivf-callout-number {
    color: var(--ivf-pink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .05em;
}

.ivf-inline-callout p {
    margin: 0;
    color: #65667b;
    font-size: 13px;
    line-height: 1.65;
}

.ivf-inline-callout strong {
    color: var(--ivf-navy);
}

.ivf-considerations {
    background:
        radial-gradient(ellipse at 98% 0%, rgba(255, 112, 163, .09), transparent 32%),
        var(--ivf-lavender);
}

.ivf-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 38px;
    margin-bottom: 42px;
}

.ivf-section-heading > div {
    max-width: 640px;
}

.ivf-section-heading > p {
    max-width: 360px;
    margin: 0 0 4px;
}

.ivf-consider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.ivf-consider-card {
    position: relative;
    min-height: 245px;
    padding: 30px;
    border: 1px solid rgba(32, 41, 110, .1);
    border-radius: 9px;
    background: rgba(255, 253, 253, .86);
    box-shadow: 0 12px 30px rgba(32, 41, 110, .045);
}

.ivf-consider-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-color: transparent;
    background: var(--ivf-navy);
    color: #fff;
}

.ivf-card-kicker {
    margin-bottom: 20px;
    color: #ffabc7;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ivf-consider-card h3 {
    margin: 0 0 12px;
    color: var(--ivf-navy);
    font-size: 19px;
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.ivf-consider-feature h3 {
    max-width: 340px;
    color: #fff;
    font-size: 27px;
}

.ivf-consider-card p {
    margin: 0;
    color: #6b6d80;
    font-size: 13px;
    line-height: 1.72;
}

.ivf-consider-feature p {
    max-width: 490px;
    color: rgba(255, 255, 255, .76);
}

.ivf-card-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
    color: #ffb7cf;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.ivf-card-link:hover {
    color: #fff;
}

.ivf-card-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 21px;
    place-items: center;
    border-radius: 50%;
    background: #fce9ef;
    color: #d85283;
    font-size: 14px;
}

.ivf-consider-wide {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    grid-column: 1 / -1;
    min-height: 0;
}

.ivf-consider-wide .ivf-card-icon {
    flex: 0 0 38px;
    margin: 0;
}

.ivf-consider-wide h3 {
    margin-top: 2px;
}

.ivf-small-print {
    margin: 24px 0 0;
    color: #838397;
    font-size: 11px;
    line-height: 1.6;
}

.ivf-steps-section {
    background: #fffdfd;
}

.ivf-steps-heading {
    margin-bottom: 35px;
}

.ivf-infographic {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    margin: 0 0 67px;
    padding: 22px 24px 17px;
    border: 1px solid rgba(32, 41, 110, .1);
    border-radius: 12px;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255, 112, 163, .075), transparent 65%),
        #f8f6fb;
    box-shadow: 0 17px 42px rgba(32, 41, 110, .08);
    transform: perspective(1300px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transition: transform .22s cubic-bezier(.2, .7, .2, 1);
}

.ivf-infographic-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(32, 41, 110, .12);
    color: var(--ivf-navy);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.ivf-infographic-topline span:last-child {
    color: #9998a8;
    font-size: 8px;
}

.ivf-infographic img {
    display: block;
    width: min(100%, 760px);
    max-height: 410px;
    margin: 18px auto 6px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.ivf-infographic figcaption {
    padding-top: 11px;
    border-top: 1px solid rgba(32, 41, 110, .1);
    color: #858599;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}

.ivf-timeline {
    position: relative;
    max-width: 970px;
    margin-inline: auto;
}

.ivf-timeline::before {
    position: absolute;
    top: 14px;
    bottom: 56px;
    left: 35px;
    width: 1px;
    background: linear-gradient(var(--ivf-pink), rgba(32, 41, 110, .12));
    content: "";
}

.ivf-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 130px;
    gap: 23px;
    align-items: start;
    padding: 0 0 42px;
}

.ivf-stage-no {
    position: relative;
    z-index: 1;
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border: 1px solid rgba(32, 41, 110, .12);
    border-radius: 50%;
    background: #fffdfd;
    color: var(--ivf-pink);
    font-size: 14px;
    font-weight: 800;
}

.ivf-stage-label {
    margin: 4px 0 9px;
    color: #d65f8b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ivf-stage-copy h3 {
    margin: 0 0 9px;
    color: var(--ivf-navy);
    font-size: 22px;
    font-weight: 720;
    letter-spacing: -.035em;
}

.ivf-stage-copy > p:last-child {
    max-width: 650px;
    margin: 0;
    color: #696a7e;
    font-size: 13px;
    line-height: 1.75;
}

.ivf-stage-aside {
    padding-top: 8px;
    color: #a09eae;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .11em;
    line-height: 1.55;
    text-align: right;
    text-transform: uppercase;
}

.ivf-timeline-last {
    padding-bottom: 0;
}

.ivf-preparation {
    background: #f4f2fb;
}

.ivf-prep-grid {
    display: grid;
    grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr);
    gap: clamp(48px, 8vw, 112px);
}

.ivf-prep-heading {
    align-self: start;
}

.ivf-prep-heading > p:not(.ivf-eyebrow) {
    margin: 19px 0 27px;
}

.ivf-button-outline {
    border-color: rgba(32, 41, 110, .24);
    color: var(--ivf-navy);
    background: transparent;
}

.ivf-button-outline:hover {
    border-color: var(--ivf-navy);
    color: #fff;
    background: var(--ivf-navy);
}

.ivf-prep-list {
    border-top: 1px solid rgba(32, 41, 110, .15);
}

.ivf-prep-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 21px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(32, 41, 110, .15);
}

.ivf-prep-item > span {
    padding-top: 2px;
    color: var(--ivf-pink);
    font-size: 11px;
    font-weight: 800;
}

.ivf-prep-item h3 {
    margin: 0 0 7px;
    color: var(--ivf-navy);
    font-size: 16px;
    font-weight: 720;
    letter-spacing: -.015em;
}

.ivf-prep-item p {
    max-width: 600px;
    margin: 0;
    color: #696a7e;
    font-size: 12px;
    line-height: 1.75;
}

.ivf-aftercare {
    background: #fffdfd;
}

.ivf-aftercare-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr);
    align-items: center;
    gap: clamp(42px, 9vw, 130px);
}

.ivf-aftercare-grid > div {
    max-width: 620px;
}

.ivf-aftercare-grid > div > p:not(.ivf-eyebrow) {
    margin: 18px 0 0;
}

.ivf-aftercare-note {
    padding: 29px 30px;
    border: 1px solid rgba(255, 112, 163, .25);
    border-radius: 9px;
    background: #fff7fa;
}

.ivf-note-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    place-items: center;
    border-radius: 50%;
    background: #fce5ed;
    color: #cf4e7d;
    font-size: 16px;
}

.ivf-aftercare-note h3 {
    margin: 0 0 9px;
    color: var(--ivf-navy);
    font-size: 17px;
    font-weight: 730;
}

.ivf-aftercare-note p {
    margin: 0;
    color: #6e6c7d;
    font-size: 12px;
    line-height: 1.75;
}

.ivf-outcomes {
    background:
        radial-gradient(ellipse at 10% 100%, rgba(255, 112, 163, .12), transparent 32%),
        var(--ivf-lavender);
}

.ivf-outcomes-grid {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: clamp(45px, 8vw, 112px);
}

.ivf-outcomes-grid > div:first-child > p:not(.ivf-eyebrow) {
    margin-top: 20px;
}

.ivf-factor-list {
    border-top: 1px solid rgba(32, 41, 110, .16);
}

.ivf-factor-list > div {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(32, 41, 110, .16);
}

.ivf-factor-list > div > span {
    color: var(--ivf-pink);
    font-size: 11px;
    font-weight: 800;
}

.ivf-factor-list p {
    margin: 0;
    color: #717184;
    font-size: 12px;
    line-height: 1.7;
}

.ivf-factor-list strong {
    color: var(--ivf-navy);
    font-size: 13px;
}

.ivf-safety {
    padding-top: 74px;
    padding-bottom: 74px;
    background: #fffdfd;
}

.ivf-safety-panel {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: clamp(27px, 4vw, 42px);
    border: 1px solid rgba(32, 41, 110, .13);
    border-radius: 12px;
    background: linear-gradient(110deg, #f7f5fc 0%, #fff8fa 100%);
}

.ivf-safety-mark {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    background: var(--ivf-navy);
    color: #ffb4ce;
    font-size: 18px;
}

.ivf-safety-copy .ivf-eyebrow {
    margin-bottom: 11px;
}

.ivf-safety-copy h2 {
    max-width: 690px;
    margin: 0 0 12px;
    color: var(--ivf-navy);
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 730;
    letter-spacing: -.04em;
    line-height: 1.2;
}

.ivf-safety-copy > p:last-child {
    max-width: 760px;
    margin: 0;
    color: #6c6d80;
    font-size: 12px;
    line-height: 1.75;
}

.ivf-safety-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    color: var(--ivf-navy);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.ivf-safety-link:hover {
    color: #d85283;
}

.ivf-faq {
    background: #f4f2fb;
}

.ivf-faq-grid {
    display: grid;
    grid-template-columns: minmax(260px, .76fr) minmax(0, 1.24fr);
    gap: clamp(45px, 8vw, 112px);
}

.ivf-faq-intro > p:not(.ivf-eyebrow) {
    margin-top: 19px;
}

.ivf-faq-list {
    border-top: 1px solid rgba(32, 41, 110, .17);
}

.ivf-faq-list details {
    border-bottom: 1px solid rgba(32, 41, 110, .17);
}

.ivf-faq-list summary {
    position: relative;
    padding: 21px 40px 21px 0;
    color: var(--ivf-navy);
    cursor: pointer;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.45;
    list-style: none;
}

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

.ivf-faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid rgba(32, 41, 110, .2);
    border-radius: 50%;
    color: var(--ivf-pink);
    content: "+";
    font-size: 17px;
    font-weight: 400;
    transform: translateY(-50%);
}

.ivf-faq-list details[open] summary::after {
    content: "−";
}

.ivf-faq-list details p {
    max-width: 690px;
    margin: -3px 38px 21px 0;
    color: #6f7082;
    font-size: 12px;
    line-height: 1.75;
}

.ivf-final-cta {
    padding: 65px 0;
    background:
        radial-gradient(ellipse at 88% 20%, rgba(255, 112, 163, .28), transparent 32%),
        var(--ivf-navy);
}

.ivf-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ivf-final-cta .ivf-eyebrow {
    margin-bottom: 12px;
    color: #ffabc7;
}

.ivf-final-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 730;
    letter-spacing: -.05em;
}

.ivf-final-cta p:last-child {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.65;
}

.ivf-button-light {
    flex: 0 0 auto;
    background: #fff5f8;
    color: var(--ivf-navy);
}

.ivf-button-light:hover,
.ivf-button-light:focus {
    background: var(--ivf-pink);
    color: #fff;
}

@keyframes ivf-reveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .ivf-hero {
        min-height: 0;
    }

    .ivf-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
        gap: 38px;
    }

    .ivf-hero h1 {
        font-size: clamp(44px, 6vw, 62px);
    }

    .ivf-hero-stamp {
        right: -17px;
        width: 96px;
        height: 96px;
    }

    .ivf-jump-inner {
        gap: 22px;
    }

    .ivf-safety-panel {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .ivf-safety-link {
        grid-column: 2;
    }
}

@media (max-width: 767px) {
    .ivf-container {
        width: min(100% - 38px, 560px);
    }

    .ivf-hero {
        padding-top: 71px;
        padding-bottom: 22px;
    }

    .ivf-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 47px;
    }

    .ivf-hero-copy {
        max-width: 560px;
    }

    .ivf-hero h1 {
        max-width: 500px;
        font-size: clamp(43px, 12vw, 65px);
    }

    .ivf-hero-lead {
        margin-top: 20px;
    }

    .ivf-hero-actions {
        gap: 17px;
        margin-top: 26px;
    }

    .ivf-button {
        min-height: 50px;
        padding-inline: 17px;
        font-size: 12px;
    }

    .ivf-hero-note {
        margin-top: 26px;
    }

    .ivf-hero-visual {
        width: calc(100% - 13px);
        margin-right: 13px;
    }

    .ivf-hero-image-frame {
        padding: 9px;
        border-radius: 16px;
    }

    .ivf-hero-image-frame img {
        border-radius: 9px;
    }

    .ivf-hero-stamp {
        right: -12px;
        bottom: -29px;
    }

    .ivf-visual-index {
        top: -28px;
        right: 0;
    }

    .ivf-hero-bottom {
        margin-top: 64px;
        font-size: 8px;
        letter-spacing: .09em;
    }

    .ivf-hero-bottom-line {
        width: 24px;
        flex: 0 0 24px;
    }

    .ivf-jump-inner {
        width: 100%;
        min-height: 59px;
        padding-inline: 19px;
        gap: 19px;
    }

    .ivf-jump-inner a {
        font-size: 10px;
    }

    .ivf-section {
        padding: 68px 0;
    }

    .ivf-section h2 {
        font-size: clamp(32px, 9vw, 43px);
    }

    .ivf-overview-grid,
    .ivf-prep-grid,
    .ivf-aftercare-grid,
    .ivf-outcomes-grid,
    .ivf-faq-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 29px;
    }

    .ivf-overview-grid {
        gap: 23px;
    }

    .ivf-section-heading {
        display: block;
        margin-bottom: 29px;
    }

    .ivf-section-heading > p {
        margin-top: 17px;
    }

    .ivf-consider-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .ivf-consider-card {
        min-height: 0;
        padding: 25px;
    }

    .ivf-consider-feature {
        min-height: 242px;
    }

    .ivf-consider-wide {
        grid-column: auto;
        gap: 16px;
    }

    .ivf-infographic {
        margin-bottom: 48px;
        padding: 15px 13px 12px;
    }

    .ivf-infographic-topline {
        font-size: 8px;
        letter-spacing: .09em;
    }

    .ivf-infographic-topline span:last-child {
        max-width: 130px;
        text-align: right;
    }

    .ivf-infographic img {
        margin-top: 13px;
    }

    .ivf-timeline::before {
        left: 23px;
        bottom: 44px;
    }

    .ivf-timeline-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 16px;
        padding-bottom: 34px;
    }

    .ivf-stage-no {
        width: 48px;
        height: 48px;
        font-size: 12px;
    }

    .ivf-stage-label {
        margin-top: 2px;
        line-height: 1.5;
    }

    .ivf-stage-copy h3 {
        font-size: 19px;
    }

    .ivf-stage-aside {
        display: none;
    }

    .ivf-prep-grid {
        gap: 28px;
    }

    .ivf-prep-heading > p:not(.ivf-eyebrow) {
        margin-bottom: 20px;
    }

    .ivf-prep-item {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 0;
    }

    .ivf-aftercare-grid {
        gap: 25px;
    }

    .ivf-outcomes-grid {
        gap: 24px;
    }

    .ivf-safety {
        padding-block: 58px;
    }

    .ivf-safety-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
        padding: 25px;
    }

    .ivf-safety-mark {
        width: 44px;
        height: 44px;
    }

    .ivf-safety-link {
        grid-column: 1;
    }

    .ivf-faq-grid {
        gap: 25px;
    }

    .ivf-final-cta {
        padding: 51px 0;
    }

    .ivf-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 23px;
    }
}

@media (max-width: 390px) {
    .ivf-container {
        width: calc(100% - 32px);
    }

    .ivf-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .ivf-hero-bottom {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ivf-process-page *,
    .ivf-process-page *::before,
    .ivf-process-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .ivf-hero-visual,
    .ivf-infographic {
        transform: none !important;
    }
}

/* Readability and spacing refinement */
.ivf-process-page {
    font-size: 16px;
    line-height: 1.7;
}

.ivf-container {
    width: min(1120px, calc(100% - 48px));
}

.ivf-hero {
    min-height: 0;
    padding: clamp(64px, 7.5vw, 100px) 0 26px;
}

.ivf-hero-grid {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    gap: clamp(34px, 5.2vw, 70px);
}

.ivf-hero h1 {
    font-size: clamp(42px, 4.8vw, 64px);
    letter-spacing: -.045em;
    line-height: 1.04;
}

.ivf-hero-lead {
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.7;
}

.ivf-hero-note {
    margin-top: 30px;
}

.ivf-hero-note p {
    font-size: 13px;
    line-height: 1.65;
}

.ivf-hero-bottom {
    margin-top: clamp(42px, 5.3vw, 72px);
    font-size: 10px;
}

.ivf-jump-inner {
    min-height: 62px;
    gap: clamp(16px, 2.1vw, 28px);
}

.ivf-jump-inner a {
    font-size: 12px;
}

.ivf-section {
    padding: clamp(56px, 6.5vw, 92px) 0;
}

.ivf-section h2 {
    font-size: clamp(31px, 3.4vw, 43px);
    letter-spacing: -.04em;
    line-height: 1.14;
}

.ivf-overview-grid,
.ivf-prep-grid,
.ivf-aftercare-grid,
.ivf-outcomes-grid,
.ivf-faq-grid {
    column-gap: clamp(34px, 5.5vw, 78px);
}

.ivf-overview-copy > p,
.ivf-section-heading > p,
.ivf-prep-heading > p:not(.ivf-eyebrow),
.ivf-aftercare-grid > div > p:not(.ivf-eyebrow),
.ivf-outcomes-grid > div > p:not(.ivf-eyebrow),
.ivf-faq-intro > p:not(.ivf-eyebrow) {
    font-size: 16px;
    line-height: 1.75;
}

.ivf-inline-callout p {
    font-size: 14px;
    line-height: 1.7;
}

.ivf-section-heading {
    margin-bottom: 34px;
}

.ivf-consider-grid {
    gap: 18px;
}

.ivf-consider-card {
    padding: clamp(23px, 2.4vw, 30px);
    border-radius: 12px;
}

.ivf-consider-card h3 {
    font-size: 20px;
    line-height: 1.35;
}

.ivf-consider-card p {
    font-size: 15px;
    line-height: 1.72;
}

.ivf-consider-feature h3 {
    font-size: 26px;
}

.ivf-card-link {
    font-size: 13px;
}

.ivf-infographic {
    margin-bottom: 52px;
}

.ivf-infographic img {
    max-height: 370px;
}

.ivf-timeline {
    max-width: 940px;
}

.ivf-timeline-item {
    grid-template-columns: 64px minmax(0, 1fr) 116px;
    gap: 20px;
    padding-bottom: 36px;
}

.ivf-stage-no {
    width: 64px;
    height: 64px;
}

.ivf-stage-label {
    font-size: 10px;
}

.ivf-stage-copy h3 {
    font-size: 21px;
    line-height: 1.3;
}

.ivf-stage-copy > p:last-child {
    max-width: 680px;
    font-size: 15px;
    line-height: 1.75;
}

.ivf-stage-aside {
    font-size: 10px;
}

.ivf-prep-item {
    gap: 18px;
    padding: 19px 0;
}

.ivf-prep-item h3 {
    font-size: 18px;
    line-height: 1.35;
}

.ivf-prep-item p,
.ivf-aftercare-note p,
.ivf-factor-list p,
.ivf-safety-copy > p:last-child,
.ivf-faq-list details p {
    font-size: 15px;
    line-height: 1.75;
}

.ivf-aftercare-note {
    padding: 26px 28px;
    border-radius: 12px;
}

.ivf-aftercare-note h3 {
    font-size: 19px;
    line-height: 1.35;
}

.ivf-factor-list > div {
    padding: 16px 0;
}

.ivf-factor-list strong {
    font-size: 15px;
}

.ivf-safety {
    padding-block: 58px;
}

.ivf-safety-panel {
    gap: 22px;
    border-radius: 14px;
}

.ivf-safety-copy h2 {
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.25;
}

.ivf-safety-link {
    font-size: 13px;
}

.ivf-faq-list summary {
    padding-block: 19px;
    font-size: 16px;
    line-height: 1.5;
}

.ivf-faq-list details p {
    margin-bottom: 19px;
}

.ivf-final-cta {
    padding: 56px 0;
}

.ivf-final-cta h2 {
    font-size: clamp(30px, 3.5vw, 42px);
    line-height: 1.15;
}

.ivf-final-cta p:last-child {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.75;
}

@media (max-width: 991px) {
    .ivf-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
        gap: 32px;
    }

    .ivf-timeline-item {
        grid-template-columns: 60px minmax(0, 1fr) 100px;
        gap: 17px;
    }

    .ivf-stage-no {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 767px) {
    .ivf-container {
        width: min(100% - 38px, 560px);
    }

    .ivf-hero {
        padding-top: 58px;
        padding-bottom: 22px;
    }

    .ivf-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .ivf-hero h1 {
        font-size: clamp(42px, 11vw, 54px);
    }

    .ivf-hero-lead {
        font-size: 16px;
    }

    .ivf-hero-bottom {
        margin-top: 49px;
    }

    .ivf-section {
        padding: 54px 0;
    }

    .ivf-section h2 {
        font-size: clamp(30px, 8.2vw, 39px);
    }

    .ivf-overview-copy > p,
    .ivf-section-heading > p,
    .ivf-prep-heading > p:not(.ivf-eyebrow),
    .ivf-aftercare-grid > div > p:not(.ivf-eyebrow),
    .ivf-outcomes-grid > div > p:not(.ivf-eyebrow),
    .ivf-faq-intro > p:not(.ivf-eyebrow) {
        font-size: 15px;
    }

    .ivf-overview-grid,
    .ivf-prep-grid,
    .ivf-aftercare-grid,
    .ivf-outcomes-grid,
    .ivf-faq-grid {
        gap: 25px;
    }

    .ivf-section-heading {
        margin-bottom: 25px;
    }

    .ivf-consider-card {
        padding: 23px;
    }

    .ivf-consider-card p,
    .ivf-stage-copy > p:last-child,
    .ivf-prep-item p,
    .ivf-aftercare-note p,
    .ivf-factor-list p,
    .ivf-safety-copy > p:last-child,
    .ivf-faq-list details p,
    .ivf-final-cta p:last-child {
        font-size: 14px;
    }

    .ivf-consider-feature {
        min-height: 0;
    }

    .ivf-timeline-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 15px;
        padding-bottom: 30px;
    }

    .ivf-stage-no {
        width: 48px;
        height: 48px;
    }

    .ivf-stage-copy h3 {
        font-size: 19px;
    }

    .ivf-prep-item h3 {
        font-size: 17px;
    }

    .ivf-faq-list summary {
        padding-block: 17px;
        font-size: 15px;
    }

    .ivf-final-cta {
        padding: 48px 0;
    }
}

@media (max-width: 390px) {
    .ivf-container {
        width: calc(100% - 32px);
    }
}

/* Final page-wide layout and content-scanability pass */
.ivf-section {
    padding-block: clamp(48px, 5.8vw, 80px);
}

.ivf-jump-inner {
    min-height: 0;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    padding-block: 12px;
    gap: 8px clamp(12px, 1.7vw, 22px);
}

.ivf-jump-label {
    flex: 0 0 auto;
}

.ivf-jump-inner a {
    white-space: normal;
    line-height: 1.35;
}

.ivf-consider-card {
    min-height: 0;
}

.ivf-consider-feature {
    min-height: 0;
}

.ivf-bullet-list {
    margin: 0;
    padding-left: 1.2em;
    color: inherit;
    font-size: 15px;
    line-height: 1.72;
}

.ivf-bullet-list > li {
    padding-left: .18em;
}

.ivf-bullet-list > li + li {
    margin-top: 9px;
}

.ivf-bullet-list li::marker {
    color: var(--ivf-pink);
    font-size: .9em;
}

.ivf-bullet-list ul {
    margin: 8px 0 2px;
    padding-left: 1.2em;
}

.ivf-bullet-list ul > li + li {
    margin-top: 3px;
}

.ivf-consider-card > .ivf-bullet-list,
.ivf-consider-wide .ivf-bullet-list,
.ivf-stage-copy .ivf-bullet-list,
.ivf-prep-item .ivf-bullet-list,
.ivf-safety-risk-copy .ivf-bullet-list {
    color: #64667b;
}

.ivf-stage-copy > p:last-child,
.ivf-stage-copy > p,
.ivf-safety-risk-copy > p {
    font-size: 15px;
    line-height: 1.78;
}

.ivf-stage-note {
    margin-top: 13px;
    padding: 12px 15px;
    border-left: 2px solid var(--ivf-pink);
    border-radius: 0 8px 8px 0;
    background: #f8f5fa;
    color: #64667b;
    font-size: 14px;
    line-height: 1.65;
}

.ivf-stage-note strong {
    color: var(--ivf-navy);
}

.ivf-stage-note p {
    margin: 4px 0 0;
    color: #64667b;
    font-size: 15px;
    line-height: 1.72;
}

.ivf-prep-item .ivf-bullet-list {
    margin-top: 8px;
}

.ivf-timeline {
    max-width: 1000px;
}

.ivf-timeline::before {
    display: none;
}

.ivf-timeline-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0 18px;
    padding: 0 0 28px;
    margin-bottom: 27px;
    border-bottom: 1px solid rgba(32, 41, 110, .1);
}

.ivf-timeline-last {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.ivf-stage-no {
    width: 38px;
    height: 38px;
    border-color: rgba(32, 41, 110, .09);
    background: #f8f6fb;
    font-size: 11px;
}

.ivf-stage-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.ivf-stage-copy h3 {
    font-size: 21px;
}

.ivf-stage-copy > p:last-child,
.ivf-stage-copy > p {
    max-width: 780px;
    font-size: 15px;
    line-height: 1.78;
}

.ivf-stage-aside {
    display: inline-flex;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: 12px;
    min-width: 124px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid rgba(32, 41, 110, .1);
    border-radius: 999px;
    background: #f8f6fb;
    color: #686980;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.45;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
}

.ivf-outcomes-grid {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: start;
    gap: clamp(30px, 5vw, 68px);
}

.ivf-outcomes-grid > div:first-child h2 {
    max-width: 500px;
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.22;
}

.ivf-outcomes-grid > div:first-child > p:not(.ivf-eyebrow) {
    color: #858397;
    font-size: 11px;
    letter-spacing: .08em;
    line-height: 1.55;
}

.ivf-safety-panel {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 18px 22px;
}

.ivf-safety-mark {
    grid-column: 1;
    grid-row: 1;
    margin-top: 4px;
}

.ivf-safety-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.ivf-safety-copy h2 {
    max-width: 760px;
    font-size: clamp(24px, 2.4vw, 31px);
    line-height: 1.24;
}

.ivf-safety-risk-copy > p {
    margin: 0;
    color: #64667b;
}

.ivf-safety-risk-copy .ivf-bullet-list {
    margin-top: 8px;
}

.ivf-safety-link {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: 0;
}

@media (min-width: 768px) {
    .ivf-consider-grid {
        grid-template-areas:
            "feature problems"
            "sperm problems"
            "genetic genetic";
        grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
        align-items: stretch;
        gap: 16px;
    }

    .ivf-consider-feature {
        grid-area: feature;
    }

    .ivf-consider-grid > .ivf-consider-card:nth-child(2) {
        grid-area: problems;
    }

    .ivf-consider-grid > .ivf-consider-card:nth-child(3) {
        grid-area: sperm;
    }

    .ivf-consider-wide {
        grid-area: genetic;
    }
}

@media (max-width: 767px) {
    .ivf-jump-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100% - 38px, 560px);
        min-height: 0;
        padding: 12px 0;
        gap: 7px 9px;
    }

    .ivf-jump-label {
        grid-column: 1 / -1;
        padding: 2px 0 4px;
    }

    .ivf-jump-inner a {
        display: flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        padding: 8px 7px;
        border: 1px solid rgba(32, 41, 110, .09);
        border-radius: 7px;
        background: #fff;
        font-size: 12px;
        text-align: center;
    }

    .ivf-jump-inner a:last-child {
        grid-column: 1 / -1;
    }

    .ivf-outcomes-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
    }

    .ivf-outcomes-grid > div:first-child h2 {
        max-width: 430px;
        font-size: clamp(24px, 6vw, 27px);
    }

    .ivf-safety-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .ivf-safety-mark,
    .ivf-safety-copy,
    .ivf-safety-link {
        grid-column: 1;
    }

    .ivf-safety-mark {
        grid-row: 1;
    }

    .ivf-safety-copy {
        grid-row: 2;
    }

    .ivf-safety-link {
        grid-row: 3;
    }

    .ivf-stage-aside {
        display: inline-flex;
    }
}
