/* --- Stylesheet --- */

:root {
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Base --- */

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  height: 100%;
  scrollbar-gutter: stable;
}

body {
  min-height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
  Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial;
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; display: inline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* --- Focus --- */

a:focus-visible,
.btn:focus-visible,
.x:focus-visible,
.close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .82);
  outline-offset: 3px;
}

.btn.primary:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .92);
  outline-offset: 4px;
}

/* --- Topbar --- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #141414;
}

.topbar .in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand svg {
  width: 74px;
  height: auto;
  display: block;
  flex: 0 0 auto;
  opacity: .95;
}

.brand .name {
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
  font-size: 20px;
  line-height: .95;
}

.brand .name span { opacity: .55; }

/* --- Nav menu --- */

.menu {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.menu a { opacity: 1; transform: none; }

.menu .btn {
  min-height: 40px;
  padding: 10px 12px;
}

.menu .btn.secondary { min-width: 0; }

.menu .btn.primary {
  gap: 8px;
  min-width: 0;
  padding: 12px 16px;
}

.menu .codebergSvg {
  width: 18px;
  height: 18px;
  display: block;
}

.menu .codebergSvg path { fill: currentColor; }

/* --- More dropdown (desktop) --- */

.moreWrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Bridge hover gap between button and panel */
.moreWrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.moreBtn {
  min-width: 0;
  gap: 0;
  padding: 10px 12px;
}

.moreBtn .lbl { display: none; }

.btn.secondary.moreBtn .rot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 50%;
  transform: translateZ(0) rotate(0deg);
  transition: transform .18s var(--ease);
  will-change: transform;
  backface-visibility: hidden;
}

.moreWrap.open .btn.secondary.moreBtn .rot,
.moreWrap.hoverHold .btn.secondary.moreBtn .rot,
.moreWrap:hover:not(.cooldown) .btn.secondary.moreBtn .rot,
body.kbd .moreWrap:focus-within .btn.secondary.moreBtn .rot {
  transform: translateZ(0) rotate(180deg);
}

.moreWrap.closing .btn.secondary.moreBtn .rot {
  transform: translateZ(0) rotate(0deg);
}

.morePanel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #000;
  border: 1px solid #1a1a1a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .75);
  z-index: 80;
  min-width: 220px;
  clip-path: inset(0 0 100% 0 round 12px);
  -webkit-clip-path: inset(0 0 100% 0 round 12px);
  pointer-events: none;
  will-change: clip-path;
  transition:
  clip-path .22s var(--ease),
  -webkit-clip-path .22s var(--ease);
}

/* Bridge hover gap into panel */
.morePanel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.morePanel .btn { width: 100%; justify-content: center; }

/* No-JS: panel always visible */
body:not(.js) .morePanel {
  clip-path: inset(0 0 0 0 round 12px);
  -webkit-clip-path: inset(0 0 0 0 round 12px);
  pointer-events: auto;
}

body:not(.js) .btn.secondary.moreBtn .rot {
  transform: translateZ(0) rotate(180deg);
}

/* Open states (hover + click + keyboard) */
.moreWrap.open .morePanel,
.moreWrap.hoverHold .morePanel,
.moreWrap:hover:not(.cooldown) .morePanel,
body.kbd .moreWrap:focus-within .morePanel {
  clip-path: inset(0 0 0 0 round 12px);
  -webkit-clip-path: inset(0 0 0 0 round 12px);
  pointer-events: auto;
}

/* Close animation */
.moreWrap.closing .morePanel {
  clip-path: inset(0 0 100% 0 round 12px);
  -webkit-clip-path: inset(0 0 100% 0 round 12px);
  pointer-events: none;
}

/* Suppress re-open during close (hover/focus race) */
.moreWrap.suppress .morePanel {
  clip-path: inset(0 0 100% 0 round 12px);
  -webkit-clip-path: inset(0 0 100% 0 round 12px);
  pointer-events: none;
}

.moreWrap.suppress .btn.secondary.moreBtn .rot {
  transform: translateZ(0) rotate(0deg);
}

/* --- Hamburger toggle --- */

.navChk { position: absolute; opacity: 0; pointer-events: none; }

.menuToggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.menuToggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background .18s ease;
}

.menuToggle span::before,
.menuToggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition:
  transform .22s var(--ease),
  top .22s var(--ease);
}

.menuToggle span::before { top: -6px; }
.menuToggle span::after  { top: 6px; }

