/* Generated from diagnostico-demo.css by npm run build:integrated-css. */
@font-face {
  font-family: "Anton";
  src: url("demo-assets/fonts/anton-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("demo-assets/fonts/inter-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

.rg-diagnostic {
  color-scheme: dark;
  --blue: #2f6bff;
  --blue-bright: #78a1ff;
  --ink: #050914;
  --panel: #0c1424;
  --panel-raised: #111d31;
  --line: #2b3d5c;
  --text: #f7f9ff;
  --muted: #9ba9c0;
  --success: #52d7a3;
  --danger: #ff7183;
  --focus: #a9c2ff;
  --shadow: 0 28px 80px rgb(0 0 0 / 42%);
  --page-gutter: clamp(0.75rem, 3.5vw, 1.5rem);
}

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

.rg-diagnostic {
  min-width: 20rem;
  min-height: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
}

.rg-diagnostic {
  min-width: 20rem;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 3%, rgb(47 107 255 / 18%), transparent 30rem),
    var(--ink);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.rg-diagnostic button,
.rg-diagnostic input {
  color: inherit;
  font: inherit;
}

.rg-diagnostic button,
.rg-diagnostic label {
  -webkit-tap-highlight-color: transparent;
}

.rg-diagnostic button {
  cursor: pointer;
}

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

.rg-diagnostic p,
.rg-diagnostic h1,
.rg-diagnostic h2,
.rg-diagnostic dl,
.rg-diagnostic dd,
.rg-diagnostic fieldset,
.rg-diagnostic legend {
  margin: 0;
}

.rg-diagnostic fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.rg-diagnostic [hidden] {
  display: none !important;
}

.rg-diagnostic .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rg-diagnostic .noscript-message {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.8rem;
  padding: 2rem;
  background: #050914;
  color: var(--text);
  text-align: center;
}

.rg-diagnostic .noscript-message strong {
  font-size: 1.25rem;
}

.rg-diagnostic .noscript-message span {
  max-width: 32rem;
  color: var(--muted);
}

.rg-diagnostic .noscript-message a {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  color: var(--text);
}

.rg-diagnostic .prototype-note {
  position: fixed;
  top: max(0.45rem, env(safe-area-inset-top));
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100vw - 1.5rem);
  min-height: 2rem;
  padding: 0.4rem 0.75rem;
  transform: translateX(-50%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(5 9 20 / 86%);
  box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 25%);
  color: #c1ccdf;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: blur(0.75rem);
}

.rg-diagnostic .prototype-dot {
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0.25rem rgb(82 215 163 / 12%);
}

.rg-diagnostic .shell {
  min-height: 100dvh;
}

.rg-diagnostic .story {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  background: #0a1324;
  isolation: isolate;
}

.rg-diagnostic .story::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 46%, rgb(47 107 255 / 15%) 46.2%, transparent 46.6%);
  content: "";
  pointer-events: none;
}

.rg-diagnostic .story-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.88) contrast(1.06);
}

.rg-diagnostic .story-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgb(4 8 17 / 18%) 0%, rgb(4 8 17 / 54%) 44%, rgb(4 8 17 / 96%) 100%),
    linear-gradient(100deg, rgb(5 9 20 / 10%), rgb(5 9 20 / 42%));
}

.rg-diagnostic .story-inner {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem var(--page-gutter) 2.15rem;
}

.rg-diagnostic .story-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rg-diagnostic .brand {
  color: var(--text);
  font-size: 1.13rem;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
}

.rg-diagnostic .brand span {
  color: var(--blue-bright);
}

.rg-diagnostic .miami-mark {
  padding-left: 0.65rem;
  border-left: 0.14rem solid var(--blue);
  color: rgb(226 233 245 / 78%);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.rg-diagnostic .story-copy {
  width: min(100%, 36rem);
}

.rg-diagnostic .kicker {
  margin-bottom: 0.6rem;
  color: #a9c2ff;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rg-diagnostic .story h1 {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.55rem, 12.2vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.91;
  text-transform: uppercase;
}

.rg-diagnostic .story h1 > span {
  display: block;
}

.rg-diagnostic .story h1 .accent {
  color: var(--blue-bright);
}

.rg-diagnostic .story-lead,
.rg-diagnostic .proof {
  display: none;
}

.rg-diagnostic .local-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  padding: 0;
  margin: 0.9rem 0 0;
  list-style: none;
}

