/* ===== CI color tokens (also used by survey.css) ===== */
:root {
  --tc-space-cadet: #151635; /* dark background */
  --tc-slate-blue:  #615bba; /* primary */
  --tc-bittersweet: #f95f5f; /* accent */
  --tc-magnolia:    #f7f0f5; /* surface */
  --tc-text-on-dark: rgba(255,255,255,0.92);
  --tc-text-subtle: rgba(255,255,255,0.7);
  --tc-radius-xl: 16px;
  --tc-radius-pill: 999px;
  --tc-shadow-lg: 0 20px 50px rgba(0,0,0,0.35);
}

/* Global reset-ish */
* { box-sizing: border-box; }
html, body { height: 100%; }
body.landing {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color: var(--tc-text-on-dark);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(97,91,186,0.12), transparent),
              var(--tc-space-cadet);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 20px;
}

/* Brand header */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  width: 40px; height: 40px; flex: none;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35));
}
.brand__title {
  margin: 0;
  font-size: 1.125rem;
  letter-spacing: 0.2px;
}
.brand__subtitle {
  margin: 2px 0 0;
  color: var(--tc-text-subtle);
  font-size: 0.95rem;
}

/* Card */
.card {
  background: linear-gradient(180deg, rgba(247,240,245,0.98), rgba(247,240,245,0.96));
  color: #191a23;
  border-radius: var(--tc-radius-xl);
  padding: 18px;
  box-shadow: var(--tc-shadow-lg);
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}
.card__title {
  margin: 0 0 4px;
  font-size: 1.25rem;
}
.card__lead {
  margin: 0 0 14px;
  color: #3a3b47;
}

/* Form */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 12px;
  border: 2px solid rgba(97,91,186,0.3);
  outline: none;
  background: white;
}
.input:focus {
  border-color: var(--tc-slate-blue);
  box-shadow: 0 0 0 4px rgba(97,91,186,0.15);
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tc-slate-blue), #7a74d4);
  color: white;
  transition: transform .04s ease, filter .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn:hover { filter: brightness(1.03); }

.card__help {
  margin-top: 10px;
  color: #5a5c6b;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  text-align: center;
  color: var(--tc-text-subtle);
  font-size: 0.9rem;
}

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

/* Larger screens */
@media (min-width: 640px) {
  .card { padding: 28px; }
  .brand__title { font-size: 1.25rem; }
  .card__title { font-size: 1.4rem; }
}
