:root {
  --ink: #f3f6f3;
  --muted: #a4b4b2;
  --soft: #dce8de;
  --bg: #070b0d;
  --bg-2: #0b1215;
  --panel: rgba(12, 20, 22, 0.78);
  --panel-solid: #10191c;
  --line: rgba(195, 226, 214, 0.18);
  --line-strong: rgba(195, 226, 214, 0.34);
  --green: #4ff0b5;
  --green-dark: #0d5f4a;
  --amber: #ffb44a;
  --red: #ff685d;
  --steel: #7aa5b5;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    linear-gradient(180deg, #050708 0%, var(--bg) 42%, #0a1011 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 96px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 82%, transparent);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0.16;
  mix-blend-mode: overlay;
}

button,
a {
  font: inherit;
}

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

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

pre {
  overflow: auto;
  margin: 0;
  color: #d9efe7;
  font: 600 14px/1.7 Consolas, "SFMono-Regular", Menlo, monospace;
  white-space: pre-wrap;
}

code {
  color: #d9efe7;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 0.92em;
}

#signalCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 9, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.hero-actions,
.signal-strip,
.build-list,
.terminal-top,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 310px;
  font-weight: 900;
}

.brand-logo {
  display: block;
  width: clamp(270px, 22vw, 350px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(79, 240, 181, 0.16));
}

.site-header nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-header nav a,
.header-cta {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-header nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(79, 240, 181, 0.32);
  border-radius: 8px;
  padding: 0;
  color: var(--green);
  background: rgba(79, 240, 181, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.site-header.nav-open .nav-toggle {
  color: var(--amber);
  border-color: rgba(255, 180, 74, 0.5);
  background: rgba(255, 180, 74, 0.1);
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.header-cta {
  border: 1px solid rgba(79, 240, 181, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--green);
  background: rgba(79, 240, 181, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.header-cta:hover {
  border-color: rgba(255, 180, 74, 0.55);
  color: var(--amber);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 420px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 78px);
  min-height: 78vh;
  padding: 94px clamp(18px, 5vw, 72px) 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.08) brightness(0.82);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 5, 6, 0.94) 0%, rgba(5, 8, 9, 0.82) 36%, rgba(5, 9, 10, 0.25) 76%),
    linear-gradient(180deg, rgba(5, 7, 8, 0.46) 0%, rgba(5, 7, 8, 0.1) 50%, #070b0d 100%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.hero-beta-panel {
  position: relative;
  justify-self: end;
  width: min(420px, 100%);
  border: 1px solid rgba(79, 240, 181, 0.28);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(8, 16, 18, 0.88), rgba(5, 9, 10, 0.68)),
    linear-gradient(90deg, rgba(79, 240, 181, 0.1), rgba(255, 180, 74, 0.06));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-beta-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.02;
}

.hero-beta-panel p:not(.eyebrow) {
  margin-bottom: 0;
  font-size: 15px;
}

.download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.beta-button {
  min-height: 46px;
  color: #03120d;
  background: linear-gradient(135deg, var(--amber), #ffd38a);
  box-shadow: 0 16px 44px rgba(255, 180, 74, 0.15);
}

.beta-button.secondary {
  border-color: rgba(79, 240, 181, 0.34);
  color: var(--green);
  background: rgba(79, 240, 181, 0.09);
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(44px, 5.45vw, 70px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--soft);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-copy {
  max-width: 670px;
  color: #d7e6e2;
  font-size: 20px;
}

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

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 950;
  cursor: pointer;
}

.button.primary {
  color: #03120d;
  background: linear-gradient(135deg, var(--green), #98ffd8);
  box-shadow: 0 16px 44px rgba(79, 240, 181, 0.22);
}

.button.secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

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

.signal-strip {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.signal-strip div {
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  background: rgba(5, 10, 11, 0.58);
  backdrop-filter: blur(16px);
}

.signal-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 20px;
}

.section {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

#stack {
  padding-top: clamp(34px, 5vw, 58px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 112px;
}

.section-copy p,
.section-head p,
.quickstart-copy p,
.safety-panel p {
  max-width: 710px;
}

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

.feature-card,
.capability,
.flow-node,
.roadmap-item,
.safety-panel,
.support-panel,
.terminal,
.doc-panel,
.mini-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(17, 27, 30, 0.82), rgba(8, 14, 16, 0.72));
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 238px;
  padding: 24px;
}

.feature-card:nth-child(2) {
  border-color: rgba(255, 180, 74, 0.28);
}

.feature-card:nth-child(3) {
  border-color: rgba(122, 165, 181, 0.3);
}

.feature-card:nth-child(4) {
  border-color: rgba(255, 104, 93, 0.26);
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.feature-card p,
.capability p,
.flow-node p,
.roadmap-item p {
  margin-bottom: 0;
  font-size: 15px;
}

.features-section {
  background:
    linear-gradient(180deg, rgba(6, 10, 11, 0.24), rgba(11, 18, 21, 0.5)),
    repeating-linear-gradient(90deg, rgba(195, 226, 214, 0.035) 0 1px, transparent 1px 112px);
}

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

.capability {
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.capability::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 24px;
  border-right: 1px solid rgba(79, 240, 181, 0.2);
  border-bottom: 1px solid rgba(79, 240, 181, 0.2);
  content: "";
  background: none;
}

.capability span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.server-browser-section {
  background:
    linear-gradient(180deg, rgba(7, 12, 13, 0.34), rgba(7, 12, 13, 0.08));
}

.server-browser-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 10, 11, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.server-browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px;
  background: linear-gradient(90deg, rgba(79, 240, 181, 0.09), rgba(255, 180, 74, 0.06));
}

.server-browser-label,
.server-card span {
  display: block;
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.server-browser-top strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 20px;
}

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

.server-card {
  display: grid;
  gap: 16px;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(17, 27, 30, 0.86), rgba(8, 14, 16, 0.74));
}

.server-card.loading,
.server-card.empty,
.server-card.error {
  min-height: 190px;
}

.server-card.error {
  border-color: rgba(255, 104, 93, 0.34);
}

.server-card-head,
.server-card-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.server-card-head h3 {
  margin-bottom: 0;
}

.server-card-head strong {
  flex: 0 0 auto;
  border: 1px solid rgba(79, 240, 181, 0.28);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--green);
  background: rgba(79, 240, 181, 0.08);
  font-size: 18px;
}

