:root {
  color-scheme: dark;
  --bg: #03020d;
  --surface: #111016;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --accent: #a78bfa;
  --accent-strong: #7c5cff;
  scrollbar-color: #55515f var(--bg);
  scrollbar-width: thin;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(124, 92, 255, 0.2), transparent 34rem),
    var(--bg);
  color: var(--text);
  font: 17px/1.75 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

.hero { padding: clamp(72px, 11vw, 144px) 0 72px; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { max-width: 920px; margin: 0 auto; overflow-wrap: anywhere; font-size: clamp(44px, 8vw, 88px); line-height: 1.06; letter-spacing: -0.055em; }
.lede { max-width: 760px; margin: 28px auto 0; overflow-wrap: anywhere; color: var(--muted); font-size: clamp(18px, 2.3vw, 24px); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 650; }
.button.primary { border-color: transparent; background: var(--text); color: #08070c; }
.button:hover { transform: translateY(-1px); }
.meta { margin-top: 16px; color: #71717a; font-size: 13px; }

.visual { margin: 0 auto 112px; padding: 12px; border: 1px solid var(--line); border-radius: 34px; background: rgba(255, 255, 255, 0.035); box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4); }
.visual img { display: block; width: 100%; height: auto; border-radius: 24px; }

.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(36px, 8vw, 110px); align-items: start; }
h2 { margin: 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.12; letter-spacing: -0.04em; }
.section-copy { color: var(--muted); }
.section-copy p:first-child { margin-top: 0; }
.section-copy strong { color: var(--text); }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.025); color: #d4d4d8; }

.related { padding: 80px 0; text-align: center; }
.related-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.related-links a { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: #d4d4d8; text-decoration: none; }
.related-links a:hover { border-color: var(--accent); color: var(--text); }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 34px 0 56px; border-top: 1px solid var(--line); color: #71717a; font-size: 13px; }
.footer a:hover { color: var(--text); }

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), 1120px); }
  .nav { flex-direction: column; align-items: flex-start; padding: 18px 0; gap: 12px; }
  .nav-links { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px 14px; }
  .hero { padding-top: 64px; }
  .hero h1 { max-width: 100%; font-size: clamp(36px, 10vw, 44px); word-break: break-word; }
  .actions { width: min(100%, 280px); flex-direction: column; margin-right: auto; margin-left: auto; }
  .visual { margin-bottom: 72px; border-radius: 22px; }
  .visual img { border-radius: 15px; }
  .section-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (forced-colors: active) {
  :root { scrollbar-color: auto; }
  .button, .visual, .feature-list li, .related-links a { border: 1px solid CanvasText; }
}
