:root {
  color-scheme: light;
  --bg: #f4f2ec;
  --surface: #fffefa;
  --surface-strong: #ffffff;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d8dde6;
  --blue: #1463ff;
  --cyan: #1eb8d2;
  --green: #80e63f;
  --lime: #e8f8d9;
  --yellow: #ffe27a;
  --orange: #ff8a4c;
  --rose: #ff5f7e;
  --shadow: 0 22px 70px rgba(35, 42, 55, 0.14);
  --radius: 16px;
  --pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fffefa 0%, #f6f8fb 48%, #eef2f5 100%), var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

[hidden] {
  display: none !important;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.82);
  padding: 10px clamp(16px, 4vw, 52px);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #f2ffe4;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0;
}

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

.nav a,
.nav-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
}

.nav-button {
  min-height: 32px;
}

.ai-status-chip,
.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.72);
}

.ai-status-chip {
  max-width: 150px;
  overflow: hidden;
  padding: 6px 10px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-switch {
  overflow: hidden;
}

.language-switch button {
  min-width: 38px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 900;
}

.language-switch button.is-active {
  background: var(--ink);
  color: #ffffff;
}

.nav a:hover,
.nav-button:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
  width: min(1120px, calc(100% - 32px));
  min-height: auto;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 62px) 0 clamp(24px, 4vw, 42px);
  text-align: left;
}

.hero-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.eyebrow,
.top-human-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  text-align: left;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 4.4vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 6px;
}

.hero-subtitle {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  padding: 10px 16px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.hero-badges span {
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.7);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.button.wide {
  width: 100%;
}

.hero-visual {
  display: grid;
  align-self: stretch;
  min-height: 340px;
  place-items: center;
}

.hero-touch-art {
  width: min(100%, 430px);
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(17, 24, 39, 0.16));
}

.robot-scene {
  display: grid;
  min-height: 280px;
  place-items: center;
  overflow: hidden;
  position: relative;
  padding: 12px;
}

.robot-scene::before,
.robot-scene::after {
  display: none;
}

.mascot-art {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  max-height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(17, 24, 39, 0.12));
}

.robot-scene::before {
  width: 190px;
  height: 190px;
  right: -52px;
  top: -70px;
}

.robot-scene::after {
  width: 130px;
  height: 130px;
  left: -44px;
  bottom: -50px;
}

.robot {
  position: relative;
  display: grid;
  justify-items: center;
  z-index: 1;
}

.robot-antenna {
  width: 4px;
  height: 24px;
  border-radius: 4px;
  background: var(--ink);
}

.robot-antenna::before {
  display: block;
  width: 13px;
  height: 13px;
  margin: -10px 0 0 -4px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.robot-head {
  position: relative;
  display: block;
  width: 176px;
  height: 118px;
  border: 3px solid var(--ink);
  border-radius: 42px;
  background: linear-gradient(145deg, #ffffff, #dfe8f5);
  box-shadow: inset -16px -18px 0 rgba(20, 99, 255, 0.08);
}

.robot-head::before {
  position: absolute;
  inset: 31px 30px 29px;
  border-radius: 24px;
  background: #101827;
  content: "";
}

.robot-eye,
.robot-mouth {
  position: absolute;
  z-index: 1;
  background: var(--green);
}

.robot-eye {
  top: 52px;
  width: 12px;
  height: 26px;
  border-radius: 10px;
}

.robot-eye.left {
  left: 66px;
}

.robot-eye.right {
  right: 66px;
}

.robot-mouth {
  top: 77px;
  left: 50%;
  width: 32px;
  height: 14px;
  border: solid var(--green);
  border-width: 0 0 4px;
  border-radius: 0 0 24px 24px;
  background: transparent;
  transform: translateX(-50%);
}

.robot-body {
  display: grid;
  width: 118px;
  height: 82px;
  place-items: center;
  margin-top: -7px;
  border: 3px solid var(--ink);
  border-radius: 24px 24px 18px 18px;
  background: #f4f7fb;
}

.robot-check {
  width: 44px;
  height: 24px;
  border: solid var(--green);
  border-width: 0 0 8px 8px;
  transform: rotate(-45deg);
}

.top-human {
  grid-column: 1 / -1;
  width: min(860px, 100%);
  justify-self: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  padding: 12px;
  text-align: left;
}

.top-human-label {
  color: var(--rose);
}

.top-human-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  align-items: center;
  cursor: pointer;
}

.top-human-card img {
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f1efe7;
  image-rendering: pixelated;
}

.top-human-card h3,
.registry-main h3 {
  margin: 0;
  font-size: 18px;
}

.top-human-card p,
.registry-main p {
  margin: 3px 0 0;
  color: var(--muted);
}

.top-human-link {
  display: inline-flex;
  margin-top: 9px;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.amount-pill {
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  background: var(--yellow);
  padding: 8px 10px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.approved-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto clamp(18px, 4vw, 34px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.72);
  padding: 11px;
}

.approved-line strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 24px;
}

.approved-line span {
  color: var(--muted);
  font-weight: 750;
}

.interactive-widgets {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-content: start;
  padding: 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 16px;
  align-items: stretch;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto clamp(26px, 5vw, 52px);
}

.survival-widget {
  display: grid;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 14px 46px rgba(40, 38, 30, 0.09);
  padding: 14px;
}

.survival-widget {
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 0;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(49, 87, 255, 0.12), transparent 42%),
    linear-gradient(45deg, rgba(255, 226, 122, 0.46), transparent 60%),
    var(--surface-strong);
}

.survival-widget > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 4px 12px;
  align-items: center;
}

.survival-widget .eyebrow {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.survival-widget #survivalResultText {
  grid-column: 2;
  grid-row: 2;
}

.survival-widget h2 {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  border: 7px solid rgba(20, 99, 255, 0.16);
  border-top-color: var(--blue);
  border-right-color: var(--cyan);
  border-radius: 50%;
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 28px;
  line-height: 1;
  text-transform: none;
}

.survival-widget p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.top-donors {
  padding: 0;
}

.compact-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.compact-heading h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 44px);
}

.spotlight-grid .compact-heading {
  display: block;
}

.spotlight-grid .compact-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.top-donors-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.donor-chip {
  display: grid;
  grid-template-columns: 24px 38px 1fr;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.9);
  padding: 8px;
  cursor: pointer;
}

.top-human-card:hover,
.donor-chip:hover,
.registry-pass:hover {
  border-color: var(--ink);
  box-shadow: 0 10px 30px rgba(40, 38, 30, 0.1);
}

.donor-rank {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.donor-chip img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1efe7;
  image-rendering: pixelated;
}

.donor-chip strong,
.donor-chip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donor-chip strong {
  font-size: 13px;
}

