:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #090d16;
  --panel: rgba(8, 13, 22, 0.72);
  --panel-strong: rgba(11, 18, 30, 0.9);
  --panel-glass:
    linear-gradient(180deg, rgba(238, 247, 255, 0.06), transparent 44%),
    linear-gradient(135deg, rgba(83, 183, 255, 0.07), rgba(157, 134, 255, 0.035) 72%),
    rgba(7, 12, 20, 0.74);
  --panel-night:
    linear-gradient(180deg, rgba(157, 134, 255, 0.08), transparent 52%),
    rgba(10, 8, 15, 0.82);
  --paper: #f5f7fb;
  --paper-edge: rgba(255, 255, 255, 0.78);
  --text: #f4f8ff;
  --muted: #a8b4c6;
  --dim: #77849a;
  --line: rgba(130, 178, 255, 0.18);
  --line-strong: rgba(102, 180, 255, 0.34);
  --line-paper: rgba(238, 247, 255, 0.68);
  --chrome-line: rgba(178, 220, 255, 0.28);
  --blue: #53b7ff;
  --blue-strong: #8fd2ff;
  --blue-paper: #cceeff;
  --amber: #f5bc63;
  --surface: #f4f7fb;
  --surface-ink: #101621;
  --underworld: #131018;
  --purple: #9d86ff;
  --purple-soft: #c3b8ff;
  --shadow-panel:
    0 22px 90px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  --shadow-blue:
    0 0 0 1px rgba(143, 210, 255, 0.035),
    0 0 44px rgba(83, 183, 255, 0.08);
  --radius: 8px;
  --max: 1160px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.16), var(--bg) 680px, #04050a 100%),
    linear-gradient(135deg, rgba(238, 247, 255, 0.055), transparent 26%),
    linear-gradient(215deg, transparent 48%, rgba(70, 52, 128, 0.12) 100%),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
  font-feature-settings: "kern";
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(83, 183, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 183, 255, 0.04) 1px, transparent 1px),
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(255, 255, 255, 0.018) 28px, transparent 29px);
  background-size:
    88px 88px,
    88px 88px,
    100% 28px;
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 74%);
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(238, 247, 255, 0.035), transparent 16%, transparent 82%, rgba(157, 134, 255, 0.04)),
    linear-gradient(180deg, transparent 0, transparent 56%, rgba(19, 13, 34, 0.34) 100%),
    url("/assets/funyoru-ui-facade.jpg") center top / cover no-repeat;
  opacity: 0.1;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 720px);
  mask-image: linear-gradient(to bottom, black, transparent 720px);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
strong {
  overflow-wrap: break-word;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--panel-strong);
  color: var(--text);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(130, 178, 255, 0.14);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 247, 251, 0.055), transparent 17%, transparent 78%, rgba(157, 134, 255, 0.055)),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(143, 210, 255, 0.055) 120px, transparent 121px);
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 82%);
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.hero::after {
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 0;
  left: max(20px, calc((100vw - var(--max)) / 2));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 210, 255, 0.58), rgba(157, 134, 255, 0.2), transparent);
  box-shadow: 0 -24px 80px rgba(83, 183, 255, 0.1);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  filter: saturate(0.88) contrast(1.12) brightness(0.62);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.92) 0%, rgba(5, 7, 13, 0.76) 44%, rgba(5, 7, 13, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.28), rgba(5, 7, 13, 0.86) 84%, var(--bg));
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  border: 1px solid rgba(178, 220, 255, 0.18);
  border-radius: var(--radius);
  padding: 10px 12px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.055), transparent 54%),
    rgba(5, 10, 18, 0.58);
  box-shadow:
    0 16px 54px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.site-nav::before {
  position: absolute;
  top: -1px;
  right: 16px;
  left: 16px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(204, 238, 255, 0.48), transparent);
}

.brand-mark,
.nav-actions,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  color: var(--text);
  font-weight: 700;
  text-shadow: 0 0 24px rgba(143, 210, 255, 0.12);
}

