

@font-face { font-family: 'Unbounded'; src: url('../fonts/unbounded-latin.woff2') format('woff2'); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; src: url('../fonts/unbounded-cyrillic.woff2') format('woff2'); font-weight: 400 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; src: url('../fonts/onest-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; src: url('../fonts/onest-cyrillic.woff2') format('woff2'); font-weight: 400 700; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JBMono'; src: url('../fonts/jbmono-latin.woff2') format('woff2'); font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JBMono'; src: url('../fonts/jbmono-cyrillic.woff2') format('woff2'); font-weight: 400 600; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --void:        #0E0C14;
  --void-2:      #120F19;
  --panel:       #17141F;
  --panel-hi:    #1F1B2B;
  --panel-top:   #262032;

  --line:        rgba(210, 195, 246, .11);
  --line-strong: rgba(210, 195, 246, .24);

  --text:        #EDE9F7;
  --dim:         #9E97B4;
  --faint:       #6B6580;

  --accent:      #D2C3F6;
  --orchid:      #C77DFF;
  --violet:      #7C3AED;
  --azure:       #2B7FFF;

  --live:        #EB0400;
  --ok:          #34D399;
  --warn:        #FBBF24;
  --ban:         #F87171;
  --delete:      #FF8C42;

  --brand: linear-gradient(115deg, var(--orchid) 0%, var(--violet) 48%, var(--azure) 100%);

  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --body:    'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JBMono', ui-monospace, 'SF Mono', Menlo, monospace;

  --rail-w: 172px;
  --gutter: clamp(20px, 4.5vw, 68px);
  --maxw: 1240px;
  --radius: 18px;

  --ease: cubic-bezier(.22, .68, .28, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 12% -6%, rgba(124, 58, 237, .16), transparent 62%),
    radial-gradient(720px 480px at 92% 6%, rgba(43, 127, 255, .11), transparent 60%);
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--panel-top); border: 1px solid var(--line-strong);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.1vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.95rem); }
h3 { font-size: 1.14rem; letter-spacing: -.02em; line-height: 1.2; }

p { margin: 0; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: .705rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.eyebrow .num {
  color: var(--void);
  background: var(--accent);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: .06em;
}

.lede, .section__lede {
  color: var(--dim);
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  max-width: 62ch;
}

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; gap: 22px;
  padding: 14px var(--gutter);
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.topbar[data-stuck] {
  background: color-mix(in srgb, var(--void) 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { width: 26px; height: 26px; filter: drop-shadow(0 0 12px rgba(124, 58, 237, .55)); }
.brand__word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.045em;
}

.topnav { display: flex; gap: 4px; }
.topnav a {
  padding: 7px 13px; border-radius: 9px;
  font-size: .885rem; color: var(--dim);
  transition: color .2s, background .2s;
}
.topnav a:hover, .topnav a[data-active] { color: var(--text); background: rgba(210, 195, 246, .07); }

.topbar__end { display: flex; align-items: center; gap: 10px; }

.langswitch {
  display: flex; padding: 2px;
  border: 1px solid var(--line); border-radius: 9px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
}
.langswitch button {
  padding: 4px 9px; border-radius: 7px; color: var(--faint);
  transition: color .2s, background .2s;
}
.langswitch button[aria-pressed="true"] { color: var(--void); background: var(--accent); }

.ghost-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--dim);
  font-size: .855rem;
  transition: border-color .2s, color .2s, transform .2s var(--ease);
}
.ghost-btn:hover { border-color: var(--line-strong); color: var(--text); transform: translateY(-1px); }

.mini-dl {
  padding: 8px 17px; border-radius: 10px;
  background: var(--brand);
  color: #fff; font-size: .875rem; font-weight: 600;
  box-shadow: 0 6px 22px -8px rgba(124, 58, 237, .9);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.mini-dl:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 1); }

.rail {
  position: fixed; z-index: 80;
  left: 0; top: 50%; transform: translateY(-50%);
  width: var(--rail-w);
  display: flex; flex-direction: column; gap: 2px;
  padding-left: max(14px, calc(var(--gutter) - 34px));
  border-left: 1px solid var(--line);
  pointer-events: auto;
}
.rail a {
  display: flex; align-items: baseline; gap: 9px;
  padding: 5px 0 5px 14px;
  font-family: var(--mono); font-size: .69rem; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  opacity: .55;
  transition: color .3s, opacity .3s, transform .35s var(--ease);
}
.rail a span { font-size: .62rem; opacity: .7; font-variant-numeric: tabular-nums; }
.rail a:hover { opacity: 1; color: var(--dim); }
.rail a[data-active] { opacity: 1; color: var(--accent); transform: translateX(5px); }
.rail a[data-active]::before {
  content: ''; position: absolute; left: -1px; width: 2px; height: 20px;
  margin-top: 2px;
  background: var(--accent); border-radius: 2px;
  box-shadow: 0 0 12px var(--accent);
}
.rail a { position: relative; }