.server-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.server-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.server-meta span {
  max-width: 100%;
  border: 1px solid rgba(195, 226, 214, 0.14);
  border-radius: 8px;
  padding: 7px 9px;
  overflow-wrap: anywhere;
  color: #d9efe7;
  background: rgba(255, 255, 255, 0.055);
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  text-transform: none;
}

.server-card-foot {
  align-items: center;
  margin-top: auto;
}

.server-card-foot small {
  color: var(--muted);
  font-weight: 800;
}

.server-copy {
  flex: 0 0 auto;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--green);
  font-weight: 950;
}

.text-link:hover,
.site-footer a:hover {
  color: var(--amber);
}

.dev-ledger-section {
  background:
    linear-gradient(180deg, rgba(6, 10, 11, 0.74), rgba(9, 15, 17, 0.46)),
    repeating-linear-gradient(0deg, rgba(195, 226, 214, 0.028) 0 1px, transparent 1px 34px);
}

.dev-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ledger-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(96px, 0.18fr) minmax(0, 1fr);
  gap: 12px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(9, 16, 18, 0.78);
  box-shadow: var(--shadow);
}

.ledger-entry:nth-child(2n) {
  border-left-color: var(--steel);
}

.ledger-entry:nth-child(3n) {
  border-left-color: var(--amber);
}

.ledger-entry span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ledger-entry h3 {
  margin-bottom: 0;
  font-size: 19px;
}

.ledger-entry p {
  grid-column: 2;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
}

.flow-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.section-head {
  margin-bottom: 32px;
}

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

.flow-node {
  position: relative;
  min-height: 290px;
  padding: 24px;
  overflow: hidden;
}

.flow-node::after {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 46px;
  height: 26px;
  border-top: 1px solid rgba(79, 240, 181, 0.26);
  border-right: 1px solid rgba(79, 240, 181, 0.26);
  content: "";
  background: none;
}

.flow-node span {
  display: block;
  margin-bottom: 78px;
  color: rgba(79, 240, 181, 0.7);
  font-size: 36px;
  font-weight: 950;
}

.quickstart {
  display: grid;
  grid-template-columns: minmax(310px, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.terminal {
  overflow: hidden;
  background: #070b0d;
}

.terminal-top {
  gap: 7px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  background: linear-gradient(90deg, rgba(79, 240, 181, 0.08), rgba(255, 180, 74, 0.06));
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.terminal-top span:nth-child(2) {
  background: var(--amber);
}

.terminal-top span:nth-child(3) {
  background: var(--green);
}

.copy-button {
  min-height: 30px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid rgba(79, 240, 181, 0.3);
  color: var(--green);
  background: rgba(79, 240, 181, 0.08);
  font-size: 12px;
}

.terminal pre {
  min-height: 310px;
  padding: 24px;
}

.build-list {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.build-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  color: #d9efe7;
  background: rgba(255, 255, 255, 0.055);
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
}

.roadmap-section {
  background:
    linear-gradient(180deg, rgba(12, 19, 21, 0.5), rgba(6, 10, 11, 0.1));
}

.roadmap {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: none;
}

.roadmap-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 22px 20px 32px;
  overflow: hidden;
}

.roadmap-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: var(--steel);
}

.roadmap-item.done::before {
  background: var(--green);
}

.roadmap-item.active::before {
  background: var(--amber);
}

.roadmap-item span {
  color: var(--ink);
  font-weight: 950;
}

.roadmap-item p {
  color: var(--muted);
}

.safety-panel {
  padding: clamp(26px, 5vw, 52px);
  border-color: rgba(255, 180, 74, 0.3);
  background:
    linear-gradient(145deg, rgba(20, 26, 24, 0.88), rgba(8, 12, 13, 0.82)),
    linear-gradient(90deg, rgba(255, 180, 74, 0.08), transparent);
}

.closing-section {
  padding-bottom: 96px;
}

.closing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  width: 100%;
  max-width: none;
}

.closing-grid .safety-panel,
.closing-grid .support-panel {
  min-width: 0;
  min-height: 360px;
}

.closing-grid .safety-panel h2,
.closing-grid .support-panel h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.support-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-content: space-between;
  padding: clamp(24px, 4vw, 42px);
  border-color: rgba(79, 240, 181, 0.28);
  background:
    linear-gradient(145deg, rgba(11, 20, 22, 0.9), rgba(5, 10, 11, 0.84)),
    linear-gradient(90deg, rgba(79, 240, 181, 0.09), rgba(255, 180, 74, 0.05));
}

.support-panel p {
  max-width: 760px;
  margin-bottom: 0;
}

.support-button {
  border-color: rgba(255, 180, 74, 0.5);
  color: #150b02;
  background: linear-gradient(135deg, var(--amber), #ffd38a);
  box-shadow: 0 16px 44px rgba(255, 180, 74, 0.18);
  width: fit-content;
}

#safety,
#support,
#boundaries {
  scroll-margin-top: 96px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.25fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(7, 12, 13, 0.98), #040607);
  font-size: 13px;
}

.footer-brand {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.footer-emblem {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(79, 240, 181, 0.14));
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.footer-brand p,
.footer-legal p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.6;
}

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

.footer-links div {
  display: grid;
  gap: 8px;
}

.footer-links span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-links a {
  color: #d7e6e2;
  font-weight: 800;
}

.footer-legal {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(195, 226, 214, 0.14);
  padding-top: 18px;
}

.wiki-body {
  background:
    linear-gradient(180deg, #050708 0%, #071012 44%, #050708 100%),
    repeating-linear-gradient(90deg, rgba(195, 226, 214, 0.028) 0 1px, transparent 1px 88px);
}

.server-list-body {
  background:
    linear-gradient(180deg, #040707 0%, #071012 52%, #040607 100%),
    repeating-linear-gradient(90deg, rgba(195, 226, 214, 0.028) 0 1px, transparent 1px 88px);
}

.server-page {
  min-height: 100vh;
}

.server-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 5vw, 72px) 42px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.server-hero-copy {
  position: relative;
  max-width: 980px;
}

.server-hero-copy h1 {
  max-width: 980px;
}

.wiki-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: 112px clamp(18px, 5vw, 72px) 72px;
}