.brand-glyph {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(238, 247, 255, 0.52);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(205, 233, 252, 0.88)),
    var(--paper);
  color: #07111c;
  box-shadow:
    0 0 30px rgba(83, 183, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.brand-wordmark {
  width: clamp(104px, 12vw, 136px);
  height: auto;
  filter:
    drop-shadow(0 0 12px rgba(83, 183, 255, 0.16))
    drop-shadow(0 10px 28px rgba(0, 0, 0, 0.34));
}

.nav-links {
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-actions {
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links a {
  padding: 8px 0;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.language-control {
  display: inline-flex;
  align-items: center;
}

.language-control select {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 26px 0 10px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.045), transparent 56%),
    rgba(7, 12, 20, 0.74);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  outline: none;
}

.language-control select:focus {
  border-color: var(--line-strong);
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 12vw, 150px) 0 clamp(72px, 10vw, 128px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4.2rem, 15vw, 11rem);
  line-height: 0.86;
  font-weight: 760;
  color: #f5fbff;
  text-shadow:
    0 0 34px rgba(83, 183, 255, 0.16),
    0 18px 80px rgba(0, 0, 0, 0.42);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(180deg, #ffffff 0%, #e7f7ff 42%, #b9dcf5 76%, #83a8c4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-wordmark {
  max-width: min(780px, 100%);
  line-height: 0;
  text-shadow: none;
}

.hero-wordmark,
.hero-wordmark img {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: inherit !important;
}

.hero-wordmark img {
  width: min(100%, 780px);
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(83, 183, 255, 0.18))
    drop-shadow(0 20px 48px rgba(0, 0, 0, 0.48));
}

.tagline {
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(1.45rem, 4.4vw, 3.8rem);
  line-height: 1.03;
  font-weight: 650;
}

.hero-copy {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  overflow: hidden;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button::after {
  position: absolute;
  top: 0;
  right: 10px;
  left: 10px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0.62;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(143, 210, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(178, 226, 255, 0.94)),
    #c7eaff;
  color: #05111d;
  box-shadow:
    0 0 34px rgba(83, 183, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.button-primary:hover,
.button-primary:focus-visible {
  background:
    linear-gradient(180deg, #ffffff, #dff4ff),
    #e3f5ff;
  box-shadow:
    0 0 44px rgba(83, 183, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--panel-glass);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(245, 188, 99, 0.5);
  color: var(--amber);
}

.x-link {
  gap: 9px;
}

.x-icon {
  width: 0.94em;
  height: 0.94em;
  flex: 0 0 auto;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.x-link:hover .x-icon,
.x-link:focus-visible .x-icon {
  transform: translate3d(1px, -1px, 0) scale(1.04);
  opacity: 0.9;
}

.signal-panel {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  width: min(320px, calc(100% - 40px));
  border: 1px solid var(--chrome-line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel-glass);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(18px);
}

.signal-panel::before {
  position: absolute;
  top: -1px;
  right: 18px;
  left: 18px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(204, 238, 255, 0.5), transparent);
}

.signal-panel p,
.signal-panel strong {
  margin: 0;
}

.signal-panel p {
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.signal-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  line-height: 1.4;
}

.signal-dot {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue-paper);
  box-shadow:
    0 0 16px var(--blue),
    0 0 34px rgba(83, 183, 255, 0.22);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 12vw, 132px) 0;
}

.worlds,
.visual-memory,
.builds,
.now-building,
.notes {
  position: relative;
  isolation: isolate;
}

.worlds::before,
.visual-memory::before,
.builds::before,
.now-building::before,
.notes::before,
.worlds::after,
.visual-memory::after,
.builds::after,
.now-building::after,
.notes::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.worlds::before,
.visual-memory::before,
.builds::before,
.now-building::before,
.notes::before {
  top: clamp(28px, 5vw, 58px);
  bottom: clamp(28px, 5vw, 58px);
  left: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(143, 210, 255, 0.36),
    rgba(157, 134, 255, 0.16),
    transparent
  );
  opacity: 0.55;
}

.worlds::after,
.visual-memory::after,
.builds::after,
.now-building::after,
.notes::after {
  top: clamp(42px, 7vw, 84px);
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(143, 210, 255, 0.26),
    rgba(157, 134, 255, 0.12),
    transparent
  );
  opacity: 0.64;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  color: #eef4ff;
  font-size: clamp(2rem, 5.4vw, 4.7rem);
  line-height: 1.02;
  font-weight: 720;
  text-shadow: 0 0 38px rgba(83, 183, 255, 0.08);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-kicker::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.58;
}

.manifesto {
  display: grid;
  gap: 36px;
}

.manifesto-lines {
  display: grid;
  gap: 1px;
  border: 1px solid var(--chrome-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(143, 210, 255, 0.16);
  box-shadow: var(--shadow-panel);
}

.manifesto-lines p {
  margin: 0;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(90deg, rgba(238, 247, 255, 0.035), transparent 36%),
    rgba(8, 13, 22, 0.78);
  color: var(--text);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.manifesto-lines p:nth-child(2) {
  color: var(--blue-strong);
}

.split-section,
.section-heading,
.updates {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.body-copy,
.section-heading > p,
.updates-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.body-copy p {
  margin: 0 0 22px;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.worlds {
  border-block: 1px solid var(--line);
}

.worlds-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.worlds-lead p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 6vw, 62px);
}

.world-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--chrome-line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(180deg, rgba(83, 183, 255, 0.1), transparent 48%),
    rgba(8, 13, 22, 0.76);
  box-shadow: var(--shadow-panel);
}

.world-panel::before {
  position: absolute;
  top: -1px;
  right: 22px;
  left: 22px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(238, 247, 255, 0.56), transparent);
}

.world-panel::after {
  position: absolute;
  inset: auto 24px 24px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(143, 210, 255, 0.6), transparent);
  opacity: 0.42;
}

