@font-face {
  font-family: Geist;
  src: url("/funnels/meghan/assets/geist-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/funnels/meghan/assets/geist-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/funnels/meghan/assets/geist-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/funnels/meghan/assets/geist-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  font-family: Geist, Arial, sans-serif;
  color: #080808;
  background: #faf7ef;
  font-synthesis: none;
  --ivory: #faf7ef;
  --border: #c1c9d9;
  --muted: #535f75;
  --blue: #1391ff;
  --orange: #eb753a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button:disabled {
  cursor: not-allowed;
}
button {
  background: none;
  border: 0;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #075cb2;
  outline-offset: 4px;
}
button:hover:not(:disabled) {
  filter: brightness(0.98);
}
.primary {
  min-height: 3rem;
  padding: 0.75rem 2rem;
  color: white;
  background: var(--blue);
  font-size: 1.0625rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.15s;
  line-height: 1.3;
}
.primary:hover:not(:disabled) {
  background: #0f7fe6;
}
.primary:disabled {
  opacity: 0.5;
}
.secondary {
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 500;
}
.text-button {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--muted);
  padding: 0.5rem;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  background: white;
  padding: 1rem;
  border: 2px solid var(--blue);
}
.skip-link:focus {
  top: 1rem;
}
.demo-footer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
  text-align: center;
}
.demo-footer button {
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}
.demo-footer strong {
  font-weight: 500;
}
.welcome {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.welcome-stage {
  position: relative;
  width: min(100%, 1400px);
  min-height: min(900px, 100svh);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  padding: 6% 9.3% 5%;
  gap: 0;
}
.welcome-portrait {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 92%;
  width: auto;
  max-width: none;
  z-index: 2;
}
.welcome-decoration {
  position: absolute;
  inset: 38% 0 0;
  opacity: 0.2;
  background: url("/funnels/meghan/assets/welcome-decorations.webp") center center / cover
    no-repeat;
}
.welcome-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 16px;
  padding: clamp(1.5rem, 2.2857vw, 2rem);
  z-index: 1;
  width: 29.9vw;
  max-width: 419px;
}
.welcome-card p {
  color: var(--muted);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.32;
  letter-spacing: -0.3px;
}
.welcome-card strong {
  color: black;
  font-weight: 600;
}
.welcome-card.second {
  grid-column: 3;
  z-index: 3;
  border-radius: 0 16px 16px 16px;
  margin-top: 17.9vw;
  margin-left: -3.2vw;
  max-width: 422px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.legal-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}
