:root {
  --bg: #040803;
  --crt: #9fffb0;
  --crt-dim: #63cc78;
  --warn: #ffd06a;
  --danger: #ff8787;
  --bezel-hi: #4d5d52;
  --bezel-mid: #273228;
  --bezel-lo: #151b16;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 15%, #1a2c1d 0%, transparent 45%),
    radial-gradient(circle at 80% 85%, #102014 0%, transparent 40%),
    linear-gradient(180deg, #020501 0%, #060b06 100%);
  color: var(--crt);
  font-family: Consolas, "Lucida Console", monospace;
  overflow-x: hidden;
  overflow-y: auto;
}

.app-shell {
  min-height: 100svh;
}

.crt-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 74px 16px 108px;
}

.monitor-shell {
  width: 100%;
  display: grid;
  place-items: center;
}

.monitor {
  width: min(1100px, 96vw);
  border-radius: 26px;
  padding: 16px;
  background: linear-gradient(
    145deg,
    var(--bezel-hi),
    var(--bezel-mid) 40%,
    var(--bezel-lo)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
}

.monitor-stand {
  width: 18%;
  height: 38px;
  margin: 0 auto;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #324036, #1b241d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.monitor-base {
  width: 36%;
  height: 12px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #202a22, #101510);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.38);
}

.glass {
  position: relative;
  height: clamp(320px, calc(100svh - 340px), 700px);
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(
    ellipse at center,
    #0d1a10 0%,
    #071008 70%,
    #040704 100%
  );
  border: 2px solid rgba(170, 255, 190, 0.16);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.7),
    inset 0 0 120px rgba(72, 170, 92, 0.18);
}

.terminal {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 2px rgba(159, 255, 176, 0.5);
}

.output {
  flex: 1;
  overflow: auto;
  padding-right: 4px;
}

.output::-webkit-scrollbar {
  width: 8px;
}

.output::-webkit-scrollbar-thumb {
  background: rgba(159, 255, 176, 0.22);
  border-radius: 999px;
}

.noise,
.scanlines,
.vignette,
.sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.noise {
  z-index: 2;
  opacity: 0.08;
  background-image: radial-gradient(#adffbe 0.5px, transparent 0.7px);
  background-size: 2px 2px;
  animation: noise-shift 0.2s infinite;
}

.scanlines {
  z-index: 5;
  background: linear-gradient(
    to bottom,
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.28) 50%
  );
  background-size: 100% 6px;
  mix-blend-mode: multiply;
}

.vignette {
  z-index: 6;
  background: radial-gradient(
    circle at center,
    transparent 58%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.sweep {
  z-index: 7;
  height: 120px;
  top: 0;
  transform: translateY(-140px);
  will-change: transform;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(198, 255, 208, 0.12) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: sweep 9s linear infinite;
}

.brand {
  color: var(--crt-dim);
  font-size: 13px;
  margin-bottom: 8px;
}

.home-terminal__summary {
  margin: 0 0 14px;
  color: #c5ffcf;
  font-size: 14px;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0.02em;
}

.home-terminal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.home-content {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 8px 24px 48px;
  color: #dafce2;
}

.home-content__inner {
  border-top: 1px solid rgba(151, 214, 163, 0.24);
  padding-top: 28px;
}

.home-content__title {
  max-width: 24ch;
  margin: 0 0 16px;
  color: #f0fff4;
  font-size: 32px;
  line-height: 1.2;
}

.home-content__lead {
  max-width: 72ch;
  margin: 0 0 24px;
  color: #c5fbd1;
  font-size: 18px;
  line-height: 1.7;
}

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

.home-content__card {
  border: 1px solid rgba(151, 214, 163, 0.24);
  padding: 14px;
  background: rgba(6, 18, 12, 0.42);
}

.home-content__card h3 {
  margin: 0 0 8px;
  color: #f0fff4;
  font-size: 18px;
  line-height: 1.35;
}

.home-content__card p {
  margin: 0 0 12px;
  color: #dafce2;
  font-size: 15px;
  line-height: 1.55;
}

.home-content__card a {
  color: #c5fbd1;
  font-size: 13px;
}

.home-content__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.home-content__note {
  max-width: 72ch;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(151, 214, 163, 0.18);
}

.home-content__note h2 {
  margin: 0 0 10px;
  color: #f0fff4;
  font-size: 22px;
  line-height: 1.3;
}

.home-content__note p {
  margin: 0 0 14px;
  color: #dafce2;
  font-size: 16px;
  line-height: 1.65;
}

.row {
  margin: 0 0 6px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.row.warn {
  color: var(--warn);
}

.row.error {
  color: var(--danger);
}

.prompt {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: 6px;
}

.prompt-label {
  color: #baffc8;
  white-space: nowrap;
}

.prompt-input {
  flex: 1;
  min-height: 1.4em;
  outline: none;
  border: 0;
  background: transparent;
  color: var(--crt);
  caret-color: transparent;
  position: relative;
}

.prompt-input:after {
  content: "■";
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

.footer-hint {
  margin-top: 16px;
  color: #87de99;
  opacity: 0.95;
  font-size: 12px;
}

.pwa-toast {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  width: min(320px, calc(100vw - 24px));
  border: 1px solid rgba(159, 255, 176, 0.35);
  background: rgba(4, 12, 6, 0.94);
  padding: 8px 10px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(159, 255, 176, 0.12);
}

.pwa-toast__line {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crt-dim);
  text-shadow:
    0 0 2px rgba(159, 255, 176, 0.8),
    0 0 10px rgba(99, 204, 120, 0.3);
}

.pwa-toast__actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.pwa-toast .shell-button {
  padding: 4px 8px;
  min-height: 22px;
  font-size: 10px;
}

.analytics-consent {
  position: fixed;
  top: 74px;
  right: 14px;
  z-index: 70;
  width: min(340px, calc(100vw - 24px));
  border: 1px solid rgba(159, 255, 176, 0.35);
  background: rgba(4, 12, 6, 0.96);
  padding: 10px 12px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(159, 255, 176, 0.12);
}

.analytics-consent__line {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crt-dim);
  text-shadow:
    0 0 2px rgba(159, 255, 176, 0.8),
    0 0 10px rgba(99, 204, 120, 0.3);
}

.analytics-consent__actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.analytics-consent .shell-button {
  padding: 4px 8px;
  min-height: 22px;
  font-size: 10px;
}

.floating-whatsapp {
  position: fixed;
  right: 14px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 65;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(182, 255, 193, 0.32);
}

.site-header,
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 20;
}

.site-header {
  top: 0;
  z-index: 30;
  padding: 7px 12px;
  background: linear-gradient(180deg, rgba(3, 8, 4, 0.96), rgba(3, 8, 4, 0.72));
  border-bottom: 1px solid rgba(159, 255, 176, 0.14);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.seo-drawer__panel {
  width: min(1200px, calc(100vw - 14px));
  margin: 0 auto;
}

.site-footer__inner {
  width: min(1200px, calc(100vw - 14px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.site-nav__home {
  margin-left: auto;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-shell-label {
  font-size: 11px;
  color: var(--crt-dim);
  letter-spacing: 0.12em;
}

.site-nav,
.site-footer__nav,
.seo-drawer__grid {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav {
  justify-content: flex-end;
}

.shell-button,
.seo-drawer__toggle {
  appearance: none;
  border: 1px solid rgba(159, 255, 176, 0.2);
  background: rgba(6, 12, 7, 0.5);
  color: var(--crt);
  font: inherit;
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 6px;
  min-height: 24px;
  white-space: nowrap;
  border-radius: 0;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.shell-button:hover,
.shell-button:focus-visible,
.seo-drawer__toggle:hover,
.seo-drawer__toggle:focus-visible {
  border-color: rgba(159, 255, 176, 0.52);
  background: rgba(13, 30, 15, 0.96);
  transform: translateY(-1px);
  outline: none;
}

.shell-button::before,
.seo-drawer__toggle::before {
  content: "[";
  color: var(--crt-dim);
  margin-right: 4px;
}

.shell-button::after,
.seo-drawer__toggle::after {
  content: "]";
  color: var(--crt-dim);
  margin-left: 4px;
}

.shell-button--primary {
  color: #031106;
  background: linear-gradient(180deg, #b6ffc1, #7df391);
  border-color: rgba(182, 255, 193, 0.72);
  text-shadow: none;
}

.author-byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 14px;
  color: #97d6a3;
}

.author-byline__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(159, 255, 176, 0.35);
  box-shadow:
    0 0 0 1px rgba(6, 14, 7, 0.9),
    0 0 16px rgba(99, 204, 120, 0.24);
  object-fit: cover;
}

.author-byline__avatar--crt {
  filter: grayscale(0.35) contrast(1.25) saturate(0.7) hue-rotate(28deg)
    brightness(0.95);
}

.site-footer {
  bottom: 0;
  z-index: 20;
  padding: 6px 12px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(3, 8, 4, 0.32), rgba(3, 8, 4, 0.94));
  border-top: 1px solid rgba(159, 255, 176, 0.12);
  backdrop-filter: blur(12px);
}

.site-footer__copy {
  font-size: 11px;
  color: var(--crt-dim);
}

.site-footer__disclaimer {
  font-size: 9px;
  color: var(--crt-dim);
  opacity: 0.82;
  line-height: 1.4;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  font-size: 10px;
  line-height: 1.4;
  color: var(--crt-dim);
}

.site-footer__trust a {
  color: var(--crt);
}

.contact-trust-block {
  display: grid;
  gap: 4px;
  margin: 20px 0;
  padding: 12px 14px;
  border: 1px solid rgba(151, 214, 163, 0.28);
  background: rgba(6, 18, 12, 0.42);
  color: #dafce2;
  font-style: normal;
}

.contact-trust-block a {
  color: #c5fbd1;
}

.seo-drawer {
  position: relative;
  z-index: auto;
  padding: 0;
  pointer-events: auto;
}

.seo-drawer__panel {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  border: 1px solid rgba(159, 255, 176, 0.14);
  border-radius: 18px 18px 0 0;
  background: linear-gradient(
    180deg,
    rgba(6, 14, 7, 0.98),
    rgba(5, 10, 5, 0.96)
  );
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.seo-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  list-style: none;
  cursor: pointer;
}

.seo-drawer__header::-webkit-details-marker {
  display: none;
}

.seo-drawer__title {
  font-size: 10px;
  color: var(--crt-dim);
}

.seo-drawer__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
  will-change: max-height;
}

.seo-drawer__body[data-open="true"] {
  max-height: min(60svh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.seo-drawer__details[open] .seo-drawer__body {
  max-height: min(60svh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.seo-drawer__content {
  padding: 0 10px 10px;
}

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

.seo-drawer__section {
  border: 1px solid rgba(159, 255, 176, 0.1);
  border-radius: 0;
  padding: 8px;
  background: rgba(10, 18, 10, 0.72);
}

.seo-drawer__section h2 {
  margin: 0 0 10px;
  font-size: 11px;
  color: #c5ffcf;
}

.seo-drawer__section p,
.seo-drawer__section li {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.45;
}

.seo-drawer__section ul {
  margin: 0;
  padding-left: 16px;
}

.seo-drawer__link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-drawer__link-list .shell-button {
  min-height: 36px;
}

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

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

@keyframes text-jitter {
  0% {
    text-shadow:
      0.45px 0 1px rgba(0, 30, 255, 0.35),
      -0.45px 0 1px rgba(255, 0, 80, 0.25),
      0 0 3px rgba(159, 255, 176, 0.75);
  }
  100% {
    text-shadow:
      -0.45px 0 1px rgba(0, 30, 255, 0.35),
      0.45px 0 1px rgba(255, 0, 80, 0.25),
      0 0 3px rgba(159, 255, 176, 0.75);
  }
}

@keyframes noise-shift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(1px, -1px);
  }
  50% {
    transform: translate(-1px, 1px);
  }
  75% {
    transform: translate(1px, 1px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes sweep {
  0%,
  78% {
    transform: translateY(-140px);
  }
  100% {
    transform: translateY(140%);
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
    background: #050805;
  }

  .crt-stage {
    min-height: 100svh;
    padding: 18px 8px 24px;
    align-items: start;
  }

  .pwa-toast {
    right: 10px;
    bottom: calc(118px + env(safe-area-inset-bottom));
  }

  .analytics-consent {
    top: 110px;
    right: 10px;
    width: min(340px, calc(100vw - 20px));
  }

  .floating-whatsapp {
    right: 10px;
    bottom: calc(124px + env(safe-area-inset-bottom));
  }

  .monitor {
    width: min(100%, 96vw);
    padding: 10px;
    border-radius: 18px;
    background: #182019;
    border-color: rgba(159, 255, 176, 0.16);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  }

  .crt-stage--home {
    place-items: start center;
  }

  .glass {
    height: auto;
    min-height: 0;
    background: transparent;
    border-color: rgba(170, 255, 190, 0.08);
    box-shadow: none;
  }

  .terminal {
    padding: 10px 10px 14px;
    font-size: 14px;
    text-shadow: none;
  }

  .home-terminal__summary {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .home-content {
    width: 100%;
    padding: 8px 18px 36px;
  }

  .home-content__title {
    font-size: 28px;
  }

  .home-content__lead {
    font-size: 17px;
  }

  .home-content__grid {
    grid-template-columns: 1fr;
  }

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

  .brand,
  .footer-hint {
    font-size: 11px;
  }

  .site-header,
  .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-header__inner,
  .site-footer__bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__copy {
    display: none;
  }

  .seo-drawer__panel {
    max-width: none;
    margin-left: 0;
  }

  .site-nav,
  .site-footer__nav {
    width: 100%;
    gap: 8px;
  }

  .site-nav__home {
    margin-left: 0;
  }

  .shell-button,
  .seo-drawer__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    padding: 10px 8px;
    min-height: 44px;
  }

  .site-footer {
    position: static;
    padding-top: 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    margin-top: 12px;
  }

  .floating-whatsapp {
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .seo-drawer__header {
    padding: 6px 8px;
  }

  .seo-drawer__title {
    max-width: calc(100% - 132px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .seo-drawer__body[data-open="true"] {
    max-height: min(45svh, 360px);
  }

  .seo-drawer__grid {
    grid-template-columns: 1fr;
  }

  .noise,
  .scanlines,
  .vignette,
  .sweep {
    display: none;
  }

  .site-header,
  .site-footer {
    backdrop-filter: none;
    background: rgba(3, 8, 4, 0.96);
  }

  .terminal,
  .noise,
  .sweep {
    animation: none;
  }

  .monitor-stand,
  .monitor-base {
    display: none;
  }

  .brand,
  .footer-hint,
  .prompt-label,
  .row {
    text-shadow: none;
  }
}

@media (max-height: 500px) {
  .site-footer {
    position: static;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 8px;
  }

  .shell-button,
  .seo-drawer__toggle {
    min-height: 38px;
    padding: 8px 8px;
  }
}

@media (max-height: 860px) and (min-width: 641px) {
  .crt-stage {
    padding-top: 64px;
    padding-bottom: 94px;
  }

  .monitor {
    padding: 12px;
  }

  .glass {
    height: clamp(300px, calc(100svh - 300px), 560px);
  }

  .monitor-stand {
    height: 30px;
  }

  .monitor-base {
    margin-top: 6px;
    height: 10px;
  }

  .site-header {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .site-footer {
    padding-top: 5px;
    padding-bottom: 7px;
  }

  .seo-drawer__body[data-open="true"] {
    max-height: min(52svh, 360px);
  }
}

/* CRT subpage content */
.crt-page {
  color: var(--crt);
  font-family: "Share Tech Mono", "Courier New", monospace;
  padding: 20px 24px 32px;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--crt-dim) transparent;
}

.crt-page h1 {
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0.12em;
  color: var(--crt);
  margin: 0 0 4px;
  text-transform: uppercase;
}

.crt-page .crt-page__sub {
  font-size: 11px;
  color: var(--crt-dim);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

/* Keep profile and acquisition pages on the same centered content shell. */
.crt-stage:not(.crt-stage--home) {
  min-height: 100vh;
  display: block;
  overflow-y: auto;
  padding: 84px 16px 110px;
}

.crt-stage:not(.crt-stage--home) .monitor-shell {
  width: min(100%, 920px);
  margin: 0 auto;
}

.crt-stage:not(.crt-stage--home) .monitor {
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.crt-stage:not(.crt-stage--home) .glass {
  height: auto;
  min-height: 0;
  min-width: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.crt-stage:not(.crt-stage--home) .crt-page {
  max-height: none;
  min-width: 0;
  overflow: visible;
  padding: 32px 24px 48px;
  color: #dafce2;
  font-family: var(--font-body);
  overflow-wrap: anywhere;
}

.crt-stage:not(.crt-stage--home) .crt-page h1 {
  margin: 0 0 16px;
  color: #f0fff4;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.crt-stage:not(.crt-stage--home) .crt-page .crt-page__sub {
  margin: 0 0 20px;
  color: #97d6a3;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crt-stage:not(.crt-stage--home) .crt-page h2 {
  margin: 24px 0 10px;
  color: #f0fff4;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.crt-stage:not(.crt-stage--home) .crt-page p,
.crt-stage:not(.crt-stage--home) .crt-page li {
  margin: 0 0 18px;
  color: #dafce2;
  font-size: 17px;
  line-height: 1.75;
}

.crt-stage:not(.crt-stage--home) .crt-page ul {
  margin: 0 0 20px;
  padding-left: 20px;
  list-style: disc;
}

.crt-stage:not(.crt-stage--home) .crt-page ul li::before {
  content: none;
}

.crt-stage:not(.crt-stage--home) .crt-page .crt-sep {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid rgba(151, 214, 163, 0.24);
}

.crt-stage:not(.crt-stage--home) .crt-page .crt-form {
  display: flex;
  max-width: none;
  gap: 16px;
  margin-top: 24px;
}

.crt-stage:not(.crt-stage--home) .crt-page .crt-form label {
  gap: 6px;
  color: #97d6a3;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.crt-stage:not(.crt-stage--home) .crt-page .crt-form input,
.crt-stage:not(.crt-stage--home) .crt-page .crt-form textarea {
  padding: 10px 12px;
  color: #dafce2;
  border-color: rgba(151, 214, 163, 0.3);
  font: inherit;
  font-size: 16px;
}

.crt-stage:not(.crt-stage--home) .monitor-stand,
.crt-stage:not(.crt-stage--home) .monitor-base,
.crt-stage:not(.crt-stage--home) .noise,
.crt-stage:not(.crt-stage--home) .scanlines,
.crt-stage:not(.crt-stage--home) .vignette,
.crt-stage:not(.crt-stage--home) .sweep {
  display: none;
}

@media (max-width: 720px) {
  .crt-stage:not(.crt-stage--home) {
    padding: 210px 10px 50px;
  }

  .crt-stage:not(.crt-stage--home) .crt-page {
    padding: 24px 10px 36px;
  }

  .crt-stage:not(.crt-stage--home) .crt-page h1 {
    font-size: 28px;
  }

  .crt-stage:not(.crt-stage--home) .crt-page h2 {
    font-size: 22px;
  }
}

/* Shared spacing for content pages outside the CRT home surface. */
.longform-page,
.author-profile-page {
  height: 100vh;
  overflow-y: auto;
  padding: 84px 16px 110px;
}

.longform-page__article,
.author-profile-page__article {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 32px 24px 48px;
  line-height: 1.75;
  color: #dafce2;
  font-family: var(--font-body);
}

  .longform-page__subsection-title {
    margin: 0 0 10px;
    color: #f0fff4;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
  }

  .longform-page__article h4,
  .crt-stage:not(.crt-stage--home) .crt-page h4 {
    margin: 18px 0 8px;
    color: #c5fbd1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
  }

.longform-page__article--wide {
  max-width: 920px;
}

@media (max-width: 720px) {
  .longform-page,
  .author-profile-page {
    padding: 210px 10px 50px;
  }

  .longform-page__article,
  .author-profile-page__article {
    padding: 24px 10px 36px;
  }
}
}