/* Ace the NCLEX — coming-soon landing.
   Mirrors the in-app welcome screen: handwritten Caveat hero, overlapping
   pastel sticky cards behind a central readiness ring, maroon checkmark
   list, taped post-it testimonial. Fully responsive — single column on
   mobile, wider with more breathing room on desktop. */

:root {
  --bg: #FDFCF7;
  --paper: #FFFFFF;
  --ink: #2B2A26;
  --ink-secondary: #5e5d57;
  --ink-tertiary: #999791;
  --border: #E8E4D4;
  --rule-line: rgba(155, 209, 230, 0.20);
  --highlight-yellow: #FFF59D;
  --highlight-pink: #FFD1DC;
  --highlight-green: #C8E6C9;
  --accent-gold: #E8B84A;
  --accent-gold-bg: #FFF8E1;
  --accent-green: #5B7F4A;
  --accent-green-bg: #E7F3E2;
  --accent-pink-bg: #FCE4EC;
  --accent-pink-border: #C44569;
  --accent-blue-bg: #E3F2FD;
  --accent-blue-border: #5B7B9A;
  --maroon: #8B2F3D;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
  /* Ruled-paper texture */
  background-image: linear-gradient(180deg, transparent 0%, transparent calc(100% - 1px), var(--rule-line) 100%);
  background-size: 100% 36px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 22px 64px;
}

/* ─── Top kicker ───────────────────────────────────────────────────── */
.kicker {
  text-align: center;
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 8px 0 18px;
}
.kicker .brand {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0;
}
.kicker .brand .a-plus { color: var(--accent-green); }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  margin: 4px 0 28px;
}
.hero h1 {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(48px, 9vw, 78px);
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
}
.hero .h-with {
  display: inline-block;
  background: linear-gradient(transparent 60%, var(--highlight-pink) 60%);
  padding: 0 14px;
  margin-top: 4px;
}

/* ─── Readiness scene (overlapping cards + central ring) ───────────── */
.scene {
  position: relative;
  height: 360px;
  margin: 32px auto 28px;
  max-width: 520px;
}

/* Background sticky cards — peek out from behind the readiness ring */
.bg-card {
  position: absolute;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  font-size: 13px;
  line-height: 1.35;
  z-index: 1;
  overflow: hidden;
}
.bg-card .pill-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--maroon);
  margin-bottom: 6px;
}
.bg-card .pill-dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--maroon);
}
.bg-card.pink {
  background: var(--accent-pink-bg);
  top: 18px; left: -4px;
  width: 180px;
  transform: rotate(-5deg);
}
.bg-card.cream {
  background: #FFF8E1;
  top: 0; right: -2px;
  width: 130px;
  text-align: right;
  transform: rotate(4deg);
}
.bg-card.cream .streak-emoji { font-size: 22px; line-height: 1; }
.bg-card.cream .streak-n {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 30px;
  color: var(--ink);
  line-height: 1.1;
}
.bg-card.cream .streak-label {
  font-size: 11px;
  color: var(--ink-secondary);
}
.bg-card.blue {
  background: var(--accent-blue-bg);
  bottom: 30px; right: -12px;
  width: 160px;
  transform: rotate(3deg);
}
.bg-card .trended {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: #FFFFFF;
  border: 1px solid #E8E4D4;
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink-secondary);
}