.legal-links button {
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mobile-welcome-photo {
  display: none;
}
.header {
  border-bottom: 1px solid var(--border);
  background: var(--ivory);
  position: relative;
  z-index: 5;
}
.header-inner {
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 45px;
  padding: 8px 12px;
}
.header h1 {
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.4px;
  text-align: center;
}
.home {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 2px 0;
}
.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.country {
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.progress {
  height: 10px;
  background: var(--ivory);
  overflow: hidden;
}
.progress span {
  height: 100%;
  display: block;
  background: var(--blue);
  border-radius: 0 2px 2px 0;
  transition: width 0.3s;
}
.quiz-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.quiz-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 84px);
}
.guide {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portrait-circle {
  width: min(500px, 96%);
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: white;
  overflow: hidden;
  position: relative;
}
.portrait-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: scale(1.35) translateY(80px);
}
.guide-caption {
  font-size: 0.75rem;
  line-height: 17px;
  color: var(--muted);
  margin-top: 1rem;
}
.guide-caption strong {
  color: black;
  font-weight: 600;
}
.hint-stack {
  position: absolute;
  right: 0;
  top: calc(50% + 40px);
  transform: translateY(-50%);
  width: 288px;
  display: grid;
  gap: 1rem;
  z-index: 2;
}
.hint {
  background: white;
  border: 1px solid var(--border);
  padding: 22px 24px;
  border-radius: 0 16px 16px 16px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.412;
  letter-spacing: -0.3px;
}
.hint strong {
  font-weight: 600;
  color: black;
}
.mobile-hint {
  display: none;
}
.question-zone {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}
.card-stack {
  position: relative;
  width: 100%;
  max-width: 636px;
}
.card-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(10px, 10px);
  border: 1px solid var(--border);
  border-radius: 20px;
  pointer-events: none;
}
.question-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  min-height: 600px;
  max-height: calc(100svh - 140px);
  overflow: hidden;
}
.step-tag {
  position: absolute;
  right: 40px;
  top: -1px;
  width: 106px;
  height: 76px;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 20px;
  border-radius: 0 0 8px 8px;
}
.question-head {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex-shrink: 0;
}
.back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  align-self: flex-start;
  padding: 0;
  min-height: 22px;
  max-width: 55%;
}
.back:disabled {
  opacity: 0.5;
}
.question-card h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3214;
  letter-spacing: -0.75px;
}
.subtitle {
  font-size: 1.0625rem;
  line-height: 24px;
  letter-spacing: -0.3px;
}
.question-body {
  flex: 1;
  overflow: auto;
  min-height: 0;
  margin-top: 2rem;
  scrollbar-width: thin;
  scrollbar-color: #c1c9d9 transparent;
  padding: 2px;
}
.card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
  flex-shrink: 0;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: white;
  line-height: 1.3;
  letter-spacing: -0.25px;
  font-size: 1.0625rem;
  min-width: 0;
}
.choice.selected {
  border-color: var(--blue);
  background: rgba(19, 145, 255, 0.15);
}
.choice:hover {
  border-color: #a0a8b8;
}
.choice img {
  width: 100px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}
