:root {
    --paper: #EAF0F4;
    --white: #FFFFFF;
    --ink: #142735;
    --ink-soft: #637987;
    --line: #D1DEE5;

    --blue: #087E8B;
    --blue-deep: #07515E;
    --blue-pale: #D8EFF0;

    --citrus: #C5DC55;

    --coral: #E16B45;
    --coral-pale: #FBE7DF;

    --sky: #B9D8E8;
    --mint: #C9E2D4;

    --shadow: 0 22px 55px rgba(16, 48, 64, .13);
    --r: 22px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Manrope, sans-serif;
    overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5,
p {
    margin-top: 0
}

h1,
h2,
h3,
h4 {
    font-family: "DM Serif Display", Georgia, serif;
    letter-spacing: -.035em
}

a {
    color: inherit
}

.mono {
    font-family: "Space Mono", monospace
}

.site-width {
    width: min(1220px, calc(100% - 40px));
    margin: auto
}

.section {
    padding: 112px 0;
    position: relative
}

.eyebrow {
    font: 700 11px "Space Mono", monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px
}

.eyebrow:before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--coral)
}

.title {
    font-size: clamp(39px, 5vw, 67px);
    line-height: .98;
    max-width: 760px;
    margin-bottom: 18px
}

.title em {
    color: var(--blue);
    font-style: italic
}

.copy {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.8;
    max-width: 630px
}

.btn-main,
.btn-outline {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    padding: 14px 23px;
    font-weight: 800;
    font-size: 14px;
    transition: .3s ease
}

.btn-main {
    background: var(--blue);
    color: #fff;
    border: 1px solid var(--blue);
    box-shadow: 0 10px 24px rgba(36, 88, 255, .2)
}

.btn-main:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    transform: translateY(-3px)
}

.btn-outline {
    background: rgba(255, 255, 255, .2);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .65);
    backdrop-filter: blur(8px)
}

.btn-outline:hover {
    background: #fff;
    color: var(--blue)
}

#progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    z-index: 99999;
    background: linear-gradient(90deg, var(--blue), var(--coral), var(--citrus))
}

#preload {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    transition: opacity .6s, visibility .6s
}

#preload.is-gone {
    opacity: 0;
    visibility: hidden
}

.pre-inner {
    text-align: center
}

.pre-mark {
    font-family: "DM Serif Display", serif;
    font-size: 64px;
    line-height: 1
}

.pre-mark i {
    color: var(--citrus)
}

.pre-line {
    height: 3px;
    width: 190px;
    background: rgba(255, 255, 255, .25);
    margin: 20px auto 12px;
    border-radius: 20px;
    overflow: hidden
}

.pre-line span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--citrus);
    animation: loadLine 1.4s ease forwards
}

@keyframes loadLine {
    to {
        width: 100%
    }
}

#cursor-dot,
#cursor-ring {
    position: fixed;
    z-index: 100001;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%)
}

#cursor-dot {
    width: 9px;
    height: 9px;
    background: var(--coral)
}

#cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(36, 88, 255, .45);
    transition: width .2s, height .2s, border-color .2s
}

body.cursor-active #cursor-ring {
    width: 56px;
    height: 56px;
    border-color: var(--coral)
}

@media(max-width:1024px) {
    #cursor-dot,
    #cursor-ring {
        display: none
    }
}

#nav {
    height: 78px;
    position: fixed;
    inset: 0 0 auto;
    z-index: 9990;
    transition: .35s;
    background: rgba(247, 248, 252, .92);
}

#nav.scrolled {
    background: rgba(247, 248, 252, .92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line)
}

.nav-row {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    text-decoration: none;
    font-family: "DM Serif Display", serif;
    font-size: 28px;
    letter-spacing: -.04em;
    color: var(--ink)
}

.brand i {
    color: var(--blue);
    font-style: normal
}

.nav-links {
    display: flex;
    gap: 3px;
    align-items: center
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 10px;
    transition: .2s
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
    background: var(--blue-pale)
}

.nav-cta {
    text-decoration: none;
    color: #fff;
    background: var(--ink);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    transition: .25s;
    white-space: nowrap
}

.nav-cta:hover {
    color: var(--ink);
    background: var(--citrus)
}

