@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-deep: #fcf9de;
  --surface: #ffffff;
  --ink: #2f2a1f;
  --muted: #666666;
  --muted-deep: #404040;
  --line: #e0dfdf;
  --line-strong: #b2b2b2;
  --accent: #fcda00;
  --accent-hover: #ffeb6b;
  --accent-pressed: #dbaf00;
  --accent-dark: #544300;
  --blue: #0c567a;
  --success: #5dc43b;
  --success-dark: #155200;
  --blue-light: #dbf3ff;
  --orange-light: #fff3eb;
  --code-bg: #fcf3ba;
  --dark: #2f2a1f;
  --dark-border: #544300;
  --dark-muted: #b2b2b2;
  --shadow: 0 28px 70px rgb(47 42 31 / 12%);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 78% 2%, rgb(252 243 186 / 48%), transparent 30rem),
    var(--paper);
  color: var(--ink);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

.page-frame {
  overflow: hidden;
}

.page-container {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.brand img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted-deep);
  font-size: 13px;
  font-weight: 570;
}

.main-nav a,
.site-footer a {
  transition: color 150ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.main-nav a span,
.text-link span,
.site-footer a span {
  margin-left: 3px;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 70px;
  padding-block: 94px 104px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgb(93 196 59 / 16%);
}

.hero h1 {
  max-width: 690px;
  margin: 24px 0 20px;
  font-size: clamp(42px, 5.1vw, 68px);
  font-weight: 730;
  letter-spacing: -0.075em;
  line-height: 1.17;
}

.hero h1 span {
  color: var(--accent-pressed);
}

.hero-description {
  max-width: 475px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  min-width: 220px;
  padding: 0 18px 0 22px;
  background: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 9px 22px rgb(219 175 0 / 12%);
}

.button-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 13px 26px rgb(219 175 0 / 18%);
}

.button-primary:active {
  background: var(--accent-pressed);
}

.button-primary svg,
.release-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-arrow {
  margin-left: auto;
  font-size: 15px;
}

.text-link {
  color: var(--muted-deep);
  font-size: 13px;
  font-weight: 640;
  transition: color 150ms ease;
}

.text-link:hover {
  color: var(--blue);
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

.footnote-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b2b2b2;
}

.package-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dark-border);
  border-radius: 9px;
  background: var(--dark);
  box-shadow: var(--shadow);
  color: #fafafa;
  transform: rotate(1deg);
}

.package-visual::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 190px;
  background: radial-gradient(ellipse at 75% 0, rgb(252 218 0 / 12%), transparent 70%);
  content: "";
  pointer-events: none;
}

.package-topbar,
.package-body,
.package-bottomline {
  position: relative;
  z-index: 1;
}

.package-topbar {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgb(250 250 250 / 11%);
  color: var(--dark-muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.window-dots {
  display: inline-flex;
  gap: 5px;
}

.window-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid #666666;
  border-radius: 50%;
}

.package-version-label {
  padding: 4px 7px;
  border: 1px solid rgb(252 218 0 / 42%);
  border-radius: 3px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.package-body {
  padding: 27px 26px 23px;
}

.package-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgb(250 250 250 / 12%);
}

.package-icon,
.package-icon img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.package-name,
.package-subtitle {
  margin: 0;
}

.package-name {
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.package-subtitle {
  margin-top: 5px;
  color: var(--dark-muted);
  font-size: 11px;
}

.ready-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid rgb(252 218 0 / 27%);
  border-radius: 999px;
  color: #fcf3ba;
  font-size: 10px;
}

.ready-pill span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.file-list {
  display: grid;
  gap: 1px;
  padding-block: 18px 16px;
}

.file-row {
  display: grid;
  min-height: 39px;
  grid-template-columns: 21px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-radius: 4px;
  color: #f5f4f4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.file-row-root {
  color: #fafafa;
  font-size: 11px;
  font-weight: 650;
}

.file-row-child {
  padding-left: 19px;
  color: #e0dfdf;
}

.file-kind {
  color: #b2b2b2;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 9px;
}

.file-glyph {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 3px;
  color: #fcf3ba;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
}

.folder-glyph {
  position: relative;
  width: 15px;
  height: 10px;
  border: 1px solid #dbaf00;
  border-radius: 2px;
}

.folder-glyph::before {
  position: absolute;
  top: -4px;
  left: 1px;
  width: 6px;
  height: 3px;
  border: 1px solid #dbaf00;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  content: "";
}

.manifest-glyph {
  background: rgb(252 218 0 / 13%);
  letter-spacing: -0.08em;
}

.code-glyph {
  background: rgb(51 187 255 / 15%);
  color: var(--blue-light);
  font-size: 7px;
}

.html-glyph {
  width: 18px;
  background: rgb(255 144 69 / 14%);
  color: var(--orange-light);
  font-size: 6px;
}

.package-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  border: 1px solid rgb(252 218 0 / 20%);
  border-radius: 4px;
  background: rgb(252 243 186 / 8%);
  color: #fcf3ba;
  font-size: 10px;
}