/* Hamburger → X (JS class OR no-JS checkbox) */
.menuToggle.open span,
.navChk:checked + .menuToggle span { background: transparent; }

.menuToggle.open span::before,
.navChk:checked + .menuToggle span::before { top: 0; transform: rotate(45deg); }

.menuToggle.open span::after,
.navChk:checked + .menuToggle span::after { top: 0; transform: rotate(-45deg); }

/* --- Mobile menu --- */

@media (max-width: 860px) {
  .moreBtn { display: none !important; }

  .moreWrap {
    display: contents;
    position: static;
  }

  .moreWrap::after { display: none; }
  .moreWrap .rot { transform: none !important; }

  .morePanel {
    position: static;
    display: contents;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
    will-change: auto !important;
  }

  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
    padding: 12px 20px;
    overflow: hidden;
    clip-path: inset(0 0 100% 0);
    -webkit-clip-path: inset(0 0 100% 0);
    opacity: 1;
    transform: none;
    pointer-events: none;
    will-change: clip-path;
    transition:
    clip-path .36s var(--ease),
    -webkit-clip-path .36s var(--ease);
    grid-template-areas:
    "docs    status"
    "news    packages"
    "contact source"
    "dl      dl";
  }

  #mDl       { grid-area: dl; grid-column: 1 / -1; }
  #mDocs     { grid-area: docs; }
  #mStatus   { grid-area: status; }
  #mNews     { grid-area: news; }
  #mPackages { grid-area: packages; }
  #mContact  { grid-area: contact; }
  #mSource   { grid-area: source; }

  .navChk:checked ~ .menu {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    pointer-events: auto;
  }

  .menu .btn {
    width: 100%;
    justify-content: center;
    opacity: 1;
    transform: none;
    will-change: auto;
    transition: none;
    transition-delay: 0ms;
  }

  .menuToggle { display: flex; }
}

/* --- Buttons --- */

@property --coverA { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --washA  { syntax: '<number>'; inherits: true; initial-value: 0; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer;
  user-select: none;
  outline: none;
  border: 0;
  --fill: rgba(18, 18, 18, .88);
  --washA: 0;
  overflow: hidden;
  background:
  linear-gradient(var(--fill), var(--fill)),
  conic-gradient(from 0deg,
  rgba(255, 45, 85, var(--washA)),
  rgba(255, 204, 0, var(--washA)),
  rgba(52, 199, 89, var(--washA)),
  rgba(10, 132, 255, var(--washA)),
  rgba(191, 90, 242, var(--washA)),
  rgba(255, 45, 85, var(--washA))
  );
  transform: translateZ(0);
  will-change: transform;
  transition: transform .22s var(--ease);
  -webkit-font-smoothing: antialiased;
}

.btn > * { position: relative; z-index: 2; }

/* Inner fill (can implode without squishing text) */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  transform: scale(1) translateZ(0);
  transform-origin: center;
  will-change: transform;
  transition:
  transform .22s var(--ease),
  background .16s,
  box-shadow .16s,
  filter .28s var(--ease);
  background: var(--fill);
}

/* RGB ring (edge-only, no center fill) */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  border: 3px solid transparent;
  background:
  linear-gradient(var(--fill), var(--fill)) padding-box,
  conic-gradient(from 0deg, #ff2d55, #ffcc00, #34c759, #0a84ff, #bf5af2, #ff2d55) border-box;
  background-clip: padding-box, border-box;
  filter: hue-rotate(0deg) saturate(1.5);
  animation: rgbfade 3.4s linear infinite;
  animation-play-state: paused;
  will-change: filter, opacity;
  transition:
  opacity .28s var(--ease),
  --coverA .28s var(--ease);
}

.btn:hover        { --fill: rgba(26, 26, 26, .92); }
.btn:hover::after,
.btn:active::after { opacity: 1; animation-play-state: running; }

.btn:active {
  transform: scale(.90);
  --fill: rgba(14, 14, 14, .94);
}

.btn:active::before {
  transform: scale(.82);
  box-shadow: inset 0 26px 58px rgba(0, 0, 0, .92);
}

@keyframes rgbfade {
  from { filter: hue-rotate(0deg)   saturate(1.5); }
  to   { filter: hue-rotate(360deg) saturate(1.5); }
}

.btn .bi {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: .95;
}

.btn .lbl { white-space: nowrap; }

