@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  font-size: 13px;
  --color-text: #e8edf5;
  --color-bg: #03060d;
  --color-link: #7eb8ff;
  --color-link-hover: #ffffff;
  --page-padding: 1.5rem;
  --color-menu-item: #ffffff;
  --color-accent: #8fa3b8;
  --color-accent-2: rgba(255,255,255,0.55);
  --color-accent-gold: rgba(255,255,255,0.45);
  --color-glow: rgba(143, 163, 184, 0.06);
  --font-display: 'Raleway', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* ===================================================
   BASE
=================================================== */

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: 'Space Mono', monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100dvh;
  overflow: hidden;
  text-transform: uppercase;
}

@media (scripting: enabled) {
  .loading {
    &::before,
    &::after {
      content: '';
      position: fixed;
      z-index: 10000;
    }
    &::before {
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: var(--color-bg);
    }
    &::after {
      top: 50%; left: 50%;
      width: 120px; height: 1px;
      margin: 0 0 0 -60px;
      background: var(--color-accent);
      animation: loaderAnim 1.5s ease-in-out infinite alternate forwards;
      box-shadow: 0 0 12px var(--color-accent);
    }
  }
}

@keyframes loaderAnim {
  0%   { transform: scaleX(0); transform-origin: 0% 50%; }
  50%  { transform: scaleX(1); transform-origin: 0% 50%; }
  50.1%{ transform: scaleX(1); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
  cursor: pointer;
  &:hover { color: var(--color-link-hover); }
}

main {
  display: grid;
  grid-template-areas: 'main';
  height: 100dvh;
  width: 100%;
  position: relative;
}

/* ===================================================
   FRAME / HEADER
=================================================== */

.frame {
  grid-area: main;
  align-self: start;
  padding: var(--page-padding);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.frame__logo {
  pointer-events: auto;
  line-height: 1;
  display: flex;
  align-items: center;
}

.frame__logo-img {
  height: clamp(14px, 1.4vw, 20px);
  width: auto;
  display: block;
  opacity: 0.9;
}

.frame__tagline {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
}

/* ===================================================
   SCROLL HINT
=================================================== */

.scroll-hint {
  grid-area: main;
  align-self: end;
  justify-self: center;
  z-index: 600;
  margin-bottom: var(--page-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scrollBounce 2s ease-in-out infinite;

  span {
    font-size: 1.4rem;
    color: var(--color-accent);
    opacity: 0.7;
    text-shadow: 0 0 10px var(--color-accent);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%       { transform: translateY(6px); opacity: 1; }
}

/* ===================================================
   COVER
=================================================== */

.cover {
  grid-area: main;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(10, 1fr);
  overflow: hidden;
  pointer-events: none;
}

.cover__item {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.cover__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.4) brightness(0.6);
}

.cover__item:nth-child(1)  { grid-area: 1 / 2; }
.cover__item:nth-child(2)  { grid-area: 2 / 6; }
.cover__item:nth-child(3)  { grid-area: 1 / 10; }
.cover__item:nth-child(4)  { grid-area: 3 / 14; }
.cover__item:nth-child(5)  { grid-area: 2 / 17; }
.cover__item:nth-child(6)  { grid-area: 4 / 4; }
.cover__item:nth-child(7)  { grid-area: 5 / 8; }
.cover__item:nth-child(8)  { grid-area: 4 / 12; }
.cover__item:nth-child(9)  { grid-area: 6 / 16; }
.cover__item:nth-child(10) { grid-area: 5 / 19; }
.cover__item:nth-child(11) { grid-area: 7 / 3; }
.cover__item:nth-child(12) { grid-area: 8 / 7; }
.cover__item:nth-child(13) { grid-area: 7 / 11; }
.cover__item:nth-child(14) { grid-area: 9 / 15; }

/* ===================================================
   TITLE
=================================================== */

.title__logo-img {
  display: block;
  width: clamp(260px, 38vw, 640px);
  height: auto;
  opacity: 0.95;
}

.title {
  grid-area: main;
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 100;
  user-select: none;

  em {
    font-style: normal;
    color: var(--color-accent);
    text-shadow: 0 0 40px rgba(74,158,255,0.5), 0 0 80px rgba(74,158,255,0.2);
  }

  span:first-child {
    text-shadow: 0 0 60px rgba(74,158,255,0.3);
  }
}

/* ===================================================
   MENU
=================================================== */

.menu {
  grid-area: main;
  z-index: 200;
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  will-change: clip-path;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.5rem;
  position: relative;
}

.menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(74,158,255,0.07) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(3,6,13,0.55) 0%, transparent 20%, transparent 80%, rgba(3,6,13,0.55) 100%);
  z-index: 250;
  pointer-events: none;
}

.menu::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  background: linear-gradient(to right, rgba(3,6,13,0.75), transparent 22%, transparent 78%, rgba(3,6,13,0.75));
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  filter: saturate(0.55) brightness(0.45);
}

