:root
{
  --bg: var(--color-white);
  --surface: var(--color-white);
  --border: var(--color-chrome-pale);
  --border-strong: var(--color-white);
  --text: var(--color-blue-dark);
  --muted: var(--color-silver-muted);
  --muted-2: var(--color-silver-muted);
  --button-start: var(--color-blue-dark);
  --button-end: var(--color-blue-dark);
  --ring-track: var(--color-white);
  --ring-progress: var(--color-silver-muted);
  --shadow-soft: 0 8px 24px var(--color-cyan-05);
  --max-width: 760px;
}

html, body
{
  margin: 0;
  min-height: 100%;
}

body
{
  min-height: 100vh;
  background: var(--color-background);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.app-shell
{
  min-height: 100vh;
}

.screen
{
  display: none;
}

.center-wrap
{
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.eyebrow
{
  margin: 20px 0 24px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-cyan-pale);
  font-weight: 400;
}

.progress-line
{
  width: 100%;
  height: 3px;
  background: var(--color-chrome-pale);
  position: relative;
  overflow: hidden;
}

.progress-line-fill
{
  height: 100%;
  width: 0;
  background: var(--color-silver-muted);
  transition: width 0.24s ease;
}

.question-title
{
  margin: 0 0 28px;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 400;
}

.answers
{
  display: grid;
  gap: 14px;
}

.screen-result
{
  align-items: center;
  justify-content: center;
}

.score-ring
{
  width: 180px;
  height: 180px;
  position: relative;
  margin: 0 auto 24px;
}

.score-ring-svg
{
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring-track, .score-ring-progress
{
  fill: none;
  stroke-width: 10;
}

.score-ring-track
{
  stroke: var(--color-border-soft);
}

.score-ring-progress
{
  stroke: var(--color-cyan);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}

.score-ring-center
{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.score-main
{
  font-size: 32px;
  line-height: 1;
}

.score-total
{
  font-size: 16px;
  line-height: 1;
  color: var(--color-cyan-pale);
  margin-left: 2px;
}

.result-title
{
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.result-subtitle
{
  max-width: 620px;
  margin: 0 0 36px;
  color: var(--color-cyan-pale);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.result-subtitle p
{
  margin: 0 0 10px;
}

.result-subtitle ul
{
  margin: 10px 0 0;
  padding-left: 1.2em;
  text-align: left;
}

@media (max-width: 640px)
{
  .center-wrap
  {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .start-wrap
  {
    padding: 28px 0;
  }

  .eyebrow
  {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .question-title
  {
    font-size: 28px;
    margin-bottom: 22px;
  }

  .answers
  {
    gap: 12px;
  }

  .answer-button
  {
    min-height: 76px;
    padding: 14px 16px;
    border-radius: 20px;
    gap: 14px;
  }

  .score-ring-center
  {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .score-text
  {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .score-main
  {
    font-size: 32px;
    line-height: 1;
  }

  .score-total
  {
    font-size: 18px;
    color: var(--color-cyan-pale);
    line-height: 1;
  }

  .result-title
  {
    font-size: 32px;
  }

  .result-subtitle
  {
    font-size: 16px;
    margin-bottom: 28px;
  }

}

.hero-description
{
  max-width: 520px;
  margin: 24px auto 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-silver-muted);
  text-align: center;
}

.hero-meta
{
  font-size: 18px;
  color: var(--color-silver-muted);
  margin-bottom: 32px;
  text-align: center;
}

.hero-description p
{
  margin-bottom: 8px;
  margin-top: 0;
}

.high-hero
{
  padding: 30px 24px;
}

.hero-content
{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-image img
{
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

@media (max-width: 900px)
{
  .hero-content
  {
    grid-template-columns: 1fr;
  }

  .hero-text
  {
    text-align: center;
  }

  .hero-image
  {
    order: -1;
  }

}

.result-subtitle
{
  width: 100%;
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--color-cyan-pale);
  font-size: 17px;
  line-height: 1.55;
  text-align: left;
}

.result-body-inner
{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.result-section
{
  padding: 18px 20px;
  border: 1px solid var(--color-cyan-05);
  border-radius: 20px;
  background: var(--color-white-50);
}

.result-section-title
{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.result-lead
{
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-white);
}

.result-text
{
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-cyan-pale);
}

.result-highlight
{
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-white);
  font-weight: 500;
}

.result-list
{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.result-list li
{
  position: relative;
  padding-left: 18px;
  color: var(--color-cyan-pale);
  font-size: 17px;
  line-height: 1.55;
}

.result-list li::before
{
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-silver-muted);
  transform: translateY(-50%);
}

.result-list--quotes li
{
  color: var(--color-white);
}

.result-next-step
{
  border-color: var(--color-cyan-05);
  background: var(--color-cyan-05);
}

#retake-btn
{
  margin-bottom: 18px;
}

@media (max-width: 640px)
{
  .result-subtitle
  {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 15px;
  }

  .result-body-inner
  {
    gap: 16px;
  }

  .result-section
  {
    padding: 14px 14px;
    border-radius: 16px;
  }

  .result-section-title
  {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .result-lead, .result-highlight
  {
    font-size: 16px;
  }

  .result-text, .result-list li
  {
    font-size: 15px;
  }
}

@keyframes blockBadgeIn
{
  0%
  {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    box-shadow: 0 0 0 var(--color-cyan-05);
  }

  65%
  {
    opacity: 1;
    transform: translateY(0) scale(1.015);
    box-shadow: 0 10px 26px var(--color-cyan-05);
  }

  100%
  {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 18px var(--color-cyan-05);
  }

}

@media (max-width: 640px)
{
  .hero-content
  {
    gap: 0;
  }

  .hero-image
  {
    margin-top: 15px;
  }

}

.app-logo img
{
  width: 120px;
  height: auto;
  opacity: 0.9;
}

.app-logo
{
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-logo.is-hidden
{
  opacity: 0;
  transform: translateY(-10px);
}

.app-footer
{
  flex: 0 0 auto;
  width: 100%;
  padding: 16px 20px 24px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-cyan-pale);
  opacity: 0.7;
}

.app-shell
{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@keyframes artifact-scene
{
  0%
  {
    opacity:0
  }

  100%
  {
    opacity:1
  }

}

@keyframes artifact-awaken
{
  0%
  {
    opacity:0;
    transform:scale(.08) rotate(-16deg);
    filter:grayscale(1) brightness(.2)
  }

  70%
  {
    opacity:1;
    transform:scale(1.12) rotate(2deg);
    filter:grayscale(.2) brightness(1.1) drop-shadow(0 0 18px var(--color-cyan-50))
  }

  100%
  {
    opacity:1;
    transform:scale(1);
    filter:grayscale(0) brightness(1.28) drop-shadow(0 0 38px var(--color-cyan-50))
  }

}

@keyframes artifact-aura
{
  0%
  {
    opacity:0;
    transform:scale(.2) rotate(0)
  }

  70%
  {
    opacity:1;
    transform:scale(1) rotate(80deg)
  }

  100%
  {
    opacity:.65;
    transform:scale(1.08) rotate(110deg)
  }

}

@keyframes artifact-message
{
  0%,45%
  {
    opacity:0;
    transform:translateY(14px)
  }

  100%
  {
    opacity:1;
    transform:translateY(0)
  }

}

@keyframes artifact-close
{
  from
  {
    opacity:1
  }

  to
  {
    opacity:0
  }

}

@media (prefers-reduced-motion: reduce)
{
  .artifact-unlock.is-visible,.artifact-unlock__aura,.artifact-unlock__item,.artifact-unlock__message
  {
    animation-duration:.9s
  }

}
