/* Sponsored Guest Portal — splash styles
   Vanilla CSS, no framework. Mirrors vts-guest-portal so the two
   guest experiences feel consistent. */

:root {
  --bg: #f6f6f6;
  --surface: #ffffff;
  --ink: #111111;
  --ink-soft: #444444;
  --ink-muted: #888888;
  --accent: #0a7d3f;
  --accent-soft: #e7f3eb;
  --error: #a01515;
  --error-soft: #fdecec;
  --border: #e6e6e6;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 1px rgba(0, 0, 0, 0.03);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shell {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 20px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-muted);
}

.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #111 0%, #555 100%);
  display: inline-block;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  padding: 3px 8px;
  background: #f0f0f0;
  border-radius: 100px;
}

.card__eyebrow--green { background: var(--accent-soft); color: var(--accent); }
.card__eyebrow--red   { background: var(--error-soft);  color: var(--error); }

.card__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card__lede {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.tabs__btn {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fafafa;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 120ms, border-color 120ms, color 120ms;
}

.tabs__btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}

.field__hint {
  color: var(--ink-muted);
  font-weight: 400;
}

.field input[type="text"],
.field input[type="email"] {
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color 120ms, box-shadow 120ms;
}

.field input:focus {
  outline: none;
  border-color: #4a4a4a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.btn {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: opacity 120ms, transform 60ms;
}

.btn:hover  { opacity: 0.92; }
.btn:active { transform: translateY(1px); }
.btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.btn.is-loading {
  position: relative;
  color: transparent;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.error {
  color: var(--error);
  font-size: 13px;
  background: var(--error-soft);
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0;
}

.spinner {
  width: 28px;
  height: 28px;
  margin: 16px auto;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

.footer {
  margin-top: 20px;
  text-align: center;
  color: var(--ink-muted);
}

/*
 * Honeypot — invisible to real users (off-screen + 0px),
 * but still in the DOM so bots that auto-fill every input get caught.
 * Avoid display:none / visibility:hidden so headless browsers still
 * see and interact with it.
 */
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