.menu-button {
    display: none;
    border: 0;
    background: var(--ink);
    color: #fff;
    border-radius: 10px;
    padding: 8px 11px
}

.mobile-panel {
    display: none;
    position: fixed;
    top: 78px;
    inset-inline: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 24px;
    z-index: 9989
}

.mobile-panel.open {
    display: grid;
    gap: 5px
}

.mobile-panel a {
    text-decoration: none;
    padding: 12px;
    font-weight: 800;
    border-bottom: 1px solid var(--line)
}

@media(max-width:900px) {
    .nav-links,
    .nav-cta {
        display: none
    }
    .menu-button {
        display: block
    }
}

#hero {
    min-height: 100svh;
    display: grid;
    align-items: end;
    position: relative;
    background: var(--blue);
    color: #fff;
    overflow: hidden;
    padding: 130px 0 70px
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(.2) saturate(.75) contrast(1.03);
    opacity: .66;
    animation: heroReveal 1.6s cubic-bezier(.22, .8, .2, 1) both
}

@keyframes heroReveal {
    from {
        clip-path: inset(0 100% 0 0);
        transform: scale(1.08)
    }
    to {
        clip-path: inset(0);
        transform: scale(1)
    }
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 34, 59, .94), rgba(18, 34, 59, .75) 45%, rgba(36, 88, 255, .18))
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    opacity: .26;
    background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(to bottom, transparent, #000 32%, transparent);
    animation: gridSlide 16s linear infinite
}

@keyframes gridSlide {
    to {
        background-position: 90px 90px
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1220px, calc(100% - 40px));
    margin: auto
}

.hero-brand {
    font: 400 clamp(76px, 15vw, 196px) "DM Serif Display", serif;
    letter-spacing: -.09em;
    line-height: .73;
    margin-left: -10px;
    color: #fff;
    opacity: .97
}

.hero-brand span {
    color: var(--citrus);
    font-style: italic
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: end;
    margin-top: 36px
}

.hero-bottom h1 {
    font: 400 clamp(35px, 5vw, 68px) "DM Serif Display", serif;
    line-height: 1.02;
    max-width: 670px;
    letter-spacing: -.04em;
    margin-bottom: 16px
}

.hero-bottom h1 em {
    color: var(--citrus)
}

.hero-description {
    max-width: 470px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.78;
    font-size: 15px;
    margin-bottom: 24px
}

.hero-note {
    border-left: 2px solid var(--citrus);
    padding-left: 22px;
    color: rgba(255, 255, 255, .85);
    font: 400 20px/1.55 "DM Serif Display", serif;
    max-width: 370px;
    margin-bottom: 10px
}

.hero-scroll {
    font: 700 10px "Space Mono", monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 26px
}

.hero-scroll:before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--citrus);
    animation: scrollLine 1.4s ease-in-out infinite alternate
}

@keyframes scrollLine {
    to {
        width: 52px
    }
}

@media(max-width:760px) {
    .hero-brand {
        line-height: .9;
        margin-left: -4px
    }
    .hero-bottom {
        grid-template-columns: 1fr;
        gap: 16px
    }
    .hero-note {
        font-size: 18px
    }
}

.about-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center
}

.about-stamp {
    background: var(--citrus);
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--ink);
    transform: rotate(-7deg);
    box-shadow: 18px 18px 0 var(--blue);
    margin: 35px auto
}

.about-stamp strong {
    display: block;
    font: 400 39px/1 "DM Serif Display", serif
}

.about-stamp span {
    display: block;
    font: 700 10px "Space Mono", monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 9px
}

.about-signals {
    border-top: 1px solid var(--line);
    margin-top: 30px
}

.signal {
    padding: 18px 0;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    border-bottom: 1px solid var(--line)
}

.signal-icon {
    color: var(--blue);
    font-size: 23px
}

.signal h4 {
    font-size: 21px;
    margin-bottom: 5px
}

.signal p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
    margin: 0
}

@media(max-width:760px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 16px
    }
}

#services {
    background: #eef3ff;
    overflow: hidden
}

.atlas-top {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 44px;
    margin-bottom: 75px;
    align-items: end
}

.atlas-index {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end
}

