:root {
    --blue: #1e3a8a;
    --blue-dark: #0f1f4f;
    --blue-ink: #0b163f;
    --green: #4ade80;
    --gold: #facc15;
    --ink: #0f172a;
    --muted: #5f708d;
    --line: #d7e2f2;
    --soft: #f7fbff;
    --paper: #ffffff;
    --glass: rgba(255, 255, 255, 0.78);
    --shadow: 0 26px 80px rgba(15, 23, 42, 0.14);
    --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.08);
    --shadow-blue: 0 22px 52px rgba(30, 58, 138, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Segoe UI", Montserrat, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 0%, rgba(74, 222, 128, 0.22), transparent 28rem),
        radial-gradient(circle at 92% 4%, rgba(30, 58, 138, 0.22), transparent 34rem),
        linear-gradient(180deg, #eef6ff 0%, #fbfdff 38%, #f7fafc 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(30, 58, 138, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(30, 58, 138, 0.028) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

a {
    color: inherit;
}

.site-header,
.section,
.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 14px;
    border: 1px solid rgba(215, 226, 242, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    padding: 11px 15px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
    text-decoration: none;
    font-weight: 900;
}

.brand img {
    width: 56px;
    height: auto;
    flex: 0 0 auto;
}

.brand-text {
    display: grid;
    min-width: 0;
    gap: 3px;
    line-height: 1.08;
}

.brand-text strong,
.brand-text small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-text strong {
    color: var(--ink);
}

.brand-text small {
    color: #6d7f9b;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.nav {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.nav a {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 12px;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav a:hover {
    border-color: #c7d8f2;
    background: #f8fbff;
    color: var(--blue);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    color: #7a8aa6;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.breadcrumbs.section {
    margin-top: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 8px 0 0;
    backdrop-filter: none;
}

.breadcrumbs a {
    color: #536b92;
    text-decoration: none;
}

.breadcrumbs span:not(:last-child)::after {
    content: "/";
    margin-left: 7px;
    color: #b9c8dd;
}

.hero {
    padding: 52px 0 46px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.76fr);
    gap: clamp(28px, 5vw, 58px);
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    letter-spacing: -0.052em;
}

h1 {
    max-width: 820px;
    font-size: clamp(44px, 5.8vw, 74px);
    line-height: 0.95;
}

.lead {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.65;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 16px;
    padding: 0 22px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: #fff;
    box-shadow: var(--shadow-blue);
}

.button.secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(199, 216, 242, 0.95);
    border-radius: 34px;
    background:
        radial-gradient(circle at 90% 100%, rgba(74, 222, 128, 0.24), transparent 15rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.9));
    box-shadow: var(--shadow);
    padding: 34px;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 5px solid rgba(74, 222, 128, 0.62);
    pointer-events: none;
}

.hero-card strong {
    position: relative;
    display: block;
    color: var(--blue-dark);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.hero-card p {
    position: relative;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.hero-list {
    position: relative;
    display: grid;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.hero-list li {
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    padding: 13px 15px;
    color: #263854;
    font-weight: 900;
}

.section {
    position: relative;
    padding: 46px 0;
}

.section-head {
    max-width: 780px;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.02;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.grid,
.scenario-grid,
.related-grid,
.value-strip,
.faq-grid {
    display: grid;
    gap: 16px;
    align-items: stretch;
}

.grid,
.scenario-grid,
.related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.card,
.scenario-card,
.related-card,
.value-item,
.faq-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(215, 226, 242, 0.95);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.card::before,
.scenario-card::before,
.related-card::before,
.value-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), rgba(74, 222, 128, 0.82));
    opacity: 0.78;
}

.card b {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.18);
}

.card h3,
.scenario-card h3,
.related-card h3,
.value-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.12;
}

.card p,
.card li,
.scenario-card p,
.related-card p,
.value-item p,
.faq-item p,
.step p {
    color: var(--muted);
    line-height: 1.6;
}