.choice strong {
  font-weight: 700;
}
.choice .radio {
  align-self: flex-start;
}
.radio {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.selected .radio {
  background: black;
  border-color: black;
}
.selected .radio::after {
  content: "✓";
  color: white;
  font: 10px Arial;
}
.list-options {
  display: grid;
  gap: 12px;
}
.list-options .choice {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap: 12px;
}
.state-picker {
  display: flex;
  gap: 24px;
  min-height: 0;
}
.state-list {
  display: grid;
  gap: 12px;
  overflow: auto;
  max-height: 500px;
  flex: 1;
  padding-right: 8px;
  scrollbar-width: thin;
}
.state-list .choice {
  font-weight: 600;
  padding: 20px 24px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.alphabet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.alphabet button {
  font-size: 0.875rem;
  line-height: 20px;
  padding: 0 4px;
}
.alphabet button:disabled {
  color: #b9bec7;
}
.alphabet button:hover {
  color: var(--blue);
}
textarea {
  width: 100%;
  resize: vertical;
  min-height: 160px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: white;
  line-height: 1.5;
  font-size: 1.0625rem;
}
textarea::placeholder,
input::placeholder {
  color: #939baa;
}
.counter {
  text-align: right;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.75rem;
}
.slider-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.slider-card + .slider-card {
  margin-top: 12px;
}
.slider-label {
  font-size: 1.0625rem;
  line-height: 24px;
  letter-spacing: -0.3px;
}
.slider-label label {
  font-weight: 600;
}
.slider-help {
  font-size: 0.9375rem;
  line-height: 20px;
  margin-top: 4px;
}
.range-wrapper {
  padding: 0 10px;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  line-height: 16px;
  color: var(--muted);
  margin-top: 10px;
}
input[type="range"] {
  appearance: none;
  display: block;
  width: 100%;
  height: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(
    to right,
    #000 var(--fill, 0%),
    var(--ivory) var(--fill, 0%)
  );
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid black;
  border-radius: 4px;
  background: white;
  box-shadow: 0 2px 3px #0003;
}
input[type="range"]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border: 2px solid black;
  border-radius: 4px;
  background: white;
}
input[type="range"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 24px;
  font-size: 1.0625rem;
  cursor: pointer;
}
.checkbox-label input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: black;
  margin: 4px 0 0;
}
.slider-card hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}
.muted {
  color: var(--muted);
}
.amount-zero {
  color: #9ca6b8;
}
.work-choices .choice {
  gap: 24px;
}
.work-choices img {
  width: 140px;
  max-width: 100%;
  height: 100px;
  object-fit: contain;
}
.image-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.work-check {
  margin-top: 2rem;
}
.wage-fields {
  margin-top: 2rem;
  display: grid;
  gap: 24px;
}
.field {
  display: grid;
  gap: 10px;
}
.field label {
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 24px;
}
.field label span {
  font-weight: 400;
}
.text-input {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  font-size: 1.0625rem;
  min-width: 0;
}
.input-wrap {
  position: relative;
}
.input-wrap .prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.input-wrap input {
  padding-left: 44px;
}
.error {
  color: #b42318;
  font-size: 0.875rem;
  line-height: 1.4;
  margin-top: 4px;
}
.wage-preview {
  font-size: 0.9375rem;
  color: var(--muted);
}
.grouped-stack {
  display: grid;
  gap: 16px;
}
.grouped-stack .question-card {
  min-height: 0;
  max-height: none;
}
.grouped-stack .question-head {
  gap: 2rem;
}
.grouped-stack .question-card:not(:first-child) .back,
.grouped-stack .question-card:not(:first-child) .step-tag {
  display: none;
}
.grouped-stack .question-card:not(:first-child) .question-head {
  gap: 1rem;
}
.grouped-stack .question-body {
  overflow: visible;
}
.grouped-zone {
  align-items: flex-start;
  overflow: auto;
  max-height: calc(100svh - 84px);
}
.grouped-stack .card-actions {
  margin-top: 2rem;
}
.pattern-surface {
  position: relative;
  min-height: calc(100svh - 1.8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.pattern-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: url("/funnels/meghan/assets/geometric-pattern.webp") center/cover no-repeat;
  mask-image: radial-gradient(
    ellipse 80% 70% at 50% 40%,
    black 20%,
    transparent 100%
  );
  pointer-events: none;
}
.loading-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 100%;
  text-align: center;
}
.loading-art {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 348px;
  max-width: 100%;
  height: 272px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 50px #30024214;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-art img {
  width: 230px;
  max-width: 75%;
  height: 140px;
  object-fit: contain;
}
.loading-art .progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.loading-content h2 {
  font-size: 1.75rem;
  line-height: 37px;
  letter-spacing: -0.75px;
  font-weight: 600;
}
.loading-content p {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 16px;
}
.contact-card {
  position: relative;
  max-width: 500px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  padding: 32px 40px;
  box-shadow: 0 15px 80px #0000000d;
}
.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.75rem;
  line-height: 37px;
  font-weight: 600;
  letter-spacing: -0.75px;
}
.contact-card h2 img {
  width: 32px;
  height: 32px;
}
.contact-intro {
  font-size: 1.125rem;
  line-height: 26px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.25px;
}
.contact-card form {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.contact-fields {
  display: grid;
  gap: 20px;
}
.contact-fields .field {
  gap: 8px;
}
.consent {
  font-size: 0.8125rem;
  line-height: 18px;
  color: var(--muted);
  gap: 8px;
}
.consent input {
  accent-color: var(--blue);
  margin-top: 2px;
}
.contact-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.contact-actions .primary {
  flex: 1;
}
.contact-actions .text-button {
  font-size: 0.9375rem;
  white-space: nowrap;
}
.demo-note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 16px;
}
.exit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 64px;
  max-width: 710px;
  text-align: center;
  position: relative;
}
.exit-card img {
  width: 200px;
  max-width: 75%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 32px;
}
.exit-card h2 {
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.75px;
  margin-bottom: 24px;
}
.exit-card p {
  font-size: 1.0625rem;
  line-height: 1.625;
  color: var(--muted);
  margin-bottom: 24px;
}
.exit-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.result-page {
  background: white;
  min-height: 100svh;
}
.result-content {
  max-width: 1100px;
  margin: auto;
  padding: 48px 24px;
}
.result-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.result-heading h2 {
  font-size: 2.75rem;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 16px 0;
}
.demo-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  background: #fff0d9;
  color: #874000;
  border-radius: 20px;
  padding: 6px 12px;
}
.result-range {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--ivory);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.result-range h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--muted);
}
.range-amount {
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 12px 0;
  line-height: 1.2;
}
.result-range p {
  color: var(--muted);
  line-height: 1.5;
}
.result-person {
  height: 240px;
  max-width: 100%;
  justify-self: center;
  object-fit: contain;
}
.result-disclaimer {
  padding: 16px;
  border: 1px solid #d6dce6;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 24px 0 40px;
  color: #44516a;
}
.breakdown h3 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}
.breakdown-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #dde2e9;
}
.breakdown-row img {
  width: 68px;
  height: 54px;
  object-fit: contain;
}
.breakdown-text {
  flex: 1;
  min-width: 0;
}
.breakdown-text strong {
  font-size: 1.0625rem;
}
.breakdown-text p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-top: 4px;
}
.breakdown-amount {
  font-weight: 600;
  text-align: right;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}