.rg-diagnostic .local-strip li {
  padding: 0.38rem 0.55rem;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  background: rgb(6 11 23 / 56%);
  color: #edf2fb;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(0.5rem);
}

.rg-diagnostic .guidance-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 31rem;
  margin-top: 0.78rem;
  color: #acb8cc;
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.35;
}

.rg-diagnostic .guidance-note > span:first-child {
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 23%);
  border-radius: 50%;
  color: #dce5f5;
  font-size: 0.55rem;
  font-weight: 900;
}

.rg-diagnostic .experience {
  position: relative;
  z-index: 3;
  margin-top: -1.2rem;
  padding: 0 var(--page-gutter) max(2.5rem, env(safe-area-inset-bottom));
}

.rg-diagnostic .form-wrap {
  width: min(100%, 43rem);
  margin: 0 auto;
}

.rg-diagnostic .form-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.4rem;
  margin-bottom: 0.7rem;
}

.rg-diagnostic .mobile-brand {
  display: block;
}

.rg-diagnostic .step-label {
  color: #a7b7d1;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rg-diagnostic .language {
  display: flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0b1424;
}

.rg-diagnostic .language-button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8293af;
  font-size: 0.68rem;
  font-weight: 850;
}

.rg-diagnostic .language-button.is-active,
.rg-diagnostic .language-button[aria-pressed="true"] {
  background: #203454;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(120 161 255 / 20%);
}

.rg-diagnostic .progress {
  position: relative;
  height: 0.42rem;
  overflow: hidden;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: #19263c;
}

.rg-diagnostic .progress-fill {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  box-shadow: 0 0 1rem rgb(47 107 255 / 40%);
  transition: width 300ms ease;
}

.rg-diagnostic .progress[data-step="1"] .progress-fill {
  width: 20%;
}

.rg-diagnostic .progress[data-step="2"] .progress-fill {
  width: 40%;
}

.rg-diagnostic .progress[data-step="3"] .progress-fill {
  width: 60%;
}

.rg-diagnostic .progress[data-step="4"] .progress-fill {
  width: 80%;
}

.rg-diagnostic .progress[data-step="5"] .progress-fill,
.rg-diagnostic .progress[data-step="result"] .progress-fill {
  width: 100%;
}

.rg-diagnostic .diagnostic-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgb(17 29 49 / 98%), rgb(9 16 29 / 98%));
  box-shadow: var(--shadow);
}

.rg-diagnostic .card-body {
  padding: 1.25rem 1rem 1.15rem;
}

.rg-diagnostic .demo-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgb(43 61 92 / 72%);
  color: #8798b5;
  font-size: 0.65rem;
  font-weight: 650;
  line-height: 1.4;
}

.rg-diagnostic .demo-privacy > span:first-child {
  color: var(--success);
  font-size: 0.56rem;
  line-height: 1.55;
}

.rg-diagnostic .screen,
.rg-diagnostic .result-screen {
  animation: screen-in 280ms ease both;
}