.surface-panel {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 239, 248, 0.92)),
    linear-gradient(90deg, rgba(83, 183, 255, 0.09), transparent 42%),
    var(--surface);
  box-shadow:
    0 28px 90px rgba(176, 203, 232, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.underworld-panel {
  border-color: rgba(157, 134, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(157, 134, 255, 0.1), transparent 46%),
    linear-gradient(90deg, rgba(238, 247, 255, 0.035), transparent 36%),
    linear-gradient(135deg, rgba(5, 7, 13, 0.8), rgba(19, 16, 24, 0.92)),
    var(--underworld);
}

.world-panel span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.surface-panel span {
  color: #4c83b8;
}

.underworld-panel span {
  color: var(--blue-strong);
}

.world-panel h3 {
  max-width: 440px;
  margin: 94px 0 26px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
}

.surface-panel h3,
.surface-panel li {
  color: var(--surface-ink);
}

.world-panel ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.world-panel li {
  padding: 14px 0;
  background: rgba(8, 13, 22, 0.94);
  color: var(--muted);
  line-height: 1.45;
}

.surface-panel ul {
  background: rgba(16, 22, 33, 0.12);
}

.surface-panel li {
  background: rgba(255, 255, 255, 0.68);
  color: #536174;
}

.underworld-panel li {
  background: rgba(10, 9, 14, 0.84);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading > p {
  max-width: 420px;
  margin: 28px 0 0;
}

.visual-memory {
  border-bottom: 1px solid rgba(130, 178, 255, 0.14);
  padding-top: 28px;
}

.visual-facade {
  position: relative;
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0 0 clamp(28px, 5vw, 54px);
  border-top: 1px solid rgba(143, 210, 255, 0.14);
  padding-top: 18px;
}

.visual-facade::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: min(220px, 46%);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(204, 238, 255, 0.58), transparent);
  box-shadow: 0 0 22px rgba(83, 183, 255, 0.16);
}

.visual-facade img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(178, 220, 255, 0.28);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow:
    0 32px 120px rgba(0, 0, 0, 0.4),
    0 0 76px rgba(83, 183, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.visual-facade figcaption {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 44px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.visual-facade figcaption span {
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.visual-facade figcaption strong {
  color: var(--text);
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  line-height: 1.08;
}

.visual-facade figcaption p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.visual-memory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
}

.visual-plate {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0;
}

.visual-plate img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--chrome-line);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.visual-plate-surface img {
  border-color: rgba(255, 255, 255, 0.72);
  background: #f7f9fc;
  box-shadow: 0 26px 90px rgba(180, 205, 235, 0.1);
}

.visual-plate-night img {
  border-color: rgba(157, 134, 255, 0.3);
}

.visual-plate figcaption {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.visual-plate figcaption span {
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.visual-plate-night figcaption span {
  color: #b8a8ff;
}

.visual-plate figcaption strong {
  color: var(--text);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.1;
}

.visual-plate figcaption p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.visual-memory-link {
  margin-top: 30px;
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.build-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--chrome-line);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(83, 183, 255, 0.1), transparent 48%),
    rgba(9, 14, 24, 0.82);
  box-shadow: var(--shadow-panel);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.build-card::before {
  position: absolute;
  top: -1px;
  right: 18px;
  left: 18px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(204, 238, 255, 0.48), transparent);
}

.build-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(83, 183, 255, 0.15), transparent 54%),
    rgba(11, 18, 30, 0.86);
}

.build-card:nth-child(3) {
  border-color: rgba(157, 134, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(157, 134, 255, 0.1), transparent 50%),
    rgba(10, 9, 16, 0.82);
}

.build-card:nth-child(3):hover {
  border-color: rgba(157, 134, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(157, 134, 255, 0.14), transparent 54%),
    rgba(13, 11, 20, 0.88);
}

.card-index {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
}

