/*
 * A multi-step questionnaire: intro, six sections, then a review of the answers.
 *
 * Sizing is container-relative, so it holds up in a column narrower than the
 * window. Inherited properties cross the shadow boundary, so anything the site
 * could set on an ancestor (colour, line height, alignment, letter spacing) is
 * pinned on the root rather than left to chance.
 *
 * Vertical padding lives on .inner, not on the root: an element cannot match a
 * container query against itself, and the narrow layout needs to change it.
 */

.MDCzqFB8r4DUhAhZy4Cy {
  /* Overridden by the theme variant below. */
  --fg: #000000;
  --muted: #4e4e4e;
  --line: #e2e2e2;
  --bg: transparent;
  --card: #f7f7f8;
  --danger: #b42318;
  --ring: var(--accent);
  --accent: #4c00ff;
  --font: Figtree, Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --max-width: 46rem;
  --scroll-offset: 96px;

  box-sizing: border-box;
  display: block;
  /* width:100% is load-bearing: inline-size containment makes this element
     contribute nothing to intrinsic width, so a parent that shrink-wraps its
     child would collapse it to zero. */
  container-type: inline-size;
  width: 100%;
  color: var(--fg);
  background: var(--bg);
  color-scheme: light;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
}

.lTniBZSON9EMdV0ZuZmj {
  --fg: #ffffff;
  --muted: #b9bcc6;
  --line: #2e313b;
  --card: #14161c;
  --danger: #fda29b;
  /* The brand violet disappears against a dark page. */
  --ring: #ffffff;

  color-scheme: dark;
}

.MDCzqFB8r4DUhAhZy4Cy *,
.MDCzqFB8r4DUhAhZy4Cy *::before,
.MDCzqFB8r4DUhAhZy4Cy *::after {
  box-sizing: inherit;
}