@keyframes screen-in {
  from {
    transform: translateY(0.45rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rg-diagnostic .screen h2,
.rg-diagnostic .result-screen h2 {
  max-width: 34rem;
  scroll-margin-top: 4rem;
  color: var(--text);
  font-size: clamp(1.55rem, 7.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.rg-diagnostic .screen h2:focus,
.rg-diagnostic .result-screen h2:focus,
.rg-diagnostic #dialogTitle:focus {
  outline: none;
}

.rg-diagnostic .screen-sub {
  max-width: 35rem;
  margin-top: 0.55rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.rg-diagnostic .choice-fieldset + .choice-fieldset,
.rg-diagnostic .choice-fieldset-spaced,
.rg-diagnostic .zone-fieldset {
  margin-top: 1.25rem;
}

.rg-diagnostic .section-label {
  width: 100%;
  margin-bottom: 0.6rem;
  color: #9aabca;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rg-diagnostic .field-hint {
  margin: -0.25rem 0 0.65rem;
  color: #7586a3;
  font-size: 0.63rem;
  line-height: 1.4;
}

.rg-diagnostic .answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.rg-diagnostic .answer-card,
.rg-diagnostic .choice-pill {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.rg-diagnostic .choice-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.rg-diagnostic .answer-content {
  position: relative;
  display: flex;
  min-height: 5.6rem;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 0.8rem 0.72rem;
  overflow: hidden;
  border: 1px solid #2b3e5f;
  border-radius: 0.82rem;
  background: #0a1323;
  color: #e0e7f3;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.rg-diagnostic .answer-content::before {
  position: absolute;
  right: -2rem;
  bottom: -2.5rem;
  width: 5.8rem;
  height: 5.8rem;
  transform: rotate(28deg);
  border: 1px solid rgb(120 161 255 / 0%);
  content: "";
  transition: border-color 160ms ease;
}

.rg-diagnostic .answer-content strong {
  display: block;
  max-width: calc(100% - 1.15rem);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
}

.rg-diagnostic .answer-content small {
  display: block;
  margin-top: 0.3rem;
  color: #8999b5;
  font-size: 0.61rem;
  line-height: 1.35;
}

.rg-diagnostic .answer-check {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  display: grid;
  width: 1.18rem;
  height: 1.18rem;
  place-items: center;
  transform: scale(0.72);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.61rem;
  font-weight: 900;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.rg-diagnostic .choice-input:checked + .answer-content {
  border-color: #6593ff;
  background: linear-gradient(135deg, #142c5b, #0f203e);
  box-shadow: inset 0 0 0 1px rgb(102 149 255 / 30%), 0 0.45rem 1.6rem rgb(9 23 50 / 35%);
}

.rg-diagnostic .choice-input:checked + .answer-content::before {
  border-color: rgb(120 161 255 / 17%);
}

.rg-diagnostic .choice-input:checked + .answer-content small {
  color: #b6c5df;
}

.rg-diagnostic .choice-input:checked + .answer-content .answer-check {
  transform: scale(1);
  opacity: 1;
}

.rg-diagnostic .pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rg-diagnostic .pill-grid-even {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rg-diagnostic .level-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.rg-diagnostic .pill-content {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.55rem 0.78rem;
  border: 1px solid #2b3e5f;
  border-radius: 999px;
  background: #0a1323;
  color: #a7b4c9;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.rg-diagnostic .choice-input:checked + .pill-content {
  border-color: #6593ff;
  background: #162d5b;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(120 161 255 / 22%);
}

.rg-diagnostic .choice-input[aria-invalid="true"] + .answer-content,
.rg-diagnostic .choice-input[aria-invalid="true"] + .pill-content {
  border-color: var(--danger);
}

.rg-diagnostic .choice-input:focus-visible + .answer-content,
.rg-diagnostic .choice-input:focus-visible + .pill-content,
.rg-diagnostic .privacy-check input:focus-visible + .custom-checkbox {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.18rem;
}

.rg-diagnostic .choice-fieldset:disabled {
  opacity: 0.55;
}

.rg-diagnostic .online-zone-note {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  margin-top: 1.25rem;
  border: 1px solid #31599f;
  border-radius: 0.8rem;
  background: #10244a;
  color: #c2d2f3;
  font-size: 0.73rem;
  font-weight: 750;
}

.rg-diagnostic .online-zone-note > span:first-child {
  color: var(--blue-bright);
  font-size: 1.1rem;
}

.rg-diagnostic .fiction-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 1.1rem;
  border: 1px solid #45567a;
  border-radius: 0.75rem;
  background: #0c172a;
  color: #afbdd3;
  font-size: 0.68rem;
  line-height: 1.45;
}

.rg-diagnostic .fiction-warning > span:first-child {
  display: grid;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  border: 1px solid #6c7fa3;
  border-radius: 50%;
  color: #d7e1f2;
  font-size: 0.62rem;
  font-weight: 900;
}

.rg-diagnostic .field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.rg-diagnostic .text-field {
  display: block;
  color: #b7c3d5;
  font-size: 0.69rem;
  font-weight: 750;
}

.rg-diagnostic .text-field small {
  color: #7586a3;
  font-size: inherit;
  font-weight: 550;
}

.rg-diagnostic .text-field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  margin-top: 0.38rem;
  border: 1px solid #2b3e5f;
  border-radius: 0.72rem;
  outline: none;
  background: #08111f;
  color: #fff;
  font-size: 0.85rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.rg-diagnostic .text-field input::placeholder {
  color: #687a98;
  opacity: 1;
}

.rg-diagnostic .text-field input:focus {
  border-color: #6593ff;
  box-shadow: 0 0 0 0.2rem rgb(47 107 255 / 18%);
}

.rg-diagnostic .text-field input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 0.2rem rgb(255 113 131 / 12%);
}

.rg-diagnostic .fill-demo-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  margin-top: 0.85rem;
  border: 1px solid #39598b;
  border-radius: 0.7rem;
  background: #10213d;
  color: #b9cff7;
  font-size: 0.68rem;
  font-weight: 800;
}

.rg-diagnostic .fill-demo-button > span:first-child {
  font-size: 1rem;
  line-height: 1;
}

.rg-diagnostic .privacy-check {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  align-items: start;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.95rem 0 0;
  color: #8899b5;
  font-size: 0.65rem;
  line-height: 1.5;
  cursor: pointer;
}

.rg-diagnostic .privacy-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rg-diagnostic .custom-checkbox {
  display: grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  margin-top: 0.1rem;
  border: 1px solid #52627d;
  border-radius: 0.3rem;
  background: #08111f;
  color: transparent;
  font-size: 0.7rem;
  font-weight: 900;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.rg-diagnostic .privacy-check input:checked + .custom-checkbox {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.rg-diagnostic .privacy-check input[aria-invalid="true"] + .custom-checkbox {
  border-color: var(--danger);
}

.rg-diagnostic .wizard-actions {
  display: grid;
  grid-template-areas:
    "back time next"
    "error error error";
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  background: rgb(5 10 20 / 64%);
}

.rg-diagnostic .back-button,
.rg-diagnostic .next-button {
  min-height: 2.75rem;
  border-radius: 0.72rem;
  font-size: 0.72rem;
  font-weight: 850;
}

.rg-diagnostic .back-button {
  grid-area: back;
  padding: 0.65rem 0.45rem;
  border: 0;
  background: transparent;
  color: #97a7c1;
}

.rg-diagnostic .back-button span[aria-hidden="true"] {
  margin-right: 0.2rem;
}

.rg-diagnostic .next-button {
  grid-area: next;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.7rem 1rem;
  border: 0;
  background: linear-gradient(135deg, var(--blue), #4e82ff);
  box-shadow: 0 0.65rem 1.7rem rgb(47 107 255 / 27%);
  color: #fff;
}

.rg-diagnostic .time-note {
  grid-area: time;
  color: #71829f;
  font-size: 0.59rem;
  font-weight: 650;
  text-align: center;
}

.rg-diagnostic .error-message {
  grid-area: error;
  min-height: 1rem;
  color: var(--danger);
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: right;
}

.rg-diagnostic .error-message:empty {
  min-height: 0;
}

.rg-diagnostic .result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 2rem;
  padding: 0.42rem 0.65rem;
  border: 1px solid #315ca8;
  border-radius: 999px;
  background: #112750;
  color: #b3c9fa;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rg-diagnostic .result-badge > span:first-child {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0.25rem rgb(82 215 163 / 12%);
}

.rg-diagnostic .result-screen h2 {
  margin-top: 0.95rem;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.35rem, 12vw, 3.85rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.rg-diagnostic .result-screen h2 strong {
  color: var(--blue-bright);
  font-weight: inherit;
}

.rg-diagnostic .result-lead {
  max-width: 35rem;
  margin-top: 0.65rem;
  margin-bottom: 1.15rem;
  color: #b2bfd3;
  font-size: 0.74rem;
  line-height: 1.55;
}

.rg-diagnostic .route-summary {
  overflow: hidden;
  border: 1px solid #2d446a;
  border-radius: 0.95rem;
  background: rgb(8 17 31 / 50%);
}

.rg-diagnostic .route-row {
  display: grid;
  grid-template-columns: minmax(6.8rem, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 0.8rem;
  min-height: 3rem;
  padding: 0.68rem 0.8rem;
  border-bottom: 1px solid #223552;
}

.rg-diagnostic .route-row:last-child {
  border-bottom: 0;
}

.rg-diagnostic .route-row dt {
  color: #8798b5;
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.35;
}

.rg-diagnostic .route-row dd {
  color: #eef3fc;
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: right;
}

.rg-diagnostic .route-row-next {
  background: rgb(47 107 255 / 8%);
}

.rg-diagnostic .route-row-next dd {
  color: #bad0ff;
}

.rg-diagnostic .result-warning {
  padding: 0.78rem 0.85rem;
  margin-top: 0.85rem;
  border: 1px solid #765b37;
  border-radius: 0.75rem;
  background: #251d15;
  color: #e8c995;
  font-size: 0.67rem;
  font-weight: 650;
  line-height: 1.5;
}

.rg-diagnostic .result-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 1rem;
}

.rg-diagnostic .result-action {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.68rem;
  font-weight: 850;
  text-align: left;
}

.rg-diagnostic .booking-action {
  border: 0;
  background: #2458d6;
  color: #fff;
  box-shadow: 0 0.65rem 1.7rem rgb(47 107 255 / 22%);
}

.rg-diagnostic .whatsapp-action {
  border: 1px solid #2f8e6c;
  background: #0f2a23;
  color: #8ae4c1;
}

.rg-diagnostic .medical-note {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  color: #72839f;
  font-size: 0.58rem;
  line-height: 1.45;
  text-align: center;
}

.rg-diagnostic .demo-dialog {
  width: min(calc(100% - 1.5rem), 28rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: auto;
  border: 1px solid #38517a;
  border-radius: 1rem;
  outline: none;
  background: #0d182a;
  box-shadow: 0 2rem 7rem rgb(0 0 0 / 65%);
  color: var(--text);
}

.rg-diagnostic .demo-dialog::backdrop {
  background: rgb(1 4 10 / 78%);
  backdrop-filter: blur(0.25rem);
}

.rg-diagnostic .dialog-content {
  padding: 1.5rem;
}

.rg-diagnostic .dialog-kicker {
  margin-bottom: 0.4rem;
  color: #8eadf0;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rg-diagnostic .demo-dialog h2 {
  font-size: 1.45rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.rg-diagnostic .demo-dialog #dialogBody {
  margin-top: 0.65rem;
  color: #9faec5;
  font-size: 0.78rem;
  line-height: 1.6;
}

.rg-diagnostic .close-dialog {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  margin-top: 1.15rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 850;
}

.rg-diagnostic button:focus-visible,
.rg-diagnostic a:focus-visible,
.rg-diagnostic input:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.18rem;
}

@media (hover: hover) and (pointer: fine) {
  .rg-diagnostic .answer-card:hover .answer-content,
  .rg-diagnostic .choice-pill:hover .pill-content {
    transform: translateY(-0.08rem);
    border-color: #547bc2;
  }

  .rg-diagnostic .language-button:hover,
  .rg-diagnostic .back-button:hover {
    color: #fff;
  }

  .rg-diagnostic .fill-demo-button:hover,
  .rg-diagnostic .whatsapp-action:hover {
    border-color: #65a98d;
  }

  .rg-diagnostic .next-button:hover,
  .rg-diagnostic .booking-action:hover,
  .rg-diagnostic .close-dialog:hover {
    filter: brightness(1.08);
  }
}

@media (min-width: 31rem) {
  .rg-diagnostic .card-body {
    padding: 1.5rem 1.35rem 1.35rem;
  }

  .rg-diagnostic .wizard-actions {
    padding: 1rem 1.35rem;
  }

  .rg-diagnostic .level-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .rg-diagnostic .field-full {
    grid-column: 1 / -1;
  }

  .rg-diagnostic .result-actions {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

@media (min-width: 60rem) {
  .rg-diagnostic .shell {
    display: grid;
    grid-template-columns: minmax(23rem, 0.92fr) minmax(35rem, 1.08fr);
  }

  .rg-diagnostic .story {
    position: sticky;
    top: 0;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .rg-diagnostic .story-photo {
    object-position: center 18%;
  }

  .rg-diagnostic .story-shade {
    background:
      linear-gradient(180deg, rgb(4 8 17 / 16%) 0%, rgb(4 8 17 / 56%) 48%, rgb(4 8 17 / 96%) 100%),
      linear-gradient(90deg, transparent 62%, rgb(5 9 20 / 35%));
  }

  .rg-diagnostic .story-inner {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 2.7rem clamp(2rem, 5vw, 4.5rem) 3rem;
  }

  .rg-diagnostic .story h1 {
    font-size: clamp(3.8rem, 6.4vw, 6.15rem);
  }

  .rg-diagnostic .story-lead {
    display: block;
    max-width: 32rem;
    margin-top: 1rem;
    color: #c7d0df;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .rg-diagnostic .local-strip {
    margin-top: 1.25rem;
  }

  .rg-diagnostic .local-strip li {
    padding: 0.52rem 0.7rem;
    font-size: 0.66rem;
  }

  .rg-diagnostic .proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: 1.45rem;
    border-top: 1px solid rgb(255 255 255 / 18%);
  }

  .rg-diagnostic .proof p {
    min-width: 0;
  }

  .rg-diagnostic .proof strong,
  .rg-diagnostic .proof span {
    display: block;
  }

  .rg-diagnostic .proof strong {
    color: #f3f6fc;
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .rg-diagnostic .proof span {
    margin-top: 0.28rem;
    color: #9ba9bd;
    font-size: 0.58rem;
    line-height: 1.45;
  }

  .rg-diagnostic .guidance-note {
    margin-top: 1.3rem;
    font-size: 0.67rem;
  }

  .rg-diagnostic .experience {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 3.4rem clamp(1.5rem, 5vw, 4.8rem);
  }

  .rg-diagnostic .form-wrap {
    width: min(100%, 43rem);
  }

  .rg-diagnostic .form-head {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 0.8rem;
  }

  .rg-diagnostic .mobile-brand {
    display: none;
  }

  .rg-diagnostic .step-label {
    font-size: 0.7rem;
  }

  .rg-diagnostic .progress {
    margin-bottom: 1.35rem;
  }

  .rg-diagnostic .diagnostic-card {
    border-radius: 1.5rem;
  }

  .rg-diagnostic .card-body {
    padding: clamp(1.65rem, 3vw, 2.35rem);
  }

  .rg-diagnostic .demo-privacy {
    margin-bottom: 1.3rem;
  }

  .rg-diagnostic .screen h2 {
    font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  }

  .rg-diagnostic .screen-sub {
    margin-bottom: 1.45rem;
    font-size: 0.84rem;
  }

  .rg-diagnostic .answer-grid {
    gap: 0.65rem;
  }

  .rg-diagnostic .answer-content {
    min-height: 5.15rem;
    padding: 0.85rem 0.95rem;
  }

  .rg-diagnostic .answer-content strong {
    font-size: 0.79rem;
  }

  .rg-diagnostic .answer-content small {
    font-size: 0.64rem;
  }

  .rg-diagnostic .wizard-actions {
    padding: 1rem clamp(1.65rem, 3vw, 2.35rem);
  }

  .rg-diagnostic .route-row {
    padding-inline: 0.95rem;
  }
}

@media (min-width: 86rem) {
  .rg-diagnostic .shell {
    grid-template-columns: minmax(37rem, 0.94fr) minmax(42rem, 1.06fr);
  }
}

@media (max-width: 23.5rem) {
  .rg-diagnostic .prototype-note {
    font-size: 0.61rem;
  }

  .rg-diagnostic .story {
    min-height: 17rem;
  }

  .rg-diagnostic .story-inner {
    min-height: 17rem;
  }

  .rg-diagnostic .story h1 {
    font-size: 2.4rem;
  }

  .rg-diagnostic .miami-mark {
    display: none;
  }

  .rg-diagnostic .form-head {
    grid-template-columns: 1fr auto;
  }

  .rg-diagnostic .mobile-brand {
    display: none;
  }

  .rg-diagnostic .time-note {
    display: none;
  }

  .rg-diagnostic .wizard-actions {
    grid-template-areas:
      "back next"
      "error error";
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .rg-diagnostic .answer-content {
    min-height: 5.9rem;
    padding-inline: 0.62rem;
  }

  .rg-diagnostic .answer-content strong {
    font-size: 0.7rem;
  }

  .rg-diagnostic .answer-content small {
    font-size: 0.57rem;
  }

  .rg-diagnostic .route-row {
    grid-template-columns: minmax(5.6rem, 0.75fr) minmax(0, 1.25fr);
  }
}

@media (max-height: 43rem) and (min-width: 60rem) {
  .rg-diagnostic .story-inner {
    padding-block: 2rem;
  }

  .rg-diagnostic .proof,
  .rg-diagnostic .story-lead {
    display: none;
  }

  .rg-diagnostic .experience {
    align-items: flex-start;
    padding-block: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-diagnostic {
    scroll-behavior: auto;
  }

  .rg-diagnostic *,
  .rg-diagnostic *::before,
  .rg-diagnostic *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .rg-diagnostic .prototype-dot,
  .rg-diagnostic .result-badge > span:first-child {
    background: ButtonText;
  }

  .rg-diagnostic .choice-input:checked + .answer-content,
  .rg-diagnostic .choice-input:checked + .pill-content,
  .rg-diagnostic .privacy-check input:checked + .custom-checkbox {
    outline: 0.15rem solid Highlight;
  }
}