@media (max-width: 1180px) { .rail { display: none; } }

main { position: relative; z-index: 1; }

.section {
  padding: clamp(84px, 11vh, 140px) var(--gutter);
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
}
@media (min-width: 1181px) { .section, .hero__inner { padding-left: max(var(--gutter), var(--rail-w)); } }

.section__head { display: grid; gap: 18px; margin-bottom: clamp(38px, 5vw, 60px); }
.section__head h2 { max-width: 20ch; }

.hero {
  position: relative;
  min-height: min(940px, 100svh);
  display: flex; align-items: center;
  padding: 128px var(--gutter) 72px;
  overflow: hidden;
  
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__canvas[data-ready] { opacity: 1; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, var(--void) 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__copy { display: grid; gap: 22px; align-content: start; }
.hero__copy h1 { max-width: 15ch; }

.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(235, 4, 0, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(235, 4, 0, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(235, 4, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(235, 4, 0, 0); }
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: 4px; }

.dl-btn {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 26px 14px 20px;
  border-radius: 15px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 44px -18px rgba(124, 58, 237, 1), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  overflow: hidden;
}
.dl-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .32) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease-out);
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 54px -18px rgba(124, 58, 237, 1), inset 0 1px 0 rgba(255, 255, 255, .35); }
.dl-btn:hover::after { transform: translateX(120%); }
.dl-btn__os { width: 24px; height: 24px; flex: none; opacity: .96; }
.dl-btn__os svg { width: 100%; height: 100%; fill: currentColor; }
.dl-btn__text { display: grid; gap: 1px; }
.dl-btn__title { font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.2; }
.dl-btn__meta { font-family: var(--mono); font-size: .695rem; letter-spacing: .07em; opacity: .82; text-transform: uppercase; }

.alt-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 0 22px; border-radius: 15px;
  border: 1px solid var(--line-strong); color: var(--text);
  font-size: .93rem;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.alt-btn:hover { background: rgba(210, 195, 246, .07); transform: translateY(-2px); }

.cta-sub { font-size: .875rem; color: var(--faint); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cta-sub a { color: var(--accent); border-bottom: 1px solid rgba(210, 195, 246, .3); padding-bottom: 1px; }
.cta-sub a:hover { border-bottom-color: var(--accent); }
.cta-sub__hint { color: var(--warn); font-family: var(--mono); font-size: .72rem; }

.hero__stats {
  list-style: none; margin: 8px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex; gap: clamp(20px, 3vw, 42px);
}
.hero__stats li { display: flex; align-items: baseline; gap: 8px; }
.hero__stats b {
  font-family: var(--display); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.05em;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stats span { font-size: .8rem; color: var(--faint); max-width: 9ch; line-height: 1.25; }

.hero__stage { position: relative; perspective: 1400px; z-index: 2; }
.glow-blob {
  position: absolute; inset: -14% -8% -18% -12%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, .38), transparent 72%);
  filter: blur(38px);
  z-index: 0;
}