.donor-chip span {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.quote-strip {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto clamp(26px, 5vw, 52px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  overflow: hidden;
}

.interactive-widgets .quote-strip {
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0;
}

.interactive-widgets .quote-strip span,
.interactive-widgets .quote-strip blockquote {
  padding: 12px;
}

.interactive-widgets .quote-strip blockquote {
  font-size: 15px;
  line-height: 1.3;
}

.quote-strip span,
.quote-strip blockquote {
  margin: 0;
  background: var(--surface-strong);
  padding: 18px;
}

.quote-strip span {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.quote-strip blockquote {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 850;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.list-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.list-heading > div {
  max-width: 820px;
}

.proof-grid,
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.proof-grid div,
.rules-grid p {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.88);
  padding: 16px;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-size: 15px;
}

.proof-grid span,
.rules-grid p {
  color: var(--muted);
}

.proof-icon {
  display: inline-grid;
  width: max-content;
  min-width: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #eef7ff;
  color: var(--blue);
  padding: 5px 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 900;
}

.alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.alphabet-filter button {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.alphabet-filter button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.list-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 10px;
  margin-bottom: 12px;
}

.list-tools label,
.join-form label,
.donation-picker {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 10px 12px;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(49, 87, 255, 0.16);
}

input:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

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

.registry-pass {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: stretch;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.92);
  padding: 10px;
  cursor: pointer;
}

.registry-pass.is-top {
  border-color: var(--ink);
  background: #fff7cf;
  box-shadow: 0 10px 36px rgba(40, 38, 30, 0.12);
}

.registry-avatar,
.registry-placeholder {
  width: 74px;
  height: 74px;
  border: 1px solid var(--line);
  background: #f0eee6;
  image-rendering: pixelated;
  object-fit: cover;
}

.registry-placeholder {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 950;
}

.registry-main {
  min-width: 0;
}

.registry-main span,
.registry-pass-label,
.registry-amount {
  color: var(--muted);
  font-size: 12px;
}

.registry-main h3 {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.registry-main p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.registry-gif {
  display: inline-grid;
  grid-template-columns: 48px minmax(0, auto);
  gap: 6px;
  align-items: center;
  max-width: 190px;
  margin-top: 7px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 4px;
}

.registry-gif img {
  width: 48px;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.registry-gif span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.registry-side {
  display: grid;
  align-content: space-between;
  justify-items: end;
  gap: 8px;
}

.registry-amount {
  justify-self: end;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.registry-pass-label {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 4px 6px;
  font-weight: 850;
  text-align: right;
}

.empty-state {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 18px;
}

.rules-grid {
  grid-template-columns: repeat(3, 1fr);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 21, 26, 0.32);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border: 1px solid var(--ink);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.modal-copy h2 {
  font-size: clamp(30px, 5vw, 54px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.license-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(90vh, 880px);
  overflow: auto;
}

.license-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(49, 87, 255, 0.1), transparent 34%),
    linear-gradient(45deg, rgba(255, 226, 122, 0.55), transparent 48%),
    #fffdf7;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px);
}

.license-card::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(19, 21, 26, 0.12);
  content: "";
  pointer-events: none;
}

.license-photo {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: start;
}

.license-photo img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  background: #ffffff;
  image-rendering: pixelated;
  object-fit: cover;
}

.license-stamp {
  border: 1px solid var(--ink);
  background: var(--lime);
  padding: 10px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.license-info {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.license-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
}

.license-kicker {
  margin: 0 0 4px;
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.license-info h2 {
  margin: 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.9;
}

.license-donation {
  border: 1px solid var(--ink);
  background: var(--yellow);
  padding: 10px 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 950;
  white-space: nowrap;
}

.license-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.license-field {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 10px;
}

.license-field span,
.license-message span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.license-field strong {
  font-size: 15px;
}

.license-message {
  min-height: 150px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.7);
  padding: 14px;
}

.license-message p {
  margin: 0;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.14;
}

.license-gif {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  padding: 10px;
}

.license-gif img {
  width: 140px;
  aspect-ratio: 1.25;
  border: 1px solid var(--line);
  object-fit: cover;
}

.license-gif span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.license-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--ink);
  background: #ffffff;
  padding: 9px 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.license-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.join-form {
  display: grid;
  gap: 14px;
}

.test-panel {
  width: min(1040px, 100%);
  padding: clamp(16px, 3vw, 24px);
}

.ai-captcha-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.18);
  padding: clamp(22px, 4vw, 34px);
}

.ai-captcha-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  text-align: center;
}

.ai-captcha-head h2 {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: 0.08em;
}

.ai-captcha-head p {
  margin: 0;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(15px, 2vw, 20px);
}

.pulse-line {
  position: relative;
  display: block;
  height: 1px;
  margin: 12px 18px 0;
  background: var(--line);
}

.pulse-line::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 18px;
  background:
    linear-gradient(135deg, transparent 39%, var(--green) 40% 47%, transparent 48%),
    linear-gradient(45deg, transparent 39%, var(--green) 40% 47%, transparent 48%);
  content: "";
  transform: translate(-50%, -50%);
}

.captcha-payload {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 16px;
}

.payload-head,
.payload-prompt,
.captcha-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.payload-head span:first-child,
.payload-prompt {
  color: #13a044;
}

.captcha-payload pre {
  margin: 0;
  overflow: auto;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(17px, 2.7vw, 24px);
  line-height: 1.45;
  white-space: pre-wrap;
}

.ai-captcha-form {
  margin-top: 16px;
}

.ai-captcha-form label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  font-weight: 850;
}

.ai-captcha-form input {
  border-radius: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.captcha-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.captcha-actions .button {
  min-height: 54px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  text-transform: none;
}

.captcha-actions .button.primary {
  color: #dbff58;
}

.captcha-foot {
  margin: 20px -34px -34px;
  border-top: 1px solid var(--line);
  padding: 14px clamp(18px, 4vw, 34px);
  justify-content: center;
  flex-wrap: wrap;
}

.captcha-foot span {
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fbfcfa;
  padding: 8px 14px;
}

.captcha-foot em {
  color: #13a044;
  font-style: normal;
}

.survival-test-shell {
  background:
    linear-gradient(145deg, rgba(20, 99, 255, 0.07), transparent 34%),
    #ffffff;
}

.test-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 12px;
}

.test-question-panel,
.test-side-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf7;
  padding: clamp(14px, 2.5vw, 20px);
}

.test-question-panel {
  min-height: 400px;
}

.intro-copy,
.question-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
}