.build-card h3 {
  margin: 76px 0 16px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.build-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.build-card span {
  display: inline-flex;
  margin-top: 30px;
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.now-building {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: end;
  border-block: 1px solid rgba(130, 178, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(238, 247, 255, 0.035), transparent 24%),
    linear-gradient(90deg, rgba(83, 183, 255, 0.045), transparent 44%, rgba(157, 134, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.now-building-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.78;
}

.now-signal {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.now-signal-row {
  display: grid;
  grid-template-columns: minmax(104px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.now-signal-row span {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.now-signal-row strong {
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.28;
}

.now-signal-link {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.now-signal-link:hover,
.now-signal-link:focus-visible {
  transform: translateX(4px);
  border-color: var(--line-strong);
}

.now-signal-link:hover strong,
.now-signal-link:focus-visible strong {
  color: var(--blue-strong);
}

.notes {
  padding-top: 28px;
}

.note-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  margin-bottom: 28px;
}

.note-categories a,
.note-category {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(178, 220, 255, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.035), transparent 58%),
    rgba(7, 12, 20, 0.48);
  color: var(--blue-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.note-categories a:hover,
.note-categories a:focus-visible {
  border-color: var(--line-strong);
  color: var(--text);
}

.transmission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  margin-top: 30px;
}

.transmission-panel {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(178, 220, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px clamp(18px, 2.4vw, 24px) 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.04), transparent 42%),
    linear-gradient(180deg, rgba(83, 183, 255, 0.04), transparent 36%),
    rgba(7, 12, 20, 0.38);
  box-shadow: var(--shadow-panel);
}

.transmission-panel::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 74px;
  height: 1px;
  content: "";
  background: var(--blue-strong);
  box-shadow: 0 0 18px rgba(83, 183, 255, 0.28);
}

.transmission-panel::after {
  position: absolute;
  top: -1px;
  right: 0;
  z-index: -1;
  width: 1px;
  height: 58px;
  content: "";
  background: linear-gradient(180deg, rgba(143, 210, 255, 0.42), transparent);
}

.transmission-night {
  border-color: rgba(157, 134, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.026), transparent 42%),
    linear-gradient(180deg, rgba(157, 134, 255, 0.052), transparent 36%),
    rgba(10, 8, 15, 0.42);
}

.transmission-night::before {
  background: var(--purple);
  box-shadow: 0 0 18px rgba(157, 134, 255, 0.24);
}

.transmission-night::after {
  background: linear-gradient(180deg, rgba(157, 134, 255, 0.42), transparent);
}

.transmission-head {
  display: flex;
  min-height: 64px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.transmission-head span,
.transmission-list em {
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.transmission-night .transmission-head span,
.transmission-night .transmission-list em {
  color: #b8a8ff;
}

.transmission-head strong {
  max-width: 220px;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.02;
  text-align: right;
}

.transmission-lines {
  display: grid;
  gap: 8px;
  margin: 22px 0 18px;
}

.transmission-lines i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(143, 210, 255, 0.58), rgba(143, 210, 255, 0.02));
  transform-origin: left;
  animation: signal-draw 720ms ease both;
}

.transmission-lines i:nth-child(2) {
  width: 86%;
  animation-delay: 80ms;
}

.transmission-lines i:nth-child(3) {
  width: 64%;
  animation-delay: 160ms;
}

.transmission-night .transmission-lines i {
  background: linear-gradient(90deg, rgba(157, 134, 255, 0.56), rgba(157, 134, 255, 0.02));
}

.transmission-list {
  display: grid;
}

.transmission-list a {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.transmission-list a:hover,
.transmission-list a:focus-visible {
  transform: translateX(4px);
  border-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(83, 183, 255, 0.04), transparent 64%);
}

.transmission-night .transmission-list a:hover,
.transmission-night .transmission-list a:focus-visible {
  background: linear-gradient(90deg, rgba(157, 134, 255, 0.05), transparent 64%);
}

.transmission-list strong {
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.22;
}

.transmission-list p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.note-list {
  border-top: 1px solid var(--line);
}

.note-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.note-row span,
.note-row em {
  color: var(--dim);
  font-size: 0.86rem;
  font-style: normal;
}

.note-row strong {
  color: var(--text);
  font-size: clamp(1.12rem, 2.4vw, 1.65rem);
  font-weight: 650;
}

.note-row:hover strong,
.note-row:focus-visible strong {
  color: var(--blue-strong);
}

.note-row-rich {
  position: relative;
  grid-template-columns: 72px minmax(0, 1fr) minmax(112px, auto);
}

.note-row-rich::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 2px;
  border-radius: 999px;
  content: "";
  background: rgba(83, 183, 255, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.note-row-rich[data-world="night"]::before {
  background: rgba(157, 134, 255, 0.58);
}

.note-row-rich:hover,
.note-row-rich:focus-visible {
  transform: translateX(4px);
  border-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(83, 183, 255, 0.04), transparent 58%);
}

.note-row-rich[data-world="night"]:hover,
.note-row-rich[data-world="night"]:focus-visible {
  background: linear-gradient(90deg, rgba(157, 134, 255, 0.05), transparent 58%);
}

.note-row-rich:hover::before,
.note-row-rich:focus-visible::before {
  opacity: 1;
}

.note-row-copy {
  min-width: 0;
}

.note-row-copy p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.note-page {
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.035), transparent 240px),
    linear-gradient(180deg, rgba(83, 183, 255, 0.045), transparent 440px),
    linear-gradient(90deg, rgba(238, 247, 255, 0.025), transparent 18%, transparent 82%, rgba(157, 134, 255, 0.032)),
    var(--bg);
}

.note-night {
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.024), transparent 240px),
    linear-gradient(180deg, rgba(157, 134, 255, 0.078), transparent 460px),
    linear-gradient(90deg, transparent 0, rgba(157, 134, 255, 0.04) 100%),
    var(--bg);
}

.note-hero {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 12vw, 136px) 0 clamp(34px, 7vw, 72px);
}

.note-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(2.6rem, 8vw, 6.6rem);
  line-height: 0.96;
  color: #f5fbff;
  text-shadow: 0 0 34px rgba(83, 183, 255, 0.11);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .note-hero h1 {
    background: linear-gradient(180deg, #ffffff, #e4f4ff 42%, #a9d2ef 78%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .note-night .note-hero h1 {
    background: linear-gradient(180deg, #ffffff, #e2deff 44%, #b5a6f4 78%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.note-summary {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  color: var(--dim);
}

.world-signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.36fr);
  gap: 22px;
  max-width: 760px;
  margin-top: 34px;
  border: 1px solid rgba(178, 220, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.035), transparent 56%),
    rgba(7, 12, 20, 0.34);
  box-shadow: var(--shadow-blue);
}