.float-card {
  position: absolute; z-index: 6;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--panel-hi) 82%, transparent);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -22px #000;
  font-size: .78rem;
  will-change: transform;
}
.float-card--mentions {
  top: -26px; left: 50%; margin-left: 46px;
  transform: translateX(-50%);
  flex-direction: row; align-items: center; gap: 10px;
  white-space: nowrap;
}
.float-card__cap { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; color: var(--faint); }
.float-card__row { display: flex; align-items: center; gap: 7px; color: var(--dim); }
.float-card__row b { color: #FF6B6B; }
.pip { width: 6px; height: 6px; border-radius: 50%; background: #FF6B6B; box-shadow: 0 0 10px #FF6B6B; }
.float-card--hotkey { bottom: 9%; left: -7%; color: var(--dim); }
kbd {
  font-family: var(--mono); font-size: .7rem;
  padding: 2px 7px; border-radius: 6px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
}

.hero__scroll {
  position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 46px; background: linear-gradient(var(--line-strong), transparent);
  overflow: hidden;
}
.hero__scroll span { position: absolute; inset: 0; background: var(--accent); animation: railrun 2.6s var(--ease) infinite; }
@keyframes railrun { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.gallery__tabs {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: 26px;
}
.gallery__tabs button {
  padding: 9px 17px; border-radius: 11px;
  border: 1px solid var(--line);
  color: var(--dim); font-size: .875rem;
  transition: color .2s, border-color .2s, background .2s, transform .2s var(--ease);
}
.gallery__tabs button:hover { color: var(--text); border-color: var(--line-strong); }
.gallery__tabs button[aria-selected="true"] {
  color: var(--void); background: var(--accent); border-color: transparent; font-weight: 600;
  box-shadow: 0 8px 26px -12px var(--accent);
}

.gallery__stage { perspective: 1800px; }
.gallery__caption {
  margin-top: 18px;
  font-family: var(--mono); font-size: .755rem; letter-spacing: .05em;
  color: var(--faint);
  min-height: 1.4em;
}

.appwin {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-hi), var(--panel));
  border: 1px solid var(--line-strong);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .05) inset,
    0 40px 90px -34px #000,
    0 90px 140px -60px rgba(124, 58, 237, .5);
  overflow: hidden;
  will-change: transform;
}
.appwin__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, .028);
  border-bottom: 1px solid var(--line);
}
.tl { width: 10px; height: 10px; border-radius: 50%; background: #3A3446; }
.tl--close { background: #F87171; } .tl--min { background: #FBBF24; } .tl--max { background: #34D399; }
.appwin__title {
  margin-left: 8px;
  font-family: var(--mono); font-size: .705rem; letter-spacing: .07em; color: var(--faint);
}
.appwin__badge {
  margin-left: auto;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .09em;
  padding: 2px 8px; border-radius: 6px;
  color: var(--accent); background: rgba(210, 195, 246, .1);
}
.appwin__body { height: 400px; }
.appwin--wide .appwin__body { height: clamp(430px, 56vh, 560px); }

.deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  perspective: 1500px;
  perspective-origin: 50% 30%;
}
.deck__card {
  position: relative;
  display: grid; gap: 12px; align-content: start;
  padding: 24px 24px 26px;
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transform: translate3d(0, var(--rise, 44px), var(--z, -140px)) rotateX(var(--rx, 7deg));
  opacity: var(--o, 0);
  transition: transform .9s var(--ease-out), opacity .7s var(--ease-out), border-color .3s, background .3s;
  overflow: hidden;
}
.deck__card[data-in] { --rise: 0px; --z: 0px; --rx: 0deg; --o: 1; }
.deck__card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(199, 125, 255, .16), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.deck__card:hover { border-color: var(--line-strong); transform: translate3d(0, -4px, 26px); }
.deck__card:hover::before { opacity: 1; }
.deck__card header { display: flex; align-items: baseline; gap: 11px; }
.deck__idx {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  color: var(--void); background: var(--accent);
  padding: 2px 6px; border-radius: 5px;
}
.deck__lede { color: var(--dim); font-size: .93rem; }
.deck__card ul { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.deck__card li {
  position: relative;
  padding-left: 19px;
  font-size: .875rem;
  color: color-mix(in srgb, var(--text) 78%, transparent);
}
.deck__card li::before {
  content: ''; position: absolute; left: 2px; top: .62em;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--accent); opacity: .55;
  transform: rotate(45deg);
}
.deck__note {
  margin-top: 6px; padding: 11px 13px;
  border-radius: 11px;
  background: rgba(52, 211, 153, .07);
  border: 1px solid rgba(52, 211, 153, .22);
  color: #9BE7C9;
  font-size: .82rem;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  perspective: 1200px;
}
.pcard {
  position: relative;
  display: grid; gap: 14px; align-content: start;
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .014));
  border: 1px solid var(--line);
  transform: translate3d(0, var(--rise, 40px), var(--z, -110px));
  opacity: var(--o, 0);
  transition: transform .85s var(--ease-out), opacity .6s, border-color .3s, background .3s;
  overflow: hidden;
}
.pcard[data-in] { --rise: 0px; --z: 0px; --o: 1; }
.pcard[data-current] { border-color: rgba(210, 195, 246, .42); background: linear-gradient(170deg, rgba(199, 125, 255, .11), rgba(255, 255, 255, .015)); }
.pcard:hover { transform: translate3d(0, -5px, 30px); border-color: var(--line-strong); }
.pcard__glyph { width: 34px; height: 34px; color: var(--accent); }
.pcard__glyph svg { width: 100%; height: 100%; fill: currentColor; }
.pcard h3 { font-family: var(--display); }
.pcard__files { display: grid; gap: 7px; }
.pcard__file {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: .715rem; letter-spacing: .03em;
  color: var(--dim);
  transition: border-color .2s, color .2s, background .2s;
}
.pcard__file:hover { color: var(--text); border-color: var(--line-strong); background: rgba(0, 0, 0, .42); }
.pcard__file b { font-weight: 500; }
.pcard__file span { color: var(--faint); font-variant-numeric: tabular-nums; }
.pcard__note { font-size: .8rem; color: var(--faint); }
.pcard__tag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px;
  background: var(--accent); color: var(--void);
}
.pcard__tag--soon { background: rgba(251, 191, 36, .16); color: var(--warn); }

