@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --lk-bg: #FFFDF5;
  --lk-card: #FFFFFF;
  --lk-accent: #E8502A;
  --lk-accent2: #F5C842;
  --lk-text: #1A1208;
  --lk-muted: #7A6F5E;
  --lk-border: #EAE3D2;
  --lk-radius: 16px;
  --lk-shadow: 0 8px 40px rgba(26,18,8,0.10);
}

.lk-wrap {
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  border: 1px solid #000;
  border-radius: var(--lk-radius);
  max-width: 100%;
  margin: 2rem auto;
  overflow: hidden;
}

/* Screens */
.lk-screen { display: none; padding: 2.5rem 2.5rem 3rem; }
.lk-screen.active { display: block; animation: lkFadeIn .35s ease; }
@keyframes lkFadeIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

/* Intro */
.lk-badge {
  display: none;
  background: var(--lk-accent2);
  color: var(--lk-text);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3em .8em;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.lk-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--lk-text);
  line-height: 1.15;
  margin: 0 0 .75rem;
}
.lk-title em {
  font-style: normal;
  color: var(--lk-accent);
  text-decoration: underline;
  text-decoration-color: var(--lk-accent2);
  text-underline-offset: 4px;
}
.lk-subtitle {
  font-size: 1.05rem;
  color: var(--lk-muted);
  margin: 0 0 2rem;
  line-height: 1.6;
}

/* Buttons */
.lk-btn {
  display: inline-block;
  background: var(--lk-accent);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: .8em 2em;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(232,80,42,.25);
}
.lk-btn:hover {
  background: #C73D1A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,80,42,.35);
}
.lk-btn-primary { background: var(--lk-accent); color: #fff; }
.lk-btn-ghost {
  background: transparent;
  color: var(--lk-muted);
  box-shadow: none;
  border: 1.5px solid var(--lk-border);
  margin-left: .75rem;
}
.lk-btn-ghost:hover { background: var(--lk-border); color: var(--lk-text); transform: none; box-shadow: none; }

/* Progress */
.lk-progress-bar {
  background: var(--lk-border);
  height: 5px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.lk-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lk-accent2), var(--lk-accent));
  border-radius: 100px;
  transition: width .4s cubic-bezier(.4,0,.2,1);
  width: 20%;
}
.lk-step-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--lk-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}

/* Question */
.lk-question {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--lk-text);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Answers */
.lk-answers { display: flex; flex-direction: column; gap: .75rem; }
.lk-answer {
  background: var(--lk-card);
  border: 1.5px solid var(--lk-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: .97rem;
  color: var(--lk-text);
  line-height: 1.5;
  transition: border-color .15s, background .15s, transform .12s;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.lk-answer:hover {
  border-color: var(--lk-accent);
  background: #FFF8F5;
  transform: translateX(4px);
}
.lk-answer.selected {
  border-color: var(--lk-accent);
  background: #FFF1EC;
}
.lk-answer-label {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lk-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--lk-muted);
  text-transform: uppercase;
  transition: background .15s, color .15s;
}
.lk-answer:hover .lk-answer-label,
.lk-answer.selected .lk-answer-label {
  background: var(--lk-accent);
  color: #fff;
}

/* Result */
.lk-result-icon { font-size: 3rem; margin-bottom: .75rem; }
.lk-result-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--lk-text);
  margin: 0 0 .75rem;
}
.lk-result-body {
  font-size: 1rem;
  color: var(--lk-muted);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 480px;
}
.lk-result-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

@media (max-width: 480px) {
  .lk-screen { padding: 1.75rem 1.25rem 2rem; }
  .lk-btn-ghost { margin-left: 0; }
  .lk-result-actions { flex-direction: column; align-items: flex-start; }
}