/* Primary */
.btn.primary {
  --fill: #ffffff;
  --coverA: 1;
  border-radius: 999px;
  padding: 13px 18px;
  font-size: 15px;
  color: #000;
}

.btn.primary:hover  { --fill: #f4f4f4; --coverA: .72; --washA: .72; }
.btn.primary:active { --fill: #e9e9e9; --coverA: 0;   --washA: .72; }

.btn.primary::before { filter: none; }
.btn.primary:hover::before { filter: blur(1.8px) saturate(1.9); }

.btn.primary:active::before {
  transform: scale(.82);
  box-shadow: inset 0 22px 34px rgba(0, 0, 0, .28);
  filter: blur(1.8px) saturate(1.9);
}

.btn.primary::after {
  inset: -2px;
  border: 6px solid transparent;
  background:
  linear-gradient(rgba(255, 255, 255, var(--coverA)), rgba(255, 255, 255, var(--coverA))) padding-box,
  conic-gradient(from 0deg, #ff2d55, #ffcc00, #34c759, #0a84ff, #bf5af2, #ff2d55) border-box;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  box-shadow: none;
}

/* Secondary */
.btn.secondary {
  border-radius: 10px;
  min-width: 126px;
  min-height: 42px;
  padding: 11px 14px;
  font-size: 13px;
  color: #fff;
  opacity: .92;
}

.btn.secondary::after { border-width: 3px; }
.btn.secondary:hover  { opacity: 1; }

/* Alpha lock overlay */
.btn .lk {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%) scale(.88);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  background: currentColor;
  -webkit-mask: center/contain no-repeat;
  mask: center/contain no-repeat;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M17 9h-1V7a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2Zm-7-2a2 2 0 1 1 4 0v2h-4V7Zm7 12H7v-8h10v8Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M17 9h-1V7a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2Zm-7-2a2 2 0 1 1 4 0v2h-4V7Zm7 12H7v-8h10v8Z"/></svg>');
  transition:
  opacity .28s var(--ease),
  transform .28s var(--ease);
}

.btn.primary .lk   { width: 38px; height: 38px; }
.btn.secondary .lk { width: 32px; height: 32px; }

body.alpha.locks .btn:hover .lk {
  opacity: .75;
  transform: translate(-50%, -50%) scale(.92);
}

body.alpha.locks .btn.nolock:hover .lk {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.88);
}

body.alpha.locks .btn .lbl,
body.alpha.locks .btn .ico,
body.alpha.locks .btn svg {
  transition: opacity .28s var(--ease);
}

body.alpha.locks .btn:hover .lbl,
body.alpha.locks .btn:hover .ico,
body.alpha.locks .btn:hover svg { opacity: .10; }

body.alpha.locks .btn.nolock:hover .lbl,
body.alpha.locks .btn.nolock:hover .ico,
body.alpha.locks .btn.nolock:hover svg { opacity: 1; }

/* --- JS warning --- */

.jswarn {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  color: #000000;
  border-bottom: 2px solid #d0d0d0;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
}

.jswarn .in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
}

/* --- Alpha banner --- */

.alphaNotice {
  background: #cc0000;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
}

.alphaNotice .in {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
}

.alphaNotice .copy { line-height: 1.35; }

.alphaNotice .warnBig {
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 auto;
  align-self: center;
  transform: translateY(2px);
  background: #fff;
  -webkit-mask: center/contain no-repeat;
  mask: center/contain no-repeat;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 4L4 18h16L12 4z" fill="none" stroke="%23fff" stroke-width="2" stroke-linejoin="round"/><rect x="11" y="8" width="2" height="5.5" rx="1" fill="%23fff"/><circle cx="12" cy="15.2" r="1.1" fill="%23fff"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 4L4 18h16L12 4z" fill="none" stroke="%23fff" stroke-width="2" stroke-linejoin="round"/><rect x="11" y="8" width="2" height="5.5" rx="1" fill="%23fff"/><circle cx="12" cy="15.2" r="1.1" fill="%23fff"/></svg>');
  opacity: .96;
  animation: warnBigBlink 1.25s steps(1, end) infinite;
}

@keyframes warnBigBlink { 50% { opacity: .2; } }

@media (max-width: 560px) {
  .alphaNotice .in     { gap: 8px; }
  .alphaNotice .warnBig { width: 36px; height: 36px; }
}