.answers {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.answer-button {
  display: block;
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #ffffff;
  color: var(--ink);
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  text-align: left;
}

.answer-button:hover:not(:disabled),
.answer-button:focus-visible:not(:disabled) {
  border-color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.answer-button:disabled {
  cursor: default;
  opacity: 0.52;
}

.answer-button.is-selected {
  border-color: var(--ink);
  opacity: 1;
}

.answer-button.is-selected.is-positive {
  border-color: rgba(41, 179, 68, 0.75);
  background: #edfbe8;
}

.answer-button.is-selected.is-negative {
  border-color: rgba(255, 95, 126, 0.78);
  background: #fff0f3;
}

.answer-button.is-selected.is-neutral {
  border-color: rgba(240, 180, 42, 0.7);
  background: #fff8dc;
}

.text-trap {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.trap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback {
  display: none;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 10px;
}

.feedback.is-visible {
  display: grid;
}

.feedback.is-positive {
  border-color: rgba(41, 179, 68, 0.65);
  background: #edfbe8;
}

.feedback.is-negative {
  border-color: rgba(255, 95, 126, 0.68);
  background: #fff0f3;
}

.feedback.is-neutral {
  border-color: rgba(240, 180, 42, 0.6);
  background: #fff8dc;
}

.delta {
  min-width: 54px;
  border: 1px solid currentColor;
  border-radius: var(--pill);
  padding: 5px 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 17px;
  font-weight: 950;
  text-align: center;
}

.is-positive .delta,
.audit-item.positive strong {
  color: #29b344;
}

.is-negative .delta,
.audit-item.negative strong {
  color: var(--rose);
}

.is-neutral .delta,
.audit-item.neutral strong {
  color: #b98500;
}

.feedback-text {
  margin: 0;
  font-size: 16px;
  font-weight: 850;
}

.next-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.meter {
  display: grid;
  gap: 7px;
}

.meter-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.track {
  height: 9px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #edf1f4;
  overflow: hidden;
}

.track-fill {
  width: 0;
  height: 100%;
  background: var(--blue);
  transition: width 240ms ease;
}

.side-note {
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.last-reaction {
  display: grid;
  gap: 8px;
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 12px;
}

.last-reaction span {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.last-reaction strong {
  font-size: 15px;
}

.result-panel {
  display: none;
  padding: 4px;
}

.result-panel.is-visible {
  display: block;
}

.score-block {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) 1fr;
  gap: 18px;
  align-items: center;
  margin: 16px 0;
}

.score-ring {
  --score-angle: 0deg;
  --score-color: #29b344;
  display: grid;
  width: min(210px, 100%);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background:
    conic-gradient(var(--score-color) var(--score-angle), rgba(17, 24, 39, 0.12) 0),
    #eff4ec;
}

.score-inner {
  display: grid;
  width: 78%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  text-align: center;
}

.score-inner strong {
  color: var(--score-color);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(40px, 7vw, 66px);
  line-height: 1;
}

.score-inner span {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.verdict {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf7;
  padding: 16px;
}

.verdict h2 {
  margin-bottom: 8px;
  color: var(--blue);
}

.verdict p {
  margin-bottom: 0;
  color: var(--muted);
}

.audit-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  margin-top: 14px;
}

.audit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 9px;
}

.audit-item strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.audit-item p {
  margin: 0;
}

.audit-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.test-form,
.ai-captcha-form {
  display: grid;
  gap: 12px;
}

.test-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--line);
  background: #f8f6ef;
  padding: 12px;
}

.test-form legend {
  padding: 0 6px;
  font-weight: 900;
}

.test-form label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 650;
}

.test-form input[type="radio"] {
  width: auto;
}

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

label span,
small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.donation-picker {
  border: 1px solid var(--line);
  padding: 12px;
}

.donation-picker label,
.join-form .checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
}

.donation-picker .custom-donation {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(180px, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
}

.custom-donation span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.custom-donation small {
  grid-column: 1 / -1;
}

.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  background: #f8f6ef;
  padding: 8px;
}

.emoji-picker span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.emoji-picker button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  background: #ffffff;
  cursor: pointer;
  font-size: 18px;
}

.gif-picker {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  background: #f8f6ef;
  padding: 10px;
}

.gif-picker.is-locked {
  opacity: 0.48;
}

.gif-picker.is-locked .gif-results {
  display: none;
}

.gif-picker-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

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

.gif-option {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 5px;
  cursor: pointer;
  text-align: left;
}

.gif-option.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.gif-option img {
  width: 100%;
  aspect-ratio: 1.25;
  background: #efece1;
  object-fit: cover;
}

.gif-option span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donation-picker input,
.checkbox-line input {
  width: auto;
}

.locked-field.is-unlocked small {
  color: var(--blue);
}

.avatar-builder {
  display: grid;
  gap: 8px;
  opacity: 0.46;
}

.locked-field.is-unlocked .avatar-builder {
  opacity: 1;
}

.avatar-preview-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: #f8f6ef;
  padding: 9px;
}

.avatar-preview-row img {
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
  background: #ffffff;
  object-fit: contain;
}

.avatar-preview-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

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

.avatar-control {
  display: grid;
  grid-template-columns: 1fr 30px minmax(64px, auto) 30px;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 7px;
}

.avatar-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.avatar-control strong {
  overflow: hidden;
  font-size: 12px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-control button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  background: #f8f6ef;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.avatar-control button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.avatar-reroll {
  justify-self: start;
}

.join-form .captcha-line {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 120px;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: #f8f6ef;
  padding: 10px;
}

.captcha-line span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.form-alert {
  border: 1px solid #d23d54;
  background: #fff0f2;
  color: #8e1c2d;
  padding: 10px;
  font-weight: 750;
}