/* Foreground readiness card */
.readiness-card {
  position: absolute;
  top: 40px; left: 50%;
  transform: translateX(-50%) rotate(-0.5deg);
  width: min(280px, 70%);
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.readiness-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--maroon);
  text-transform: uppercase;
}
.readiness-ring-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.readiness-ring { display: block; }
.readiness-score-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.readiness-score-number {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: var(--ink);
}
.readiness-score-denom {
  font-size: 13px;
  color: var(--ink-tertiary);
  margin-top: 2px;
}
.readiness-pill-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.sparkle-side {
  font-size: 18px;
  color: var(--accent-gold);
}
.exam-ready-pill {
  background: var(--accent-green);
  color: #FDFCF7;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 22px;
  padding: 4px 18px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

/* ─── Feature checklist ────────────────────────────────────────────── */
.checklist {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(22px, 3.5vw, 28px);
  line-height: 1.7;
  color: var(--ink);
  margin: 8px 0 12px;
  list-style: none;
  padding: 0;
}
.checklist li {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.checklist li::before {
  content: '✓';
  color: var(--maroon);
  font-weight: 700;
  flex-shrink: 0;
}
.checklist .ai-line { color: var(--maroon); }
.signed-by {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 24px);
  color: var(--maroon);
  margin-left: 32px;
}
.signed-by .role {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-tertiary);
  margin-left: 6px;
}

/* ─── Coming-soon CTA block ────────────────────────────────────────── */
.cta-block {
  margin: 28px 0 18px;
  text-align: center;
}
.cta-block .launching {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 36px);
  color: var(--ink);
  margin: 0 0 4px;
}
.cta-block .launching .hl {
  background: linear-gradient(transparent 60%, var(--highlight-yellow) 60%);
  padding: 0 8px;
}
.cta-block .sub {
  font-size: 15px;
  color: var(--ink-secondary);
  margin: 0 0 18px;
}
.signup-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}
.signup-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}
.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-gold);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #FDFCF7;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: #FDFCF7; }
.btn .sparkle { color: var(--accent-gold); }
.signup-meta {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-tertiary);
}

/* ─── Testimonial post-it ──────────────────────────────────────────── */
.testimonial-wrap {
  margin: 36px 0 0;
  display: flex;
  justify-content: center;
}
.testimonial {
  position: relative;
  background: var(--accent-gold-bg);
  border-radius: 4px;
  padding: 22px 24px 18px;
  max-width: 520px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
  transform: rotate(-0.8deg);
}
.testimonial::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 80px;
  height: 22px;
  background: #F4E4A8;
  opacity: 0.85;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.testimonial blockquote {
  margin: 0;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 26px);
  line-height: 1.35;
  color: var(--ink);
}
.testimonial cite {
  display: block;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 13px;
  color: var(--ink-secondary);
}

/* ─── Footer ───────────────────────────────────────────────────────── */
footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--ink-tertiary);
  font-size: 13px;
  text-align: center;
}
footer a { color: var(--ink-tertiary); margin: 0 10px; text-decoration: underline; }
footer a:hover { color: var(--ink); }

/* ─── Responsive tuning ────────────────────────────────────────────── */

/* Tablet + small desktop: more breathing room around the scene. */
@media (min-width: 700px) {
  .container { padding: 40px 32px 80px; }
  .scene { height: 400px; max-width: 580px; }
  .readiness-card { top: 30px; width: 300px; }
  .readiness-ring-wrap { width: 200px; height: 200px; }
  .readiness-score-number { font-size: 72px; }
  .bg-card.pink { width: 220px; left: -10px; top: 30px; }
  .bg-card.cream { width: 150px; right: -10px; }
  .bg-card.blue { width: 200px; right: -20px; }
}

/* Phones: shrink the scene cleanly so the cards still peek through. */
@media (max-width: 480px) {
  .scene { height: 320px; margin: 20px auto 24px; }
  .readiness-card { width: 240px; top: 32px; padding: 18px 14px 14px; }
  .readiness-ring-wrap { width: 160px; height: 160px; }
  .readiness-score-number { font-size: 56px; }
  .bg-card.pink { width: 150px; left: -8px; font-size: 12px; }
  .bg-card.cream { width: 110px; right: -6px; padding: 10px 12px; }
  .bg-card.cream .streak-n { font-size: 24px; }
  .bg-card.blue { width: 130px; right: -10px; bottom: 40px; font-size: 12px; }
  .checklist li { font-size: 22px; gap: 10px; }
  .signed-by { font-size: 20px; margin-left: 26px; }
  .signup-form { flex-direction: column; }
  .signup-form .btn { width: 100%; }
}
