:root {
  color-scheme: light;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #0f2942;
  background: #f6f9fc;
  --sun-bg: #f6f9fc;
  --sun-surface: #ffffff;
  --sun-glass: rgb(255 255 255 / 88%);
  --sun-ink: #0f2942;
  --sun-body: #3a546d;
  --sun-muted: #647f99;
  --sun-accent: #0284c7;
  --sun-accent-hover: #0369a1;
  --sun-warm: #e59324;
  --sun-line: rgb(15 41 66 / 10%);
  --gutter: clamp(32px, 4vw, 76px);
  --header-gutter: clamp(24px, 3.2vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--sun-bg); color: var(--sun-ink); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--sun-accent); outline-offset: 3px; }
p, h1 { margin: 0; }
[hidden] { display: none !important; }

.icp-link { color: var(--sun-body); }
.icp-link:hover, .icp-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--sun-ink);
  border: 1px solid var(--sun-accent);
  box-shadow: 0 8px 24px rgb(15 41 66 / 12%);
}

.home {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.home-footer {
  flex: none;
  padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--sun-line);
  background: var(--sun-surface);
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.scenery { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #dcecf8; }
.scene, .scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene {
  opacity: 0;
  transition: opacity 480ms ease;
}
.scene.is-current { opacity: 1; }
.scene img { object-fit: cover; }
.scenery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 12%) 0%, transparent 24%, transparent 64%, rgb(15 41 66 / 16%) 100%);
}

.masthead {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--header-gutter);
  color: var(--sun-ink);
  background: rgb(255 255 255 / 84%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgb(15 41 66 / 8%);
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
}
.wordmark span:first-child {
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--sun-ink);
}
.wordmark span[lang] {
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--sun-accent);
  font-weight: 600;
}
.site-nav { display: flex; gap: clamp(20px, 2.3vw, 38px); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sun-body);
  white-space: nowrap;
  transition: color 180ms ease;
}
.site-nav a:hover, .mobile-links a:hover {
  color: var(--sun-accent);
  text-decoration: underline;
  text-underline-offset: 6px;
}
:where(.site-nav, .mobile-links) a:is([aria-current="page"], [data-current="section"]) {
  color: var(--sun-accent);
  text-decoration-line: underline;
  text-decoration-color: var(--sun-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  font-weight: 600;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 3.6vw, 56px);
  padding: 28px var(--gutter) clamp(28px, 5vh, 52px);
}
.hero:focus { outline: none; }
.hero-copy {
  width: 100%;
  padding: clamp(24px, 2.8vw, 34px) clamp(24px, 3vw, 38px);
  border-radius: 16px;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  border: 1px solid rgb(255 255 255 / 96%);
  box-shadow: 0 24px 60px rgb(15 41 66 / 16%);
}
.eyebrow {
  color: var(--sun-accent);
  font: 600 11px/1.5 Arial, sans-serif;
  letter-spacing: .16em;
  margin-bottom: 10px;
}
.hero h1 {
  color: var(--sun-ink);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
h1 span { display: block; }
.summary {
  margin-top: 12px;
  max-width: 28em;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--sun-body);
  text-wrap: balance;
}
.credit {
  margin-top: 8px;
  max-width: 35em;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--sun-muted);
}
.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 14px;
  margin-top: 20px;
  padding: 0 22px;
  border: 1px solid var(--sun-accent);
  border-radius: 8px;
  background: var(--sun-accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgb(2 132 199 / 24%);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.hero-link:hover {
  background: var(--sun-accent-hover);
  border-color: var(--sun-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgb(2 132 199 / 30%);
}
.hero .hero-link { min-height: 42px; margin-top: 20px; }
.arrow {
  position: relative;
  width: 13px;
  height: 1px;
  background: currentColor;
}
.arrow::after, .chevron {
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; }

.carousel {
  justify-self: end;
  width: min(100%, 640px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(14px, 1.6vw, 24px);
  align-items: end;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgb(255 255 255 / 86%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgb(255 255 255 / 96%);
  box-shadow: 0 20px 50px rgb(15 41 66 / 14%);
}
.slide-list {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, .96fr) minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(10px, 1.3vw, 18px);
}
.slide-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--sun-muted);
  transition: color 180ms ease;
}
.slide-button[aria-current="true"] { color: var(--sun-ink); font-weight: 600; }
.track {
  display: block;
  position: relative;
  height: 6px;
  border-radius: 5px;
  overflow: hidden;
}
.track::before {
  content: "";
  position: absolute;
  inset: 1px 0;
  border-radius: inherit;
  background: rgb(15 41 66 / 14%);
}
.fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--sun-accent), #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
}
.slide-button[aria-current="true"] .fill { transform: scaleX(1); }
.slide-button[aria-current="true"] .track::before { inset: 0; background: rgb(2 132 199 / 20%); }
.slide-button:hover .track::before { background: rgb(2 132 199 / 34%); }

.press-preview {
  position: absolute;
  display: none;
}

