:root {
    --navy-950: #07162f;
    --navy-900: #0b1f3d;
    --navy-800: #12345f;
    --blue: #0052cc;
    --blue-dark: #003f9e;
    --blue-soft: #deebff;
    --gold: #ffbd38;
    --gold-dark: #d99300;
    --ink: #172b4d;
    --muted: #5e6c84;
    --line: #dfe1e6;
    --surface: #ffffff;
    --surface-alt: #f7f8fa;
    --shadow: 0 18px 50px rgba(9, 30, 66, .12);
}

* {
    box-sizing: border-box;
}

.is-hidden {
    display: none !important;
}

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body,
button,
a {
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.16;
    letter-spacing: -.025em;
}

h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: clamp(2.65rem, 5.2vw, 4.85rem);
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.16rem;
}

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

.section-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.section-block {
    padding: 110px 0;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 6px;
    color: #fff;
    background: var(--blue);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.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: 30;
    border-bottom: 1px solid rgba(223, 225, 230, .82);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.nav-shell {
    width: min(1240px, calc(100% - 48px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand img,
.footer-brand img {
    display: block;
    border-radius: 10px;
}

.brand strong,
.footer-brand strong {
    display: block;
    color: var(--navy-950);
    font-size: 1.05rem;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: .73rem;
    line-height: 1.25;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: .94rem;
    font-weight: 700;
}

.site-navigation a {
    transition: color .2s ease;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
    color: var(--blue);
}

.site-navigation .nav-login {
    min-height: 40px;
    padding: 7px 18px;
    border: 1px solid var(--blue);
    border-radius: 6px;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
    width: 100%;
    height: 2px;
    display: block;
    margin: 4px 0;
    background: var(--navy-950);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 110px;
    background:
        linear-gradient(135deg, rgba(222, 235, 255, .55), transparent 42%),
        linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.hero::before {
    content: "";
    position: absolute;
    right: -180px;
    top: -260px;
    width: 680px;
    height: 680px;
    border: 1px solid rgba(0, 82, 204, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(0, 82, 204, .025), 0 0 0 160px rgba(0, 82, 204, .018);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
    align-items: center;
    gap: 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.hero-lead {
    max-width: 680px;
    margin-bottom: 14px;
    color: var(--navy-800);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
}

.hero-support {
    max-width: 650px;
    margin-bottom: 30px;
    font-size: 1.02rem;
}

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

.hero-actions .button {
    width: min(100%, 430px);
}

.button {
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.3;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 10px 24px rgba(0, 82, 204, .2);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--blue-dark);
}

.button-secondary {
    border-color: var(--line);
    color: var(--ink);
    background: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--blue);
}

.trust-row {
    margin-top: 26px;
    display: flex;
    gap: 8px 20px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.trust-row span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.hero-visual {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
    transform-origin: center left;
}

.visual-topbar {
    min-height: 46px;
    padding: 0 15px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
}

.visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 17px 0 0 var(--gold), 34px 0 0 #36b37e;
    margin-right: 35px;
}

.visual-status {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--blue);
    background: var(--blue-soft);
}

.workflow-strip {
    padding: 12px 14px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
    background: var(--surface-alt);
}

.workflow-strip span {
    min-width: 0;
    padding: 7px 5px;
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden;
    color: var(--muted);
    background: #fff;
    font-size: .58rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflow-strip b {
    width: 17px;
    height: 17px;
    margin-right: 2px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
}

.workflow-strip .active {
    border-color: var(--blue);
    color: var(--blue);
}

.hero-visual > img {
    width: 100%;
    height: auto;
    display: block;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 44px;
}

.section-heading > p:last-child {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.benefits {
    background: #fff;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
    min-height: 260px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.info-card:hover {
    border-color: #b3c8e8;
    box-shadow: 0 12px 30px rgba(9, 30, 66, .08);
    transform: translateY(-4px);
}

.card-number {
    width: 42px;
    height: 42px;
    margin-bottom: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: .78rem;
    font-weight: 800;
}

.info-card p,
.output-card p {
    margin-bottom: 0;
    font-size: .91rem;
}

.workflow {
    color: #fff;
    background: var(--navy-950);
}

.workflow h2,
.workflow h3 {
    color: #fff;
}

.workflow p {
    color: #aebbd0;
}

.workflow .eyebrow {
    color: var(--gold);
}

.heading-row {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 470px);
    gap: 60px;
    align-items: end;
}

.workflow-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    list-style: none;
}

.workflow-list li {
    position: relative;
    padding: 0 24px 0 0;
}

.workflow-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 54px;
    right: 10px;
    height: 1px;
    background: #345071;
}

.step-number {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    border: 1px solid #426085;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--navy-950);
    background: var(--gold);
    font-weight: 800;
}

.workflow-list h3 {
    font-size: 1rem;
}

.workflow-list p {
    margin-bottom: 0;
    font-size: .86rem;
}

.outputs {
    background: var(--surface-alt);
}

.outputs-layout {
    display: grid;
    grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
    gap: 70px;
    align-items: start;
}

.sticky-heading {
    position: sticky;
    top: 120px;
    margin-bottom: 0;
}

.text-link {
    color: var(--blue);
    font-weight: 800;
}

.text-link span {
    margin-left: 5px;
}

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

.output-card {
    min-height: 215px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.output-card > span {
    min-width: 42px;
    height: 32px;
    margin-bottom: 30px;
    padding: 0 8px;
    border-radius: 4px;
    display: inline-grid;
    place-items: center;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .05em;
}

.pricing {
    background: #fff;
}

.pricing-panel {
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(9, 30, 66, .06);
}

.pricing-panel h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.price-list {
    border-top: 1px solid var(--line);
}

.price-list div {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: .93rem;
}

.price-list strong {
    color: var(--blue);
}

.about {
    color: #fff;
    background: var(--navy-950);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about h2 {
    color: #fff;
}

.about .eyebrow {
    color: var(--gold);
}

.about-grid .section-heading {
    margin-bottom: 0;
}

.about-copy {
    font-size: 1.08rem;
}

.about-copy p {
    color: #b8c5d8;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.faq {
    background: var(--surface-alt);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    gap: 80px;
}

.faq-list {
    border-top: 1px solid var(--line);
}

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

.faq-list summary {
    position: relative;
    padding: 22px 44px 22px 0;
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 15px;
    color: var(--blue);
    font-size: 1.6rem;
    font-weight: 400;
}

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

.faq-list details p {
    max-width: 720px;
    padding: 0 40px 20px 0;
    margin: 0;
}

.site-footer {
    padding: 56px 0 28px;
    color: #fff;
    background: #041024;
}

.footer-grid {
    padding-bottom: 38px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.footer-brand {
    max-width: 520px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.footer-brand img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 190 / 42;
}

.footer-brand strong {
    color: #fff;
}

.footer-brand p {
    margin: 4px 0 0;
    color: #91a2bb;
    font-size: .87rem;
}

.footer-grid nav {
    display: flex;
    gap: 24px;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 700;
}

.footer-grid nav a:hover,
.footer-grid nav a:focus-visible {
    color: var(--gold);
}

.legal-grid {
    padding: 26px 0;
    border-top: 1px solid #1b2b43;
    border-bottom: 1px solid #1b2b43;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

.legal-grid p {
    margin: 0;
    color: #8294ae;
    font-size: .76rem;
}

.copyright {
    padding-top: 24px;
    color: #74869f;
    font-size: .75rem;
}

@media (max-width: 1023px) {
    .section-block {
        padding: 86px 0;
    }

    .hero {
        padding: 76px 0 90px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-copy {
        max-width: 780px;
    }

    .hero-visual {
        transform: none;
    }

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

    .heading-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .workflow-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .workflow-list li {
        min-height: 110px;
        padding: 0 0 24px 72px;
    }

    .workflow-list li:not(:last-child)::after {
        top: 44px;
        bottom: 0;
        left: 21px;
        right: auto;
        width: 1px;
        height: auto;
    }

    .step-number {
        position: absolute;
        left: 0;
        top: 0;
    }

    .outputs-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .sticky-heading {
        position: static;
    }

    .pricing-panel {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-grid {
        gap: 50px;
    }

}

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

    .section-shell,
    .nav-shell {
        width: min(100% - 32px, 1180px);
    }

    .nav-shell {
        min-height: 70px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand small {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .site-navigation {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        padding: 10px 16px 18px;
        border-bottom: 1px solid var(--line);
        display: none;
        align-items: stretch;
        gap: 2px;
        background: #fff;
        box-shadow: 0 14px 30px rgba(9, 30, 66, .1);
    }

    .site-navigation.is-open {
        display: grid;
    }

    .site-navigation a {
        padding: 10px 12px;
    }

    .site-navigation .nav-login {
        margin-top: 5px;
        justify-content: center;
    }

    .hero {
        padding: 58px 0 68px;
    }

    .hero::before {
        display: none;
    }

    h1 {
        font-size: clamp(2.35rem, 12vw, 3.35rem);
    }

    .hero-lead {
        font-size: 1.16rem;
    }

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

    .button {
        width: 100%;
    }

    .workflow-strip {
        grid-template-columns: repeat(6, 82px);
        overflow: hidden;
    }

    .visual-topbar span:nth-child(2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

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

    .section-heading {
        margin-bottom: 32px;
    }

    .benefit-grid,
    .output-grid,
    .pricing-panel,
    .about-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: auto;
    }

    .card-number {
        margin-bottom: 24px;
    }

    .pricing-panel {
        padding: 28px 22px;
    }

    .about-grid {
        gap: 20px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }

    .footer-grid nav {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .legal-grid {
        gap: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