.status-mark {
  display: inline-grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
}

.package-bottomline {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-top: 1px solid rgb(250 250 250 / 11%);
  color: #b2b2b2;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.package-bottomline code {
  color: #e0dfdf;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0;
}

.release-strip {
  display: grid;
  min-height: 148px;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgb(255 255 255 / 55%);
}

.release-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 5px;
  background: var(--accent);
  color: var(--accent-dark);
}

.release-mark svg {
  width: 22px;
  height: 22px;
}

.section-kicker {
  gap: 9px;
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.release-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: #b2b2b2;
}

.release-copy h2 {
  margin: 6px 0 5px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.release-meta {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.release-meta code,
.step-content code {
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--code-bg);
  color: var(--accent-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.meta-divider {
  margin-inline: 5px;
  color: #b2b2b2;
}

.button-dark {
  min-width: 153px;
  padding-inline: 17px;
  background: var(--dark);
  color: #fff;
}

.button-dark:hover {
  background: #404040;
}

.button-dark span {
  font-size: 16px;
}

.install-section {
  padding-block: 107px 88px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 43px;
}

.section-heading h2,
.faq-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 710;
  letter-spacing: -0.07em;
  line-height: 1.2;
}

.section-intro {
  max-width: 340px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-item {
  position: relative;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.step-item:not(:last-child)::after {
  position: absolute;
  top: -5px;
  right: -20px;
  width: 9px;
  height: 9px;
  border-top: 1px solid #b2b2b2;
  border-right: 1px solid #b2b2b2;
  content: "";
  transform: rotate(45deg);
}

.step-number {
  margin-bottom: 17px;
  color: #986c31;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.step-content h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.step-content p {
  min-height: 54px;
  margin: 10px 0 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.step-detail {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(255 255 255 / 48%);
  color: var(--muted-deep);
  font-size: 10px;
}

.mini-file-icon {
  display: inline-grid;
  width: 28px;
  height: 26px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 3px;
  background: #fcf3ba;
  color: #544300;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
}

.step-detail-end {
  margin-left: auto;
  color: #666666;
  font-size: 9px;
}

.step-menu-detail {
  overflow: hidden;
  gap: 7px;
  white-space: nowrap;
}

.step-menu-detail b {
  padding-inline: 3px;
  color: #666666;
  font-weight: 500;
}

.menu-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid #b2b2b2;
  border-radius: 50%;
}

.step-ready-detail {
  color: var(--success-dark);
}

.update-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 800px;
  margin: 27px 0 0;
  color: #666666;
  font-size: 11px;
  line-height: 1.8;
}

.note-icon {
  display: inline-grid;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  place-items: center;
  border: 1px solid #e0dfdf;
  border-radius: 50%;
  color: #986c31;
  font-size: 13px;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 90px;
  padding-block: 65px 85px;
  border-top: 1px solid var(--line);
}

.faq-heading h2 {
  margin-top: 13px;
  font-size: 30px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 620;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.faq-item summary span::before,
.faq-item summary span::after {
  position: absolute;
  top: 7px;
  left: 3px;
  width: 10px;
  height: 1px;
  background: #666666;
  content: "";
  transition: transform 150ms ease;
}

.faq-item summary span::after {
  transform: rotate(90deg);
}

.faq-item[open] summary span::after {
  transform: rotate(0);
}

.faq-item p {
  max-width: 630px;
  margin: -2px 30px 17px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.site-footer {
  display: flex;
  min-height: 83px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-size: 10px;
  font-weight: 600;
}

.footer-brand {
  color: var(--ink);
  font-size: 12px !important;
  font-weight: 720 !important;
  letter-spacing: -0.035em;
}

@media (max-width: 960px) {
  .page-container {
    width: min(100% - 48px, 720px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
    padding-block: 72px 75px;
  }

  .hero-copy {
    max-width: 670px;
  }

  .package-visual {
    width: min(100%, 600px);
    justify-self: end;
  }

  .release-strip {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    padding-inline: 23px;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 31px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 16px;
  }

  .page-container {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 74px;
  }

  .brand {
    gap: 9px;
    font-size: 15px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .main-nav {
    gap: 17px;
    font-size: 11px;
  }

  .hero {
    gap: 41px;
    padding-block: 56px 52px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(38px, 10vw, 54px);
    letter-spacing: -0.08em;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 25px;
  }

  .button-primary {
    width: 100%;
    min-width: 0;
  }

  .hero-footnote {
    flex-wrap: wrap;
    font-size: 10px;
  }

  .package-visual {
    transform: none;
  }

  .package-topbar {
    padding-inline: 13px;
    font-size: 8px;
  }

  .package-body {
    padding: 21px 15px 17px;
  }

  .package-heading {
    gap: 10px;
  }

  .package-icon,
  .package-icon img {
    width: 40px;
    height: 40px;
  }

  .package-name {
    font-size: 13px;
  }

  .package-subtitle {
    font-size: 10px;
  }

  .ready-pill {
    gap: 5px;
    padding: 5px 7px;
    font-size: 9px;
  }

  .file-row {
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 7px;
    font-size: 9px;
  }

  .file-kind {
    display: none;
  }

  .file-row-child {
    padding-left: 12px;
  }

  .package-status {
    padding: 10px;
    font-size: 9px;
  }

  .package-bottomline {
    padding-inline: 15px;
    font-size: 7px;
  }

  .package-bottomline code {
    font-size: 8px;
  }

  .release-strip {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 17px;
  }

  .release-mark {
    width: 40px;
    height: 40px;
  }

  .release-copy h2 {
    font-size: 17px;
  }

  .release-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 9px;
  }

  .release-meta code {
    font-size: 9px;
  }

  .release-strip .button {
    min-height: 47px;
    grid-column: 1 / -1;
  }

  .install-section {
    padding-block: 72px 60px;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 33px;
  }

  .section-intro {
    margin-top: 11px;
    font-size: 12px;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .step-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    padding-top: 16px;
  }

  .step-item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -17px;
    left: 14px;
    transform: rotate(135deg);
  }

  .step-number {
    margin: 2px 0 0;
    font-size: 11px;
  }

  .step-content h3 {
    font-size: 15px;
  }

  .step-content p {
    min-height: 0;
    margin: 8px 0 12px;
    font-size: 11px;
  }

  .step-detail {
    min-height: 44px;
  }

  .step-menu-detail {
    font-size: 9px;
  }

  .update-note {
    margin-top: 24px;
    font-size: 10px;
  }

  .faq-section {
    gap: 26px;
    padding-block: 54px 62px;
  }

  .faq-heading h2 {
    font-size: 27px;
  }

  .faq-item summary {
    min-height: 54px;
    font-size: 12px;
  }

  .faq-item p {
    font-size: 10px;
  }

  .site-footer {
    min-height: 80px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 9px 16px;
    padding-block: 17px;
  }

  .site-footer p {
    order: 1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