.atlas-index a {
    text-decoration: none;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 11px;
    transition: .25s
}

.atlas-index a:hover {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue)
}

.atlas-section {
    position: relative;
    padding: 78px 0;
    border-top: 1px solid rgba(18, 34, 59, .12)
}

.atlas-titlebar {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 25px;
    margin-bottom: 34px;
    align-items: start
}

.atlas-code {
    font: 700 11px "Space Mono", monospace;
    color: var(--blue);
    padding-top: 12px
}

.atlas-titlebar h3 {
    font-size: clamp(35px, 5vw, 58px);
    line-height: .96;
    margin-bottom: 9px
}

.atlas-titlebar p {
    color: var(--ink-soft);
    max-width: 560px;
    line-height: 1.75;
    font-size: 15px
}

.service-item {
    position: relative
}

.service-item .apply {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .25s
}

.service-item .apply:hover {
    gap: 11px
}

@media(max-width:760px) {
    .atlas-top {
        grid-template-columns: 1fr;
        gap: 20px
    }
    .atlas-index {
        justify-content: flex-start
    }
    .atlas-titlebar {
        grid-template-columns: 1fr;
        gap: 4px
    }
}

.loan-stairs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 12px;
    padding-top: 20px
}

.loan-step {
    background: #fff;
    border: 1px solid var(--line);
    border-bottom: 5px solid var(--blue);
    padding: 22px 18px;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    transition: .35s
}

.loan-step:nth-child(1) { min-height: 310px }
.loan-step:nth-child(2) { min-height: 350px }
.loan-step:nth-child(3) { min-height: 390px }
.loan-step:nth-child(4) { min-height: 430px }
.loan-step:nth-child(5) { min-height: 470px }
.loan-step:nth-child(6) { min-height: 510px }

.loan-step:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow);
    border-bottom-color: var(--coral)
}

.loan-symbol {
    width: 35px;
    height: 35px;
    background: var(--blue-pale);
    color: var(--blue);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 17px
}

.loan-step h4 {
    font-size: 20px;
    line-height: 1.05;
    margin-bottom: 12px
}

.loan-step p {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.72;
    flex: 1
}

@media(max-width:950px) {
    .loan-stairs { grid-template-columns: repeat(2, 1fr) }
    .loan-step, .loan-step:nth-child(n) { min-height: 340px }
}

@media(max-width:520px) {
    .loan-stairs { grid-template-columns: 1fr }
}

.insurance-ledger {
    background: #fff;
    border: 1px solid var(--line)
}

.ledger-head,
.ledger-row {
    display: grid;
    grid-template-columns: 90px 1fr 2fr 120px;
    align-items: center;
    gap: 18px;
    padding: 18px 24px
}

.ledger-head {
    background: var(--ink);
    color: rgba(255, 255, 255, .65);
    font: 700 10px "Space Mono", monospace;
    letter-spacing: .07em;
    text-transform: uppercase
}

.ledger-row {
    border-bottom: 1px solid var(--line);
    transition: .25s
}

.ledger-row:last-child { border-bottom: 0 }

.ledger-row:hover {
    background: var(--blue-pale);
    padding-left: 32px
}

.ledger-icon { font-size: 26px }

.ledger-row h4 {
    font-size: 20px;
    margin: 0
}

.ledger-row p {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.65;
    margin: 0
}

@media(max-width:760px) {
    .ledger-head { display: none }
    .ledger-row {
        grid-template-columns: 45px 1fr;
        padding: 20px
    }
    .ledger-row p { grid-column: 1/-1 }
    .ledger-row .apply { grid-column: 1/-1 }
}

.investment-sheets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0
}

.investment-sheet {
    padding: 38px 31px;
    border: 1px solid var(--line);
    background: #fff;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    transition: .35s
}

.investment-sheet:nth-child(2) {
    background: var(--citrus);
    transform: translateY(20px)
}

.investment-sheet:nth-child(3) {
    background: var(--blue);
    color: #fff;
    transform: translateY(40px)
}

.investment-sheet:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    z-index: 2
}

.investment-sheet:nth-child(2):hover { transform: translateY(5px) }
.investment-sheet:nth-child(3):hover { transform: translateY(15px) }

