:root {
  color-scheme: dark;
  --void: #08090a;
  --carbon: #0f1011;
  --obsidian: #161718;
  --graphite: #23252a;
  --smoke: #383b3f;
  --ash: #62666d;
  --fog: #8a8f98;
  --mist: #d0d6e0;
  --bone: #e5e5e6;
  --paper: #ffffff;
  --lime: #e4f222;
  --green: #27a644;
  --red: #eb5757;
  --teal: #02b8cc;
  --violet: #663af3;
  --midnight: #05060f;
  --frost: #d1e4fa;
  --moon: #c7d3ea;
  --edge: rgba(186, 215, 247, 0.12);
  --font-sans: "Inter Variable", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Berkeley Mono", "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --page: 1200px;
  --header-height: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--void); color: var(--mist); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; font-feature-settings: "cv01" on, "ss03" on, "zero" on; -webkit-font-smoothing: antialiased; }
body.route-app { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.hidden { display: none !important; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: -0.013em; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 14px; background: var(--paper); color: var(--void); border-radius: 6px; transform: translateY(-160%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(calc(100% - 48px), var(--page)); margin-inline: auto; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-height); background: rgba(8, 9, 10, 0.78); border-bottom: 1px solid rgba(255, 255, 255, 0.055); backdrop-filter: blur(18px); transition: background 180ms ease, border-color 180ms ease; }
.site-header.scrolled { background: rgba(8, 9, 10, 0.94); border-color: var(--graphite); }
.site-header.is-app-route { display: none; }
.nav-shell { width: min(calc(100% - 48px), var(--page)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--paper); font-size: 15px; font-weight: 590; letter-spacing: 0.02em; white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; fill: currentColor; }
.brand-build { margin-left: 1px; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); color: var(--fog); font-family: var(--font-mono); font-size: 9px; font-weight: 400; letter-spacing: 0.04em; }
.desktop-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.desktop-nav a, .nav-link { position: relative; padding: 8px 12px; color: var(--mist); font-size: 13px; letter-spacing: -0.01em; }
.desktop-nav a::after, .nav-link::after { content: ""; position: absolute; right: 12px; bottom: 4px; left: 12px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 160ms ease; }
.desktop-nav a:hover::after, .nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions, .guest-actions, .user-actions { display: flex; align-items: center; gap: 4px; }
.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 510; letter-spacing: -0.011em; transition: transform 140ms ease, color 140ms ease, background 140ms ease, border-color 140ms ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 34px; padding: 7px 14px; font-size: 13px; }
.button-primary { background: var(--lime); color: var(--void); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), inset 0 -1px rgba(0, 0, 0, 0.16); }
.button-primary:hover { background: #f0fb45; }
.button-primary:disabled { background: var(--ash); color: var(--graphite); cursor: wait; }
.button-light { background: var(--paper); color: var(--void); border-radius: 9999px; }
.button-light:hover { background: var(--bone); }
.button-outline { background: transparent; color: var(--mist); border-color: var(--graphite); }
.button-outline:hover { background: rgba(255, 255, 255, 0.035); border-color: var(--smoke); }
.button-warn { color: #d9b95c; }
.button-danger { color: #f17b7b; }
.icon-button, .menu-button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.icon-button:hover, .menu-button:hover { background: rgba(255, 255, 255, 0.05); }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu-button { display: none; }
.menu-button span { width: 18px; height: 1px; background: currentColor; transition: transform 160ms ease; }
.menu-button span + span { margin-top: -11px; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { padding: 12px 24px 20px; background: rgba(8, 9, 10, 0.98); border-bottom: 1px solid var(--graphite); }
.mobile-menu a { display: block; padding: 10px 0; color: var(--mist); font-size: 14px; }

.hero { min-height: 790px; padding-top: calc(var(--header-height) + 130px); display: grid; grid-template-columns: minmax(0, 850px) minmax(180px, 1fr); align-items: center; gap: 72px; }
.hero::before { content: ""; position: absolute; z-index: -1; top: 0; left: 50%; width: min(100vw, 1500px); height: 760px; transform: translateX(-50%); background: radial-gradient(ellipse at 32% 0%, rgba(228, 242, 34, 0.055), transparent 38%), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 96px 96px, 96px 96px; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px; color: var(--fog); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.01em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(228, 242, 34, 0.08); }
.hero-copy { min-width: 0; }
.hero h1 { margin-bottom: 30px; color: var(--paper); font-size: clamp(58px, 7.2vw, 96px); font-weight: 510; line-height: 0.94; letter-spacing: -0.055em; overflow-wrap: anywhere; }
.hero h1 span { color: var(--fog); }
.hero-copy > p { max-width: 590px; margin-bottom: 30px; color: var(--fog); font-size: 17px; line-height: 1.65; letter-spacing: -0.011em; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--mist); font-size: 14px; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translate(3px, -1px); }
.hero-meta { display: flex; gap: 34px; margin-top: 80px; color: var(--ash); font-family: var(--font-mono); font-size: 11px; }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta b { color: var(--smoke); font-weight: 400; }
.hero-side-note { align-self: end; max-width: 195px; margin-bottom: 128px; padding-left: 16px; border-left: 1px solid var(--graphite); }
.hero-side-note span { color: var(--ash); }
.hero-side-note p { margin: 12px 0 0; color: var(--fog); font-size: 13px; line-height: 1.6; }

.showcase { position: relative; padding-bottom: 128px; }
.showcase-glow { position: absolute; z-index: -1; inset: 12% -10% 0; background: linear-gradient(to bottom, rgba(208, 214, 224, 0.11), rgba(8, 9, 10, 0) 72%); filter: blur(40px); }
.product-frame { overflow: hidden; border-radius: 12px; background: var(--carbon); box-shadow: inset 0 0 0 1px var(--graphite), 0 32px 100px rgba(0, 0, 0, 0.4); }
.product-toolbar { height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--graphite); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--smoke); }
.product-path { color: var(--ash); }
.product-status { justify-self: end; display: flex; align-items: center; gap: 7px; color: var(--fog); font-family: var(--font-mono); font-size: 10px; }
.product-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.screenshot-slot { position: relative; min-height: 520px; margin: 12px; overflow: hidden; border-radius: 6px; background: #070809; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.screenshot-slot img, .screenshot-slot video { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.screenshot-slot video { display: block; }
.screenshot-label { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; background: rgba(8,9,10,.82); color: var(--fog); backdrop-filter: blur(12px); font-size: 10px; }
.screenshot-label .mono { color: var(--mist); font-size: 9px; }
.showcase-caption { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 28px 8px 0; }
.showcase-caption p { margin: 0; color: var(--paper); font-size: 20px; font-weight: 590; line-height: 1.3; letter-spacing: -0.012em; }
.showcase-caption > span { max-width: 440px; color: var(--fog); font-size: 14px; line-height: 1.65; }

.feature-section, .updates-section { padding-block: 96px; border-top: 1px solid var(--graphite); }
.section-index { margin-bottom: 64px; color: var(--ash); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 80px; align-items: end; margin-bottom: 96px; }
.section-heading h2, .updates-head h2, .final-cta h2 { margin: 0; color: var(--paper); font-size: clamp(44px, 5.1vw, 66px); font-weight: 510; line-height: 1; letter-spacing: -0.045em; }
.section-heading p { margin: 0; color: var(--fog); font-size: 16px; line-height: 1.65; }
.feature-story { min-height: 520px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--graphite); }
.feature-story-wide { min-height: 0; display: block; padding-block: 72px; }
.feature-story-wide .story-copy { width: 100%; }
.story-wide-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(48px, 8vw, 128px); align-items: end; }
.story-wide-heading h3 { max-width: 760px; margin: 0; font-size: clamp(40px, 5vw, 68px); }
.story-wide-heading p { max-width: 560px; margin: 0; color: var(--fog); font-size: 16px; line-height: 1.75; }
.feature-story-reverse { grid-template-columns: 1.2fr .8fr; }
.feature-story-reverse .story-copy { order: 2; }
.feature-kicker { display: block; margin-bottom: 22px; color: var(--ash); font-family: var(--font-mono); font-size: 11px; }
.story-copy h3 { margin-bottom: 18px; color: var(--paper); font-size: 32px; font-weight: 400; line-height: 1.13; letter-spacing: -0.022em; }
.story-copy > p { max-width: 470px; margin-bottom: 26px; color: var(--fog); font-size: 15px; line-height: 1.7; }
.check-list { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--graphite); }
.check-list-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-bottom: 1px solid var(--graphite); }
.check-list-wide li { min-height: 76px; padding: 18px 24px 18px 0; border-right: 1px solid var(--graphite); border-bottom: 0; }
.check-list-wide li + li { padding-left: 24px; }
.check-list-wide li:last-child { border-right: 0; }
.check-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--graphite); color: var(--mist); font-size: 13px; }
.check-list span { color: var(--ash); font-family: var(--font-mono); font-size: 10px; }
.module-visual { width: min(100%, 580px); justify-self: end; overflow: hidden; border-radius: 12px; background: var(--carbon); box-shadow: inset 0 0 0 1px var(--graphite); }
.feature-media { position: relative; min-height: 430px; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(228,242,34,.09), transparent 55%), var(--carbon); box-shadow: inset 0 0 0 1px var(--graphite), 0 30px 80px rgba(0,0,0,.28); }
.feature-media img { width: 100%; height: 100%; min-height: 430px; object-fit: contain; }
.hud-media img { object-fit: cover; }
.visual-top { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--graphite); }
.visual-top > span:first-child { color: var(--paper); font-size: 18px; font-weight: 590; }
.visual-top .mono { color: var(--ash); font-size: 10px; }
.module-row { display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; align-items: center; padding: 16px 24px; border-bottom: 1px solid rgba(35,37,42,.75); }
.module-row > i { width: 9px; height: 9px; border: 1px solid var(--smoke); border-radius: 2px; }
.module-row > div { display: grid; gap: 2px; }
.module-row b { color: var(--mist); font-size: 14px; font-weight: 510; }
.module-row small { color: var(--ash); font-size: 11px; }
.module-row > span { color: var(--ash); font-family: var(--font-mono); font-size: 10px; }
.module-row.active { background: rgba(255,255,255,.018); }
.module-row.active > i { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 0 3px rgba(228,242,34,.06); }
.module-row.active > span { color: var(--lime); }
.visual-footer { display: flex; justify-content: space-between; align-items: center; margin: 12px; padding: 10px 12px; border: 1px solid var(--graphite); border-radius: 6px; color: var(--ash); font-size: 12px; }
kbd { padding: 2px 6px; border: 1px solid var(--graphite); border-radius: 4px; background: var(--obsidian); color: var(--fog); font-family: var(--font-mono); font-size: 9px; font-weight: 400; }
.hud-visual { position: relative; min-height: 430px; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 52% 36%, rgba(255,255,255,.06), transparent 4%), linear-gradient(135deg, #16191c, #090a0b 55%, #121415); box-shadow: inset 0 0 0 1px var(--graphite); }
.hud-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(circle, black, transparent 80%); }
.hud-crosshair { position: absolute; top: 42%; left: 52%; width: 17px; height: 17px; transform: translate(-50%, -50%); }
.hud-crosshair::before, .hud-crosshair::after { content: ""; position: absolute; background: rgba(255,255,255,.65); }
.hud-crosshair::before { top: 8px; left: 0; width: 17px; height: 1px; }
.hud-crosshair::after { top: 0; left: 8px; width: 1px; height: 17px; }
.hud-card { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; background: rgba(8,9,10,.78); backdrop-filter: blur(12px); }
.hud-target { right: 26px; bottom: 28px; min-width: 210px; display: flex; gap: 11px; padding: 12px; }
.avatar-block { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 4px; background: var(--mist); color: var(--void); font-weight: 590; }
.hud-target > div:last-child { flex: 1; display: grid; }
.hud-target b, .hud-binds b { color: var(--paper); font-size: 12px; font-weight: 510; }
.hud-target span { color: var(--fog); font-size: 10px; }
.hud-target i { height: 3px; overflow: hidden; border-radius: 3px; background: var(--graphite); }
.hud-target em { display: block; width: 74%; height: 100%; background: var(--lime); }
.hud-binds { top: 26px; left: 26px; min-width: 155px; display: grid; gap: 9px; padding: 12px; }
.hud-binds > span { display: grid; grid-template-columns: 7px 1fr auto; gap: 7px; align-items: center; color: var(--fog); font-size: 10px; }
.hud-binds i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.hud-coords { position: absolute; bottom: 28px; left: 26px; color: rgba(255,255,255,.45); font-size: 9px; }

