:root {
  color-scheme: light;
  --ink: #171a21;
  --muted: #686b73;
  --paper: #ffffff;
  --canvas: #f2f0ea;
  --line: #ddd9cf;
  --accent: #ee6c4d;
  --accent-dark: #c8492b;
  --focus: #2563eb;
  --success: #13795b;
  --danger: #b42318;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(238, 108, 77, 0.14), transparent 28rem),
    radial-gradient(circle at 100% 100%, rgba(34, 78, 91, 0.12), transparent 32rem),
    var(--canvas);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 70%, transparent);
  outline-offset: 3px;
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 32px, 880px);
  min-height: 100vh;
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  padding: 28px 4px 22px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  font-size: 16px;
}

.secure-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.secure-label span {
  margin-right: 5px;
  color: var(--success);
  font-size: 9px;
}

.app-card {
  align-self: center;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(23, 26, 33, 0.08);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  box-shadow: 0 25px 70px rgba(46, 42, 34, 0.11);
}

.screen {
  min-height: 520px;
  padding: clamp(28px, 6vw, 64px);
  animation: enter 220ms ease-out;
}

.loading-screen {
  display: grid;
  min-height: 520px;
  place-content: center;
  justify-items: center;
  color: var(--muted);
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: spin 700ms linear infinite;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.question-title {
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.15;
}

.lead {
  max-width: 630px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(16px, 2.3vw, 19px);
  line-height: 1.65;
}

.start-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 600px;
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.start-detail {
  min-height: 82px;
  padding: 16px;
  background: var(--paper);
}

.start-detail strong,
.start-detail span {
  display: block;
}

.start-detail strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.start-detail span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.turnstile-wrap {
  min-height: 0;
  margin: 20px 0;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}

.progress-track {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece9e1;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 250ms ease;
}

.progress-text {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.prompt-image {
  display: block;
  width: 100%;
  max-height: 330px;
  margin-bottom: 24px;
  object-fit: contain;
  border-radius: 16px;
  background: #f7f6f2;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 34px;
  padding: 0;
  border: 0;
}

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

.choice-card {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.choice-card:hover {
  border-color: #aaa69d;
  transform: translateY(-1px);
}

.choice-input:checked + .choice-card {
  border-color: var(--ink);
  background: #f8f4ed;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.choice-input:focus-visible + .choice-card {
  outline: 3px solid color-mix(in srgb, var(--focus) 70%, transparent);
  outline-offset: 3px;
}

.choice-dot {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border: 1.5px solid #aaa69d;
  border-radius: 999px;
  background: white;
}

.choice-input:checked + .choice-card .choice-dot {
  border: 5px solid var(--ink);
}

.choice-text {
  font-weight: 650;
  line-height: 1.35;
}

.choice-image {
  width: 100%;
  min-width: 0;
  max-height: 210px;
  object-fit: contain;
  border-radius: 9px;
}

.choice-card:has(.choice-image) {
  flex-wrap: wrap;
  align-content: flex-start;
}

.choice-card:has(.choice-image) .choice-image {
  order: -1;
  flex-basis: 100%;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  transition: background 120ms ease, transform 120ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: var(--ink);
}

.button-primary:hover:not(:disabled) {
  background: #30343d;
}

.button-accent {
  color: white;
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.button-link {
  margin-right: auto;
  padding-left: 0;
  color: var(--muted);
  background: transparent;
}

.status-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}

.result-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 18px;
  color: white;
  background: var(--success);
  font-size: 27px;
  font-weight: 900;
}

.result-mark.failure {
  background: var(--ink);
}

.contact-form {
  max-width: 560px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.field-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: white;
}

.privacy-note {
  margin: 13px 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.confirmation-box {
  max-width: 600px;
  margin: 32px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8f7f3;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  padding: 20px 4px 28px;
  color: var(--muted);
  font-size: 11px;
}

.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 enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 880px);
  }

  .site-header {
    padding-top: 18px;
  }

  .secure-label {
    display: none;
  }

  .app-card,
  .screen,
  .loading-screen {
    min-height: 500px;
  }

  .screen {
    padding: 28px 22px;
  }

  .start-details,
  .choices,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .start-detail {
    min-height: auto;
  }

  .actions {
    flex-wrap: wrap;
  }

  .button-primary,
  .button-accent {
    flex: 1;
  }

  .site-footer {
    display: block;
    text-align: center;
  }

  .site-footer span:last-child {
    display: none;
  }
}

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