.investment-sheet .sheet-icon {
    font-size: 38px;
    margin-bottom: 40px
}

.investment-sheet h4 {
    font-size: 29px;
    line-height: 1.05;
    margin-bottom: 16px
}

.investment-sheet p {
    font-size: 14px;
    line-height: 1.78;
    color: var(--ink-soft);
    flex: 1
}

.investment-sheet:nth-child(3) p,
.investment-sheet:nth-child(3) .apply {
    color: rgba(255, 255, 255, .77)
}

@media(max-width:760px) {
    .investment-sheets {
        grid-template-columns: 1fr;
        gap: 14px
    }
    .investment-sheet:nth-child(n) {
        transform: none;
        min-height: auto
    }
}

.wealth-river {
    background: var(--ink);
    border-radius: var(--r);
    padding: 40px 32px;
    overflow: hidden;
    position: relative
}

.wealth-path {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1
}

.wealth-point {
    min-height: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .13);
    color: #fff;
    transition: .3s
}

.wealth-point:nth-child(even) { transform: translateY(43px) }

.wealth-point:hover {
    background: var(--citrus);
    color: var(--ink);
    transform: translateY(-12px)
}

.wealth-point:nth-child(even):hover { transform: translateY(31px) }

.wealth-point h4 {
    font-size: 21px;
    line-height: 1.05;
    margin: 55px 0 12px
}

.wealth-point p {
    color: rgba(255, 255, 255, .68);
    font-size: 12.5px;
    line-height: 1.7;
    flex: 1
}

.wealth-point:hover p,
.wealth-point:hover .apply { color: var(--ink) }

.wealth-point .w-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--citrus);
    box-shadow: 0 0 0 7px rgba(239, 242, 106, .15)
}

@media(max-width:960px) {
    .wealth-path { grid-template-columns: repeat(2, 1fr) }
    .wealth-point:nth-child(even) { transform: none }
    .wealth-point:nth-child(even):hover { transform: translateY(-7px) }
    .wealth-river:before { display: none }
}

@media(max-width:520px) {
    .wealth-path { grid-template-columns: 1fr }
}

.payment-circuit {
    min-height: 1000px;
    padding: 34px;
    position: relative;
    border: 1px solid var(--line);
    background-color: #fff;
    background-image: radial-gradient(var(--line) 1px, transparent 1px);
    background-size: 18px 18px
}

.circuit-line {
    position: absolute;
    background: var(--blue);
    height: 2px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.4s ease
}

.atlas-section.in-view .circuit-line { transform: scaleX(1) }

.circuit-line.l1 { width: 32%; left: 15%; top: 26% }
.circuit-line.l2 { width: 34%; left: 47%; top: 45%; transform: rotate(38deg) scaleX(0) }
.circuit-line.l3 { width: 28%; left: 20%; top: 72%; transform: rotate(-30deg) scaleX(0) }

.pay-node {
    width: min(270px, 29%);
    position: absolute;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 8px 8px 0 var(--blue-pale);
    transition: .3s;
    display: flex;
    flex-direction: column
}

.pay-node:hover {
    transform: translateY(-7px) rotate(-1deg);
    border-color: var(--blue);
    box-shadow: 12px 12px 0 var(--citrus)
}

.pay-node h4 {
    font-size: 20px;
    margin: 8px 0 10px
}

.pay-node p {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--ink-soft);
    flex: 1
}

.pay-node.n1 { top: 30px; left: 3% }
.pay-node.n2 { top: 25px; right: 4% }
.pay-node.n3 { top: 226px; left: 39% }
.pay-node.n4 { bottom: 20px; left: 5% }
.pay-node.n5 { bottom: 18px; left: 40% }
.pay-node.n6 { bottom: 38px; right: 3% }

@media(max-width:760px) {
    .payment-circuit {
        min-height: auto;
        display: grid;
        gap: 15px;
        background-image: none
    }
    .pay-node {
        position: relative;
        width: auto;
        inset: auto !important
    }
    .circuit-line { display: none }
}

.debt-map {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: stretch
}

.debt-state {
    padding: 36px;
    border: 1px solid var(--line);
    background: #fff
}

.debt-state.bad { background: var(--coral-pale) }
.debt-state.good { background: var(--mint) }

