@charset "utf-8";

:root {
  color-scheme: dark;
  --background: #10141c;
  --surface: #181e29;
  --text: #fff4df;
  --secondary: #c3c9d3;
  --link: #f6c99e;
  --rule: #39404d;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: var(--link); text-underline-offset: .19em; }
a:hover { color: #ffe9ca; }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; border-radius: 2px; }
h1, h2, p, ul { margin: 0; }
p + p, p + ul { margin-top: .85rem; }
img { display: block; max-width: 100%; height: auto; }

.shell { width: min(calc(100% - 3rem), 70rem); margin-inline: auto; }
.skip { position: fixed; z-index: 1; inset: .75rem auto auto .75rem; padding: .6rem 1rem; background: var(--background); transform: translateY(-200%); }
.skip:focus { transform: none; }
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.5rem;
  border-bottom: 1px solid var(--rule);
  padding-block: .7rem;
}
.wordmark { display: inline-flex; align-items: center; gap: .45rem; color: var(--text); font-size: 1.12rem; font-weight: 760; text-decoration: none; }
.wordmark img { padding: .12rem; border-radius: .5rem; background: #253041; }
nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.15rem; }
nav a, .wordmark { padding-block: .48rem; }
nav a { text-decoration: none; font-size: .95rem; }
nav a:hover, nav [aria-current="page"] { text-decoration: underline; }
nav [aria-current="page"] { color: var(--text); }

.heading { padding-block: clamp(2.5rem, 8vw, 4.5rem) 2.35rem; }
.heading h1 { font-size: clamp(2.2rem, 7.5vw, 4.15rem); line-height: 1.11; letter-spacing: -.047em; }
.heading p { margin-top: .75rem; color: var(--secondary); font-size: clamp(1rem, 2.4vw, 1.25rem); }
.body { max-width: 46rem; }
.body p, .body li { color: var(--secondary); }
.body section { padding-block: 1.4rem; border-top: 1px solid var(--rule); }
.body h2 { font-size: 1.2rem; line-height: 1.35; margin-bottom: .55rem; }
.body ul { padding-inline-start: 1.35rem; }
.body li + li { margin-top: .3rem; }
.body .date { padding-bottom: 1.35rem; font-size: .9rem; }
.contact a { overflow-wrap: anywhere; }

.hero {
  display: grid;
  align-items: start;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(26rem, 51vw, 37rem);
  margin-block: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: 1.2rem;
  background: #111e30;
}
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b1425fa, #0b1425c4 29%, #0b142530 66%, #0b142500); }
.hero-copy { padding: clamp(2.1rem, 5.1vw, 4.75rem); }
.hero h1, .feature h2 { font-family: Georgia, "Songti SC", "Noto Serif CJK SC", serif; font-weight: 650; line-height: 1.07; }
.hero h1 { font-size: clamp(2.8rem, 7.1vw, 6rem); letter-spacing: -.062em; }
:lang(zh-Hans) .hero h1 { letter-spacing: -.035em; }
.hero p { max-width: 28rem; margin-top: 1.35rem; color: #e6eaf1; font-size: clamp(1rem, 2vw, 1.15rem); }
.button { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 1.6rem; padding: .55rem 1rem; border-radius: .4rem; background: var(--text); color: #171920; text-decoration: none; font-weight: 700; }
.button:hover { background: #fff; color: #171920; }
.feature { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(1.75rem, 7vw, 6rem); padding: clamp(1.25rem, 5.5vw, 4rem); border-top: 1px solid var(--rule); }
.feature h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
.feature p { margin-top: 1.05rem; max-width: 30rem; color: var(--secondary); }
.feature a { display: inline-block; margin-top: .95rem; padding-block: .2rem; }
.feature img { border-radius: .8rem; }
.footer { border-top: 1px solid var(--rule); padding-block: 1rem 2rem; margin-top: 1.5rem; }

@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .bar { column-gap: .75rem; }
  nav { column-gap: .85rem; }
  .hero { min-height: 0; padding-bottom: clamp(9rem, 40vw, 15rem); }
  .hero-image { inset: auto 0 0; height: 67%; object-position: 58% center; }
  .hero::after { background: linear-gradient(180deg, #111e30 25%, #111e30f5 44%, #111e3026 77%, #111e3000); }
  .hero-copy { padding: clamp(1.3rem, 5vw, 2.1rem); }
  .feature { grid-template-columns: 1fr; padding-inline: .25rem; }
  .feature img { max-height: 26rem; width: 100%; object-fit: cover; object-position: center 65%; }
}

.site-record { margin-top: .65rem; color: var(--secondary); font-size: .875rem; }