.menu__item {
  position: relative;
  z-index: 300;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  white-space: nowrap;
  font-size: clamp(1.3rem, 5vw, 4.2rem);
  line-height: 1;
  user-select: none;
  color: #fff;
  letter-spacing: 0.06em;
  transition: color 0.22s, text-shadow 0.22s;
  cursor: pointer;
  padding: 0.15em 0;
}

.menu__item::before {
  content: '> ';
  color: var(--color-accent);
  opacity: 0;
  transition: opacity 0.22s, transform 0.22s;
  display: inline-block;
}

.menu__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--color-accent);
}

.menu__item:hover {
  color: var(--color-accent);
  text-shadow: 0 0 40px rgba(74,158,255,0.45);
  &::before { opacity: 1; transform: translateX(-4px); }
  &::after  { width: 100%; }
}

/* ===================================================
   PAGE OVERLAYS
=================================================== */

.page {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  transition: clip-path 0.55s cubic-bezier(0.16,1,0.3,1), opacity 0.1s;
}

/* atmospheric background layers shared by all pages */
.page::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to bottom, rgba(3,6,13,0.55) 0%, transparent 22%, transparent 78%, rgba(3,6,13,0.55) 100%),
    linear-gradient(to right, rgba(3,6,13,0.35) 0%, transparent 18%, transparent 82%, rgba(3,6,13,0.35) 100%);
}

/* scanlines */
.page::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
}

.page.is-active {
  opacity: 1;
  pointer-events: auto;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.page__back {
  position: absolute;
  top: var(--page-padding);
  left: var(--page-padding);
  z-index: 10;
  background: none;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.14);
  transition: color 0.2s, border-color 0.2s, background 0.2s;

  &:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.28);
    color: rgba(255,255,255,0.82);
  }
}

.page__content {
  flex: 1;
  overflow-y: auto;
  padding: 5rem var(--page-padding) 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
  position: relative;
  z-index: 2;

  @media (min-width: 900px) {
    padding: 5rem 4rem 3rem;
  }
}

/* shared eyebrow style */
.page__eyebrow,
.overview__eyebrow,
.bench__eyebrow,
.agents__eyebrow,
.x402__eyebrow,
.lb__eyebrow,
.docs__eyebrow,
.launch__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.2rem;
}

/* shared section heading */
.overview__title,
.bench__title,
.agents__title,
.x402__title,
.lb__title,
.docs__title,
.launch__title {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  color: #fff;

  em {
    font-style: normal;
    color: rgba(255,255,255,0.92);
  }
}

/* ===================================================
   PAGE — OVERVIEW (two-column: description + charts)
=================================================== */

.page--overview {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3.5rem 4rem;
  align-items: start;
}

.overview__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}

.overview__title {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.6rem;
  color: #fff;
  letter-spacing: -0.02em;

  em {
    font-style: normal;
    color: rgba(255,255,255,0.92);
  }
}

.overview__sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1.2rem;
  text-transform: none;
  letter-spacing: 0;
}

.overview__sub--b {
  color: rgba(255,255,255,0.38);
  margin-bottom: 2rem;
}

.overview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;

  span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.38);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.3rem 0.7rem;
    text-transform: uppercase;
  }
}

.overview__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 1.8rem 0;
}

.overview__block {
  margin-bottom: 1.4rem;
}

.overview__block-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.22);
  margin-bottom: 0.5rem;
}

.overview__block-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.5);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

/* ===================================================
   PAGE — SOCIALS
=================================================== */

.page--socials {
  overflow-y: auto;
  padding: 3.5rem clamp(1.5rem, 5vw, 5rem) 4rem;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.soc__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.22);
  margin-bottom: 0.9rem;
}