.debt-state>i {
    font-size: 38px;
    display: block;
    margin-bottom: 17px
}

.debt-state h4 {
    font-size: 31px;
    margin-bottom: 12px
}

.debt-state>p {
    color: var(--ink-soft);
    line-height: 1.75;
    font-size: 14px
}

.debt-arrow {
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    font-size: 28px
}

.debt-tools {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.debt-tool {
    border-top: 3px solid var(--coral);
    padding: 20px 0
}

.debt-tool h5 {
    font-size: 21px;
    margin-bottom: 8px
}

.debt-tool p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--ink-soft)
}

@media(max-width:760px) {
    .debt-map { grid-template-columns: 1fr }
    .debt-arrow { padding: 14px }
    .debt-arrow i { transform: rotate(90deg) }
    .debt-tools { grid-template-columns: 1fr }
}

.home-plan {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line)
}

.home-drawing {
    background: var(--sky);
    display: grid;
    place-items: center;
    padding: 48px;
    position: relative;
    overflow: hidden
}

.home-drawing:before,
.home-drawing:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(18, 34, 59, .18);
    border-radius: 50%;
    animation: protectPulse 3s ease-out infinite
}

.home-drawing:before { width: 280px; height: 280px }
.home-drawing:after { width: 430px; height: 430px; animation-delay: 1s }

@keyframes protectPulse {
    from { transform: scale(.7); opacity: .9 }
    to { transform: scale(1.12); opacity: 0 }
}

.home-icon {
    font-size: 125px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 12px 8px rgba(23, 60, 171, .14))
}

.home-drawing span {
    position: relative;
    z-index: 2;
    font: 700 11px "Space Mono", monospace;
    letter-spacing: .07em;
    color: var(--blue-deep);
    text-transform: uppercase
}

.home-coverages { padding: 28px 35px }

.home-coverage {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid var(--line)
}

.home-coverage:last-child { border: 0 }

.home-coverage>i {
    width: 50px;
    height: 50px;
    background: var(--blue-pale);
    color: var(--blue);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 20px
}

.home-coverage h4 {
    font-size: 23px;
    margin-bottom: 7px
}

.home-coverage p {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px
}

@media(max-width:760px) {
    .home-plan { grid-template-columns: 1fr }
}

.auto-bay {
    background: var(--ink);
    color: #fff;
    padding: 36px;
    position: relative;
    overflow: hidden
}

.auto-hero {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    margin-bottom: 42px
}

.auto-hero h4 {
    font-size: 46px;
    line-height: .96;
    margin-bottom: 13px
}

.auto-hero p {
    color: rgba(255, 255, 255, .67);
    font-size: 14px;
    line-height: 1.75
}

.auto-car {
    text-align: center;
    font-size: 115px;
    animation: drive 3.8s ease-in-out infinite
}

@keyframes drive {
    0%, 100% { transform: translateX(0) rotate(0) }
    50% { transform: translateX(10px) rotate(-2deg) }
}

.auto-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    position: relative;
    z-index: 1
}

.auto-service {
    background: rgba(255, 255, 255, .08);
    padding: 24px;
    border-top: 2px solid var(--citrus);
    transition: .3s;
    display: flex;
    flex-direction: column
}

.auto-service:hover {
    background: var(--citrus);
    color: var(--ink);
    transform: translateY(-9px)
}

.auto-service h5 {
    font-size: 22px;
    margin: 12px 0 9px
}

.auto-service p {
    font-size: 13px;
    color: rgba(255, 255, 255, .68);
    line-height: 1.72;
    flex: 1
}

.auto-service:hover p,
.auto-service:hover .apply { color: var(--ink) }

@media(max-width:760px) {
    .auto-hero, .auto-services { grid-template-columns: 1fr }
    .auto-car { font-size: 75px }
}

.benefit-runway {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.benefit {
    min-height: 330px;
    padding: 25px 20px;
    background: #fff;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: .35s
}

.benefit:nth-child(2n) { background: var(--blue-pale) }

.benefit:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-11px);
    box-shadow: var(--shadow)
}

.benefit-icon {
    font-size: 29px;
    margin-bottom: auto
}

.benefit h4 {
    font-size: 21px;
    margin: 24px 0 9px
}