.world-signal span {
  display: inline-flex;
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.world-signal p {
  max-width: 440px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.world-signal-lines {
  display: grid;
  gap: 9px;
  align-content: center;
}

.world-signal-lines i {
  position: relative;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(143, 210, 255, 0.62), rgba(143, 210, 255, 0.02));
  transform-origin: left;
  animation: signal-draw 720ms ease both;
}

.world-signal-lines i:nth-child(2) {
  width: 88%;
  animation-delay: 80ms;
}

.world-signal-lines i:nth-child(3) {
  width: 72%;
  animation-delay: 160ms;
}

.world-signal-lines i:nth-child(4) {
  width: 94%;
  animation-delay: 240ms;
}

.note-night .world-signal {
  border-color: rgba(157, 134, 255, 0.2);
}

.note-night .world-signal span {
  color: #b8a8ff;
}

.note-night .world-signal-lines i {
  background: linear-gradient(90deg, rgba(157, 134, 255, 0.56), rgba(157, 134, 255, 0.02));
}

.workspace-map-artifact {
  width: min(920px, calc(100% - 40px));
  margin: -16px auto clamp(44px, 8vw, 78px);
  border-block: 1px solid rgba(130, 178, 255, 0.16);
  padding-top: clamp(24px, 4vw, 36px);
}

.workspace-map-head {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: end;
  margin-bottom: 22px;
}

.workspace-map-head span,
.workspace-loop strong {
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workspace-map-head h2 {
  max-width: 520px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.workspace-map-head p {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.workspace-map-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(178, 220, 255, 0.2);
  border-radius: var(--radius);
  margin: 0;
  padding: 0;
  background: rgba(130, 178, 255, 0.12);
  box-shadow: var(--shadow-panel);
  list-style: none;
}

.workspace-map-node {
  min-height: 168px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.035), transparent 48%),
    linear-gradient(180deg, rgba(83, 183, 255, 0.07), transparent 72%),
    rgba(7, 12, 20, 0.82);
}

.workspace-map-node span {
  color: rgba(143, 210, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
}

.workspace-map-node strong {
  display: block;
  margin-top: 28px;
  color: #e4f5ff;
  font-size: 0.98rem;
  line-height: 1.25;
}

.workspace-map-node p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.workspace-loop {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0 22px;
}

.workspace-loop > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.workspace-loop > div span {
  position: relative;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.workspace-loop > div span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -15px;
  width: 8px;
  height: 1px;
  background: rgba(143, 210, 255, 0.46);
  content: "";
}

.workspace-run-prototype {
  width: min(920px, calc(100% - 40px));
  margin: clamp(28px, 5vw, 48px) auto clamp(52px, 8vw, 88px);
  border: 1px solid rgba(178, 220, 255, 0.18);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 28px);
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.035), transparent 56%),
    rgba(7, 12, 20, 0.72);
  box-shadow: var(--shadow-panel);
}

.workspace-run-head {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(16px, 4vw, 38px);
  align-items: end;
  border-bottom: 1px solid rgba(178, 220, 255, 0.12);
  padding-bottom: 20px;
}