.summary-box {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  line-height: 1.6;
}
.summary-box h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.summary-box dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px 16px;
}
.summary-box dt {
  font-weight: 600;
}
.summary-box dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.summary-box details {
  margin-top: 16px;
}
.summary-box summary {
  cursor: pointer;
  font-weight: 600;
}
.summary-box details p {
  margin-top: 8px;
}
.legal-page {
  max-width: 760px;
  margin: 48px auto;
  padding: 24px;
  line-height: 1.7;
}
.legal-page h2 {
  margin: 24px 0 12px;
}
.legal-page p {
  margin: 12px 0;
}
dialog {
  width: min(92vw, 520px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  background: white;
  box-shadow: 0 20px 80px #0003;
}
dialog::backdrop {
  background: #18233666;
}
dialog h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  padding-right: 25px;
  margin-bottom: 16px;
}
dialog p {
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 28px;
  padding: 4px;
}
.dialog-done {
  margin-top: 12px;
}
.no-script {
  padding: 48px;
  max-width: 650px;
  margin: auto;
}
.emoji {
  font-size: 24px;
}
.country-note {
  font-size: 0.9375rem;
  color: var(--muted);
}
@media (min-width: 1400px) {
  .welcome-card {
    width: 419px;
  }
  .welcome-card.second {
    width: 422px;
    margin-top: 250px;
  }
}
@media (max-width: 1100px) and (min-width: 1024px) {
  .question-card {
    padding: 2rem;
  }
  .hint-stack {
    width: 250px;
  }
  .hint {
    padding: 20px;
  }
  .step-tag {
    right: 32px;
  }
  .choice {
    padding: 20px;
  }
  .portrait-circle img {
    transform: scale(1.35) translateY(65px);
  }
}
@media (max-width: 1023px) {
  .welcome {
    display: block;
    overflow: visible;
  }
  .welcome-stage {
    display: flex;
    flex-direction: column;
    padding: 64px 24px 32px;
    min-height: 0;
    gap: 0;
    max-width: 620px;
    margin: auto;
  }
  .welcome-portrait,
  .welcome-decoration {
    display: none;
  }
  .mobile-welcome-photo {
    display: block;
    width: min(342px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--border);
    background: white;
    position: relative;
    align-self: center;
    flex-shrink: 0;
  }
  .mobile-welcome-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 15%;
    transform: scale(1.05) translate(8px, 18px);
  }
  .welcome-card,
  .welcome-card.second {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    position: relative;
    margin: 32px 0 0;
  }
  .welcome-card p {
    font-size: 1.375rem;
    line-height: 30px;
  }
  .welcome-card.second {
    margin-top: 24px;
  }
  .welcome-card.second .primary {
    display: block;
    margin: 32px 0 24px auto;
    min-height: 40px;
    font-size: 0.9375rem;
    padding: 0.6rem 1.5rem;
  }
  .quiz-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .guide {
    display: none;
  }
  .mobile-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
  }
  .mobile-hint p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 22px;
    letter-spacing: -0.3px;
    flex: 1;
  }
  .mobile-hint strong {
    font-weight: 600;
    color: black;
  }
  .mini-portrait {
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: white;
    flex-shrink: 0;
  }
  .mini-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    transform: scale(1.35) translateY(15px);
  }
  .question-zone {
    padding: 0 16px 24px;
    overflow: visible;
    flex: 1;
    align-items: flex-start;
  }
  .card-stack {
    max-width: 636px;
  }
  .card-stack::before {
    display: none;
  }
  .question-card {
    padding: 32px;
    min-height: 0;
    max-height: none;
  }
  .question-head {
    gap: 24px;
  }
  .question-body {
    margin-top: 24px;
    overflow: visible;
  }
  .state-picker {
    max-height: 350px;
  }
  .state-list {
    max-height: 350px;
  }
  .alphabet {
    display: none;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .choice {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .choice img {
    flex-shrink: 0;
  }
  .choice .choice-text {
    flex: 1;
  }
  .choice .radio {
    align-self: center;
  }
  .work-choices {
    grid-template-columns: 1fr 1fr;
  }
  .work-choices .choice {
    flex-direction: column;
    align-items: flex-start;
  }
  .work-choices .radio {
    align-self: flex-start;
  }
  .grouped-zone {
    max-height: none;
  }
  .result-heading h2 {
    font-size: 2.25rem;
  }
  .range-amount {
    font-size: 2.25rem;
  }
}
@media (max-width: 767px) {
  .question-card {
    padding: 20px;
    border-radius: 16px;
  }
  .step-tag {
    right: 12px;
    width: 80px;
    height: 56px;
    font-size: 0.8125rem;
    line-height: 18px;
  }
  .question-head {
    gap: 16px;
  }
  .question-card h2 {
    font-size: 1.375rem;
    line-height: 30px;
    letter-spacing: -0.6px;
  }
  .subtitle {
    font-size: 1.0625rem;
    line-height: 24px;
  }
  .question-body {
    margin-top: 16px;
  }
  .card-actions {
    margin-top: 16px;
  }
  .choice {
    padding: 12px;
    gap: 12px;
    font-size: 0.9375rem;
  }
  .choice img {
    width: 60px;
    height: 48px;
    border-radius: 8px;
  }
  .choice .radio {
    margin-left: auto;
  }
  .state-list .choice {
    font-size: 1.0625rem;
    padding: 20px 24px;
  }
  .list-options {
    grid-template-columns: 1fr 1fr;
  }
  .list-options .choice {
    padding: 16px;
    align-items: center;
    font-size: 1.0625rem;
  }
  .attorney-options,
  .followup-options {
    grid-template-columns: 1fr;
  }
  .slider-card {
    padding: 16px;
    gap: 16px;
  }
  .slider-label {
    font-size: 0.9375rem;
    line-height: 22px;
  }
  .work-choices .choice {
    padding: 16px;
    gap: 16px;
  }
  .work-choices img {
    width: 100%;
    height: 80px;
  }
  .work-choices .image-row {
    position: relative;
    padding-right: 16px;
  }
  .work-choices .radio {
    position: absolute;
    right: 0;
    top: 0;
  }
  .work-check,
  .wage-fields {
    margin-top: 24px;
  }
  .grouped-stack .question-head {
    gap: 16px;
  }
  .pattern-surface {
    padding: 24px 16px;
  }
  .contact-card {
    padding: 24px;
  }
  .contact-card h2 {
    font-size: 1.375rem;
    line-height: 30px;
    letter-spacing: -0.5px;
  }
  .contact-intro {
    font-size: 1rem;
    line-height: 22px;
  }
  .contact-card form {
    gap: 16px;
    margin-top: 16px;
  }
  .contact-fields {
    gap: 16px;
  }
  .contact-fields .field label {
    font-size: 0.9375rem;
  }
  .contact-card .text-input {
    font-size: 1rem;
    min-height: 44px;
  }
  .consent {
    font-size: 0.75rem;
    line-height: 16px;
  }
  .exit-card {
    padding: 32px 24px;
  }
  .exit-card h2 {
    font-size: 2.125rem;
  }
  .result-content {
    padding: 32px 16px;
  }
  .result-range {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .result-person {
    display: none;
  }
  .result-heading h2 {
    font-size: 2rem;
  }
  .range-amount {
    font-size: 2rem;
  }
  .breakdown-row {
    flex-wrap: wrap;
  }
  .breakdown-amount {
    flex-basis: 100%;
    text-align: left;
    margin-left: 84px;
  }
  .summary-box {
    padding: 20px;
  }
  .summary-box dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .summary-box dd {
    margin-bottom: 12px;
  }
  .loading-content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .loading-content {
    gap: 32px;
  }
}
@media (max-width: 374px) {
  .header-inner {
    gap: 8px;
  }
  .header h1 {
    font-size: 0.9375rem;
  }
  .home {
    font-size: 0.8125rem;
  }
  .country {
    font-size: 1rem;
  }
  .welcome-stage {
    padding: 40px 20px 24px;
  }
  .mobile-welcome-photo {
    width: 100%;
  }
  .question-zone {
    padding: 0 12px 20px;
  }
  .question-card {
    padding: 16px;
  }
  .question-card h2 {
    font-size: 1.3rem;
  }
  .list-options .choice {
    padding: 12px;
    font-size: 1rem;
  }
  .contact-card {
    padding: 20px 16px;
  }
  .contact-actions {
    flex-wrap: wrap;
  }
  .contact-actions .primary {
    min-width: 100%;
  }
  .work-choices .choice {
    padding: 12px;
  }
  .demo-footer {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .header,
  .demo-footer,
  .result-actions,
  .skip-link {
    display: none;
  }
  .result-content {
    max-width: none;
    padding: 0;
  }
  .result-range {
    break-inside: avoid;
  }
  .result-person {
    display: none;
  }
  .result-range {
    grid-template-columns: 1fr;
  }
  .breakdown-row {
    break-inside: avoid;
  }
  .result-disclaimer {
    color: black;
  }
  .summary-box {
    break-inside: avoid;
  }
}
/* Keep the reference's nested mobile card scroll while allowing enlarged text to grow. */
@media (max-width: 1023px) {
  .question-zone {
    padding-top: 32px;
  }
  .question-card {
    max-height: max(28rem, calc(100svh - 140px));
  }
  .question-body {
    overflow: auto;
    min-height: 0;
  }
  .grouped-stack .question-card {
    max-height: none;
  }
  .grouped-stack .question-body {
    overflow: visible;
  }
}
.result-heading {
  max-width: 972px;
  margin-bottom: 64px;
}
.result-heading h2 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
}
.result-range {
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.result-portrait {
  min-height: 480px;
  align-self: stretch;
  background: white url("/funnels/meghan/assets/geometric-pattern.webp") center/cover;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.result-person {
  width: 85%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
}
.result-figures {
  padding: 40px 32px;
  text-align: center;
}
.result-figures .demo-badge {
  margin-bottom: 32px;
}
.range-amount {
  font-size: 3rem;
  line-height: 1.3;
}
.result-figures p + p {
  margin-top: 16px;
}
@media (max-width: 1023px) {
  .result-heading h2 {
    font-size: 3rem;
  }
  .result-portrait {
    display: none;
  }
  .result-range {
    grid-template-columns: 1fr;
  }
  .result-heading {
    margin-bottom: 32px;
  }
}
@media (max-width: 767px) {
  .result-heading h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  .result-figures {
    padding: 32px 24px;
  }
  .range-amount {
    font-size: 1.75rem;
    letter-spacing: -0.3px;
  }
  .result-figures .demo-badge {
    margin-bottom: 24px;
  }
}