.benefit p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.7
}

.benefit:hover p { color: rgba(255, 255, 255, .8) }

@media(max-width:900px) {
    .benefit-runway { grid-template-columns: repeat(2, 1fr) }
}

@media(max-width:520px) {
    .benefit-runway { grid-template-columns: 1fr }
}

#process {
    background: var(--blue);
    color: #fff
}

.process-layout {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 70px;
    align-items: center
}

.process-title .eyebrow { color: var(--citrus) }
.process-title .eyebrow:before { background: var(--citrus) }
.process-title .title em { color: var(--citrus) }
.process-title .copy { color: rgba(255, 255, 255, .7) }

.process-list {
    counter-reset: step;
    border-top: 1px solid rgba(255, 255, 255, .25)
}

.process-entry {
    counter-increment: step;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    transition: .3s
}

.process-entry:before {
    content: "0" counter(step);
    color: var(--citrus);
    font: 700 18px "Space Mono", monospace;
    padding-top: 3px
}

.process-entry:hover { padding-left: 12px }

.process-entry h4 {
    font-size: 24px;
    margin-bottom: 4px
}

.process-entry p {
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.7;
    margin: 0
}

@media(max-width:760px) {
    .process-layout {
        grid-template-columns: 1fr;
        gap: 34px
    }
}

#testimonials { background: var(--coral-pale) }

.quote-marquee {
    overflow: hidden;
    white-space: nowrap;
    border-block: 1px solid rgba(255, 120, 94, .25);
    margin-bottom: 48px;
    padding: 13px 0;
    color: var(--coral);
    font: 400 25px "DM Serif Display", serif
}

.quote-marquee span {
    display: inline-block;
    animation: marquee 22s linear infinite
}

@keyframes marquee { to { transform: translateX(-50%) } }

.testimonial-orbit {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 48px;
    align-items: start
}

.client-portrait {
    background: var(--blue);
    padding: 16px 16px 38px;
    transform: rotate(-3deg);
    box-shadow: 14px 14px 0 var(--citrus);
    max-width: 350px;
    margin: 25px auto
}

.client-portrait img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    filter: saturate(.8)
}

.client-portrait figcaption {
    color: #fff;
    font: 400 18px "DM Serif Display", serif;
    padding: 16px 6px 0
}

.quote-stack { display: grid; gap: 13px }

.client-quote {
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(255, 120, 94, .25);
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 12px;
    transition: .3s
}

.client-quote:hover {
    transform: translateX(9px);
    box-shadow: var(--shadow)
}

.client-quote>b {
    font: 400 46px/1 "DM Serif Display", serif;
    color: var(--coral)
}

.client-quote p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 12px
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 10px
}

.client-meta img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover
}

.client-meta strong {
    font-size: 12px;
    display: block
}

.client-meta span {
    font-size: 11px;
    color: var(--ink-muted)
}

@media(max-width:760px) {
    .testimonial-orbit { grid-template-columns: 1fr }
}

.faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    align-items: start
}

.faq {
    background: #fff;
    border: 1px solid var(--line);
    transition: .25s
}

.faq:hover, .faq.open { border-color: var(--blue) }

.faq-question {
    padding: 18px 19px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px
}

.faq-mark {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: .3s
}

.faq.open .faq-mark {
    background: var(--blue);
    color: #fff;
    transform: rotate(45deg)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 19px;
    transition: .4s
}

.faq-answer p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0
}

.faq.open .faq-answer {
    max-height: 250px;
    padding-bottom: 18px
}

@media(max-width:760px) {
    .faq-columns { grid-template-columns: 1fr }
}

#newsletter { background: var(--citrus) }

.newsletter-box {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: center
}

.newsletter-box .title em { color: var(--blue) }

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px
}

.field label {
    font: 700 10px "Space Mono", monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink)
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(18, 34, 59, .25);
    background: #fff;
    color: var(--ink);
    font-family: Manrope, sans-serif;
    font-size: 14px;
    outline: 0;
    border-radius: 0;
    transition: .25s
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 4px 4px 0 var(--blue)
}

.field textarea {
    min-height: 120px;
    resize: vertical
}

.field option {
    color: var(--ink);
    background: #fff
}