.legal-shell {
  display: grid;
  gap: clamp(34px, 5vw, 54px);
  width: 100%;
  padding: 112px clamp(18px, 5vw, 72px) 72px;
}

.legal-hero {
  min-height: 390px;
}

.legal-shell .wiki-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-shell .doc-panel {
  min-height: 230px;
  padding: clamp(20px, 2.5vw, 28px);
}

.legal-shell .doc-panel h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
}

.inline-link {
  display: inline;
  margin-top: 0;
}

.wiki-sidebar {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(5, 10, 11, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.wiki-label {
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.wiki-sidebar a {
  border-radius: 6px;
  padding: 10px 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.wiki-sidebar a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.wiki-content {
  display: grid;
  gap: 44px;
  min-width: 0;
}

.wiki-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 52px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 8, 9, 0.92), rgba(5, 8, 9, 0.68)),
    url("/assets/caretakermp-hero.png") center right / cover;
  box-shadow: var(--shadow);
}

.wiki-hero h1 {
  max-width: 850px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
}

.wiki-hero p {
  max-width: 780px;
  color: #d7e6e2;
  font-size: 19px;
}

.wiki-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wiki-status div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(5, 10, 11, 0.72);
  backdrop-filter: blur(12px);
}

.wiki-status span,
.command-table span,
.api-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.wiki-status strong {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 22px;
}

.wiki-section {
  scroll-margin-top: 96px;
}

.wiki-section-head {
  margin-bottom: 18px;
}

.wiki-section-head h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 50px);
}

.wiki-grid {
  display: grid;
  gap: 14px;
}

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

.wiki-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  color: inherit;
  background:
    linear-gradient(145deg, rgba(17, 27, 30, 0.82), rgba(8, 14, 16, 0.72));
  box-shadow: var(--shadow);
}

.guide-card:hover {
  border-color: rgba(79, 240, 181, 0.44);
  transform: translateY(-1px);
}

.guide-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.guide-card h3 {
  margin-bottom: 0;
}

.guide-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.doc-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 22px;
}

.doc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.doc-panel h3,
.mini-step h3 {
  margin-bottom: 0;
}

.doc-panel pre {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(3, 7, 8, 0.7);
}

.doc-panel p {
  margin-bottom: 0;
  font-size: 15px;
}

.wiki-callout {
  border-left: 3px solid var(--amber);
  padding: 12px 14px;
  color: #d7e6e2;
  background: rgba(255, 180, 74, 0.08);
  line-height: 1.6;
}

.command-table {
  display: grid;
  gap: 10px;
}

.command-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 92px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  background: rgba(12, 20, 22, 0.72);
}

.command-table.compact div {
  grid-template-columns: minmax(180px, 0.4fr) 120px minmax(0, 1fr);
}

.command-table strong {
  color: var(--green);
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
}