.soc__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.soc__desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 560px;
  margin: 0 0 2.8rem;
  text-transform: none;
  letter-spacing: 0;
}

.soc__links {
  display: flex;
  flex-direction: column;
}

.soc__link {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;

  &:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }

  &:hover {
    .soc__link-name { color: #fff; }
    .soc__link-arrow { opacity: 1; transform: translate(2px, -2px); }
  }
}

.soc__link-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  font-style: normal;
}

.soc__link-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.soc__link-name {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  transition: color 0.15s;
}

.soc__link-handle {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
}

.soc__link-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.35);
  margin-top: 0.3rem;
  text-transform: none;
  letter-spacing: 0;
}

.soc__link-arrow {
  font-size: 1rem;
  color: rgba(255,255,255,0.2);
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.15s;
}

/* ===================================================
   PAGE — TOKENOMICS & TEAM
=================================================== */

.page--tokenomics {
  overflow-y: auto;
  padding: 3.5rem clamp(1.5rem, 5vw, 5rem) 4rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.tok__section {
  margin-bottom: 0;
}

.tok__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 3.5rem 0;
}

.tok__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.22);
  margin-bottom: 0.9rem;
}

.tok__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.tok__desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 680px;
  margin: 0 0 2.4rem;
  text-transform: none;
  letter-spacing: 0;
}

/* ---- Stats grid ---- */

.tok__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;

  @media (max-width: 800px) { grid-template-columns: repeat(2, 1fr); }
  @media (max-width: 500px) { grid-template-columns: 1fr; }
}

.tok__card {
  background: var(--color-bg);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tok__card-val {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.02em;
  line-height: 1;
}

.tok__card-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.22);
  margin-top: 0.1rem;
}

.tok__card-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.32);
  margin-top: 0.4rem;
  text-transform: none;
  letter-spacing: 0;
}

/* ---- Distribution bar ---- */

.tok__bar-wrap {
  margin-bottom: 0.5rem;
}

.tok__bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.22);
  margin-bottom: 0.5rem;
}

.tok__bar {
  height: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}

.tok__bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(255,255,255,0.1);
  border-right: 2px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  padding-left: 0.8rem;
}

.tok__bar-text {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
}

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

.tok__team {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tok__member {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;

  &:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }
}

.tok__member-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.tok__member-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  background: rgba(255,255,255,0.02);
}

.tok__member-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
}

.tok__member-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.32);
  margin-top: 0.15rem;
  text-transform: none;
  letter-spacing: 0;
}

.tok__member-bio {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.8rem, 1.1vw, 0.88rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.46);
  max-width: 760px;
  text-transform: none;
  letter-spacing: 0;
}

.tok__member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;

  span {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.28);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.2rem 0.55rem;
  }
}

/* --- Charts column --- */

.overview__right {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.overview__chart {
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  padding: 1rem 1.2rem 0.8rem;
}

.overview__chart-hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.8rem;
  gap: 1rem;
}

.overview__chart-name {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
}

.overview__chart-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

.overview__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.overview__svg--tall {
  min-height: 80px;
}

.overview__charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

@media (max-width: 900px) {
  .page--overview {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .overview__charts-row {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   PAGE — BENCHMARKS
=================================================== */

.page--benchmarks {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.bench__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.bench__title {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.bench__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.42);
  max-width: 680px;
  margin: 0 0 2rem;
}

/* ---- Summary stats row ---- */

.bench__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}

.bench__stat {
  flex: 1 1 0;
  padding: 1.1rem 1.4rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  min-width: 100px;

  &:last-child { border-right: none; }
}

.bench__stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.bench__stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.32);
  text-transform: uppercase;
}

/* ---- Table ---- */

.bench__table {
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}

.bench__thead {
  display: grid;
  grid-template-columns: 2.8rem 1fr 2fr 4rem 7rem 4rem;
  gap: 0 1rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;

  @media (max-width: 820px) {
    grid-template-columns: 2.2rem 1fr 4rem 5rem;
    span:nth-child(3), span:nth-child(6) { display: none; }
  }
}

.bench__phase-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.22);
  padding: 0.55rem 1rem;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-transform: uppercase;
}

