:root {
    color-scheme: light;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #eff6ff;
    --surface-muted: #f1f5f9;
    --text: #0f172a;
    --muted: #526176;
    --line: #dbe4ef;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: #dbeafe;
    --teal: #0f9f7f;
    --navy: #07152f;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

.dark {
    color-scheme: dark;
    --bg: #030712;
    --surface: #0f172a;
    --surface-soft: #0a1730;
    --surface-muted: #111c31;
    --text: #f8fafc;
    --muted: #a8b4c6;
    --line: #253148;
    --brand: #3b82f6;
    --brand-dark: #60a5fa;
    --brand-soft: rgba(37, 99, 235, 0.16);
    --navy: #020817;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.narrow {
    max-width: 980px;
}

.section {
    padding: 96px 0;
}

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    border-radius: 10px;
    background: var(--text);
    color: var(--bg);
    padding: 10px 16px;
    font-weight: 800;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand,
.logo {
    width: 178px;
}

.logo-dark {
    display: none;
}

.dark .logo-light {
    display: none;
}

.dark .logo-dark {
    display: block;
}

.main-nav {
    display: flex;
    gap: 27px;
    margin-left: auto;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 750;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--brand);
}

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

.theme-button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    padding: 0 24px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.3);
}

.button-small {
    min-height: 42px;
    border-radius: 12px;
    padding-inline: 18px;
    font-size: 0.84rem;
}

.button-secondary {
    border-color: var(--line);
    background: var(--surface);
    color: var(--text);
    box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--surface-muted);
    box-shadow: none;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 42px;
}

.hero-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -250px;
    right: -190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.19), transparent 68%);
    pointer-events: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 54px;
    color: var(--muted);
    font-size: 0.82rem;
}

.breadcrumb a:hover {
    color: var(--brand);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: 68px;
}

.eyebrow,
.kicker {
    margin: 0 0 18px;
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
    border-radius: 999px;
    background: var(--brand-soft);
    padding: 8px 13px;
    letter-spacing: 0.07em;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--teal) 14%, transparent);
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

.hero h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(2.7rem, 5.1vw, 4.65rem);
    line-height: 1.03;
    letter-spacing: -0.052em;
}

.hero h1 em {
    background: linear-gradient(115deg, var(--brand) 10%, #7c3aed 58%, #0f9f7f);
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.hero-lead {
    max-width: 680px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.reviewed {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.document-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    padding: 28px 0 0 20px;
}

.document-frame {
    overflow: hidden;
    border: 9px solid var(--surface);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: rotate(1.4deg);
}

.verification-chip {
    position: absolute;
    left: 0;
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    padding: 12px 15px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
    font-size: 0.78rem;
    font-weight: 850;
}

.verification-chip span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--teal) 13%, transparent);
    color: var(--teal);
}

.document-showcase > p {
    margin: 18px 0 0 24px;
    color: var(--muted);
    font-size: 0.74rem;
    text-align: center;
}

.notice-strip {
    padding: 0 0 20px;
}

.notice-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid color-mix(in srgb, #f59e0b 33%, var(--line));
    border-radius: 18px;
    background: color-mix(in srgb, #f59e0b 8%, var(--surface));
    padding: 20px 24px;
}

.notice-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #f59e0b;
    color: #1e293b;
    font-weight: 900;
}

.notice-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.038em;
}

.large-text,
.section-lead,
.faq-intro > p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 46px;
}

.path-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 30px;
}

.path-number {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.path-card h3 {
    margin: 18px 0 10px;
    font-size: 1.08rem;
    line-height: 1.35;
}

.path-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.source-note {
    margin-top: 28px;
    border-left: 4px solid var(--brand);
    border-radius: 0 14px 14px 0;
    background: var(--surface-soft);
    color: var(--muted);
    padding: 17px 20px;
    font-size: 0.87rem;
}

.source-note strong {
    color: var(--text);
}

.source-note a,
.references-card a {
    color: var(--brand);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-tinted {
    border-block: 1px solid var(--line);
    background: var(--surface-soft);
}

.split-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 90px;
}

.timeline {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline li {
    display: flex;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    padding: 22px;
}

.timeline li > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 900;
}

.timeline h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.timeline p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.answer-section {
    padding-block: 82px;
}

.answer-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.answer-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 34px;
    box-shadow: var(--shadow);
}

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

.answer-card p + p {
    margin-top: 18px;
}

.answer-card strong {
    color: var(--text);
}

.section-dark {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 75% 20%, #17376d 0, transparent 35%), var(--navy);
    color: #fff;
}

.validation-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 96px;
}

.kicker-light {
    color: #93c5fd;
}

.validation-copy > p:not(.kicker) {
    margin: 22px 0 0;
    color: #bac7d9;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    color: #d6dfec;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 11px;
}

.check-list span {
    color: #34d399;
    font-weight: 900;
}

.warning-box {
    margin-top: 30px;
    border: 1px solid rgba(245, 158, 11, 0.32);
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.09);
    padding: 18px 20px;
}

.warning-box p {
    margin: 4px 0 0;
    color: #bac7d9;
    font-size: 0.86rem;
}

.validation-figure {
    width: min(300px, 100%);
    margin: 0 auto;
}

.validation-figure img {
    width: 100%;
    max-height: 490px;
    object-fit: cover;
    object-position: top;
    border: 8px solid #15213a;
    border-radius: 28px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.42);
}

