:root {
  --ink: #051a33;
  --deep: #031126;
  --blue: #3c8dff;
  --ice: #e5f6ff;
  --paper: #f4fbff;
  --muted: rgba(226, 244, 255, .62);
  --line: rgba(166, 220, 255, .18);
  --warm: #ffc08b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -3;
  background: url("assets/background.jpeg") 78% 8% / cover no-repeat;
  opacity: .52;
  filter: saturate(.88);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(3, 17, 38, .98) 6%, rgba(4, 24, 49, .92) 44%, rgba(4, 28, 58, .48) 68%, rgba(177, 229, 255, .08)),
    radial-gradient(70% 60% at 78% 18%, rgba(77, 158, 255, .24), transparent 65%);
}
.wash {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(191, 231, 255, .017) 3px 4px),
    radial-gradient(60% 50% at 18% 76%, rgba(55, 139, 255, .15), transparent 70%);
}
.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .11;
  background-image: radial-gradient(rgba(255,255,255,.5) .5px, transparent .7px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}
::selection { background: var(--blue); color: #fff; }

.top {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(3, 16, 36, .9), rgba(3, 16, 36, .48) 56%, transparent);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; }
.mark { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid rgba(162, 219, 255, .42); border-radius: 50%; background: rgba(4, 24, 48, .6); }
.mark img { width: 22px; height: 22px; object-fit: contain; }
.brand span:nth-child(2) { font-size: 18px; font-weight: 900; letter-spacing: .18em; }
.brand small { font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .2em; color: #8cc8ff; }
nav {
  display: flex; align-items: center; gap: 22px;
  padding: 6px 8px;
  border: 1px solid rgba(166, 220, 255, .12);
  background: rgba(3, 16, 36, .22);
}
nav a { color: rgba(230, 247, 255, .8); text-decoration: none; font-size: 11px; letter-spacing: .05em; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
nav a:hover { color: var(--paper); }
nav .back { border: 1px solid var(--line); padding: 7px 10px; color: #bfe4ff; }

main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  align-items: center; gap: clamp(34px, 7vw, 110px);
  min-height: min(78svh, 760px); padding: clamp(50px, 8vh, 100px) 0 clamp(64px, 10vh, 120px);
}
.eyebrow { margin: 0 0 24px; color: #8cc8ff; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .18em; }
.eyebrow span { display: inline-block; width: 25px; height: 1px; margin-right: 10px; vertical-align: middle; background: #8cc8ff; }
h1 { margin: 0; font-size: clamp(58px, 7.3vw, 104px); line-height: 1.01; letter-spacing: -.055em; font-weight: 900; }
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #eefaff 0%, #83c5ff 56%, #2f80ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin: 28px 0 0; color: rgba(234, 247, 255, .72); font-size: 14px; line-height: 2; letter-spacing: .03em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.download {
  display: inline-grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 22px;
  min-width: 246px; padding: 14px 16px 13px;
  background: var(--paper); color: var(--deep); text-decoration: none;
  border: 1px solid #fff; border-radius: 2px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  transition: transform .2s, background .2s;
}
.download:hover { transform: translateY(-2px); background: #fff; }
.download span { font-size: 14px; font-weight: 800; letter-spacing: .05em; }
.download small { grid-column: 1; color: rgba(5, 26, 51, .52); font-size: 9px; letter-spacing: .02em; }
.download b { grid-column: 2; grid-row: 1 / span 2; font-size: 21px; font-weight: 400; color: var(--blue); }
.text-link { color: #a8d8ff; text-decoration: none; border-bottom: 1px solid rgba(168, 216, 255, .35); padding-bottom: 4px; font-size: 11px; }
.statusline { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: rgba(205, 235, 255, .46); font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .05em; }
.statusline i { width: 6px; height: 6px; border-radius: 50%; background: #7eddb5; box-shadow: 0 0 12px #7eddb5; }

.device {
  position: relative; justify-self: end;
  width: min(100%, 410px); padding: 13px;
  border: 1px solid rgba(167, 222, 255, .3);
  background: linear-gradient(155deg, rgba(6, 30, 59, .85), rgba(5, 22, 44, .68));
  box-shadow: 0 32px 100px rgba(0, 0, 0, .32);
  transform: rotate(1.2deg);
  backdrop-filter: blur(12px);
}
.device::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(161, 220, 255, .1); pointer-events: none; }
.device-top { display: flex; justify-content: space-between; padding: 2px 4px 10px; color: #99d2ff; font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .1em; }
.device-art { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; filter: saturate(.9); border: 1px solid rgba(172, 222, 255, .15); }
.device-ui { position: relative; margin-top: 12px; padding: 14px; border: 1px solid rgba(167, 221, 255, .2); background: rgba(4, 20, 41, .72); }
.device-kicker { color: #83bfff; font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .11em; }
.device-ui strong { display: block; margin-top: 9px; font-size: 19px; letter-spacing: .01em; }
.bar { height: 7px; margin-top: 13px; background: #021326; border: 1px solid rgba(168, 221, 255, .28); padding: 1px; }
.bar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #78e0b0, #7bc0ff 70%, #3c8dff); }
.device-ui small { display: block; margin-top: 8px; color: rgba(183, 225, 255, .44); font-family: ui-monospace, monospace; font-size: 7px; letter-spacing: .08em; }
.device-tail { position: absolute; right: -28px; bottom: -38px; width: 88px; height: 88px; object-fit: contain; opacity: .9; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }

.section-tag { margin: 0 0 18px; color: #83c4ff; font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .16em; }
.manifest { padding: 72px 0 86px; border-top: 1px solid var(--line); }
.manifest h2, .install h2, .notice h2 { margin: 0; font-size: clamp(31px, 4.2vw, 56px); line-height: 1.16; letter-spacing: -.045em; font-weight: 800; }
.manifest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.manifest-grid article { padding: 23px 26px 0 0; }
.manifest-grid article + article { padding-left: 26px; border-left: 1px solid var(--line); }
.manifest-grid span { color: #7fbeff; font-family: ui-monospace, monospace; font-size: 9px; }
.manifest-grid h3 { margin: 20px 0 8px; font-size: 17px; letter-spacing: .04em; }
.manifest-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }

.notice {
  margin: 0 0 84px; padding: 30px clamp(22px, 4vw, 40px);
  border: 1px solid rgba(255, 193, 141, .34);
  background: linear-gradient(110deg, rgba(82, 48, 23, .22), rgba(4, 21, 43, .36));
}
.notice h2 { font-size: clamp(27px, 3.4vw, 42px); }
.notice p:last-child { max-width: 890px; margin: 15px 0 0; color: rgba(237, 247, 255, .66); font-size: 12px; line-height: 2; }

.install { padding: 0 0 88px; }
.install ol { list-style: none; margin: 40px 0 30px; padding: 0; border-top: 1px solid var(--line); }
.install li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.install li > b { color: #80c1ff; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 500; }
.install h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: .05em; }
.install p { margin: 0; max-width: 770px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.bottom-download { margin-top: 8px; }
.limits { padding: 0 0 92px; }
.limits-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.limits-row > div { padding: 23px 26px 0 0; }
.limits-row > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.limits h3 { margin: 0 0 8px; font-size: 14px; letter-spacing: .06em; }
.limits p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }

footer {
  display: flex; justify-content: space-between; gap: 20px;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto;
  padding: 17px 0 28px; border-top: 1px solid var(--line);
  color: rgba(204, 235, 255, .4);
  font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .06em;
}
footer div { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: #9bd3ff; text-decoration: none; }

@media (max-width: 860px) {
  body::before { background-position: 72% 12%; opacity: .36; }
  .top { padding: 16px 18px; }
  nav { gap: 13px; }
  nav a:not(.back) { display: none; }
  main, footer { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 38px; padding: 62px 0 58px; }
  h1 { font-size: clamp(54px, 13.8vw, 82px); }
  .lede { font-size: 13px; }
  .device { justify-self: start; width: min(100%, 380px); transform: rotate(.6deg); }
  .device-tail { right: 5px; bottom: -25px; width: 66px; height: 66px; opacity: .78; }
  .manifest { padding: 52px 0 62px; }
  .manifest-grid { grid-template-columns: 1fr; }
  .manifest-grid article, .manifest-grid article + article { padding: 20px 0; border-left: 0; }
  .manifest-grid article + article { border-top: 1px solid var(--line); }
  .notice { margin-bottom: 58px; }
  .install { padding-bottom: 62px; }
  .limits-row { grid-template-columns: 1fr; }
  .limits-row > div, .limits-row > div + div { padding: 20px 0; border-left: 0; }
  .limits-row > div + div { border-top: 1px solid var(--line); }
  footer { flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download, .device { transition: none; transform: none; }
}
