:root {
  --bg: #15121d;
  --bg-accent: #1d1728;
  --surface: rgba(29, 24, 39, 0.92);
  --surface-strong: #272032;
  --text: #f4f2f8;
  --text-soft: #d2cadc;
  --primary: #59c8bb;
  --primary-strong: #36a99d;
  --secondary: #b09ee0;
  --secondary-soft: rgba(201, 140, 255, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(89, 200, 187, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(158, 103, 255, 0.16),
      transparent 34%
    ),
    linear-gradient(180deg, #1a1624 0%, #15121d 55%, #100d18 100%);
}

body::before {
  display: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

.noscript-banner {
  padding: 1rem;
  text-align: center;
  background: #332313;
  color: #ffd6a6;
}

.page-shell {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.page-shell--result {
  padding-bottom: 80px;
}

.brand-block,
.progress-panel,
.app-card,
.result-card,
.cta-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.brand-block {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.intro-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 760px;
  margin: 5rem auto;
  padding: 1rem;
}

.intro-title {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.intro-description {
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 3rem;
  max-width: 760px;
  margin: 2.5rem auto 0;
}

.intro-description__text {
  text-align: left;
}

.intro-description__text p {
  margin: 0;
}

.intro-description__image {
  display: flex;
  justify-content: center;
}

.intro-illustration {
  width: 180px;
  height: auto;
  display: block;
}

.intro-divider {
  width: 100%;
  max-width: 520px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 3rem 0;
}

.intro-actions {
  justify-content: center;
}

.lede {
  max-width: 60ch;
  margin: 16px 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.progress-panel {
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}

.progress-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.progress-label,
.progress-detail {
  margin: 0;
}

.progress-label {
  font-weight: 800;
}

.progress-detail {
  color: var(--text-soft);
  line-height: 1.5;
}

.progress-bar {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(14, 122, 109, 0.12);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transition: width 220ms ease;
}

.app-card,
.result-card,
.cta-card {
  border-radius: var(--radius-xl);
}

.app-card {
  min-height: 520px;
  padding: 28px;
}

.screen {
  display: grid;
  gap: 24px;
  animation: rise 360ms ease;
}

.screen-header {
  display: grid;
  gap: 20px;
}

.screen-header h2 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.18;
  max-width: 900px;
  padding: 10px 24px;
}

.screen-kicker {
  margin: 0;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.helper-text,
.meta-value,
.section-copy {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.helper-text,
.section-copy {
  margin: 0;
}

.screen-copy {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.field-help {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.75;
  margin: 0;
  font-weight: 300;
}

.question-count {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(14, 122, 109, 0.08);
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 1rem;
}

.option-list {
  display: grid;
  gap: 18px;
  border: none;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.option-card {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  padding: 14px 26px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 122, 109, 0.32);
  box-shadow: 0 16px 36px rgba(14, 122, 109, 0.12);
}

.option-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 122, 109, 0.16);
}

.option-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.option-card.is-selected {
  border-color: var(--primary);
  background: rgba(14, 122, 109, 0.08);
  box-shadow: 0 18px 40px rgba(14, 122, 109, 0.12);
}

.option-card-title {
  font-weight: 800;
  font-size: 1.03rem;
}

.option-card-body {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-bottom: 5rem;
}

.test-header {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.header-back {
  background: none;
  border: none;
  color: var(--primary-strong);
  font-size: 1.7rem;
  cursor: pointer;
}

.header-back:hover {
  color: var(--primary);
}

.header-back svg {
  width: 28px;
  height: 28px;
}

.header-title {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--primary-strong);
}

.header-title:hover {
  color: var(--primary);
}

.header-title:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.header-counter {
  text-align: right;
  font-weight: 600;
  color: var(--primary-strong);
}

.option-card-title {
  display: none;
}

.option-card-body {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.option-arrow {
  color: var(--primary);
  font-size: 1.15rem;
  flex: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.button,
.button-secondary,
.button-ghost,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.cta-button:hover {
  transform: translateY(-1px);
}

.button {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #041013;
  box-shadow: 0 18px 36px rgba(10, 95, 85, 0.22);
  min-height: 60px;
  padding: 16px 34px;
  font-weight: 700;
  font-size: 1.08rem;
}

.button[disabled],
.button-secondary[disabled],
.button-ghost[disabled] {
  cursor: wait;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.button-secondary,
.cta-button {
  background: rgba(223, 109, 60, 0.12);
  color: #ffd6c0;
  border-color: rgba(223, 109, 60, 0.22);
}

.button-ghost,
.ghost-link {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.ghost-link {
  width: fit-content;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.2rem;
}

.grid-two {
  display: grid;
  gap: 12px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-label {
  font-weight: 700;
  font-size: 1rem;
}

.field-input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(8, 14, 20, 0.88);
  color: var(--text);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 122, 109, 0.14);
}

.feedback {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  line-height: 1.55;
}

.feedback-error {
  border-color: rgba(184, 55, 47, 0.18);
  background: rgba(184, 55, 47, 0.08);
  color: #ffb8b3;
}

.feedback-success {
  border-color: rgba(10, 95, 85, 0.2);
  background: rgba(10, 95, 85, 0.08);
  color: #9ce8dc;
}

.section-title {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.bullet-list {
  display: grid;
  gap: 10px;
  padding-left: 1.2rem;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.loading-state,
.empty-state {
  display: grid;
  place-items: center;
  min-height: 260px;
  text-align: center;
  color: var(--text-soft);
}

.spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 4px solid rgba(14, 122, 109, 0.15);
  border-top-color: var(--primary);
  animation: spin 850ms linear infinite;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.submission-success {
  gap: 28px;
}

.submission-success__header {
  justify-items: center;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 4px;
  border-radius: 999px;
  background: rgba(14, 122, 109, 0.14);
  color: var(--primary);
}

.success-icon svg {
  width: 54px;
  height: 54px;
}

.submission-success__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.submission-success__header .screen-copy {
  max-width: 58ch;
}

.submission-success__message-title {
  margin: 0 0 1rem;
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
}

.submission-success__message-copy {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.submission-success__message {
  margin: 1.5rem auto 3rem;
}

.submission-success__share {
  display: grid;
  gap: 14px;
  margin-top: 3.5rem;
}

.submission-success__share-label {
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.share-button {
  gap: 8px;
  flex: 1;
  min-width: 100%;
  max-width: 180px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 0.88rem;
}

.share-button svg {
  width: 18px;
  height: 18px;
}

.share-button--whatsapp svg {
  color: #25d366;
}

.share-button--facebook svg {
  color: #1877f2;
}

.submission-success__footer {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.cta-description {
  max-width: 540px;
  margin: 1.75rem auto 2.5rem;
  color: var(--text-soft);
  line-height: 1.9;
}

.cta-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  transition: opacity 0.2s;
}

.cta-link:hover {
  color: var(--primary);
  opacity: 0.75;
}

.cta-link svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.cta-divider {
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
}

.result-restart-link {
  display: inline-block;
  margin-top: 2.25rem;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.result-restart-link:hover {
  opacity: 1;
}

.result-header__title {
  margin: 0 0 10px;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.result-header__hero h1 {
  font-weight: 100;
  font-size: 2rem;
}

.result-page-header hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
}

.result-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 2.5rem 0 4rem;
}

.result-meta-title {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 600;
}

.result-meta-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-soft);
}

.result-meta-email,
.result-meta-date {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.profile-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.result-profile-kicker {
  margin: 0 0 1.25rem;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 300;
  opacity: 0.9;
}

.result-profile-name {
  text-align: center;
  color: var(--secondary);
  margin: 0 0 1.75rem;
  font-weight: 300;
}

.result-profile-description {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.9;
  color: var(--text-soft);
}

.result-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.25rem 0;
}

.result-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  max-width: 760px;
}

.result-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.result-section .section-copy {
  font-size: 1.1rem;
  line-height: 1.9;
}

.result-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-soft);
}

.profile-quote {
  margin: 0;
  text-align: center;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
}

.profile-card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.profile-card-icon svg {
  width: 54px;
  height: 54px;
  stroke: var(--secondary);
  stroke-width: 1.6;
}

.bullet-list {
  list-style: none;
  padding: 0;
  gap: 1.5rem;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.3;
}

.result-section--cta {
  max-width: 860px;
  margin: 4rem auto;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  position: relative;
}

.result-section--download {
  text-align: center;
  padding-top: 4rem;
}

.result-block-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.result-block-title svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.result-block-title h2 {
  margin: 0;
}

.result-block-title.success svg {
  stroke: #54dbc3;
}

.result-block-title.warning svg {
  stroke: #f2b94b;
}

.result-block-title.info svg {
  stroke: #7b83ff;
}

.result-block-title.learn svg {
  stroke: #8e7dff;
}

.result-feature {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 22px;
  padding: 2rem;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.result-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.result-feature--success::before {
  background: #54dbc3;
}

.result-feature--warning::before {
  background: #f2b94b;
}

.result-feature--info::before {
  background: #7b83ff;
}

.result-feature--learn::before {
  background: #8e7dff;
}

.download-card {
  max-width: 860px;
  margin: 3.5rem auto;
  padding: 2.25rem;
  border: 1px solid rgba(84, 219, 195, 0.45);
  border-radius: 22px;
  background: rgba(84, 219, 195, 0.05);
  text-align: center;
}

.download-card__title {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  font-weight: 200;
  color: #9be8d7;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  min-width: 320px;
}

.download-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

@media (max-width: 720px) {
  .intro-description {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .intro-description__image {
    grid-row: 1;
    justify-content: center;
  }

  .intro-description__text {
    grid-row: 2;
    text-align: center;
  }

  .intro-illustration {
    width: 140px;
  }
}

@media (min-width: 720px) {
  .page-shell {
    padding: 16px 24px 72px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    align-items: end;
  }

  .site-header--compact {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
  }

  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid--wide {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .app-card {
    padding: 34px;
  }

  .share-button {
    min-width: auto;
  }
}

@media (min-width: 980px) {
  .page-shell--result {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    align-items: start;
  }

  .page-shell--result > :first-child {
    grid-column: 1 / -1;
  }

  .page-shell--result .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
