:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #182629;
  background: #f8faf8;
  --ink: #182629;
  --muted: #4d6160;
  --teal: #00614e;
  --tint: #e5efe8;
  --rule: #cfdbd4;
  --display: Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--teal); text-underline-offset: .21em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 3px solid #087760; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.shell { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.skip, .visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  z-index: 1; top: .6rem; left: .6rem; width: auto; height: auto;
  clip-path: none; background: #fff; padding: .5rem .9rem;
}

.masthead-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 4.65rem; }
.masthead { border-bottom: 1px solid var(--rule); margin-bottom: 1.25rem; }
.masthead-actions { display: flex; align-items: center; gap: clamp(.65rem, 2vw, 1.5rem); font-weight: 650; }
.brand { display: inline-flex; align-items: center; gap: .38em; font: bold clamp(1.7rem, 4vw, 2.35rem)/1.1 var(--display); letter-spacing: -.035em; color: var(--ink); text-decoration: none; }
.brand img { flex: none; width: .83em; height: .83em; }
.switch { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .25rem 1rem; border: 1px solid var(--rule); border-radius: .3rem; font-weight: 650; }
.channel-nav {
  display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .7rem;
}
.channel-nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem .8rem;
  border: 1px solid var(--rule); border-radius: .28rem; color: var(--ink); text-decoration: none; font-weight: 650;
}
.channel-nav a:hover { background: var(--tint); }
.channel-nav a[aria-current] { background: var(--teal); border-color: var(--teal); color: white; }

h1, h2, h3 { font-family: var(--display); line-height: 1.13; margin: 0 0 .65rem; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; }
.hero, .model-hero { display: grid; grid-template-columns: 1fr 1.12fr; align-items: stretch; gap: 0; background: var(--tint); }
.hero-copy, .model-hero > div { align-self: center; padding: clamp(1.5rem, 4.3vw, 3.8rem); }
.hero-copy { padding: clamp(1.25rem, 3vw, 2.25rem); }
.hero h2 { font-size: clamp(1.95rem, 4vw, 3.25rem); letter-spacing: -.04em; }
.hero-copy > p:not(.context) { color: var(--muted); max-width: 46ch; margin-bottom: .9rem; }
.hero-text { grid-template-columns: 1fr; }
.model-photo { margin: 0; display: flex; flex-direction: column; background: #dfe6e0; min-width: 0; }
.model-photo img { width: 100%; height: auto; flex: 1; min-height: 0; aspect-ratio: 1280 / 852; object-fit: cover; }
.launch-photo img { aspect-ratio: 1400 / 787; }
.model-photo figcaption { font-size: .8125rem; padding: .35rem .75rem; color: var(--muted); background: #f0f4f1; }
.button {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .55rem .95rem;
  color: #fff; background: #005644; border-radius: .25rem; font-weight: 650; text-decoration: none;
}
.button:hover { background: #003f32; }

.news-feed { margin-top: 1.6rem; }
.news-feed h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); margin-bottom: .7rem; }
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.25rem, 3vw, 2.25rem); }
.feed .story h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.story h2 a, .story h3 a { color: var(--ink); text-decoration: none; }
.story a:hover { color: var(--teal); text-decoration: underline; }
.story { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
.story p { margin-bottom: 0; color: var(--muted); }
.story .context, .context { margin: 0 0 .5rem; color: var(--teal); font-size: .875rem; font-weight: 650; }
.model-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .45rem; font-weight: 680; }
.reading { max-width: 50rem; margin-inline: auto; padding: clamp(.6rem, 3vw, 2rem) 0; }
.reading h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); }
.news { max-width: 43rem; }
.lede { font-size: clamp(1.1rem, 2.5vw, 1.28rem); color: var(--muted); }
.news .lede { margin: 1.2rem 0; }
.source { border-top: 1px solid var(--rule); margin-top: 1.75rem; padding-top: 1rem; }
.source h2 { font-size: 1.3rem; }
.model-hero .lede { margin-bottom: 0; }
.back-link {
  display: inline-flex; align-items: center; min-height: 2.75rem; margin-bottom: .85rem;
  padding: .4rem .8rem; border: 1px solid var(--rule); border-radius: .28rem;
  font-weight: 650; text-decoration: none;
}
.back-link:hover { background: var(--tint); }
.market-names { margin: 1.75rem 0; }
.market-groups { border-top: 1px solid var(--rule); margin-top: .75rem; }
.market-group { border-bottom: 1px solid var(--rule); }
.market-group summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 1rem; align-items: center;
  min-height: 2.75rem; gap: .65rem; padding: .35rem .65rem;
  cursor: pointer; list-style: none; font-weight: 700;
}
.market-group summary::-webkit-details-marker { display: none; }
.market-group summary:hover, .market-group[open] summary { background: var(--tint); }
.market-group summary:focus-visible, .market-method summary:focus-visible { outline: 3px solid #087760; outline-offset: 2px; }
.market-count { color: var(--muted); font-size: .875rem; font-weight: 500; white-space: nowrap; }
.market-toggle { color: var(--teal); text-align: center; }
.market-toggle::before { content: "+"; }
.market-group[open] .market-toggle::before { content: "−"; }
.market-group ul { display: flex; flex-wrap: wrap; gap: 0 .95rem; list-style: none; margin: 0; padding: .45rem .65rem; }
.market-group a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.market-method { color: var(--muted); font-size: .875rem; margin-top: .35rem; }
.market-method summary { cursor: pointer; padding-block: .4rem; }
.market-method p { margin: 0 0 .6rem; max-width: 75ch; }
.timeline { max-width: none; }
.timeline .story p { max-width: 68ch; }
footer.shell {
  display: grid; gap: .25rem;
  border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-block: 1rem 2rem; color: var(--muted);
}

footer.shell p { margin: 0; font-size: .9rem; }

@media (max-width: 48rem) {
  .hero, .model-hero { grid-template-columns: 1fr; }
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 32rem) {
  .shell { width: calc(100% - 1.5rem); }
  .feed { grid-template-columns: 1fr; }
  .masthead-top { flex-wrap: wrap; padding-block: .55rem; }
  .masthead-actions { font-size: .875rem; }
  .switch { padding-inline: .55rem; }
  .hero-copy { padding: 1rem; }
  .hero h2 { font-size: 1.8rem; text-wrap: initial; }
  .hero-copy > p:not(.context) { display: none; }
  .launch-photo img { aspect-ratio: 2.2; object-position: center 55%; }
  .channel-nav a { font-size: .875rem; }
}
