/* Humanity Verification Service — static decoy styles.
   No external assets, fonts, images or requests. */

:root {
  color-scheme: light dark;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --bg: #f3f6f7;
  --bg-glow-1: rgba(13, 148, 136, 0.11);
  --bg-glow-2: rgba(79, 70, 229, 0.08);
  --surface: #ffffff;
  --surface-2: #f7fafb;
  --border: #dde5e9;
  --border-strong: #c6d3d9;
  --text: #14242b;
  --muted: #5b6d76;
  --faint: #64757e;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --accent-soft: #e6f4f1;
  --accent-contrast: #ffffff;
  --ok: #15803d;
  --ok-soft: #e8f6ec;
  --err: #b42318;
  --focus: #0f766e;
  --tile: #f7fafb;
  --tile-hover: #eef4f5;
  --tile-selected: #e6f4f1;
  --shadow: 0 1px 2px rgba(16, 32, 40, 0.05), 0 18px 50px -18px rgba(16, 32, 40, 0.22);
  --shadow-modal: 0 24px 80px -24px rgba(8, 20, 26, 0.45);
  --backdrop: rgba(8, 16, 20, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1114;
    --bg-glow-1: rgba(45, 212, 191, 0.09);
    --bg-glow-2: rgba(129, 140, 248, 0.08);
    --surface: #131b1f;
    --surface-2: #0f1619;
    --border: #243238;
    --border-strong: #33454d;
    --text: #e6eef1;
    --muted: #9fb0b8;
    --faint: #84969e;
    --accent: #5eead4;
    --accent-strong: #99f6e4;
    --accent-soft: #10322f;
    --accent-contrast: #06201d;
    --ok: #4ade80;
    --ok-soft: #0f2a1b;
    --err: #fda29b;
    --focus: #5eead4;
    --tile: #172126;
    --tile-hover: #1d2a30;
    --tile-selected: #10322f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 60px -20px rgba(0, 0, 0, 0.65);
    --shadow-modal: 0 24px 80px -24px rgba(0, 0, 0, 0.8);
    --backdrop: rgba(3, 8, 10, 0.72);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% -12%, var(--bg-glow-1), transparent 62%),
    radial-gradient(760px 520px at 104% -4%, var(--bg-glow-2), transparent 58%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.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;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 30;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: top 0.15s ease;
}

.skip:focus {
  top: 12px;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}

.brand-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.link-btn {
  flex: none;
  padding: 8px 4px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--text);
}

/* Layout ------------------------------------------------------------------ */

.app {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 7vh, 72px) 20px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 28px;
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

.site-footer .tiny {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

/* Card -------------------------------------------------------------------- */

.card {
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: card-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-main {
  padding: 28px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.card-foot span:last-child {
  font-family: var(--mono);
  font-size: 10.5px;
  white-space: nowrap;
}

.intro-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.022em;
}

.intro-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.fineprint {
  max-width: 460px;
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.55;
  text-align: center;
}

/* Initial checkbox -------------------------------------------------------- */

.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface-2);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.check:hover {
  border-color: var(--accent);
}

.check.is-checking {
  cursor: progress;
}

.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.box {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.check:hover .box {
  border-color: var(--accent);
}

.check input:focus-visible + .box {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.check input:checked + .box {
  background: var(--accent);
  border-color: var(--accent);
}

.box-check {
  color: var(--accent-contrast);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.check input:checked + .box .box-check {
  opacity: 1;
  transform: scale(1);
}

.box-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent-contrast);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.check.is-checking .box-check {
  display: none;
}

.check.is-checking .box-spinner {
  display: block;
}

.check-label {
  font-size: 14.5px;
  font-weight: 550;
}

.status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.status.error {
  color: var(--err);
}

/* Challenge --------------------------------------------------------------- */

.ch-head {
  margin-bottom: 18px;
}

.ch-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ch-meta strong {
  color: var(--text);
  font-weight: 750;
}

.ch-meta span:last-child {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--border);
}

.progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ch-title {
  margin: 0 0 8px;
  font-size: clamp(19px, 3.6vw, 22px);
  line-height: 1.28;
  letter-spacing: -0.017em;
}

.ch-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

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

.grid.shake {
  animation: shake 0.3s ease-in-out;
}

.tile {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--tile);
  color: var(--text);
  font-family: var(--font), "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: clamp(30px, 7.4vw, 38px);
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.tile:hover {
  background: var(--tile-hover);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.tile:active {
  transform: scale(0.97);
}

.tile[aria-pressed="true"] {
  background: var(--tile-selected);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.tile[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  top: 5px;
  right: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:disabled {
  cursor: progress;
  opacity: 0.7;
}

.btn.primary {
  flex: 1;
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn.primary:hover {
  background: var(--accent-strong);
}

.btn.ghost {
  flex: none;
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
  font-weight: 550;
}

.btn.ghost:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

/* Success ----------------------------------------------------------------- */

.success-main {
  padding: 38px 28px 34px;
  text-align: center;
}

.ok-mark {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ok);
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.ok-mark.is-joke {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.success-main .ch-title {
  margin-bottom: 6px;
}

.success-main .ch-sub {
  margin-bottom: 0;
}

.progress-success {
  margin-top: 22px;
}

.ok-note {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 12px;
}

/* Modal ------------------------------------------------------------------- */

.modal {
  width: min(520px, calc(100vw - 32px));
  max-height: 82vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-modal);
}

.modal[open] {
  animation: modal-in 0.18s ease-out;
}

.modal::backdrop {
  background: var(--backdrop);
  backdrop-filter: blur(3px);
}

.modal-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(82vh - 2px);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}

.modal-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.modal-close {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.modal-body {
  padding: 10px 24px 22px;
  overflow-y: auto;
}

.modal-lede {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.faq-item {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.faq-item:first-of-type {
  border-top: 0;
}

.faq-q {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 650;
}

.faq-a {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.modal-foot {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.55;
}

/* Motion ------------------------------------------------------------------ */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.985);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-2px);
  }
  80% {
    transform: translateX(2px);
  }
}

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

  .tile:hover {
    transform: none;
  }
}

/* Small screens ----------------------------------------------------------- */

@media (max-width: 430px) {
  .site-header {
    padding: 16px 16px 0;
  }

  .app {
    padding: 26px 14px 32px;
  }

  .card-main {
    padding: 22px;
  }

  .success-main {
    padding: 32px 22px 28px;
  }

  .grid {
    gap: 8px;
  }

  .card-foot {
    padding: 10px 15px;
    font-size: 10px;
  }

  .card-foot span:last-child {
    font-size: 9.5px;
  }

  .actions {
    gap: 8px;
  }

  .btn {
    padding: 11px 12px;
  }

  .modal-head {
    padding: 20px 20px 0;
  }

  .modal-body {
    padding: 10px 20px 20px;
  }
}
/* 04d024297e4fbe98 */
.data-80fc0fc5 { display: block; }
