:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #f0f4fa;
  --surface-strong: #e7edf6;
  --text: #111827;
  --muted: #5f6c7d;
  --subtle: #8a96a8;
  --border: #d8e1ed;
  --blue: #1769e0;
  --blue-dark: #0f55b8;
  --blue-soft: #e7f0ff;
  --green: #14865f;
  --shadow: 0 24px 70px rgba(31, 45, 61, 0.09);
  --radius: 24px;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(23, 105, 224, 0.11), transparent 30%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 44%, #eef3f9 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 251, 0.82);
  border-bottom: 1px solid rgba(216, 225, 237, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-nav a {
  color: var(--muted);
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 999px;
}

.top-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
}

main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 388px;
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
  min-height: min(790px, calc(100vh - 72px));
  padding: 104px 0 70px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(58px, 9vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
}

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

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 680;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(23, 105, 224, 0.24);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary,
.copy-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--border);
}

.button.wide {
  width: 100%;
  border-radius: 14px;
}

svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: none;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 38px 0 0;
}

.hero-facts div,
.release-panel,
.surface-card,
.info-card,
.step,
.feature-grid article,
.notes-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-facts div {
  padding: 16px;
  border-radius: 18px;
}

dt {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

dd {
  margin: 6px 0 0;
}

.release-panel {
  padding: 26px;
  border-radius: var(--radius);
}

.release-head,
.info-title,
.surface-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 14px;
}

.icon-box.small {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.label {
  margin: 0 0 4px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-panel h2 {
  margin: 0;
  font-size: 28px;
}

.release-meta {
  display: grid;
  gap: 14px;
  margin: 26px 0;
  padding: 0;
}

.release-meta div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border);
}

.release-meta dd {
  color: var(--text);
  text-align: right;
}

.release-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.release-links a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--blue);
}

.product-strip {
  display: grid;
  grid-template-columns: 1.08fr 1fr 0.82fr;
  gap: 16px;
  margin-top: -18px;
  padding-bottom: 54px;
}

.surface-card {
  min-height: 176px;
  padding: 22px;
  border-radius: 22px;
}

.surface-title {
  justify-content: space-between;
  color: var(--muted);
}

.surface-title strong {
  margin-right: auto;
  color: var(--text);
}

.surface-title span:last-child {
  color: var(--green);
  font-size: 12px;
  font-weight: 740;
}

.timeline {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.timeline div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline p,
.surface-card p {
  margin: 0;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 999px;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

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

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

.feature-grid article,
.info-card {
  padding: 24px;
  border-radius: 22px;
}

.feature-grid article {
  min-height: 246px;
  box-shadow: none;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--blue);
}

.info-card h3,
.feature-grid h3,
.step h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.info-card p,
.feature-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.mono,
code {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.hash {
  min-height: 78px;
  padding: 14px;
  overflow-wrap: anywhere;
  color: #263142;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
}

.small-text {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  box-shadow: none;
}

.step-number {
  color: var(--subtle);
  font-weight: 760;
}

pre {
  margin: 10px 0 0;
  padding: 16px;
  overflow-x: auto;
  color: #172033;
  background: #f4f7fb;
  border: 1px solid var(--border);
  border-radius: 14px;
}

code {
  font-size: 13px;
}

.notes-card {
  padding: 20px;
  border-radius: 22px;
}

.notes-card pre {
  max-height: 360px;
  margin: 0;
  white-space: pre-wrap;
}

.site-footer {
  display: grid;
  gap: 10px;
  padding: 42px 0 54px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  min-width: 210px;
  padding: 12px 16px;
  color: #fff;
  background: #111827;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.22);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 1020px) {
  .hero,
  .product-strip {
    grid-template-columns: 1fr;
  }

  .release-panel {
    max-width: 560px;
  }

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

@media (max-width: 700px) {
  .top-nav {
    display: none;
  }

  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 52px 0 48px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-actions,
  .hero-facts,
  .feature-grid,
  .integrity-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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