.security-section { padding-block: 112px; background: var(--carbon); border-block: 1px solid var(--graphite); }
.security-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.section-heading-left { display: block; margin: 0; }
.section-heading-left h2 { margin-bottom: 26px; }
.section-heading-left p { max-width: 470px; }
.security-flow { position: relative; display: grid; gap: 0; }
.flow-line { position: absolute; top: 24px; bottom: 24px; left: 20px; width: 1px; background: var(--graphite); }
.flow-item { position: relative; z-index: 1; display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 0 0 38px; }
.flow-item > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--graphite); border-radius: 50%; background: var(--carbon); color: var(--fog); font-family: var(--font-mono); font-size: 10px; }
.flow-item b { display: block; margin: 2px 0 4px; color: var(--paper); font-size: 16px; font-weight: 510; }
.flow-item p { max-width: 390px; margin: 0; color: var(--fog); font-size: 14px; line-height: 1.6; }
.trust-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--graphite); color: var(--ash); font-family: var(--font-mono); font-size: 10px; }
.trust-strip i { flex: 1; height: 1px; background: var(--graphite); }

.updates-section { padding-top: 112px; }
.updates-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 80px; }
.release-list { border-top: 1px solid var(--graphite); }
.release-row { display: grid; grid-template-columns: 145px 1fr auto; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--graphite); transition: background 140ms ease; }
.release-row:hover { background: rgba(255,255,255,.012); }
.release-row time, .release-version { color: var(--ash); font-size: 11px; }
.release-row h3 { margin: 5px 0 8px; color: var(--mist); font-size: 18px; font-weight: 510; }
.release-row p { max-width: 620px; margin: 0; color: var(--fog); font-size: 14px; }
.release-version { align-self: start; }
.release-badge { display: inline-block; padding: 2px 6px; border-radius: 4px; background: rgba(228,242,34,.1); color: var(--lime); font-family: var(--font-mono); font-size: 9px; }
.final-cta { min-height: 620px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 64px; text-align: center; border-top: 1px solid var(--graphite); background: radial-gradient(ellipse at 50% 70%, rgba(228,242,34,.06), transparent 36%); }
.final-cta > span { margin-bottom: 30px; color: var(--ash); }
.final-cta h2 { margin-bottom: 24px; }
.final-cta p { margin-bottom: 28px; color: var(--fog); }
.site-footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-block: 64px 28px; border-top: 1px solid var(--graphite); }
.footer-main p { margin: 20px 0 0; color: var(--ash); font-size: 13px; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links > span { margin-bottom: 8px; color: var(--ash); font-family: var(--font-mono); font-size: 9px; }
.footer-links a { color: var(--fog); font-size: 13px; }
.footer-links a:hover { color: var(--paper); }
.footer-bottom { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--graphite); color: var(--ash); font-family: var(--font-mono); font-size: 9px; }

