:root {
    --brand: #6D28D9;
    --brand-soft: #A78BFA;
    --ink: #27242D;
    --muted: #716B78;
    --deep: #17151C;
    --surface: #F7F5FA;
    --surface-2: #ECE8F2;
    --accent: #F59E0B;
    --white: #FFFFFF;
    --line: rgba(39, 36, 45, .13);
    --line-dark: rgba(255, 255, 255, .13);
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px rgba(43, 31, 67, .10);
    --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; line-height: 1.72; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input { font: inherit; }
button { cursor: pointer; }
.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 1000; transform: translateY(-140%); background: var(--white); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1.35rem; letter-spacing: -.03em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .73rem; }
.site-nav { justify-self: center; display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 9px 12px; border-radius: 10px; text-decoration: none; color: #4a4550; font-size: .94rem; }
.site-nav a:hover, .site-nav a.is-active { color: var(--brand); background: rgba(109, 40, 217, .08); }
.menu-toggle { display: none; }
.search-trigger { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 14px; color: var(--ink); }
.search-trigger:hover { border-color: rgba(109, 40, 217, .35); color: var(--brand); }

.breadcrumbs { padding-top: 20px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; color: var(--muted); font-size: .88rem; }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: 8px; color: #a69eab; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }

.section { padding: 88px 0; }
.section--tight { padding-top: 54px; padding-bottom: 70px; }
.section--small { padding-top: 54px; padding-bottom: 54px; }
.section--soft { background: var(--surface-2); }
.section--dark { background: var(--deep); color: #f8f5fb; }
.eyebrow { display: inline-flex; color: var(--brand); font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--light { color: #c4b5fd; }
h1, h2, h3 { margin-top: 0; line-height: 1.16; letter-spacing: -.035em; }
h1 { font-size: clamp(2.35rem, 5vw, 4.9rem); }
h2 { font-size: clamp(1.75rem, 3vw, 3rem); }
h3 { font-size: 1.18rem; }
p { margin-top: 0; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 999px; font-weight: 750; text-decoration: none; border: 1px solid transparent; }
.button--primary { background: var(--brand); color: var(--white); }
.button--primary:hover { background: #5b21b6; }
.button--ghost { background: transparent; border-color: rgba(109, 40, 217, .28); color: var(--brand); }
.section--dark .button--ghost { border-color: var(--line-dark); color: var(--white); }
.button--accent { background: var(--accent); color: #241a0b; }
.text-link { color: var(--brand); font-weight: 720; }
.section--dark .text-link, .content-row--dark .text-link { color: #c4b5fd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.home-hero { padding: 72px 0 54px; overflow: hidden; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .85fr); gap: 70px; align-items: center; }
.home-hero__copy h1 { max-width: 14ch; margin: 14px 0 22px; }
.home-hero__copy > p { max-width: 720px; color: #57515f; font-size: 1.08rem; }
.home-hero__media { margin: 0; position: relative; }
.home-hero__media::before { content: ''; position: absolute; inset: 7% -10% -8% 12%; border-radius: 42% 58% 50% 50% / 48% 37% 63% 52%; background: #e7def2; z-index: -1; }
.home-hero__media img { width: 100%; max-height: 610px; object-fit: cover; border-radius: 42px 42px 130px 42px; box-shadow: var(--shadow); background: #ded8e7; }
.home-hero__media figcaption { margin-top: 12px; color: var(--muted); font-size: .86rem; }
.hero-facts { margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.hero-facts dt { color: var(--muted); font-size: .78rem; }
.hero-facts dd { margin: 3px 0 0; font-weight: 720; }

.split-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .7fr); gap: 60px; align-items: end; margin-bottom: 36px; }
.split-heading h2 { margin: 8px 0 0; }
.split-heading > p { color: var(--muted); margin-bottom: 6px; }
.editorial-index { border-top: 1px solid var(--line); }
.index-line { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(210px, .36fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.index-line__num { font: 800 1.55rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--brand-soft); }
.index-line h3 { margin-bottom: 8px; }
.index-line p { color: var(--muted); margin-bottom: 0; }
.index-line > a { color: var(--brand); font-weight: 720; text-align: right; }

.video-lead__grid { display: grid; grid-template-columns: minmax(320px, .84fr) minmax(0, 1.16fr); gap: 72px; }
.video-lead__intro { position: sticky; top: 116px; align-self: start; }
.video-lead__intro h2 { margin: 10px 0 18px; }
.video-lead__intro p { color: #c9c3ce; }
.video-lead__intro img { margin: 28px 0 24px; border-radius: 22px; background: #2f2b36; aspect-ratio: 16/9; object-fit: cover; }
.video-lead__list { border-top: 1px solid var(--line-dark); }
.content-row { padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.content-row h3 { margin: 6px 0 10px; font-size: clamp(1.08rem, 2vw, 1.32rem); }
.content-row h3 a { text-decoration: none; }
.content-row h3 a:hover { color: var(--brand); }
.content-row p { color: var(--muted); margin-bottom: 12px; }
.content-row__meta { min-height: 20px; }
.content-row--dark { border-color: var(--line-dark); }
.content-row--dark p { color: #bdb6c4; }
.content-row--dark h3 a:hover { color: #c4b5fd; }

.asymmetric { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr); gap: 74px; align-items: start; }
.section-intro { max-width: 760px; color: var(--muted); font-size: 1.02rem; }
.compact-list { margin-top: 30px; border-top: 1px solid var(--line); }
.note-panel { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 36px rgba(39,36,45,.05); }
.note-panel img { border-radius: 14px; aspect-ratio: 16/10; object-fit: cover; background: #e7e0ed; margin-bottom: 18px; }
.note-panel p { color: var(--muted); }

.prose-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.prose-band h2 { margin-top: 8px; }
.prose-band__body { font-size: 1.04rem; }
.prose-band__body p { color: #554f59; }

.image-text-pair { display: grid; grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: center; }
.image-text-pair figure { margin: 0; }
.image-text-pair img { width: 100%; border-radius: 22px; aspect-ratio: 7/5; object-fit: cover; background: #e4deea; }
.image-text-pair h2 { margin-top: 8px; }
.image-text-pair p { color: var(--muted); }
.mini-links { margin: 24px 0; border-top: 1px solid var(--line); }
.mini-links a { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mini-links span { color: var(--muted); font-size: .86rem; white-space: nowrap; }
.mini-links a:hover strong { color: var(--brand); }

.closing-route__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 70px; }
.closing-route p { color: #c9c3ce; }
.inline-search { margin-top: 32px; }
.inline-search label { display: block; margin-bottom: 8px; color: #d8d2dd; font-size: .9rem; }
.inline-search > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.inline-search input { min-width: 0; border: 1px solid var(--line-dark); background: #211e26; color: var(--white); padding: 12px 14px; border-radius: 12px; }
.inline-search button { border: 0; border-radius: 12px; padding: 0 18px; background: var(--accent); font-weight: 800; }
.guide-stack { border-top: 1px solid var(--line-dark); }
.guide-stack a { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; }
.guide-stack small { color: #aaa2af; }
.guide-stack a:hover span { color: #c4b5fd; }
.guide-stack__all { color: #c4b5fd; font-weight: 760; }

.minor-topic { display: grid; grid-template-columns: minmax(0, 1fr) 320px auto; gap: 30px; align-items: center; }
.minor-topic h2 { margin: 8px 0 10px; }
.minor-topic p { color: var(--muted); margin: 0; }
.minor-topic img { border-radius: 14px; aspect-ratio: 2/1; object-fit: cover; background: #e3dcec; }

.page-top { padding-top: 64px; padding-bottom: 38px; }
.page-top__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .65fr); gap: 66px; align-items: center; }
.page-heading h1 { margin: 10px 0 18px; font-size: clamp(2.2rem, 4vw, 4.2rem); }
.page-heading > p { max-width: 760px; color: var(--muted); font-size: 1.07rem; }
.page-top__media { margin: 0; }
.page-top__media img { width: 100%; border-radius: 20px; aspect-ratio: 7/5; object-fit: cover; background: #e5deeb; }
.route-strip { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.route-strip div { padding: 14px; border-left: 3px solid var(--brand-soft); background: rgba(109,40,217,.04); }
.route-strip strong, .route-strip span { display: block; }
.route-strip span { margin-top: 4px; color: var(--muted); font-size: .85rem; }
.fact-table { margin-top: 32px; border-top: 1px solid var(--line); }
.fact-table div { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-table span { font-weight: 800; }
.fact-table p { margin: 0; color: var(--muted); }
.callout { margin-top: 30px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface-2); border-left: 4px solid var(--accent); }
.callout p { margin: 5px 0 0; color: #5d5661; }
.long-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 54px; border-top: 1px solid var(--line); }
.long-list .content-row:nth-child(-n+2) { padding-top: 22px; }

.next-route { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr); gap: 70px; align-items: start; }
.next-route h2 { margin: 8px 0 12px; }
.next-route p { color: var(--muted); }
.next-route__links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.next-route__links a { min-height: 60px; display: flex; align-items: center; padding: 14px; border: 1px solid rgba(109,40,217,.15); border-radius: 12px; text-decoration: none; background: rgba(255,255,255,.45); font-weight: 720; }
.next-route__links a:hover { border-color: rgba(109,40,217,.38); color: var(--brand); }

.article-hero { padding-bottom: 54px; }
.article-hero__grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.5fr); gap: 76px; align-items: end; }
.article-hero h1 { margin: 10px 0 18px; font-size: clamp(2.3rem, 4.4vw, 4.7rem); max-width: 16ch; }
.article-lead { font-size: 1.09rem; color: var(--muted); max-width: 800px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; color: var(--muted); font-size: .88rem; }
.article-hero__aside { padding: 20px; background: var(--surface-2); border-radius: 16px; }
.article-hero__aside p { color: #5e5863; margin: 7px 0 13px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 74px; padding-bottom: 80px; }
.article-body { max-width: 820px; }
.article-body section { padding: 10px 0 34px; border-top: 1px solid var(--line); }
.article-body section:first-child { border-top: 0; }
.article-body h2 { margin: 8px 0 18px; font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.article-body p { color: #49444d; }
.article-summary { padding: 24px !important; border: 0 !important; border-radius: 18px; background: var(--surface-2); }
.article-side { position: relative; }
.sticky-box { position: sticky; top: 106px; display: grid; border-top: 1px solid var(--line); }
.sticky-box .eyebrow { padding: 14px 0 8px; }
.sticky-box a { padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.sticky-box a:hover { color: var(--brand); }

.search-page-head { max-width: 900px; }
.search-page-form { margin-top: 28px; }
.search-page-form label { display: block; margin-bottom: 8px; font-weight: 720; }
.search-page-form > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-page-form input { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 12px 14px; }
.search-page-form button { border: 0; border-radius: 12px; padding: 0 20px; background: var(--brand); color: var(--white); font-weight: 800; }
.search-result-summary { margin-bottom: 26px; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; }
.pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.pagination a[aria-current="page"] { background: var(--brand); color: var(--white); border-color: var(--brand); }

.faq-list { max-width: 920px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 42px 20px 0; font-weight: 800; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 8px; top: 18px; font-size: 1.35rem; color: var(--brand); }
.faq-item[open] summary::after { content: '−'; }
.faq-item div { max-width: 760px; padding: 0 0 20px; color: var(--muted); }

.prose-page { max-width: 850px; }
.prose-page section { padding: 22px 0 30px; border-top: 1px solid var(--line); }
.prose-page h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); margin-bottom: 12px; }
.prose-page p { color: #55505a; font-size: 1.02rem; }
.not-found { min-height: 68vh; display: flex; align-items: center; }
.not-found h1 { margin: 10px 0 16px; }
.not-found p { color: var(--muted); }
.not-found__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.not-found__links a { color: var(--brand); font-weight: 720; }

.site-footer { background: #121016; color: #ded9e2; padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 42px; }
.footer-intro p { max-width: 360px; color: #9e96a5; }
.site-footer nav { display: grid; align-content: start; gap: 8px; }
.site-footer nav h2 { font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: #9e96a5; margin-bottom: 8px; }
.site-footer nav a { text-decoration: none; font-size: .9rem; }
.site-footer nav a:hover { color: #c4b5fd; }
.footer-bottom { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; color: #817988; font-size: .82rem; }
.footer-bottom a { color: #a79eae; }

.search-modal[hidden] { display: none !important; }
.search-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: start center; padding: min(12vh, 100px) 20px 30px; }
.search-modal__backdrop { position: absolute; inset: 0; background: rgba(18,16,22,.72); backdrop-filter: blur(7px); }
.search-modal__panel { position: relative; z-index: 1; width: min(680px, 100%); background: var(--surface); border-radius: 22px; padding: 24px; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.search-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search-modal__head h2 { margin: 0; font-size: 1.35rem; }
.search-modal__head button { border: 0; background: transparent; color: var(--muted); }
.search-form { margin-top: 24px; }
.search-form label { display: block; margin-bottom: 8px; font-weight: 720; }
.search-form__line { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-form input { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 12px 14px; }
.search-form button { border: 0; background: var(--brand); color: var(--white); font-weight: 800; border-radius: 12px; padding: 0 18px; }
.search-modal__hint { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--deep); color: var(--white); box-shadow: 0 12px 30px rgba(23,21,28,.22); }

@media (max-width: 1050px) {
    :root { --wrap: min(100% - 32px, 960px); }
    .home-hero__grid, .video-lead__grid, .asymmetric, .image-text-pair, .closing-route__grid, .page-top__grid, .article-hero__grid { gap: 44px; }
    .site-header__inner { grid-template-columns: auto 1fr auto; gap: 14px; }
    .site-nav { gap: 2px; }
    .site-nav a { padding-inline: 9px; font-size: .88rem; }
    .minor-topic { grid-template-columns: 1fr 260px; }
    .minor-topic .text-link { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1.2fr repeat(2, .8fr); }
    .footer-grid nav:last-child { grid-column: 2; }
}

@media (max-width: 860px) {
    .site-header__inner { grid-template-columns: auto auto 1fr auto; min-height: 70px; }
    .menu-toggle { display: inline-flex; grid-column: 2; border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 7px 10px; }
    .site-nav { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); display: none; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
    .site-nav.is-open { display: grid; }
    .site-nav a { padding: 10px 12px; }
    .search-trigger { grid-column: 4; }
    .home-hero__grid, .video-lead__grid, .asymmetric, .prose-band, .image-text-pair, .closing-route__grid, .page-top__grid, .article-hero__grid, .article-layout, .next-route { grid-template-columns: 1fr; }
    .home-hero__media { max-width: 620px; }
    .home-hero__media img { max-height: 480px; }
    .video-lead__intro { position: static; }
    .split-heading { grid-template-columns: 1fr; gap: 10px; }
    .long-list { grid-template-columns: 1fr; }
    .long-list .content-row:nth-child(2) { padding-top: 24px; }
    .article-body { max-width: none; }
    .article-side { order: -1; }
    .sticky-box { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
    .sticky-box .eyebrow { grid-column: 1 / -1; }
    .minor-topic { grid-template-columns: 1fr; }
    .minor-topic img { max-width: 520px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-intro { grid-column: 1 / -1; }
    .footer-grid nav:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
    :root { --wrap: min(100% - 24px, 600px); --radius: 16px; }
    body { font-size: 15.5px; }
    .site-header__inner { gap: 8px; min-height: 64px; }
    .brand img { width: 38px; height: 38px; }
    .brand small { display: none; }
    .search-trigger { font-size: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%; }
    .search-trigger::after { content: '⌕'; font-size: 1.2rem; }
    .section { padding: 64px 0; }
    .section--tight { padding-top: 38px; padding-bottom: 54px; }
    .section--small { padding-top: 42px; padding-bottom: 42px; }
    .home-hero { padding-top: 48px; }
    h1 { font-size: clamp(2.25rem, 12vw, 3.45rem); }
    h2 { font-size: clamp(1.55rem, 8vw, 2.25rem); }
    .hero-facts { grid-template-columns: 1fr; }
    .home-hero__media img { border-radius: 24px 24px 70px 24px; }
    .index-line { grid-template-columns: 48px 1fr; gap: 14px; }
    .index-line > a { grid-column: 2; text-align: left; }
    .route-strip { grid-template-columns: 1fr; }
    .fact-table div { grid-template-columns: 1fr; gap: 4px; }
    .next-route__links { grid-template-columns: 1fr; }
    .sticky-box { grid-template-columns: 1fr; }
    .inline-search > div, .search-page-form > div, .search-form__line { grid-template-columns: 1fr; }
    .inline-search button, .search-page-form button, .search-form button { min-height: 44px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-intro, .footer-grid nav:last-child { grid-column: auto; }
    .footer-bottom { gap: 16px; flex-direction: column; }
    .search-modal { padding-inline: 12px; }
    .search-modal__panel { padding: 18px; }
}

@media (max-width: 390px) {
    :root { --wrap: min(100% - 20px, 375px); }
    .brand strong { font-size: 1.18rem; }
    .menu-toggle { font-size: .8rem; padding: 6px 8px; }
    .hero-actions { display: grid; }
    .button { width: 100%; }
    .article-meta { display: grid; gap: 4px; }
    .back-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