/* --- Hero --- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 20px 0;
}

.h1 {
  font-size: clamp(48px, 10.5vw, 88px);
  line-height: 1.02;
  margin-bottom: 12px;
  transition: font-size .35s var(--ease);
}

.h1.word { letter-spacing: .14em; }
.h1.word span { opacity: .55; }

.null-stage {
  min-height: 100%;
  display: grid;
  place-items: center;
  margin: 18px 0 42px;
}

.null-stage .null {
  width: min(52vw, 350px);
  height: auto;
  display: block;
}

.sub { color: #cfcfcf; max-width: 780px; }
.sub strong { font-size: 27px; color: #ffffff; }

.sub a,
.wb a,
.card a {
  font-weight: 600;
  color: #b7d4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 212, 255, .7);
  padding-bottom: 0;
  line-height: 1;
  display: inline-block;
}

.sub a:hover,
.wb a:hover,
.card a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* Mobile CTA ordering: primary actions first */
@media (max-width: 599.98px) {
  .cta .btn  { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .cta #dl       { order: 1; }
  .cta #showcase { order: 2; }
  .cta #docs     { order: 3; }
  .cta #qs       { order: 4; }
}

/* Alpha tag under CTAs */
.alphaTag {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 26, 26, .45);
  color: #ff1a1a;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  position: relative;
  overflow: hidden;
  background:
  repeating-linear-gradient(135deg,
  rgba(255, 26, 26, .18) 0px,
  rgba(255, 26, 26, .18) 6px,
  rgba(255, 26, 26, .04) 6px,
  rgba(255, 26, 26, .04) 12px
  );
}

/* --- Typewriter --- */

.type {
  margin: 36px auto 10px;
  max-width: 920px;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(16px, 2.2vw, 22px);
  color: #d8d8d8;
  display: inline-block;
  white-space: pre-wrap;
  line-height: 1.35;
  min-height: 2lh;
  vertical-align: top;
}

#t { display: inline; min-height: 0; }

.mono a.twlink {
  font-weight: 700;
  color: #b7d4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 212, 255, .75);
  padding-bottom: 0;
  line-height: 1;
  display: inline-block;
  cursor: pointer;
}

.mono a.twlink:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.cur {
  position: relative;
  display: inline-block;
  width: 0;
  height: 1.1em;
  margin-left: 0;
  vertical-align: -2px;
  pointer-events: none;
}

.cur::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 10px;
  height: 1.1em;
  background: #d8d8d8;
  pointer-events: none;
  opacity: 1;
}

.cur.blink::before { animation: blink 1.1s steps(1, end) infinite; }

@keyframes blink { 50% { opacity: 0; } }

/* --- Features --- */

section { padding: 6px 0; }

.bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.bar h2 { font-size: 18px; }

.bar span {
  opacity: .6;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Section bar wipe animation (JS only) */
body.js .bar::after {
  content: "";
  height: 1px;
  background: #1a1a1a;
  flex: 1;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
  opacity 1.9s var(--ease) calc(var(--anim-delay) + 760ms),
  transform 1.9s var(--ease) calc(var(--anim-delay) + 760ms);
}

body.js .bar.in-view::after {
  opacity: 1;
  transform: scaleX(1);
}

body.js .bar h2,
body.js .bar span {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
}

body.js .bar h2 {
  transition:
  clip-path 1.9s var(--ease) var(--anim-delay),
  -webkit-clip-path 1.9s var(--ease) var(--anim-delay);
}

body.js .bar span {
  transition:
  clip-path 1.9s var(--ease) calc(var(--anim-delay) + 380ms),
  -webkit-clip-path 1.9s var(--ease) calc(var(--anim-delay) + 380ms);
}

body.js .bar.in-view h2,
body.js .bar.in-view span {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}

/* --- Cards --- */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  transform-style: preserve-3d;
}

@media (min-width: 760px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.grid.dim .card:not(.hov) {
  filter: brightness(.6) saturate(.85);
  opacity: .72;
}

.tw {
  position: relative;
  perspective: 1100px;
  height: 100%;
  z-index: 0;
  opacity: 1;
  animation: none;
}

.tw.on { z-index: 100; }

.card {
  position: relative;
  height: 100%;
  padding: 18px;
  border: 1px solid #1a1a1a;
  background: #0b0b0b;
  border-radius: 14px;
  transform-style: preserve-3d;
  --rx: 0deg;
  --ry: 0deg;
  --tz: 0px;
  --sc: 1;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz)) scale(var(--sc));
  transition:
  transform .28s var(--ease),
  box-shadow .28s,
  border-color .28s,
  filter .68s var(--ease),
  opacity .68s var(--ease);
  will-change: transform, filter, opacity;
  overflow: hidden;
  backface-visibility: hidden;
  transform-origin: center;
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 16px;
}

