:root {
    --ink: #061828;
    --muted: #3d454c;
    --soft: #eaf5ff;
    --paper: #f7faff;
    --white: #ffffff;
    --line: #cfe2f5;
    --solar: #ffd000;
    --solar-dark: #003eaf;
    --clean: #056396;
    --leaf: #1079be;
    --danger: #b42318;
    --shadow: 0 18px 46px rgba(23, 79, 134, 0.12);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    overflow-wrap: anywhere;
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
    font-weight: 780;
    overflow-wrap: anywhere;
}

h1 {
    font-size: clamp(2.55rem, 6vw, 5.6rem);
    max-width: 980px;
}

h2 {
    font-size: clamp(1.85rem, 3.8vw, 3.1rem);
}

h3 {
    font-size: 1.25rem;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(207, 226, 245, 0.8);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: max-content;
}

.brand-mark {
    width: 58px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--white);
    /*
    border: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(23, 79, 134, 0.08);
    */
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1.02rem;
}

.brand small {
    color: var(--muted);
    font-size: 0.76rem;
}

.site-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: var(--radius);
    color: var(--muted);
    text-decoration: none;
    font-weight: 680;
    font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: var(--soft);
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 760;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.btn-small {
    min-height: 42px;
    padding: 0 14px;
}

.btn-primary {
    background: var(--solar);
    color: #17130a;
}

.btn-primary:hover {
    background: #ffd15d;
    box-shadow: 0 5px 10px rgba(245, 181, 27, 0.1);
}

.btn-secondary {
    background: var(--white);
    border-color: var(--line);
    color: var(--ink);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.38);
    color: var(--white);
}

.hero {
    position: relative;
    min-height: 82vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: #155a99;
}

.hero-media,
.hero-media video,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media video,
.hero-media img {
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 68, 117, 0.82), rgba(15, 68, 117, 0.48) 52%, rgba(15, 68, 117, 0.14)),
        linear-gradient(180deg, rgba(15, 68, 117, 0.16), rgba(15, 68, 117, 0.78));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 74px;
}

.hero p {
    max-width: 760px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
    margin-bottom: 0.75rem;
    color: var(--solar-dark);
    font-weight: 830;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.hero .eyebrow {
    color: var(--solar);
}

.hero-actions,
.cta-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 860px;
    margin-top: 40px;
}

.proof-item {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.proof-item strong {
    display: block;
    font-size: 1.55rem;
}

.proof-item span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.93rem;
}

.quick-strip {
    background: var(--ink);
    color: var(--white);
}

.quick-strip .container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
}

.quick-strip p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.quick-strip strong {
    color: var(--white);
}

.section {
    padding: 84px 0;
}

.section-soft {
    background: var(--paper);
}

.section-tight {
    padding: 58px 0;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
    gap: 44px;
    align-items: end;
    margin-bottom: 36px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

.section-head > *,
.split > *,
.cta-inner > *,
.card,
.stat,
.lead-form,
.calculator {
    min-width: 0;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 48px;
    align-items: center;
}

.split.align-start {
    align-items: start;
}

.rich-text > * + * {
    margin-top: 1.1rem;
}

.rich-text h2,
.rich-text h3 {
    margin-top: 2rem;
}

.rich-text ul,
.rich-text ol {
    padding-left: 1.25rem;
}

.rich-text li {
    margin-bottom: 0.55rem;
}

.lead {
    color: var(--muted);
    font-size: 1.14rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(23, 79, 134, 0.06);
}

.card.pad {
    padding: 0;
    display: grid;
    align-content: start;
}

.card-photo {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    display: block;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--line);
}

.card.pad > :not(.card-photo) {
    margin-left: 24px;
    margin-right: 24px;
}

.card.pad > :last-child:not(.card-photo) {
    margin-bottom: 24px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--line);
}

.split .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
    background: var(--white);
    padding: 24px;
}

.stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 2rem;
    line-height: 1;
}

.stat span {
    color: var(--muted);
    font-size: 0.93rem;
}

