:root {
  color-scheme: dark;
  --background: #0a0910;
  --panel: #12111b;
  --line: #2c293c;
  --text: #f4f0ff;
  --muted: #b8b2c8;
  --purple: #bfb5ff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--purple); text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid #ae9aff; outline-offset: 5px; border-radius: 3px; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px; }
.header { border-bottom: 1px solid var(--line); }
.header nav, .footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.header nav a, .footer a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.header nav a:hover, .footer a:hover, .footer a[aria-current="page"] { color: var(--text); text-decoration: underline; }
.brand { display: inline-flex; gap: 9px; align-items: center; font-size: 1.12rem; font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-block: clamp(52px, 10vw, 110px); }
.eyebrow { font-size: .76rem; letter-spacing: .18em; font-weight: 700; color: var(--purple); }
.hero h1 { font-size: clamp(3.6rem, 10vw, 7rem); letter-spacing: -.075em; line-height: 1; margin-block: 10px 17px; }
.lead { font-size: clamp(1.5rem, 4vw, 2.5rem); line-height: 1.28; font-weight: 650; }
.intro { max-width: 36ch; margin-block: 18px 26px; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 22px; border-radius: 8px; color: #150a38; background: #c1b5ff; font-weight: 650; text-decoration: none; }
.button:hover { background: #dbd2ff; }
.hero-art { display: grid; place-items: center; padding: 4%; border: 1px solid #33264f; border-radius: 28px; background: radial-gradient(ellipse at 52% 40%, #211346, #100d1d 74%); }
.hero-art img { width: min(100%, 420px); }
.capabilities { border-top: 1px solid var(--line); padding-block: 42px; }
.capabilities h2, .workspace h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-grid article { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 23px; background: var(--panel); }
.feature-grid h3 { margin-bottom: 7px; font-size: 1.05rem; }
.feature-grid p, .workspace p { color: var(--muted); }
.workspace { border-top: 1px solid var(--line); padding-block: 38px 52px; }
.workspace p { margin-bottom: 10px; max-width: 64ch; }
.footer { color: var(--muted); border-top: 1px solid var(--line); }

.legal { max-width: 760px; padding-block: 48px 60px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.24; }
.legal h2 { margin-block: 30px 11px; font-size: 1.32rem; scroll-margin-top: 20px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p, .legal li + li { margin-top: 10px; }
.legal ul { padding-inline-start: 1.45em; }
.legal strong { color: var(--text); }
.updated { margin-block: 10px 24px; font-size: .92rem; }

@media (max-width: 700px) {
  .shell { width: min(1080px, calc(100% - 32px)); }
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { width: min(100%, 420px); }
  .feature-grid { grid-template-columns: 1fr; }
  .wide { display: none; }
  .legal { padding-block: 34px 42px; }
}
@media (max-width: 400px) {
  .header, .footer { gap: 8px 16px; flex-wrap: wrap; }
  .header nav, .footer nav { gap: 8px 14px; }
}