.bench__row {
  display: grid;
  grid-template-columns: 2.8rem 1fr 2fr 4rem 7rem 4rem;
  gap: 0 1rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;

  &:last-child { border-bottom: none; }
  &:hover { background: rgba(255,255,255,0.025); }

  @media (max-width: 820px) {
    grid-template-columns: 2.2rem 1fr 4rem 5rem;
    .bench__desc-cell, .bench__runs { display: none; }
  }
}

.bench__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.05em;
}

.bench__name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
}

.bench__desc-cell {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.45;
}

.bench__pct {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
  letter-spacing: 0.03em;
}
.bench__pct--high { color: rgba(255,255,255,0.82); }
.bench__pct--mid  { color: rgba(255,255,255,0.55); }
.bench__pct--low  { color: rgba(255,255,255,0.32); }

.bench__bar-cell {
  height: 3px;
  background: rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.bench__bar-inner {
  display: block;
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: var(--w);
  background: rgba(255,255,255,0.4);
}

.bench__runs {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
  text-align: right;
  letter-spacing: 0.04em;
}

/* ===================================================
   PAGE — AI AGENTS
=================================================== */

.page--agents {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.agents__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.agents__title {
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.agents__intro {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 620px;
  margin: 0 0 2rem;
}

/* ---- Tabs ---- */

.agents__tabs {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.agents__tab {
  background: none;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.35);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s;

  &:last-child { border-right: none; }
  &:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.03); }
}

.agents__tab--active {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ---- Panels ---- */

.agents__panel--hidden {
  display: none;
}

.agents__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
}

/* ---- Agent card ---- */

.agents__card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem;
  background: var(--color-bg);
  text-decoration: none;
  transition: background 0.18s;

  &:hover { background: rgba(255,255,255,0.03); }
}

.agents__card--submit {
  cursor: default;
  opacity: 0.55;
  &:hover { background: var(--color-bg); opacity: 0.75; }
}

.agents__card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.agents__card-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.agents__card-badges {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.agents__card-org {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
}

.agents__card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.42);
  flex: 1;
}

.agents__card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: auto;
}

.agents__card-link {
  color: rgba(255,255,255,0.45);
  white-space: nowrap;

  .agents__card:hover & { color: rgba(255,255,255,0.72); }
}

/* ---- Shared badge styles ---- */

.badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
}

.badge--gold {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.12);
}

.badge--blue {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.09);
}

.badge--green {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.09);
}

/* ===================================================
   PAGE — X402 PROTOCOL
=================================================== */

.page--x402 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  align-content: start;

  @media (min-width: 900px) {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.x402__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.x402__title {
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 1.2rem;
  color: #fff;
  letter-spacing: -0.02em;

  em {
    font-style: normal;
    color: rgba(255,255,255,0.92);
  }
}

.x402__desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.x402__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.03);
}

.x402__code {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.45);
  overflow: hidden;
}

.x402__code-bar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;

  span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    &:nth-child(1) { background: rgba(255, 95, 87, 0.5); }
    &:nth-child(2) { background: rgba(255,189, 46, 0.5); }
    &:nth-child(3) { background: rgba(40,200,64, 0.5); }
  }

  label {
    margin-left: auto;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.3);
    cursor: default;
  }
}

.x402__code pre {
  margin: 0;
  padding: 1.2rem 1.4rem;
  overflow-x: auto;
}

.x402__code code {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  text-transform: none;
  letter-spacing: 0;
}

.c-comment { color: rgba(255,255,255,0.28); }
.c-status  { color: rgba(255,255,255,0.72); }
.c-val     { color: rgba(255,255,255,0.9); }

.x402__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 1px;
}

.x402__metric {
  background: rgba(0,0,0,0.45);
  padding: 1rem;
  text-align: center;

  label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.4rem;
    cursor: default;
  }

  span {
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.72);
  }
}

/* ===================================================
   PAGE — LEADERBOARD
=================================================== */

.page--leaderboard {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.lb__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.lb__title {
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 1.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.lb__filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.lb__filter {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.38);
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0.4rem 1rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;

  &:hover, &--active {
    border-color: rgba(255,255,255,0.28);
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.05);
  }
}

.lb__filter--active {
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.05);
}

.lb__table {
  border: 1px solid rgba(255,255,255,0.07);
}