.workspace-run-head span,
.workspace-run-output > span {
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.workspace-run-head h2 {
  max-width: 520px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.workspace-run-head p {
  grid-column: 2;
  max-width: 560px;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.workspace-run-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: clamp(16px, 3vw, 26px);
  align-items: start;
  margin-top: 22px;
}

.workspace-run-steps {
  display: grid;
  gap: 10px;
}

.workspace-run-step {
  overflow: hidden;
  border: 1px solid rgba(178, 220, 255, 0.14);
  border-radius: var(--radius-small);
  background:
    linear-gradient(180deg, rgba(83, 183, 255, 0.045), transparent 70%),
    rgba(5, 10, 18, 0.62);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.workspace-run-step[open] {
  border-color: rgba(143, 210, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(83, 183, 255, 0.08), transparent 72%),
    rgba(8, 15, 26, 0.82);
}

.workspace-run-step summary {
  display: grid;
  grid-template-columns: 42px 92px minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.workspace-run-step summary::-webkit-details-marker {
  display: none;
}

.workspace-run-step summary::after {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.workspace-run-step[open] summary::after {
  transform: rotate(225deg);
}

.workspace-run-step summary:hover,
.workspace-run-step summary:focus-visible {
  color: var(--text);
}

.workspace-run-step summary:focus-visible {
  outline: 2px solid rgba(143, 210, 255, 0.5);
  outline-offset: -2px;
}

.workspace-run-step summary span {
  color: rgba(143, 210, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.workspace-run-step summary strong {
  color: #e4f5ff;
  font-size: 0.96rem;
  line-height: 1.25;
}

.workspace-run-step summary em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.45;
}

.workspace-run-step > div {
  border-top: 1px solid rgba(178, 220, 255, 0.12);
  padding: 16px;
}

.workspace-run-step p,
.workspace-run-output p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.workspace-run-step p + p {
  margin-top: 8px;
}

.workspace-run-output {
  border: 1px solid rgba(178, 220, 255, 0.16);
  border-radius: var(--radius-small);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.04), transparent 54%),
    rgba(5, 10, 18, 0.72);
}

.workspace-run-output ul {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.workspace-run-output li {
  border-top: 1px solid rgba(178, 220, 255, 0.12);
  padding-top: 14px;
}

.workspace-run-output li span {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.workspace-signal-gate {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(240px, 0.4fr);
  gap: clamp(18px, 4vw, 32px);
  width: min(920px, calc(100% - 40px));
  margin: clamp(28px, 5vw, 48px) auto clamp(58px, 8vw, 94px);
  border-top: 1px solid rgba(178, 220, 255, 0.16);
  border-bottom: 1px solid rgba(178, 220, 255, 0.16);
  padding: clamp(20px, 4vw, 30px) 0;
}

.workspace-signal-head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(16px, 4vw, 38px);
  align-items: end;
}

.workspace-signal-head span,
.workspace-signal-checks legend,
.workspace-signal-result > span {
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.workspace-signal-head h2 {
  max-width: 520px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.08;
}

.workspace-signal-head p {
  grid-column: 2;
  max-width: 560px;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.workspace-signal-checks {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.workspace-signal-checks legend {
  margin-bottom: 12px;
  padding: 0;
}

.workspace-signal-checks label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 4px 12px;
  border: 1px solid rgba(178, 220, 255, 0.14);
  border-radius: var(--radius-small);
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(83, 183, 255, 0.04), transparent 70%),
    rgba(5, 10, 18, 0.62);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.workspace-signal-checks label:hover,
.workspace-signal-checks label:focus-within {
  transform: translateY(-1px);
  border-color: rgba(143, 210, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(83, 183, 255, 0.08), transparent 72%),
    rgba(8, 15, 26, 0.82);
}

.workspace-signal-checks input {
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--blue-strong);
}

.workspace-signal-checks label span {
  color: #e4f5ff;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.3;
}

.workspace-signal-checks label em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.58;
}

.workspace-signal-result {
  align-self: start;
  border: 1px solid rgba(178, 220, 255, 0.16);
  border-radius: var(--radius-small);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.04), transparent 54%),
    rgba(5, 10, 18, 0.72);
  box-shadow: var(--shadow-panel);
}

.workspace-signal-result strong {
  display: block;
  margin-top: 20px;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.05;
}

.workspace-signal-result p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.workspace-signal-route {
  margin-top: 20px;
  border-top: 1px solid rgba(178, 220, 255, 0.14);
  padding-top: 16px;
}

.workspace-signal-route span {
  color: rgba(236, 247, 255, 0.64);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
}

.workspace-signal-route strong {
  margin-top: 10px;
  color: #eaf7ff;
  font-size: 1rem;
  line-height: 1.25;
}

.workspace-signal-route p {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.62;
}

.note-body {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.note-body::before {
  position: absolute;
  top: 6px;
  bottom: clamp(72px, 10vw, 128px);
  left: -34px;
  width: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(143, 210, 255, 0.34), rgba(143, 210, 255, 0.08) 52%, transparent);
  opacity: 0.82;
}

.note-night .note-body::before {
  background: linear-gradient(180deg, rgba(157, 134, 255, 0.34), rgba(157, 134, 255, 0.08) 52%, transparent);
}

.archive-hero {
  width: min(var(--max), calc(100% - 40px));
}

.archive-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.archive-stats span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(178, 220, 255, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.035), transparent 56%),
    rgba(7, 12, 20, 0.58);
  color: var(--muted);
  font-size: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.archive-stats strong {
  margin-right: 6px;
  color: var(--text);
}

.archive-body {
  width: min(var(--max), calc(100% - 40px));
}

.archive-frame {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.archive-aside {
  position: sticky;
  top: 24px;
  border: 1px solid rgba(178, 220, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--panel-glass);
  box-shadow: var(--shadow-panel);
}

.archive-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.archive-reading-path {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.archive-reading-path > span {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.archive-reading-path a {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 14px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.archive-reading-path a:hover,
.archive-reading-path a:focus-visible {
  transform: translateX(4px);
  border-color: var(--line-strong);
}

.archive-reading-path strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.3;
}

.archive-reading-path em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.45;
}

.note-categories a span {
  margin-left: 8px;
  color: var(--dim);
  font-size: 0.68rem;
}

.archive-sections {
  display: grid;
  gap: clamp(36px, 6vw, 68px);
}

.archive-category {
  scroll-margin-top: 90px;
}

.archive-category-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
}

.archive-category-head span,
.archive-category-head em {
  color: var(--dim);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.archive-category-head em strong {
  color: var(--text);
  font-size: 0.82rem;
}

.archive-category-head em {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
}

.archive-category-head h2 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.archive-category-head p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.archive-list {
  border-top: 0;
}

.note-body p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.85;
}

.note-night .note-body p {
  color: #aeb6c7;
  line-height: 1.95;
}

.note-body strong {
  color: var(--text);
}

.note-surface .note-body strong {
  color: #d9f1ff;
}

.note-body code {
  color: #d9f1ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.note-body pre {
  overflow-x: auto;
  border: 1px solid rgba(178, 220, 255, 0.22);
  border-radius: var(--radius);
  margin: 0 0 28px;
  padding: clamp(18px, 4vw, 26px);
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.026), transparent 42%),
    linear-gradient(180deg, rgba(83, 183, 255, 0.06), transparent 68%),
    rgba(7, 12, 20, 0.78);
  box-shadow: var(--shadow-panel);
}

.note-night .note-body pre {
  border-color: rgba(157, 134, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(157, 134, 255, 0.06), transparent 68%),
    rgba(10, 8, 16, 0.8);
}

.note-body pre code {
  display: block;
  color: #c8d8e8;
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.note-body h2 {
  position: relative;
  margin: 44px 0 18px;
  padding-top: 6px;
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.note-body h2::before {
  position: absolute;
  top: -14px;
  left: 0;
  width: 44px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(143, 210, 255, 0.62), transparent);
}

.note-night .note-body h2::before {
  background: linear-gradient(90deg, rgba(157, 134, 255, 0.62), transparent);
}

.note-prompt h2::before {
  display: none;
}

.note-body blockquote {
  border-left: 2px solid var(--blue);
  margin: 34px 0;
  padding-left: 18px;
  color: var(--text);
}

.note-night .note-body blockquote {
  border-left-color: var(--purple);
}

.note-body ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.85;
}

.note-prompt {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 36px;
  padding: clamp(20px, 4vw, 30px);
  background: var(--panel-glass);
  box-shadow: var(--shadow-panel);
}

.note-prompt::before {
  position: absolute;
  top: -1px;
  right: 18px;
  left: 18px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(204, 238, 255, 0.46), transparent);
}