@media (min-width: 681px) and (min-height: 420px) and (hover: hover) and (pointer: fine) {
  .slide-list > .press-preview:not([hidden]) {
    z-index: 2;
    inset-inline: 0;
    bottom: calc(100% + 16px);
    display: flex;
    justify-content: flex-end;
    padding-bottom: 6px;
    animation: press-preview-in 160ms ease both;
  }
  .press-preview { --press-preview-enabled: 1; }
  .press-preview img {
    display: block;
    align-self: flex-end;
    width: min(100%, 380px, 60dvh);
    height: auto;
    border: 2px solid #ffffff;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgb(15 41 66 / 20%);
  }
}

@keyframes press-preview-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.transport { display: grid; gap: 2px; justify-items: start; }
.counter {
  padding-left: 6px;
  font: 600 12px/1 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  color: var(--sun-muted);
}
.transport-buttons { display: flex; }
.transport button, .menu-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
}
.transport button { width: 30px; height: 28px; padding: 0; border-radius: 6px; color: var(--sun-ink); }
.transport button:hover { background: rgb(2 132 199 / 10%); color: var(--sun-accent); }
.transport button[aria-disabled="true"] { opacity: .45; cursor: default; }
.previous .chevron { transform: rotate(-135deg); }
.playback-icon { width: 8px; height: 10px; border-inline: 2px solid; }
.toggle[data-paused="true"] .playback-icon {
  width: 0;
  height: 0;
  border: solid transparent;
  border-width: 5px 0 5px 8px;
  border-left-color: currentColor;
}
.masthead > .menu-button { display: none; }
dialog { color: var(--sun-ink); }
body:has(dialog[open]) { overflow: hidden; }

.placeholder-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 70% 50% at 85% 0%, rgb(186 230 253 / 45%), transparent 68%),
    var(--sun-bg);
}
.placeholder {
  display: grid;
  align-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  gap: 18px;
  padding: 30px var(--gutter);
}
.placeholder-page .placeholder {
  flex: 1;
  min-height: 0;
}
.placeholder:focus { outline: none; }
.placeholder h1 {
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  color: var(--sun-ink);
}
.placeholder a:not(.hero-link) {
  color: var(--sun-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.placeholder .hero-link { justify-self: start; }
.placeholder p { line-height: 1.65; color: var(--sun-body); }

@media (max-width: 1199px) {
  .hero { grid-template-columns: 1fr; gap: 18px; align-content: end; }
  .hero-copy { max-width: 36rem; }
  .carousel { width: min(100%, 620px); justify-self: end; }
}

@media (1200px <= width <= 1320px) {
  .carousel { gap: 14px; }
  .slide-list { gap: 12px; }
  .slide-button { font-size: 12px; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; --header-gutter: var(--gutter); }
  .masthead { padding: 12px var(--header-gutter); }
  .wordmark span:first-child { font-size: 20px; }
  .wordmark span[lang] { font-size: 7.5px; }
  .site-nav { display: none; }
  .masthead > .menu-button, dialog .menu-button {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 2px 0 9px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sun-ink);
  }
  .menu-icon, .close-icon { width: 17px; height: 12px; position: relative; }
  .menu-icon { border-block: 1.5px solid; height: 9px; }
  .close-icon::before, .close-icon::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(45deg);
  }
  .close-icon::after { transform: rotate(-45deg); }
  dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 14px var(--gutter) 28px;
    border: 0;
    background: linear-gradient(180deg, #ffffff 0%, #eef6fc 100%);
    color: var(--sun-ink);
  }
  .menu-top { display: flex; justify-content: space-between; align-items: center; }
  .mobile-links { display: grid; margin-top: 32px; }
  .mobile-links a {
    display: flex;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid var(--sun-line);
    font-size: 20px;
    font-weight: 500;
  }
  .hero { gap: 14px; padding: 24px var(--gutter) max(16px, env(safe-area-inset-bottom)); }
  .hero-copy { padding: 20px 20px; border-radius: 14px; }
  .hero h1 { font-size: clamp(28px, 8.2vw, 38px); }
  .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .summary { font-size: 14.5px; }
  .credit { font-size: 12px; }
  .hero .hero-link { min-height: 44px; margin-top: 16px; }
  .carousel { width: 100%; grid-template-columns: 1fr; gap: 6px; padding: 12px 14px; border-radius: 14px; }
  .slide-list { grid-template-columns: .95fr .95fr 1fr 1.2fr; gap: 8px; }
  .slide-button { white-space: normal; font-size: 11px; line-height: 1.3; gap: 6px; justify-content: end; padding-bottom: 4px; }
  .track { height: 5px; }
  .transport { display: flex; align-items: center; justify-content: space-between; }
  .counter { padding-left: 0; }
  .transport button { width: 40px; height: 40px; }
}

@media (min-width: 681px) and (pointer: coarse) {
  .transport button { width: 44px; height: 44px; }
  .hero .hero-link { min-height: 44px; }
}

@media (max-height: 550px) and (min-width: 681px) {
  .hero { padding-block: 16px; gap: 16px; }
  .hero-copy { padding: 18px 22px; }
  .hero h1 { font-size: clamp(28px, 3.6vw, 40px); }
  .eyebrow { margin-bottom: 6px; }
  .summary { margin-top: 8px; }
  .hero .hero-link { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene { transition: none; }
  .slide-list > .press-preview:not([hidden]) { animation: none; }
  .hero-link { transition: none; }
}
