:root {
  --bg: #f7fafc;
  --panel: #ffffff;
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.08);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a {
  color: var(--accent);
}
.guest-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 24px;
  gap: 32px;
}
.guest-main {
  width: 100%;
  max-width: 560px;
  text-align: center;
}
.guest-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.guest-logo {
  width: 225px;
  height: auto;
}
.guest-platform {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.guest-platform-center {
  text-align: center;
}
.guest-platform-spaced {
  margin-top: 14px;
}
.guest-panel {
  margin-top: 22px;
  padding: 28px 28px 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}
.guest-panel h1 {
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.guest-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.guest-message {
  margin-top: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
}
.guest-message p:last-child {
  margin-bottom: 0;
}
.guest-reason {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-weight: 600;
}
.guest-benefits {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.guest-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.guest-actions--start {
  justify-content: flex-start;
}
.guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #1d4ed8;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.guest-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}
.guest-btn.secondary {
  background: #fff;
  color: var(--accent);
  border-color: var(--border);
  box-shadow: none;
}
.guest-btn.secondary:hover {
  background: var(--accent-soft);
  box-shadow: none;
}
.guest-link {
  margin-top: 14px;
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.guest-link:hover {
  color: var(--accent);
}
.guest-form {
  margin-top: 16px;
  display: grid;
  gap: 14px;
  text-align: left;
}
.guest-form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.guest-form input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  background: #fff;
}
.guest-form button:not(.password-toggle) {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #1d4ed8;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.guest-form button:not(.password-toggle):hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}
.guest-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
}
.guest-alert ul {
  margin: 0;
  padding-left: 18px;
}
.guest-alert.success {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #166534;
}
.password-field {
  position: relative;
  display: flex;
  align-items: center;
}
.password-field input {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 8px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.password-toggle.is-active {
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.4);
  background: var(--accent-soft);
}
.password-requirements {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
}
.password-requirements .password-requirements__title {
  margin: 0 0 2px;
  font-size: 12px;
  color: var(--muted);
}
.password-requirements__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.password-requirements__list li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.password-requirements__list li::before {
  content: '○';
  font-size: 12px;
  color: var(--muted);
}
.password-requirements__list li.is-valid {
  color: #15803d;
}
.password-requirements__list li.is-valid::before {
  content: '✓';
  color: #16a34a;
}
.password-strength {
  margin-top: 8px;
}
.password-strength__label {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.password-strength__meter {
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}
.password-strength__bar {
  display: block;
  height: 100%;
  width: 0;
  background: #ef4444;
  transition: width 160ms ease, background 160ms ease;
}
.password-strength.strength-1 .password-strength__bar { width: 20%; background: #f97316; }
.password-strength.strength-2 .password-strength__bar { width: 40%; background: #f59e0b; }
.password-strength.strength-3 .password-strength__bar { width: 60%; background: #84cc16; }
.password-strength.strength-4 .password-strength__bar { width: 80%; background: #22c55e; }
.password-strength.strength-5 .password-strength__bar { width: 100%; background: #16a34a; }
.guest-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.guest-subtitle {
  margin: 0 0 10px;
  font-size: 16px;
  text-align: left;
}
.guest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.guest-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  font-size: 14px;
}
.guest-list li {
  margin-bottom: 6px;
}
.guest-options {
  display: grid;
  gap: 8px;
  text-align: left;
  font-size: 14px;
  color: var(--text);
}
.guest-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  margin: 0;
}
.guest-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}
.guest-plan {
  position: relative;
}
.guest-plan input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.guest-plan-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
  cursor: pointer;
  min-height: 190px;
}
.guest-plan-card strong {
  font-size: 15px;
  color: var(--text);
}
.guest-plan-card span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.guest-plan-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.guest-plan-trial {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.guest-plan input:focus-visible + .guest-plan-card {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.guest-plan input:checked + .guest-plan-card {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.16);
  transform: translateY(-1px);
}
.guest-plan-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
}
.guest-plan-footer {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.guest-plan-footer.is-hidden {
  display: none;
}
.guest-plan-footer label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.guest-plan-footer input {
  margin: 0;
}
@media (max-width: 640px) {
  .guest-plan-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}
@media (max-width: 640px) {
  .guest-shell {
    padding: 36px 16px 24px;
  }
  .guest-panel {
    padding: 24px;
  }
}