.platforms__note { margin-top: 20px; font-size: .85rem; color: var(--faint); max-width: 70ch; }

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(124, 58, 237, .12), rgba(43, 127, 255, .05) 60%, transparent);
  border: 1px solid var(--line);
}
.privacy__copy { display: grid; gap: 18px; }
.scopes { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.scopes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: .86rem; color: var(--faint); }
.scopes code {
  font-family: var(--mono); font-size: .755rem;
  padding: 3px 9px; border-radius: 7px;
  background: rgba(0, 0, 0, .32); border: 1px solid var(--line);
  color: var(--accent);
}

.privacy__diagram { display: grid; gap: 12px; justify-items: center; }
.node {
  display: grid; gap: 2px; justify-items: center;
  padding: 16px 26px; border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  font-family: var(--display); font-weight: 700; letter-spacing: -.03em;
  box-shadow: 0 20px 50px -26px #000;
}
.node small { font-family: var(--body); font-weight: 400; letter-spacing: 0; font-size: .72rem; color: var(--faint); }
.node--you { box-shadow: 0 0 0 1px rgba(210, 195, 246, .18), 0 24px 60px -26px rgba(124, 58, 237, .9); }
.wires { display: grid; gap: 6px; width: 100%; }
.wire {
  position: relative;
  display: block; height: 22px;
  border-left: 1px dashed var(--line-strong);
  margin-left: 50%;
}
.wire::after {
  content: attr(data-label);
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; color: var(--faint);
  white-space: nowrap;
}
.wire::before {
  content: ''; position: absolute; left: -3px; top: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: wireflow 3.4s var(--ease) infinite;
}
.wire:nth-child(2)::before { animation-delay: .5s; }
.wire:nth-child(3)::before { animation-delay: 1s; }
.wire:nth-child(4)::before { animation-delay: 1.5s; }
.wire:nth-child(5)::before { animation-delay: 2s; }
@keyframes wireflow { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.dl-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .02);
}
.dl-table__loading, .dl-table__error { padding: 26px; color: var(--faint); font-family: var(--mono); font-size: .8rem; }
.dl-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1.4fr) minmax(0, 1fr) auto auto;
  align-items: center; gap: 16px;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  transition: background .2s;
}
.dl-row:first-child { border-top: 0; }
.dl-row:hover { background: rgba(210, 195, 246, .045); }
.dl-row__glyph { width: 20px; height: 20px; color: var(--dim); }
.dl-row__glyph svg { width: 100%; height: 100%; fill: currentColor; }
.dl-row__name { font-family: var(--mono); font-size: .8rem; color: var(--text); word-break: break-all; }
.dl-row__os { font-size: .85rem; color: var(--dim); }
.dl-row__size { font-family: var(--mono); font-size: .74rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.dl-row__get {
  padding: 7px 15px; border-radius: 9px;
  border: 1px solid var(--line-strong); color: var(--text);
  font-size: .8rem;
  transition: background .2s, border-color .2s;
}
.dl-row__get:hover { background: var(--accent); color: var(--void); border-color: transparent; }
.dl-row[data-current] .dl-row__get { background: var(--brand); border-color: transparent; color: #fff; }

.dl-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.dl-foot__hint { font-size: .8rem; color: var(--faint); }

.platform-sheet {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(6, 5, 10, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade .25s var(--ease);
}
.platform-sheet[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.platform-sheet__panel {
  position: relative;
  width: min(560px, 100%);
  padding: 30px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 120px -40px #000;
  animation: rise .35s var(--ease-out);
}
@keyframes rise { from { transform: translateY(18px) scale(.98); opacity: 0; } }
.platform-sheet__panel h3 { font-size: 1.3rem; margin-bottom: 18px; }
.platform-sheet__close { position: absolute; top: 16px; right: 18px; color: var(--faint); font-size: 1rem; }
.platform-sheet__close:hover { color: var(--text); }
.platform-sheet [data-sheet-list] { display: grid; gap: 8px; }

.footer {
  position: relative; z-index: 1;
  display: grid; gap: 22px;
  padding: 54px var(--gutter) 44px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, .06));
}
@media (min-width: 1181px) { .footer { padding-left: max(var(--gutter), var(--rail-w)); } }
.footer__brand { display: flex; align-items: center; gap: 13px; }
.footer__brand strong { font-family: var(--display); letter-spacing: -.04em; }
.footer__brand p { font-size: .84rem; color: var(--faint); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .87rem; color: var(--dim); }
.footer__links a:hover { color: var(--accent); }
.footer__legal { font-size: .78rem; color: var(--faint); }

@media (max-width: 1024px) {
  .hero { min-height: 0; padding-top: 112px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy h1 { max-width: 18ch; }
  .float-card--mentions { right: 0; }
  .float-card--hotkey { left: 0; }
  .privacy { grid-template-columns: 1fr; }
  .dl-row { grid-template-columns: 26px 1fr auto; row-gap: 6px; }
  .dl-row__os { grid-column: 2; font-size: .78rem; }
  .dl-row__size { grid-column: 2; }
}

@media (max-width: 760px) {
  
  .hero__canvas[data-ready] { opacity: .58; }
  .glow-blob { inset: 0; }
}

@media (max-width: 720px) {
  .topnav { display: none; }
  .topbar__end .ghost-btn { display: none; }
  .hero__stats { flex-wrap: wrap; gap: 18px 26px; }
  .appwin__body { height: 340px; }
  .appwin--wide .appwin__body { height: 400px; }
  .float-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .deck__card, .pcard { --rise: 0px; --z: 0px; --rx: 0deg; --o: 1; }
}

.gallery__sizes {
  display: flex; gap: 6px; margin: -12px 0 22px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
}
.gallery__sizes button {
  padding: 6px 12px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--faint);
  transition: color .2s, border-color .2s, background .2s;
}
.gallery__sizes button:hover { color: var(--dim); border-color: var(--line-strong); }
.gallery__sizes button[aria-pressed="true"] {
  color: var(--void); background: var(--accent); border-color: transparent; font-weight: 600;
}
.gallery__stage[data-size="mobile"] .appwin--wide { max-width: 380px; margin-inline: auto; }
.gallery__stage[data-size="mobile"] .appwin--wide .appwin__chrome { display: none; }
.gallery__stage[data-size="mobile"] .appwin--wide .ui {
  min-width: 0; font-size: 12px;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "main" !important;
}
.gallery__stage[data-size="mobile"] .appwin--wide .ui--panel {
  grid-template-rows: minmax(0, 1fr) auto !important;
  grid-template-areas: "main" "panel" !important;
}
.gallery__stage[data-size="mobile"] .appwin--wide .ui--settings {
  grid-template-areas: "main" !important;
}
.gallery__stage[data-size="mobile"] .appwin--wide .ui-side { display: none; }
.gallery__stage[data-size="mobile"] .appwin--wide .ui-split { grid-template-columns: minmax(0, 1fr) !important; }
.gallery__stage[data-size="mobile"] .appwin--wide .ui-split__col:nth-child(n + 2) { display: none; }
.gallery__stage[data-size="mobile"] .appwin--wide .ui-head { padding: 9px 10px; }
.gallery__stage[data-size="mobile"] .appwin--wide .ui-head__macros,
.gallery__stage[data-size="mobile"] .appwin--wide .ui-head__tools .ui-tool:nth-child(-n + 3) { display: none; }
.gallery__stage[data-size="mobile"] .appwin--wide .ui-head::before {
  content: ""; width: 15px; height: 11px; flex: none; margin-right: 2px;
  background: currentColor; opacity: .5;
  -webkit-mask: linear-gradient(currentColor 0 0) 0 0/100% 1.6px no-repeat,
                linear-gradient(currentColor 0 0) 0 50%/100% 1.6px no-repeat,
                linear-gradient(currentColor 0 0) 0 100%/100% 1.6px no-repeat;
  mask: linear-gradient(currentColor 0 0) 0 0/100% 1.6px no-repeat,
        linear-gradient(currentColor 0 0) 0 50%/100% 1.6px no-repeat,
        linear-gradient(currentColor 0 0) 0 100%/100% 1.6px no-repeat;
}
.gallery__stage[data-size="mobile"] .appwin--wide .event { max-width: none; }
.gallery__stage[data-size="large"] .appwin--wide .ui { font-size: 13.5px; }
.gallery__stage[data-size="large"] .appwin--wide .appwin__body { height: clamp(500px, 64vh, 640px); }

.pcard[data-wip] { opacity: .78; }
.pcard[data-wip] .pcard__glyph { filter: grayscale(.5); }
.pcard[data-wip]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(135deg,
    rgba(251, 191, 36, .05) 0 10px, transparent 10px 20px);
  pointer-events: none;
}
