:root {
  --background: #fffdfa;
  --surface: #ffffff;
  --ink: #232048;
  --muted: #55536e;
  --accent: #7158eb;
  /* Mesma cor do acento, token separado: a borda de acento é reservada ao
     estado "resposta selecionada" (ver ui-contract.test.js). O checkout usa
     este token para destacar o método ativo sem herdar aquele significado. */
  --checkout-active-line: #7158eb;
  --line: #e9e5ec;
  --danger: #a23b55;
  --shadow: 0 10px 30px rgba(35, 32, 72, 0.07);
  --active-shadow: 0 14px 32px rgba(113, 88, 235, 0.2);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  color: var(--ink);
  /* The gradient lives on the root so iOS paints it across the whole
     canvas — behind the status bar and into overscroll — instead of
     falling back to a flat colour above the page. */
  background:
    radial-gradient(circle at 50% -10%, rgba(113, 88, 235, 0.2) 0, rgba(255, 253, 250, 0) 36%),
    var(--background);
  font-family: "Albert Sans", system-ui, sans-serif;
}

body {
  min-height: 100dvh;
  margin: 0;
}

#app {
  min-height: 100dvh;
  -webkit-user-select: none;
  user-select: none;
}

input,
select,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

button,
input,
select,
textarea {
  min-height: 44px;
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.icon-button:focus-visible,
.answer:focus-visible,
.cta:focus-visible,
.field:focus-visible,
.composer:focus-visible,
textarea:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

[data-focus-context]:focus {
  outline: none;
}

button:disabled {
  cursor: not-allowed;
}

noscript {
  display: block;
  max-width: 560px;
  margin: 40px auto;
  padding: 20px;
  color: var(--ink);
  text-align: center;
}

.quiz-shell {
  display: flex;
  flex-direction: column;
  width: min(100%, 760px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px calc(18px + env(safe-area-inset-bottom));
}

.topbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--accent);
  background: transparent;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.icon-button > i,
.icon-button > svg,
.icon-button > .icon-fallback {
  grid-area: 1 / 1;
}

.icon-button svg + .icon-fallback {
  display: none;
}

.icon-button:hover {
  background: rgba(113, 88, 235, 0.08);
}

.icon-button:active {
  transform: translateY(1px) scale(0.96);
}

.icon-button:disabled {
  opacity: 0;
  pointer-events: none;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #eeebe8;
}

.progress__value {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ink), var(--accent));
  transition: width 240ms ease;
}

.chart-reveal-shell {
  width: min(100%, 600px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));
}

.chart-reveal-progress {
  padding: 0 14px;
}

.chart-reveal-progress .progress {
  height: 6px;
  background: #e8e0f5;
}

.chart-reveal-progress .progress__value {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.chart-reveal-screen {
  display: flex;
  min-height: calc(100dvh - 42px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
}

.chart-reveal-eyebrow {
  margin: 0;
  color: #7c3aed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-align: center;
  text-transform: uppercase;
}

.zodiac-hero {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #35205d, #21123d);
  box-shadow: 0 18px 36px rgba(48, 27, 88, 0.18);
}

.zodiac-hero img {
  width: 66px;
  height: 66px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 14px rgba(202, 160, 255, 0.5));
}

.zodiac-hero h1 {
  margin: 0;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.1;
}

.zodiac-hero p {
  margin: 8px 0 0;
  color: #d6cae9;
  font-size: 13px;
}

.chart-signals {
  display: grid;
  gap: 9px;
}

.chart-signal {
  display: grid;
  min-height: 58px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e2d4f6;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.chart-signal__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #7c3aed;
  background: #f1e8ff;
}

.chart-signal__icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.chart-signal:nth-child(2) .chart-signal__icon {
  color: #c2487d;
  background: #fce8f1;
}

.chart-signal:nth-child(3) .chart-signal__icon {
  color: #6550c9;
  background: #ece8ff;
}

.chart-signal p {
  margin: 0;
  color: #4c4762;
  font-size: 12.5px;
  line-height: 1.45;
}

.chart-signal strong {
  color: #26213c;
}

.chart-conclusion {
  padding: 18px 20px;
  border: 1px solid #dfcdf8;
  border-radius: 17px;
  background: #f7f1ff;
  text-align: center;
}

.chart-conclusion p {
  margin: 0;
  color: #27203e;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.chart-conclusion strong {
  color: #7c3aed;
}

.chart-reveal-cta {
  display: flex;
  width: 100%;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.chart-reveal-cta svg {
  width: 18px;
  height: 18px;
}

.step-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.screen {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: clamp(44px, 8vh, 90px);
}

.companion {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  overflow: visible;
  animation: companion-float 4s ease-in-out infinite;
}

.companion__star {
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 36% 64% 34% 66% / 61% 37% 63% 39%;
  background: linear-gradient(145deg, var(--ink), var(--accent));
  transform: rotate(13deg);
}

.companion__glow {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(113, 88, 235, 0.2);
  filter: blur(8px);
  animation: companion-breathe 2.8s ease-in-out infinite;
}

.companion--happy {
  animation: companion-positive 520ms cubic-bezier(0.22, 1, 0.36, 1), companion-float 4s 520ms ease-in-out infinite;
}

.companion--happy .companion__star {
  animation: companion-positive-star 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.companion__check {
  position: absolute;
  z-index: 3;
  right: -1px;
  bottom: 1px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 3px solid var(--background);
  border-radius: 50%;
  color: #fff;
  background: #28a86b;
  font-size: 10px;
  font-weight: 800;
  animation: confirmation-pop 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.question-card {
  padding: 24px;
  border: 1px solid rgba(35, 32, 72, 0.04);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.question-card h1 {
  margin: 0;
  color: var(--ink);
  font: 400 24px/1.18 "Google Sans Flex", system-ui, sans-serif;
}

.question-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font: 400 20px/1.35 "Albert Sans", system-ui, sans-serif;
}

.actions {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
  padding-right: max(0px, env(safe-area-inset-right));
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  padding-left: max(0px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(255, 253, 250, 0), var(--background) 24%);
}

.actions > .cta {
  margin-top: 8px;
  box-shadow: none;
}

.answer {
  width: fit-content;
  max-width: 92%;
  margin-left: auto;
  min-height: 44px;
  padding: 12px 16px;
  border: 1.5px solid #aa94f4;
  border-radius: 17px 5px 17px 17px;
  color: var(--ink);
  background: #fbf9ff;
  box-shadow: 0 3px 10px rgba(113, 88, 235, 0.12);
  font: 400 16px/1.35 "Albert Sans", system-ui, sans-serif;
  text-align: left;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.answer:hover {
  border-color: #7158eb;
  box-shadow: 0 6px 16px rgba(113, 88, 235, 0.18);
  transform: translateY(-1px);
}

.answer[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--surface);
  background: linear-gradient(110deg, var(--ink), var(--accent));
  box-shadow: 0 8px 20px rgba(113, 88, 235, 0.24);
  font-weight: 600;
}

.answer:active,
.cta:active {
  transform: translateY(1px) scale(0.995);
}

.cta {
  min-height: 60px;
  padding: 16px 20px;
  border: 0;
  border-radius: 22px;
  color: var(--surface);
  background: linear-gradient(110deg, var(--ink), var(--accent));
  box-shadow: 0 12px 28px rgba(74, 55, 155, 0.25);
  font: 500 18px/1 "Albert Sans", system-ui, sans-serif;
  transition: opacity 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.cta:disabled {
  opacity: 0.42;
  box-shadow: none;
}

.cta:disabled:active {
  transform: none;
}

.field {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--surface);
}

.field::placeholder {
  color: var(--muted);
  opacity: 1;
}

.date-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.date-help {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.error {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 14px;
}

.chat-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 560px);
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  margin: 0 auto;
  padding-top: max(14px, env(safe-area-inset-top));
  padding-right: max(16px, env(safe-area-inset-right));
  padding-bottom: 0;
  padding-left: max(16px, env(safe-area-inset-left));
  background: linear-gradient(180deg, #f5f2ff 0, var(--background) 24%);
}

.chat-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(85, 83, 110, 0.12);
}

.guide {
  color: var(--muted);
  text-align: center;
}

.guide__avatar {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 5px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--surface), 0 7px 18px rgba(35, 32, 72, 0.16);
}

.guide b {
  display: block;
  color: var(--ink);
  font: 500 13px/1.2 "Google Sans Flex", system-ui, sans-serif;
}

.guide small {
  color: #2f6f45;
  font-size: 12px;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 0 14px;
  scroll-padding-block: 22px 42px;
  scrollbar-width: none;
}

/* Anchor short transcripts to the bottom so the latest bubble sits
   against the reply tray; overflowing transcripts still scroll. */
.messages > :first-child {
  margin-top: auto;
}

.messages::-webkit-scrollbar,
.chat-actions::-webkit-scrollbar,
.answer-list::-webkit-scrollbar {
  display: none;
}

.bubble {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 18px 18px 18px 5px;
  color: var(--ink);
  background: #ebe9ee;
  font-size: 15px;
  line-height: 1.4;
}

.bubble--user {
  align-self: flex-end;
  border-radius: 18px 18px 5px 18px;
  color: var(--surface);
  background: var(--accent);
}

.bubble[data-message-id="name-prompt"] {
  align-self: flex-start;
  width: fit-content;
  border: 1px solid #e8dcf4;
  background: var(--surface);
}

.bubble[data-message-id="name-prompt"] strong,
.bubble[data-message-id="name-reaction"] strong {
  color: #5030a4;
  font-weight: 700;
}

.chat-actions {
  position: static;
  display: grid;
  gap: 8px;
  min-height: 0;
  max-block-size: 54dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 12px calc(74px + env(safe-area-inset-bottom));
  padding-top: 12px;
  padding-right: 8px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  padding-left: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0), var(--background) 25%);
  isolation: isolate;
  scrollbar-width: none;
}

