:root {
  --bg: #07111d;
  --bg-soft: #0d1828;
  --panel: rgba(14, 24, 40, 0.82);
  --panel-strong: rgba(10, 19, 33, 0.92);
  --line: rgba(151, 175, 206, 0.18);
  --text: #eef4ff;
  --muted: #a7b6cc;
  --accent: #55d6be;
  --accent-strong: #80f1dd;
  --warm: #ffd37a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(128, 241, 221, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 211, 122, 0.12), transparent 24%),
    linear-gradient(180deg, #0a1422 0%, #07111d 52%, #040b12 100%);
  color: var(--text);
  font-family: var(--font-sans);
}

body {
  padding: 32px 20px 56px;
}

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

code,
pre {
  font-family: "IBM Plex Mono", "Cascadia Code", Consolas, monospace;
}

.page-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.status-panel,
.content-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(17, 29, 47, 0.94), rgba(8, 16, 28, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy::after,
.status-panel::after,
.content-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(85, 214, 190, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  padding: 40px;
}

.eyebrow,
.card-kicker,
.panel-label {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-description,
.section-description,
.release-notes,
.step-list,
.feature-list {
  color: var(--muted);
  line-height: 1.75;
}

.hero-description {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
}

.primary-button:hover,
.secondary-button:hover,
.copy-button:hover {
  transform: translateY(-1px);
}

.primary-button {
  background: linear-gradient(135deg, var(--accent) 0%, #87ffe9 100%);
  color: #03201b;
}

.secondary-button {
  border-color: rgba(128, 241, 221, 0.26);
  background: rgba(10, 18, 30, 0.45);
}

.block-button {
  width: 100%;
  margin-top: 8px;
}

.status-panel {
  padding: 30px 28px;
}

.status-panel h2 {
  margin: 0 0 26px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
  margin: 0;
}

.status-grid div {
  padding: 14px 16px;
  border: 1px solid rgba(151, 175, 206, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.status-grid dt {
  color: var(--muted);
  font-size: 13px;
}

.status-grid dd {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-word;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--warm);
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.content-card {
  padding: 28px 28px 26px;
}

.accent-card {
  background: linear-gradient(180deg, rgba(16, 29, 50, 0.96), rgba(7, 15, 26, 0.96));
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-header h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.feature-list,
.step-list {
  margin: 0;
  padding-left: 20px;
}

.feature-list li,
.step-list li {
  margin-bottom: 10px;
}

.release-notes {
  min-height: 240px;
}

.release-notes h1,
.release-notes h2,
.release-notes h3 {
  margin: 1.2em 0 0.55em;
  color: var(--text);
  letter-spacing: -0.02em;
}

.release-notes h1:first-child,
.release-notes h2:first-child,
.release-notes h3:first-child,
.release-notes p:first-child {
  margin-top: 0;
}

.release-notes p {
  margin: 0 0 1em;
}

.release-notes ul {
  margin: 0 0 1.1em;
  padding-left: 20px;
}

.release-notes li {
  margin-bottom: 8px;
}

.release-notes pre {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid rgba(151, 175, 206, 0.12);
  border-radius: var(--radius-md);
  background: rgba(6, 12, 20, 0.92);
}

.release-notes code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.code-block {
  overflow-x: auto;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(151, 175, 206, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(4, 10, 17, 0.94);
  color: #dffdf6;
  line-height: 1.7;
}

.copy-button {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(151, 175, 206, 0.18);
  color: var(--text);
}

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

.link-tile {
  display: block;
  padding: 18px;
  border: 1px solid rgba(151, 175, 206, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.link-tile span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.link-tile strong {
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid rgba(128, 241, 221, 0.22);
  border-radius: 14px;
  background: rgba(9, 18, 30, 0.92);
  color: var(--text);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .content-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .status-panel,
  .content-card {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 680px) {
  body {
    padding: 20px 14px 40px;
  }

  .hero-copy,
  .status-panel,
  .content-card {
    padding: 22px 18px 20px;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button,
  .copy-button {
    width: 100%;
  }
}
