:root {
  --bg: #0e0d0b;
  --panel: #1b1a16;
  --panel-deep: #0b0a09;
  --panel-soft: #161510;
  --line: #26241f;
  --line-soft: #221f1a;
  --line-link: #3a372f;
  --text: #e9e5dc;
  --muted: #b8b3a8;
  --dim: #8a857b;
  --ghost: #76716a;
  --crossed: #454139;
  --accent: #9bff3c;
  --orange: #ff8b5e;
  --red: #ff5f57;
  --yellow: #febc2e;
  --green: #28c840;
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
}

#app {
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 28px;
}

.terminal {
  width: min(1180px, 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.terminal--compact {
  width: min(1100px, 100%);
}

.chrome {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.traffic {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.traffic span {
  width: 12px;
  height: 12px;
  display: block;
  border-radius: 999px;
}

.traffic span:nth-child(1) {
  background: var(--red);
}

.traffic span:nth-child(2) {
  background: var(--yellow);
}

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

.url-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.url-pill {
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid #2c2a24;
  border-radius: 7px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.url-pill::before {
  width: 6px;
  height: 6px;
  content: "";
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
}

.surface {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.surface--subdomains {
  padding: 60px 64px 56px;
}

.surface--json {
  min-height: 572px;
  padding: 34px 40px 44px;
}

.surface--center {
  min-height: 554px;
  justify-content: center;
  padding: 64px;
}

.meta-row,
.footer-row,
.json-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.meta-row {
  color: var(--dim);
  font-size: 13px;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  letter-spacing: 0;
}

.online::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: var(--accent);
  animation: zeeit-blink 1.6s ease-in-out infinite;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.headline {
  margin: 0;
  max-width: 900px;
  color: var(--text);
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: 78px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.94;
}

.headline span,
.accent {
  color: var(--accent);
}

.lede,
.muted-copy {
  max-width: 600px;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.lede {
  margin-top: 34px;
  color: var(--muted);
}

.muted-copy {
  margin-top: 14px;
  color: var(--ghost);
}

.muted-copy strong {
  color: var(--muted);
  font-weight: 400;
}

.footer-row {
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.text-link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-link);
  padding-bottom: 2px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.outline-button {
  padding: 11px 20px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0;
}

.outline-button:hover,
.outline-button:focus-visible {
  background: var(--accent);
  color: var(--bg);
  outline: none;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(8, 8, 7, 0.78);
  backdrop-filter: blur(2px);
}

.modal {
  width: min(560px, 100%);
  overflow: hidden;
  border: 1px solid #2c2a24;
  border-radius: 10px;
  background: var(--panel-deep);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  animation: zeeit-fade 180ms ease-out both;
}

.modal-chrome {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
}

.modal-chrome .traffic span {
  width: 10px;
  height: 10px;
}

.modal-title {
  margin-left: 6px;
  color: var(--ghost);
  font-size: 11px;
}

.terminal-output {
  padding: 22px 24px 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.terminal-output p {
  margin: 0;
}

.terminal-output p + p {
  margin-top: 10px;
}

.caret {
  width: 9px;
  height: 16px;
  display: inline-block;
  margin-left: 6px;
  vertical-align: -2px;
  background: var(--accent);
  animation: zeeit-caret 1s step-end infinite;
}

.json-toolbar {
  margin-bottom: 26px;
}

.json-status {
  color: var(--ghost);
  font-size: 13px;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.segmented button {
  padding: 7px 16px;
  border-radius: 6px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0;
}

.segmented button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
}

.code-block {
  margin: 0;
  color: #6f6a60;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.raw-json {
  color: var(--dim);
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.literal {
  color: var(--accent);
}

.key {
  color: var(--text);
}

.null {
  color: var(--orange);
}

.protocol {
  margin-bottom: 18px;
  color: var(--ghost);
  font-size: 15px;
  letter-spacing: 0;
}

.headline-ok {
  margin: 0;
  color: var(--text);
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: 120px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.copy-lg {
  max-width: 620px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.copy-lg + .copy-lg {
  margin-top: 12px;
  color: var(--ghost);
}

.route-link {
  margin-top: 44px;
  color: var(--ghost);
  font-size: 17px;
}

.route-link a,
.json-mail {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid #3a3a2a;
}

.route-link a:hover,
.route-link a:focus-visible,
.json-mail:hover,
.json-mail:focus-visible {
  border-bottom-color: var(--accent);
}

.anti-headline {
  margin: 0;
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.anti-headline span {
  display: block;
  color: var(--crossed);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
}

.anti-link {
  align-self: flex-start;
  margin-top: 30px;
  color: var(--accent);
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.anti-link:hover,
.anti-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
}

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

@keyframes zeeit-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes zeeit-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .page {
    align-items: stretch;
    padding: 20px;
  }

  .chrome {
    padding: 0 12px;
  }

  .url-pill {
    padding: 6px 10px;
    font-size: 11px;
  }

  .surface--subdomains,
  .surface--center {
    min-height: calc(100vh - 88px);
    padding: 34px 24px 30px;
  }

  .surface--json {
    min-height: calc(100vh - 88px);
    padding: 28px 20px 30px;
  }

  .meta-row,
  .footer-row,
  .json-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-row {
    gap: 18px;
  }

  .hero {
    padding: 42px 0;
  }

  .headline {
    font-size: 48px;
    line-height: 0.98;
  }

  .headline-ok {
    font-size: 72px;
  }

  .anti-headline {
    font-size: 40px;
  }

  .copy-lg {
    font-size: 16px;
  }

  .code-block {
    font-size: 15px;
  }

  .overlay {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .page {
    padding: 12px;
  }

  .headline {
    font-size: 40px;
  }

  .headline-ok {
    font-size: 58px;
  }

  .anti-headline {
    font-size: 32px;
  }

  .anti-link {
    font-size: 24px;
  }

  .traffic {
    display: none;
  }
}

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