.card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 18px;
}

.scenario-card span,
.related-card span,
.value-item span {
    display: inline-flex;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #edf5ff;
    color: var(--blue);
    padding: 7px 10px;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.value-item {
    background:
        radial-gradient(circle at 100% 0%, rgba(74, 222, 128, 0.12), transparent 10rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.92));
}

.related-card {
    display: grid;
    align-content: start;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 58, 138, 0.38);
    box-shadow: 0 24px 54px rgba(30, 58, 138, 0.14);
}

.related-section {
    isolation: isolate;
    overflow: hidden;
    margin-top: 28px;
    margin-bottom: 18px;
    border: 1px solid rgba(122, 148, 190, 0.34);
    border-radius: 38px;
    background:
        radial-gradient(circle at 8% 0%, rgba(74, 222, 128, 0.26), transparent 18rem),
        radial-gradient(circle at 94% 12%, rgba(250, 204, 21, 0.14), transparent 16rem),
        linear-gradient(135deg, #08163a 0%, #0f1f4f 48%, #183984 100%);
    padding: 34px;
    box-shadow: 0 34px 90px rgba(15, 31, 79, 0.24);
}

.related-section::before {
    content: "SAE";
    position: absolute;
    right: 28px;
    top: 12px;
    z-index: -1;
    color: rgba(255, 255, 255, 0.055);
    font-size: clamp(72px, 12vw, 156px);
    font-weight: 950;
    letter-spacing: -0.1em;
    line-height: 1;
}

.related-section .section-head {
    max-width: 760px;
    margin-bottom: 26px;
}

.related-section .eyebrow {
    color: var(--green);
}

.related-section h2,
.related-section .related-card h3 {
    color: #fff;
}

.related-section .related-grid {
    gap: 14px;
}

.related-section .related-card {
    min-height: 220px;
    border-color: rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.075));
    padding: 26px;
    padding-right: 70px;
    box-shadow: none;
    backdrop-filter: blur(16px);
}

.related-section .related-card::before {
    height: 100%;
    background:
        linear-gradient(90deg, rgba(74, 222, 128, 0.9), rgba(250, 204, 21, 0.62));
    opacity: 1;
    width: 4px;
    inset: 0 auto 0 0;
}

.related-section .related-card::after {
    content: "→";
    position: absolute;
    right: 22px;
    top: 22px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    transition: transform 0.18s ease, background 0.18s ease;
}

.related-section .related-card span {
    background: rgba(74, 222, 128, 0.14);
    color: #c8ffd8;
}

.related-section .related-card p {
    color: rgba(255, 255, 255, 0.76);
}

.related-section .related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.related-section .related-card:hover::after {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(2px);
}

.faq-item {
    padding: 0;
}

.faq-item summary {
    position: relative;
    min-height: 78px;
    padding: 24px 58px 24px 24px;
    color: var(--ink);
    cursor: pointer;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -0.035em;
    line-height: 1.2;
    list-style: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--blue);
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 950;
}

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

.faq-item p {
    margin: 0;
    border-top: 1px solid #e8eef7;
    padding: 0 24px 24px;
}

.faq-item[open] {
    border-color: #c7d8f2;
    background:
        radial-gradient(circle at 100% 100%, rgba(74, 222, 128, 0.12), transparent 12rem),
        #ffffff;
}

.faq-item[open] summary::after {
    content: "-";
    background: var(--blue);
    color: #fff;
}

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

.step {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(215, 226, 242, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    padding: 22px 24px 22px 82px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 24px;
    top: 22px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green), #86efac);
    color: #052e16;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(74, 222, 128, 0.22);
}

.step h3 {
    font-size: 20px;
}

.step p {
    margin: 8px 0 0;
}

.cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    overflow: hidden;
    border-radius: 34px;
    background:
        radial-gradient(circle at 92% 20%, rgba(74, 222, 128, 0.28), transparent 20rem),
        linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: #fff;
    padding: 40px 42px;
    box-shadow: var(--shadow);
}