.command-table p {
  margin-bottom: 0;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.api-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.api-grid div {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(12, 20, 22, 0.72);
}

.api-grid span {
  color: var(--amber);
}

.api-grid code {
  display: block;
  overflow-wrap: anywhere;
  border: 1px solid rgba(195, 226, 214, 0.12);
  border-radius: 6px;
  padding: 7px 8px;
  background: rgba(3, 7, 8, 0.6);
  font-size: 12px;
}

.mini-step {
  padding: 22px;
}

.mini-step span {
  display: block;
  margin-bottom: 42px;
  color: rgba(79, 240, 181, 0.72);
  font-size: 32px;
  font-weight: 950;
}

.mini-step p {
  margin-bottom: 0;
  font-size: 15px;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}

.reveal.visible {
  transform: none;
  opacity: 1;
}

@media (max-width: 1020px) {
  .site-header {
    position: fixed;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    order: 3;
  }

  .site-header nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    left: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid rgba(79, 240, 181, 0.22);
    border-radius: 8px;
    padding: 12px;
    background: rgba(5, 10, 11, 0.985);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.nav-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    border: 1px solid rgba(195, 226, 214, 0.12);
    border-radius: 7px;
    padding: 0 12px;
    color: #d7e6e2;
    background: rgba(12, 20, 22, 0.94);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 78vh;
  }

  .hero-beta-panel {
    justify-self: start;
    width: min(620px, 100%);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 5, 6, 0.94) 0%, rgba(5, 8, 9, 0.78) 62%, rgba(5, 9, 10, 0.4) 100%),
      linear-gradient(180deg, rgba(5, 7, 8, 0.36) 0%, rgba(5, 7, 8, 0.1) 45%, #070b0d 100%);
  }

  .split-section,
  .quickstart,
  .wiki-shell,
  .wiki-hero {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .dev-ledger,
  .api-grid,
  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wiki-shell {
    padding-top: 100px;
  }

  .legal-shell {
    padding-top: 100px;
  }

  .wiki-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wiki-label {
    grid-column: 1 / -1;
  }

  .section-copy {
    position: static;
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: clamp(178px, 54vw, 224px);
    max-height: 44px;
  }

  .site-header nav {
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 78vh;
    padding: 88px 18px 30px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .hero-copy,
  p {
    font-size: 16px;
  }

  .signal-strip div,
  .button {
    width: 100%;
  }

  .signal-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-width: 0;
    width: auto;
    padding: 10px;
  }

  .signal-strip strong {
    font-size: 17px;
  }

  .feature-grid,
  .flow,
  .capability-grid,
  .dev-ledger,
  .server-grid,
  .closing-grid,
  .wiki-grid.two,
  .wiki-grid.three,
  .api-grid {
    grid-template-columns: 1fr;
  }

  .wiki-shell {
    padding: 88px 18px 52px;
  }

  .legal-shell {
    padding: 88px 18px 52px;
  }

  .legal-shell .wiki-grid.two {
    grid-template-columns: 1fr;
  }

  .legal-shell .doc-panel {
    min-height: 0;
  }

  .wiki-sidebar {
    display: none;
  }

  .wiki-hero {
    min-height: 0;
    padding: 24px;
  }

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

  .command-table div,
  .command-table.compact div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .flow-node {
    min-height: 240px;
  }

  .roadmap-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ledger-entry {
    grid-template-columns: 1fr;
  }

  .ledger-entry p {
    grid-column: auto;
  }

  .server-browser-top,
  .server-card-head,
  .server-card-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .support-panel {
    grid-template-columns: 1fr;
  }

  .support-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .footer-emblem {
    width: 72px;
    height: 72px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button:hover,
  .copy-button:hover {
    transform: none;
    transition: none;
  }
}

/* Release redesign layer */
:root {
  --ink: #f4fbf6;
  --muted: #aab9b6;
  --soft: #e2efe8;
  --bg: #030607;
  --bg-2: #081012;
  --panel: rgba(7, 13, 15, 0.78);
  --panel-solid: #0b1316;
  --line: rgba(196, 234, 222, 0.16);
  --line-strong: rgba(196, 234, 222, 0.34);
  --green: #56ffc0;
  --green-dark: #0b7058;
  --amber: #ffb74f;
  --red: #ff6f61;
  --steel: #8bb6c2;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.54);
  --section-x: clamp(18px, 5vw, 72px);
  --topbar: 88px;
}

html {
  background: #020405;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(86, 255, 192, 0.11), transparent 34rem),
    radial-gradient(circle at 86% 22%, rgba(255, 183, 79, 0.08), transparent 36rem),
    linear-gradient(180deg, #020405 0%, #061012 48%, #020405 100%);
}

body::before {
  background:
    linear-gradient(rgba(196, 234, 222, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 234, 222, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 70%, rgba(86, 255, 192, 0.05), transparent 36rem);
  background-size: 56px 56px, 56px 56px, auto;
  opacity: 0.9;
}

body::after {
  opacity: 0.1;
}

.site-header {
  min-height: var(--topbar);
  padding: 12px var(--section-x);
  border-bottom: 1px solid rgba(196, 234, 222, 0.12);
  background:
    linear-gradient(90deg, rgba(4, 8, 9, 0.96), rgba(6, 12, 14, 0.78)),
    radial-gradient(circle at 4% 0%, rgba(86, 255, 192, 0.12), transparent 18rem);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.brand {
  min-width: clamp(248px, 24vw, 330px);
}

.brand-logo {
  width: clamp(244px, 22vw, 330px);
  max-height: 50px;
}

.site-header nav {
  gap: 6px;
  border: 1px solid rgba(196, 234, 222, 0.1);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.035);
}

.site-header nav a {
  border-radius: 999px;
  padding: 9px 12px;
  color: #c7d6d2;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-header nav a:hover {
  color: var(--ink);
  background: rgba(86, 255, 192, 0.09);
  transform: translateY(-1px);
}

.header-cta,
.button,
.copy-button {
  border-radius: 8px;
}

.header-cta {
  padding: 11px 15px;
  border-color: rgba(86, 255, 192, 0.45);
  box-shadow: inset 0 0 0 1px rgba(86, 255, 192, 0.04), 0 12px 26px rgba(0, 0, 0, 0.2);
}

.hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.58fr);
  min-height: 86vh;
  padding: calc(var(--topbar) + 48px) var(--section-x) 54px;
  gap: clamp(30px, 5vw, 90px);
}

.hero-media img,
.wiki-hero,
.server-hero .hero-media img {
  filter: saturate(1.05) contrast(1.12) brightness(0.82);
}

.hero-shade {
  background:
    radial-gradient(circle at 68% 42%, rgba(86, 255, 192, 0.08), transparent 24rem),
    linear-gradient(90deg, rgba(2, 4, 5, 0.97) 0%, rgba(4, 8, 9, 0.88) 38%, rgba(4, 8, 9, 0.34) 76%),
    linear-gradient(180deg, rgba(2, 4, 5, 0.44) 0%, rgba(2, 4, 5, 0.06) 50%, #040809 100%);
}

.hero-content {
  width: min(790px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--amber);
  line-height: 1;
}

.eyebrow::before {
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

h1 {
  max-width: 820px;
  text-wrap: balance;
  text-shadow: 0 14px 50px rgba(0, 0, 0, 0.6);
}

h2 {
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary,
.support-button {
  background: linear-gradient(135deg, #55f8bb, #b8ffe1);
  box-shadow: 0 18px 54px rgba(86, 255, 192, 0.2);
}

.button.secondary {
  border-color: rgba(196, 234, 222, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
}

.signal-strip {
  gap: 12px;
}

.signal-strip div,
.wiki-status div {
  border-color: rgba(196, 234, 222, 0.18);
  background: linear-gradient(145deg, rgba(8, 15, 17, 0.86), rgba(3, 8, 9, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hero-beta-panel {
  padding: clamp(26px, 3.2vw, 42px);
  border-color: rgba(86, 255, 192, 0.34);
  background:
    linear-gradient(145deg, rgba(8, 15, 17, 0.93), rgba(3, 8, 9, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(255, 183, 79, 0.16), transparent 18rem);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-beta-panel::before,
.terminal::before,
.server-browser-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(86, 255, 192, 0.34), transparent 18%) 0 0 / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(86, 255, 192, 0.22), transparent 34%) 0 0 / 1px 100% no-repeat;
  opacity: 0.7;
}

.section {
  padding: clamp(70px, 10vw, 132px) var(--section-x);
}

.section-head {
  max-width: 980px;
}

.section-head p {
  max-width: 760px;
}

.feature-grid {
  gap: 16px;
}

.feature-card,
.capability,
.flow-node,
.roadmap-item,
.safety-panel,
.support-panel,
.terminal,
.doc-panel,
.mini-step,
.guide-card,
.server-card {
  position: relative;
  border-color: rgba(196, 234, 222, 0.17);
  background:
    linear-gradient(145deg, rgba(14, 24, 27, 0.82), rgba(5, 10, 12, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(86, 255, 192, 0.06), transparent 16rem);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover,
.capability:hover,
.flow-node:hover,
.roadmap-item:hover,
.doc-panel:hover,
.mini-step:hover,
.guide-card:hover,
.server-card:hover {
  transform: translateY(-2px);
  border-color: rgba(86, 255, 192, 0.34);
}

.feature-card,
.capability {
  min-height: 250px;
}

.feature-kicker,
.capability span,
.guide-card span,
.server-card span {
  color: var(--amber);
}

.flow {
  gap: 16px;
}

.ux-section {
  position: relative;
  overflow: hidden;
}

.ux-section::before {
  position: absolute;
  inset: 12% var(--section-x) auto var(--section-x);
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(86, 255, 192, 0.34), rgba(255, 183, 79, 0.22), transparent);
}

.ux-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) repeat(2, minmax(260px, 0.86fr));
  gap: 16px;
  align-items: stretch;
}

.ux-panel {
  position: relative;
  display: grid;
  gap: 22px;
  min-height: 360px;
  border: 1px solid rgba(196, 234, 222, 0.18);
  border-radius: 8px;
  padding: clamp(22px, 2.6vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(14, 24, 27, 0.88), rgba(5, 10, 12, 0.78)),
    radial-gradient(circle at 92% 0%, rgba(86, 255, 192, 0.12), transparent 17rem);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.ux-session-card {
  background:
    linear-gradient(145deg, rgba(13, 25, 28, 0.92), rgba(4, 9, 11, 0.82)),
    radial-gradient(circle at 18% 0%, rgba(86, 255, 192, 0.16), transparent 18rem),
    radial-gradient(circle at 100% 100%, rgba(255, 183, 79, 0.1), transparent 18rem);
}

.ux-install-card {
  border-color: rgba(255, 183, 79, 0.28);
}

.ux-overlay-card {
  border-color: rgba(139, 182, 194, 0.28);
}

.ux-panel::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(86, 255, 192, 0.3), transparent 16%) 0 0 / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(86, 255, 192, 0.18), transparent 34%) 0 0 / 1px 100% no-repeat;
  opacity: 0.72;
}

.ux-panel-top,
.ux-action-row,
.ux-command-bar,
.ux-chip-row {
  display: flex;
  align-items: center;
}

.ux-panel-top {
  justify-content: space-between;
  gap: 18px;
}

.ux-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ux-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 0.98;
  text-wrap: balance;
}

.ux-status {
  flex: 0 0 auto;
  border: 1px solid rgba(86, 255, 192, 0.28);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--green);
  background: rgba(86, 255, 192, 0.08);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.ux-status.online {
  box-shadow: 0 0 24px rgba(86, 255, 192, 0.16);
}

.ux-status.listening {
  border-color: rgba(139, 182, 194, 0.38);
  color: #bfe7f1;
  background: rgba(139, 182, 194, 0.1);
}

.ux-meter {
  height: 10px;
  border: 1px solid rgba(196, 234, 222, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(2, 5, 6, 0.72);
}

.ux-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--amber));
  box-shadow: 0 0 26px rgba(86, 255, 192, 0.34);
}

.ux-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ux-stat-grid div {
  border: 1px solid rgba(196, 234, 222, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(2, 6, 7, 0.54);
}

.ux-stat-grid span,
.ux-feed strong {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.ux-stat-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.05;
}

.ux-chip-row,
.ux-command-bar {
  flex-wrap: wrap;
  gap: 8px;
}

.ux-chip-row span,
.ux-command-bar span {
  border: 1px solid rgba(196, 234, 222, 0.16);
  border-radius: 999px;
  padding: 8px 10px;
  color: #d7e6e2;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 850;
}

.ux-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ux-check-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #d7e6e2;
  font-weight: 760;
}

.ux-check-list li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(86, 255, 192, 0.36);
  border-radius: 50%;
  background: rgba(86, 255, 192, 0.1);
}

.ux-check-list li span::before {
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  content: "";
  transform: rotate(-45deg) translate(1px, -1px);
}

.ux-action-row {
  align-self: end;
  gap: 10px;
}

.ux-action-row a {
  flex: 1 1 0;
  min-height: 44px;
  border: 1px solid rgba(196, 234, 222, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 900;
  text-align: center;
}

.ux-action-row a:first-child {
  color: #06100c;
  background: linear-gradient(135deg, var(--amber), #ffd08a);
}

.ux-feed {
  display: grid;
  gap: 10px;
}

.ux-feed p {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(196, 234, 222, 0.13);
  border-radius: 8px;
  padding: 12px;
  color: #d7e6e2;
  background: rgba(2, 6, 7, 0.52);
  font-size: 14px;
}

.ux-feed span {
  color: #d7e6e2;
}

.proof-section {
  position: relative;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 183, 79, 0.08), transparent 26rem),
    linear-gradient(180deg, rgba(5, 10, 11, 0.08), rgba(86, 255, 192, 0.025));
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 16px;
  align-items: stretch;
}

.proof-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proof-note,
.proof-frame {
  position: relative;
  border: 1px solid rgba(196, 234, 222, 0.17);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(14, 24, 27, 0.86), rgba(5, 10, 12, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(86, 255, 192, 0.08), transparent 18rem);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.proof-note {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: clamp(22px, 2.4vw, 30px);
}

.proof-note span,
.proof-frame figcaption span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.proof-note h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.02;
}

.proof-note p {
  margin: 0;
  color: #c5d4d0;
}

.proof-frame {
  display: grid;
  min-height: 220px;
}

.proof-frame img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.04) brightness(0.9);
}