.note-surface .note-prompt {
  background:
    linear-gradient(180deg, rgba(83, 183, 255, 0.06), transparent 70%),
    rgba(9, 14, 24, 0.72);
}

.note-night .note-prompt {
  border-color: rgba(157, 134, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(157, 134, 255, 0.06), transparent 70%),
    rgba(11, 9, 16, 0.78);
}

.note-prompt h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.note-prompt p {
  margin-bottom: 0;
  font-size: 1rem;
}

.note-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.note-nav a {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid rgba(178, 220, 255, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--panel-glass);
  box-shadow: var(--shadow-blue);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.note-nav a::before {
  position: absolute;
  top: -1px;
  right: 14px;
  left: 14px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(204, 238, 255, 0.42), transparent);
}

.note-nav a:hover,
.note-nav a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(10, 18, 30, 0.86);
}

.note-nav span {
  display: block;
  margin-bottom: 8px;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.note-nav strong {
  display: block;
  line-height: 1.35;
}

.note-nav a:only-child {
  grid-column: 1 / -1;
}

.back-link {
  display: inline-flex;
  margin-top: 34px;
  color: var(--blue-strong);
  font-weight: 800;
}

.archive-link {
  align-items: center;
  min-height: 40px;
}

@keyframes signal-draw {
  from {
    opacity: 0;
    transform: scaleX(0.18);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.updates {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(36px, 8vw, 88px);
  border: 1px solid rgba(178, 220, 255, 0.24);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(120deg, rgba(238, 247, 255, 0.05), transparent 36%),
    linear-gradient(120deg, rgba(83, 183, 255, 0.11), transparent 42%),
    rgba(9, 14, 24, 0.8);
  box-shadow: var(--shadow-panel);
}

.updates::before {
  position: absolute;
  top: -1px;
  right: 22px;
  left: 22px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(204, 238, 255, 0.5), transparent);
}

.updates h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.follow-routes {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 28px;
}

.follow-route {
  display: grid;
  grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-top: 1px solid rgba(130, 178, 255, 0.14);
  padding: 14px 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.follow-route:hover,
.follow-route:focus-visible {
  transform: translateX(4px);
  border-color: var(--line-strong);
}

.follow-route span {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.follow-route strong {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.25;
}

.follow-route:hover strong,
.follow-route:focus-visible strong {
  color: var(--blue-strong);
}

.signup-form {
  display: grid;
  gap: 12px;
  align-self: end;
}

.signup-form label:not(.honeypot) {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.form-row input {
  min-height: 48px;
  min-width: 0;
  border: 1px solid rgba(178, 220, 255, 0.26);
  border-radius: var(--radius);
  padding: 0 14px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.035), transparent 56%),
    rgba(4, 8, 14, 0.82);
  color: var(--text);
  outline: none;
}

.form-row input:focus {
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 3px rgba(83, 183, 255, 0.16);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.signup-note {
  margin: 0;
  color: var(--dim);
  font-size: 0.88rem;
  line-height: 1.6;
}

.form-status[data-tone="success"] {
  color: #a8e8c4;
}

.form-status[data-tone="error"] {
  color: #ffb0a8;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-wordmark {
  width: min(218px, 68vw);
  height: auto;
  filter:
    drop-shadow(0 0 16px rgba(83, 183, 255, 0.16))
    drop-shadow(0 16px 34px rgba(0, 0, 0, 0.38));
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 18px;
  font-size: 0.92rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
}

.social-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(178, 220, 255, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.035), transparent 54%),
    rgba(6, 11, 19, 0.46);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(83, 183, 255, 0.08);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue-strong);
}

.floating-follow {
  display: none;
}

.reveal {
  animation: rise-in 700ms ease both;
}

@keyframes rise-in {
  from {
    opacity: 0.82;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 840px) {
  .hero {
    min-height: 78svh;
  }

  .site-nav {
    width: auto;
    margin-right: 16px;
    margin-left: 16px;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.82rem;
  }

  .nav-actions {
    gap: 10px;
  }

  .hero-content,
  .section,
  .footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero-content {
    padding-top: clamp(46px, 10vw, 84px);
  }

  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -24px 16px 36px;
  }

  .split-section,
  .worlds-lead,
  .world-grid,
  .visual-facade figcaption,
  .visual-memory-grid,
  .transmission-grid,
  .now-building,
  .section-heading,
  .updates,
  .build-grid,
  .archive-frame {
    grid-template-columns: 1fr;
  }

  .build-card {
    min-height: 260px;
  }

  .build-card h3 {
    margin-top: 52px;
  }

  .note-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .note-row em {
    grid-column: 2;
  }

  .note-row-rich {
    grid-template-columns: 52px minmax(0, 1fr);
    padding-left: 0;
  }

  .note-row-rich::before {
    left: -8px;
  }

  .note-body::before {
    display: none;
  }

  .archive-category-head {
    grid-template-columns: 1fr;
  }

  .archive-aside {
    position: static;
  }

  .world-signal {
    grid-template-columns: 1fr;
  }

  .world-signal-lines {
    max-width: 360px;
  }

  .workspace-map-head,
  .workspace-loop,
  .workspace-run-head,
  .workspace-run-grid,
  .workspace-signal-gate,
  .workspace-signal-head {
    grid-template-columns: 1fr;
  }

  .workspace-run-head p,
  .workspace-signal-head p {
    grid-column: auto;
    margin-top: 0;
  }

  .workspace-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-map-node {
    min-height: 148px;
  }

  .transmission-head strong {
    text-align: left;
  }

  .now-signal-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .follow-route {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 76px;
  }

  .floating-follow {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 30;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(143, 210, 255, 0.38);
    border-radius: 999px;
    padding: 0 14px;
    background:
      linear-gradient(180deg, rgba(238, 247, 255, 0.055), transparent 56%),
      rgba(5, 10, 18, 0.78);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow:
      0 14px 32px rgba(0, 0, 0, 0.38),
      0 0 24px rgba(83, 183, 255, 0.16);
    backdrop-filter: blur(18px);
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      background 180ms ease,
      color 180ms ease;
  }

  .floating-follow:hover,
  .floating-follow:focus-visible {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: rgba(9, 18, 30, 0.92);
    color: var(--blue-strong);
  }

  .floating-follow-hidden {
    transform: translateY(8px);
    opacity: 0;
    pointer-events: none;
  }

  .note-page {
    padding-bottom: 0;
  }

  .note-page .floating-follow {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-nav {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .brand-wordmark {
    width: 108px;
  }

  .nav-actions {
    flex: 0 0 100%;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-links {
    flex: 1 1 auto;
    gap: 8px;
    font-size: 0.76rem;
    max-width: none;
    flex-wrap: wrap;
    white-space: nowrap;
  }

  .language-control {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .language-control select {
    height: 30px;
    padding-inline: 8px 20px;
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 4.8rem);
  }

  .note-hero h1 {
    font-size: clamp(2.25rem, 9.5vw, 2.75rem);
    line-height: 1.02;
  }

  .archive-hero h1 {
    font-size: clamp(2.15rem, 9vw, 2.6rem);
    line-height: 1.04;
  }

  .archive-stats {
    margin-top: 24px;
  }

  .workspace-map-artifact {
    width: min(calc(100% - 32px), 920px);
  }

  .workspace-run-prototype {
    width: min(calc(100% - 32px), 920px);
  }

  .workspace-signal-gate {
    width: min(calc(100% - 32px), 920px);
  }

  .workspace-map-grid {
    grid-template-columns: 1fr;
  }

  .workspace-map-node {
    min-height: auto;
  }

  .workspace-map-node strong {
    margin-top: 18px;
  }

  .workspace-loop > div span:not(:last-child)::after {
    display: none;
  }

  .workspace-run-step summary {
    grid-template-columns: 36px minmax(0, 1fr) 12px;
    gap: 10px;
    align-items: start;
  }

  .workspace-run-step summary strong {
    grid-column: 2;
  }

  .workspace-run-step summary em {
    grid-column: 2 / 3;
  }

  .workspace-run-step summary::after {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 6px;
  }

  .note-nav {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