.card p { color: #b6b6b6; font-size: 14px; }
.card p strong { display: block; margin-bottom: 6px; }

/* Spotlight gradient */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .12s;
  background: radial-gradient(
  circle 80px at var(--mx, 50%) var(--my, 50%),
  rgba(255, 255, 255, .22) 0 28%, transparent 66%
  );
}

.glass {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .14s;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 42%);
  z-index: 2;
}

/* Sheen flash */
.sheen {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 1;
  background: linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, .9) 50%, transparent 55%);
  background-size: 200% 200%;
  background-position: 100% 100%;
  animation: sheen 1s linear forwards;
}

.sheen.lite {
  opacity: 1;
  background: linear-gradient(135deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 52%);
  background-size: 200% 200%;
  background-position: 100% 100%;
  animation: sheen .8s linear forwards;
}

@keyframes sheen {
  0%   { background-position: 100% 100%; opacity: 1; }
  100% { background-position: 0% 0%;     opacity: 0; }
}

/* Card hover */
.card.hov {
  --tz: 42px;
  --sc: 1.12;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .10) inset;
  border-color: #3a3a3a;
  isolation: isolate;
}

.card.hov::before { opacity: .7; }
.card.hov .glass  { opacity: 1; }

@media (max-width: 1200px)    { .card.hov { --sc: 1.08; --tz: 36px; } }
@media (max-width: 1023.98px) { .card.hov { --sc: 1.06; --tz: 30px; } }
@media (max-width: 599.98px)  { .card.hov { --sc: 1.04; --tz: 24px; } }

/* --- Scroll animations --- */

body.js [data-anim] {
  --anim-dur: .72s;
  --anim-delay: 0ms;
  --anim-ease: var(--ease);
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 28px, 0) scale(.985);
  transition:
  opacity   var(--anim-dur) var(--anim-ease) var(--anim-delay),
  transform var(--anim-dur) var(--anim-ease) var(--anim-delay),
  filter    var(--anim-dur) var(--anim-ease) var(--anim-delay);
  will-change: opacity, transform, filter;
}

body.js [data-anim].in-view {
  opacity: 1;
  filter: none;
  transform: none;
}

body.js [data-anim="fade-up"]    { transform: translate3d(0, 26px, 0);            filter: blur(8px); }
body.js [data-anim="fade-down"]  { transform: translate3d(0, -22px, 0);           filter: blur(8px); }
body.js [data-anim="slide-left"] { transform: translate3d(26px, 0, 0);            filter: blur(8px); }
body.js [data-anim="slide-right"]{ transform: translate3d(-26px, 0, 0);           filter: blur(8px); }
body.js [data-anim="zoom"]       { transform: translate3d(0, 20px, 0) scale(.94); filter: blur(10px); }
body.js [data-anim="soft"]       { transform: translate3d(0, 16px, 0) scale(.99); filter: blur(6px); }

body.js [data-anim="pop"] {
  transform: scale(.86);
  transform-origin: 50% 50%;
  filter: blur(10px);
}

body.js [data-anim="decompress"] {
  transform: scale(.86);
  transform-origin: 50% 50%;
  filter: blur(8px);
}

body.js [data-anim="wipe"] {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  opacity: 1;
  filter: none;
  transform: none;
  transition:
  clip-path var(--anim-dur) var(--ease) var(--anim-delay),
  -webkit-clip-path var(--anim-dur) var(--ease) var(--anim-delay);
}

body.js .bar[data-anim="wipe"] {
  display: flex;
  clip-path: none;
  -webkit-clip-path: none;
  transition: none;
}

body.js [data-anim="wipe"].in-view {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}