.proof-frame-main {
  min-height: clamp(380px, 44vw, 620px);
}

.proof-frame-main img {
  min-height: inherit;
}

.wiki-proof-grid .proof-frame:not(.proof-frame-main) img {
  object-fit: contain;
  background: rgba(2, 6, 7, 0.86);
}

.proof-copy-grid .proof-frame:not(.proof-frame-main) {
  min-height: 270px;
  background: rgba(2, 6, 7, 0.86);
}

.proof-copy-grid .proof-frame:not(.proof-frame-main) img {
  min-height: 270px;
  object-fit: cover;
  object-position: center top;
}

.proof-copy-grid .proof-frame:not(.proof-frame-main) figcaption {
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.proof-frame figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(196, 234, 222, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(3, 7, 8, 0.76);
  backdrop-filter: blur(16px);
}

.proof-frame figcaption strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.wiki-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 16px;
}

.wiki-proof-grid .proof-frame-main {
  grid-row: span 2;
}

.flow-node {
  min-height: 310px;
}

.flow-node span,
.mini-step span {
  color: rgba(86, 255, 192, 0.76);
}

.terminal {
  position: relative;
  border-color: rgba(86, 255, 192, 0.2);
}

.terminal pre {
  color: #dcfff2;
}

.roadmap {
  gap: 10px;
}