.validation-figure figcaption {
    margin-top: 14px;
    color: #8fa0b8;
    font-size: 0.73rem;
    text-align: center;
}

.institution-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--surface);
    padding: 58px;
    box-shadow: var(--shadow);
}

.institution-copy > p:not(.kicker) {
    margin: 22px 0 0;
    color: var(--muted);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px 22px;
    margin: 28px 0 34px;
    color: var(--muted);
    font-size: 0.88rem;
}

.benefit-grid span {
    margin-right: 7px;
    color: var(--teal);
    font-weight: 900;
}

.institution-visual {
    display: grid;
    place-items: center;
    min-height: 360px;
    border-radius: 26px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.24), transparent 66%), var(--surface-soft);
}

.mini-document {
    width: min(330px, 86%);
    aspect-ratio: 1.414 / 1;
    border: 8px solid var(--surface);
    border-radius: 15px;
    background: linear-gradient(135deg, #f8fbff, #e7efff);
    color: #10203f;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    text-align: center;
    transform: rotate(2deg);
}

.mini-document > span {
    color: #2563eb;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.mini-document strong {
    display: block;
    margin-top: 13px;
    font-family: Georgia, serif;
    font-size: 1.8rem;
}

.mini-document i {
    display: block;
    width: 70px;
    height: 2px;
    margin: 13px auto;
    background: #2563eb;
}

.mini-document small {
    color: #64748b;
}

.mini-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 34px;
    color: #334155;
    font-size: 0.62rem;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.68fr 1.32fr;
    align-items: start;
    gap: 88px;
}

.faq-intro {
    position: sticky;
    top: 120px;
}

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

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

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 4px;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

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

.faq-list summary span {
    color: var(--brand);
    font-size: 1.4rem;
    transition: transform 180ms ease;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list details p {
    margin: -4px 0 24px;
    color: var(--muted);
}

.references-section {
    padding: 74px 0;
}

.references-card {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
    gap: 64px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 40px;
}

.references-card h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.references-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.cta-section {
    padding: 0 0 96px;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    border-radius: 32px;
    background: radial-gradient(circle at 85% 20%, #3157a6 0, transparent 30%), var(--navy);
    color: #fff;
    padding: 54px;
}

.cta-card > div {
    max-width: 740px;
}

.cta-card p:not(.kicker) {
    margin: 18px 0 0;
    color: #b8c4d7;
}

.button-light {
    flex: 0 0 auto;
    background: #fff;
    color: #10203f;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.button-light:hover,
.button-light:focus-visible {
    background: #eaf2ff;
    color: #10203f;
}

.site-footer {
    border-top: 1px solid #17233b;
    background: #020817;
    color: #fff;
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    width: 190px;
}

.footer-grid > div:first-child p {
    max-width: 430px;
    color: #91a1b9;
}

.footer-grid h2 {
    margin: 0 0 15px;
    font-size: 0.92rem;
    letter-spacing: 0;
}

.footer-grid a {
    display: block;
    margin: 9px 0;
    color: #91a1b9;
    font-size: 0.86rem;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 52px;
    border-top: 1px solid #17233b;
    padding-top: 22px;
    color: #718098;
    font-size: 0.78rem;
}

@media (max-width: 1040px) {
    .main-nav {
        display: none;
    }

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

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

    .document-showcase {
        width: min(500px, 100%);
        margin: 0 auto;
    }

    .validation-grid,
    .institution-card {
        gap: 50px;
    }
}

@media (max-width: 800px) {
    .section {
        padding: 76px 0;
    }

    .path-grid,
    .split-layout,
    .answer-grid,
    .validation-grid,
    .institution-card,
    .faq-layout,
    .references-card {
        grid-template-columns: 1fr;
    }

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

    .faq-intro {
        position: static;
    }

    .institution-card {
        padding: 42px;
    }

    .institution-visual {
        min-height: 320px;
    }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .header-inner {
        min-height: 70px;
    }

    .brand,
    .logo {
        width: 142px;
    }

    .header-actions .button {
        display: none;
    }

    .hero {
        padding-top: 26px;
    }

    .breadcrumb {
        margin-bottom: 34px;
        overflow: hidden;
        white-space: nowrap;
    }

    .breadcrumb span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

    .hero-actions {
        flex-direction: column;
    }

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

    .document-showcase {
        padding-left: 0;
    }

    .verification-chip {
        left: 8px;
        bottom: 38px;
        padding: 9px 12px;
    }

    .document-showcase > p {
        margin-left: 0;
    }

    .notice-card {
        padding: 18px;
    }

    .path-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .answer-card {
        padding: 26px;
    }

    .institution-card {
        gap: 38px;
        border-radius: 24px;
        padding: 30px 24px;
    }

    .institution-visual {
        min-height: 260px;
    }

    .mini-document {
        padding: 20px;
    }

    .mini-footer {
        margin-top: 22px;
    }

    .references-card {
        gap: 30px;
        padding: 28px;
    }

    .cta-section {
        padding-bottom: 72px;
    }

    .cta-card {
        border-radius: 24px;
        padding: 34px 26px;
    }

    .cta-card .button {
        width: 100%;
    }

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

    .footer-grid > div:first-child {
        grid-column: auto;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