@keyframes pop {
  0%   { opacity: 0; transform: scale(.86); }
  60%  { opacity: 1; transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* --- Icons --- */

.ico {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: center/contain no-repeat;
  mask: center/contain no-repeat;
}

.btn .ico           { width: 22px; height: 22px; }
.btn.primary .ico   { width: 26px; height: 26px; }
.btn.secondary .ico { width: 20px; height: 20px; }

.btn.secondary.moreBtn .ico {
  -webkit-mask-size: 135% 135%;
  mask-size: 135% 135%;
}

.warn {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 3px;
  vertical-align: -4px;
  background: #ff1a1a;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 4L4 18h16L12 4z\" fill=\"none\" stroke=\"%23fff\" stroke-width=\"2\" stroke-linejoin=\"round\"/><rect x=\"11\" y=\"8\" width=\"2\" height=\"5.5\" rx=\"1\" fill=\"%23fff\"/><circle cx=\"12\" cy=\"15.2\" r=\"1.1\" fill=\"%23fff\"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 4L4 18h16L12 4z\" fill=\"none\" stroke=\"%23fff\" stroke-width=\"2\" stroke-linejoin=\"round\"/><rect x=\"11\" y=\"8\" width=\"2\" height=\"5.5\" rx=\"1\" fill=\"%23fff\"/><circle cx=\"12\" cy=\"15.2\" r=\"1.1\" fill=\"%23fff\"/></svg>');
  animation: warnPulse 1.8s ease-in-out infinite;
}

@keyframes warnPulse {
  0%   { transform: scale(.92); }
  50%  { transform: scale(1.18); }
  100% { transform: scale(.92); }
}

.shield {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 2 3 6v6c0 5.2 3.5 10 9 11.5C17.5 22 21 17.2 21 12V6L12 2Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 2 3 6v6c0 5.2 3.5 10 9 11.5C17.5 22 21 17.2 21 12V6L12 2Z"/></svg>');
}

.boxes {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M3 3h8v8H3V3Zm10 0h8v8h-8V3ZM3 13h8v8H3v-8Zm10 0h8v8h-8v-8Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M3 3h8v8H3V3Zm10 0h8v8h-8V3ZM3 13h8v8H3v-8Zm10 0h8v8h-8v-8Z"/></svg>');
}

.layers {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="m12 2 10 6-10 6L2 8 12 2Zm0 9 10 6-10 6L2 17l10-6Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="m12 2 10 6-10 6L2 8 12 2Zm0 9 10 6-10 6L2 17l10-6Z"/></svg>');
}

.pkg {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M21 7.5 12 2 3 7.5V16l9 6 9-6V7.5ZM7 9l5 3 5-3-5-3-5 3Zm-2 2.3 6 3.7v5l-6-4v-4.7Zm14 4.7-6 4v-5l6-3.7v4.7Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M21 7.5 12 2 3 7.5V16l9 6 9-6V7.5ZM7 9l5 3 5-3-5-3-5 3Zm-2 2.3 6 3.7v5l-6-4v-4.7Zm14 4.7-6 4v-5l6-3.7v4.7Z"/></svg>');
}

.term {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M3 4h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm4.6 5.2 2.9 2.8-2.9 2.8-1.4-1.4L8.7 12 6.2 9.8l1.4-1.6ZM12 16h6v-2h-6v2Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M3 4h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm4.6 5.2 2.9 2.8-2.9 2.8-1.4-1.4L8.7 12 6.2 9.8l1.4-1.6ZM12 16h6v-2h-6v2Z"/></svg>');
}

.lg {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M10 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14Zm0 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm6.6 9.4 5.5 5.5-1.6 1.6-5.5-5.5a1 1 0 0 1 0-1.4 1 1 0 0 1 1.4 0Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M10 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14Zm0 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm6.6 9.4 5.5 5.5-1.6 1.6-5.5-5.5a1 1 0 0 1 0-1.4 1 1 0 0 1 1.4 0Z"/></svg>');
}

.contact {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z"/><path d="M10 8.5a2 2 0 1 1 3.5 1.3c-.8.6-1.5 1.1-1.5 2.2"/><path d="M12 15.5h.01"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z"/><path d="M10 8.5a2 2 0 1 1 3.5 1.3c-.8.6-1.5 1.1-1.5 2.2"/><path d="M12 15.5h.01"/></svg>');
}

.dl {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 3a1 1 0 0 1 1 1v8.6l2.3-2.3 1.4 1.4-4.7 4.7-4.7-4.7 1.4-1.4 2.3 2.3V4a1 1 0 0 1 1-1Zm-7 15h14v2H5v-2Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 3a1 1 0 0 1 1 1v8.6l2.3-2.3 1.4 1.4-4.7 4.7-4.7-4.7 1.4-1.4 2.3 2.3V4a1 1 0 0 1 1-1Zm-7 15h14v2H5v-2Z"/></svg>');
}

.spark {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 2l1.4 6.1L20 10l-6.6 1.9L12 22l-1.4-10.1L4 10l6.6-1.9L12 2Zm8.2 8.8.8 3.2 3.1.8-3.1.8-.8 3.1-.8-3.1-3.2-.8 3.2-.8.8-3.2Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 2l1.4 6.1L20 10l-6.6 1.9L12 22l-1.4-10.1L4 10l6.6-1.9L12 2Zm8.2 8.8.8 3.2 3.1.8-3.1.8-.8 3.1-.8-3.1-3.2-.8 3.2-.8.8-3.2Z"/></svg>');
}

.book {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 6c-2-1.5-4.5-2-7-2v14c2.5 0 5 .5 7 2"/><path d="M12 6c2-1.5 4.5-2 7-2v14c-2.5 0-5 .5-7 2"/><path d="M12 6v14"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 6c-2-1.5-4.5-2-7-2v14c2.5 0 5 .5 7 2"/><path d="M12 6c2-1.5 4.5-2 7-2v14c-2.5 0-5 .5-7 2"/><path d="M12 6v14"/></svg>');
}

.code {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M8.7 16.6 4.1 12l4.6-4.6 1.4 1.4L6.9 12l3.2 3.2-1.4 1.4Zm6.6 0-1.4-1.4 3.2-3.2-3.2-3.2 1.4-1.4 4.6 4.6-4.6 4.6Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M8.7 16.6 4.1 12l4.6-4.6 1.4 1.4L6.9 12l3.2 3.2-1.4 1.4Zm6.6 0-1.4-1.4 3.2-3.2-3.2-3.2 1.4-1.4 4.6 4.6-4.6 4.6Z"/></svg>');
}

.more {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%23fff" d="M5.2 7.2a1.2 1.2 0 0 1 1.7 0L10 10.3l3.1-3.1a1.2 1.2 0 1 1 1.7 1.7l-3.9 3.9a1.2 1.2 0 0 1-1.7 0L5.2 8.9a1.2 1.2 0 0 1 0-1.7Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%23fff" d="M5.2 7.2a1.2 1.2 0 0 1 1.7 0L10 10.3l3.1-3.1a1.2 1.2 0 1 1 1.7 1.7l-3.9 3.9a1.2 1.2 0 0 1-1.7 0L5.2 8.9a1.2 1.2 0 0 1 0-1.7Z"/></svg>');
}

/* Per-button icon size tweaks */
#dl, #mDl      { gap: 6px; }
#dl .ico.dl,
#mDl .ico.dl   { -webkit-mask-size: 115% 115%; mask-size: 115% 115%; }
#docs .ico     { -webkit-mask-size: 112% 112%; mask-size: 112% 112%; }
#qs .ico       { -webkit-mask-size: 140% 140%; mask-size: 140% 140%; }

#showcase      { gap: 8px; }
#showcase .ico {
  -webkit-mask-size: 120% 120%;
  mask-size: 120% 120%;
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 24"><g transform="translate(-1 0)"><path fill="%23fff" d="M12 2l1.4 6.1L20 10l-6.6 1.9L12 22l-1.4-10.1L4 10l6.6-1.9L12 2Zm8.2 8.8.8 3.2 3.1.8-3.1.8-.8 3.1-.8-3.1-3.2-.8 3.2-.8.8-3.2Z"/></g></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 24"><g transform="translate(-1 0)"><path fill="%23fff" d="M12 2l1.4 6.1L20 10l-6.6 1.9L12 22l-1.4-10.1L4 10l6.6-1.9L12 2Zm8.2 8.8.8 3.2 3.1.8-3.1.8-.8 3.1-.8-3.1-3.2-.8 3.2-.8.8-3.2Z"/></g></svg>');
}

/* --- Disclaimer --- */

.disc {
  margin-top: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border: 2px dashed #6a6a6a;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .025));
  color: #e0e0e0;
  font-size: 13px;
  position: relative;
}

.disc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, .05);
}