.roadmap-item {
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  align-items: center;
  min-height: 82px;
}

.closing-grid {
  gap: 18px;
}

.site-footer {
  background:
    radial-gradient(circle at 6% 16%, rgba(86, 255, 192, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(5, 10, 11, 0.98), #020405);
}

.footer-links {
  gap: clamp(18px, 4vw, 38px);
}

.footer-links a:hover {
  color: var(--green);
}

.wiki-body,
.server-list-body {
  background:
    radial-gradient(circle at 85% 8%, rgba(86, 255, 192, 0.1), transparent 32rem),
    linear-gradient(180deg, #020405 0%, #071012 45%, #020405 100%);
}

.wiki-shell {
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  padding: calc(var(--topbar) + 34px) var(--section-x) 78px;
}

.wiki-sidebar {
  top: calc(var(--topbar) + 24px);
  border-color: rgba(86, 255, 192, 0.2);
  background:
    linear-gradient(180deg, rgba(7, 14, 16, 0.88), rgba(3, 7, 8, 0.78)),
    radial-gradient(circle at 0% 0%, rgba(86, 255, 192, 0.08), transparent 16rem);
}

.wiki-sidebar a {
  min-height: 38px;
  color: #bdd0cc;
}

.wiki-sidebar a:hover {
  color: var(--ink);
  background: rgba(86, 255, 192, 0.08);
}

.wiki-content {
  gap: clamp(42px, 5vw, 66px);
}

.wiki-hero {
  min-height: clamp(430px, 50vw, 560px);
  border-color: rgba(196, 234, 222, 0.18);
  background:
    linear-gradient(90deg, rgba(3, 7, 8, 0.94), rgba(3, 7, 8, 0.72)),
    radial-gradient(circle at 80% 30%, rgba(86, 255, 192, 0.12), transparent 20rem),
    url("/assets/caretakermp-hero.png") center right / cover;
}

.wiki-hero h1 {
  font-size: clamp(42px, 5.2vw, 74px);
}

.wiki-section-head {
  max-width: 980px;
}

.wiki-section-head h2 {
  font-size: clamp(34px, 4.4vw, 60px);
}

.wiki-grid {
  gap: 16px;
}

.wiki-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card,
.mini-step,
.doc-panel {
  padding: clamp(22px, 2.4vw, 30px);
}

.guide-card {
  min-height: 236px;
}

.mini-step {
  min-height: 236px;
}

.doc-panel h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.doc-panel h3,
.guide-card h3,
.mini-step h3 {
  font-size: clamp(22px, 2.1vw, 28px);
}

.command-table {
  gap: 12px;
}

.command-table div {
  border-color: rgba(196, 234, 222, 0.16);
  background: rgba(8, 15, 17, 0.78);
}

.api-grid {
  gap: 14px;
}

.api-grid div {
  border-color: rgba(196, 234, 222, 0.16);
  background: rgba(8, 15, 17, 0.78);
}

.legal-shell {
  gap: clamp(42px, 5vw, 66px);
  padding: calc(var(--topbar) + 34px) var(--section-x) 78px;
}

.legal-hero {
  min-height: 460px;
}

.legal-shell .doc-panel {
  min-height: 260px;
}

.server-hero {
  min-height: 70vh;
  padding: calc(var(--topbar) + 58px) var(--section-x) 58px;
}

.server-hero-copy {
  max-width: 1020px;
}

.server-browser-shell {
  position: relative;
  border-color: rgba(86, 255, 192, 0.22);
}

.server-grid {
  gap: 16px;
  padding: 18px;
}

.server-card {
  min-height: 270px;
}

.server-meta span {
  border-radius: 7px;
}

@media (max-width: 1180px) {
  .site-header nav {
    gap: 3px;
  }

  .site-header nav a {
    padding: 9px 9px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .proof-layout,
  .wiki-proof-grid {
    grid-template-columns: 1fr;
  }

  .wiki-proof-grid .proof-frame-main {
    grid-row: auto;
  }

  .ux-showcase {
    grid-template-columns: 1fr;
  }

  .hero-beta-panel {
    justify-self: start;
    width: min(680px, 100%);
  }
}

@media (max-width: 1020px) {
  .site-header {
    position: absolute;
  }

  .site-header nav {
    border-radius: 8px;
    padding: 12px;
    background: rgba(3, 7, 8, 0.985);
  }

  .wiki-shell,
  .legal-shell {
    padding-top: 104px;
  }

  .wiki-shell {
    grid-template-columns: 1fr;
  }

  .wiki-hero {
    grid-template-columns: 1fr;
  }

  .wiki-sidebar {
    top: auto;
  }

  .wiki-grid.three,
  .capability-grid,
  .server-grid,
  .proof-copy-grid,
  .ux-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ux-session-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --topbar: 76px;
  }

  .site-header {
    min-height: var(--topbar);
  }

  .brand-logo {
    width: clamp(182px, 54vw, 226px);
    max-height: 44px;
  }

  .hero,
  .server-hero {
    padding: calc(var(--topbar) + 34px) 18px 38px;
  }

  .hero {
    min-height: 0;
  }

  h1 {
    font-size: clamp(46px, 13vw, 68px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .section {
    padding: 74px 18px;
  }

  .signal-strip,
  .wiki-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wiki-shell,
  .legal-shell {
    padding: calc(var(--topbar) + 18px) 18px 54px;
  }

  .wiki-shell {
    grid-template-columns: 1fr;
  }

  .wiki-content {
    width: 100%;
  }

  .wiki-grid.three,
  .wiki-grid.two,
  .capability-grid,
  .server-grid,
  .api-grid,
  .proof-copy-grid,
  .feature-grid,
  .ux-showcase,
  .ux-stat-grid {
    grid-template-columns: 1fr;
  }

  .proof-frame-main,
  .proof-frame,
  .proof-note {
    min-height: 0;
  }

  .proof-frame img {
    min-height: 220px;
  }

  .proof-frame-main img {
    min-height: 260px;
  }

  .proof-frame figcaption {
    position: static;
    margin: -1px 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
  }

  .ux-section::before {
    display: none;
  }

  .ux-session-card {
    grid-column: auto;
  }

  .ux-panel {
    min-height: 0;
  }

  .ux-panel-top,
  .ux-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .ux-status {
    width: fit-content;
  }

  .ux-feed p {
    grid-template-columns: 1fr;
  }

  .wiki-hero,
  .legal-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .wiki-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .mini-step,
  .guide-card,
  .doc-panel,
  .server-card {
    min-height: 0;
  }
}

/* Project release redesign pass */
:root {
  --section-x: clamp(18px, 5vw, 72px);
  --content-max: 1580px;
  --panel-glow: 0 28px 100px rgba(0, 0, 0, 0.44);
}

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--ink);
}

main > .section,
.site-header,
.site-footer,
.wiki-shell,
.legal-shell,
.server-hero {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 82px;
  backdrop-filter: blur(22px);
}

.brand {
  min-width: auto;
}

.brand-logo {
  width: clamp(210px, 17vw, 270px);
  max-height: 44px;
}

.site-header nav {
  max-width: min(100%, 900px);
  overflow: visible;
}

.site-header nav a,
.header-cta,
.button,
.copy-button {
  letter-spacing: 0;
}

.header-cta::after,
.button.primary::after,
.support-button::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.hero {
  min-height: calc(100vh - 1px);
  border-bottom: 1px solid rgba(196, 234, 222, 0.14);
}

.hero-content h1 {
  letter-spacing: 0;
}

.hero-beta-panel {
  align-self: center;
}

.release-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 24px;
}

.release-meta-grid div {
  border: 1px solid rgba(196, 234, 222, 0.15);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(2, 6, 7, 0.55);
}

.release-meta-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.release-meta-grid strong {
  color: var(--green);
  font-size: 18px;
  line-height: 1.05;
}

.section {
  position: relative;
  max-width: none;
}

.section::before,
.wiki-section::before {
  position: absolute;
  top: 0;
  left: var(--section-x);
  right: var(--section-x);
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(86, 255, 192, 0.22), rgba(255, 183, 79, 0.14), transparent);
}

.feature-card,
.capability,
.flow-node,
.roadmap-item,
.doc-panel,
.mini-step,
.guide-card,
.server-card,
.ux-panel,
.proof-note,
.proof-frame {
  overflow: hidden;
}

.feature-card::before,
.capability::before,
.flow-node::before,
.roadmap-item::before,
.doc-panel::before,
.mini-step::before,
.guide-card::before,
.server-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--green), rgba(255, 183, 79, 0.8), transparent 70%);
  opacity: 0.72;
}

