:root {
  color-scheme: light;
  font-family: system-ui, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #182741;
  background: #f6f8fc;
  --ink: #14243f;
  --muted: #4e5f77;
  --line: #dce4f0;
  --action: #254edb;
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p, figure { margin: 0; }

.shell {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: #2442a5;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6vw, 5.25rem);
}

h1 {
  color: var(--ink);
  font-size: clamp(2.625rem, 5.5vw, 4.625rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.intro > p:first-of-type {
  max-width: 25em;
  margin-block: 1.25rem 1.75rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
}

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0.7rem 1.1rem;
  border-radius: 11px;
  background: var(--action);
  box-shadow: 0 5px 12px #254edb24;
  color: white;
  font-weight: 650;
  text-decoration: none;
}

.download:hover { background: #1e40ba; }
.download-arrow { font-size: 1.2rem; }

.platform-mark {
  width: 14px;
  height: 14px;
  background:
    linear-gradient(to right, transparent 6px, var(--download-bg, #254edb) 6px 8px, transparent 8px),
    linear-gradient(to bottom, transparent 6px, var(--download-bg, #254edb) 6px 8px, transparent 8px),
    white;
}

.download:hover .platform-mark { --download-bg: #1e40ba; }

.release {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.release span { padding-inline: 0.2rem; }

.preview {
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: clamp(1rem, 3.6vw, 2.75rem);
  border: 1px solid #23406b;
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 88% 12%, #387cc09e, transparent 70%),
    repeating-linear-gradient(90deg, #9abffb16 0 1px, transparent 1px 44px),
    linear-gradient(145deg, #223d73, #14243f 75%);
}

.preview-window {
  overflow: hidden;
  border: 1px solid #ffffff66;
  border-radius: 11px;
  background: #f7f8fa;
  box-shadow: 0 20px 48px #07122670;
}

.preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.45;
  object-fit: cover;
  object-position: top;
}

.preview figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  color: #e4ecff;
  font-size: 0.8125rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: 1.6rem 2rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 650;
}

.features p, .getting-started p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.getting-started {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.getting-started a { flex-shrink: 0; }

code {
  color: var(--ink);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 2rem); }
  .masthead { min-height: 65px; }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.25rem; }
  .preview { min-height: 220px; }
  .getting-started { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; gap: 1rem; }
}