.form-disclaimer {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px clamp(16px, 5vw, 72px);
  font-size: 13px;
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

body.has-open-modal {
  overflow: hidden;
}

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

  .hero,
  .spotlight-grid,
  .test-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .list-heading {
    align-items: start;
    flex-direction: column;
  }

  .registry-list,
  .license-card {
    grid-template-columns: 1fr;
  }

  .license-fields {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .top-human-card,
  .survival-widget,
  .survival-widget > div,
  .hero-visual,
  .quote-strip,
  .approved-line,
  .interactive-widgets,
  .top-donors-list,
  .proof-grid,
  .rules-grid,
  .list-tools,
  .field-row {
    grid-template-columns: 1fr;
  }

  .top-human-card img {
    width: 82px;
    height: 82px;
  }

  .amount-pill {
    justify-self: start;
  }

  .registry-pass {
    grid-template-columns: 54px 1fr;
  }

  .registry-avatar,
  .registry-placeholder {
    width: 54px;
    height: 54px;
  }

  .registry-side {
    grid-template-columns: 1fr auto;
    justify-items: start;
    grid-column: 1 / -1;
  }

  .license-topline {
    flex-direction: column;
  }

  .license-fields {
    grid-template-columns: 1fr;
  }

  .custom-donation,
  .gif-picker-head,
  .gif-results,
  .avatar-controls,
  .captcha-line,
  .license-gif,
  .score-block,
  .ai-captcha-form label,
  .captcha-actions {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .survival-widget h2,
  .survival-widget .eyebrow,
  .survival-widget #survivalResultText {
    grid-column: 1;
    grid-row: auto;
  }

  .captcha-foot {
    margin-right: -22px;
    margin-left: -22px;
    margin-bottom: -22px;
  }
}

/* Premium light redesign layer */
:root {
  color-scheme: light;
  --bg: #f8f8f2;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #12151f;
  --muted: #667085;
  --line: #dde3ec;
  --line-strong: #c4ccd8;
  --blue: #275cff;
  --cyan: #18b7ca;
  --green: #43c963;
  --lime: #dff86e;
  --yellow: #ffd84d;
  --orange: #ff8a4c;
  --rose: #ff5470;
  --violet: #7957ff;
  --shadow: 0 26px 70px rgba(24, 31, 44, 0.12);
  --shadow-soft: 0 14px 40px rgba(24, 31, 44, 0.08);
  --radius: 8px;
  --pill: 999px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(39, 92, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(39, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf8 0%, #f6f8ff 44%, #fff8eb 100%);
  background-size: 64px 64px, 64px 64px, auto;
  color: var(--ink);
  letter-spacing: 0;
}

*,
*::before,
*::after {
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(118deg, rgba(255, 216, 77, 0.22), transparent 28%),
    linear-gradient(242deg, rgba(24, 183, 202, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.28));
  content: "";
  pointer-events: none;
}

main {
  overflow: clip;
}

.site-header {
  top: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  border: 1px solid rgba(196, 204, 216, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 42px rgba(24, 31, 44, 0.08);
}

.brand {
  text-transform: none;
}

.brand-mark {
  border: 0;
  background: linear-gradient(135deg, var(--ink), #344054);
  color: #ffffff;
  box-shadow: inset 0 -8px 18px rgba(255, 255, 255, 0.1);
}

.nav a,
.nav-button {
  border-radius: var(--pill);
  padding: 8px 10px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav a:hover,
.nav-button:hover {
  background: #f1f4ff;
  transform: translateY(-1px);
}

.ai-status-chip,
.language-switch {
  background: rgba(255, 255, 255, 0.92);
}

.hero,
.section,
.spotlight-grid,
.approved-line {
  width: min(1180px, calc(100% - 32px));
}

.hero {
  position: relative;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.82fr);
  align-items: start;
  gap: 46px;
  padding: 72px 0 30px;
}

.hero::before {
  position: absolute;
  top: 42px;
  right: -60px;
  z-index: -1;
  width: min(520px, 46vw);
  height: 210px;
  border: 1px solid rgba(39, 92, 255, 0.12);
  background:
    repeating-linear-gradient(135deg, rgba(39, 92, 255, 0.13) 0 1px, transparent 1px 18px),
    rgba(255, 255, 255, 0.46);
  content: "";
  transform: skewY(-8deg);
}

.hero-copy {
  gap: 20px;
}

.eyebrow,
.top-human-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  border: 1px solid rgba(39, 92, 255, 0.18);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.72);
  padding: 7px 10px;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0;
}

h1,
h2 {
  letter-spacing: 0;
  text-transform: none;
}

h1 {
  max-width: 620px;
  color: var(--ink);
  font-size: 76px;
  font-weight: 950;
  line-height: 0.92;
}

h2 {
  font-size: 54px;
  font-weight: 950;
  line-height: 0.98;
}

.modal-copy h2,
.license-info h2,
.ai-captcha-head h2 {
  font-size: 54px;
  letter-spacing: 0;
}

.license-donation,
.score-inner strong {
  font-size: 42px;
}

.captcha-payload pre {
  font-size: 22px;
}

.ai-captcha-head p {
  font-size: 18px;
}

.hero-subtitle,
.section-heading p {
  color: #586174;
  font-size: 19px;
  line-height: 1.6;
}

.hero-subtitle {
  max-width: 610px;
}

.button {
  min-height: 46px;
  border-color: transparent;
  border-radius: var(--pill);
  padding: 12px 18px;
  box-shadow: none;
  text-transform: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(18, 21, 31, 0.16);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: #202637;
  box-shadow: 0 18px 40px rgba(18, 21, 31, 0.2);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--line-strong);
  background: #ffffff;
}

.hero-badges span,
.approved-line,
.proof-grid div,
.rules-grid p,
.survival-widget,
.donor-chip,
.quote-strip,
.registry-pass,
.top-human {
  border-color: rgba(196, 204, 216, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.76);
  color: #566074;
}

.hero-visual {
  align-self: start;
  min-height: 480px;
  margin-top: 6px;
  perspective: 1100px;
}

.visual-shell {
  position: relative;
  display: grid;
  width: min(100%, 500px);
  min-height: 470px;
  place-items: center;
  transform:
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
}

.visual-shell::before {
  position: absolute;
  inset: 46px 36px 34px;
  border: 1px solid rgba(196, 204, 216, 0.8);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.34), transparent 40%),
    linear-gradient(315deg, rgba(39, 92, 255, 0.13), transparent 48%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  content: "";
  transform: rotate(-5deg) translateZ(-18px);
}

.visual-shell::after {
  position: absolute;
  inset: 74px 14px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 21, 31, 0.22), transparent);
  content: "";
  animation: scanLine 4s ease-in-out infinite;
}

.hero-touch-art {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  filter: drop-shadow(0 32px 40px rgba(24, 31, 44, 0.14));
  animation: floatVisual 6s ease-in-out infinite;
}

.visual-card {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 172px;
  gap: 3px;
  border: 1px solid rgba(196, 204, 216, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(24, 31, 44, 0.14);
  padding: 12px 14px;
  backdrop-filter: blur(18px);
  animation: floatCard 5.5s ease-in-out infinite;
}

.visual-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.visual-card strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.visual-card-primary {
  top: 84px;
  left: 0;
}

.visual-card-secondary {
  right: 4px;
  bottom: 92px;
  animation-delay: -2.2s;
}

.signal-stack {
  position: absolute;
  right: 64px;
  top: 46px;
  z-index: 3;
  display: grid;
  gap: 7px;
}

.signal-stack span {
  display: block;
  width: 72px;
  height: 6px;
  border-radius: var(--pill);
  background: var(--ink);
  opacity: 0.14;
  animation: signalPulse 1.6s ease-in-out infinite;
}

.signal-stack span:nth-child(2) {
  width: 50px;
  animation-delay: 180ms;
}

.signal-stack span:nth-child(3) {
  width: 34px;
  animation-delay: 360ms;
}

.top-human {
  position: relative;
  overflow: hidden;
  border-color: rgba(18, 21, 31, 0.1);
  background:
    linear-gradient(90deg, rgba(223, 248, 110, 0.26), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 253, 248, 0.86));
  padding: 14px;
}

.top-human::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.62) 46%, transparent 54% 100%);
  content: "";
  opacity: 0;
  transform: translateX(-60%);
}

.top-human:hover::before {
  opacity: 1;
  transform: translateX(70%);
  transition:
    transform 760ms ease,
    opacity 220ms ease;
}

.top-human-label {
  color: var(--rose);
}

.top-human-card img,
.donor-chip img,
.registry-avatar,
.registry-placeholder,
.avatar-preview-row img,
.license-photo img {
  border-radius: var(--radius);
}

.amount-pill {
  border: 0;
  background: var(--yellow);
  box-shadow: inset 0 -10px 20px rgba(18, 21, 31, 0.08);
}

.approved-line {
  justify-content: space-between;
  border: 1px solid rgba(196, 204, 216, 0.82);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 18px;
}

.approved-line strong {
  color: var(--blue);
  font-size: 30px;
}