.cta::after {
    content: "SAE";
    position: absolute;
    right: 28px;
    bottom: -18px;
    color: rgba(255, 255, 255, 0.055);
    font-size: 120px;
    font-weight: 950;
    letter-spacing: -0.1em;
    pointer-events: none;
}

.cta h2,
.cta p,
.cta .eyebrow,
.cta .actions {
    position: relative;
    z-index: 1;
}

.cta h2 {
    grid-column: 1 / 2;
    grid-row: 2;
    color: #fff;
    font-size: clamp(26px, 3vw, 42px);
}

.cta .eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
}

.cta > p:not(.eyebrow) {
    grid-column: 1 / 2;
    grid-row: 3;
    max-width: 620px;
}

.cta p {
    color: rgba(255, 255, 255, 0.78);
}

.cta .actions {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
    justify-self: end;
    margin-top: 0;
}

.cta .button.primary {
    min-width: 230px;
    background: #fff;
    color: var(--blue);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.site-footer {
    margin-top: 34px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
}

.footer-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.footer-brand img {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    object-fit: contain;
    opacity: 0;
}

.footer-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.footer-brand span {
    display: grid;
    gap: 3px;
}

.footer-brand strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 950;
}

.footer-brand small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.footer-domain {
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .hero-grid,
    .grid,
    .value-strip,
    .scenario-grid,
    .related-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 36px;
    }

    .cta {
        grid-template-columns: 1fr;
    }

    .cta h2,
    .cta .eyebrow,
    .cta > p:not(.eyebrow),
    .cta .actions {
        grid-column: 1;
        grid-row: auto;
        justify-self: stretch;
        margin-top: 0;
    }
}

@media (max-width: 680px) {
    .site-header,
    .section,
    .footer-inner {
        width: min(100% - 24px, 1180px);
    }

    .site-header {
        position: relative;
        top: auto;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-top: 12px;
        border-radius: 22px;
        padding: 12px;
    }

    .brand img {
        width: 50px;
    }

    .brand-text strong {
        max-width: calc(100vw - 112px);
        overflow: hidden;
        font-size: 10px;
        letter-spacing: 0.045em;
        text-overflow: ellipsis;
    }

    .brand-text small {
        display: none;
    }

    .nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        width: 100%;
        font-size: 11px;
    }

    .nav a {
        border-color: #dbeafe;
        background: #ffffff;
        padding: 9px 6px;
        text-align: center;
    }

    .breadcrumbs.section {
        display: none;
    }

    .hero {
        padding: 34px 0 34px;
    }

    h1 {
        font-size: clamp(42px, 13vw, 54px);
    }

    .lead {
        font-size: 17px;
        line-height: 1.62;
    }

    .actions {
        flex-direction: column;
        margin-top: 26px;
    }

    .button {
        width: 100%;
        min-height: 52px;
    }

    .hero-card,
    .card,
    .scenario-card,
    .related-card,
    .value-item,
    .faq-item,
    .cta {
        border-radius: 22px;
    }

    .hero-card,
    .card,
    .scenario-card,
    .related-card,
    .value-item {
        padding: 22px;
    }

    .section {
        padding: 38px 0;
    }

    .section-head h2 {
        font-size: clamp(30px, 9vw, 40px);
    }

    .section-head p {
        font-size: 16px;
    }

    .step {
        padding: 22px 22px 22px 74px;
    }

    .step::before {
        left: 22px;
    }

    .faq-item summary {
        min-height: auto;
        padding: 21px 54px 21px 22px;
        font-size: 18px;
    }

    .cta {
        padding: 30px 24px;
    }

    .related-section {
        border-radius: 26px;
        padding: 26px 18px;
    }

    .related-section .related-card {
        min-height: 0;
        padding: 23px;
        padding-right: 62px;
    }

    .cta .actions {
        margin-top: 0;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 0;
    }

    .footer-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 12px;
    }
}