.capability:nth-child(3n + 2)::before,
.guide-card:nth-child(3n + 2)::before,
.mini-step:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, var(--amber), rgba(139, 182, 194, 0.7), transparent 70%);
}

.capability:nth-child(3n)::before,
.guide-card:nth-child(3n)::before,
.mini-step:nth-child(3n)::before {
  background: linear-gradient(90deg, var(--steel), rgba(86, 255, 192, 0.5), transparent 70%);
}

.feature-card p,
.capability p,
.doc-panel p,
.mini-step p,
.guide-card p,
.server-card p,
.proof-note p {
  color: #c5d4d0;
}

.proof-layout {
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
}

.proof-copy-grid {
  grid-template-rows: minmax(210px, auto) minmax(210px, auto) minmax(250px, 1fr);
}

.proof-copy-grid .proof-note {
  min-height: 0;
}

.proof-copy-grid .proof-frame:not(.proof-frame-main) {
  min-height: 250px;
}

.proof-copy-grid .proof-frame:not(.proof-frame-main) img {
  min-height: 250px;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.02);
}

.proof-copy-grid .proof-frame:nth-of-type(2) img {
  object-position: center 28%;
}

.proof-copy-grid .proof-frame figcaption {
  background: rgba(2, 5, 6, 0.86);
}

.wiki-shell,
.legal-shell {
  max-width: none;
}

.wiki-content,
.legal-shell > .wiki-section,
.server-page .section > * {
  width: 100%;
}

.wiki-hero,
.server-hero,
.legal-hero {
  border-radius: 0;
  margin-left: calc(var(--section-x) * -1);
  margin-right: calc(var(--section-x) * -1);
  padding-left: var(--section-x);
  padding-right: var(--section-x);
}

.server-page .server-hero {
  margin-left: 0;
  margin-right: 0;
}

.wiki-hero {
  box-shadow: var(--panel-glow);
}

.wiki-sidebar {
  box-shadow: 0 18px 68px rgba(0, 0, 0, 0.34);
}

.wiki-sidebar a {
  border-radius: 7px;
}

.wiki-grid.two,
.legal-shell .wiki-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.guide-card,
.mini-step,
.doc-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.doc-panel pre,
.api-grid code,
.command-table code,
.wiki-status strong,
.server-meta span {
  overflow-wrap: anywhere;
}

.doc-panel pre {
  border: 1px solid rgba(196, 234, 222, 0.14);
  border-radius: 8px;
  padding: 16px;
  overflow: auto;
  background: rgba(1, 4, 5, 0.72);
}

.command-table div,
.api-grid div {
  position: relative;
  overflow: hidden;
}

.command-table div::before,
.api-grid div::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, var(--green), rgba(255, 183, 79, 0.75));
}

.legal-shell {
  background:
    linear-gradient(180deg, rgba(86, 255, 192, 0.045), transparent 18rem),
    transparent;
}

.legal-hero {
  min-height: 360px;
}

.legal-shell .doc-panel {
  min-height: 220px;
}

.server-browser-top {
  gap: 16px;
}

