:root {
  --ink: #1a1523;
  --muted: #5c5568;
  --paper: #f7f2eb;
  --card: #fffcf8;
  --line: #e8e0d6;
  --accent: #5b3d8a;
  --gold: #c4a35a;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 12% -12%, #e9dff8 0%, transparent 55%),
    radial-gradient(700px 400px at 100% 0%, #f8e6d8 0%, transparent 50%),
    var(--paper);
}

.start-main {
  max-width: 440px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 3rem;
}

.hero .eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.5rem;
}

.lede {
  color: var(--muted);
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
}

.stars-row {
  margin-bottom: 1.35rem;
}

.stars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 1.7rem;
}

.star-pip {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5e6a8, var(--gold));
  color: #5a4208;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(196, 163, 90, 0.3);
  animation: pop 0.4s ease;
}

@keyframes pop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

.star-count {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0.45rem 0 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 16px 40px rgba(26, 21, 35, 0.06);
  text-align: center;
}

.step-label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.pose-visual {
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(160deg, #e9dff8 0%, #f8e6d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pose-icon {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--display);
  line-height: 1;
}

.card h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.pose-how {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.timer-wrap {
  margin: 0 0 1rem;
}

.timer {
  font-variant-numeric: tabular-nums;
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  line-height: 1;
  font-family: var(--display);
}

.timer.run { color: var(--ink); }

.timer-unit {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn {
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0.5rem;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn.ghost {
  background: #efe8f8;
  color: var(--accent);
}

.hint {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.done .burst {
  font-size: 3rem;
  color: var(--gold);
  margin: 0 0 0.35rem;
  animation: pop 0.45s ease;
}

.done h2 {
  font-family: var(--display);
  font-size: 1.75rem;
  margin: 0 0 0.4rem;
}

.done #done-msg {
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.path-list {
  margin-top: 1.75rem;
}

.path-list h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin: 0 0 0.65rem;
}

.path-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.path-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.path-list li.done {
  opacity: 0.8;
}

.path-list .check {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.path-list li.done .check {
  background: var(--gold);
  border-color: var(--gold);
  color: #5a4208;
}

[hidden] {
  display: none !important;
}