.QQLazDwppjALIta3WbUf {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.MDCzqFB8r4DUhAhZy4Cy :focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.MDCzqFB8r4DUhAhZy4Cy [tabindex='-1']:focus {
  outline: none;
}

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

/* ---- Header and text ---- */

.NWEp_8T0dTYRGG7eH6Xk {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.NWEp_8T0dTYRGG7eH6Xk h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5cqi, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.ObnRDK8eRQ7rbw2a3_Mk {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.125rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.LHFJ1HF5fseCQReO53FO {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  scroll-margin-top: var(--scroll-offset);
}

.fQg9zCRbogrlPN0mVDE_ {
  display: block;
  margin-bottom: 0.125rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.Ufs7hK5kkvmYrnMwadMj {
  margin: 0 0 1rem;
}

.woH9SlQmMP7IyxoH3dIq {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--card);
}

.woH9SlQmMP7IyxoH3dIq h3 {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.woH9SlQmMP7IyxoH3dIq p {
  margin: 0 0 1rem;
}

.woH9SlQmMP7IyxoH3dIq p:last-child {
  margin-bottom: 0;
}

.woH9SlQmMP7IyxoH3dIq a:not(.CxqNcDIaIikKL54WYIZ_) {
  color: inherit;
  text-decoration: underline;
}

/* ---- Buttons ---- */

.CxqNcDIaIikKL54WYIZ_ {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.CxqNcDIaIikKL54WYIZ_:hover:not(:disabled) {
  opacity: 0.88;
}

.fplZujCKYB0VmVyV3nvj {
  border-color: var(--line);
  background: transparent;
  color: var(--fg);
}

.fplZujCKYB0VmVyV3nvj:hover:not(:disabled) {
  border-color: var(--fg);
  opacity: 1;
}

.moAHRkm7BVHMOPZMiGf2 {
  min-height: 2.25rem;
  padding: 0.25rem 0.875rem;
  font-size: 0.875rem;
}

.CxqNcDIaIikKL54WYIZ_:disabled {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
  cursor: not-allowed;
}

.jz4lGWUmYQJuh8QMsFfA {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ---- Progress and section navigation ---- */

.Uf2UWN_lIBDq1vW5wxTN {
  margin-bottom: 1rem;
}

.Uf2UWN_lIBDq1vW5wxTN label {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.Uf2UWN_lIBDq1vW5wxTN progress {
  display: block;
  width: 100%;
  height: 0.5rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  appearance: none;
}

.Uf2UWN_lIBDq1vW5wxTN progress::-webkit-progress-bar {
  background: var(--line);
}

.Uf2UWN_lIBDq1vW5wxTN progress::-webkit-progress-value {
  background: var(--accent);
  transition: width 0.2s ease;
}

.Uf2UWN_lIBDq1vW5wxTN progress::-moz-progress-bar {
  background: var(--accent);
}

.clOmDDn3rRT82695hLIA {
  margin-bottom: 2rem;
}

.clOmDDn3rRT82695hLIA ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.SSxEXFteVqcutYKf5PLn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.25rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.SSxEXFteVqcutYKf5PLn:hover:not(:disabled) {
  border-color: var(--fg);
}

.SSxEXFteVqcutYKf5PLn:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.sykfVhsBEss61yWhxy5L,
.sykfVhsBEss61yWhxy5L:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.fM9b7oKaW5qYuebj6s8U {
  font-weight: 700;
}

/* ---- Questions ---- */

.eryDFsrq3kHBVOTJb08K {
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  scroll-margin-top: var(--scroll-offset);
}

.Yp7Zk_l7dLctMiO0TjKf {
  border-color: var(--danger);
  box-shadow: inset 0 0 0 1px var(--danger);
}

.vKfr78NKLPbdDUx1VuX2 {
  /* Floating keeps a wrapped legend inside the box instead of straddling the border. */
  float: left;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0;
  font-weight: 600;
}

.vKfr78NKLPbdDUx1VuX2 + * {
  clear: both;
}

.O0wMTOieFVyZu1qSHMkr {
  color: var(--muted);
}

.DxRPXHjkjWef1J2rBNwN {
  color: var(--muted);
  font-weight: 400;
}

.GTxxL664PAmK6WwGU7qT,
.TfE2OIM6_seKkpbuyq7h {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.TfE2OIM6_seKkpbuyq7h {
  margin-bottom: 0.75rem;
}

.MkZwFCrRYJOGPuU9lvul {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.koyfureSGf95OOuiOlAI {
  margin: 0.75rem 0 0;
  color: var(--danger);
  font-weight: 600;
}

.SiT8nab6WTG8DK5fVWuj {
  display: grid;
  gap: 0.5rem;
}

.E0uBieUlojf8hFgWWgQ5 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.yOkbJH6x8Fc_iDIxz4Aj {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5625rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.yOkbJH6x8Fc_iDIxz4Aj:hover {
  border-color: var(--muted);
}

.yOkbJH6x8Fc_iDIxz4Aj:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.yOkbJH6x8Fc_iDIxz4Aj:has(input:disabled) {
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.yOkbJH6x8Fc_iDIxz4Aj input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.1875rem 0 0;
  accent-color: var(--accent);
}

.cP8fcduQW7ajrT81A6zD {
  margin: 0.5rem 0 0.25rem 2.375rem;
}

.cP8fcduQW7ajrT81A6zD label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.bpl_gRYYbgHEyMd5bRFn {
  width: 100%;
  max-width: 24rem;
  min-height: 2.5rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--muted);
  border-radius: 8px;
  background: var(--card);
  color: var(--fg);
  font: inherit;
}

.Mv_AAuoqUltnl_jyacqk {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.Mv_AAuoqUltnl_jyacqk:last-of-type {
  margin-bottom: 0;
}

.Mv_AAuoqUltnl_jyacqk legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.u54JkUZH4nvsKQsRpJtM {
  display: grid;
  gap: 1rem;
}

.u54JkUZH4nvsKQsRpJtM label {
  display: block;
  margin-bottom: 0.25rem;
}

/* ---- Error summary ---- */

.co4BBuprIvSUxePhyrlL {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--danger);
  border-radius: 10px;
  scroll-margin-top: var(--scroll-offset);
}

.co4BBuprIvSUxePhyrlL h3 {
  margin: 0 0 0.5rem;
  color: var(--danger);
  font-size: 1rem;
  font-weight: 600;
}

.co4BBuprIvSUxePhyrlL ul {
  margin: 0;
  padding-left: 1.25rem;
}

.co4BBuprIvSUxePhyrlL a {
  color: inherit;
  text-decoration: underline;
}

/* ---- Review ---- */

.LT4fK9y0ukj4FG4ZUgjt {
  margin-bottom: 2rem;
}

.JCRTqyoMOFUYAYaaAFsl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.JCRTqyoMOFUYAYaaAFsl h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.LT4fK9y0ukj4FG4ZUgjt dl {
  margin: 0;
}

.Hk7wX296cGo8J6A48_8w {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.Hk7wX296cGo8J6A48_8w dt {
  font-weight: 600;
}

.Hk7wX296cGo8J6A48_8w dd {
  margin: 0.25rem 0 0;
}

.Hk7wX296cGo8J6A48_8w ul {
  margin: 0;
  padding-left: 1.25rem;
}

.lAPCyugjeC8BW_lq0WYT {
  color: var(--muted);
  font-style: italic;
}

.Fpmz5NINyP1Gr77lE44A {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---- Follow-up form ---- */

.Xz0JRb6m0r73gBmfmdxl[hidden] {
  display: none;
}

/* ---- Narrow containers ---- */

@container (max-width: 40rem) {
  .QQLazDwppjALIta3WbUf {
    padding: 2.5rem 1rem;
  }

  .eryDFsrq3kHBVOTJb08K {
    padding: 1rem;
  }

  .SSxEXFteVqcutYKf5PLn:not(.sykfVhsBEss61yWhxy5L) .TXe3zhE5qZjhqs9ChxT9 {
    display: none;
  }

  .jz4lGWUmYQJuh8QMsFfA .CxqNcDIaIikKL54WYIZ_ {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .MDCzqFB8r4DUhAhZy4Cy *,
  .MDCzqFB8r4DUhAhZy4Cy *::before,
  .MDCzqFB8r4DUhAhZy4Cy *::after {
    transition-duration: 0.01ms !important;
  }
}