.chat-actions[hidden] {
  display: none;
}

.answer-list {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 8px;
  scrollbar-width: none;
}

.chat-actions form {
  display: grid;
  gap: 8px;
}

.chat-actions form[data-form="name"] {
  padding-bottom: 4px;
}

.name-entry__hint {
  margin-bottom: 4px;
  color: #8f83ad;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.name-entry__field {
  min-height: 60px;
  border: 2px solid #d9c8f5;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  text-align: center;
}

.name-entry__field::placeholder {
  color: #a6a1b4;
  opacity: 1;
}

.chat-actions form[data-form="name"] .cta {
  min-height: 60px;
  border-radius: 999px;
  background: linear-gradient(100deg, #8555ee, #7135e8);
}

.chat-actions > .cta,
.chat-actions form .cta {
  position: sticky;
  bottom: 0;
  z-index: 2;
  width: 100%;
  margin-bottom: 8px;
  background: linear-gradient(110deg, var(--ink), var(--accent));
  box-shadow: none;
}

.chat-actions:has(.answer-list) {
  grid-template-rows: minmax(0, min-content) repeat(4, auto);
  max-block-size: min(54dvh, 490px);
  overflow-y: hidden;
}

.chat-actions:has(.answer-list) form:has(.answer-list) {
  display: contents;
}

.chat-actions:has(.answer-list) .answer-list {
  grid-row: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 8px;
  padding: 8px 10px;
}

.chat-actions:has(.answer-list) .composer-label {
  grid-row: 2;
}

.chat-actions:has(.answer-list) .composer {
  grid-row: 3;
}

.chat-actions:has(.answer-list) .error {
  grid-row: 4;
}

.chat-actions:has(.answer-list) form .cta {
  position: static;
  grid-row: 5;
  bottom: auto;
  z-index: auto;
  margin-bottom: 0;
}

.composer-label {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.composer {
  min-height: 72px;
  max-height: 120px;
  padding: 12px 14px;
  line-height: 1.4;
  resize: none;
  overflow-y: auto;
}

.typing {
  display: flex;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 11px 14px;
  border-radius: 18px 18px 18px 5px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: typing-appear 260ms ease 650ms both;
}

.typing span[aria-hidden="true"] {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: typing-bounce 900ms ease-in-out infinite;
}

.typing span[aria-hidden="true"]:nth-child(3) {
  animation-delay: 150ms;
}

.typing span[aria-hidden="true"]:nth-child(4) {
  animation-delay: 300ms;
}

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

.disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.result-card {
  padding: 26px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.result-card h1 {
  margin: 0;
  color: var(--ink);
  font: 400 24px/1.18 "Google Sans Flex", system-ui, sans-serif;
}

.result-card h2 {
  margin: 22px 0 0;
  color: var(--ink);
  font: 400 24px/1.18 "Google Sans Flex", system-ui, sans-serif;
}

.result-card p {
  color: var(--muted);
  font: 400 20px/1.45 "Albert Sans", system-ui, sans-serif;
}

.starter-list {
  padding-left: 20px;
  color: var(--muted);
  font: 400 20px/1.45 "Albert Sans", system-ui, sans-serif;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.welcome-shell {
  width: min(100%, 620px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));
}

.welcome-progress {
  padding: 0 6px;
}

.welcome-content {
  display: flex;
  min-height: calc(100dvh - 56px);
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: clamp(22px, 5vh, 48px);
  text-align: center;
}

.trust-pills {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trust-pills span {
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid rgba(113, 88, 235, 0.13);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 7px 20px rgba(35, 32, 72, 0.05);
  font-size: 12px;
}

.welcome-copy {
  max-width: 520px;
}

.welcome-copy h1 {
  margin: 9px 0 0;
  color: var(--ink);
  font: 500 clamp(28px, 7vw, 42px)/1.07 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.welcome-copy > p:last-child {
  max-width: 460px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 4vw, 18px);
  line-height: 1.45;
}

.welcome-visual {
  position: relative;
  width: min(58vw, 235px);
  aspect-ratio: 4 / 5;
  padding: 6px;
  border: 1px solid rgba(113, 88, 235, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 55px rgba(89, 68, 172, 0.2);
  animation: hero-breathe 5s ease-in-out infinite;
}

.welcome-visual img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(113, 88, 235, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.visual-orbit--one {
  inset: 12% -14%;
  animation: orbit-drift 7s linear infinite;
}

.visual-orbit--two {
  inset: -8% 13%;
  animation: orbit-drift 10s linear reverse infinite;
}

.welcome-cta {
  width: min(100%, 420px);
}

.welcome-cta span,
.story-screen > .cta span,
.checkout-card .cta span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.welcome-cta:hover span,
.story-screen > .cta:hover span,
.checkout-card .cta:hover span {
  transform: translateX(4px);
}

.logo-rail {
  width: calc(100% + 40px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.press-targets {
  display: grid;
  width: 100%;
  gap: 9px;
}

.press-targets > p {
  margin: 0;
  color: #8a8798;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 34px;
  animation: logo-scroll 18s linear infinite;
}

.concept-logo {
  color: #9a98a5;
  filter: grayscale(1);
  font: 700 18px/1 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.04em;
  opacity: 0.72;
  white-space: nowrap;
}

.welcome-fineprint {
  max-width: 390px;
  margin: -4px 0 0;
  color: #858296;
  font-size: 11px;
  line-height: 1.45;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 9px;
  color: var(--ink);
  font: 500 25px/1 "Google Sans Flex", system-ui, sans-serif;
}

.brand-lockup__mark {
  width: 25px;
  height: 25px;
  border-radius: 36% 64% 34% 66% / 61% 37% 63% 39%;
  background: linear-gradient(145deg, var(--ink), var(--accent));
  transform: rotate(13deg);
}

.social-intro-screen {
  gap: 20px;
}

.social-intro-copy h1 {
  margin: 14px 0 0;
  color: var(--ink);
  font: 500 clamp(31px, 8vw, 48px)/1.07 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.045em;
}

.social-intro-copy h1 em {
  color: var(--accent);
  font-style: normal;
}

.social-intro-copy > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.social-intro-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 20px;
  border: 1px solid rgba(113, 88, 235, 0.1);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.social-intro-review > div {
  display: grid;
  gap: 2px;
}

.social-intro-review > div span {
  color: #858296;
  font-size: 11px;
}

.social-intro-review h2,
.social-intro-review p {
  grid-column: 1 / -1;
  margin: 0;
}

.social-intro-review h2 {
  margin-top: 7px;
  color: var(--ink);
  font: 500 20px/1.2 "Google Sans Flex", system-ui, sans-serif;
}

.social-intro-review p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.social-intro-stats {
  display: grid;
  gap: 11px;
}

.social-intro-stats p {
  display: grid;
  grid-template-columns: 30px minmax(0, auto) 1fr;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.social-intro-stats p span {
  color: var(--accent);
  font-size: 21px;
}

.social-intro-stats p b {
  margin-right: 4px;
  color: var(--ink);
}

.social-intro-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(35, 32, 72, 0.13);
}

.social-intro-visual img {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: cover;
}

.social-intro-visual figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px;
  border-radius: 14px;
  color: var(--surface);
  background: rgba(35, 32, 72, 0.82);
  backdrop-filter: blur(9px);
  font-size: 12px;
  text-align: center;
}

.birth-card,
.delivery-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(113, 88, 235, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.birth-card .date-fields legend {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 6px;
  overflow: visible;
  clip: auto;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.birth-card .date-help {
  margin: 0 auto 16px;
  text-align: center;
}

.birth-card label,
.delivery-card > label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.native-date-field {
  display: grid;
  gap: 6px;
}

.birth-card .native-date-input {
  display: flex;
  align-items: center;
  min-height: 66px;
  margin-top: 6px;
  padding-right: 16px;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: light;
}

.birth-card .native-date-input::-webkit-date-and-time-value {
  /* iOS Safari renders the value in its own inline box: kill the
     system chip margins and keep it left-aligned inside the field */
  margin: 0;
  text-align: left;
}

.story-shell {
  width: min(100%, 590px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));
}

.match-shell {
  width: min(100%, 590px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 50% 42%, #eee8ff, transparent 42%), var(--background);
}

.match-screen {
  display: flex;
  min-height: calc(100dvh - 100px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.match-screen h1 {
  max-width: 460px;
  margin: 9px 0 0;
  color: var(--ink);
  font: 500 clamp(30px, 8vw, 44px)/1.08 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.match-orbit {
  position: relative;
  display: grid;
  width: 174px;
  height: 174px;
  place-items: center;
  margin-bottom: 30px;
}

.match-avatar {
  z-index: 2;
  display: grid;
  width: 82px;
  height: 82px;
  padding: 4px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(35, 32, 72, 0.2);
  animation: match-avatar-breathe 2.4s ease-in-out infinite;
}

.match-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.match-ring {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(113, 88, 235, 0.3);
  border-radius: 50%;
  animation: match-ring 2.2s ease-out infinite;
}

.match-ring--two {
  animation-delay: 1.1s;
}

.match-status {
  display: flex;
  width: min(100%, 420px);
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 15px 17px;
  border: 1px solid rgba(113, 88, 235, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  text-align: left;
}

.match-status > span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 3px solid #d7cffc;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: match-spinner 900ms linear infinite;
}

.match-status p,
.match-status b,
.match-status small {
  display: block;
  margin: 0;
}

.match-status b {
  color: var(--ink);
  font-size: 13px;
}

.match-status small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.story-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
}

.story-screen > .cta {
  position: sticky;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 4;
  width: 100%;
  margin-top: 4px;
  box-shadow: none;
}

.guide-note,
.insight-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(113, 88, 235, 0.15);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.guide-note img,
.mini-avatar img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.guide-note p,
.insight-callout p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.plan-photo {
  position: relative;
  padding: 7px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(35, 32, 72, 0.14);
}

.plan-photo--arriving {
  animation: picture-arrive 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.plan-photo > img {
  display: block;
  width: 100%;
  max-height: min(56dvh, 560px);
  border-radius: 20px;
  object-fit: cover;
}

.plan-photo__label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 16px;
  color: var(--surface);
  background: rgba(35, 32, 72, 0.78);
  backdrop-filter: blur(10px);
}

.plan-photo__label b,
.plan-photo__label span {
  display: block;
}

.plan-photo__label span {
  font-size: 11px;
  text-align: right;
}

.insight-callout {
  color: var(--surface);
  border: 0;
  background: linear-gradient(120deg, var(--ink), var(--accent));
  box-shadow: var(--active-shadow);
}

.insight-callout p {
  color: var(--surface);
}

.insight-callout--arriving {
  animation: message-arrive 360ms ease-out both;
}

.typing--standalone {
  margin: 2px 0;
  box-shadow: var(--shadow);
}

.mini-avatar {
  display: grid;
  flex: 0 0 auto;
  padding: 2px;
  border-radius: 50%;
  background: var(--surface);
}

.reveal-screen > .eyebrow,
.social-screen > h1,
.social-support {
  text-align: center;
}

.reveal-hero {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  align-content: center;
  overflow: hidden;
  padding: 30px;
  border-radius: 30px;
  color: var(--surface);
  background:
    radial-gradient(circle at center, rgba(139, 108, 255, 0.48), transparent 35%),
    linear-gradient(145deg, #1f123d, var(--ink));
  box-shadow: 0 20px 55px rgba(35, 32, 72, 0.25);
}

.reveal-symbol {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 22px;
  background: linear-gradient(145deg, #a984ff, var(--accent));
  box-shadow: 0 0 35px rgba(201, 178, 255, 0.6);
  font: 500 44px/1 "Google Sans Flex", system-ui, sans-serif;
  animation: reveal-pulse 2.8s ease-in-out infinite;
}

.reveal-hero p,
.reveal-hero h1,
.reveal-hero small {
  z-index: 1;
  margin: 0;
}

.reveal-hero p {
  margin-top: 12px;
  color: #d9ceff;
  font-size: 12px;
  text-transform: uppercase;
}

.reveal-hero h1 {
  margin-top: 2px;
  font: 500 34px/1.05 "Google Sans Flex", system-ui, sans-serif;
}

.reveal-hero small {
  margin-top: 6px;
  color: #d9d3e5;
}

.reveal-orbit {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px dashed rgba(192, 167, 255, 0.5);
  border-radius: 50%;
  animation: orbit-drift 12s linear infinite;
}

.reveal-points {
  display: grid;
  gap: 9px;
}

.reveal-points > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(113, 88, 235, 0.14);
  border-radius: 16px;
  background: var(--surface);
}

.reveal-points span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: #eee9ff;
}

.reveal-points p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.reveal-statement {
  padding: 18px;
  border: 1px solid rgba(113, 88, 235, 0.16);
  border-radius: 20px;
  background: #f4efff;
  text-align: center;
}

.reveal-statement p,
.reveal-statement strong {
  margin: 0;
  line-height: 1.45;
}

.reveal-statement strong {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 15px;
}

.proof-pill {
  align-self: center;
  padding: 8px 13px;
  border-radius: 99px;
  color: #5a37c7;
  background: #ece4ff;
  font-size: 12px;
  font-weight: 700;
}

.social-screen > h1 {
  margin: 2px auto 0;
  color: var(--ink);
  font: 500 clamp(27px, 7vw, 36px)/1.08 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.social-support {
  margin: -8px auto 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid rgba(113, 88, 235, 0.14);
  border-radius: 18px;
  background: var(--surface);
}

.proof-metrics > div {
  display: grid;
  gap: 2px;
  padding: 14px;
  text-align: center;
}

.proof-metrics > div + div {
  border-left: 1px solid var(--line);
}

.proof-metrics b {
  color: var(--accent);
  font-size: 21px;
}

.proof-metrics span {
  color: var(--muted);
  font-size: 10px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.story-card {
  overflow: hidden;
  border: 1px solid rgba(113, 88, 235, 0.14);
  border-radius: 19px;
  background: var(--surface);
  box-shadow: 0 10px 25px rgba(35, 32, 72, 0.07);
}

.story-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-card__body {
  padding: 11px;
}

.stars {
  color: #f3a900;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.story-card blockquote {
  margin: 6px 0 10px;
  color: var(--ink);
  font-size: 11px;
  font-style: italic;
  line-height: 1.4;
}

.story-card__body > p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin: 0;
  font-size: 10px;
}

.story-card__body > p span {
  padding: 3px 6px;
  border-radius: 99px;
  color: #167044;
  background: #e5f8ee;
  font-size: 8px;
}

.concept-disclosure {
  margin: -2px 0;
  color: #858296;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.commitment-shell {
  background: radial-gradient(circle at 50% 40%, #f1ecff, transparent 38%), var(--background);
}

.commitment-screen {
  display: grid;
  min-height: calc(100dvh - 92px);
  grid-template-rows: auto minmax(120px, 1fr) auto auto;
  gap: 20px;
  padding-top: 26px;
  text-align: center;
}

.commitment-copy h1 {
  max-width: 470px;
  margin: 10px auto 0;
  color: var(--ink);
  font: 500 clamp(30px, 8vw, 44px)/1.08 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.commitment-copy > p:last-child {
  max-width: 420px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.commitment-celestial {
  position: relative;
  display: grid;
  min-height: 130px;
  place-items: center;
  align-self: center;
  justify-self: center;
  width: 168px;
  padding-bottom: 24px;
}

.commitment-celestial__ring {
  position: absolute;
  top: calc(50% - 12px);
  left: 50%;
  width: 132px;
  height: 132px;
  margin: -66px 0 0 -66px;
  border: 1px solid rgba(113, 88, 235, 0.32);
  border-radius: 50%;
  animation: match-ring 2.6s ease-out infinite;
}

.commitment-celestial__ring--two {
  animation-delay: 1.3s;
}

.commitment-celestial__sigil {
  z-index: 2;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #322c6b, #1b1840 78%);
  box-shadow:
    0 18px 44px rgba(35, 32, 72, 0.32),
    inset 0 0 0 1px rgba(202, 189, 255, 0.35);
  animation: match-avatar-breathe 2.6s ease-in-out infinite;
}

.commitment-celestial__sigil img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(146, 102, 204, 0.65);
}

.commitment-celestial__star {
  position: absolute;
  z-index: 3;
  color: var(--accent);
  animation: reveal-pulse 2.2s ease-in-out infinite;
}

.commitment-celestial__star--one {
  top: 4px;
  left: 14px;
  font-size: 15px;
}

.commitment-celestial__star--two {
  top: 34px;
  right: 6px;
  color: #efbd41;
  font-size: 12px;
  animation-delay: 700ms;
}

.commitment-celestial__star--three {
  bottom: 30px;
  left: 2px;
  color: #b7a6f4;
  font-size: 10px;
  animation-delay: 1200ms;
}

.commitment-celestial__sign {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.commitment-celestial--confirmed .commitment-celestial__sigil {
  box-shadow:
    0 18px 44px rgba(113, 88, 235, 0.4),
    inset 0 0 0 1.5px rgba(239, 189, 65, 0.75),
    0 0 30px rgba(239, 189, 65, 0.35);
}

.commitment-instruction {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.commitment-pad {
  position: relative;
  height: clamp(150px, 23dvh, 230px);
  overflow: hidden;
  border: 1px solid rgba(113, 88, 235, 0.35);
  border-radius: 20px;
  background:
    radial-gradient(1.5px 1.5px at 16% 28%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1px 1px at 34% 68%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 52% 22%, rgba(239, 189, 65, 0.85), transparent 60%),
    radial-gradient(1px 1px at 67% 74%, rgba(255, 255, 255, 0.65), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 34%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(1px 1px at 91% 62%, rgba(202, 189, 255, 0.8), transparent 60%),
    radial-gradient(1px 1px at 9% 82%, rgba(202, 189, 255, 0.7), transparent 60%),
    radial-gradient(circle at 50% 130%, #3a3380, #1b1840 68%);
  box-shadow: inset 0 0 0 1px rgba(202, 189, 255, 0.18), var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.commitment-pad--complete {
  border-color: rgba(239, 189, 65, 0.65);
  box-shadow: 0 12px 30px rgba(113, 88, 235, 0.24), 0 0 24px rgba(239, 189, 65, 0.18);
}

.commitment-pad canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}

.commitment-clear {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  color: rgba(202, 189, 255, 0.75);
  background: transparent;
  font-size: 30px;
}

.commitment-confirmed-mark {
  position: absolute;
  inset: 18% 15%;
  width: 70%;
  height: 64%;
}

.commitment-confirmed-mark path {
  fill: none;
  stroke: #efbd41;
  stroke-width: 15;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  animation: draw-confirmation 560ms ease-out both;
}

.commitment-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.commitment-confetti i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 18px;
  border-radius: 3px;
  background: var(--accent);
  animation: confetti-burst 800ms ease-out both;
}

.commitment-confetti i:nth-child(2) { --x: 85px; --y: -65px; background: #e9608f; animation-delay: 40ms; }
.commitment-confetti i:nth-child(3) { --x: -92px; --y: -52px; background: #efbd41; animation-delay: 80ms; }
.commitment-confetti i:nth-child(4) { --x: 102px; --y: 38px; background: #52b99a; animation-delay: 100ms; }
.commitment-confetti i:nth-child(5) { --x: -76px; --y: 55px; background: #7158eb; animation-delay: 130ms; }
.commitment-confetti i:nth-child(6) { --x: 18px; --y: -82px; background: #e9608f; animation-delay: 160ms; }

.commitment-confetti i:first-child { --x: -18px; --y: 78px; background: #efbd41; }

.commitment-cta {
  position: sticky;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 5;
  width: 100%;
  box-shadow: none;
}

.email-shell {
  background: radial-gradient(circle at 50% 30%, #f1ecff, transparent 42%), var(--background);
}

.email-screen {
  min-height: calc(100dvh - 110px);
  justify-content: center;
  text-align: center;
}

.email-screen h1 {
  max-width: 470px;
  margin: 0 auto;
  color: var(--ink);
  font: 500 clamp(30px, 8vw, 44px)/1.08 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.email-support {
  max-width: 430px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.email-screen form {
  width: min(100%, 470px);
  margin: 10px auto 0;
}

.email-screen .delivery-card {
  gap: 10px;
  padding: 20px;
  text-align: left;
}

.delivery-card > label {
  margin-top: 6px;
}

.delivery-privacy {
  margin: 2px 0 0;
  color: #858296;
  font-size: 11px;
  text-align: center;
}

.offer-shell {
  width: min(100%, 680px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 20px calc(34px + env(safe-area-inset-bottom));
}

.offer-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.offer-header h1 {
  max-width: 580px;
  margin: 14px 0 0;
  color: var(--ink);
  font: 500 clamp(30px, 8vw, 48px)/1.05 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.045em;
}

.offer-header h1 em {
  color: var(--accent);
  font-style: normal;
}

.offer-header > p {
  margin: 12px 0 0;
  color: var(--muted);
}

.result-preview,
.offer-section,
.checkout-card,
.guarantee,
.faq {
  margin-top: 28px;
}

.result-preview {
  padding: 10px;
  border: 1px solid rgba(113, 88, 235, 0.13);
  border-radius: 28px;
  background: #f1ecff;
  box-shadow: 0 18px 50px rgba(35, 32, 72, 0.12);
}

.result-preview__image {
  position: relative;
  overflow: hidden;
  border-radius: 21px;
}

.result-preview__image img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  filter: blur(1px) saturate(0.82);
  object-position: center 28%;
}

.result-preview__image > span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--active-shadow);
  transform: translate(-50%, -50%);
}

.result-preview__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.result-preview__meta > div {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface);
}

.result-preview__meta small {
  color: #858296;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-preview__meta b {
  font-size: 14px;
}

.result-preview > p {
  margin: 10px 8px 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.offer-section > h2,
.checkout-card > h2,
.faq > h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font: 500 clamp(24px, 6vw, 34px)/1.1 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.locked-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.locked-list > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 13px;
}

.locked-list > div + div {
  border-top: 1px solid var(--line);
}

.check {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #15834f;
  background: #e5f8ee;
  font-size: 12px;
}

.locked-list p,
.locked-list b,
.locked-list small {
  display: block;
  margin: 0;
}

.locked-list b {
  font-size: 12px;
}

.locked-list small {
  margin-top: 2px;
  color: #858296;
  font-size: 9px;
}

.lock {
  padding: 4px 7px;
  border-radius: 99px;
  color: #5b3ec1;
  background: #eee9ff;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.checkout-card {
  padding: 26px 22px 20px;
  border: 1px solid rgba(113, 88, 235, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 50% 0%, #f3eeff, transparent 60%),
    var(--surface);
  box-shadow: 0 22px 60px rgba(72, 48, 153, 0.16);
  text-align: center;
}

.price {
  display: grid;
  width: max-content;
  grid-template-columns: auto auto auto;
  align-items: start;
  margin: 14px auto 4px;
  color: var(--accent);
}

.price > span {
  margin-top: 7px;
  font-size: 18px;
  font-weight: 700;
}

.price > b {
  font: 500 56px/0.9 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.06em;
}

/* Centavos sobrescritos ao lado do valor: "$9" seguido de "99" pequeno lê-se
   como $9.99. Numa linha separada, o leitor vê "$9" e o preço parece outro. */
.price > i {
  margin-top: 7px;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price > small {
  grid-column: 1 / -1;
  width: max-content;
  margin: 10px auto 0;
  padding: 4px 12px;
  border-radius: 999px;
  color: #5030a4;
  background: #eee9ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-email {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  margin: 14px auto 16px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-email b {
  color: var(--ink);
  font-weight: 600;
}

.checkout-card .cta {
  width: 100%;
}

/* Métodos empilhados, cada um ocupando a largura toda: numa tela de compra o
   comprador escolhe COMO pagar antes de qualquer outra coisa. */
.payment-methods {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  text-align: left;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.paypal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: #ffc439;
  color: #253b80;
  font: 600 15px/1 "Albert Sans", system-ui, sans-serif;
  cursor: pointer;
}

.paypal-button img {
  height: 18px;
}

.paypal-button:hover {
  background: #f0b72c;
}

.paypal-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.card-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink, #1f1b2e);
  font: 500 15px/1 "Albert Sans", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}

.card-toggle:hover {
  border-color: rgba(113, 88, 235, 0.35);
}

/* Aberto, o toggle vira o cabeçalho do painel: mantém a linha neutra e só
   perde os cantos de baixo, para ler como uma peça só com o formulário. */
.card-toggle--open {
  border-bottom-color: transparent;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.card-toggle__icon {
  color: var(--muted);
}

.card-toggle__chevron {
  margin-left: auto;
  color: var(--muted);
}

.card-toggle--open + #astral-payment-element {
  padding: 4px 16px 16px;
  border: 1.5px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.checkout-terms {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* Os Elements da Stripe são iframes de altura variável (o de cartão cresce ao
   trocar de aba). Sem min-height o card "pula" enquanto o iframe carrega. */
#astral-payment-element,
#astral-express-checkout {
  min-height: 44px;
}

#astral-express-checkout[hidden],
#astral-payment-element[hidden],
.checkout-divider[hidden] {
  display: none;
}

.checkout-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.checkout-divider::before,
.checkout-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.checkout-feedback {
  margin-top: 12px;
  padding: 11px;
  border-radius: 13px;
  font-size: 12px;
  text-align: left;
}

.checkout-feedback--error {
  color: #8a2020;
  background: #fdecec;
}

.checkout-feedback--info {
  color: #18653f;
  background: #e6f8ee;
}

.checkout-card .cta[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.checkout-trust,
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.checkout-trust {
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checkout-trust span {
  color: #858296;
  font-size: 11px;
}

.payment-badges span {
  display: grid;
  width: 54px;
  height: 32px;
  place-items: center;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.payment-badges img {
  display: block;
  width: 100%;
  max-width: 38px;
  max-height: 18px;
}

.starter-grid {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.starter-grid > div {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
}

.guarantee {
  padding: 18px;
  border: 1px solid #a8dfc2;
  border-radius: 20px;
  color: #155d3a;
  background: #effaf4;
  text-align: center;
}

.guarantee p {
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.45;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq {
  padding: 20px;
  border: 1px solid rgba(113, 88, 235, 0.14);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.faq summary {
  padding: 16px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.faq details p {
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.text-button {
  display: block;
  min-height: 44px;
  margin: 28px auto 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-weight: 600;
}

.offer-disclaimer {
  max-width: 520px;
  margin: 6px auto 0;
  color: #858296;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.offer-footer {
  display: grid;
  gap: 17px;
  margin: 32px -20px calc(-34px - env(safe-area-inset-bottom));
  padding: 30px 20px calc(30px + env(safe-area-inset-bottom));
  color: #d9d4e6;
  background: var(--ink);
  text-align: center;
}

.brand-lockup--footer {
  color: var(--surface);
  font-size: 22px;
}

.brand-lockup--footer .brand-lockup__mark {
  background: linear-gradient(145deg, #a994ff, var(--accent));
}

.offer-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.offer-footer nav a,
.offer-footer nav span {
  color: #d9d4e6;
  font-size: 11px;
  text-decoration: none;
}

.offer-footer p {
  margin: 0;
  color: #918ca5;
  font-size: 9px;
}

@keyframes companion-float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes companion-breathe {
  0%,
  100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 0.9; transform: scale(1.14); }
}

@keyframes companion-positive {
  0% { transform: translateY(0) scale(1); }
  48% { transform: translateY(-4px) scale(1.07); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes companion-positive-star {
  0%,
  100% { transform: rotate(13deg) scale(1); }
  50% { transform: rotate(17deg) scale(1.06); }
}

@keyframes confirmation-pop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes match-avatar-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes match-ring {
  0% { opacity: 0; transform: scale(0.62); }
  35% { opacity: 0.72; }
  100% { opacity: 0; transform: scale(1.2); }
}

@keyframes match-spinner {
  to { transform: rotate(360deg); }
}

@keyframes picture-arrive {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes message-arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes draw-confirmation {
  from { stroke-dashoffset: 300; }
  to { stroke-dashoffset: 0; }
}

@keyframes confetti-burst {
  from { opacity: 1; transform: translate(-50%, -50%) rotate(0); }
  to { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(240deg); }
}

@keyframes hero-breathe {
  0%,
  100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.012); }
}

@keyframes orbit-drift {
  to { transform: rotate(360deg); }
}

@keyframes logo-scroll {
  to { transform: translateX(calc(-50% - 17px)); }
}

@keyframes reveal-pulse {
  0%,
  100% { transform: scale(1); box-shadow: 0 0 25px rgba(201, 178, 255, 0.45); }
  50% { transform: scale(1.06); box-shadow: 0 0 48px rgba(201, 178, 255, 0.72); }
}

@keyframes typing-bounce {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(1px);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes typing-appear {
  from { opacity: 0; transform: translateY(5px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 700px) {
  body {
    padding: 28px;
  }

  #app {
    min-height: calc(100dvh - 56px);
  }

  .quiz-shell,
  .chat-shell,
  .story-shell,
  .welcome-shell,
  .match-shell {
    min-height: min(820px, calc(100dvh - 56px));
    border-radius: 36px;
    background-color: var(--background);
    box-shadow: 0 26px 70px rgba(35, 32, 72, 0.12);
  }

  .welcome-content {
    min-height: min(760px, calc(100dvh - 90px));
  }

  .chat-shell {
    height: min(820px, calc(100dvh - 56px));
    max-height: calc(100dvh - 56px);
  }
}

@media (max-height: 650px) {
  .chat-shell {
    padding-top: max(8px, env(safe-area-inset-top));
  }

  .chat-header {
    padding-bottom: 6px;
  }

  .guide__avatar {
    width: 36px;
    height: 36px;
    margin-bottom: 2px;
  }

  .guide b {
    font-size: 12px;
  }

  .guide small {
    font-size: 11px;
  }

  .messages {
    padding: 8px 0;
  }

  .chat-actions {
    gap: 6px;
    max-block-size: 50dvh;
    scroll-padding-block: 8px calc(58px + env(safe-area-inset-bottom));
    padding-top: 8px;
  }

  .chat-actions:has(.answer-list) {
    gap: 2px;
    max-block-size: 50dvh;
  }

  .answer-list,
  .chat-actions form {
    gap: 6px;
  }

  .chat-actions:has(.answer-list) .answer-list {
    padding: 6px 8px;
  }

  .answer {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
  }

  .cta {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 16px;
  }

  .composer {
    height: 44px;
    min-height: 44px;
    max-height: 80px;
    padding: 10px 12px;
  }

  .chat-actions:has(.answer-list) .composer {
    min-height: 44px;
    max-height: 56px;
    padding: 8px 12px;
  }

  .chat-actions:has(.answer-list) .error {
    min-height: 0;
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
  }

  .commitment-screen {
    grid-template-rows: auto 86px auto auto;
    gap: 10px;
    padding-top: 12px;
  }

  .commitment-copy h1 {
    font-size: 27px;
  }

  .commitment-copy > p:last-child {
    margin-top: 7px;
    font-size: 12px;
  }

  .commitment-celestial {
    min-height: 80px;
    padding-bottom: 18px;
  }

  .commitment-celestial__sigil {
    width: 66px;
    height: 66px;
  }

  .commitment-celestial__sigil img {
    width: 34px;
    height: 34px;
  }

  .commitment-celestial__ring {
    top: calc(50% - 9px);
    width: 96px;
    height: 96px;
    margin: -48px 0 0 -48px;
  }

  .commitment-pad {
    height: 128px;
  }
}

/* Tela pós-checkout */

.success-pill {
  color: #18653f;
  background: #e6f8ee;
}

.success-hero {
  display: grid;
  gap: 28px;
  justify-items: center;
  margin-top: 8px;
}

.success-hero__body {
  width: 100%;
  text-align: left;
}

.success-hero__body h2 {
  margin: 4px 0 0;
  font: 400 26px/1.2 "Google Sans Flex", system-ui, sans-serif;
}

.success-hero__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}

/* Mockup de iPhone em CSS. Proporção e raios aproximam um device real sem
   depender de imagem: escala com a coluna e continua nítido em qualquer DPR. */
.device {
  width: min(280px, 78vw);
  flex-shrink: 0;
}

.device__frame {
  position: relative;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #2a2545, #171331);
  box-shadow: 0 26px 60px rgba(35, 32, 72, 0.28);
}

/* Ancorado no frame inteiro (inset em vez de left:50%), senão o padding do
   frame desloca a referência e o notch sai do centro. */
.device__notch {
  position: absolute;
  top: 10px;
  right: 0;
  left: 0;
  z-index: 2;
  width: 108px;
  height: 24px;
  margin: 0 auto;
  border-radius: 0 0 16px 16px;
  background: #171331;
}

/* As linhas ocupam o espaço livre em vez de empilharem no topo: com
   align-content:start sobrava um vazio na base do aparelho. */
/* Flex em coluna: o conteúdo fica no topo, a folga se acumula logo antes da
   barra de abas (margin-top:auto nela) e as abas encostam na base. Com grid,
   a sobra ou ficava toda na base ou abria um buraco no meio da tela. */
.device__screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  aspect-ratio: 9 / 19.5;
  padding: 34px 16px 14px;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(180deg, #f6f3ff, #fffdfa 42%);
}

.app-status {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}

.app-status__icons {
  letter-spacing: 2px;
}

.app-head__greeting {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.app-head h3 {
  margin: 2px 0 10px;
  font: 400 19px/1.1 "Google Sans Flex", system-ui, sans-serif;
}

.app-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #eeeaf8;
}

.app-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ink), var(--accent));
}

.app-head__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.app-rows {
  display: grid;
  gap: 6px;
  align-content: start;
}

.app-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(35, 32, 72, 0.06);
  font-size: 11px;
}

.app-row__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7d2e8;
}

.app-row--done .app-row__dot {
  background: #2f9e63;
}

.app-row--now {
  outline: 1.5px solid rgba(113, 88, 235, 0.4);
}

.app-row--now .app-row__dot {
  background: var(--accent);
}

.app-row__label {
  color: var(--ink);
}

.app-row__value {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}

.app-card {
  padding: 12px;
  border-radius: 15px;
  color: #f3f0ff;
  background: linear-gradient(140deg, var(--ink), var(--accent));
}

.app-card__eyebrow {
  margin: 0 0 4px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.app-card p:last-child {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}

.app-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.app-metric {
  display: grid;
  gap: 2px;
  padding: 10px 6px;
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(35, 32, 72, 0.06);
  text-align: center;
}

.app-metric b {
  color: var(--accent);
  font: 500 17px/1 "Google Sans Flex", system-ui, sans-serif;
}

.app-metric small {
  color: var(--muted);
  font-size: 8px;
}

.app-tabs {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 10px 6px 2px;
  border-top: 1px solid var(--line);
}

.app-tabs__item {
  color: var(--muted);
  font-size: 10px;
}

.app-tabs__item--active {
  color: var(--accent);
  font-weight: 600;
}

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

.success-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 13px;
}

.success-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2f9e63;
  font-weight: 700;
}

/* ── Esteira de add-ons pós-compra ────────────────────────────────────────
   Uma oferta por tela. Sem contador regressivo e sem barra de alerta: a
   pressão temporal da referência não se sustenta aqui, e a compra principal
   já está feita — o comprador não pode sair perdendo. */

.upsell-shell {
  display: flex;
  width: min(100%, 640px);
  min-height: 100dvh;
  flex-direction: column;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 20px
    calc(28px + env(safe-area-inset-bottom));
}

.upsell-head {
  padding-bottom: 18px;
}

/* Três segmentos, um por oferta: mostra que a esteira é finita e onde ela
   termina. Sem isto, cada tela nova parece mais uma sem fim à vista. */
.upsell-progress {
  display: flex;
  gap: 6px;
}

.upsell-progress__bar {
  height: 4px;
  flex: 1;
  border-radius: 99px;
  background: #e9e5ec;
}

.upsell-progress__bar--done {
  background: linear-gradient(90deg, var(--ink), var(--accent));
}

.upsell-step {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.upsell-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
}

.upsell-main > .eyebrow {
  margin: 0;
}

.upsell-main h1 {
  margin: 0;
  font: 400 30px/1.15 "Google Sans Flex", system-ui, sans-serif;
}

.upsell-lede {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

/* Preview: um trecho lido de graça, o seguinte retido. O texto retido fica no
   DOM para leitores de tela (via .sr-only ao lado) — esconder conteúdo só
   visualmente é efeito de venda, não motivo para quebrar acessibilidade. */
.upsell-preview {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.upsell-preview__visible {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.upsell-preview__locked {
  position: relative;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.upsell-preview__locked p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  filter: blur(5px);
  user-select: none;
}

.upsell-preview__lock {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(35, 32, 72, 0.12);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.upsell-preview__lock svg {
  width: 14px;
  height: 14px;
}

/* Recusa de cartão off-session: o comprador fica na mesma oferta, com o motivo
   e a garantia de que nada foi cobrado. */
.upsell-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #f3c9c9;
  border-radius: 14px;
  color: #8a2020;
  background: #fdecec;
  font-size: 13px;
  line-height: 1.45;
}

.upsell-actions {
  display: grid;
  gap: 10px;
}

.upsell-accept {
  width: 100%;
}

/* A recusa é neutra e legível — nem escondida, nem em linguagem que puna quem
   escolhe não. Quem sai bem de três ofertas é quem volta. */
.upsell-decline {
  min-height: 44px;
  padding: 10px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: 400 14px/1 "Albert Sans", system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.upsell-decline:hover:not([disabled]) {
  color: var(--ink);
}

.upsell-items h2 {
  margin: 0 0 12px;
  font: 400 20px/1.2 "Google Sans Flex", system-ui, sans-serif;
}

.upsell-items ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.upsell-items li {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.upsell-items li b {
  font-size: 14px;
}

.upsell-items li span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.upsell-price {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 18px;
  border: 1px solid rgba(113, 88, 235, 0.22);
  border-radius: 20px;
  background: #f7f5ff;
  text-align: center;
}

.upsell-price__anchor {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.upsell-price__now {
  color: var(--accent);
  font: 500 40px/1 "Google Sans Flex", system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.upsell-price__note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.upsell-fineprint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

/* ── Tela final ───────────────────────────────────────────────────────── */

/* O e-mail fica visível e copiável: "qual endereço eu usei?" é o motivo mais
   banal de um comprador não encontrar o que pagou. */
.delivery-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.delivery-box__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.delivery-box__label svg {
  width: 15px;
  height: 15px;
}

.delivery-box__row {
  display: flex;
  gap: 8px;
}

.delivery-box__email {
  min-width: 0;
  flex: 1;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #faf9fd;
  font-size: 14px;
}

.delivery-box__copy {
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: var(--surface);
  background: var(--accent);
  font: 500 14px/1 "Albert Sans", system-ui, sans-serif;
}

.delivery-box__hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.success-addons {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #cdeadb;
  border-radius: 16px;
  background: #f2fbf6;
}

.success-addons__label {
  margin: 0 0 8px;
  color: #18653f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.success-addons ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.success-addons li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
}

.success-addons li span {
  margin-left: auto;
  color: #18653f;
  font-weight: 600;
}

.success-addons svg {
  width: 15px;
  height: 15px;
  color: #2f9e63;
}

.success-addons__note {
  margin: 8px 0 0;
  color: #3d7a5c;
  font-size: 11px;
}

.delivery-steps {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: delivery;
}

.delivery-steps li {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-align: left;
}

.delivery-steps__num {
  display: grid;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--surface);
  background: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.delivery-steps li b {
  font-size: 15px;
}

.delivery-steps li p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (min-width: 760px) {
  .success-hero {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
  }

  .upsell-items ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .typing span[aria-hidden="true"] {
    animation: none;
  }

  .logo-track,
  .companion,
  .companion__star,
  .companion__glow,
  .match-avatar,
  .match-ring,
  .match-status > span,
  .welcome-visual,
  .visual-orbit,
  .reveal-symbol,
  .reveal-orbit,
  .commitment-celestial__ring,
  .commitment-celestial__sigil,
  .commitment-celestial__star,
  .commitment-confirmed-mark path,
  .commitment-confetti i {
    animation: none;
  }
}