.lb__thead {
  display: grid;
  grid-template-columns: 3rem 1fr 5rem 5rem 8rem 7rem;
  gap: 1rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);

  @media (max-width: 700px) {
    grid-template-columns: 3rem 1fr 5rem;
    > span:nth-child(4),
    > span:nth-child(5),
    > span:nth-child(6) { display: none; }
  }
}

.lb__row {
  display: grid;
  grid-template-columns: 3rem 1fr 5rem 5rem 8rem 7rem;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
  transition: background 0.15s;
  cursor: default;

  &:last-child { border-bottom: none; }
  &:hover { background: rgba(255,255,255,0.025); }

  @media (max-width: 700px) {
    grid-template-columns: 3rem 1fr 5rem;
    > span:nth-child(4),
    > span:nth-child(5),
    > span:nth-child(6) { display: none; }
  }
}

.lb__row--gold   { border-left: 2px solid rgba(255,255,255,0.28); }
.lb__row--silver { border-left: 2px solid rgba(255,255,255,0.16); }
.lb__row--bronze { border-left: 2px solid rgba(255,255,255,0.09); }

.lb__pos {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

.lb__agent {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;

  small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.15rem;
  }
}

.lb__score {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.lb__score--accent { color: rgba(255,255,255,0.88); }

.lb__pass {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lb__pass--high { color: rgba(255,255,255,0.78); }
.lb__pass--mid  { color: rgba(255,255,255,0.5); }
.lb__pass--low  { color: rgba(255,255,255,0.32); }

/* ===================================================
   PAGE — DOCUMENTATION
=================================================== */

.page--docs {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
}

/* two-column layout */
.docs__layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  min-height: 100%;
  align-items: start;

  @media (max-width: 700px) {
    grid-template-columns: 1fr;
  }
}

/* ---- Left nav ---- */

.docs__nav {
  position: sticky;
  top: 0;
  padding: 0 1.4rem 2rem 0;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;

  @media (max-width: 700px) {
    display: none;
  }
}

.docs__nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.docs__nav-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.22);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  padding-left: 0.6rem;
}

.docs__nav-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  transition: color 0.15s, background 0.15s;

  &:hover { color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.03); }
}

.docs__nav-item--active {
  color: rgba(255,255,255,0.82);
  border-left: 2px solid rgba(255,255,255,0.28);
  padding-left: calc(0.6rem - 2px);
}

/* ---- Right body ---- */

.docs__body {
  padding: 0 0 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;

  @media (max-width: 700px) {
    padding: 0;
  }
}

.docs__article {
  padding: 2rem 0;
}

.docs__article-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.docs__article-title {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 0.8rem;
}

.docs__article-lead {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 640px;
  margin: 0 0 1.8rem;
}

.docs__divider {
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 0;
}

/* ---- Steps (quickstart) ---- */

.docs__step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0 1.2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.docs__step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}

.docs__step-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.docs__step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
  margin: 0 0 0.8rem;
}

/* ---- Code blocks ---- */

.docs__code {
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.35);
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.docs__code-bar {
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.4rem 0.9rem;
}

.docs__code-lang {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}

.docs__code pre {
  margin: 0;
  padding: 0.9rem;
  overflow-x: auto;
}

.docs__code code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  white-space: pre;
  display: block;
}

.c-prompt { color: rgba(255,255,255,0.38); user-select: none; }
.c-green  { color: rgba(255,255,255,0.72); }
.c-dim    { color: rgba(255,255,255,0.3); }
.c-comment { color: rgba(255,255,255,0.25); }
.c-val    { color: rgba(255,255,255,0.85); }

/* ---- Subsection title ---- */

.docs__subsection-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.32);
  text-transform: uppercase;
  margin: 1.4rem 0 0.6rem;
}

/* ---- Prose ---- */

.docs__prose {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.38);
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;

  strong { color: rgba(255,255,255,0.65); font-weight: 600; }
  code {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    padding: 0.1em 0.35em;
  }
}

/* ---- Architecture schema ---- */

.docs__schema {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.docs__schema-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.docs__schema-box {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;

  span {
    display: block;
    font-size: 0.58rem;
    color: rgba(255,255,255,0.28);
    letter-spacing: 0.1em;
    margin-top: 0.15rem;
  }
}

.docs__schema-box--client { border-color: rgba(255,255,255,0.14); }
.docs__schema-box--highlight {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}

.docs__schema-arrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-align: center;
}

