:root {
  --bg: #070b14;
  --bg-soft: #0d1421;
  --panel: rgba(17, 28, 43, .76);
  --panel-solid: #101a29;
  --line: rgba(159, 188, 224, .16);
  --line-strong: rgba(159, 188, 224, .28);
  --text: #f4f7fb;
  --muted: #9aaabd;
  --dim: #62748a;
  --cyan: #59e6e0;
  --cyan-soft: rgba(89, 230, 224, .14);
  --violet: #8b7bff;
  --orange: #ff9d63;
  --shadow: 0 28px 70px rgba(0, 0, 0, .32);
  --radius: 20px;
  --max-width: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 6%, rgba(74, 103, 209, .13), transparent 31rem),
    radial-gradient(circle at 15% 55%, rgba(35, 177, 188, .06), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: .19;
  background-image: linear-gradient(rgba(140, 177, 214, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 177, 214, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell { width: min(var(--max-width), calc(100% - 64px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), calc(100% - 64px));
  min-height: 88px;
  margin-inline: auto;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  color: var(--bg);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.08em;
  background: linear-gradient(135deg, var(--cyan), #b4fff4);
  clip-path: polygon(18% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 20%);
  box-shadow: 0 0 26px rgba(89, 230, 224, .21);
}
.brand-mark::after { position: absolute; right: -10px; bottom: 6px; width: 32px; height: 1px; content: ""; background: var(--bg); transform: rotate(-45deg); }
.brand-mark span { position: relative; z-index: 1; transform: translateX(-1px); }
.brand-mark i { position: absolute; right: 5px; bottom: 5px; width: 4px; height: 4px; background: var(--bg); }
.brand-mark.small { width: 25px; height: 25px; font-size: 8px; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 16px; letter-spacing: .12em; }
.brand-text small { margin-top: 4px; color: var(--dim); font-size: 7px; letter-spacing: .22em; }

.site-nav { display: flex; align-items: center; gap: 33px; color: var(--muted); font-size: 12px; letter-spacing: .11em; }
.site-nav a { transition: color .25s ease; }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; color: var(--bg); font-size: 10px; font-weight: 800; background: var(--cyan); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.site-nav .nav-cta:hover { color: var(--bg); background: #b1fff5; }
.nav-toggle { display: none; border: 0; background: transparent; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .19em; }
.eyebrow-dot { width: 5px; height: 5px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: rotate(45deg); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr); align-items: center; min-height: 650px; padding-block: 55px 70px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 14px; }
.hero h1 { max-width: 640px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.5rem); font-weight: 300; letter-spacing: -.085em; line-height: .97; }
.hero h1 em, .release-content h2 em { color: var(--cyan); font-style: normal; }
.hero-lede { max-width: 490px; margin: 28px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; min-width: 155px; padding: 14px 18px; font-size: 11px; font-weight: 800; letter-spacing: .08em; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--bg); background: var(--cyan); box-shadow: 0 12px 28px rgba(89, 230, 224, .13); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.button-primary:hover { background: #b4fff4; }
.button-ghost { border: 1px solid var(--line-strong); color: var(--muted); }
.button-ghost:hover { color: var(--text); border-color: var(--cyan); background: var(--cyan-soft); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 29px; color: var(--dim); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.hero-meta b { color: var(--muted); font-weight: 700; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #7dffb5; border-radius: 50%; box-shadow: 0 0 13px #7dffb5; }

.hero-visual { position: relative; min-height: 545px; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .9; mask-image: radial-gradient(ellipse at center, black 28%, transparent 78%); }
.hero-visual::before { position: absolute; inset: 12% 7% 11%; z-index: -1; content: ""; border: 1px solid rgba(89, 230, 224, .18); border-radius: 50%; transform: rotate(-20deg) scaleY(.46); box-shadow: 0 0 90px rgba(89, 230, 224, .12), inset 0 0 70px rgba(139, 123, 255, .1); }
.visual-orbit { position: absolute; left: 50%; top: 50%; z-index: -1; width: 78%; height: 78%; border: 1px solid rgba(139, 123, 255, .23); border-radius: 50%; transform: translate(-50%, -50%) rotate(31deg) scaleY(.28); }
.orbit-two { width: 90%; height: 90%; border-color: rgba(89, 230, 224, .12); transform: translate(-50%, -50%) rotate(-18deg) scaleY(.55); }
.hero-card { position: absolute; display: grid; place-items: center; border: 1px solid rgba(158, 225, 224, .42); box-shadow: 0 23px 55px rgba(0, 0, 0, .44), inset 0 0 30px rgba(89, 230, 224, .08); }
.card-back { width: 156px; height: 232px; color: rgba(89, 230, 224, .74); background: linear-gradient(140deg, rgba(29, 65, 75, .72), rgba(16, 24, 55, .88)); }
.card-back::before { position: absolute; inset: 12px; content: ""; border: 1px solid rgba(89, 230, 224, .24); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(89, 230, 224, .06) 11px 12px); }
.card-back span { position: relative; z-index: 1; font-size: 26px; font-weight: 900; letter-spacing: -.1em; transform: rotate(-9deg); }
.card-back-one { top: 20%; left: 18%; transform: rotate(-25deg); }
.card-back-two { right: 10%; top: 12%; opacity: .65; transform: rotate(21deg) scale(.84); }
.hero-card-front { right: 23%; bottom: 15%; width: 195px; height: 278px; padding: 15px; align-items: end; justify-items: stretch; color: var(--bg); border-color: rgba(255, 210, 166, .65); background: linear-gradient(145deg, #f5c6a2, #8d779e 48%, #314d80); transform: rotate(12deg); box-shadow: 0 24px 60px rgba(0, 0, 0, .54), 0 0 50px rgba(255, 157, 99, .14); }
.hero-card-front::before { position: absolute; inset: 14px; content: ""; border: 1px solid rgba(7, 11, 20, .44); }
.card-line { position: absolute; top: 34px; left: 35px; right: 35px; height: 2px; background: rgba(7, 11, 20, .62); }
.card-symbol { position: absolute; top: 50%; left: 50%; color: rgba(7, 11, 20, .62); font-size: 72px; transform: translate(-50%, -50%); }
.card-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; width: 100%; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.visual-label { position: absolute; color: var(--dim); font-size: 8px; line-height: 1.6; letter-spacing: .18em; }
.visual-label b { color: var(--cyan); font-weight: 700; }
.label-top { top: 16%; right: 5%; }
.label-bottom { bottom: 12%; left: 7%; }
.release-stamp { position: absolute; right: 2%; bottom: 2%; display: grid; gap: 2px; padding: 13px 15px; border: 1px solid rgba(89, 230, 224, .3); color: var(--dim); background: rgba(7, 11, 20, .6); backdrop-filter: blur(12px); font-size: 8px; letter-spacing: .15em; }
.release-stamp strong { color: var(--text); font-size: 13px; letter-spacing: .04em; }
.release-stamp small { color: var(--cyan); font-size: 7px; }

.downloads-section, .feature-section, .release-section, .compatibility-section { padding-block: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2, .compatibility-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; letter-spacing: -.065em; line-height: 1.06; }
.section-intro { margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.8; text-align: right; }
.section-intro strong { color: var(--text); font-weight: 700; }
.section-intro span { color: var(--dim); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.loading-card { grid-column: 1 / -1; min-height: 260px; display: grid; place-items: center; gap: 10px; color: var(--muted); border: 1px solid var(--line); background: rgba(16, 26, 41, .55); }
.loading-pulse { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 20px var(--cyan); animation: pulse 1.3s infinite; }
.download-card { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 28px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(22, 36, 55, .92), rgba(10, 17, 28, .86)); box-shadow: var(--shadow); transition: transform .3s ease, border-color .3s ease; }
.download-card::before { position: absolute; right: -60px; top: -70px; width: 220px; height: 220px; content: ""; border: 1px solid rgba(89, 230, 224, .13); border-radius: 50%; box-shadow: 0 0 0 22px rgba(89, 230, 224, .03), 0 0 0 44px rgba(89, 230, 224, .02); }
.download-card:hover { border-color: rgba(89, 230, 224, .46); transform: translateY(-5px); }
.download-card.server::before { border-color: rgba(139, 123, 255, .2); box-shadow: 0 0 0 22px rgba(139, 123, 255, .035), 0 0 0 44px rgba(139, 123, 255, .02); }
.download-card-top, .download-card-meta, .download-card-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.platform-icon { display: grid; place-items: center; width: 45px; height: 45px; color: var(--cyan); border: 1px solid rgba(89, 230, 224, .28); font-size: 20px; background: var(--cyan-soft); }
.server .platform-icon { color: var(--violet); border-color: rgba(139, 123, 255, .3); background: rgba(139, 123, 255, .1); }
.download-status { padding: 5px 8px; color: var(--cyan); border: 1px solid rgba(89, 230, 224, .2); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.download-status.placeholder { color: var(--orange); border-color: rgba(255, 157, 99, .3); }
.download-card h3 { position: relative; z-index: 1; margin: 32px 0 3px; font-size: 25px; font-weight: 500; letter-spacing: -.045em; }
.download-subtitle { position: relative; z-index: 1; margin: 0; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.server .download-subtitle { color: var(--violet); }
.download-description { position: relative; z-index: 1; max-width: 420px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.download-card-meta { justify-content: flex-start; gap: 24px; margin-top: auto; padding-top: 28px; color: var(--dim); font-size: 9px; letter-spacing: .12em; }
.download-card-meta strong { display: block; margin-top: 3px; color: var(--muted); font-weight: 700; letter-spacing: .03em; }
.download-card-footer { gap: 15px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.filename { min-width: 0; overflow: hidden; color: var(--dim); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.download-link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 13px; padding: 11px 13px; color: var(--bg); background: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .05em; clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.download-link:hover { background: #b4fff4; }
.server .download-link { color: white; background: var(--violet); }
.server .download-link:hover { background: #b7adff; }
.download-footnote { margin: 17px 0 0; color: var(--dim); font-size: 11px; }
.download-footnote span { color: var(--orange); }

.compact-heading { align-items: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-card { position: relative; min-height: 285px; padding: 30px 29px; border-right: 1px solid var(--line); }
.feature-card:last-child { border-right: 0; }
.feature-card-accent { background: linear-gradient(145deg, rgba(89, 230, 224, .08), transparent 60%); }
.feature-number { color: var(--dim); font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .13em; }
.feature-icon { margin: 28px 0 16px; color: var(--cyan); font-size: 29px; line-height: 1; }
.feature-card:nth-child(2) .feature-icon { color: var(--violet); }
.feature-card:nth-child(3) .feature-icon { color: var(--orange); }
.feature-card h3 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.feature-card p { max-width: 275px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.feature-tag { position: absolute; right: 29px; bottom: 30px; color: var(--dim); font-size: 8px; letter-spacing: .14em; }

.release-panel { position: relative; overflow: hidden; padding: 31px 38px 40px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(20, 38, 57, .92), rgba(12, 19, 32, .76)); }
.release-panel::after { position: absolute; right: -6%; bottom: -95%; width: 50%; height: 230%; content: ""; border: 1px solid rgba(89, 230, 224, .15); border-radius: 50%; transform: rotate(-35deg); box-shadow: 0 0 0 28px rgba(89, 230, 224, .025), 0 0 0 56px rgba(89, 230, 224, .02); }
.release-panel-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.release-version-badge { padding: 6px 10px; color: var(--bg); background: var(--cyan); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 900; }
.release-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: end; padding-top: 42px; }
.release-content h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; letter-spacing: -.08em; line-height: .98; }
.release-date { margin: 23px 0 0; color: var(--dim); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.release-date span { color: var(--muted); }
.release-details { max-width: 450px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.release-details p { margin: 0; }
.release-details ul { display: grid; gap: 10px; padding: 0; margin: 23px 0 0; list-style: none; color: var(--text); font-size: 11px; }
.release-details li { display: flex; gap: 10px; align-items: flex-start; }
.release-details li span { color: var(--cyan); font-weight: 900; }

.compatibility-section { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding-block: 36px; border-top: 1px solid rgba(255, 157, 99, .23); border-bottom: 1px solid rgba(255, 157, 99, .23); }
.compatibility-icon { display: grid; place-items: center; width: 45px; height: 45px; color: var(--orange); border: 1px solid rgba(255, 157, 99, .36); font-size: 18px; font-weight: 900; }
.compatibility-section .eyebrow { margin-bottom: 7px; color: var(--orange); }
.compatibility-section h2 { font-size: clamp(1.15rem, 2.3vw, 1.7rem); letter-spacing: -.035em; }
.compatibility-section p:last-child { max-width: 700px; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.text-link { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.text-link:hover { color: var(--text); }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 115px; color: var(--dim); font-size: 9px; letter-spacing: .13em; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.footer-brand strong { letter-spacing: .12em; }
.site-footer p { margin: 0; text-align: center; }
.footer-copy { white-space: nowrap; }
.not-found { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.not-found-eyebrow { justify-content: center; }
.not-found-title { margin: 0; font-size: clamp(4rem, 15vw, 9rem); font-weight: 300; letter-spacing: -.08em; line-height: .9; }
.not-found-copy { margin: 25px 0 30px; color: var(--muted); }

@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 500px; margin-top: -20px; }
  .feature-card { padding-inline: 22px; }
  .feature-tag { right: 22px; }
}

@media (max-width: 700px) {
  .section-shell, .site-header { width: min(100% - 36px, var(--max-width)); }
  .site-header { min-height: 74px; }
  .nav-toggle { display: grid; gap: 4px; padding: 10px 0 10px 10px; cursor: pointer; }
  .nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 1px; background: var(--muted); transition: transform .25s ease, opacity .25s ease; }
  .site-header.nav-open .nav-toggle > span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .site-header.nav-open .nav-toggle > span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle > span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); background: rgba(10, 17, 28, .96); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 15px; }
  .site-nav .nav-cta { justify-content: space-between; margin-top: 6px; }
  .hero { min-height: auto; padding-block: 66px 40px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-lede { font-size: 14px; }
  .hero-visual { min-height: 390px; margin-top: 20px; }
  .card-back { width: 120px; height: 180px; }
  .hero-card-front { right: 18%; width: 150px; height: 220px; }
  .hero-card-front .card-symbol { font-size: 54px; }
  .release-stamp { right: 0; bottom: 0; }
  .visual-label { font-size: 7px; }
  .downloads-section, .feature-section, .release-section, .compatibility-section { padding-block: 62px; }
  .section-heading, .compact-heading { display: block; }
  .section-intro { margin-top: 19px; text-align: left; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 335px; padding: 23px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card:last-child { border-bottom: 0; }
  .feature-icon { margin-top: 24px; }
  .release-panel { padding: 23px 20px 28px; }
  .release-content { grid-template-columns: 1fr; gap: 33px; }
  .release-content h2 { font-size: 3.2rem; }
  .compatibility-section { grid-template-columns: auto 1fr; gap: 15px; }
  .compatibility-section .text-link { grid-column: 2; }
  .site-footer { flex-wrap: wrap; padding-block: 27px; }
  .site-footer p { order: 3; width: 100%; text-align: left; }
}

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