:root {
  color-scheme: dark;
  --ink: #090616;
  --ink-soft: #130d2b;
  --panel: rgba(29, 20, 60, .72);
  --purple: #7c4dff;
  --purple-bright: #a77bff;
  --coral: #ff5c73;
  --peach: #ffad88;
  --text: #f7f4ff;
  --muted: #b9b0cf;
  --line: rgba(255, 255, 255, .13);
  --shell: min(1180px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; color: var(--text); background: linear-gradient(180deg, #090616 0%, #0d0820 55%, #080512 100%); font-size: 1rem; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: white; color: #140c29; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .22; pointer-events: none; }
.ambient-one { width: 520px; height: 520px; background: #5d25ee; top: 6%; right: -280px; }
.ambient-two { width: 420px; height: 420px; background: #e63a76; top: 45%; left: -300px; opacity: .12; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; background: rgba(9, 6, 22, .72); backdrop-filter: blur(18px); transition: border-color .2s ease, background .2s ease; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(9, 6, 22, .92); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.brand-mark { width: 31px; height: 31px; position: relative; display: inline-block; }
.brand-mark i { position: absolute; width: 20px; height: 23px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 4px; transform: skewY(-8deg); }
.brand-mark i:nth-child(1) { left: 0; top: 7px; background: var(--coral); }
.brand-mark i:nth-child(2) { left: 5px; top: 3px; background: #6028d7; }
.brand-mark i:nth-child(3) { left: 10px; top: 0; background: #9f78ff; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s ease; }
.nav-links a:hover { color: white; }
.nav-links .nav-download { color: white; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }

.hero { min-height: 760px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 44px; padding-block: 72px 100px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--purple-bright); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 2px; background: linear-gradient(90deg, var(--coral), var(--peach)); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(4rem, 8vw, 7.2rem); line-height: .9; letter-spacing: -.07em; }
.hero-lead { max-width: 610px; margin-bottom: 20px; font-size: clamp(1.45rem, 2.3vw, 2.05rem); line-height: 1.38; font-weight: 650; letter-spacing: -.03em; }
.hero-boundary { max-width: 580px; color: var(--muted); font-size: 1.03rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 40px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 21px; border-radius: 12px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--coral), #ff795c); color: white; box-shadow: 0 14px 40px rgba(255, 92, 115, .22); }
.button-quiet { color: var(--muted); border: 1px solid var(--line); }
.release-strip { margin: 0; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 28px; border-top: 1px solid var(--line); }
.release-strip div { display: grid; gap: 2px; }
.release-strip dt { color: #867d9b; font-size: .72rem; letter-spacing: .1em; }
.release-strip dd { margin: 0; font-size: .82rem; font-weight: 650; }
.hero-visual { position: relative; margin: 0; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 12% 2% 5% 13%; z-index: -1; border-radius: 50%; background: #5c2aff; filter: blur(70px); opacity: .42; }
.hero-visual img { width: 100%; height: auto; display: block; border: 1px solid rgba(255,255,255,.13); border-radius: 32px 8px 32px 8px; box-shadow: 0 42px 90px rgba(0,0,0,.42); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.hero-visual figcaption { position: absolute; right: 18px; bottom: 18px; padding: 7px 11px; color: rgba(255,255,255,.72); background: rgba(8,5,20,.66); border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; backdrop-filter: blur(12px); }
.visual-label { position: absolute; z-index: 2; padding: 7px 12px; color: white; background: rgba(18,10,44,.74); border: 1px solid rgba(255,255,255,.22); border-radius: 8px; font-size: .72rem; font-weight: 750; box-shadow: 0 10px 30px rgba(0,0,0,.22); backdrop-filter: blur(8px); }
.visual-label::after { content: ""; position: absolute; width: 30px; height: 1px; background: rgba(255,255,255,.5); }
.label-back { top: 13%; right: -3%; }
.label-back::after { right: 100%; top: 50%; }
.label-copy { top: 42%; left: -2%; }
.label-copy::after { left: 100%; top: 50%; }
.label-card { bottom: 18%; left: 7%; }
.label-card::after { left: 100%; top: 50%; }

.section-pad { padding-block: 112px; }
.section-kicker { color: #a38ebd; }
h2 { margin-bottom: 24px; font-size: clamp(2.3rem, 4.6vw, 4.5rem); line-height: 1.08; letter-spacing: -.055em; }
h3 { margin-bottom: 10px; font-size: 1.2rem; line-height: 1.3; }
.statement { border-top: 1px solid var(--line); }
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.statement-grid p { color: var(--muted); }
.statement-grid .large-copy { color: var(--text); font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.52; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 8%; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 430px; margin-bottom: 10px; color: var(--muted); }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { min-height: 270px; padding: 30px; position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.feature p { max-width: 460px; color: var(--muted); }
.feature > code { position: absolute; bottom: 28px; padding: 5px 10px; background: rgba(255,255,255,.08); border-radius: 7px; color: #d8ccff; }
.feature-no { display: block; margin-bottom: 48px; color: #9b8daf; font-size: .75rem; font-weight: 800; letter-spacing: .13em; }
.feature-accent { background: linear-gradient(145deg, rgba(124,77,255,.34), rgba(29,20,60,.7)); }
.feature-dark { background: linear-gradient(145deg, #1a132c, #0c0918); }
.offline-dot { position: absolute; bottom: 28px; padding-left: 18px; color: #94edc0; font-size: .83rem; }
.offline-dot::before { content: ""; position: absolute; width: 8px; height: 8px; left: 0; top: 8px; border-radius: 50%; background: #56e6a1; box-shadow: 0 0 14px #56e6a1; }
.truth-card { display: flex; gap: 20px; margin-top: 16px; padding: 26px 30px; background: rgba(255,92,115,.08); border: 1px solid rgba(255,92,115,.28); border-radius: 18px; }
.truth-card p { margin: 4px 0 0; color: #d0c5db; }
.truth-mark { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--coral); border-radius: 50%; font-weight: 900; }

.install { background: #f2edff; color: #171027; }
.install .section-kicker { color: #7059a0; }
.install-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; }
.install-layout > * { min-width: 0; }
.install-layout h2, .steps h3 { overflow-wrap: anywhere; }
.install-layout > div > p { max-width: 400px; color: #655b76; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(23,16,39,.14); }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(23,16,39,.14); }
.steps li > span { width: 45px; height: 45px; display: grid; place-items: center; color: white; background: #1c1236; border-radius: 50%; font-weight: 800; }
.steps h3 { margin-bottom: 3px; font-size: 1.35rem; }
.steps p { margin-bottom: 0; color: #655b76; }

.architecture-flow { display: grid; grid-template-columns: repeat(7, auto); align-items: stretch; gap: 12px; }
.architecture-flow > div { min-width: 0; padding: 22px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.architecture-flow b { align-self: center; color: #72658c; font-weight: 400; }
.architecture-flow small, .architecture-flow strong, .architecture-flow span { display: block; }
.architecture-flow small { margin-bottom: 35px; color: #8e82a5; font-size: .7rem; letter-spacing: .1em; }
.architecture-flow strong { margin-bottom: 7px; font-size: 1rem; }
.architecture-flow span { color: var(--muted); font-size: .8rem; }
.architecture-flow .future-node { background: linear-gradient(145deg, #7c4dff, #5231bb); }
.future-node small, .future-node span { color: #e5dcff; }

.compatibility { background: linear-gradient(135deg, #17102f, #0d091b); border-block: 1px solid var(--line); }
.compatibility-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; }
.compat-cards { display: grid; gap: 12px; }
.compat-cards article { padding: 24px; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 17px; }
.compat-cards h3 { margin-top: 20px; }
.compat-cards p { margin-bottom: 0; color: var(--muted); }
.status { padding: 5px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; }
.status-ok { color: #6ef0b0; background: rgba(86,230,161,.12); }
.status-wait { color: #ffc2a6; background: rgba(255,173,136,.11); }
.status-local { color: #c9b7ff; background: rgba(124,77,255,.18); }

.download-card { display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; background: linear-gradient(135deg, #7c4dff, #5129ba); border: 1px solid rgba(255,255,255,.2); border-radius: 28px; box-shadow: 0 30px 80px rgba(40,15,100,.35); }
.download-main { padding: 54px; }
.download-main .section-kicker { color: #ded4ff; }
.download-main h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.download-main > p { color: #e1d8ff; }
.button-light { margin-top: 20px; color: #28144c; background: white; }
.checksum { margin: 18px; padding: 34px; background: #100a23; border-radius: 20px; }
.checksum-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; color: #b8accf; font-size: .8rem; }
.checksum button { padding: 7px 12px; color: white; background: rgba(255,255,255,.09); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.checksum > code { display: block; padding: 18px; overflow-wrap: anywhere; color: #ffb198; background: rgba(255,255,255,.05); border-radius: 12px; line-height: 1.7; }
.copy-status { min-height: 26px; margin: 13px 0 28px; color: #968aa9; font-size: .78rem; }
.checksum dl { margin: 0; display: grid; gap: 12px; }
.checksum dl div { display: grid; grid-template-columns: 105px 1fr; gap: 12px; }
.checksum dt { color: #776b8f; font-size: .75rem; }
.checksum dd { margin: 0; min-width: 0; color: #c9bddb; font-size: .75rem; overflow-wrap: anywhere; }

.roadmap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; }
.roadmap ol { margin: 0; padding: 0; list-style: none; }
.roadmap li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 21px 0; border-top: 1px solid var(--line); color: #8f849f; }
.roadmap li:last-child { border-bottom: 1px solid var(--line); }
.roadmap li > span { font-size: .75rem; font-weight: 800; }
.roadmap strong { color: #ded7e9; font-size: 1.15rem; }
.roadmap p { margin: 4px 0 0; font-size: .86rem; }
.roadmap .done { color: var(--coral); }
.roadmap .done strong { color: white; }

footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 130px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-inner p { margin: 0; color: #9f95b3; font-size: .8rem; }
.footer-inner p a { color: inherit; text-underline-offset: .18em; }
.footer-inner > a { color: var(--muted); font-size: .82rem; text-decoration: none; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 700px); }
  .nav { min-height: 68px; }
  .nav-links a:not(.nav-download) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 70px 80px; }
  .hero-copy { max-width: 650px; }
  .hero-visual { margin-top: 10px; }
  .statement-grid, .install-layout, .compatibility-grid, .download-card, .roadmap { grid-template-columns: 1fr; }
  .statement-grid, .install-layout, .compatibility-grid, .roadmap { gap: 34px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .architecture-flow { grid-template-columns: 1fr; }
  .architecture-flow b { justify-self: center; transform: rotate(90deg); }
  .architecture-flow small { margin-bottom: 20px; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 28px); }
  .section-pad { padding-block: 78px; }
  .nav-download { padding: 7px 12px !important; }
  h1 { font-size: clamp(3.7rem, 20vw, 5.2rem); }
  .hero { gap: 30px; padding-top: 55px; }
  .hero-lead { font-size: 1.35rem; }
  .hero-actions { display: grid; }
  .release-strip { gap: 18px; }
  .capability-grid { grid-template-columns: 1fr; }
  .feature { min-height: 250px; }
  .truth-card { padding: 22px; }
  .hero-visual img { border-radius: 22px 6px; transform: none; }
  .visual-label { display: none; }
  .download-main { padding: 34px 26px; }
  .checksum { margin: 10px; padding: 25px 18px; }
  .checksum dl div { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { padding-block: 35px; flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
}