.check-row {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 16px 0
}

.check-row input {
    accent-color: var(--blue);
    margin-top: 2px
}

.check-row a {
    color: var(--blue);
    font-weight: 800
}

@media(max-width:760px) {
    .newsletter-box {
        grid-template-columns: 1fr;
        gap: 30px
    }
}

#contact { background: #fff }

.contact-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px
}

.form-box {
    padding: 32px;
    background: var(--paper);
    border: 1px solid var(--line)
}

.contact-ways {
    border-top: 1px solid var(--line);
    margin-top: 25px
}

.contact-way {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 19px 0;
    border-bottom: 1px solid var(--line)
}

.contact-way i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue)
}

.contact-way h5 {
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 800;
    margin: 2px 0 4px
}

.contact-way p {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.65;
    margin: 0
}

@media(max-width:760px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px
    }
}

#cta {
    background: var(--blue);
    color: #fff;
    padding: 88px 0
}

.cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.cta-row h2 {
    font-size: clamp(36px, 5vw, 62px);
    margin: 0;
    line-height: .98
}

.cta-row h2 em { color: var(--citrus) }

.cta-row p {
    color: rgba(255, 255, 255, .7);
    max-width: 540px;
    line-height: 1.75;
    margin: 16px 0 0
}

.cta-button {
    background: var(--citrus);
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    padding: 17px 23px;
    white-space: nowrap;
    transition: .3s
}

.cta-button:hover {
    background: #fff;
    color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow)
}

@media(max-width:760px) {
    .cta-row { display: block }
    .cta-button {
        display: inline-block;
        margin-top: 24px
    }
}

footer {
    background: var(--ink);
    color: #fff;
    padding: 65px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 48px
}

.footer-brand {
    font: 400 31px "DM Serif Display", serif;
    margin-bottom: 12px
}

.footer-brand i {
    color: var(--citrus);
    font-style: normal
}

.footer-copy {
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    line-height: 1.75;
    max-width: 280px
}

.footer-grid h6 {
    font: 700 10px "Space Mono", monospace;
    color: rgba(255, 255, 255, .45);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 8px 0 17px
}

.footer-grid a:not(.social) {
    display: block;
    color: rgba(255, 255, 255, .67);
    font-size: 13px;
    text-decoration: none;
    margin: 0 0 10px;
    transition: .25s
}

.footer-grid a:not(.social):hover {
    color: var(--citrus);
    padding-left: 4px
}

.social {
    display: inline-grid;
    place-items: center;
    width: 33px;
    height: 33px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    text-decoration: none;
    margin: 17px 5px 0 0;
    transition: .25s
}

.social:hover {
    background: var(--citrus);
    color: var(--ink);
    border-color: var(--citrus)
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, .38);
    font-size: 12px
}

.footer-bottom a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    margin-left: 18px
}

@media(max-width:760px) {
    .footer-grid { grid-template-columns: 1fr 1fr }
    .footer-grid>:first-child { grid-column: 1/-1 }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 34, 59, .6);
    backdrop-filter: blur(7px);
    z-index: 100100;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: .3s
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible
}

.modal-box {
    width: min(590px, 100%);
    max-height: 78vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(25px);
    transition: .35s
}

.modal-overlay.open .modal-box { transform: translateY(0) }

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line)
}

.modal-head h4 {
    margin: 0;
    font-size: 25px
}

.modal-close {
    background: var(--blue-pale);
    border: 0;
    width: 31px;
    height: 31px;
    color: var(--blue);
    cursor: pointer
}

.modal-body {
    overflow-y: auto;
    padding: 22px;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.8
}

.modal-body h6 {
    font: 800 14px Manrope, sans-serif;
    color: var(--ink);
    margin: 16px 0 5px
}

#toasts {
    position: fixed;
    top: 92px;
    right: 18px;
    z-index: 100200;
    display: grid;
    gap: 10px
}

.custom-toast {
    max-width: 340px;
    padding: 14px 16px;
    background: #fff;
    border-left: 4px solid var(--blue);
    box-shadow: var(--shadow);
    font-size: 13px;
    display: flex;
    gap: 9px;
    align-items: center;
    animation: toastIn .35s ease both
}