.media-frame {
    position: relative;
    min-height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.media-frame img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.media-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
}

.steps {
    display: grid;
    gap: 14px;
    counter-reset: step;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--solar);
    font-weight: 850;
}

.step p {
    margin: 8px 0 0;
    color: var(--muted);
}

.calculator {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
}

.calculator h3 {
    color: var(--white);
}

.calculator p {
    color: rgba(255, 255, 255, 0.74);
}

.calculator label,
.lead-form label {
    display: grid;
    gap: 7px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

.calculator input {
    border-color: rgba(255, 255, 255, 0.28);
}

.result-box {
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
}

.result-box strong {
    display: block;
    font-size: 1.8rem;
}

.lead-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(23, 79, 134, 0.06);
}

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

.check {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    font-weight: 560;
}

.check input {
    width: 18px;
    min-height: 18px;
    margin-top: 4px;
}

.trap {
    display: none;
}

.alert {
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--soft);
}

.alert.error {
    color: var(--danger);
    border-color: #f4c7c3;
    background: #fff4f2;
}

.error-list {
    margin: 0;
    padding-left: 1.2rem;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.faq-list summary {
    cursor: pointer;
    padding: 18px 20px;
    font-weight: 780;
}

.faq-list details p {
    padding: 0 20px 18px;
    color: var(--muted);
}

.article-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.article-card div {
    padding: 20px;
}

.article-card h3 a {
    text-decoration: none;
}

.meta {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.text-link {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--clean);
    font-weight: 760;
    text-decoration: none;
}

.text-link svg {
    width: 16px;
    height: 16px;
}

.page-hero {
    padding: 78px 0 44px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    color: var(--ink);
}

.page-hero p {
    max-width: 840px;
    color: var(--muted);
    font-size: 1.16rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--clean);
    text-decoration: none;
}

.cta-band {
    padding: 54px 0;
    background: var(--ink);
    color: var(--white);
}

.cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.76);
}

.cta-band .eyebrow {
    color: var(--solar);
}

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

.price-card {
    padding: 0;
}

.price-card .card-photo {
    margin-bottom: 20px;
}

.price-card > :not(.card-photo) {
    margin-left: 26px;
    margin-right: 26px;
}

.price-card > :last-child:not(.card-photo) {
    margin-bottom: 26px;
}

.price-card .price {
    margin: 5px 26px;
    font-size: 1.8rem;
    font-weight: 850;
}

.area-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.area-cloud a,
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--radius);
    background: var(--soft);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.91rem;
}

.source-list {
    display: grid;
    gap: 16px;
}

.source-item {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.source-item p {
    color: var(--muted);
}

.site-footer {
    padding: 54px 0 24px;
    background: #155a99;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 34px;
}

.site-footer h2 {
    margin-bottom: 14px;
    font-size: 1rem;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--solar);
}

.site-footer p,
.site-footer small {
    color: rgba(255, 255, 255, 0.68);
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: auto auto auto;
        justify-content: space-between;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
        order: 3;
    }

    .header-cta {
        order: 2;
    }

    .site-nav {
        position: fixed;
        inset: 74px 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
        padding: 14px 16px 22px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        justify-content: center;
        min-height: 48px;
    }

    .section-head,
    .split,
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .pricing-grid,
    .stats-row,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.72rem;
    }

    .header-inner {
        min-height: 68px;
        gap: 10px;
    }

    .brand small {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .site-nav {
        inset: 68px 0 auto;
        max-height: calc(100vh - 68px);
    }

    .hero {
        min-height: 86vh;
    }

    .hero-content {
        padding: 96px 0 44px;
    }

    .quick-strip .container,
    .card-grid,
    .pricing-grid,
    .stats-row,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .quick-strip .btn {
        width: 100%;
    }

    .section {
        padding: 62px 0;
    }

    .media-frame {
        min-height: 300px;
    }

    .media-caption {
        position: static;
        border-radius: 0;
        background: var(--white);
    }

    .footer-bottom {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .cta-actions,
    .hero-actions,
    .button-row {
        width: 100%;
    }
}
