:root {
  color-scheme: dark;
  --bg: #101014;
  --panel: #17171e;
  --text: #fbfaff;
  --muted: #b8b6c7;
  --subtle: #9190a5;
  --edge: #2d2c38;
  --accent: #ac96ff;
  --button: #b8a5ff;
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.62 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid #dbcfff; outline-offset: 5px; border-radius: 4px; }
.skip { position: absolute; z-index: 5; left: 1rem; top: 1rem; background: var(--button); color: #151020; padding: .65rem 1rem; transform: translateY(-170%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 4rem), var(--max)); margin-inline: auto; }
.mast { border-bottom: 1px solid var(--edge); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.12rem; font-weight: 760; letter-spacing: -.04em; text-decoration: none; flex: none; }
.brand-mark { display: inline-grid; place-items: center; width: 33px; height: 33px; border: 1px solid #b4a0ff; border-radius: 9px; color: #150e28; background: #b4a0ff; font-size: .68rem; font-weight: 900; letter-spacing: -.08em; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.navlinks, .langs { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.45rem; }
.navlinks a, .langs a, .footerlinks a { display: inline-flex; align-items: center; min-block-size: 28px; }
.navlinks a, .footerlinks a { color: var(--muted); font-size: .875rem; text-decoration: none; }
.navlinks a:hover, .footerlinks a:hover { color: white; }
.nav a[aria-current="page"] { color: white; }
.langs { gap: .25rem; padding: .18rem; border: 1px solid var(--edge); border-radius: 7px; }
.langs a { text-decoration: none; color: var(--muted); padding: .13rem .53rem; font-size: .875rem; border-radius: 4px; }
.langs a[aria-current] { background: #302744; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--edge); background: radial-gradient(ellipse at 84% 26%, #241b38 0%, #14121a 43%, var(--bg) 68%); }
.hero-grid { padding-block: clamp(4rem,8vw,7.25rem); display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(2.2rem,5vw,5rem); align-items: center; }
.tag { display: inline-flex; align-items: center; gap: .5rem; color: #d0c2ff; border: 1px solid #4b3c68; border-radius: 6px; background: #211b2e; padding: .27rem .65rem; font-size: .875rem; }
.tag::before { content: ""; width: .38rem; height: .38rem; border-radius: 50%; background: #baa3ff; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3rem,6.05vw,5.8rem); line-height: .99; letter-spacing: -.045em; font-weight: 750; margin: 1.4rem 0 1.5rem; text-wrap: balance; }
h1 span { display: block; color: #b69eff; }
.hero-copy p { color: var(--muted); font-size: clamp(1rem,1.6vw,1.15rem); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.9rem; }
.cta { display: inline-flex; align-items: center; justify-content: center; padding: .67rem 1rem; min-height: 45px; border: 1px solid transparent; border-radius: 7px; font-weight: 680; font-size: .94rem; background: var(--button); color: #171124; text-decoration: none; transition: background .15s, transform .15s; }
.cta:hover { background: #cbbcff; transform: translateY(-2px); }
.cta.ghost { background: transparent; color: var(--muted); border-color: #4b4658; }
.cta.ghost:hover { background: #23202c; color: white; }
.console { min-width: 0; margin: 0; border: 1px solid #544667; border-radius: 14px; background: #18151f; box-shadow: 0 24px 60px #05040875, 0 0 0 7px #b899ff0b; overflow: hidden; animation: enter .52s ease-out both; }
@keyframes enter { from { opacity: .4; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.console figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding: .8rem 1.05rem; border-bottom: 1px solid var(--edge); font-size: .875rem; }
.console figcaption span { color: var(--muted); }
.screen { padding: clamp(.8rem,2vw,1.3rem); }
.screen-title { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .3rem 1rem; }
.screen-title p { font-size: .875rem; color: var(--muted); }
.scope { border: 1px solid #514562; border-radius: 5px; padding: .16rem .48rem; color: #dccdff; font-size: .875rem; }
.term { margin: 1rem 0 .9rem; padding: .55rem .75rem; border: 1px solid #41364f; border-radius: 6px; font-size: .9rem; background: #201a2c; }
.graph { position: relative; height: 144px; border-bottom: 1px solid #5b496f; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(4px,1vw,9px); align-items: end; padding-inline: .5rem; background: repeating-linear-gradient(to top, transparent 0 31px, #a991cb19 31px 32px); }
.graph i { display: block; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(#baa1ff,#6549bb); }
.graph i:nth-child(3n + 1) { background: linear-gradient(#856bc1,#4e3b83); }
.graph-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--muted); margin-top: .5rem; font-size: .875rem; }
.screen-foot { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.screen-foot div { background: #1f1b29; border: 1px solid #362f44; padding: .6rem .65rem; border-radius: 6px; color: var(--muted); font-size: .875rem; }
.screen-foot strong { display: block; color: var(--text); font-weight: 600; }
.band { padding-block: 1.15rem; border-bottom: 1px solid var(--edge); }
.band .wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.band div div { padding-inline: 1rem; border-left: 1px solid #544469; }
.band strong { display: block; font-size: .96rem; font-weight: 650; }
.band span { display: block; font-size: .875rem; color: var(--muted); }
.section { padding-block: clamp(3rem,6vw,5.5rem); }
.section-label { color: var(--accent); font-size: .88rem; font-weight: 650; margin-bottom: .55rem; }
.section h2, .next h2 { font-size: clamp(2rem,4vw,3.05rem); line-height: 1.11; letter-spacing: -.06em; }
.lede { margin-top: .7rem; color: var(--muted); max-width: 41rem; }
.modules { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-top: 1.65rem; }
.module { min-width: 0; border: 1px solid var(--edge); border-radius: 10px; background: var(--panel); padding: 1.15rem; }
.glyph { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #504267; border-radius: 7px; color: #c5b2ff; background: #252033; font-size: 1rem; margin-bottom: .72rem; }
.module h3 { font-size: 1.03rem; letter-spacing: -.017em; }
.module p { color: var(--muted); margin-top: .39rem; }
.next { padding: clamp(1.4rem,4vw,2.7rem); background: linear-gradient(118deg,#201a2d,#17151e 66%); border: 1px solid #473955; border-radius: 12px; display: grid; grid-template-columns: .9fr 1fr; gap: 1.4rem 3rem; margin-bottom: clamp(3rem,6vw,5rem); }
.next ul { padding-left: 1.2rem; color: var(--muted); margin: .1rem 0; }
.next li + li { margin-top: .65rem; }
.next li::marker { color: var(--accent); }
.foot { border-top: 1px solid var(--edge); padding-block: 1.55rem; }
.foot-grid { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.foot p { font-size: .875rem; color: var(--muted); margin-top: .35rem; }
.footerlinks { display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; }
.legal { width: min(calc(100% - 4rem), 760px); margin-inline: auto; padding: clamp(2.5rem,7vw,5rem) 0; }
.legal h1 { font-size: clamp(2.55rem,6vw,4.55rem); margin: .5rem 0 1rem; letter-spacing: -.045em; }
.legal .intro { color: var(--muted); font-size: 1.075rem; }
.legal section { margin-top: 1.85rem; padding-top: 1.35rem; border-top: 1px solid var(--edge); }
.legal h2 { font-size: 1.28rem; letter-spacing: -.025em; margin-bottom: .45rem; }
.legal section p { color: var(--muted); }
.legal p + p { margin-top: .65rem; }
.legal section a { color: #d4c3ff; text-underline-offset: .18em; }
@media (max-width: 950px) {
  .hero-grid { grid-template-columns: 1fr; max-width: 690px; }
  .hero { background: radial-gradient(ellipse at 90% 52%, #221a31, #14121a 45%, var(--bg) 75%); }
  .modules { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 590px) {
  .wrap, .legal { width: calc(100% - 2rem); }
  .nav { display: grid; grid-template-columns: 1fr auto; padding-block: .7rem; gap: .6rem 1rem; }
  .navlinks { grid-column: 1/-1; grid-row: 2; gap: .45rem 1.1rem; }
  .langs { grid-column: 2; grid-row: 1; }
  h1 { font-size: clamp(2.75rem,11.6vw,4.15rem); }
  .hero-grid { padding-block: 3rem; }
  .band .wrap, .modules, .next { grid-template-columns: 1fr; }
  .graph { height: 114px; }
  .foot-grid { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.graph i:nth-child(1) { --h: 34%; }
.graph i:nth-child(2) { --h: 46%; }
.graph i:nth-child(3) { --h: 40%; }
.graph i:nth-child(4) { --h: 60%; }
.graph i:nth-child(5) { --h: 53%; }
.graph i:nth-child(6) { --h: 62%; }
.graph i:nth-child(7) { --h: 72%; }
.graph i:nth-child(8) { --h: 55%; }
.graph i:nth-child(9) { --h: 68%; }
.graph i:nth-child(10) { --h: 86%; }
.graph i:nth-child(11) { --h: 75%; }
.graph i:nth-child(12) { --h: 92%; }