@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0 }
    to { transform: translateX(0); opacity: 1 }
}

@keyframes toastOut {
    to { transform: translateX(120%); opacity: 0 }
}

/* ========= NEW: PAGE HEROES & DEDICATED PAGE STYLES ========= */
.page-hero {
    min-height: 50vh;
    display: grid;
    align-items: end;
    position: relative;
    background: var(--blue);
    color: #fff;
    overflow: hidden;
    padding: 130px 0 70px
}

.page-hero .eyebrow {
    color: var(--citrus);
    position: relative;
    z-index: 2
}

.page-hero .eyebrow:before {
    background: var(--citrus)
}

.page-hero-title {
    font: 400 clamp(35px, 5vw, 68px) "DM Serif Display", serif;
    line-height: 1.02;
    max-width: 760px;
    letter-spacing: -.04em;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    z-index: 2
}

.page-hero-title em { color: var(--citrus) }

.page-hero-desc {
    max-width: 560px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.78;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2
}

.page-hero .hero-shade,
.page-hero .hero-grid-lines {
    position: absolute;
    inset: 0
}

.page-hero .hero-grid-lines {
    opacity: .26;
    background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(to bottom, transparent, #000 32%, transparent);
    animation: gridSlide 16s linear infinite
}

.page-hero .hero-shade {
    background: linear-gradient(90deg, rgba(18, 34, 59, .94), rgba(18, 34, 59, .75) 45%, rgba(36, 88, 255, .18))
}

.page-section {
    padding: 80px 0
}

.page-section.alt { background: #fff }
.page-section.tinted { background: #eef3ff }

/* Legal pages */
.legal-toc {
    background: var(--blue-pale);
    padding: 24px 28px;
    border-radius: var(--r);
    margin-bottom: 40px
}

.legal-toc h5 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: Manrope, sans-serif;
    text-transform: uppercase;
    letter-spacing: .05em
}

.legal-toc ol {
    margin: 0;
    padding-left: 20px;
    color: var(--blue);
    columns: 2;
    column-gap: 30px
}

.legal-toc a {
    color: var(--blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 2;
    display: block
}

.legal-toc a:hover { text-decoration: underline }

.legal-meta {
    font: 700 11px "Space Mono", monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line)
}

.legal-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px
}

.legal-section h3 {
    font-size: 26px;
    margin-bottom: 14px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 12px
}

.legal-section h3:before {
    content: "";
    width: 6px;
    height: 26px;
    background: var(--coral);
    border-radius: 3px;
    flex-shrink: 0
}

.legal-section p {
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: 14px;
    font-size: 15px
}

/* About page extras */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.value-card {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: .35s
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--blue)
}

.value-card .v-icon {
    width: 50px;
    height: 50px;
    background: var(--blue-pale);
    color: var(--blue);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 18px
}

.value-card h4 {
    font-size: 22px;
    margin-bottom: 10px
}

.value-card p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
    margin: 0
}

@media(max-width:760px) {
    .values-grid { grid-template-columns: 1fr }
    .legal-toc ol { columns: 1 }
}

/* Services page atlas navigation */
.atlas-index a[href^="services.html"] {
    color: var(--blue);
    border-color: var(--blue)
}

/* Contact extra */
.contact-extra {
    background: var(--blue-pale);
    padding: 24px;
    border-radius: var(--r);
    margin-top: 20px
}

.contact-extra h5 {
    font-family: "DM Serif Display", serif;
    font-size: 20px;
    margin-bottom: 8px
}

.contact-extra p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
    margin: 0
}

/* Subscribe page extras */
.subscribe-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px
}

.subscribe-benefit {
    background: #fff;
    padding: 24px;
    border: 1px solid rgba(18, 34, 59, .15);
    border-radius: var(--r);
    display: flex;
    gap: 14px;
    align-items: start
}

.subscribe-benefit i {
    color: var(--blue);
    font-size: 24px;
    flex-shrink: 0
}

.subscribe-benefit h5 {
    font-family: "DM Serif Display", serif;
    font-size: 18px;
    margin-bottom: 5px
}

.subscribe-benefit p {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.65;
    margin: 0
}

@media(max-width:760px) {
    .subscribe-benefits { grid-template-columns: 1fr }
}