.fact-row,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-pill,
.badge {
  display: inline-flex;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  color: var(--color-text);
  font-size: 0.81rem;
  font-weight: 650;
  line-height: 1.25;
}

.fact-pill svg,
.badge svg {
  width: 15px;
  height: 15px;
}

.badge--accent {
  border-color: var(--color-accent-soft);
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
}

.badge--muted {
  background: var(--color-panel-muted);
  color: var(--color-text-muted);
}

.app-store-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 20px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: var(--color-panel);
  box-shadow: var(--shadow-button);
  font-weight: 700;
  line-height: 1.12;
  text-decoration: none;
}

.app-store-button:hover {
  border-color: var(--color-accent-strong);
  background: var(--color-accent-strong);
  color: var(--color-panel);
  transform: translateY(-1px);
}

.app-store-button svg {
  width: 22px;
  height: 22px;
}

.app-store-button__copy {
  display: grid;
  gap: 2px;
}

.app-store-button__overline {
  font-size: 0.68rem;
  font-weight: 600;
}

.app-store-button__label {
  font-size: 0.94rem;
  font-weight: 750;
}

.tab-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.tab-rail {
  position: relative;
  display: grid;
  gap: 4px;
  padding-left: 18px;
}

.tab-rail::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 4px;
  width: 1px;
  background: var(--color-line);
}

.tab-button {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  min-height: 60px;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  text-align: left;
}

.tab-button::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -18px;
  width: 3px;
  border-radius: var(--radius-pill);
  background: transparent;
}

.tab-button[aria-selected="true"] {
  background: var(--color-panel);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.tab-button[aria-selected="true"]::before {
  background: var(--color-accent);
}

.tab-button__number {
  display: grid;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.tab-button__label {
  min-width: 0;
  font-weight: 700;
}

.tab-button__term {
  display: inline-flex;
  max-width: 100%;
  margin-top: 3px;
  padding: 2px 7px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-panel-muted);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.67rem;
}

.tab-panel {
  min-height: 410px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  color: var(--color-text);
  box-shadow: var(--shadow-float);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel__intro {
  max-width: 760px;
  color: var(--color-text-muted);
}

.ios-list {
  margin-top: 28px;
  padding: 0 18px;
  border-radius: var(--radius-lg);
  background: var(--color-panel-muted);
  color: var(--color-text);
}

.ios-list__row {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--color-line);
}

.ios-list__row:last-child {
  border-bottom: 0;
}

.ios-list__value {
  min-width: 0;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.ios-list__chevron {
  width: 15px;
  height: 15px;
  color: var(--color-frame-soft);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.toc a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.toc a:hover,
.toc a[aria-current="true"] {
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  position: relative;
  min-height: 62px;
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  font-weight: 720;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--color-panel-muted);
  color: var(--color-text);
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
}

.faq-item__answer {
  padding: 0 20px 20px;
  color: var(--color-text-muted);
}

.term-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.term-card::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 3px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.term-card__term {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-weight: 750;
}

.term-card__category {
  margin-top: 5px;
  color: var(--color-accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.term-card p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.screenshot-figure {
  width: min(100%, 280px);
  flex-shrink: 0;
  margin: 0 auto;
}

.screenshot-figure img,
.screenshot-placeholder {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-panel-muted);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-tight);
  object-fit: contain;
}

.screenshot-placeholder {
  aspect-ratio: 9 / 19.5;
  padding: 20px;
}

.screenshot-placeholder::before {
  content: "官方截图区域";
  display: grid;
  height: 100%;
  place-items: center;
  border: 1px dashed var(--color-frame-soft);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  font-weight: 700;
}

.screenshot-figure figcaption {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  text-align: center;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.device-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.device-card:hover {
  color: var(--color-text);
  box-shadow: var(--shadow-tight);
  transform: translateY(-2px);
}

.device-card__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
}

.device-card__icon svg {
  width: 34px;
  height: 34px;
}

.device-card__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 760;
}

.device-card__description {
  margin-top: 5px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.article-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.article-card:hover {
  color: var(--color-text);
  box-shadow: var(--shadow-tight);
  transform: translateY(-2px);
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.article-card h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}

.article-card p {
  margin: 0;
  color: var(--color-text-muted);
}

.article-card__more {
  margin-top: auto;
  padding-top: 22px;
  color: var(--color-accent-strong);
  font-weight: 700;
}

.callout {
  position: relative;
  margin: 28px 0;
  padding: 20px 22px 20px 48px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-accent-soft);
  color: var(--color-text);
}

.callout::before {
  content: "i";
  position: absolute;
  top: 20px;
  left: 18px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--color-accent-strong);
  color: var(--color-panel);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.callout--warning {
  background: var(--color-panel-muted);
  color: var(--color-text);
}

.callout--warning::before {
  content: "!";
  background: var(--color-warning);
  color: var(--color-panel);
}

.dl-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-panel);
  box-shadow: var(--shadow-tight);
  font-weight: 750;
  text-decoration: none;
}

.dl-fab:hover {
  background: var(--color-accent-strong);
  color: var(--color-panel);
  transform: translateY(-2px);
}

.dl-fab svg {
  width: 19px;
  height: 19px;
}

.end-store-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 48px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-mint), var(--color-sky));
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.end-store-card__copy {
  max-width: 620px;
}

.end-store-card__copy p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.prose > .data-table {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hero-preview {
  position: relative;
  min-height: 780px;
  overflow-x: clip;
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 60% at 78% 46%, var(--color-mint) 0%, var(--color-mint-clear) 70%),
    radial-gradient(38% 50% at 92% 30%, var(--color-sky) 0%, var(--color-sky-clear) 70%);
  pointer-events: none;
}

