@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/noto-sans-sc.9861b63cd2fe.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #101010;
  --muted: #74746f;
  --line: #ddddd8;
  --radius: 24px;
  --page-width: 1312px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; }
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.site-header, footer { width: min(calc(100% - 128px), var(--page-width)); margin-inline: auto; }
.site-header { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 30px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.45; text-decoration: none; }
.environment { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.hero { min-height: 307px; padding: 26px 24px 42px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
h1 { margin: 0; font-size: clamp(40px, 4.45vw, 64px); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
.slogan-ending { white-space: nowrap; }
.slogan-word { display: inline-grid; width: 2em; height: 1.25em; overflow: hidden; vertical-align: bottom; }
.slogan-word > span { grid-area: 1 / 1; height: 1.25em; }
.slogan-word > .is-next { position: relative; top: -100%; }
.slogan-word.is-ready > span { animation: slogan-roll 2.75s linear infinite; animation-play-state: var(--slogan-play-state, running); }
/* Figma 599:86: 2.1s hold, then 650ms downward travel with a gentle landing.
   A percentage translation keeps the same one-row motion at 64px and 36px. */
@keyframes slogan-roll {
  0% { translate: 0 0; }
  76.363636% { animation-timing-function: cubic-bezier(.22, 1, .36, 1); translate: 0 0; }
  100% { translate: 0 100%; }
}
.release-action { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 16px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; width: 232px; min-height: 56px; padding: 14px 20px; border-radius: 999px; color: var(--paper); background: var(--ink); box-shadow: inset 0 1px 2px #ffffff40, inset 0 -5px 12px #ffffff0a, 0 8px 15px #00000005; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background 150ms, transform 150ms; }
.download-button:hover { background: #282828; }
.download-button:active { transform: scale(.98); }
.download-button.is-disabled { opacity: .5; cursor: wait; }
.release-meta { max-width: min(100%, 520px); margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.error { max-width: 440px; margin: 0; font-size: 12px; line-height: 1.7; color: #9c3428; }
.error .text-button { min-height: 32px; color: inherit; text-decoration: underline; }
.showcase { height: 732px; overflow: hidden; }
.carousel { width: min(100%, var(--page-width)); height: 100%; margin: auto; display: flex; justify-content: center; align-items: center; gap: 64px; }
.slide { flex: 0 0 280px; height: 660px; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; }
.device { width: 246.4px; aspect-ratio: 375.384613 / 817.230774; border-radius: 21.12px; outline: 4.4px solid var(--ink); background: var(--paper); box-shadow: 0 5px 14px #00000012; overflow: hidden; }
.slide.is-active .device { width: 280px; outline-width: 5px; border-radius: var(--radius); }
.device img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
figcaption { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; letter-spacing: .06em; white-space: nowrap; }
footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
footer p { margin: 0; }
footer nav { display: flex; gap: 24px; }
.text-button { padding: 0; border: 0; min-height: 44px; color: inherit; background: transparent; cursor: pointer; }
.text-button:hover, .manifest-link:hover { color: var(--ink); }
:is(a, button, [tabindex]):focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
dialog { width: min(calc(100% - 40px), 520px); max-height: calc(100dvh - 48px); padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px #00000020; }
dialog::backdrop { background: #0006; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h2 { margin: 0; font-size: 22px; line-height: 1.4; }
.dialog-close { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 28px; cursor: pointer; }
.install-steps { padding-left: 22px; font-size: 15px; line-height: 1.8; }
.install-steps li + li { margin-top: 16px; }
.dialog-note { color: var(--muted); font-size: 13px; line-height: 1.7; }
.details { margin: 24px 0; display: grid; gap: 20px; }
.details dt { margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.details dd { margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.details code { font: 12px/1.7 Consolas, ui-monospace, monospace; }
.manifest-link { font-size: 13px; color: var(--muted); text-underline-offset: 4px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header, footer { width: calc(100% - 64px); }
  .carousel { gap: 24px; }
  .slide { flex-basis: 220px; }
  .device { width: 202px; }
  .slide.is-active .device { width: 230px; }
  .showcase { height: 650px; }
}
@media (max-width: 760px) {
  .site-header, footer { width: calc(100% - 48px); }
  .site-header { height: 80px; }
  .brand { font-size: 25px; letter-spacing: -1px; }
  .environment { font-size: 10px; }
  .hero { min-height: 278px; padding-top: 24px; padding-bottom: 42px; }
  h1 { font-size: 36px; }
  .slogan-prefix { display: block; }
  .release-meta { max-width: calc(100vw - 48px); }
  .showcase { height: 620px; }
  .carousel { position: relative; gap: 24px; touch-action: pan-y pinch-zoom; user-select: none; }
  .slide { flex-basis: 244px; height: 586px; }
  .device, .slide.is-active .device { width: 244px; outline-width: 4.357px; border-radius: 20.914px; }
  .slide:not(.is-active) .device { transform: scale(.86885246); }
  figcaption { font-size: 10px; }
  .slide:not(.is-active) figcaption { opacity: 0; }
  .carousel.is-enhanced .slide { position: absolute; left: calc(50% - 122px); top: calc(50% - 293px); width: 244px; will-change: transform; cursor: pointer; }
  .carousel.is-enhanced .device { transform: scale(var(--scale, 1)); will-change: transform; }
  .carousel.is-enhanced figcaption { opacity: var(--caption-opacity, 0); }
  .carousel.is-dragging, .carousel.is-dragging .slide { cursor: grabbing; }
  footer { min-height: 116px; flex-direction: column; justify-content: center; gap: 10px; font-size: 11px; }
  footer nav { gap: 24px; }
  .dialog-heading h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .slogan-word.is-ready > span { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