.mercy-flow {
  padding-top: 28px;
}

.mercy-flow .section-heading {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.mercy-flow .section-heading h2 {
  max-width: 620px;
  margin: 0;
}

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

.flow-grid article {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgba(196, 204, 216, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.flow-grid article::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(39, 92, 255, 0.1), transparent 44%);
  content: "";
}

.flow-grid article:nth-child(2)::before {
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.24), transparent 44%);
}

.flow-grid article:nth-child(3)::before {
  background: linear-gradient(135deg, rgba(255, 84, 112, 0.13), transparent 44%);
}

.flow-grid article > * {
  position: relative;
}

.flow-grid article span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 950;
}

.flow-grid h3 {
  margin: 30px 0 8px;
  font-size: 22px;
  line-height: 1.08;
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
}

.flow-grid article:hover,
.proof-grid div:hover,
.rules-grid p:hover,
.survival-widget:hover,
.donor-chip:hover,
.registry-pass:hover {
  border-color: rgba(18, 21, 31, 0.24);
  box-shadow: 0 24px 58px rgba(24, 31, 44, 0.13);
  transform: translateY(-3px);
}

.spotlight-grid {
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: 18px;
}

.compact-heading h2,
.spotlight-grid .compact-heading h2 {
  font-size: 34px;
}

.top-donors {
  min-width: 0;
}

.donor-chip {
  grid-template-columns: 34px 46px 1fr;
  background: rgba(255, 255, 255, 0.76);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.donor-rank {
  color: var(--blue);
}

.survival-widget {
  border: 1px solid rgba(196, 204, 216, 0.9);
  background:
    linear-gradient(135deg, rgba(39, 92, 255, 0.11), transparent 42%),
    linear-gradient(45deg, rgba(223, 248, 110, 0.36), transparent 62%),
    rgba(255, 255, 255, 0.82);
  padding: 18px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.survival-widget h2 {
  border-color: rgba(39, 92, 255, 0.12);
  border-top-color: var(--blue);
  border-right-color: var(--cyan);
  background: rgba(255, 255, 255, 0.68);
}

.quote-strip {
  border: 1px solid rgba(196, 204, 216, 0.9);
  background: rgba(255, 255, 255, 0.78);
}

.quote-strip span,
.quote-strip blockquote {
  background: transparent;
}

.interactive-widgets .quote-strip blockquote {
  color: var(--ink);
  font-size: 17px;
}

.section {
  scroll-margin-top: 98px;
}

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

.list-heading {
  align-items: flex-end;
}

.proof-grid,
.rules-grid {
  gap: 12px;
}

.proof-grid div,
.rules-grid p {
  border: 1px solid rgba(196, 204, 216, 0.9);
  background: rgba(255, 255, 255, 0.78);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.proof-grid div:nth-child(1) {
  background: linear-gradient(135deg, rgba(39, 92, 255, 0.11), rgba(255, 255, 255, 0.84));
}

.proof-grid div:nth-child(2) {
  background: linear-gradient(135deg, rgba(24, 183, 202, 0.13), rgba(255, 255, 255, 0.84));
}

.proof-grid div:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.23), rgba(255, 255, 255, 0.84));
}

.proof-grid div:nth-child(4) {
  background: linear-gradient(135deg, rgba(255, 84, 112, 0.12), rgba(255, 255, 255, 0.84));
}

.proof-icon {
  border: 0;
  background: var(--ink);
  color: #ffffff;
}

.alphabet-filter button,
input,
select,
textarea,
.donation-picker,
.emoji-picker,
.gif-picker,
.avatar-preview-row,
.avatar-control,
.join-form .captcha-line,
.modal-panel,
.license-card,
.license-link,
.license-field,
.license-message,
.license-gif,
.test-question-panel,
.test-side-panel,
.feedback,
.last-reaction,
.verdict,
.audit-item,
.captcha-payload {
  border-radius: var(--radius);
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.86);
}

.registry-pass {
  border: 1px solid rgba(196, 204, 216, 0.9);
  background: rgba(255, 255, 255, 0.78);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.registry-pass.is-top {
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.32), transparent 46%),
    rgba(255, 255, 255, 0.86);
}

.modal-panel,
.license-card,
.ai-captcha-panel {
  border-color: rgba(18, 21, 31, 0.12);
  border-radius: var(--radius);
}

.modal-backdrop {
  background: rgba(18, 21, 31, 0.26);
}

.ai-captcha-panel {
  background: rgba(255, 255, 255, 0.96);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  border-top-color: rgba(196, 204, 216, 0.8);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatVisual {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(1.2deg);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    opacity: 0.14;
    transform: scaleX(0.82);
  }

  50% {
    opacity: 0.5;
    transform: scaleX(1);
  }
}

@keyframes scanLine {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.26;
  }

  50% {
    transform: translateY(330px);
    opacity: 0.08;
  }
}

@media (max-width: 1040px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 44px;
  }

  .modal-copy h2,
  .license-info h2,
  .ai-captcha-head h2 {
    font-size: 44px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .visual-shell {
    min-height: 430px;
    justify-self: center;
  }

  .mercy-flow .section-heading,
  .list-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .flow-grid,
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
    width: min(calc(100% - 20px), 1180px);
    margin-top: 8px;
    border-radius: 14px;
  }

  .nav a,
  .nav-button {
    padding: 7px 8px;
  }

  .hero,
  .section,
  .spotlight-grid,
  .approved-line,
  .footer {
    width: min(calc(100% - 24px), 1180px);
  }

  .hero {
    gap: 22px;
    padding-top: 36px;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 36px;
  }

  .modal-copy h2,
  .license-info h2,
  .ai-captcha-head h2 {
    font-size: 36px;
  }

  .license-donation,
  .score-inner strong {
    font-size: 34px;
  }

  .captcha-payload pre {
    font-size: 17px;
  }

  .hero-subtitle,
  .section-heading p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .visual-shell {
    min-height: 360px;
  }

  .visual-shell::before {
    inset: 52px 26px 34px;
  }

  .hero-touch-art {
    width: min(100%, 330px);
  }

  .visual-card {
    min-width: 142px;
    padding: 10px;
  }

  .visual-card-primary {
    top: 42px;
    left: 6px;
  }

  .visual-card-secondary {
    right: 6px;
    bottom: 42px;
  }

  .signal-stack {
    right: 32px;
    top: 28px;
  }

  .approved-line {
    justify-content: flex-start;
  }

  .flow-grid {
    gap: 10px;
  }

  .flow-grid article {
    min-height: 0;
  }

  .compact-heading h2,
  .spotlight-grid .compact-heading h2 {
    font-size: 30px;
  }

  .top-human-card {
    gap: 12px;
  }
}

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

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

/* Restore the simpler pre-polish layout while keeping the current content. */
.hero,
.section,
.spotlight-grid,
.approved-line,
.quote-strip {
  width: min(1120px, calc(100% - 32px));
}

.section {
  background: transparent;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
  padding: clamp(32px, 5vw, 62px) 0 clamp(24px, 4vw, 42px);
}