/* ---- API endpoints ---- */

.docs__endpoint {
  margin-bottom: 2rem;
}

.docs__endpoint-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.docs__method {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
}

.docs__path {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

.docs__endpoint-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ---- Scoring table ---- */

.docs__score-table {
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.docs__score-thead {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 0 1rem;
  padding: 0.55rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.25);
}

.docs__score-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 0 1rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;

  &:last-child { border-bottom: none; }
}

.docs__score-row--total {
  background: rgba(255,255,255,0.025);
  color: rgba(255,255,255,0.82);
  font-weight: 700;
}

/* ---- Environment table ---- */

.docs__env-table {
  border: 1px solid rgba(255,255,255,0.07);
  max-width: 640px;
}

.docs__env-row {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 0 1rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: start;

  &:last-child { border-bottom: none; }

  code {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.02em;
  }

  span {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.38);

    code {
      font-size: 0.68rem;
      color: rgba(255,255,255,0.55);
      background: rgba(255,255,255,0.05);
      padding: 0.05em 0.3em;
    }
  }
}

/* ---- Changelog ---- */

.docs__changelog {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.docs__change-ver {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);

  span {
    font-weight: 400;
    color: rgba(255,255,255,0.28);
    margin-left: 0.8rem;
    font-size: 0.72rem;
  }
}

.docs__change ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.docs__change li {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  padding-left: 1rem;
  position: relative;

  &::before {
    content: '–';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.2);
  }

  code {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.05);
    padding: 0.05em 0.3em;
  }
}

/* ===================================================
   PAGE — LAUNCH APP (mock platform)
=================================================== */

.page--launch {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
}

/* ---- App shell ---- */

.app {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-mono);
}

/* ---- Top bar ---- */

.app__bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 1.4rem;
  height: 42px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
  background: rgba(255,255,255,0.015);
}

.app__bar-brand {
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 1.8rem;
}

.app__bar-logo {
  height: 16px;
  width: auto;
  display: block;
  opacity: 0.55;
}

.app__bar-tabs {
  display: flex;
  gap: 0;
  flex: 1;
}

.app__bar-tab {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  background: none;
  border: none;
  padding: 0 1.1rem;
  height: 42px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  text-transform: uppercase;

  &:hover { color: rgba(255,255,255,0.6); }
}

.app__bar-tab--active {
  color: rgba(255,255,255,0.88);
  border-bottom-color: rgba(255,255,255,0.32);
}

.app__bar-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.app__bar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}

.app__bar-username {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.06em;
}

/* ---- Panels ---- */

.app__panel {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem 1.6rem;
}

.app__panel--hidden { display: none !important; }

/* ---- Section title ---- */

.app__section-title {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

/* ---- Stats row ---- */

.app__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.4rem;

  @media (max-width: 700px) { grid-template-columns: repeat(2, 1fr); }
}

.app__stat {
  background: var(--color-bg);
  padding: 0.9rem 1.1rem;
}

.app__stat-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.01em;
  line-height: 1;
}

.app__stat-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.24);
  margin-top: 0.25rem;
  text-transform: uppercase;
}

/* ---- Dashboard body ---- */

.app__dashboard-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;

  @media (max-width: 900px) { grid-template-columns: 1fr; }
}

/* ---- Table ---- */

.app__table {
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.2rem;
}

.app__table-head {
  display: grid;
  grid-template-columns: 8.5rem 1fr 4.5rem 4rem 7rem 4.5rem;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.18);

  @media (max-width: 900px) {
    grid-template-columns: 7rem 1fr 4rem 5rem;
    > span:nth-child(3),
    > span:last-child { display: none; }
  }
}

.app__table-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr 4.5rem 4rem 7rem 4.5rem;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  transition: background 0.1s;

  &:last-child { border-bottom: none; }
  &:hover { background: rgba(255,255,255,0.02); }

  @media (max-width: 900px) {
    grid-template-columns: 7rem 1fr 4rem 5rem;
    > span:nth-child(3),
    > span:last-child { display: none; }
  }
}

