:root {
    color-scheme: light;
    --ink: #12213b;
    --text: #2c3b53;
    --muted: #52617a;
    --blue: #1352bd;
    --surface: #f6f8fd;
    --line: #dbe4f3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background: var(--surface);
    scroll-padding-top: 6.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #2161d1; outline-offset: 5px; border-radius: 3px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; text-wrap: balance; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }

.visually-hidden, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus {
    position: fixed;
    z-index: 10;
    top: .5rem;
    left: .5rem;
    padding: .8rem 1rem;
    background: white;
}

.site-header {
    position: sticky;
    z-index: 5;
    top: 0;
    background: rgba(252, 253, 255, .8);
    border-bottom: 1px solid rgba(139, 157, 184, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
    backdrop-filter: saturate(1.35) blur(22px);
    transition: background .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.site-header.nav-scrolled {
    background: rgba(255, 255, 255, .82);
    border-bottom-color: rgba(219, 230, 255, .88);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    width: min(100%, 1100px);
    min-height: 75px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 32px);
}
.site-header .brand {
    flex: none;
    gap: 11px;
    color: #172033;
    font-size: 1.14rem;
    font-weight: 760;
    letter-spacing: -.04em;
}
.site-header .brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(22, 119, 255, .17));
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    width: fit-content;
    color: var(--ink);
    font-weight: 750;
    font-size: 1.13rem;
    letter-spacing: -.03em;
    text-decoration: none;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    margin-inline-start: auto;
    padding: 0;
    list-style: none;
}
.site-nav a, .blog-languages summary {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 13px;
    border-radius: 12px;
    color: #465168;
    font-size: .91rem;
    font-weight: 590;
    text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current], .blog-languages summary:hover {
    color: #145fc9;
    background: rgba(22, 119, 255, .07);
}
.site-nav a.download {
    margin-inline-start: 6px;
    padding-inline: 17px;
    border: 1px solid #252b34;
    border-radius: 8px;
    color: #fff;
    background: #252b34;
}
.site-nav a.download:hover { background: #3a424e; border-color: #3a424e; }
.blog-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #111827;
    cursor: pointer;
}
.blog-nav-toggle span, .blog-nav-toggle span::before, .blog-nav-toggle span::after {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
}
.blog-nav-toggle span { position: relative; }
.blog-nav-toggle span::before, .blog-nav-toggle span::after { position: absolute; inset-inline-start: 0; content: ""; }
.blog-nav-toggle span::before { top: -5px; }
.blog-nav-toggle span::after { top: 5px; }
.menu-open .blog-nav-toggle span { background: transparent; }
.menu-open .blog-nav-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .blog-nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.blog-languages { flex: none; }
.blog-languages summary { gap: 7px; cursor: pointer; list-style: none; white-space: nowrap; }
.blog-languages summary::-webkit-details-marker { display: none; }
.blog-current-language { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
.blog-languages summary::after {
    width: 6px;
    height: 6px;
    margin-inline-end: 2px;
    border-inline-end: 1px solid;
    border-bottom: 1px solid;
    transform: translateY(-2px) rotate(45deg);
    content: "";
}
.blog-languages[open] summary::after { transform: translateY(1px) rotate(225deg); }
.blog-language-menu {
    position: absolute;
    inset-block-start: calc(100% + 7px);
    inset-inline-end: max(14px, calc((100vw - 1100px) / 2 + 32px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    inline-size: min(23rem, calc(100vw - 28px));
    max-block-size: min(60vh, 26rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 8px;
    background: #fcfdff;
    border: 1px solid rgba(128, 151, 184, .32);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(31, 50, 81, .17);
}
.blog-language-menu a {
    display: flex;
    align-items: center;
    min-block-size: 40px;
    padding: 5px 9px;
    color: #465168;
    font-size: .9rem;
    line-height: 1.3;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.blog-language-menu a:hover, .blog-language-menu [aria-current] { color: #145fc9; background: #eef5ff; }
.blog-language-menu a:focus-visible { outline-offset: -2px; }

@media (max-width: 1000px) {
    .site-nav a, .blog-languages summary { padding-inline: 9px; }
}
@media (max-width: 860px) {
    .site-header-inner { flex-wrap: wrap; min-height: 69px; }
    .site-header .brand { font-size: 1.04rem; }
    .blog-languages { margin-inline-start: auto; }
    .blog-languages summary { max-inline-size: min(27vw, 8.5rem); }
    .site-header:not(.menu-ready) { position: static; }
    .menu-ready .blog-nav-toggle { display: grid; }
    .site-nav { order: 1; flex: 1 0 100%; flex-wrap: wrap; justify-content: center; margin: 0; }
    .menu-ready .site-nav {
        display: none;
        position: absolute;
        inset: calc(100% + 7px) 14px auto;
        flex-direction: column;
        align-items: stretch;
        max-block-size: calc(100dvh - 86px);
        overflow: auto;
        padding: 10px;
        background: rgba(252, 253, 255, .98);
        border: 1px solid rgba(128, 151, 184, .22);
        border-radius: 20px;
        box-shadow: 0 24px 60px rgba(31, 50, 81, .16);
    }
    .menu-ready.menu-open .site-nav { display: flex; }
    .site-nav a { justify-content: center; width: 100%; min-height: 44px; margin: 0; }
    .site-nav a.download { margin: 3px 0 0; }
}

.blog-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 27rem;
    overflow: hidden;
    isolation: isolate;
    margin-top: 2.4rem;
    border-radius: 1.65rem;
    background: radial-gradient(ellipse at 78% 80%, #245ac6 0, transparent 56%), linear-gradient(125deg, #0e2146 22%, #173773 70%, #154590);
    color: white;
}
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 3.2rem clamp(2rem, 6vw, 4.6rem); }
.eyebrow {
    margin-bottom: .85rem;
    color: #c1d6ff;
    font-size: .85rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.hero-copy h1 {
    font-size: clamp(2.85rem, 5.55vw, 4.65rem);
    letter-spacing: -.06em;
    line-height: .99;
    text-wrap: initial;
}
.hero-copy h1 + p {
    max-width: 28rem;
    margin-top: 1.2rem;
    color: #e1ebff;
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.55;
}
.hero-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.55rem;
    min-height: 2.9rem;
    padding: .55rem 1.12rem;
    border: 1px solid #cbdfff;
    border-radius: .68rem;
    background: #f4f8ff;
    color: #11366f;
    font-size: .94rem;
    font-weight: 750;
    text-decoration: none;
}
.hero-link:hover { background: #dce9ff; }
.hero-link:focus-visible { outline-color: #fff; }
.hero-art { position: relative; min-width: 0; }
.hero-art::before {
    position: absolute;
    top: 9%;
    left: 0;
    width: min(85%, 27rem);
    aspect-ratio: 1;
    border: 1px solid #a7c7ff45;
    border-radius: 50%;
    box-shadow: 0 0 0 2.3rem #a7c7ff14, 0 0 0 4.6rem #a7c7ff0f;
    content: "";
}
.hero-art img {
    position: absolute;
    width: clamp(8.2rem, 18.7vw, 15rem);
    max-width: none;
    border: .35rem solid #162b50;
    border-radius: clamp(.9rem, 2.25vw, 1.75rem);
    background: white;
    box-shadow: 0 .85rem 2.85rem #07142e80;
}
.hero-folders { top: 14%; left: 7%; transform: rotate(-12deg); }
.hero-timeline { top: 4%; left: 42%; transform: rotate(11deg); }

.guide-jumps {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem 1.35rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.guide-jumps h2 { font-size: .95rem; }
.guide-jumps ul {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.guide-jumps a { font-size: .96rem; text-underline-offset: .16em; }
.topic-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-block: 1.65rem 2.65rem;
}
.topic-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.7rem;
    padding: .35rem .95rem;
    border: 1px solid #ccd9ef;
    border-radius: 2rem;
    background: #fff;
    color: var(--blue);
    font-size: .94rem;
    font-weight: 680;
    text-decoration: none;
}
.topic-nav a:hover { border-color: #83a9eb; background: #eaf2ff; }
.topics { margin-bottom: 4rem; }
.topic + .topic { margin-top: 2.85rem; }
.topic h2, .related > h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.55rem, 3vw, 2rem);
    letter-spacing: -.04em;
    text-wrap: initial;
}
.topic:target h2 { color: var(--blue); }
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}
.guide-card {
    position: relative;
    padding: 1.2rem 1.35rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: white;
    box-shadow: 0 .2rem .8rem #1f3d7310;
}
.guide-card:focus-within, .guide-card:hover { border-color: #86a9e6; }
.guide-card .card-meta {
    margin: 0 0 .52rem;
    color: var(--blue);
    font-size: .83rem;
    font-weight: 680;
}
.guide-card h3 {
    margin: 0 0 .55rem;
    font-size: 1.2rem;
    line-height: 1.23;
    letter-spacing: -.026em;
    text-wrap: pretty;
}
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a::after { position: absolute; inset: 0; border-radius: inherit; content: ""; }
.guide-card h3 a:hover { color: var(--blue); }
.guide-card p { color: var(--muted); font-size: 1rem; line-height: 1.5; }

.article-page { background: #fff; }
.article-header {
    padding-block: 1.4rem 2.65rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(132deg, #f7f9fe, #eef4ff);
}
.breadcrumbs { margin-bottom: 1.85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .1rem .65rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; gap: .65rem; align-items: center; color: var(--muted); font-size: .9rem; }
.breadcrumbs li + li::before {
    width: 1px;
    height: .75rem;
    background: #8595b1;
    transform: rotate(20deg);
    content: "";
}
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 2rem; }
.article-meta { margin-bottom: .7rem; color: var(--blue); font-size: .92rem; font-weight: 720; }
.article-meta span { padding-inline: .28rem; }
.article-header h1 {
    max-width: 17em;
    font-size: clamp(2.25rem, 5.5vw, 3.85rem);
    letter-spacing: -.055em;
}
.article-lead {
    max-width: 43rem;
    margin-top: 1rem;
    color: var(--text);
    font-size: clamp(1.1rem, 2vw, 1.28rem);
    line-height: 1.62;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 43rem) minmax(10rem, 15.6rem);
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 5.6rem);
    padding-block: 2.55rem 3rem;
}
.contents-sidebar { grid-column: 2; grid-row: 1; }
.contents {
    position: sticky;
    top: 6rem;
    padding: 1rem 1.12rem;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: var(--surface);
}
.contents h2 { font-size: 1rem; font-weight: 750; }
.contents ul { margin: .45rem 0 0; padding: 0; list-style: none; }
.contents li + li { border-top: 1px solid var(--line); }
.contents a {
    display: block;
    padding: .53rem 0;
    font-size: .93rem;
    line-height: 1.4;
    text-decoration: none;
}
.contents a:hover { text-decoration: underline; }
.prose {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    color: var(--text);
    font-size: 1.125rem;
    line-height: 1.68;
    overflow-wrap: anywhere;
}
.prose h2 { margin: 2.1rem 0 .7rem; color: var(--ink); font-size: clamp(1.45rem, 3vw, 1.85rem); letter-spacing: -.035em; text-wrap: pretty; }
.prose h2:first-child { margin-top: 0; }
.prose h2:target { color: var(--blue); }
.prose p + p, .prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p, .prose pre + p { margin-top: .8rem; }
.prose ol, .prose ul { margin-block: 0; padding-inline-start: 1.48rem; }
.prose li + li { margin-top: .58rem; }
.prose li::marker { color: var(--blue); font-weight: 750; }
.prose strong { color: var(--ink); }
.prose code {
    padding: .08em .3em;
    border-radius: .21rem;
    background: #edf3ff;
    color: #26467d;
    font: .87em ui-monospace, SFMono-Regular, Consolas, monospace;
}
.prose pre {
    margin: .95rem 0 0;
    padding: .92rem 1.15rem;
    white-space: pre-wrap;
    border: 1px solid var(--line);
    border-radius: .7rem;
    background: #f4f7fe;
}
.prose pre { direction: ltr; text-align: left; }
.prose pre code { padding: 0; background: transparent; }
[dir="rtl"] .prose code { unicode-bidi: isolate; direction: ltr; }
.note {
    margin-top: 1.4rem;
    padding: .9rem 1.15rem;
    border-inline-start: .23rem solid #2663ce;
    border-radius: 0 .7rem .7rem 0;
    background: #edf4ff;
}
.note p { margin-top: .2rem; }
.table-wrap { margin-block: .95rem 0; }
.prose table {
    width: 100%;
    table-layout: fixed;
    overflow: hidden;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: .75rem;
    font-size: .96rem;
    line-height: 1.48;
    text-align: start;
}
.prose caption { padding-bottom: .5rem; color: var(--muted); text-align: start; }
.prose th, .prose td { padding: .7rem .72rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: #eaf2ff; color: var(--ink); }
.prose thead th:first-child { width: 17%; }
.prose tbody th { color: var(--ink); }
.prose tbody tr:nth-child(even) { background: #f6f8fd; }
.prose tbody tr:last-child > * { border-bottom: 0; }

.article-figure {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: .9rem;
    background: #f0f5ff;
}
.article-figure img { border: 1px solid #b9cbe9; border-radius: .65rem; }
.article-figure figcaption { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.figure-pair { max-width: 26rem; }
.figure-pair figcaption { margin-top: .8rem; }
.figure-images { display: flex; gap: .8rem; }
.figure-images img { width: min(calc((100% - .8rem) / 2), 10rem); align-self: start; }
.figure-single {
    display: grid;
    grid-template-columns: minmax(7.2rem, 9rem) minmax(0, 16rem);
    align-items: center;
    gap: 1.1rem;
    width: fit-content;
}
.sources { margin-top: 2.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line); font-size: 1rem; }
.sources h2 { font-size: 1.22rem; }
.sources li + li { margin-top: .38rem; }
.related { margin-bottom: 3rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.back-to-blog { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .85rem; font-weight: 650; }
.site-footer { border-top: 1px solid var(--line); background: #f3f6fd; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem 1.5rem; align-items: center; padding-block: 1.45rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .25rem 1.3rem; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 2.25rem; color: var(--muted); font-size: .94rem; }

@media (max-width: 59rem) {
    .hero-copy { padding-inline: 2.5rem 1.25rem; }
    .hero-art img { width: clamp(8.2rem, 21vw, 13rem); }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 46rem) {
    :root { scroll-padding-top: 5.5rem; }
    .hero-copy { padding: 2rem 0 2rem 1.5rem; }
    .blog-hero { min-height: 22rem; margin-top: 1rem; border-radius: 1.15rem; }
    .hero-copy h1 { font-size: clamp(2.45rem, 7vw, 3.4rem); }
    .article-layout { display: block; padding-block: 1.35rem 2.6rem; }
    .contents { position: static; margin-bottom: 1.6rem; }
    .contents a { padding-block: .6rem; }
    .breadcrumbs { margin-bottom: 1.2rem; }
    .article-header { padding-block: .7rem 1.8rem; }
}
@media (max-width: 34rem) {
    .wrap { width: calc(100% - 2rem); }
    .brand img { width: 30px; height: 30px; }
    .blog-hero { grid-template-columns: 1fr; min-height: 0; }
    .hero-copy { padding: 1.55rem 1.32rem .4rem; }
    .hero-copy h1 { font-size: clamp(2.5rem, 10.5vw, 3.3rem); }
    .hero-copy h1 + p { margin-top: .75rem; }
    .hero-link { margin-top: 1rem; }
    .hero-art { min-height: 12rem; }
    .hero-art img { width: clamp(7.2rem, 35%, 10.6rem); }
    .hero-art::before { left: 14%; width: 73%; }
    .hero-folders { top: 14%; left: 16%; }
    .hero-timeline { top: 7%; left: 47%; }
    .topic-nav { gap: .48rem; margin-block: 1.13rem 1.8rem; }
    .topic-nav a { padding-inline: .74rem; }
    .card-grid { grid-template-columns: 1fr; gap: .64rem; }
    .guide-card { padding: 1.02rem 1.08rem; }
    .topic + .topic { margin-top: 2.2rem; }
    .topics { margin-bottom: 2.4rem; }
    .prose { font-size: 1.075rem; line-height: 1.65; }
    .prose h2 { margin-top: 1.65rem; }
    .prose table { font-size: .88rem; line-height: 1.42; }
    .prose th, .prose td { padding: .55rem .35rem; }
    .prose thead th:first-child { width: 20%; }
    .figure-single { gap: .75rem; }
    .footer-inner { padding-block: 1rem; }
}

@media (max-width: 22.5rem) {
    .prose thead th:first-child { width: 24%; }
}

@media (max-width: 40rem) {
    .travel-comparison { overflow-x: auto; }
    .travel-comparison table { min-width: 31rem; }
}