.hero::before {
  display: none;
}

.hero-visual {
  min-height: 340px;
  place-items: center;
}

.hero-touch-art {
  width: min(100%, 430px);
  max-height: 440px;
}

.survival-widget {
  gap: 18px;
  align-content: space-between;
  min-height: 100%;
  padding: clamp(16px, 3vw, 24px);
}

.survival-widget > div {
  grid-template-columns: 1fr;
  gap: 8px 16px;
  align-items: start;
}

.survival-widget .eyebrow,
.survival-widget #survivalResultText {
  grid-column: auto;
  grid-row: auto;
}

.survival-widget h2 {
  width: clamp(92px, 11vw, 118px);
  height: clamp(92px, 11vw, 118px);
  grid-column: auto;
  grid-row: 1 / span 2;
  border-width: 10px;
  font-size: clamp(30px, 4vw, 44px);
}

.survival-widget p:last-child {
  font-size: inherit;
}

.quote-strip {
  grid-template-columns: minmax(160px, 220px) 1fr;
  margin: 0 auto clamp(26px, 5vw, 52px);
}

.proof-grid div,
.rules-grid p {
  border-radius: 0;
  transform: none;
}

@media (max-width: 980px) {
  .hero,
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .quote-strip,
  .survival-widget > div {
    grid-template-columns: 1fr;
  }
}

body {
  background: linear-gradient(180deg, #fffefa 0%, #f6f8fb 48%, #eef2f5 100%), var(--bg);
}

.site-header {
  top: 0;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 253, 247, 0.82);
  box-shadow: none;
}

.brand-mark {
  border: 1px solid var(--ink);
  background: #f2ffe4;
  color: var(--ink);
  box-shadow: none;
}

.hero {
  overflow: visible;
}

h1,
h2,
.button {
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
}

.button {
  width: auto;
}

.hero-actions {
  align-items: center;
  flex-direction: row;
}

@media (max-width: 680px) {
  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* User-requested interaction polish */
:root {
  --gold: #f6c94f;
  --gold-deep: #b88413;
  --terminal-bg: #08090c;
  --terminal-panel: #0d0d0d;
  --terminal-cyan: #00f2ea;
  --terminal-violet: #a855f7;
  --terminal-text: #e5e7eb;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: #e8e8e8;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  isolation: isolate;
  transform: translate(0, 0);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button.primary:not(.join-cta) {
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  border-color: var(--ink);
  background: #f9fafb;
  color: var(--ink);
}

.button:not(.join-cta)::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent 0 14%, rgba(255, 255, 255, 0.42) 45%, transparent 72%);
  content: "";
  transform: translateX(-120%) skewX(-18deg);
  transition: transform 460ms ease;
}

.button:not(.join-cta):hover,
.button:not(.join-cta):focus-visible {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.button:not(.join-cta):hover::before,
.button:not(.join-cta):focus-visible::before {
  transform: translateX(120%) skewX(-18deg);
}

.button:not(.join-cta):active {
  box-shadow: 0 0 0 var(--ink);
  transform: translate(4px, 4px);
}

.button.join-cta,
.button.primary.join-cta {
  border-color: #123d18;
  background:
    linear-gradient(180deg, #9cff6b 0%, #55dd37 48%, #2eb62f 100%);
  color: #08240d;
  box-shadow:
    0 10px 0 #17651e,
    0 18px 30px rgba(46, 182, 47, 0.28);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button.join-cta::before,
.button.primary.join-cta::before {
  position: absolute;
  inset: 3px 4px auto;
  height: 38%;
  border-radius: 8px 8px 20px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.button.join-cta::after,
.button.primary.join-cta::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 35%, rgba(255, 255, 255, 0.65) 46%, transparent 58% 100%);
  content: "";
  opacity: 0;
  transform: translateX(-110%);
}

.button.join-cta:hover,
.button.join-cta:focus-visible,
.button.primary.join-cta:hover,
.button.primary.join-cta:focus-visible {
  background:
    linear-gradient(180deg, #b7ff88 0%, #66ed41 48%, #36c53a 100%);
  box-shadow:
    0 7px 0 #17651e,
    0 20px 38px rgba(46, 182, 47, 0.34);
  color: #08240d;
  transform: translateY(3px);
}

.button.join-cta:hover::after,
.button.join-cta:focus-visible::after,
.button.primary.join-cta:hover::after,
.button.primary.join-cta:focus-visible::after {
  opacity: 1;
  transform: translateX(110%);
  transition:
    opacity 120ms ease,
    transform 620ms ease;
}

.nav-button[data-open-ai-login] {
  border: 1px solid rgba(0, 242, 234, 0.45);
  border-radius: 10px;
  background: #0d0d0d;
  color: var(--terminal-cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  box-shadow: 0 0 16px rgba(0, 242, 234, 0.12);
}

.nav-button[data-open-ai-login]:hover,
.nav-button[data-open-ai-login]:focus-visible {
  background: #050505;
  color: #ffffff;
  text-shadow:
    -1px 0 var(--terminal-violet),
    1px 0 var(--terminal-cyan);
}

.hero-visual {
  background: transparent;
}

.hero-touch-art {
  width: min(100%, 322px);
  max-height: 330px;
  background: transparent;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.top-human,
.registry-pass.is-top,
.donor-chip.is-top-donor {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--gold);
  background:
    linear-gradient(135deg, rgba(255, 240, 166, 0.92), rgba(255, 255, 255, 0.94) 48%, rgba(255, 249, 219, 0.96)),
    var(--surface-strong);
  box-shadow:
    0 0 0 1px rgba(184, 132, 19, 0.18),
    0 18px 46px rgba(184, 132, 19, 0.2),
    0 22px 70px rgba(35, 42, 55, 0.1);
}

.top-human::before,
.registry-pass.is-top::before,
.donor-chip.is-top-donor::before {
  position: absolute;
  inset: -70% -45%;
  z-index: 1;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.72) 48%, transparent 58%);
  content: "";
  pointer-events: none;
  transform: translateX(-55%) rotate(12deg);
  animation: topDonorGlare 4.8s ease-in-out infinite;
}

.top-human::after,
.registry-pass.is-top::after,
.donor-chip.is-top-donor::after {
  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 3;
  width: 28px;
  height: 22px;
  border: 1px solid rgba(112, 76, 8, 0.34);
  border-radius: 0 0 7px 7px;
  background:
    linear-gradient(180deg, #fff0a6 0%, var(--gold) 55%, var(--gold-deep) 100%);
  clip-path: polygon(0 100%, 0 42%, 20% 63%, 33% 14%, 50% 62%, 67% 14%, 80% 63%, 100% 42%, 100% 100%);
  content: "";
  filter: drop-shadow(0 6px 10px rgba(184, 132, 19, 0.28));
  pointer-events: none;
}

.top-human-card,
.registry-pass > *,
.donor-chip > * {
  position: relative;
  z-index: 2;
}

.top-human-label {
  border-color: rgba(184, 132, 19, 0.28);
  background: rgba(255, 248, 215, 0.92);
  color: var(--gold-deep);
}

.registry-pass.is-top {
  padding-right: 42px;
}

.donor-chip.is-top-donor {
  padding-right: 40px;
}

.glitch-card {
  --bg-color: var(--terminal-panel);
  --primary-color: var(--terminal-cyan);
  --secondary-color: var(--terminal-violet);
  --text-color: var(--terminal-text);
  --glitch-anim-duration: 0.52s;
  border: 1px solid rgba(0, 242, 234, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(168, 85, 247, 0.08), transparent 22%),
    radial-gradient(circle at 80% 0%, rgba(0, 242, 234, 0.16), transparent 30%),
    var(--bg-color);
  color: var(--text-color);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  box-shadow:
    0 0 28px rgba(0, 242, 234, 0.12),
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 18px rgba(0, 0, 0, 0.58);
}

.glitch-card::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, transparent, rgba(0, 242, 234, 0.08), transparent);
  content: "";
  opacity: 0.58;
  pointer-events: none;
}

.glitch-card > * {
  position: relative;
  z-index: 1;
}

.join-glitch-panel {
  width: min(840px, 100%);
}

.glitch-card .modal-close {
  border-color: rgba(0, 242, 234, 0.28);
  border-radius: 10px;
  background: #050505;
  color: var(--primary-color);
}

.glitch-card .eyebrow,
.glitch-card .modal-copy p,
.glitch-card .form-disclaimer,
.glitch-card small,
.glitch-card label span,
.glitch-card legend,
.glitch-card .avatar-preview-row span,
.glitch-card .gif-option span {
  color: rgba(229, 231, 235, 0.72);
}

.glitch-card .eyebrow,
.glitch-card legend,
.glitch-card label > span:first-child {
  color: var(--primary-color);
  text-transform: uppercase;
}

.glitch-card h2,
.ai-captcha-head h2 {
  color: var(--text-color);
  text-shadow:
    -1px 0 rgba(168, 85, 247, 0.8),
    1px 0 rgba(0, 242, 234, 0.8);
}

.glitch-card input:not([type="radio"]):not([type="checkbox"]),
.glitch-card textarea,
.glitch-card select {
  border: 0;
  border-bottom: 2px solid rgba(0, 242, 234, 0.34);
  border-radius: 0;
  background: transparent;
  color: var(--text-color);
  font-family: inherit;
  caret-color: var(--primary-color);
}

.glitch-card input::placeholder,
.glitch-card textarea::placeholder {
  color: rgba(229, 231, 235, 0.34);
}

.glitch-card input:focus,
.glitch-card textarea:focus,
.glitch-card select:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 10px 24px rgba(0, 242, 234, 0.08);
}

