:root {
  color-scheme: dark;
  --bg: #0b0910;
  --bg-deep: #07060a;
  --surface: #141218;
  --surface-raised: #211f26;
  --surface-high: #2b2930;
  --text: #f2ecf5;
  --muted: #c9c3ce;
  --dim: #97919e;
  --violet: #d0bcff;
  --violet-strong: #9a7cff;
  --cyan: #59d5ff;
  --line: rgba(220, 205, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shell: min(1180px, calc(100% - 48px));
  --header-height: 76px;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 5%, rgba(101, 71, 182, 0.15), transparent 24rem),
    radial-gradient(circle at 0% 24%, rgba(32, 140, 195, 0.09), transparent 29rem),
    var(--bg);
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.25;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
code { color: #e8dbff; font-family: "Cascadia Code", Consolas, monospace; font-size: .9em; }

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

.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .65rem .9rem; color: #140f20; background: var(--violet); border-radius: 0 0 10px 10px; font-weight: 750; transition: top .2s ease; }
.skip-link:focus { top: 0; }

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-header.is-scrolled { border-color: rgba(215, 198, 255, .11); background: rgba(11, 9, 16, .78); backdrop-filter: blur(20px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: .62rem; color: var(--violet); letter-spacing: -.04em; font-size: 1.12rem; font-weight: 850; }
.brand-accent { color: var(--text); }
.nav-account { padding: .45rem .8rem; border: 1px solid rgba(220,205,255,.18); border-radius: 8px; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); color: var(--muted); font-size: .9rem; font-weight: 650; }
.site-nav a:not(.nav-cta) { transition: color .18s ease; }
.site-nav a:not(.nav-cta):hover { color: var(--text); }
.nav-cta { padding: .52rem .85rem; color: #150d23; background: var(--violet); border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease; }
.nav-cta:hover { box-shadow: 0 7px 20px rgba(184, 151, 255, .32); transform: translateY(-2px); }
.nav-toggle { display: none; }

.hero { position: relative; min-height: min(900px, 100svh); padding-top: var(--header-height); isolation: isolate; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: calc(min(900px, 100svh) - var(--header-height)); padding-top: 4rem; padding-bottom: 5.25rem; }
.hero-grid { position: absolute; z-index: -3; inset: 0; opacity: .32; background: linear-gradient(rgba(211, 193, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(211, 193, 255, .06) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(100deg, #000, transparent 74%); }

.eyebrow { display: flex; align-items: center; gap: .62rem; margin: 0 0 1.2rem; color: var(--violet); font-family: "Cascadia Code", Consolas, monospace; font-size: .69rem; font-weight: 750; letter-spacing: .13em; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; box-shadow: 0 0 13px currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.065em; line-height: .98; }
h1 { max-width: 700px; margin-bottom: 1.7rem; font-size: clamp(2.5rem, 5.1vw, 4.5rem); white-space: nowrap; }
h2 { margin-bottom: 1.45rem; font-size: clamp(2.6rem, 5.5vw, 4.55rem); }
h1 em, h2 em { color: var(--violet); font-style: normal; }
.hero-ec { color: var(--violet); }
.hero-bot { color: #fff; }
.hero-layout { justify-items: center; }
.hero-copy { width: 100%; max-width: 850px; text-align: center; }
.hero h1 { max-width: none; font-size: clamp(2.5rem, 6.4vw, 5.6rem); letter-spacing: -.055em; }
.hero-specs, .hero-actions { justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 48px; padding: .77rem 1.05rem; border: 1px solid transparent; border-radius: 10px; font-size: .91rem; font-weight: 780; transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #11091d; background: linear-gradient(135deg, #dbccff, #a889ff); box-shadow: 0 14px 32px rgba(126, 82, 220, .26); }
.button-primary:hover { box-shadow: 0 20px 42px rgba(126, 82, 220, .42); }
.button-primary span { font-size: 1.18rem; line-height: 1; }
.button-ghost { color: var(--text); border-color: rgba(223, 211, 255, .27); background: rgba(24, 20, 30, .42); }
.button-ghost:hover { border-color: var(--violet); background: rgba(55, 43, 78, .6); }

.hero-specs { display: flex; flex-wrap: wrap; gap: 1.35rem; padding: 0; margin: 0 0 1.8rem; list-style: none; }
.hero-specs li { display: grid; gap: .06rem; padding-left: .85rem; border-left: 1px solid rgba(208, 188, 255, .36); }
.hero-specs strong { color: var(--text); font-family: "Cascadia Code", Consolas, monospace; font-size: .85rem; }
.hero-specs span { color: var(--dim); font-size: .73rem; }

.scroll-cue { position: absolute; bottom: 1.5rem; left: 50%; display: grid; justify-items: center; gap: .42rem; color: rgba(226, 216, 245, .58); font-family: "Cascadia Code", Consolas, monospace; font-size: .6rem; letter-spacing: .12em; transform: translateX(-50%); }
.scroll-cue i { display: block; width: 1px; height: 26px; background: linear-gradient(var(--violet), transparent); }

.features-section { background: linear-gradient(180deg, transparent, rgba(27, 20, 38, .32) 42%, transparent); }
.section-heading { display: grid; grid-template-columns: .74fr 1.26fr; gap: 3rem; align-items: start; margin-bottom: 4rem; }
.section-heading > p { margin-top: .68rem; }
.section-heading div > p { max-width: 650px; margin-bottom: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { position: relative; display: flex; flex-direction: column; min-height: 315px; padding: 1.45rem; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(38, 35, 45, .9), rgba(20, 18, 24, .94)); box-shadow: inset 0 1px rgba(255,255,255,.025); transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.feature-card:hover { border-color: rgba(208, 188, 255, .44); background: linear-gradient(145deg, rgba(49, 44, 60, .95), rgba(23, 20, 30, .98)); transform: translateY(-6px); }
.feature-card-main { grid-column: span 2; }
.feature-card-visual { grid-column: span 2; }
.feature-art { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 72px; margin-bottom: auto; }
.feature-art::before { position: absolute; z-index: 0; width: 76px; height: 76px; border-radius: 22px; content: ""; filter: blur(3px); }
.feature-art img, .feature-art > span:not(.feature-index) { position: relative; z-index: 1; margin-left: .85rem; filter: drop-shadow(0 0 14px rgba(178, 139, 255, .4)); }
.feature-art-sword::before { background: radial-gradient(circle, rgba(91, 209, 255, .28), transparent 68%); }
.feature-art-mace::before { background: radial-gradient(circle, rgba(192, 135, 255, .32), transparent 68%); }
.feature-art-crystal::before { background: radial-gradient(circle, rgba(94, 232, 231, .25), transparent 68%); }
.feature-art-lock::before { background: radial-gradient(circle, rgba(208, 188, 255, .24), transparent 68%); }
.feature-art-command::before { background: radial-gradient(circle, rgba(101, 183, 255, .24), transparent 68%); }
.feature-art-visual::before { background: radial-gradient(circle, rgba(207, 140, 255, .26), transparent 68%); }
.feature-index { margin-left: auto; color: rgba(224, 212, 247, .31); font-family: "Cascadia Code", Consolas, monospace; font-size: .71rem; }
.lock-glyph, .visual-glyph { color: var(--violet); font-size: 2.7rem; font-weight: 300; line-height: 1; }
.command-glyph { color: var(--cyan); font-family: "Cascadia Code", Consolas, monospace; font-size: 1.85rem; font-weight: 750; }
.card-kicker { margin-bottom: .34rem; color: var(--violet); font-family: "Cascadia Code", Consolas, monospace; font-size: .61rem; font-weight: 740; letter-spacing: .14em; }
.feature-card h3 { margin-bottom: .55rem; font-size: 1.22rem; letter-spacing: -.035em; }
.feature-card p:not(.card-kicker) { margin-bottom: 1.25rem; color: var(--muted); font-size: .88rem; line-height: 1.68; }
.status { align-self: flex-start; margin-top: auto; padding: .28rem .55rem; color: #c4b7d4; border: 1px solid rgba(196, 183, 212, .2); border-radius: 999px; font-size: .67rem; font-weight: 680; }
.status-active { color: #b8ecfa; border-color: rgba(96, 215, 247, .25); background: rgba(45, 156, 192, .08); }

.experience-section { position: relative; overflow: hidden; border-block: 1px solid rgba(214, 200, 245, .08); background: #0d0b12; }
.experience-section::before { position: absolute; top: 6%; right: -18rem; width: 43rem; height: 43rem; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(113, 72, 195, .16), transparent 66%); pointer-events: none; }
.experience-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.experience-copy > p:not(.eyebrow) { max-width: 570px; color: var(--muted); }
.flow-list { display: grid; gap: .8rem; padding: 0; margin: 2.25rem 0 0; list-style: none; }
.flow-list li { display: grid; grid-template-columns: 2.1rem 1fr; gap: .8rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.flow-list li:last-child { border-bottom: 1px solid var(--line); }
.flow-list span { color: var(--violet); font-family: "Cascadia Code", Consolas, monospace; font-size: .7rem; }
.flow-list strong { display: block; margin-bottom: .08rem; font-size: .95rem; }
.flow-list p { margin: 0; color: var(--dim); font-size: .83rem; }

.interface-demo { position: relative; padding: 2rem; }
.demo-glow { position: absolute; inset: 10% 0; border-radius: 50%; background: radial-gradient(circle, rgba(97, 64, 185, .35), transparent 68%); filter: blur(18px); }
.demo-window { position: relative; overflow: hidden; border: 1px solid rgba(220, 207, 255, .25); border-radius: 15px; background: linear-gradient(145deg, #25212d, #15131a); box-shadow: var(--shadow), 0 0 0 1px rgba(87, 64, 132, .12); }
.demo-titlebar { display: flex; align-items: center; gap: .38rem; height: 38px; padding: 0 .8rem; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(14, 12, 18, .52); }
.demo-titlebar span { width: 7px; height: 7px; border-radius: 50%; background: #5b5264; }
.demo-titlebar span:nth-child(1) { background: #bd7c9f; }.demo-titlebar span:nth-child(2) { background: #d9bb77; }.demo-titlebar span:nth-child(3) { background: #83b58f; }
.demo-titlebar b { margin-left: auto; color: #bdb6c8; font-family: "Cascadia Code", Consolas, monospace; font-size: .62rem; font-weight: 600; letter-spacing: .06em; }
.demo-content { display: grid; grid-template-columns: 64px 1fr; min-height: 350px; }
.demo-rail { display: grid; align-content: center; justify-items: center; gap: 1.4rem; border-right: 1px solid rgba(255,255,255,.065); background: rgba(7, 6, 10, .38); }
.demo-rail i { width: 24px; height: 24px; border: 1px solid #5a5164; border-radius: 8px; background: #26232d; }
.demo-rail .is-selected { border-color: var(--violet); background: #594780; box-shadow: 0 0 16px rgba(174, 132, 255, .4); }
.demo-main { padding: clamp(1.2rem, 4vw, 2rem); }
.demo-lines { display: grid; gap: .52rem; margin-bottom: 1.6rem; }
.demo-lines i { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, rgba(203,188,235,.25), rgba(203,188,235,.05)); }
.demo-lines i:nth-child(1) { width: 90%; }.demo-lines i:nth-child(2) { width: 72%; }.demo-lines i:nth-child(3) { width: 81%; }
.demo-module-row { display: flex; align-items: center; justify-content: space-between; padding: .65rem .75rem; margin-top: .6rem; border: 1px solid rgba(222,210,245,.1); border-radius: 9px; background: rgba(255,255,255,.025); color: #dcd5e5; font-size: .75rem; }
.demo-module-row > span:first-child { display: flex; align-items: center; gap: .55rem; }.demo-module-row img { width: 20px; height: 20px; image-rendering: pixelated; }
.demo-toggle { display: inline-flex; align-items: center; width: 28px; height: 16px; padding: 2px; border-radius: 999px; background: #57505f; }.demo-toggle i { width: 12px; height: 12px; border-radius: 50%; background: #c9c0d4; }.demo-toggle.is-on { justify-content: end; background: #8d72be; }.demo-toggle.is-on i { background: #f2eaff; }
.demo-footer { display: flex; justify-content: space-between; padding: .65rem .85rem; color: #988fa6; border-top: 1px solid rgba(255,255,255,.07); background: rgba(7, 6, 10, .42); font-family: "Cascadia Code", Consolas, monospace; font-size: .57rem; letter-spacing: .1em; }

.compatibility-section { background: linear-gradient(180deg, #0d0b12 0%, #11101a 52%, #0d0b12 100%); }
.compatibility-head { display: grid; grid-template-columns: .74fr 1.26fr; gap: 3rem; align-items: start; margin-bottom: 3.5rem; }.compatibility-head > p { margin-top: .7rem; }.compatibility-head h2 { max-width: 800px; margin: 0; }
.compatibility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.compat-card { min-height: 245px; padding: 1.35rem; background: linear-gradient(145deg, rgba(34, 30, 42, .97), rgba(17, 15, 22, .98)); }.compat-number { display: block; margin-bottom: 3.6rem; color: var(--violet); font-family: "Cascadia Code", Consolas, monospace; font-size: .67rem; }.compat-card h3 { margin-bottom: .45rem; font-size: 1.08rem; letter-spacing: -.035em; }.compat-card p { margin: 0; color: var(--muted); font-size: .85rem; }.compat-card strong { color: var(--text); font-weight: 720; }

.get-section { padding-top: 60px; padding-bottom: 60px; }.get-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: clamp(1.75rem, 5vw, 4rem); overflow: hidden; border: 1px solid rgba(196, 168, 255, .28); border-radius: 20px; background: radial-gradient(circle at 94% 6%, rgba(92, 199, 255, .16), transparent 16rem), radial-gradient(circle at 66% 115%, rgba(148, 85, 255, .23), transparent 25rem), linear-gradient(135deg, #211935, #121018 68%); box-shadow: var(--shadow); }.get-panel h2 { margin-bottom: 1.1rem; font-size: clamp(2.4rem, 4.5vw, 4.2rem); }.get-panel > div > p:not(.eyebrow) { max-width: 620px; margin-bottom: 0; color: var(--muted); }.get-actions { display: grid; justify-items: start; gap: .86rem; }.get-actions > p { margin: 0; color: #aaa0b7; font-size: .78rem; }.availability-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .58rem; color: #e4d8fc; border: 1px solid rgba(225, 204, 255, .27); border-radius: 999px; background: rgba(16, 11, 24, .3); font-size: .7rem; }.availability-badge i { width: .43rem; height: .43rem; border-radius: 50%; background: #edbc69; box-shadow: 0 0 8px #edbc69; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }.faq-intro { position: sticky; top: 118px; }.faq-intro > p:not(.eyebrow) { max-width: 390px; color: var(--muted); }.faq-list { border-top: 1px solid var(--line); }.faq-list details { border-bottom: 1px solid var(--line); }.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem .15rem; cursor: pointer; color: var(--text); font-size: clamp(.98rem, 1.5vw, 1.08rem); font-weight: 720; list-style: none; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { flex: 0 0 auto; color: var(--violet); font-size: 1.45rem; font-weight: 400; transition: transform .2s ease; }.faq-list details[open] summary span { transform: rotate(45deg); }.faq-list details p { max-width: 850px; padding: 0 .15rem 1.3rem; margin: 0; color: var(--muted); font-size: .89rem; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); background: #08070b; }.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; }.footer-inner p { margin: 0; color: #8c8593; font-size: .72rem; }.footer-inner p:nth-child(2) { text-align: center; }

.combat-main { min-height: calc(100svh - 120px); padding: calc(var(--header-height) + 3rem) 0 4rem; }
.combat-shell { max-width: 1080px; }
.combat-panel { padding: 1rem; border: 1px solid rgba(181, 139, 246, .22); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }
.combat-heading { padding: .65rem .7rem 0; margin-bottom: 1.5rem; }
.combat-heading h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -.035em; }
.site-nav a[aria-current="page"] { color: var(--violet); }
.combat-workspace { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px; min-height: clamp(380px, 44vw, 610px); }
.combat-sidebar { padding: 1rem .6rem; border-radius: 13px; background: var(--surface-raised); }
.combat-sidebar h2 { margin: .3rem .7rem 1.15rem; color: var(--muted); font-size: .83rem; line-height: 1.5; letter-spacing: .02em; }
.combat-categories { display: grid; grid-template-columns: 1fr; gap: .4rem; }
.combat-category { display: flex; align-items: center; justify-content: flex-start; gap: .8rem; min-height: 58px; padding: .8rem .95rem; color: var(--text); border: 1px solid transparent; border-radius: 9px; background: transparent; font-size: .96rem; font-weight: 750; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.combat-category:hover { border-color: rgba(147, 143, 153, .28); background: var(--surface-high); }
.combat-category[aria-pressed="true"] { color: #eaddff; border-color: rgba(208, 188, 255, .45); background: #4f378b; }
.combat-category img { flex: 0 0 30px; width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
.combat-details { min-width: 0; display: grid; align-items: center; padding: clamp(1rem, 2.2vw, 2rem); border-radius: 13px; background: #1d1b20; }
.combat-details > [hidden] { display: none; }
.combat-empty { padding: 1rem; text-align: center; }
.combat-empty h2 { margin-bottom: .75rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1.5; letter-spacing: -.025em; }
.combat-empty p { max-width: 360px; margin: 0 auto; color: var(--dim); font-size: .88rem; }
.combat-video-content { min-width: 0; align-self: start; }
.combat-video-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.2rem; }
.combat-video-header h2 { margin: 0; font-size: clamp(1.25rem, 2.7vw, 2rem); line-height: 1.3; letter-spacing: -.035em; }
.combat-expand { min-height: 44px; padding: .55rem .85rem; color: #e8def8; border: 1px solid rgba(208, 188, 255, .28); border-radius: 9px; background: #4a4458; font-size: .8rem; font-weight: 650; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.combat-expand:hover { border-color: var(--violet); background: #5c516f; }
.video-surface { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #000; }
.video-surface video { width: 100%; height: 100%; object-fit: contain; }
.video-surface [hidden] { display: none; }
.video-placeholder { padding: 1rem; color: #89818f; text-align: center; }
.video-placeholder p { margin: 0 0 .45rem; font-size: clamp(.8rem, 1.8vw, .98rem); }
.video-placeholder small { color: #655d6d; font-family: "Cascadia Code", Consolas, monospace; font-size: .71rem; }
.combat-hint { margin: 1.2rem 0 0; color: #a89bb7; font-size: .84rem; line-height: 1.75; }
.video-dialog-open { overflow: hidden; }
.combat-dialog { width: min(920px, calc(100% - 32px)); max-width: none; max-height: calc(100svh - 32px); padding: 0; color: var(--text); border: 1px solid rgba(181, 139, 246, .5); border-radius: 18px; background: #171020; box-shadow: 0 28px 100px rgba(0, 0, 0, .65); }
.combat-dialog::backdrop { background: rgba(4, 2, 8, .82); backdrop-filter: blur(5px); }
.combat-dialog-content { padding: clamp(.8rem, 2.5vw, 1.5rem); }
.combat-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.combat-dialog-header h2 { margin: 0; font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.35; letter-spacing: -.02em; }
.dialog-close { flex: 0 0 44px; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; color: #e4d8f0; border: 1px solid rgba(181, 139, 246, .3); border-radius: 10px; background: #23172f; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.dialog-close:hover { border-color: var(--violet); background: #3b2750; }
.dialog-close svg { width: 18px; height: 18px; }

@media (max-width: 720px) {
  .combat-main { padding-top: calc(var(--header-height) + 1.7rem); padding-bottom: 2.5rem; }
  .combat-panel { padding: .6rem; }
  .combat-heading { margin-bottom: 1.4rem; }
  .combat-workspace { grid-template-columns: 155px minmax(0, 1fr); }
  .combat-category { padding: .8rem .6rem; gap: .6rem; }
}

@media (max-width: 640px) {
  .combat-workspace { grid-template-columns: 80px minmax(0, 1fr); gap: 8px; min-height: 340px; }
  .combat-sidebar { padding: .8rem .3rem; }
  .combat-sidebar h2 { margin: .1rem .2rem 1rem; font-size: .75rem; text-align: center; }
  .combat-category { flex-direction: column; justify-content: center; gap: .3rem; min-height: 68px; padding: .5rem .2rem; font-size: .75rem; }
  .combat-category img { flex-basis: 26px; width: 26px; height: 26px; }
  .combat-details { padding: .7rem; }
  .combat-empty { padding: .1rem; }
  .combat-empty p { font-size: .78rem; }
  .combat-video-header { flex-direction: column; align-items: flex-start; gap: .7rem; margin-bottom: 1rem; }
  .combat-expand { width: 100%; padding-inline: .5rem; }
  .combat-hint { margin-top: .8rem; font-size: .76rem; }
  .video-placeholder { padding: .55rem; }
  .video-placeholder p { font-size: .72rem; }
}

@media (max-width: 350px) {
  .combat-heading h1 { font-size: 1.4rem; }
  .combat-details { padding: .65rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .combat-dialog[open] { animation: combat-dialog-enter .2s ease-out; }
  .combat-dialog[open]::backdrop { animation: combat-backdrop-enter .2s ease-out; }
  @keyframes combat-dialog-enter { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
  @keyframes combat-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.3,1); }.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

.updates-section[hidden] { display: none; }
.updates-section { padding-block: 70px; }
.updates-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.updates-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.updates-heading > span { color: var(--dim); font-size: .78rem; }
.announcement-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.announcement { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: #ffffff02; overflow-wrap: anywhere; }
.announcement time { display: block; margin-bottom: 15px; color: #b49ecb; font: .67rem Consolas, monospace; }
.announcement h3 { margin-bottom: 12px; font-size: 1.05rem; line-height: 1.6; }
.announcement p { margin: 0; color: var(--muted); font-size: .85rem; white-space: pre-wrap; }

@media (min-width: 721px) and (max-width: 980px) {
  .site-nav { position: absolute; top: calc(100% + .65rem); right: 24px; display: grid; width: 260px; gap: .2rem; padding: .7rem; border: 1px solid var(--line); border-radius: 14px; background: #131019f5; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-9px); transition: opacity .2s ease, transform .2s ease; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a:not(.nav-cta) { padding: .7rem .75rem; border-radius: 8px; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: grid; width: 40px; height: 40px; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 9px; background: #1d192480; cursor: pointer; }
  .nav-toggle > span:not(.sr-only) { display: block; width: 16px; height: 1px; background: currentColor; }
}
@media (max-width: 720px) {
  .announcement-list { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero-layout, .experience-layout { grid-template-columns: 1fr; }.hero-layout { min-height: auto; padding-top: 5.5rem; }.hero-copy { max-width: 750px; }.section-heading, .compatibility-head { grid-template-columns: 1fr; gap: .8rem; }.section-heading > p, .compatibility-head > p { margin-top: 0; }.feature-grid { grid-template-columns: repeat(2, 1fr); }.feature-card-main, .feature-card-visual { grid-column: span 1; }.compatibility-grid { grid-template-columns: repeat(2, 1fr); }.faq-layout { grid-template-columns: 1fr; }.faq-intro { position: static; }.get-panel { grid-template-columns: 1fr; }.footer-inner { grid-template-columns: 1fr; justify-items: start; }.footer-inner p:nth-child(2) { text-align: left; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 32px, 1180px); --header-height: 66px; }.section { padding: 88px 0; }.site-nav { position: absolute; top: calc(100% + .65rem); right: 1rem; left: 1rem; display: grid; gap: .2rem; padding: .7rem; border: 1px solid rgba(220, 205, 255, .17); border-radius: 14px; background: rgba(19, 16, 25, .96); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-9px); transition: opacity .2s ease, transform .2s ease; }.site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }.site-nav a:not(.nav-cta) { padding: .7rem .75rem; border-radius: 8px; }.site-nav a:not(.nav-cta):hover { background: rgba(255,255,255,.05); }.nav-cta { margin-top: .3rem; text-align: center; }.nav-toggle { display: grid; width: 40px; height: 40px; place-content: center; gap: 5px; padding: 0; color: var(--text); border: 1px solid rgba(221, 209, 247, .22); border-radius: 9px; background: rgba(29, 25, 36, .5); cursor: pointer; }.nav-toggle > span:not(.sr-only) { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .2s ease; }.nav-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3px) rotate(45deg); }.nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }.hero { min-height: auto; }.hero-layout { gap: 3rem; padding-top: 4rem; padding-bottom: 5rem; }.hero-specs { gap: .85rem; }.hero-specs li { padding-left: .62rem; }.scroll-cue { display: none; }.feature-grid { grid-template-columns: 1fr; }.feature-card { min-height: 280px; }.experience-layout { gap: 2rem; }.interface-demo { padding: .2rem; }.demo-content { min-height: 295px; }.compatibility-grid { grid-template-columns: 1fr; }.compat-card { min-height: 205px; }.compat-number { margin-bottom: 1.7rem; }.get-section { padding-block: 25px; }.get-panel { padding: 1.4rem; }.faq-list summary { padding-block: 1.08rem; }.site-footer { padding: 2rem 0; }
}

@media (max-width: 440px) { .hero h1 { font-size: clamp(2rem, 10vw, 2.75rem); }.hero-actions { display: grid; }.button { width: 100%; }.hero-specs { display: grid; grid-template-columns: 1fr 1fr; }.hero-specs li:last-child { grid-column: span 2; }.demo-content { grid-template-columns: 47px 1fr; }.demo-rail i { width: 19px; height: 19px; }.demo-main { padding: 1rem; }.demo-footer { font-size: .5rem; } }

/* The public site uses the same restrained surfaces and violet accents as the console. */
.home-page { --hero-bg: #0b0a0e; background: var(--hero-bg); }
.home-page .hero { min-height: 100vh; min-height: 100dvh; background-color: var(--hero-bg); }
.home-page .hero-layout { min-height: calc(100vh - var(--header-height)); min-height: calc(100dvh - var(--header-height)); padding: clamp(70px, 11vh, 150px) 0 clamp(90px, 12vh, 160px); }
.site-header { top: 16px; left: 50%; width: var(--shell); height: 64px; border: 1px solid #ffffff10; border-radius: 13px; background: #111015bd; backdrop-filter: blur(18px); transform: translateX(-50%); box-shadow: 0 8px 30px #00000015; }
.site-header.is-scrolled { border-color: #ffffff16; background: #111015eb; }
.header-inner { width: 100%; padding-inline: 21px; }
.site-nav { gap: clamp(1rem, 1.8vw, 1.7rem); color: #b8b0c2; font-size: .8rem; font-weight: 550; }
.nav-account { min-width: 52px; text-align: center; border-color: #ffffff19; background: #ffffff03; }
.nav-cta { border-radius: 8px; padding: .5rem .8rem; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 5px 16px #d0bcff1a; }
.hero-copy { max-width: 900px; }
.hero h1 { position: relative; isolation: isolate; font-size: clamp(3rem, 8.2vw, 7.1rem); margin-bottom: 38px; letter-spacing: -.065em; line-height: 1.12; }
.hero h1::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 118%;
  height: clamp(160px, 28vw, 330px);
  content: '';
  pointer-events: none;
  opacity: .55;
  background:
    radial-gradient(ellipse 28% 32% at 36% 50%, rgba(177, 148, 235, .18) 0%, rgba(141, 113, 192, .11) 32%, rgba(113, 91, 150, .05) 56%, rgba(113, 91, 150, 0) 85%),
    radial-gradient(ellipse 36% 30% at 63% 52%, rgba(231, 222, 245, .06) 0%, rgba(188, 170, 215, .025) 42%, rgba(188, 170, 215, 0) 88%),
    radial-gradient(ellipse 65% 53% at 47% 52%, rgba(126, 107, 166, .07) 0%, rgba(103, 84, 141, .022) 52%, rgba(103, 84, 141, 0) 84%);
  filter: blur(clamp(18px, 3vw, 32px));
  /* Fade the blurred surface itself to zero before its bounds, revealing the exact backdrop. */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 35%, rgba(0, 0, 0, .82) 50%, rgba(0, 0, 0, .38) 65%, rgba(0, 0, 0, .07) 77%, transparent 87%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 35%, rgba(0, 0, 0, .82) 50%, rgba(0, 0, 0, .38) 65%, rgba(0, 0, 0, .07) 77%, transparent 87%);
  mask-mode: alpha;
  transform: translate(-50%, -50%);
}
.hero h1 em { color: #fff; }
.home-page :focus-visible, .admin-page :focus-visible { outline: 2px solid #c7aff0; outline-offset: 4px; }
.hero-grid { opacity: .19; background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 38%, #000 8%, transparent 72%); }
.hero::after { position: absolute; bottom: 0; left: 50%; width: var(--shell); height: 1px; content: ''; background: linear-gradient(90deg, transparent, #ffffff12, transparent); transform: translateX(-50%); }
.hero-specs { display: inline-grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: min(450px, 100%); margin-bottom: 36px; }
.hero-specs li { gap: 6px; padding: 0 18px; border-left: 0; }
.hero-specs li + li { border-left: 1px solid #ffffff12; }
.hero-specs li:last-child { grid-column: auto; }
.hero-specs strong { color: #d9cfE8; font-size: .85rem; font-weight: 550; }
.hero-specs span { color: #8f859c; font-size: .7rem; }
.hero-actions { gap: 10px; }
.hero-actions .button { min-height: 50px; padding: .75rem 1.3rem; font-size: .84rem; border-radius: 9px; }
.button-primary { box-shadow: 0 5px 20px #a67eff20, inset 0 1px #ffffff30; }
.button-primary:hover { box-shadow: 0 8px 26px #a67eff30; }
.button-ghost { border-color: #ffffff1c; background: #ffffff03; }
.button:hover { transform: translateY(-2px); }
.scroll-cue { bottom: 26px; color: #81798f; font-size: .55rem; letter-spacing: .16em; }
.home-page .section { padding-block: 112px; scroll-margin-top: 100px; }
.home-page .section h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); line-height: 1.2; letter-spacing: -.035em; }
.eyebrow { margin-bottom: 18px; color: #a593c0; font-size: .6rem; font-weight: 500; letter-spacing: .16em; }
.eyebrow span { width: 18px; box-shadow: none; }
.experience-section { border: 0; background: #101216; overflow: clip; }
.experience-section::before { content: none; }
.experience-layout { grid-template-columns: minmax(0, 1.65fr) minmax(240px, .9fr); gap: clamp(24px, 4vw, 64px); }
.experience-copy { position: relative; z-index: 1; }
.experience-copy > p:not(.eyebrow) { color: #a9a1b4; font-size: .91rem; line-height: 1.9; }
.flow-list { margin-top: 30px; gap: 0; }
.flow-list li { padding-block: 17px; }
.flow-list strong { font-size: .86rem; font-weight: 600; }
.flow-list p { color: #92899e; font-size: .76rem; margin-top: 5px; }
.interface-demo { position: relative; isolation: isolate; width: 100%; height: clamp(350px, 40vw, 510px); min-width: 0; padding: 0; pointer-events: none; }
.interface-ground { position: absolute; z-index: -1; bottom: -60px; left: -18%; display: block; width: 204%; height: 400px; opacity: .62; mask-image: radial-gradient(ellipse 58% 64% at 50% 58%, #000 24%, #0009 52%, transparent 88%); }
.interface-panel-position { position: absolute; top: 12%; left: 50%; width: 584px; height: 324px; translate: -50% 0; scale: var(--preview-scale, 1); }
.interface-panel-motion, .interface-panel-angle { position: relative; width: 100%; height: 100%; }
.interface-panel-angle { isolation: isolate; transform: perspective(1400px) rotateY(24deg); filter: blur(.12px); }
.interface-panel-angle::before { position: absolute; z-index: -1; inset: -3px; border-radius: 10px; content: ''; pointer-events: none; background: linear-gradient(145deg, #d0bcff18, transparent 38%, #d0bcff06); filter: blur(12px); }
.interface-panel-angle::after { position: absolute; inset: 0; content: ''; pointer-events: none; border: 1px solid #d0bcff40; border-bottom-color: #d0bcff14; border-radius: 8px; background: linear-gradient(115deg, #d0bcff0b, transparent 38%, #d0bcff04 70%, transparent); box-shadow: inset 0 1px #e7ddff38; opacity: .55; }
.interface-panel-angle .ec-panel { top: 0; left: 0; translate: none; scale: 1; box-shadow: 0 28px 60px #00000070, 0 0 18px #d0bcff08; }
.home-page .experience-copy h2 { margin-bottom: 24px; font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.experience-copy-angle { width: fit-content; transform: none; }
.experience-launch { min-width: 200px; min-height: 52px; }
.experience-launch svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .interface-demo.is-visible .interface-panel-motion { animation: interface-float 10s ease-in-out infinite; animation-play-state: paused; }
  .interface-demo.is-visible .interface-panel-angle::after { animation: interface-light 12s ease-in-out infinite; animation-play-state: paused; }
  .interface-demo .ec-panel::before { animation-play-state: paused; }
  .interface-demo[data-scene-active="true"] .interface-panel-motion, .interface-demo[data-scene-active="true"] .interface-panel-angle::after, .interface-demo[data-scene-active="true"] .ec-panel::before { animation-play-state: running; }
  @keyframes interface-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
  @keyframes interface-light { 0%, 100% { opacity: .45; } 50% { opacity: .7; } }
}
.demo-glow { opacity: .3; }
.demo-window { border-color: #ffffff19; border-radius: 13px; background: #17141c; box-shadow: 0 25px 60px #00000040; }
.demo-titlebar { height: 42px; background: #111015; }
.demo-titlebar span { width: 5px; height: 5px; background: #4e455a !important; }
.demo-titlebar b { color: #9c90ad; font-weight: 400; font-size: .61rem; }
.demo-content { min-height: 310px; grid-template-columns: 56px minmax(0, 1fr); }
.demo-rail { gap: 18px; background: #131016; }
.demo-rail i { width: 20px; height: 20px; border-radius: 6px; border-color: #4a4056; background: transparent; }
.demo-rail .is-selected { border-color: #b19acb; background: #d0bcff19; box-shadow: none; }
.demo-main { padding: 28px 25px; }
.demo-section-label { margin-bottom: 17px; color: #b2a6c3; font-size: .69rem; }
.demo-module-row { min-height: 46px; padding: 10px 12px; border-color: #ffffff0b; background: #ffffff02; font-size: .73rem; }
.demo-toggle { width: 26px; height: 16px; background: #39323f; }
.demo-toggle i { width: 10px; height: 10px; background: #9b8ba9; }
.demo-toggle.is-on { background: #aa8fd0; }
.demo-toggle.is-on i { background: #f6ecff; }
.demo-launch { display: flex; align-items: center; justify-content: space-between; min-height: 40px; margin-top: 18px; color: #bdabd6; font-size: .68rem; }
.demo-launch svg { width: 16px; height: 16px; transition: transform .18s; }
.demo-launch:hover { color: #e3d2fb; }
.demo-launch:hover svg { transform: translateX(3px); }
.demo-footer { padding: 11px 15px; color: #786c88; background: #131016; font-size: .58rem; }
.compatibility-section { background: #0b0a0e; }
.compatibility-head { display: block; margin-bottom: 32px; }
.compatibility-head > p { margin-top: 0; }
.compat-card { min-height: 218px; padding: 24px; background: #111015; }
.compat-number { margin-bottom: 44px; color: #9682b0; }
.compat-card h3 { font-size: .96rem; font-weight: 550; }
.compat-card p { color: #938a9f; font-size: .78rem; line-height: 1.8; }
.compat-card strong { color: #bfb4ce; font-weight: 500; }
.home-page .get-section { padding-block: 28px; }
.get-panel { padding: 42px 44px; border-radius: 14px; border-color: #d0bcff1c; background: radial-gradient(ellipse at 100% 0, #d0bcff0c, transparent 65%), #131016; box-shadow: none; }
.get-panel > div > p:not(.eyebrow) { max-width: 490px; color: #a69bb3; font-size: .86rem; line-height: 1.9; }
.get-actions { justify-items: end; gap: 14px; }
.get-actions > p { color: #81748f; font-size: .68rem; }
.availability-badge { color: #ae9cc3; border-color: #ffffff13; background: transparent; font-size: .66rem; }
.availability-badge i { width: 4px; height: 4px; box-shadow: none; background: #aa91ca; }
.faq-intro { top: 125px; }
.faq-intro > p:not(.eyebrow) { color: #958aa2; font-size: .86rem; }
.faq-list summary { padding: 22px 0; font-size: .89rem; font-weight: 550; }
.faq-list summary span { color: #a28bbf; font-size: 1.2rem; }
.faq-list details p { padding-bottom: 23px; color: #a69bb1; font-size: .82rem; line-height: 1.9; }
.faq-list summary:hover { color: #ddcaff; }
.announcement { border-radius: 12px; background: #111015; }
.site-footer { padding-block: 30px; background: #0b0a0e; }
.footer-inner p { color: #81748e; font-size: .64rem; }
@media (max-width: 980px) {
  .experience-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .interface-demo { width: min(720px, 100%); margin-inline: auto; }
  .experience-copy { text-align: center; }
  .experience-copy-angle { margin-inline: auto; }
  .experience-launch { width: auto; }
  .hero-layout { min-height: 600px; padding-block: 100px; }
  .site-nav { left: auto; right: 0; width: 260px; background: #141119fa; }
  .get-actions { justify-items: start; }
}
@media (max-width: 720px) {
  .site-header { top: 12px; height: 58px; border-radius: 11px; }
  .header-inner { padding-inline: 15px; }
  .site-nav { left: 0; right: 0; width: auto; }
  .nav-toggle { width: 38px; height: 38px; border-color: transparent; background: transparent; }
  .hero { min-height: auto; }
  .hero-layout { min-height: 540px; padding: 95px 0 88px; }
  .hero h1 { margin-bottom: 30px; font-size: clamp(2.6rem, 11.5vw, 4.5rem); }
  .hero-specs { margin-bottom: 30px; }
  .hero-specs li { padding-inline: 9px; }
  .hero-specs strong { font-size: .75rem; }
  .hero-specs span { font-size: .6rem; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(320px, 100%); margin-inline: auto; }
  .hero-actions .button-primary { grid-column: 1 / -1; }
  .hero-actions .button { min-height: 46px; width: 100%; padding-inline: 10px; font-size: .78rem; }
  .interface-demo { height: clamp(260px, 76vw, 420px); }
  .interface-ground { bottom: -50px; left: -12%; width: 186%; height: 300px; }
  .interface-panel-position { --preview-scale: .49; top: 10%; }
  .experience-layout { gap: 26px; }
  .experience-copy h2 { margin-bottom: 22px; }
  .home-page .section { padding-block: 72px; }
  .compatibility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compat-card { min-height: 180px; padding: 20px 17px; }
  .compat-number { margin-bottom: 25px; }
  .get-panel { padding: 27px 23px; gap: 28px; }
  .home-page .get-section { padding-block: 16px; }
  .demo-main { padding: 23px 19px; }
  .demo-content { grid-template-columns: 44px minmax(0, 1fr); }
}
@media (max-width: 440px) { .interface-panel-position { --preview-scale: .41; } }
@media (max-height: 600px) and (min-width: 721px) {
  .home-page .hero-layout { padding: 32px 0 72px; }
  .hero h1 { font-size: clamp(3rem, 7.3vw, 6rem); margin-bottom: 22px; }
  .hero-specs { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } .interface-panel-angle { filter: none; } }