.server-card.empty,
.server-card.error,
.server-card.loading {
  grid-column: 1 / -1;
  min-height: 220px;
}

.server-message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.server-message-meta span {
  border: 1px solid rgba(196, 234, 222, 0.14);
  border-radius: 999px;
  padding: 8px 10px;
  color: #d7e6e2;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 850;
}

.site-footer {
  border-top: 1px solid rgba(196, 234, 222, 0.14);
}

@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-header nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .proof-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1020px) {
  .site-header {
    position: sticky;
  }

  .site-header nav {
    max-height: min(70vh, 560px);
    overflow: auto;
  }

  .wiki-shell {
    gap: 22px;
  }

  .wiki-sidebar {
    position: sticky;
    top: calc(var(--topbar) + 8px);
    z-index: 12;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 100%;
    padding: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .wiki-sidebar::-webkit-scrollbar {
    display: none;
  }

  .wiki-sidebar .wiki-label {
    flex: 0 0 auto;
    align-self: center;
    margin: 0 6px 0 0;
  }

  .wiki-sidebar a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 9px 11px;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .brand-logo {
    width: clamp(178px, 48vw, 220px);
  }

  .site-header {
    padding: 10px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .nav-toggle {
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 20px !important;
    right: auto;
    left: clamp(286px, 80vw, 312px) !important;
    z-index: 1000 !important;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    order: 0;
  }

  .site-header nav {
    grid-column: 1 / -1;
    flex-basis: auto;
    width: 100%;
    position: static;
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header .header-cta {
    display: none;
  }

  .hero {
    padding-top: calc(var(--topbar) + 26px);
  }

  .hero-content,
  .hero-copy,
  .quickstart-copy,
  .section-head {
    max-width: calc(100vw - 36px);
    overflow-wrap: break-word;
  }

  .signal-strip {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .hero-actions,
  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .release-meta-grid,
  .wiki-grid.two,
  .legal-shell .wiki-grid.two {
    grid-template-columns: 1fr;
  }

  .wiki-hero,
  .server-hero,
  .legal-hero {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .wiki-sidebar {
    margin-left: -4px;
    margin-right: -4px;
  }

  .proof-copy-grid .proof-frame:not(.proof-frame-main),
  .proof-copy-grid .proof-frame:not(.proof-frame-main) img {
    min-height: 210px;
  }
}

/* DevLog news page */
.devlog-preview-section {
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 183, 79, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(5, 10, 11, 0.12), rgba(86, 255, 192, 0.025));
}

.devlog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.devlog-card,
.devlog-row,
.devlog-article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196, 234, 222, 0.17);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(14, 24, 27, 0.84), rgba(5, 10, 12, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(86, 255, 192, 0.08), transparent 18rem);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.devlog-card {
  display: grid;
  gap: 12px;
  min-height: 280px;
  padding: clamp(22px, 2.4vw, 30px);
  color: inherit;
}

.devlog-card::before,
.devlog-row::before,
.devlog-article::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--green), rgba(255, 183, 79, 0.85), transparent 72%);
}

.devlog-card:hover,
.devlog-row:hover {
  border-color: rgba(86, 255, 192, 0.36);
  transform: translateY(-2px);
}

.devlog-card time,
.devlog-row time,
.devlog-article-meta time {
  color: #d7e6e2;
  font-size: 13px;
  font-weight: 800;
}

.devlog-card span,
.devlog-row span,
.devlog-article-meta span {
  width: fit-content;
  border: 1px solid rgba(255, 183, 79, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--amber);
  background: rgba(255, 183, 79, 0.08);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.devlog-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.02;
}

.devlog-card p,
.devlog-row strong,
.devlog-article p {
  color: #c5d4d0;
}

.devlog-page {
  overflow: hidden;
  overflow-x: hidden;
}

.devlog-hero {
  position: relative;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  min-height: 78vh;
  padding: calc(var(--topbar) + 62px) var(--section-x) 64px;
  border-bottom: 1px solid rgba(196, 234, 222, 0.14);
  overflow: hidden;
}

.devlog-hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(980px, 100%);
  max-width: 100%;
}

.devlog-hero h1 {
  font-size: clamp(52px, 7.2vw, 102px);
}

.devlog-index-section {
  padding-top: clamp(58px, 8vw, 104px);
}

.devlog-list {
  display: grid;
  gap: 12px;
}

.devlog-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.26fr) minmax(120px, 0.14fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 18px 22px;
  color: inherit;
}

.devlog-row strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
}

.devlog-article-section {
  display: grid;
  gap: 24px;
  padding-top: 0;
}

.devlog-article {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4.2vw, 58px);
}

.devlog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.devlog-article h2 {
  max-width: 1060px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
}

.devlog-article p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
}

.devlog-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.devlog-points div {
  border: 1px solid rgba(196, 234, 222, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(2, 6, 7, 0.54);
}

.devlog-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 16px;
}

.devlog-points span {
  display: block;
  color: #c5d4d0;
  line-height: 1.55;
}

.devlog-proof {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  border: 1px solid rgba(196, 234, 222, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(2, 6, 7, 0.72);
}

.devlog-proof img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.devlog-proof figcaption {
  padding: 14px 16px;
  color: #d7e6e2;
  background: rgba(2, 6, 7, 0.82);
  font-weight: 800;
}

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

.devlog-proof-grid figcaption {
  grid-column: 1 / -1;
}

@media (max-width: 1020px) {
  .devlog-preview-grid,
  .devlog-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .devlog-preview-grid,
  .devlog-points,
  .devlog-proof-grid {
    grid-template-columns: 1fr;
  }

  .devlog-hero {
    min-height: 0;
    padding: calc(var(--topbar) + 34px) 18px 46px;
  }

  .devlog-hero h1 {
    max-width: calc(100vw - 36px);
    font-size: clamp(36px, 10.8vw, 42px);
    line-height: 1.04;
    text-wrap: wrap;
    overflow-wrap: break-word;
  }

  .devlog-hero .hero-copy {
    max-width: calc(100vw - 36px);
    overflow-wrap: break-word;
  }

  .devlog-hero .signal-strip {
    grid-template-columns: 1fr;
  }

  .devlog-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