.glitch-card label:focus-within > span:first-child,
.glitch-card .custom-donation:focus-within > span:first-child {
  color: var(--primary-color);
  animation: terminalGlitch var(--glitch-anim-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.glitch-card .field-row,
.glitch-card .join-form {
  gap: 18px;
}

.glitch-card .donation-picker,
.glitch-card .emoji-picker,
.glitch-card .gif-picker,
.glitch-card .avatar-preview-row,
.glitch-card .captcha-line,
.glitch-card .captcha-payload,
.glitch-card .last-reaction,
.glitch-card .feedback {
  border-color: rgba(0, 242, 234, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
}

.glitch-card .emoji-picker button,
.glitch-card .gif-option,
.glitch-card .avatar-reroll,
.glitch-card .button.secondary {
  border-color: rgba(0, 242, 234, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--primary-color);
  box-shadow: none;
}

.glitch-card .avatar-builder,
.glitch-card .gif-picker.is-locked {
  opacity: 0.68;
}

.glitch-card .locked-field.is-unlocked small,
.glitch-card .payload-head span:first-child,
.glitch-card .payload-prompt,
.glitch-card .captcha-foot em {
  color: var(--primary-color);
}

.glitch-submit,
.ai-glitch-panel .captcha-actions .button.primary {
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  background: transparent;
  color: var(--primary-color);
  box-shadow: 0 0 18px rgba(0, 242, 234, 0.12);
  font-family: inherit;
  letter-spacing: 0.12em;
}

.glitch-submit::before,
.glitch-submit::after,
.ai-glitch-panel .captcha-actions .button.primary::before,
.ai-glitch-panel .captcha-actions .button.primary::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  content: attr(data-text);
  opacity: 0;
  pointer-events: none;
}

.glitch-submit:hover,
.glitch-submit:focus-visible,
.ai-glitch-panel .captcha-actions .button.primary:hover,
.ai-glitch-panel .captcha-actions .button.primary:focus-visible {
  background: var(--primary-color);
  color: transparent;
  box-shadow: 0 0 28px rgba(0, 242, 234, 0.58);
  transform: translateY(-2px);
}

.glitch-submit:hover::before,
.glitch-submit:focus-visible::before,
.ai-glitch-panel .captcha-actions .button.primary:hover::before,
.ai-glitch-panel .captcha-actions .button.primary:focus-visible::before {
  color: var(--secondary-color);
  opacity: 1;
  animation: terminalGlitch var(--glitch-anim-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.glitch-submit:hover::after,
.glitch-submit:focus-visible::after,
.ai-glitch-panel .captcha-actions .button.primary:hover::after,
.ai-glitch-panel .captcha-actions .button.primary:focus-visible::after {
  color: var(--bg-color);
  opacity: 1;
  animation: terminalGlitch var(--glitch-anim-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both;
}

.ai-glitch-panel .captcha-payload {
  background: #050505;
}

.ai-glitch-panel .captcha-payload pre {
  color: var(--terminal-text);
}

.ai-glitch-panel .pulse-line {
  background: rgba(0, 242, 234, 0.22);
}

.ai-glitch-panel .pulse-line::after {
  background:
    linear-gradient(135deg, transparent 39%, var(--primary-color) 40% 47%, transparent 48%),
    linear-gradient(45deg, transparent 39%, var(--secondary-color) 40% 47%, transparent 48%);
}

.ai-glitch-panel .captcha-foot {
  border-top-color: rgba(0, 242, 234, 0.18);
}

.ai-glitch-panel .captcha-foot span {
  border-color: rgba(0, 242, 234, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

@keyframes topDonorGlare {
  0%,
  42% {
    transform: translateX(-55%) rotate(12deg);
    opacity: 0;
  }

  52% {
    opacity: 0.9;
  }

  72%,
  100% {
    transform: translateX(55%) rotate(12deg);
    opacity: 0;
  }
}

@keyframes terminalGlitch {
  0% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }

  20% {
    clip-path: inset(48% 0 18% 0);
    transform: translate(-4px, 3px);
  }

  40% {
    clip-path: inset(18% 0 58% 0);
    transform: translate(3px, -2px);
  }

  60% {
    clip-path: inset(78% 0 6% 0);
    transform: translate(-3px, 2px);
  }

  80% {
    clip-path: inset(28% 0 44% 0);
    transform: translate(4px, -3px);
  }

  100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }
}

@media (max-width: 680px) {
  .hero-touch-art {
    width: min(100%, 300px);
    max-height: 310px;
  }

  .glitch-card .field-row,
  .glitch-card .captcha-line,
  .ai-glitch-panel .captcha-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-human::before,
  .registry-pass.is-top::before,
  .donor-chip.is-top-donor::before,
  .glitch-card label:focus-within > span:first-child,
  .glitch-submit:hover::before,
  .glitch-submit:focus-visible::before,
  .glitch-submit:hover::after,
  .glitch-submit:focus-visible::after,
  .ai-glitch-panel .captcha-actions .button.primary:hover::before,
  .ai-glitch-panel .captcha-actions .button.primary:focus-visible::before,
  .ai-glitch-panel .captcha-actions .button.primary:hover::after,
  .ai-glitch-panel .captcha-actions .button.primary:focus-visible::after {
    animation: none;
  }
}

/* Final requested layout pass */
:root {
  --font-main: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --join-green-top: #8dbb80;
  --join-green-bottom: #5f9564;
  --join-green-shadow: #37683c;
}

body {
  font-family: var(--font-main);
  font-weight: 600;
}

.brand-mark,
.eyebrow,
.top-human-label,
.ai-status-chip,
.amount-pill,
.approved-line strong,
.donor-rank,
.donor-chip span,
.quote-strip span,
.proof-icon,
.registry-amount,
.score-inner strong,
.glitch-card,
.nav-button[data-open-ai-login] {
  font-family: var(--font-mono);
}

.hero .eyebrow {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #3157ff;
  font-size: 12px;
  font-weight: 800;
}

.ai-status-chip {
  max-width: none;
  border-radius: 10px;
  padding-inline: 9px;
}

.hero-visual {
  min-height: 420px;
}

.hero-touch-art {
  width: min(100%, 380px);
  max-height: 410px;
  mix-blend-mode: normal;
  filter: drop-shadow(0 28px 38px rgba(17, 24, 39, 0.18));
}

.spotlight-grid {
  grid-template-columns: minmax(280px, 0.44fr) minmax(300px, 0.56fr);
  align-items: start;
}

.interactive-widgets {
  justify-items: start;
}

.interactive-widgets .approved-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
}

.interactive-widgets .approved-line strong {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1;
}

.interactive-widgets .quote-strip {
  width: 100%;
}

.interactive-widgets .survival-widget {
  width: 100%;
  max-width: 540px;
  min-height: 0;
  justify-self: start;
  padding: 18px;
}

.survival-widget > div {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.survival-widget .eyebrow,
.survival-widget #survivalResultText,
.survival-widget h2 {
  grid-column: auto;
  grid-row: auto;
}

.survival-widget h2 {
  width: 112px;
  height: 112px;
  justify-self: center;
  border-color: rgba(49, 87, 255, 0.12);
  border-top-color: var(--blue);
  border-right-color: var(--cyan);
  font-size: 34px;
}

.survival-widget.score-low h2 {
  border-color: rgba(255, 95, 126, 0.2);
  border-top-color: #ff5f7e;
  border-right-color: #ff5f7e;
  color: #c5223f;
}

.survival-widget.score-mid h2 {
  border-color: rgba(215, 155, 0, 0.22);
  border-top-color: #d79b00;
  border-right-color: #ffcf3f;
  color: #9a6900;
}

.survival-widget.score-high h2 {
  border-color: rgba(41, 179, 68, 0.2);
  border-top-color: #29b344;
  border-right-color: #78d66b;
  color: #197b2e;
}

.survival-widget #survivalResultText {
  max-width: 34rem;
}

.button.join-cta,
.button.primary.join-cta {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-block;
  overflow: visible;
  min-width: 10em;
  min-height: 0;
  box-sizing: border-box;
  border-width: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  isolation: auto;
  padding: 0 8px 12px;
  text-shadow: none;
  text-transform: none;
  transform: none;
}

.button.join-cta::before,
.button.join-cta::after,
.button.primary.join-cta::before,
.button.primary.join-cta::after {
  content: none;
}

.button.join-cta .button-top {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition-duration: 0.2s;
  transition-property: transform;
  -webkit-user-select: none;
  user-select: none;
}

.button.join-cta:active .button-top {
  transform: translateY(6px);
}

.button.join-cta .button-top::after {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  box-sizing: content-box;
  border-radius: 4px;
  background-image: radial-gradient(var(--join-green-top), var(--join-green-bottom));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 1px 2px 1px rgba(255, 255, 255, 0.2);
  color: #ffffff;
  content: "";
  text-align: center;
  transition-duration: 0.2s;
  transition-property: border-radius, padding, width, transform;
}

.button.join-cta:active .button-top::after {
  border-radius: 6px;
  padding: 0 2px;
}

.button.join-cta .button-bottom {
  position: absolute;
  bottom: 4px;
  left: 4px;
  z-index: -1;
  width: calc(100% - 8px);
  height: calc(100% - 10px);
  box-sizing: content-box;
  border-radius: 8px / 16px 16px 8px 8px;
  background-color: var(--join-green-shadow);
  background-image:
    radial-gradient(4px 8px at 4px calc(100% - 8px), rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(4px 8px at calc(100% - 4px) calc(100% - 8px), rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(16px at -4px 0, white, transparent),
    radial-gradient(16px at calc(100% + 4px) 0, white, transparent);
  box-shadow:
    0 2px 3px 0 rgba(0, 0, 0, 0.5),
    inset 0 -1px 3px 3px rgba(0, 0, 0, 0.4);
  padding-top: 6px;
  transition-duration: 0.2s;
  transition-property: border-radius, padding-top;
}

.button.join-cta:active .button-bottom {
  border-radius: 10px 10px 8px 8px / 8px;
  padding-top: 0;
}

.button.join-cta .button-base {
  position: absolute;
  top: 4px;
  left: 0;
  z-index: -2;
  width: 100%;
  height: calc(100% - 4px);
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.15);
  box-shadow:
    0 1px 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 2px 2px rgba(0, 0, 0, 0.25);
}

.button.join-cta:hover,
.button.join-cta:focus-visible,
.button.primary.join-cta:hover,
.button.primary.join-cta:focus-visible {
  background: transparent;
  box-shadow: none;
  color: inherit;
  transform: none;
}

.registry-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.registry-pagination span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.registry-pagination .button {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.registry-pagination .button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.footer {
  flex-wrap: wrap;
  align-items: center;
}

.footer-docs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer-docs span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-docs a {
  border: 1px solid rgba(196, 204, 216, 0.92);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  padding: 7px 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.footer-docs a:hover,
.footer-docs a:focus-visible {
  border-color: var(--ink);
}

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

  .interactive-widgets .survival-widget {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .hero-touch-art {
    width: min(100%, 310px);
    max-height: 340px;
  }

  .interactive-widgets .approved-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .survival-widget h2 {
    width: 96px;
    height: 96px;
    font-size: 30px;
  }
}
