:root {
  color-scheme: light;
  --midnight: #101121;
  --dusk: #202239;
  --paper: #f6f5f1;
  --gold: #ffc779;
  --ink: #1c2132;
  --quiet: #515964;
  --rule: #d3d1cd;
  color: var(--ink);
  background: var(--paper);
  font-family: "Instrument Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: #394583; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid #98621f; outline-offset: 4px; }
p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 52px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: -6rem; left: 1rem; padding: .7rem; background: #fff; }
.skip:focus { top: .5rem; }
.mast { background: var(--midnight); color: #fff; border-bottom: 1px solid #373849; }
.mast .wrap { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: #fff; font: 880 1.45rem/1 "Geist", Arial, sans-serif; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.brand::before { content: ""; display: inline-block; width: 4px; height: .86em; margin-right: 10px; background: var(--gold); transform: skew(-18deg); }
.mast nav, .foot nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.5rem; }
.mast nav a,.mast nav span,.foot nav a,.foot nav span { color: #e4e5f4; font-weight: 640; font-size: .91rem; }
.hero { position: relative; display: grid; background: var(--midnight); color: #fff; overflow: hidden; min-height: 480px; isolation: isolate; }
.hero img { z-index: -2; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 53%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#090b1aef,#111225d4 40%,#10112122 78%),linear-gradient(0deg,#10112170,transparent 28%); }
.hero .wrap { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 49px 53px; }
.hero h1 { margin: 0; font: 880 clamp(4rem,8.4vw,8rem)/.89 "Geist", Arial, sans-serif; letter-spacing: -.097em; }
.hero h1 span { display: block; font: 800 clamp(1.64rem,3.1vw,2.9rem)/1.18 system-ui, sans-serif; letter-spacing: -.08em; margin-top: .67rem; color: #e5ddff; }
.hero p { margin-block: 19px 21px; max-width: 39ch; color: #ebe8f7; line-height: 1.72; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.3rem; }
.button { display: inline-flex; align-items: center; min-height: 47px; padding: .65rem 1.15rem; color: #261a0b; border-radius: 2px; background: var(--gold); font-weight: 850; text-decoration: none; }
.button:hover { background: #ffd79f; }
.actions > a:not(.button) { color: #f3ecff; font-weight: 700; padding-block: .45rem; }
.route-section { background: var(--dusk); color: #f3f2fa; padding: 32px 0 36px; border-top: 1px solid #45465e; }
.route-section .wrap { display: grid; grid-template-columns: .7fr 2.3fr; gap: 1.3rem 2.3rem; align-items: start; }
h2 { margin: 0; font-size: clamp(1.31rem,2.4vw,1.74rem); line-height: 1.3; letter-spacing: -.05em; }
.route-section h2 { margin-top: .62rem; color: #fff; }
.route-map { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); list-style: none; }
.route-map li { position: relative; padding: 11px 1rem .1rem 0; border-top: 2px solid #a68a65; min-width: 0; }
.route-map li::before { content: ""; position: absolute; top: -5px; left: 0; width: 8px; height: 8px; border: 1px solid #fcdfb1; background: var(--gold); border-radius: 50%; }
.route-map a { display: inline-block; color: #ffe9c9; font-weight: 820; margin: .35rem 0 .3rem; overflow-wrap: anywhere; }
.route-map p { color: #d4d5e4; font-size: .89rem; line-height: 1.59; }
.names-section { padding-block: 46px; }
.names-section .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: start; }
.names-section p { color: var(--quiet); line-height: 1.66; max-width: 39ch; margin: .9rem 0; }
.aliases { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .8rem 0 0; list-style: none; }
.aliases li { border: 1px solid #cecbe5; background: #edebf8; color: #35325f; padding: .37rem .62rem; font-weight: 700; }
.guides { padding: 32px 0 42px; background: #eae9f0; border-top: 1px solid #d9d8e1; }
.reading-list { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid #b9b8c5; }
.reading-link { display: block; padding: 1.05rem .2rem; border-bottom: 1px solid #b9b8c5; font-weight: 790; line-height: 1.5; }
.foot { padding: 28px 0; color: #e3e3ee; background: var(--midnight); }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: .9rem; align-items: start; }
.foot p { max-width: 65ch; line-height: 1.64; font-size: .89rem; }
.inner { padding-block: 27px 48px; }
.readable { max-width: 755px; margin-inline: auto; }
.crumb { display: flex; flex-wrap: wrap; gap: .65rem .95rem; margin: 0 0 1.05rem; font-size: .86rem; }
.inner-title { padding: 22px 0 20px 16px; border-left: 5px solid #a36c27; border-bottom: 1px solid var(--rule); }
.inner-title h1 { margin: 0 0 .7rem; font-size: clamp(1.92rem,4vw,3.15rem); line-height: 1.14; letter-spacing: -.063em; }
.inner-title p,.inner-body p,.article-copy p { line-height: 1.76; }
.inner-title time { display: block; margin-top: .75rem; color: var(--quiet); font: .83rem "Courier Prime", monospace; }
.inner-body section,.article-copy section { border-bottom: 1px solid var(--rule); padding: 21px 0; scroll-margin-top: 12px; }
.inner-body section:target { border-bottom: 3px solid #92632b; }
.inner-body h2,.article-copy h2 { margin-bottom: .65rem; }
.inner-body p+p,.article-copy p+p { margin-top: .7rem; }
.more { display: flex; flex-wrap: wrap; margin-top: 1.2rem; gap: .75rem 1.1rem; font-weight: 680; }
code { overflow-wrap: anywhere; font-family: "Courier Prime", monospace; }
@media (max-width: 695px) {
  .wrap { width: calc(100% - 30px); }
  .mast .wrap { min-height: 55px; }
  .mast nav { gap: .65rem; }
  .mast nav a,.mast nav span { font-size: .77rem; }
  .hero { min-height: 0; grid-template-rows: auto auto; }
  .hero img { position: static; z-index: 0; grid-row: 2; aspect-ratio: 1.92; object-position: 73% 60%; }
  .hero::after { display: none; }
  .hero .wrap { grid-row: 1; padding-block: 23px 19px; }
  .hero h1 { font-size: clamp(3rem,11vw,4.55rem); }
  .hero h1 span { font-size: 1.5rem; margin-top: .56rem; }
  .hero p { margin-block: 11px 12px; font-size: .91rem; }
  .hero .actions { gap: .63rem .93rem; font-size: .85rem; }
  .button { min-height: 44px; padding-inline: .8rem; }
  .route-section { padding: 18px 0 21px; }
  .route-section .wrap,.names-section .wrap,.foot .wrap { grid-template-columns: 1fr; gap: 1rem; }
  .route-section h2 { margin: 0; }
  .route-map { grid-template-columns: 1fr; margin-left: 4px; }
  .route-map li { border: 0; border-left: 1px solid #a68a65; padding: 0 0 12px 13px; }
  .route-map li::before { top: 9px; left: -4px; }
  .route-map li:last-child { padding-bottom: 1px; }
  .names-section { padding-block: 26px; }
  .guides { padding-block: 23px 29px; }
}