.auth-view { position: relative; min-height: 100vh; overflow: hidden; background: var(--midnight); color: var(--frost); }
.auth-grid { position: fixed; inset: 0; background: linear-gradient(rgba(186,215,247,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(186,215,247,.045) 1px, transparent 1px); background-size: 84px 84px; mask-image: radial-gradient(circle at center, black, transparent 82%); pointer-events: none; }
.auth-halo { position: fixed; top: -300px; left: 50%; width: 950px; height: 700px; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 50%, transparent 42%, rgba(124,145,182,.35) 49%, rgba(124,145,182,.5) 50%, rgba(124,145,182,.2) 51%, transparent 58%); filter: blur(30px); opacity: .65; pointer-events: none; }
.auth-shell { position: relative; z-index: 1; width: min(calc(100% - 48px), 1100px); min-height: 100vh; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 100px; align-items: center; padding: 96px 0 72px; }
.auth-back { position: absolute; top: 28px; left: 0; padding: 8px 0; color: var(--moon); font-size: 13px; }
.auth-intro { position: relative; }
.auth-eyebrow { display: grid; grid-template-columns: minmax(28px, 90px) auto minmax(28px, 90px); gap: 12px; align-items: center; width: fit-content; margin-bottom: 32px; color: var(--moon); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; }
.auth-eyebrow span { height: 1px; background: linear-gradient(90deg, transparent, var(--edge)); }
.auth-eyebrow span:last-child { background: linear-gradient(90deg, var(--edge), transparent); }
.auth-intro h1 { margin-bottom: 24px; background: linear-gradient(0deg, #98c0ef, #d8ecf8); background-clip: text; color: transparent; font-size: clamp(52px, 6vw, 78px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.auth-intro > p { max-width: 480px; color: var(--moon); font-size: 16px; line-height: 1.6; }
.floating-access-card { position: absolute; width: 150px; display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: rgba(5,6,15,.92); box-shadow: inset 0 1px 1px rgba(216,236,248,.18), inset 0 24px 48px rgba(168,216,245,.05), 0 16px 32px rgba(0,0,0,.3); }
.floating-access-card span { color: var(--fog); font-size: 9px; }
.floating-access-card b { color: var(--paper); font-size: 14px; font-weight: 500; }
.floating-access-card i { height: 2px; margin-top: 4px; background: linear-gradient(90deg, var(--moon) 72%, rgba(199,211,234,.12) 72%); }
.floating-card-left { bottom: -135px; left: 10%; transform: rotate(-4deg); }
.floating-card-right { right: 2%; bottom: -95px; transform: rotate(5deg); }
.auth-card { position: relative; border-radius: 16px; padding: 28px; background: rgba(5,6,15,.97); box-shadow: inset 0 1px 1px rgba(216,236,248,.2), inset 0 24px 48px rgba(168,216,245,.06), 0 24px 56px rgba(0,0,0,.38); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 28px; padding: 4px; border-radius: 999px; background: rgba(199,211,234,.05); box-shadow: inset 0 0 0 1px var(--edge); }
.auth-tabs button { padding: 9px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--moon); cursor: pointer; font-size: 13px; }
.auth-tabs button[aria-selected="true"] { background: rgba(199,211,234,.1); color: var(--paper); box-shadow: inset 0 0 0 1px var(--edge); }
.auth-form { display: grid; }
.form-heading { margin-bottom: 22px; }
.form-heading span { display: block; margin-bottom: 5px; color: var(--paper); font-size: 22px; font-weight: 500; }
.form-heading p { margin: 0; color: var(--fog); font-size: 13px; }
.auth-form > label, .settings-form > label, .dialog-input-wrap > span { margin: 0 0 7px; color: var(--moon); font-size: 12px; }
input, select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; background: rgba(255,255,255,.025); color: var(--paper); font-size: 14px; outline: none; transition: border-color 140ms ease, background 140ms ease; }
select { color-scheme: dark; }
input::placeholder { color: var(--ash); }
input:focus, select:focus { border-color: rgba(209,228,250,.5); background: rgba(255,255,255,.04); }
.auth-form > input, .password-field { margin-bottom: 16px; }
.password-field { position: relative; }
.password-field input { padding-right: 60px; }
.password-field button { position: absolute; top: 0; right: 2px; height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--fog); cursor: pointer; font-family: var(--font-mono); font-size: 9px; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.form-row > a { color: var(--moon); font-size: 11px; }
.check-control { display: inline-flex; align-items: center; gap: 8px; color: var(--moon); cursor: pointer; font-size: 11px; }
.check-control input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-control > span { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 4px; background: rgba(199,211,234,.05); box-shadow: inset 0 0 0 1px var(--edge); }
.check-control input:checked + span { background: var(--violet); box-shadow: none; }
.check-control input:checked + span::after { content: ""; width: 7px; height: 4px; border: solid white; border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.terms-control { margin: 1px 0 17px; }
.auth-submit { width: 100%; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border: 0; border-radius: 6px; background: var(--violet); color: var(--paper); cursor: pointer; font-size: 14px; font-weight: 500; transition: filter 140ms ease; }
.auth-submit:hover { filter: brightness(1.1); }
.auth-submit:disabled { opacity: .55; cursor: wait; }
.auth-submit i { font-style: normal; }
.form-error { min-height: 0; color: #ff9a9e; font-size: 11px; }
.form-error:not(:empty) { min-height: 30px; padding-bottom: 10px; }
.auth-foot { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--edge); color: var(--fog); text-align: center; font-size: 11px; }

.app-view { height: 100vh; overflow: hidden; background: var(--void); }
.dashboard-shell { height: 100%; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.dashboard-sidebar { display: flex; flex-direction: column; padding: 24px 14px 16px; border-right: 1px solid var(--graphite); background: var(--carbon); }
.dashboard-sidebar > .brand { margin: 0 10px 42px; }
.dashboard-sidebar nav { display: grid; gap: 3px; }
.side-link { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--fog); cursor: pointer; font-size: 13px; text-align: left; }
.side-link:hover { color: var(--mist); background: rgba(255,255,255,.025); }
.side-link.active { color: var(--paper); background: rgba(255,255,255,.055); box-shadow: inset 2px 0 var(--lime); }
.side-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-bottom { display: grid; gap: 4px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--graphite); }
.sidebar-bottom a, .sidebar-bottom button { padding: 8px 10px; border: 0; background: transparent; color: var(--ash); cursor: pointer; font-size: 12px; text-align: left; }
.sidebar-bottom a:hover, .sidebar-bottom button:hover { color: var(--mist); }
.dashboard-content { overflow-y: auto; padding: 0 max(28px, calc((100vw - 230px - 1040px) / 2)); }
.dashboard-head { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--graphite); }
.dashboard-head .mono { color: var(--ash); }
.dashboard-head h1 { margin: 8px 0 0; color: var(--paper); font-size: 32px; font-weight: 400; letter-spacing: -.022em; }
.account-chip { display: flex; align-items: center; gap: 10px; padding: 7px 11px 7px 7px; border: 1px solid var(--graphite); border-radius: 999px; }
.account-chip > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--void); font-size: 12px; font-weight: 590; }
.account-chip > div { display: grid; min-width: 76px; }
.account-chip b { color: var(--mist); font-size: 11px; font-weight: 510; }
.account-chip small { color: var(--ash); font-family: var(--font-mono); font-size: 9px; }
.account-panel { max-width: 1040px; padding-block: 28px 60px; }
.bootstrap-card { position: relative; isolation: isolate; min-height: 360px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 28px; margin-bottom: 12px; padding: 34px; overflow: hidden; border: 1px solid rgba(228,242,34,.34); border-radius: 12px; background: radial-gradient(circle at 7% 0%, rgba(228,242,34,.12), transparent 31%), linear-gradient(135deg, #11150e 0%, #0b0d0b 52%, #090a0b 100%); box-shadow: inset 0 1px rgba(255,255,255,.055), 0 20px 70px rgba(0,0,0,.32); }
.bootstrap-card::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .42; background: linear-gradient(rgba(228,242,34,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(228,242,34,.055) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.bootstrap-card::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 9px; height: 72px; background: var(--lime); box-shadow: -9px 9px 0 rgba(228,242,34,.58), -18px 18px 0 rgba(228,242,34,.24); }
.bootstrap-card-copy { align-self: center; min-width: 0; }
.bootstrap-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--lime); }
.bootstrap-kicker > span:first-child { width: 9px; height: 9px; background: var(--lime); box-shadow: 9px 0 rgba(228,242,34,.34), 0 9px rgba(228,242,34,.16); }
.bootstrap-kicker .mono { font-size: 10px; letter-spacing: .07em; }
.bootstrap-card h2 { max-width: 520px; margin: 0 0 15px; color: var(--paper); font-size: clamp(32px, 4.2vw, 48px); font-weight: 450; line-height: .98; letter-spacing: -.04em; }
.bootstrap-card-copy > p { max-width: 570px; margin: 0; color: var(--fog); font-size: 14px; line-height: 1.65; }
.bootstrap-card-copy strong { color: var(--mist); font-weight: 590; }
.bootstrap-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; }
.bootstrap-facts span { display: grid; gap: 4px; min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.065); background: rgba(0,0,0,.2); color: var(--fog); font-size: 10px; }
.bootstrap-facts b { color: var(--lime); font-family: var(--font-mono); font-size: 9px; font-weight: 400; }
.bootstrap-console { position: relative; align-self: stretch; display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(6,8,6,.86); box-shadow: inset 0 0 0 4px rgba(255,255,255,.018), 12px 12px 0 rgba(0,0,0,.19); }
.bootstrap-console-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.075); color: var(--ash); }
.bootstrap-console-head .mono { font-size: 8px; }
.bootstrap-console-head > span:last-child { padding: 4px 6px; background: rgba(228,242,34,.1); color: var(--lime); font-family: var(--font-mono); font-size: 8px; }
.bootstrap-console-head > span.missing { background: rgba(235,87,87,.1); color: #f17b7b; }
.bootstrap-pixel-mark { width: 54px; height: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 20px 0 16px; transform: rotate(-2deg); }
.bootstrap-pixel-mark i { background: rgba(228,242,34,.12); }
.bootstrap-pixel-mark i:nth-child(1), .bootstrap-pixel-mark i:nth-child(3), .bootstrap-pixel-mark i:nth-child(5), .bootstrap-pixel-mark i:nth-child(7), .bootstrap-pixel-mark i:nth-child(9) { background: var(--lime); }
.bootstrap-form { display: grid; margin-top: auto; }
.bootstrap-form label { margin-bottom: 7px; color: var(--fog); font-family: var(--font-mono); font-size: 9px; }
.bootstrap-form input { border-color: rgba(228,242,34,.22); background: rgba(228,242,34,.025); font-family: var(--font-mono); font-size: 12px; }
.bootstrap-form input:focus { border-color: rgba(228,242,34,.65); background: rgba(228,242,34,.045); }
.bootstrap-config { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; color: #7eae70; font-size: 9px; }
.bootstrap-config i { width: 5px; height: 5px; background: #75c25f; }
.bootstrap-config.missing { color: #d28686; }
.bootstrap-config.missing i { background: var(--red); }
.bootstrap-form .form-error:not(:empty) { padding: 9px 0 0; }
.bootstrap-submit { width: 100%; justify-content: space-between; margin-top: 14px; border-color: var(--lime); border-radius: 4px; background: var(--lime); color: var(--void); font-weight: 650; }
.bootstrap-submit:hover { background: #f0fb45; }
.bootstrap-submit:disabled { border-color: var(--ash); background: var(--ash); color: var(--graphite); cursor: wait; }
.bootstrap-submit[aria-busy="true"] > i { width: 12px; height: 12px; border: 2px solid currentColor; border-top-color: transparent; animation: bootstrap-spin .7s linear infinite; font-size: 0; }
@keyframes bootstrap-spin { to { transform: rotate(360deg); } }
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-card, .panel-card { border: 1px solid var(--graphite); border-radius: 12px; background: var(--carbon); }
.metric-card { min-height: 150px; padding: 20px; }
.metric-card > span { display: block; margin-bottom: 24px; color: var(--ash); font-family: var(--font-mono); font-size: 9px; }
.metric-card > p { margin: 8px 0 0; color: var(--ash); font-size: 11px; }
.metric-value { display: block; overflow: hidden; color: var(--paper); font-size: 28px; font-weight: 400; letter-spacing: -.022em; text-overflow: ellipsis; white-space: nowrap; }
.metric-small { font-family: var(--font-mono); font-size: 14px; line-height: 2; }
.license-state { display: flex; align-items: center; gap: 9px; }
.license-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--fog); }
.license-state.active i { background: var(--green); box-shadow: 0 0 0 4px rgba(39,166,68,.09); }
.license-state.expired i, .license-state.revoked i { background: var(--red); }
.license-state b { color: var(--paper); font-size: 20px; font-weight: 510; }
.download-banner { min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 12px; padding: 40px; border: 1px solid var(--graphite); border-radius: 12px; background: radial-gradient(circle at 80% 100%, rgba(228,242,34,.065), transparent 40%), var(--carbon); }
.download-banner .mono { color: var(--ash); }
.download-banner h2 { margin: 14px 0 10px; color: var(--paper); font-size: 32px; font-weight: 400; letter-spacing: -.022em; }
.download-banner p { max-width: 530px; margin: 0; color: var(--fog); font-size: 14px; }
.download-banner .button { flex: 0 0 auto; }
.account-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.panel-card { padding: 22px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-title h3, .settings-form h3 { margin: 0; color: var(--paper); font-size: 15px; font-weight: 510; }
.panel-title button, .panel-title a { padding: 0; border: 0; background: transparent; color: var(--fog); cursor: pointer; font-size: 11px; }
.profile-list { margin: 0; }
.profile-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid var(--graphite); font-size: 12px; }
.profile-list dt { color: var(--ash); }
.profile-list dd { margin: 0; overflow: hidden; color: var(--mist); text-overflow: ellipsis; white-space: nowrap; }
.mini-release { display: grid; grid-template-columns: 48px 1fr; gap: 13px; padding: 12px 0; border-top: 1px solid var(--graphite); }
.mini-release > span { color: var(--ash); font-family: var(--font-mono); font-size: 9px; }
.mini-release b { color: var(--mist); font-size: 12px; font-weight: 510; }
.mini-release p { margin: 3px 0 0; color: var(--ash); font-size: 11px; }
.panel-page-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.panel-page-head .mono { color: var(--ash); }
.panel-page-head h2 { margin: 7px 0 0; color: var(--paper); font-size: 32px; font-weight: 400; letter-spacing: -.022em; }
.panel-page-head > p { max-width: 360px; margin: 0; color: var(--fog); font-size: 13px; }
.artifact-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--graphite); border-radius: 12px; background: var(--carbon); }
.artifact-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: var(--mist); color: var(--void); font-size: 20px; font-weight: 590; }
.artifact-card h3 { margin: 0; color: var(--paper); font-size: 16px; font-weight: 510; }
.artifact-card p { margin: 2px 0; color: var(--fog); font-size: 12px; }
.artifact-card .mono { color: var(--ash); font-size: 9px; }
.device-list { display: grid; gap: 10px; }
.device-item, .empty-state { padding: 22px; border: 1px solid var(--graphite); border-radius: 12px; background: var(--carbon); }
.device-item { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.device-item b { display: block; color: var(--paper); font-size: 14px; font-weight: 510; }
.device-item span, .device-item p, .empty-state p { margin: 4px 0 0; color: var(--ash); font-size: 11px; }
.empty-state { text-align: center; }
.empty-state span { color: var(--mist); font-size: 14px; }
.settings-form { max-width: 520px; display: grid; }
.settings-form h3 { margin-bottom: 22px; }
.settings-form input { margin-bottom: 16px; }
.settings-form .button { justify-self: start; margin-top: 4px; }

.admin-view, .media-view { overflow-y: auto; }
.admin-shell { min-height: 100%; }
.media-content { width: min(calc(100% - 48px), 1120px); margin-inline: auto; padding: 58px 0 90px; }
.media-title-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.media-title-row .mono { color: var(--lime); }
.media-title-row h1 { margin: 8px 0; color: var(--paper); font-size: clamp(38px, 5vw, 62px); font-weight: 430; letter-spacing: -.045em; }
.media-title-row p { margin: 0; color: var(--fog); }
.media-live { display: flex; align-items: center; gap: 8px; color: var(--fog); font-family: var(--font-mono); font-size: 10px; }
.media-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(228,242,34,.08); }
.media-metrics { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 12px; margin-bottom: 12px; }
.media-metrics article { min-height: 174px; display: grid; align-content: space-between; padding: 22px; border: 1px solid var(--graphite); border-radius: 12px; background: var(--carbon); }
.media-metrics span { color: var(--ash); font-family: var(--font-mono); font-size: 9px; }
.media-metrics b { color: var(--paper); font-size: 48px; font-weight: 400; line-height: 1; }
.media-metrics small { color: var(--ash); font-size: 10px; }
.media-promo-card { background: radial-gradient(circle at 90% 20%, rgba(228,242,34,.18), transparent 42%), #11130e !important; border-color: rgba(228,242,34,.32) !important; }
.media-promo-card b { color: var(--lime); font-family: var(--font-mono); font-size: clamp(28px, 4vw, 44px); overflow-wrap: anywhere; }
.media-promo-card strong { color: var(--lime); font-size: 17px; }
.media-chart-card, .media-link-card { padding: 26px; border: 1px solid var(--graphite); border-radius: 12px; background: var(--carbon); }
.media-card-head, .media-link-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.media-card-head h2, .media-link-card h2 { margin: 6px 0 0; color: var(--paper); font-size: 22px; font-weight: 480; }
.media-card-head .mono, .media-link-card .mono { color: var(--ash); }
.media-legend { display: flex; gap: 20px; color: var(--fog); font-size: 11px; }
.media-legend span { display: flex; align-items: center; gap: 7px; }
.media-legend i { width: 9px; height: 9px; border-radius: 50%; }
.media-legend .visits { background: var(--lime); }
.media-legend .purchases { background: var(--teal); }
.media-chart { width: 100%; margin-top: 22px; overflow: visible; }
.media-grid-line { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.media-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.media-line.visits { stroke: var(--lime); }
.media-line.purchases { stroke: var(--teal); }
.media-dot { stroke: var(--carbon); stroke-width: 3; }
.media-dot.visits { fill: var(--lime); }
.media-dot.purchases { fill: var(--teal); }
.media-axis-label { fill: var(--ash); font-family: var(--font-mono); font-size: 9px; }
.media-link-card { margin-top: 12px; }
.media-link-card p { margin: 8px 0 0; color: var(--fog); font-size: 12px; }
.media-link-control { min-width: min(100%, 520px); display: flex; gap: 8px; }
.media-link-control input { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 11px; }
.table-badge.media { color: var(--lime); }
.role-select { min-width: 110px; padding: 7px 9px; border: 1px solid var(--graphite); border-radius: 6px; background: var(--obsidian); color: var(--mist); font-family: var(--font-mono); font-size: 10px; }
.media-side-link { color: var(--lime); }
.admin-topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1200px) / 2)); border-bottom: 1px solid var(--graphite); background: var(--carbon); }
.admin-topbar > div { display: flex; align-items: center; gap: 8px; }
.admin-content { width: min(calc(100% - 48px), var(--page)); margin-inline: auto; padding: 52px 0 80px; }
.admin-title-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.admin-title-row .mono { color: var(--ash); }
.admin-title-row h1 { margin: 8px 0 7px; color: var(--paper); font-size: 40px; font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.admin-title-row p { margin: 0; color: var(--fog); font-size: 14px; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.admin-metrics article { min-height: 132px; display: grid; align-content: space-between; padding: 18px; border: 1px solid var(--graphite); border-radius: 12px; background: var(--carbon); }
.admin-metrics span { color: var(--ash); font-family: var(--font-mono); font-size: 9px; }
.admin-metrics b { margin-top: 10px; color: var(--paper); font-size: 30px; font-weight: 400; line-height: 1; }
.admin-metrics small { margin-top: 7px; color: var(--ash); font-size: 10px; }
.admin-panel { margin-bottom: 10px; padding: 22px; border: 1px solid var(--graphite); border-radius: 12px; background: var(--carbon); }
.admin-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.admin-panel-head .mono { color: var(--ash); font-size: 9px; }
.admin-panel-head h2 { margin: 5px 0 0; color: var(--paper); font-size: 19px; font-weight: 510; letter-spacing: -.012em; }
.create-grid { display: grid; grid-template-columns: minmax(150px,1fr) minmax(180px,1fr) 140px minmax(180px,1fr) auto; gap: 10px; align-items: start; padding-top: 18px; border-top: 1px solid var(--graphite); }
.create-grid label { display: grid; gap: 7px; color: var(--fog); font-size: 11px; }
.create-grid small { color: var(--ash); font-size: 9px; }
.create-grid .button { margin-top: 23px; }
.bulk-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.bulk-actions .button { min-height: 34px; padding: 6px 10px; font-size: 11px; }
.table-scroll { overflow-x: auto; margin-inline: -22px; scrollbar-color: var(--smoke) transparent; }
table { width: 100%; min-width: 990px; border-collapse: collapse; font-size: 12px; }
th, td { padding: 13px 12px; border-top: 1px solid var(--graphite); text-align: left; vertical-align: middle; }
th:first-child, td:first-child { padding-left: 22px; }
th:last-child, td:last-child { padding-right: 22px; }
th { color: var(--ash); font-family: var(--font-mono); font-size: 9px; font-weight: 400; white-space: nowrap; }
td { color: var(--mist); }
td.cell-muted { color: var(--ash); }
.license-key { display: block; color: var(--mist); font-family: var(--font-mono); font-size: 10px; }
.license-label { display: block; max-width: 160px; margin-top: 4px; overflow: hidden; color: var(--ash); text-overflow: ellipsis; white-space: nowrap; }
.table-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px; border-radius: 4px; background: rgba(255,255,255,.04); color: var(--fog); font-size: 10px; white-space: nowrap; }
.table-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.table-badge.active, .table-badge.online { color: #6acb7e; }
.table-badge.revoked, .table-badge.expired { color: #f17b7b; }
.table-badge.maintenance { margin-left: 4px; color: #d9b95c; }
.online-detail { display: block; margin-top: 4px; color: var(--ash); font-size: 9px; }
.row-actions { position: relative; }
.row-menu-button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--graphite); border-radius: 6px; background: transparent; color: var(--fog); cursor: pointer; }
.row-menu-button:hover { color: var(--paper); border-color: var(--smoke); }
.row-menu { position: fixed; z-index: 120; width: 190px; padding: 6px; border: 1px solid var(--graphite); border-radius: 8px; background: var(--obsidian); box-shadow: 0 14px 38px rgba(0,0,0,.42); }
.row-menu button { width: 100%; padding: 8px 10px; border: 0; border-radius: 5px; background: transparent; color: var(--mist); cursor: pointer; font-size: 11px; text-align: left; }
.row-menu button:hover { background: rgba(255,255,255,.05); }
.row-menu .danger { color: #f17b7b; }
.row-menu .warn { color: #d9b95c; }
.row-menu-separator { height: 1px; margin: 5px 4px; background: var(--graphite); }
.empty-table { margin: 0; padding: 18px 0 0; color: var(--ash); font-size: 12px; }

.toast-region { position: fixed; z-index: 220; right: 20px; bottom: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast { min-width: 260px; max-width: 380px; display: grid; grid-template-columns: 4px 1fr; gap: 12px; padding: 13px 14px 13px 10px; border: 1px solid var(--graphite); border-radius: 8px; background: var(--obsidian); box-shadow: 0 16px 40px rgba(0,0,0,.4); color: var(--mist); font-size: 12px; animation: toast-in 180ms ease both; }
.toast::before { content: ""; border-radius: 4px; background: var(--lime); }
.toast.error::before { background: var(--red); }
.toast.leaving { animation: toast-out 180ms ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
.action-dialog { width: min(calc(100% - 32px), 430px); padding: 0; border: 1px solid var(--graphite); border-radius: 12px; background: var(--carbon); color: var(--mist); box-shadow: 0 24px 80px rgba(0,0,0,.65); }
.action-dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(5px); }
.action-dialog form { padding: 24px; }
.action-dialog .mono { color: var(--ash); font-size: 9px; }
.action-dialog h2 { margin: 8px 0 10px; color: var(--paper); font-size: 22px; font-weight: 510; }
.action-dialog p { color: var(--fog); font-size: 13px; }
.dialog-input-wrap { display: grid; margin-top: 18px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 760px; }
  .hero-side-note { display: none; }
  .hero-copy { max-width: 850px; }
  .feature-story, .feature-story-reverse { grid-template-columns: 1fr 1.2fr; gap: 44px; }
  .feature-story-wide { display: block; }
  .feature-story-reverse .story-copy { order: initial; }
  .security-layout { gap: 52px; }
  .auth-shell { grid-template-columns: minmax(0,1fr) 390px; gap: 50px; }
  .floating-access-card { display: none; }
  .dashboard-shell { grid-template-columns: 190px minmax(0,1fr); }
  .dashboard-content { padding-inline: 24px; }
  .bootstrap-card { grid-template-columns: 1fr; }
  .bootstrap-pixel-mark { display: none; }
  .admin-metrics { grid-template-columns: repeat(2, 1fr); }
  .create-grid { grid-template-columns: 1fr 160px 1fr; }
  .create-grid .button { grid-column: 3; justify-self: end; margin-top: 0; }
}

@media (max-width: 820px) {
  :root { --header-height: 62px; }
  .section-shell, .nav-shell { width: min(calc(100% - 32px), var(--page)); }
  .guest-actions .nav-link, .user-actions .nav-link { display: none; }
  .menu-button { display: grid; }
  .hero { min-height: 700px; padding-top: 130px; }
  .hero h1 { font-size: clamp(50px, 12vw, 76px); }
  .hero-meta { flex-wrap: wrap; margin-top: 56px; }
  .product-toolbar { grid-template-columns: 1fr 1fr; }
  .product-path { display: none; }
  .screenshot-slot { min-height: 0; }
  .screenshot-label span:last-child { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .feature-story, .feature-story-reverse { grid-template-columns: 1fr; padding-block: 56px; }
  .feature-story-wide { display: block; }
  .story-wide-heading { grid-template-columns: 1fr; gap: 24px; }
  .check-list-wide { grid-template-columns: 1fr; }
  .check-list-wide li, .check-list-wide li + li { min-height: 0; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--graphite); }
  .feature-story .story-copy, .feature-story-reverse .story-copy { order: 0; }
  .module-visual { justify-self: stretch; width: 100%; }
  .security-layout { grid-template-columns: 1fr; }
  .trust-strip { flex-wrap: wrap; justify-content: flex-start; }
  .trust-strip i { min-width: 40px; }
  .auth-shell { width: min(calc(100% - 32px), 480px); grid-template-columns: 1fr; gap: 42px; padding-top: 90px; }
  .auth-intro { text-align: center; }
  .auth-intro > p { margin-inline: auto; }
  .auth-eyebrow { margin-inline: auto; }
  .auth-intro h1 { font-size: 54px; }
  .dashboard-shell { display: block; }
  .dashboard-sidebar { position: sticky; z-index: 20; top: 0; height: 64px; flex-direction: row; align-items: center; padding: 0 16px; border-right: 0; border-bottom: 1px solid var(--graphite); }
  .dashboard-sidebar > .brand { margin: 0; }
  .dashboard-sidebar nav { display: flex; margin-left: auto; }
  .side-link { width: 38px; height: 38px; justify-content: center; padding: 0; }
  .side-link svg { width: 18px; }
  .side-link { font-size: 0; }
  .sidebar-bottom { display: none; }
  .dashboard-content { height: calc(100vh - 64px); }
  .account-grid { grid-template-columns: 1fr; }
  .bootstrap-card { padding: 26px; }
  .account-columns { grid-template-columns: 1fr; }
  .admin-topbar { padding-inline: 16px; }
  .admin-content { width: calc(100% - 32px); }
  .admin-title-row { align-items: start; flex-direction: column; }
  .create-grid { grid-template-columns: 1fr 1fr; }
  .create-grid label:last-of-type { grid-column: 1/-1; }
  .create-grid .button { grid-column: 2; }
}

@media (max-width: 600px) {
  .brand-build { display: none; }
  .guest-actions .button-light { display: none; }
  .hero { min-height: 660px; padding-top: 116px; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(39px, 11vw, 48px); line-height: .98; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-meta { display: grid; gap: 10px; margin-top: 45px; }
  .showcase { padding-bottom: 88px; }
  .product-toolbar { height: 42px; }
  .screenshot-slot { margin: 7px; }
  .showcase-caption { grid-template-columns: 1fr; gap: 14px; }
  .feature-section, .updates-section { padding-block: 72px; }
  .section-index { margin-bottom: 44px; }
  .section-heading { margin-bottom: 68px; }
  .section-heading h2, .updates-head h2, .final-cta h2 { font-size: 42px; }
  .story-copy h3 { font-size: 28px; }
  .module-row { padding-inline: 16px; }
  .hud-visual { min-height: 370px; }
  .hud-binds { top: 16px; left: 16px; }
  .hud-target { right: 16px; bottom: 16px; }
  .hud-coords { bottom: 16px; left: 16px; }
  .security-section { padding-block: 76px; }
  .trust-strip i { display: none; }
  .trust-strip { display: grid; gap: 12px; }
  .updates-head { align-items: start; flex-direction: column; margin-bottom: 52px; }
  .release-row { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .release-row time { grid-column: 1; }
  .release-row > div { grid-column: 1/-1; grid-row: 2; }
  .release-version { grid-column: 2; grid-row: 1; }
  .final-cta { min-height: 520px; margin-top: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .footer-main { grid-column: 1/-1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .auth-shell { width: calc(100% - 24px); padding-bottom: 30px; }
  .auth-intro { display: none; }
  .auth-card { padding: 20px; }
  .auth-back { left: 8px; }
  .dashboard-sidebar > .brand span:not(.brand-build) { display: none; }
  .dashboard-sidebar nav { gap: 1px; }
  .dashboard-content { padding-inline: 14px; }
  .dashboard-head { min-height: 124px; }
  .dashboard-head h1 { font-size: 26px; }
  .account-chip > div { display: none; }
  .account-chip { padding: 5px; }
  .bootstrap-card { padding: 22px 16px 16px; }
  .bootstrap-card h2 { font-size: 32px; }
  .bootstrap-kicker { margin-bottom: 20px; }
  .bootstrap-facts { grid-template-columns: 1fr; margin-top: 24px; }
  .bootstrap-console { padding: 14px; box-shadow: none; }
  .download-banner { align-items: flex-start; flex-direction: column; padding: 26px; }
  .download-banner h2 { font-size: 27px; }
  .panel-page-head { align-items: flex-start; flex-direction: column; }
  .artifact-card { grid-template-columns: 48px 1fr; }
  .artifact-icon { width: 48px; height: 48px; }
  .artifact-card .button { grid-column: 1/-1; }
  .admin-topbar .nav-link { display: none; }
  .admin-title-row h1 { font-size: 34px; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .admin-metrics article { min-height: 116px; }
  .admin-panel { padding: 16px; }
  .admin-panel-head { align-items: flex-start; flex-direction: column; }
  .bulk-actions { justify-content: flex-start; }
  .create-grid { grid-template-columns: 1fr; }
  .create-grid label:last-of-type, .create-grid .button { grid-column: 1; }
  .create-grid .button { width: 100%; }
  .table-scroll { margin-inline: -16px; }
  th:first-child, td:first-child { padding-left: 16px; }
  th:last-child, td:last-child { padding-right: 16px; }
  .toast-region { right: 12px; bottom: 12px; left: 12px; }
  .toast { min-width: 0; width: 100%; }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-enter .eyebrow, .hero-enter h1, .hero-enter > .hero-copy > p, .hero-enter .hero-actions, .hero-enter .hero-meta, .hero-enter .hero-side-note { opacity: 0; animation: hero-rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-enter .eyebrow { animation-delay: .08s; }
.hero-enter h1 { animation-delay: .18s; }
.hero-enter > .hero-copy > p { animation-delay: .3s; }
.hero-enter .hero-actions { animation-delay: .4s; }
.hero-enter .hero-meta { animation-delay: .5s; }
.hero-enter .hero-side-note { animation-delay: .58s; }
[data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity .85s cubic-bezier(.2,.8,.2,1), transform .85s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .media-metrics { grid-template-columns: 1fr 1fr; }
  .media-promo-card { grid-column: 1 / -1; }
  .media-card-head, .media-link-card { align-items: stretch; flex-direction: column; }
  .media-link-control { min-width: 0; width: 100%; }
}

@media (max-width: 600px) {
  .media-content { width: min(calc(100% - 28px), 1120px); padding-top: 34px; }
  .media-title-row { align-items: start; flex-direction: column; }
  .media-metrics { grid-template-columns: 1fr; }
  .media-promo-card { grid-column: auto; }
  .media-link-control { flex-direction: column; }
  .media-legend { flex-wrap: wrap; }
  .feature-media, .feature-media img { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-enter .eyebrow, .hero-enter h1, .hero-enter > .hero-copy > p, .hero-enter .hero-actions, .hero-enter .hero-meta, .hero-enter .hero-side-note, [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
}
