:root {
  --navy: #071018;
  --navy-2: #0c1a24;
  --ice: #9fd4ff;
  --ice-2: #3b82f6;
  --roe: #e85d2a;
  --roe-glow: #ff8a4c;
  --foam: #f4ebe3;
  --mute: #8aa0b0;
  --ok: #3d9a6a;
  --line: rgba(159, 212, 255, 0.16);
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --display: "Syne", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 72px;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--foam);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href^="https://apps.chatsoftware.cn"] {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.9em;
  color: var(--ice);
}

.mist {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.07;
  background-image: url("images/texture.webp");
  background-size: 480px;
  mix-blend-mode: screen;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 60;
  background: var(--roe);
  color: #fff;
  padding: 8px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 22px;
  background: rgba(7, 16, 24, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.mark {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
}

.mark small {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mute);
}

.pearl {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd0a8, var(--roe));
  box-shadow: 0 0 12px var(--roe);
}

.menu {
  display: none;
  margin-left: auto;
  background: var(--navy-2);
  color: var(--ice);
  border: 1px solid var(--ice);
  border-radius: 999px;
  padding: 6px 14px;
}

#rail {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
}

#rail a {
  color: var(--mute);
}

#rail a:hover,
#rail a.is-on {
  color: var(--ice);
}

.go {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--roe);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 88vh;
}

.split-copy {
  padding: 8vh 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--roe-glow);
  text-transform: none;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  margin: 8px 0 16px;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 40em;
  color: rgba(244, 235, 227, 0.82);
}

.pearls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.pearls li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta a:not(.go) {
  border: 1px solid var(--ice);
  color: var(--ice);
  border-radius: 999px;
  padding: 8px 14px;
}

.split-pic {
  margin: 0;
  min-height: 88vh;
}

.split-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 88vh;
}

.band {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 32px;
  padding-top: 72px;
}

.band span {
  display: block;
  color: var(--roe-glow);
  letter-spacing: 0.16em;
  font-size: 12px;
  margin-bottom: 8px;
}

h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 0 0 8px;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.trio {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 56px;
}

.trio article {
  background: rgba(12, 26, 36, 0.8);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
}

.trio ul,
.laws {
  margin: 0;
  padding-left: 1.1em;
}

.trio li,
.laws li {
  margin: 0.35em 0;
  color: var(--mute);
}

.string {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 48px;
  list-style: none;
}

.string > li {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.bead {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd0a8, var(--roe));
  color: #2a0d06;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(232, 93, 42, 0.45);
}

.string figure {
  margin: 0;
}

.string img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
}

figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--mute);
  font-style: italic;
}

.copy p {
  color: var(--mute);
}

.dial {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--navy-2);
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
}

.dial svg {
  width: 72px;
  height: 72px;
}

.track {
  fill: none;
  stroke: #1c3344;
  stroke-width: 8;
}

.arc {
  fill: none;
  stroke: var(--ice-2);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 70;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
}

.dial strong {
  display: block;
  font-size: 22px;
  color: var(--ice);
}

.dial span {
  font-size: 12px;
  color: var(--mute);
}

.dial button {
  background: transparent;
  color: var(--ice);
  border: 1px solid var(--ice);
  border-radius: 999px;
  padding: 6px 10px;
}

.tiles {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
}

.tiles li {
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #102230, #0c1a24);
  border: 1px solid var(--line);
}

.tiles p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}

.laws {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  font-size: 17px;
}

.laws li {
  color: var(--foam);
  margin: 0.5em 0;
}

.foot-link {
  width: min(720px, calc(100% - 48px));
  margin: 24px auto 64px;
  color: var(--mute);
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 6vw 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--mute);
}

@media (max-width: 860px) {
  .menu {
    display: block;
  }

  #rail {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 18px 18px;
    background: var(--navy-2);
  }

  #rail.open {
    display: flex;
  }

  .split,
  .string > li,
  .trio,
  .tiles,
  footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .split-pic,
  .split-pic img {
    min-height: 42vh;
  }

  .string img {
    height: 200px;
  }

  .dial {
    grid-template-columns: 72px 1fr;
  }

  footer {
    display: flex;
    flex-direction: column;
  }

  h1 {
    font-size: 40px;
  }
}