/* --- Contact / Team --- */

.page-head {
  text-align: center;
  padding: 60px 0 20px;
}

.page-head h1 {
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.1;
}

.page-head p {
  color: #9d9d9d;
  font-size: 16px;
  margin-top: 8px;
}

.page-notice {
  max-width: 680px;
  margin: 0 auto 28px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 204, 0, .25);
  background: rgba(255, 204, 0, .06);
  color: #e0c040;
  font-size: 14px;
  text-align: center;
  line-height: 1.45;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

@media (min-width: 860px) {
  .team-grid--fleet { grid-template-columns: repeat(3, 1fr); }
}

.pcard {
  border: 1px solid #1a1a1a;
  background: #0b0b0b;
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color .22s var(--ease),
    box-shadow .22s var(--ease);
}

.pcard:hover {
  border-color: #2a2a2a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
}

.pcard-banner {
  height: 140px;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 50%, #0d0d0d 100%);
}

.team-grid--fleet .pcard-banner { height: 100px; }

.pcard-body {
  display: flex;
  gap: 24px;
  padding: 0 28px 28px;
  align-items: flex-start;
}

.pcard-pic {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 4px solid #0b0b0b;
  margin-top: -55px;
  flex: 0 0 auto;
  position: relative;
}

.pcard-info {
  flex: 1;
  min-width: 0;
  padding-top: 14px;
}

