:root {
  color-scheme: dark;
  --background: #041123;
  --panel: #0f1d30;
  --accent: #4fbff4;
  --earned: #7fe0fa;
  --text: #f4f8fd;
  --muted: #bccadc;
  --border: #25364c;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--background);
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 85% 8%, #10304a70, transparent 37%); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--earned); outline-offset: 6px; }
figure, h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
.page-shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 750; letter-spacing: -.7px; }
.brand-mark { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--background); font-size: 25px; line-height: 1; }
.brand-mark > span { position: absolute; width: 8px; height: 8px; bottom: 5px; right: 4px; border-radius: 50%; background: var(--background); border: 2px solid var(--accent); }
.version { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 12px/1.5 Consolas, monospace; }
.version > span, .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--earned); box-shadow: 0 0 12px #7fe0fa66; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; padding-block: 76px 68px; }
.eyebrow { color: var(--accent); font: 11px/1.5 Consolas, monospace; letter-spacing: 2px; }
h1 { margin-top: 22px; font-size: clamp(38px, 4.4vw, 56px); font-weight: 750; line-height: 1.25; letter-spacing: -2px; }
.accent { color: var(--earned); }
.subtitle { margin-top: 24px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 650; line-height: 1.5; transition: background-color .15s, border-color .15s; }
.button-primary { color: #042233; background: var(--accent); }
.button-primary:hover { background: #66cdfa; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.button-secondary { background: #0f1d3099; border-color: #34475f; }
.button-secondary:hover { background: #20334d; border-color: #4fbff4; }
.button-secondary > span { margin-left: 5px; color: var(--accent); }
.fallback { display: inline-block; margin-top: 15px; padding-block: 3px; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.fallback:hover, footer a:hover { color: var(--earned); }
.hero-preview { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding: 28px 30px; border: 1px solid #2c4a61; border-radius: 16px; background: radial-gradient(ellipse at 50% 45%, #1b526d60, #0c1b2c55 72%); }
.preview-grid { z-index: -1; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(#4fbff40a 1px, transparent 1px), linear-gradient(90deg, #4fbff40a 1px, transparent 1px); background-size: 28px 28px; }
.preview-topline { align-self: stretch; display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; color: #9bb7cb; font: 10px/1.5 Consolas, monospace; letter-spacing: 1.5px; }
.app-image { width: 360px; border-radius: 8px; box-shadow: 0 22px 48px #0005; }
.hero-preview figcaption { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 12px; color: var(--muted); }
.caption-line { width: 24px; height: 1px; background: var(--accent); }
.example { padding: 25px 20px; border-block: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 15px; line-height: 1.9; }
.example strong { color: var(--earned); font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-block: 48px; }
.feature-card { grid-column: span 2; padding: 25px; border: 1px solid var(--border); border-radius: 12px; background: #0f1d3066; }
.feature-card:nth-child(-n+2) { grid-column: span 3; }
.feature-number { color: var(--accent); font: 11px/1.5 Consolas, monospace; letter-spacing: 1px; }
.feature-card h2 { margin-top: 18px; font-size: 19px; font-weight: 650; }
.feature-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.screenshots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 64px; }
.screenshot-card { min-width: 0; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.screenshot-card figcaption { display: flex; align-items: center; gap: 16px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.screenshot-card h2 { font-size: 18px; font-weight: 650; }
.screenshot-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding-top: 32px; }
.settings-preview .app-image { width: 290px; }
.lunch-preview { background: radial-gradient(ellipse at 50% 55%, #16415a70, transparent 65%), var(--panel); }
footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px 36px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; line-height: 1.8; }
footer > span { color: var(--accent); }

@media (max-width: 1000px) {
  .page-shell { width: calc(100% - 48px); }
  .hero { gap: 28px; }
  .hero-preview { padding-inline: 20px; }
  .feature-card { padding: 22px; }
}

@media (max-width: 760px) {
  .page-shell { width: min(540px, calc(100% - 40px)); }
  .site-header { min-height: 80px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 44px 36px; }
  h1 { font-size: clamp(36px, 8vw, 48px); letter-spacing: -1.5px; }
  .desktop-break { display: none; }
  .subtitle { margin-top: 20px; font-size: 15px; }
  .hero-preview { padding: 24px; }
  .example { padding-inline: 8px; font-size: 14px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 32px; gap: 12px; }
  .feature-card, .feature-card:nth-child(-n+2) { grid-column: span 1; }
  .feature-card:nth-child(3) { grid-column: 1 / -1; }
  .feature-card { padding: 20px; }
  .feature-card h2 { font-size: 17px; }
  .feature-card p { font-size: 13px; }
  .screenshots { grid-template-columns: 1fr; gap: 20px; padding-bottom: 36px; }
  .screenshot-card { padding: 24px; }
  .screenshot-stage { padding-block: 30px 6px; }
}

@media (max-width: 380px) {
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .feature-card { padding: 16px; }
  .hero-preview, .screenshot-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
