/* A voice invitation between the greeting and the profile questions. */
.hello-app .hello-step-voice .hello-title {
  max-width: 540px;
  margin: 0 auto;
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.45;
}
.hello-voice-orb {
  position: relative;
  isolation: isolate;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 10px auto 5px;
  pointer-events: none;
}
.hello-app:not(.is-enhanced) .hello-voice-status { display: none; }
body.hello-page .hello-voice-permission:has(input:disabled) { opacity: .55; cursor: default; }
body.hello-page .hello-voice-permission input:disabled { cursor: default; }
.hello-voice-orb canvas { display: block; width: 100%; height: 100%; }
.hello-voice-orb::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 23%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,222,219,.16), rgba(131,146,231,.07) 52%, transparent 74%);
}
.hello-app .hello-voice-permission {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  min-height: 48px;
  margin: 0 auto;
  padding: 3px 0;
  border: 0;
  color: var(--hello-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}
html[data-cy-color-scheme="light"] body.hello-page .hello-voice-permission { color: var(--hello-text) !important; }
body.hello-page .hello-voice-permission input[data-hello-voice-toggle] {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  opacity: 0 !important;
  cursor: pointer;
}
body.hello-page .hello-voice-switch {
  position: relative;
  display: block;
  flex: 0 0 66px;
  width: 66px;
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--hello-line);
  border-radius: 999px;
  background: #333c49;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
  transition: background .22s ease, border-color .22s ease;
}
body.hello-page .hello-voice-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  transition: transform .22s cubic-bezier(.2,.75,.25,1);
}
html[data-cy-color-scheme="light"] body.hello-page .hello-voice-switch { background: #d4dce2 !important; border-color: rgba(48,68,79,.1) !important; }
body.hello-page .hello-voice-permission input:checked + .hello-voice-switch,
html[data-cy-color-scheme="light"] body.hello-page .hello-voice-permission input:checked + .hello-voice-switch {
  border-color: transparent !important;
  background: linear-gradient(155deg, #d1eeeb, #96d8d0) !important;
  box-shadow: none;
}
body.hello-page .hello-voice-permission input:checked + .hello-voice-switch::after { transform: translateX(24px); }
body.hello-page .hello-voice-permission input:focus-visible + .hello-voice-switch { outline: 3px solid var(--hello-accent); outline-offset: 5px; }
.hello-app .hello-voice-status {
  min-height: 21px;
  max-width: 360px;
  margin: 10px auto 0;
  padding: 0;
  color: var(--hello-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.hello-step-voice .hello-actions { margin-top: 22px; }
body.hello-page .hello-primary.hello-voice-continue {
  min-height: 56px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 999px;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #373a3b !important;
  box-shadow: 0 6px 0 #080b0d;
}
html[data-cy-color-scheme="light"] body.hello-page .hello-primary.hello-voice-continue {
  border-color: transparent !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #373a3b !important;
  box-shadow: 0 6px 0 #080b0d !important;
}
body.hello-page .hello-primary.hello-voice-continue:active:not(:disabled) { box-shadow: 0 4px 0 #080b0d !important; }
.hello-step-voice .hello-voice-permission { animation: hello-rise-plain .58s cubic-bezier(.2,.75,.25,1) 250ms both; }
@media (max-width:600px) {
  .hello-app .hello-step-voice .hello-title { max-width: 380px; font-size: 21px; }
  .hello-voice-orb { width: min(100%, 284px); margin-top: 4px; margin-bottom: 0; }
  .hello-app .hello-voice-permission { font-size: 17px; }
  .hello-step-voice .hello-actions { margin-top: 19px; }
}
@media (max-width:360px) {
  .hello-app .hello-step-voice .hello-title { font-size: 19px; }
  .hello-voice-orb { width: min(100%, 252px); }
}
@media (max-height:700px) and (min-width:601px) {
  .hello-voice-orb { width: 252px; margin-top: 0; }
  .hello-app .hello-step-voice .hello-title { font-size: 23px; }
  .hello-step-voice .hello-actions { margin-top: 14px; }
}
@media (max-height:650px) and (max-width:600px) {
  .hello-voice-orb { width: min(100%, 220px); margin-top: 0; }
  .hello-app .hello-step-voice .hello-title { font-size: 19px; }
  .hello-step-voice .hello-actions { margin-top: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .hello-step-voice .hello-voice-orb,
  .hello-step-voice .hello-voice-permission { animation: none !important; }
  body.hello-page .hello-voice-switch,
  body.hello-page .hello-voice-switch::after { transition: none !important; }
}

/* Narration finishes before its choices appear. Consent is independent of sound. */
.hello-app.is-enhanced [data-hello-permission-controls][hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}
.hello-app .hello-voice-retry {
  min-height: 44px;
  margin: 2px auto 8px;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hello-text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
html[data-cy-color-scheme="light"] body.hello-page .hello-voice-retry {
  background: transparent !important;
  color: var(--hello-text) !important;
  box-shadow: none !important;
}
.hello-step-voice [data-hello-permission-controls].is-revealed {
  animation: hello-rise-plain .5s cubic-bezier(.2,.75,.25,1) both;
}
.hello-app .hello-step-interest .hello-title {
  max-width: 540px;
  margin: 0 auto;
  font-size: 24px;
  line-height: 1.45;
}
.hello-app .hello-step-interest .hello-description {
  max-width: 490px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.65;
}
.hello-step-interest .hello-voice-status { margin-top: 0; }
.hello-interest-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.hello-interest-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 430px);
  margin: 10px auto 0;
}
.hello-app .hello-interest-option {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--hello-text);
  cursor: pointer;
}
.hello-interest-card {
  --hello-interest-glow: 173, 114, 241;
  position: relative;
  display: flex;
  min-height: 122px;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 24px 16px 18px;
  border: 1px solid var(--hello-line);
  border-radius: 22px;
  background: var(--hello-surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .4s ease, box-shadow .4s ease;
}
.hello-interest-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0;
  background: radial-gradient(128% 105% at 50% 116%, rgba(var(--hello-interest-glow),.48), rgba(var(--hello-interest-glow),.17) 46%, transparent 74%), linear-gradient(180deg, transparent 20%, rgba(var(--hello-interest-glow),.12));
  transition: opacity .5s cubic-bezier(.32,.72,.3,1);
  pointer-events: none;
}
.hello-interest-radio:checked + .hello-interest-card {
  border-color: rgba(var(--hello-interest-glow),.6);
  box-shadow: 0 0 0 1px rgba(var(--hello-interest-glow),.22), 0 18px 40px -24px rgba(var(--hello-interest-glow),.6), inset 0 1px 0 rgba(255,255,255,.05);
}
.hello-interest-radio:checked + .hello-interest-card::before { opacity: 1; }
.hello-interest-card .hello-option-check { top: 11px; right: 11px; width: 19px; height: 19px; }
.hello-interest-card .hello-option-check svg { width: 14px; height: 14px; }
.hello-interest-radio:checked + .hello-interest-card .hello-option-check { border-color: transparent; background: #c8a0ff; }
.hello-interest-radio:checked + .hello-interest-card .hello-option-check svg { opacity: 1; }
.hello-interest-icon { position: relative; z-index: 1; width: 27px; height: 27px; color: #c39af8; flex: 0 0 27px; }
.hello-app .hello-interest-label { position: relative; z-index: 1; color: var(--hello-text); font-size: 14px; font-weight: 600; line-height: 1.4; text-wrap: balance; }
.hello-interest-radio:focus-visible + .hello-interest-card { outline: 2px solid #bb8af7; outline-offset: 5px; }
.hello-app .hello-interest-undecided {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 8px auto 0;
  padding: 9px 14px;
  border-radius: 12px;
  color: var(--hello-muted);
  cursor: pointer;
}
.hello-interest-undecided > span { padding: 3px 2px; border-bottom: 1px solid transparent; font-size: 13px; font-weight: 500; line-height: 1.5; transition: color .2s ease, border-color .2s ease; }
.hello-interest-undecided .hello-interest-radio:checked + span { border-bottom-color: #bb8af7; color: var(--hello-text); }
.hello-interest-undecided .hello-interest-radio:focus-visible + span { outline: 2px solid #bb8af7; outline-offset: 5px; border-radius: 4px; }
.hello-step-interest .hello-actions { margin-top: 15px; }
html[data-cy-color-scheme="light"] body.hello-page .hello-interest-card { border-color: var(--hello-line) !important; background: var(--hello-surface) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important; }
html[data-cy-color-scheme="light"] body.hello-page .hello-interest-radio:checked + .hello-interest-card { border-color: rgba(var(--hello-interest-glow),.6) !important; box-shadow: 0 0 0 1px rgba(var(--hello-interest-glow),.22), 0 18px 40px -24px rgba(var(--hello-interest-glow),.6), inset 0 1px 0 rgba(255,255,255,.8) !important; }
html[data-cy-color-scheme="light"] body.hello-page .hello-interest-label,
html[data-cy-color-scheme="light"] body.hello-page .hello-interest-undecided .hello-interest-radio:checked + span { color: var(--hello-text) !important; }
html[data-cy-color-scheme="light"] body.hello-page .hello-interest-icon { color: #8a54cd !important; }
html[data-cy-color-scheme="light"] body.hello-page .hello-interest-radio:checked + .hello-interest-card::before { opacity: .78; }
.hello-interest-choices.is-revealed .hello-interest-option { animation: hello-rise-plain .6s cubic-bezier(.2,.75,.25,1) both; }
.hello-interest-choices.is-revealed .hello-interest-option:nth-child(2) { animation-delay: 90ms; }
.hello-interest-choices.is-revealed .hello-interest-option:nth-child(3) { animation-delay: 180ms; }
.hello-interest-choices.is-revealed .hello-interest-option:nth-child(4) { animation-delay: 270ms; }
.hello-interest-choices.is-revealed .hello-interest-undecided { animation: hello-rise-plain .55s cubic-bezier(.2,.75,.25,1) 360ms both; }
.hello-interest-choices.is-revealed .hello-actions { animation-delay: 440ms; }
@media (hover:hover) and (pointer:fine) {
  .hello-interest-option:hover .hello-interest-card { transform: translateY(-3px); }
  .hello-interest-option:hover .hello-interest-card::before { opacity: .8; }
  .hello-interest-undecided:hover > span { color: var(--hello-text); }
}
@media (max-width:600px) {
  .hello-app .hello-step-interest .hello-title { font-size: 21px; }
  .hello-app .hello-step-interest .hello-description { margin-top: 12px; font-size: 14px; line-height: 1.6; }
  .hello-interest-options { gap: 10px; }
  .hello-interest-card { min-height: 115px; padding: 24px 10px 16px; gap: 11px; border-radius: 19px; }
  .hello-app .hello-interest-label { font-size: 13px; }
  .hello-step-interest .hello-actions { margin-top: 10px; }
}
@media (max-width:360px) {
  .hello-app .hello-step-interest .hello-title { font-size: 19px; }
  .hello-app .hello-step-interest .hello-description { font-size: 13px; }
  .hello-interest-card { padding-right: 8px; padding-left: 8px; }
}
@media (prefers-reduced-motion:reduce) {
  .hello-step-voice [data-hello-permission-controls].is-revealed,
  .hello-interest-choices.is-revealed .hello-interest-option,
  .hello-interest-choices.is-revealed .hello-interest-undecided { animation: none !important; }
  .hello-step-interest .hello-voice-orb,
  .hello-interest-card,
  .hello-interest-card::before,
  .hello-interest-undecided > span { transition: none !important; }
  .hello-interest-option:hover .hello-interest-card { transform: none; }
}

/* Starting-point choices share the interest cards' purple hover and selection. */
.hello-step-level .hello-interest-options { grid-template-columns: 1fr; width: min(100%,500px); }
.hello-step-level .hello-level-card { min-height: 100px; flex-direction: row; justify-content: flex-start; gap: 17px; padding: 20px 40px 20px 20px; text-align: left; }
.hello-level-symbol { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 34px; width: 34px; }
.hello-level-symbol [data-hello-standard-icon] { display: flex; }
body.hello-page .hello-level-emoji { font-family: 'Apple Color Emoji',sans-serif !important; font-size: 30px; line-height: 1.2; }
.hello-level-copy { position: relative; z-index: 1; display: grid; min-width: 0; gap: 6px; }
.hello-app .hello-level-description { color: var(--hello-muted); font-size: 13px; font-weight: 500; line-height: 1.5; }
html[data-cy-color-scheme="light"] body.hello-page .hello-level-description { color: var(--hello-muted) !important; }
.hello-step-level .hello-actions { margin-top: 24px; }
@media (max-width:600px) {
  .hello-step-level .hello-level-card { min-height: 100px; gap: 13px; padding: 18px 32px 18px 14px; }
  .hello-app .hello-step-level .hello-interest-label { font-size: 14px; }
  .hello-app .hello-level-description { font-size: 12px; }
  .hello-step-level .hello-actions { margin-top: 20px; }
}

/* The closing narration keeps its full message readable above the shared orb. */
.hello-step-final .hello-copy { gap: 20px; }
.hello-final-story { display: grid; gap: 14px; width: 100%; }
.hello-app .hello-step-final .hello-description { max-width: 520px; font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.hello-step-final .hello-voice-status { margin-top: 0; }
.hello-step-final .hello-actions { margin-top: 20px; animation: none; }
.hello-app.is-enhanced [data-hello-final-controls][hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.hello-step-final [data-hello-final-controls].is-revealed { animation: hello-rise-plain .6s cubic-bezier(.2,.75,.25,1) both; }
@media (max-width:600px) {
  .hello-step-final .hello-copy { gap: 16px; }
  .hello-final-story { gap: 12px; }
  .hello-app .hello-step-final .hello-description { max-width: 100%; font-size: 14px; line-height: 1.6; }
  .hello-step-final .hello-actions { margin-top: 16px; }
}
@media (prefers-reduced-motion:reduce) {
  .hello-step-final [data-hello-final-controls].is-revealed { animation: none !important; }
}
