/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #e8e0d5;
  --card:      #f7f4f0;
  --border:    #e2dbd2;
  --amber:     #c47f1a;
  --amber-h:   #a86d13;
  --text:      #1a1a1a;
  --muted:     #888078;
  --light:     #b0a89e;
  --radius:    18px;
  --transition: 0.18s ease;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh; /* dynamic viewport for mobile browsers */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  font-size: 18px;
  -webkit-text-size-adjust: 100%; /* prevent iOS font inflation */
}

/* ── Brand ────────────────────────────────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  justify-content: flex-start;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}

.brand-icon {
  color: var(--amber);
  font-size: 1.4rem;
}

/* ── Screen ───────────────────────────────────── */
.screen {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ── Card ─────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 44px;
  width: 100%;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

/* ── Typography ───────────────────────────────── */
.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 16px;
}

.headline {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.subtext {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 540px;
}

/* ── Options ──────────────────────────────────── */
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  color: var(--text);
}

.option-card:hover {
  border-color: var(--amber);
  box-shadow: 0 2px 12px rgba(196, 127, 26, 0.12);
  transform: translateY(-1px);
}

.option-card:active {
  transform: scale(0.98);
  background: #fffaf3;
}

.option-card.selected {
  border-color: var(--amber);
  background: #fffaf3;
  box-shadow: 0 2px 16px rgba(196, 127, 26, 0.15);
}

.option-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.option-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.option-body strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.option-body span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.option-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: transparent;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.option-card.selected .option-check {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

/* ── CTA Button ───────────────────────────────── */
.cta {
  width: 100%;
  padding: 18px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  background: var(--amber);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  letter-spacing: 0.2px;
}

.cta:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cta:not(:disabled):hover {
  background: var(--amber-h);
  transform: translateY(-1px);
}

.cta:not(:disabled):active {
  transform: scale(0.98);
  background: var(--amber-h);
}

.arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.cta:not(:disabled):hover .arrow {
  transform: translateX(4px);
}

/* ── Footer note ──────────────────────────────── */
.footer-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--light);
  text-align: center;
}

/* ── Responsive — Tablet ──────────────────────── */
@media (max-width: 680px) {
  body {
    padding: 24px 16px;
    align-items: flex-start;
  }

  .screen {
    padding-top: 8px;
  }

  .card {
    padding: 36px 28px;
    border-radius: 20px;
  }

  .headline {
    font-size: 2.1rem;
  }
}

/* ── Responsive — Mobile ──────────────────────── */
@media (max-width: 430px) {
  body {
    padding: 16px 12px;
    font-size: 16px;
  }

  .brand {
    font-size: 1.15rem;
    margin-bottom: 24px;
  }

  .card {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  .headline {
    font-size: 1.75rem;
    letter-spacing: -0.3px;
  }

  .subtext {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .option-card {
    padding: 16px 16px;
    gap: 14px;
  }

  .option-icon {
    font-size: 1.4rem;
    width: 34px;
  }

  .option-body strong {
    font-size: 0.97rem;
  }

  .option-body span {
    font-size: 0.82rem;
  }

  .option-check {
    width: 22px;
    height: 22px;
  }

  .options {
    gap: 8px;
    margin-bottom: 24px;
  }

  .cta {
    padding: 16px;
    font-size: 1rem;
  }

  .footer-note {
    font-size: 0.8rem;
  }
}

/* ── Disabled option card ─────────────────────── */
.option-card--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.coming-soon-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  background: var(--border);
  border-radius: 50px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* ── Password gate ────────────────────────────── */
.pw-field {
  margin-bottom: 24px;
}

.pw-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.05rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  letter-spacing: 0.1em;
}

.pw-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(196, 127, 26, 0.12);
}

.pw-error {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #c0392b;
  min-height: 1.2em;
}

/* ── Touch: remove hover lift on tap ─────────── */
@media (hover: none) {
  .option-card:hover {
    transform: none;
    border-color: var(--border);
    box-shadow: none;
  }

  .cta:not(:disabled):hover {
    transform: none;
  }
}