.hero-preview__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 780px;
  grid-template-columns: 48fr 52fr;
  gap: 56px;
  align-items: center;
}

.hero-preview__copy {
  max-width: 560px;
  padding-bottom: 12px;
}

.hero-preview__copy h1 {
  margin-top: 22px;
}

.hero-preview__copy .lead {
  margin-top: 20px;
  font-size: 16.5px;
}

.hero-preview__actions {
  margin-top: 28px;
}

.hero-preview__facts {
  margin-top: 18px;
}

.hero-preview__devices {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
}

.hero-stage-wrap {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
}

.hero-stage {
  position: relative;
  width: 660px;
  height: 500px;
  transform: rotate(-2deg);
  transform-origin: 50% 55%;
}

.hero-tablet {
  position: absolute;
  top: 44px;
  right: 0;
  width: 600px;
  height: 432px;
  padding: 16px;
  border: 1.5px solid var(--color-frame);
  border-radius: var(--radius-hero);
  background: var(--color-panel);
  box-shadow: var(--shadow-frame), inset 0 0 0 5px var(--color-panel), inset 0 0 0 6px var(--color-frame-soft);
}

.hero-tablet__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-mint), var(--color-sky));
}

.hero-tablet__screen::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -14%;
  width: 60%;
  height: 70%;
  border-radius: var(--radius-pill);
  background: radial-gradient(closest-side, var(--color-highlight) 0%, var(--color-highlight-mid) 45%, var(--color-highlight-clear) 100%);
}

.hero-tablet__camera {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-frame-soft);
  transform: translateY(-50%);
}

.rules-card {
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 352px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  color: var(--color-text);
  box-shadow: var(--shadow-float);
}

.rules-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--color-line);
}

.rules-card__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.rules-card__tag {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
}

.rules-card__list {
  margin: 0;
  padding: 4px 14px 6px 18px;
  list-style: none;
}

.rules-card__list li {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--color-panel-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.rules-card__list li:last-child {
  border-bottom: 0;
}

.rule-direct {
  color: var(--color-text-muted);
  font-weight: 750;
}

.rule-proxy {
  color: var(--color-accent);
  font-weight: 750;
}

.rule-chevron {
  color: var(--color-frame-soft);
  font-size: 1rem;
}

.rules-card__foot {
  padding: 11px 18px 13px;
  border-top: 1px solid var(--color-line);
  background: var(--color-panel-muted);
  color: var(--color-text-muted);
  font-size: 0.72rem;
}

.verify-card {
  position: absolute;
  top: 0;
  right: 26px;
  display: grid;
  width: 312px;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  color: var(--color-text);
  box-shadow: var(--shadow-tight);
}

.verify-card__logo-placeholder {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-strong));
  color: var(--color-panel);
  font-size: 0.72rem;
  font-weight: 800;
}

.verify-card__name {
  font-weight: 750;
}

.verify-card__developer,
.verify-card__id {
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.verify-card__id {
  font-family: var(--font-mono);
}

.verify-card__check {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-weight: 800;
}

.preview-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-strong));
  box-shadow: var(--shadow-soft);
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.token-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  color: var(--color-text);
}

.token-swatch {
  height: 76px;
  border-bottom: 1px solid var(--color-line);
}

.token-swatch--page { background: var(--color-page); }
.token-swatch--panel { background: var(--color-panel); }
.token-swatch--muted { background: var(--color-panel-muted); }
.token-swatch--line { background: var(--color-line); }
.token-swatch--accent { background: var(--color-accent); }
.token-swatch--accent-strong { background: var(--color-accent-strong); }
.token-swatch--text { background: var(--color-text); }
.token-swatch--mint { background: linear-gradient(135deg, var(--color-mint), var(--color-sky)); }

.token-card code {
  display: block;
  padding: 12px;
  border-radius: 0;
  background: var(--color-panel);
  color: var(--color-text);
  font-size: 0.72rem;
}

.preview-block + .preview-block {
  margin-top: 42px;
}

@media (max-width: 1100px) {
  .hero-preview {
    min-height: auto;
  }

  .hero-preview__grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 56px;
    padding-bottom: 70px;
  }

  .hero-stage-wrap {
    min-height: 500px;
    justify-content: center;
  }

  .hero-stage {
    transform: rotate(-2deg) scale(0.9);
  }

  .token-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tab-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tab-rail {
    display: flex;
    padding: 0 0 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .tab-rail::before {
    display: none;
  }

  .tab-button {
    min-width: max-content;
    min-height: 46px;
    grid-template-columns: 22px auto;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background: var(--color-panel);
  }

  .tab-button::before,
  .tab-button__term {
    display: none;
  }

  .tab-panel {
    min-height: 0;
  }

  .end-store-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .device-grid,
  .token-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .device-card {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 20px;
  }

  .device-card__icon {
    width: 54px;
    height: 54px;
  }

  .screenshot-figure {
    width: min(100%, 270px);
  }

  .hero-stage-wrap {
    min-height: 430px;
  }

  .hero-stage {
    width: 100%;
    height: 420px;
    transform: none;
  }

  .hero-tablet {
    top: 60px;
    width: 100%;
    height: 340px;
  }

  .rules-card {
    width: min(330px, 92%);
  }

  .verify-card {
    right: 0;
    width: min(300px, 94%);
  }

  .dl-fab {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding-inline: 15px;
    font-size: 0.86rem;
  }
}