.u-document {
  --u-ink: #10152a;
  --u-accent: #5835aa;
  --u-light: #c4aeff;
  --u-muted: #54586a;
  margin: 0;
  background: #f6f5fa;
  color: var(--u-ink);
  font-family: Sora, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}
.u-document *, .u-document *::before, .u-document *::after { box-sizing: border-box; }
.u-document [hidden] { display: none !important; }
.u-document :focus-visible { outline: 3px solid #7640c4; outline-offset: 4px; }
.u-document a { color: var(--u-accent); }
.u-document input, .u-document textarea, .u-document button { font: inherit; }
.u-document button { cursor: pointer; }
.u-document p, .u-document h1, .u-document h2 { margin: 0; }
.u-document a, .u-document button, .u-document input { touch-action: manipulation; }
.u-frame { width: min(1192px, calc(100% - 80px)); margin-inline: auto; }
.u-skip { position: absolute; top: 8px; left: 8px; padding: 12px 18px; background: white; color: #10152a; border-radius: 5px; z-index: 5; transform: translateY(-160%); }
.u-skip:focus { transform: none; }
.u-header { background: var(--u-ink); color: white; }
.u-bar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.u-logo { display: inline-flex; align-items: center; min-height: 48px; }
.u-logo img { display: block; width: 125px; height: auto; max-height: 50px; object-fit: contain; }
.u-document .u-back { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-height: 44px; font-weight: 600; font-size: .87rem; }
.u-back:hover, .u-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.u-diagnostic { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 100px); align-items: start; padding-block: clamp(52px, 7vw, 104px) 80px; min-height: calc(100vh - 155px); }
.u-kicker { font-size: .77rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--u-accent); }
.u-document .u-brief h1, .u-document .u-legal h1 { font: 700 clamp(3.25rem, 6vw, 5.8rem)/.99 Sora, sans-serif; letter-spacing: -.04em; color: var(--u-ink); margin-block: 26px; }
.u-brief h1 span, .u-legal h1 span { color: var(--u-accent); }
.u-document .u-intro { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--u-muted); max-width: 42ch; line-height: 1.7; }
.u-progress { list-style: none; padding: 0; margin: 42px 0 0; border-top: 1px solid #d6d3df; max-width: 330px; }
.u-progress li { padding: 10px 0; display: flex; align-items: center; gap: 13px; color: var(--u-muted); font-size: .87rem; border-bottom: 1px solid #d6d3df; }
.u-dot { width: 7px; height: 7px; border: 1px solid #777282; border-radius: 50%; flex: none; }
.u-progress li[aria-current] { color: var(--u-accent); font-weight: 700; }
.u-progress li[aria-current] .u-dot { background: var(--u-accent); border-color: var(--u-accent); box-shadow: 0 0 0 3px #e6ddfa; }
.u-progress li[data-done] .u-dot { background: var(--u-ink); border-color: var(--u-ink); }
.u-panel { border: 1px solid #d8d5e0; border-radius: 20px; background: #fff; padding: clamp(24px, 4vw, 48px); }
.u-step-info { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 30px; }
.u-step-info>span { font: 600 .78rem/1.3 Sora, sans-serif; color: var(--u-accent); }
.u-bars { display: flex; width: 116px; gap: 4px; }
.u-bars i { display: block; height: 4px; background: #e5e1eb; border-radius: 8px; flex: 1; }
.u-bars i.is-current { background: var(--u-accent); }
.u-document .u-note { background: #f4efff; padding: 12px 15px; color: #3e3453; font-size: .85rem; line-height: 1.6; border-radius: 8px; margin-bottom: 26px; }
.u-document .u-note a, .u-document .u-consent a, .u-document .u-legal a, .u-document .u-details a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; overflow-wrap: anywhere; }
.u-panel fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.u-panel legend, .u-document .u-result h2 { display: block; padding: 0; width: 100%; font: 650 clamp(1.6rem, 3vw, 2.25rem)/1.13 Sora, sans-serif; letter-spacing: -.04em; color: var(--u-ink); }
.u-panel legend:focus, .u-result h2:focus { outline: none; }
.u-options { display: grid; gap: 8px; margin-top: 26px; }
.u-document .u-option { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 11px 15px; border: 1px solid #bbb7c5; border-radius: 8px; background: #fff; color: var(--u-ink); text-align: start; font: 450 .93rem/1.45 Sora, sans-serif; }
.u-option::before { content: ""; flex: 0 0 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; }
.u-document .u-option[aria-pressed="true"] { background: #f2edff; border-color: var(--u-accent); box-shadow: inset 0 0 0 1px var(--u-accent); }
.u-option[aria-pressed="true"]::before { border: 5px solid currentColor; color: var(--u-accent); }
.u-consent input { appearance: auto; flex: none; margin: 0; accent-color: var(--u-accent); width: 17px; height: 17px; }
@media (hover: hover) { .u-document .u-option:hover { border-color: var(--u-accent); } }
.u-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.u-actions .u-quiet { margin-right: auto; }
.u-document .u-primary { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 22px; background: var(--u-ink); border: 1px solid var(--u-ink); border-radius: 30px; text-decoration: none; font: 600 .9rem/1.4 Sora, sans-serif; color: white; text-align: center; }
.u-document .u-primary:hover { background: #34235e; }
.u-document .u-primary[disabled], .u-document .u-quiet[disabled] { cursor: wait; opacity: .65; }
.u-document .u-quiet, .u-document .u-fallback { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; background: transparent; color: var(--u-ink); padding: 6px 0; border: 0; font: 600 .87rem/1.4 Sora, sans-serif; }
.u-quiet:hover, .u-fallback { text-decoration: underline; text-underline-offset: 3px; }
.u-document .u-fallback { color: var(--u-accent); margin-top: 12px; }
.u-document .u-hint { margin: 12px 0 18px; font-size: .93rem; color: var(--u-muted); }
.u-fields { display: grid; gap: 16px; }
.u-fields label, .u-details label { display: block; font-size: .9rem; font-weight: 600; }
.u-fields small { color: var(--u-muted); font-weight: 400; font-size: .8rem; }
.u-fields input, .u-details textarea { width: 100%; min-height: 45px; border-radius: 7px; border: 1px solid #aca8b6; margin-top: 5px; background: #fff; color: var(--u-ink); padding: 9px 11px; font-size: 1rem; line-height: 1.4; }
.u-document .u-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; font-size: .8rem; line-height: 1.6; color: var(--u-muted); }
.u-consent input { margin-top: 3px; }
.u-document .u-error { background: #fff0ef; color: #8a2019; border-radius: 6px; padding: 10px 12px; margin-top: 20px; font-size: .87rem; }
.u-result { display: grid; gap: 20px; }
.u-result>p { color: var(--u-muted); }
.u-result>a, .u-result>button { justify-self: start; }
.u-details { border-top: 1px solid #d8d5e0; border-bottom: 1px solid #d8d5e0; padding: 10px 0; }
.u-details summary { padding: 8px 0; cursor: pointer; font-weight: 600; font-size: .88rem; }
.u-document .u-details p { margin: 8px 0; }
.u-details textarea { resize: vertical; }
.u-footer { background: var(--u-ink); color: #d6d8e8; }
.u-footer-inner { min-height: 77px; padding-block: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; font-size: .78rem; }
.u-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.u-footer a { color: #ece9fa; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.u-document .u-legal { padding-block: clamp(44px, 6vw, 96px) 80px; }
.u-legal article { width: min(100%, 740px); margin-inline: auto; }
.u-document .u-legal h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-block: 20px; }
.u-document .u-legal .u-intro { max-width: 56ch; }
.u-document .u-date { font-size: .8rem; color: var(--u-muted); margin: 20px 0 32px; }
.u-legal section { border-top: 1px solid #d6d3df; padding-block: 23px; }
.u-document .u-legal h2 { font: 650 clamp(1.24rem, 2.4vw, 1.62rem)/1.25 Sora, sans-serif; letter-spacing: -.04em; color: var(--u-ink); }
.u-document .u-legal section p { margin-top: 13px; line-height: 1.75; color: #484c60; }
@media (max-width: 830px) {
  .u-frame { width: min(100% - 40px, 665px); }
  .u-diagnostic { grid-template-columns: 1fr; gap: 30px; padding-block: 38px 50px; }
  .u-progress { display: none; }
  .u-document .u-brief h1 { font-size: clamp(2.7rem, 8vw, 4rem); margin-block: 10px 14px; }
  .u-brief h1 br { display: none; }
  .u-brief h1 br::after { content: ' '; }
  .u-document .u-intro { max-width: 48ch; }
}
@media (max-width: 560px) {
  .u-frame { width: calc(100% - 32px); }
  .u-bar { min-height: 66px; }
  .u-logo img { width: 105px; }
  .u-panel { padding: 22px 17px; border-radius: 14px; }
  .u-actions { gap: 8px; }
  .u-step-info { margin-bottom: 22px; }
  .u-footer-inner { gap: 0 20px; }
  .u-document .u-legal h1 { overflow-wrap: anywhere; }
}
@media (forced-colors: active) {
  .u-dot, .u-bars i { border: 1px solid CanvasText; }
  .u-progress li[aria-current] .u-dot, .u-bars i.is-current { background: Highlight; forced-color-adjust: none; }
}

/* The same form also opens above the current section of the homepage. */
html:has(.u-modal[open]) { overflow: hidden; }
body:has(.u-modal[open]) { padding-inline-end: var(--u-previous-scrollbar, 0px); }
dialog.u-modal {
  position: fixed;
  inset: auto 0 auto;
  top: var(--u-center, 50%);
  transform: translateY(-50%);
  width: min(36rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(var(--u-available, 100dvh) - 1.5rem);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--u-ink);
  box-shadow: 0 28px 85px #0b07165c;
  overflow: hidden;
}
dialog.u-modal[open] { display: flex; flex-direction: column; }
dialog.u-modal::backdrop { background: rgba(12, 11, 26, .72); }
.u-modal .u-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: none;
  min-height: 66px;
  padding: 8px clamp(18px, 4.5vw, 32px);
  color: #f7f4ff;
  background: #191627;
}
.u-modal .u-modal-header h2 { font: 550 1.13rem/1.3 Sora, sans-serif; letter-spacing: -.025em; }
.u-modal .u-modal-close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid #766d88;
  border-radius: 50%;
  color: #f7f4ff;
}
.u-modal .u-modal-close:hover { background: #3e3450; }
.u-modal .u-modal-close:focus-visible { outline-color: #ead4ff; outline-offset: 2px; }
.u-modal .u-modal-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(20px, 3.4vw, 32px);
  border: 0;
  border-radius: 0;
  scroll-padding-block: 12px;
}
.u-modal .u-step-info { margin-bottom: 18px; }
.u-modal .u-panel legend { font-size: clamp(1.5rem, 3.8vw, 1.95rem); }
.u-modal .u-options { margin-top: 18px; gap: 6px; }
.u-modal .u-actions { margin-top: 20px; }
.u-modal .u-loading { color: var(--u-muted); }
.u-modal-retry { display: grid; justify-items: start; gap: 14px; }
@media (max-width: 430px) {
  dialog.u-modal { border-radius: 14px; width: calc(100% - 1rem); max-height: calc(var(--u-available, 100dvh) - 1rem); }
  .u-modal .u-modal-header { min-height: 55px; padding: 6px 15px; }
  .u-modal .u-modal-body { padding: 20px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.u-modal[open] { animation: u-dialog-enter .18s ease-out; }
  dialog.u-modal[open]::backdrop { animation: u-backdrop-enter .18s ease-out; }
  @keyframes u-dialog-enter {
    from { opacity: 0; transform: translateY(calc(-50% + 8px)); }
    to { opacity: 1; transform: translateY(-50%); }
  }
  @keyframes u-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
}

.u-document .u-service { margin: 0 0 1rem; color: var(--u-muted); font-size: .95rem; }
.u-service strong { display: block; color: var(--u-accent); font-size: 1.05rem; }