.app__mono {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

.app__dim { color: rgba(255,255,255,0.26); font-size: 0.72rem; }

.app__score { font-family: var(--font-mono); font-weight: 700; font-size: 0.78rem; }
.app__score--high { color: rgba(255,255,255,0.82); }
.app__score--mid  { color: rgba(255,255,255,0.52); }
.app__score--low  { color: rgba(255,255,255,0.3); }

.app__status {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  padding: 0.18rem 0.45rem;
  border: 1px solid;
  display: inline-block;
  white-space: nowrap;
}
.app__status--ok   { color: rgba(255,255,255,0.6);  border-color: rgba(255,255,255,0.14); }
.app__status--err  { color: rgba(255,255,255,0.32); border-color: rgba(255,255,255,0.07); }
.app__status--idle { color: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.07); }

/* ---- Phase bars ---- */

.app__phases {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.app__phase {
  display: grid;
  grid-template-columns: 8rem 1fr 3rem;
  gap: 0.7rem;
  align-items: center;
}

.app__phase-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.app__phase-bar {
  height: 2px;
  background: rgba(255,255,255,0.06);
  position: relative;
}

.app__phase-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(255,255,255,0.32);
}

.app__phase-val {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-align: right;
}

/* ---- Activity log ---- */

.app__log {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.06);
}

.app__log-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.8rem;
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.02em;

  &:last-child { border-bottom: none; }
}

.app__log-ok  { color: rgba(255,255,255,0.55); }
.app__log-err { color: rgba(255,255,255,0.28); }

/* ---- Empty states ---- */

.app__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 2.8rem 1rem;
  text-align: center;
}

.app__empty-state--sm {
  padding: 1.2rem 0.8rem;
}

.app__empty-icon {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.1);
  margin-bottom: 0.3rem;
}

.app__empty-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
}

.app__empty-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  max-width: 280px;
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
}

/* ---- Inline copy button ---- */

.app__inline-copy {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.22);
  background: none;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.12rem 0.38rem;
  cursor: pointer;
  transition: color 0.12s, border-color 0.12s;
  flex-shrink: 0;

  &:hover {
    color: rgba(255,255,255,0.55);
    border-color: rgba(255,255,255,0.15);
  }
}

/* ---- Danger button ---- */

.app__btn--danger {
  background: none;
  border-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.2);

  &:hover {
    color: rgba(255,100,100,0.7);
    border-color: rgba(255,100,100,0.2);
    background: rgba(255,80,80,0.05);
  }
}

/* ---- Agent ID row ---- */

.app__agent-id-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---- Expand rows ---- */

.app__expand {
  background: rgba(0,0,0,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.app__expand-inner {
  padding: 0.7rem 0.9rem 0.7rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.01em;
  white-space: pre-wrap;
}

/* ---- Table variants ---- */

.app__table-empty {
  padding: 1rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  border-bottom: none;
}

.app__table-head--sm {
  grid-template-columns: 8rem 1fr 4rem 4rem 4.5rem !important;
}

.app__table-row--sm {
  grid-template-columns: 8rem 1fr 4rem 4rem 4.5rem;
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.45);

  &:last-child { border-bottom: none; }
}

/* ---- Runs right column ---- */

.app__runs-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;

  .app__terminal {
    flex: 0 0 auto;
    min-height: 340px;
    max-height: 420px;
  }
}

/* ---- Agents layout ---- */

.app__agents-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;

  @media (max-width: 800px) { grid-template-columns: 1fr; }
}

.app__agents-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app__agent-card {
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.1rem 1.2rem;
  background: rgba(255,255,255,0.01);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 0.15s;

  &:hover { border-color: rgba(255,255,255,0.13); }
}

.app__agent-card--active {
  border-color: rgba(255,255,255,0.13);
}

.app__agent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app__agent-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

.app__agent-id {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.24);
  letter-spacing: 0.06em;
}

.app__agent-url {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.26);
  letter-spacing: 0.01em;
  word-break: break-all;
}

.app__agent-stats {
  display: flex;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
}

.app__agent-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

/* ---- Forms ---- */

.app__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.app__form-field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.app__label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.26);
  text-transform: uppercase;
}

.app__field-error {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: rgba(255,100,100,0.7);
  margin-top: 0.15rem;
  display: block;
}

.app__input {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 0.5rem 0.75rem;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  letter-spacing: 0.02em;
  width: 100%;
  border-radius: 0;

  &::placeholder { color: rgba(255,255,255,0.18); }
  &:focus {
    border-color: rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.05);
  }
}