.pcard-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pcard-role {
  font-size: 13px;
  font-weight: 600;
  color: #7a7a7a;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pcard-desc {
  font-size: 14px;
  color: #b6b6b6;
  line-height: 1.5;
}

.pcard-desc p { margin-bottom: 8px; }

.pcard-desc ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pcard-desc li {
  font-size: 13px;
  color: #9a9a9a;
  padding-left: 14px;
  position: relative;
}

.pcard-desc li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #555;
  font-weight: 700;
}

.pcard-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}

.pcard-link {
  font-size: 13px;
  color: #b7d4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 212, 255, .4);
  padding-bottom: 1px;
  transition: color .14s, border-color .14s;
}

.pcard-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Fleet cards: centered vertical layout */
.team-grid--fleet .pcard-body {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 22px 22px;
}

.team-grid--fleet .pcard-desc {
  text-align: left;
  width: 100%;
}

.team-grid--fleet .pcard-pic {
  width: 96px;
  height: 96px;
  margin-top: -48px;
}

/* Owner card stacks on narrow screens */
@media (max-width: 599px) {
  .team-grid--owner .pcard-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-grid--owner .pcard-links { justify-content: center; }
}

/* --- Footer --- */

footer {
  border-top: 1px solid #1a1a1a;
  color: #9d9d9d;
  padding: 18px 0;
}

.foot-copy { font-size: 12px; margin-top: .35rem; }

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.foot-null-stage {
  display: grid;
  place-items: center;
  margin: 6px 0;
}

.foot-null-stage .null {
  width: 70px;
  height: auto;
  display: block;
}

.word {
  letter-spacing: .22em;
  font-weight: 600;
}

.word span { opacity: .55; }

/* --- Modal --- */

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
  opacity .22s var(--ease),
  visibility .22s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal.closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
}

/* No-JS modal via :target */
body:not(.js) #wip:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body:not(.js) .nojsopen .win {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.win {
  --dx: 0px;
  --dy: 0px;
  width: min(600px, 94vw);
  position: fixed;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
  0 0 0 1px rgba(255, 255, 255, .06),
  0 22px 70px rgba(0, 0, 0, .85);
  border-radius: 16px;
  transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.94);
  opacity: 0;
  transition:
  transform .26s var(--ease),
  opacity .22s var(--ease);
  overflow: hidden;
}

.modal.open .win,
body:not(.js) #wip:target .win {
  transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1);
  opacity: 1;
}

.modal.closing .win {
  transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.92);
  opacity: 0;
}

.wt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #eaeaea;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  cursor: grab;
  user-select: none;
}

.wt:active { cursor: grabbing; }

.cap {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cfcfcf;
  opacity: .9;
}

.x {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  transition: background .12s, border .12s, transform .12s;
  cursor: pointer;
}

.xsvg { width: 18px; height: 18px; display: block; }

.x:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
}

.x:active { transform: scale(.86); }

.wb {
  padding: 22px 20px 10px;
  text-align: center;
}

.wb h4 {
  margin-bottom: 10px;
  font-size: 28px;
  letter-spacing: .02em;
}

.wb p {
  margin: 10px auto;
  color: #cfcfcf;
  max-width: 520px;
  line-height: 1.5;
}

.wa {
  display: flex;
  justify-content: center;
  padding: 12px 0 18px;
}

.close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  transition: background .12s, border .12s, transform .12s;
  cursor: pointer;
}

.close:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
}

.close:active { transform: scale(.88); }

/* --- Utilities --- */

body.dragging { user-select: none; }