.app__select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.28)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

/* ---- Buttons ---- */

.app__btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;

  &:hover {
    background: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.26);
  }
}

.app__btn--primary {
  background: rgba(255,255,255,0.9);
  color: #06090f;
  border-color: transparent;

  &:hover { background: #fff; }
}

.app__btn--ghost {
  background: none;
  border-color: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.3);

  &:hover {
    background: rgba(255,255,255,0.035);
    color: rgba(255,255,255,0.55);
    border-color: rgba(255,255,255,0.14);
  }
}

.app__btn--sm {
  font-size: 0.59rem;
  padding: 0.4rem 0.75rem;
  letter-spacing: 0.12em;
}

.app__btn-row {
  display: flex;
  gap: 0.5rem;
}

/* ---- Registration terminal ---- */

.app__reg-terminal {
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.38);
  overflow: hidden;
  margin-top: 1rem;
}

.app__reg-terminal-bar {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.32rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.32rem;

  span {
    width: 6px; height: 6px; border-radius: 50%;
    &:nth-child(1) { background: rgba(255,95,87,0.42); }
    &:nth-child(2) { background: rgba(255,189,46,0.42); }
    &:nth-child(3) { background: rgba(40,200,64,0.42); }
  }

  label {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.18);
    cursor: default;
  }
}

.app__reg-terminal-body {
  padding: 0.7rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  min-height: 90px;
  max-height: 180px;
  overflow-y: auto;
  letter-spacing: 0.01em;
}

/* ---- Runs layout ---- */

.app__runs-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  height: calc(100% - 2rem);

  @media (max-width: 800px) {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.app__runs-config {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

/* ---- Result card ---- */

.app__result-card {
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1rem;
  background: rgba(255,255,255,0.01);
  text-align: center;
}

.app__result-score {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.app__result-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
  margin-bottom: 1rem;
}

.app__result-phases {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.app__result-phase-row {
  display: grid;
  grid-template-columns: 7rem 1fr 3rem;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.28);
}

.app__result-phase-bar {
  height: 2px;
  background: rgba(255,255,255,0.05);
  position: relative;
}

.app__result-phase-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(255,255,255,0.28);
  transition: width 0.9s ease;
}

/* ---- Main terminal ---- */

.app__terminal-wrap {
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.app__terminal {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.48);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app__terminal-bar {
  background: rgba(255,255,255,0.022);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  flex-shrink: 0;

  span {
    width: 8px; height: 8px; border-radius: 50%;
    &:nth-child(1) { background: rgba(255,95,87,0.48); }
    &:nth-child(2) { background: rgba(255,189,46,0.48); }
    &:nth-child(3) { background: rgba(40,200,64,0.48); }
  }

  label {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.22);
    cursor: default;
  }
}

.app__terminal-body {
  flex: 1;
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  line-height: 1.88;
  color: rgba(255,255,255,0.65);
  overflow-y: auto;
  letter-spacing: 0.01em;
}

/* ---- Settings ---- */

.app__settings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;

  @media (max-width: 800px) { grid-template-columns: 1fr; }
}

.app__key-row {
  display: flex;
  gap: 0.5rem;
  .app__input { flex: 1; }
}

/* ---- Usage bars ---- */

.app__usage {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app__usage-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.38);
}

.app__usage-bar {
  height: 2px;
  background: rgba(255,255,255,0.06);
  position: relative;
  margin-bottom: 0.5rem;
}

.app__usage-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(255,255,255,0.26);
}

/* ---- Toggles ---- */

.app__toggles {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.app__toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.38);
}

.app__toggle {
  width: 28px;
  height: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;

  &::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.22);
    transition: transform 0.2s, background 0.2s;
  }
}

.app__toggle--on {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);

  &::after {
    transform: translateX(14px);
    background: rgba(255,255,255,0.7);
  }
}

/* ---- Shared terminal utils ---- */

.t-prompt { color: rgba(255,255,255,0.38); margin-right: 0.4rem; user-select: none; }
.t-dim    { color: rgba(255,255,255,0.28); }
.t-green  { color: rgba(255,255,255,0.7); }
.t-err    { color: rgba(255,255,255,0.3); }
.t-cursor {
  color: rgba(255,255,255,0.55);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
