.access-dialog {
  width: min(1000px, calc(100% - 48px));
  max-width: none;
  height: min(800px, calc(100dvh - 48px));
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: #0c223b;
  box-shadow: 0 32px 120px #03162c55;
  overscroll-behavior: none;
}
.access-dialog::backdrop {
  background: #071c35a8;
  backdrop-filter: blur(7px);
}
.access-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  position: absolute;
  inset: 0;
  min-height: 0;
}
.access-story {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
  padding: 42px 34px 32px;
  color: white;
  background: linear-gradient(145deg, #174576, #112b48 65%, #0c223b);
}
.access-logo {
  width: 168px;
  height: auto;
}
.access-story-copy {
  margin-top: 64px;
}
.access-kicker {
  color: #b9d9ff;
  font-size: 14px;
  margin-bottom: 16px;
}
.access-story h2 {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.access-story-copy > p:last-child {
  color: #c4d8ed;
  font-size: 17px;
  line-height: 1.6;
  margin-top: 22px;
}
.access-steps {
  list-style: none;
  padding: 0;
  margin: 42px 0;
  display: grid;
  gap: 24px;
}
.access-steps li {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #a9c4e3;
}
.access-steps li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #7d9ab466;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}
.access-steps strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
}
.access-steps small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}
.access-steps [aria-current] {
  color: #fff;
}
.access-steps [aria-current] > span {
  background: #c4e4ff;
  color: #173551;
  border-color: transparent;
}
.access-review-note {
  margin-top: auto;
  font-size: 14px;
  color: #b6cfe8;
  line-height: 1.6;
  max-width: 255px;
}
.access-watermark {
  position: absolute;
  width: 410px;
  height: 410px;
  right: -180px;
  bottom: -145px;
  opacity: 0.035;
  z-index: -1;
}
.access-main {
  background: #fff;
  padding: 22px 40px 28px;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
}
.access-main > * {
  flex-shrink: 0;
}
#access-form {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
#access-form .access-actions {
  margin-top: auto;
  padding-top: 24px;
}
.access-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.access-demo-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #3e6288;
  background: #eef5fc;
}
.access-close {
  display: grid;
  place-items: center;
  height: 44px;
  width: 44px;
  margin-right: -12px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #52677e;
}
.access-close:hover {
  background: #f0f4f8;
  color: #14263b;
}
.access-step-caption {
  font-size: 14px;
  color: #45648a;
  margin: 12px 0;
}
.access-main h2 {
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -1.4px;
}
.access-main h2:focus {
  outline: 0;
}
.access-description {
  font-size: 17px;
  color: #52677e;
  line-height: 1.5;
  margin: 14px 0 24px;
  max-width: 460px;
}
.access-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0;
  margin: 0;
  border: 0;
}
.access-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.access-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
}
.access-field-wide {
  grid-column: 1 / -1;
}
.access-field input,
.access-field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid #cbd6e2;
  border-radius: 9px;
  color: #14263b;
  background: #fbfcfe;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.access-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2352677e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
}
.access-field input::placeholder {
  color: #697d93;
}
.access-field input:focus,
.access-field select:focus {
  outline: 0;
  border-color: #1769df;
  box-shadow: 0 0 0 3px #1769df1a;
  background-color: #fff;
}
.access-field [aria-invalid="true"] {
  border-color: #b22f3c;
}
.access-error {
  min-height: 1.4em;
  margin-top: -3px;
  color: #a62332;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
.access-fields {
  row-gap: 4px;
}
.access-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.access-submit {
  width: 100%;
  border-radius: 10px;
  color: white;
  background: #1769df;
  min-height: 52px;
}
.access-submit:hover {
  background: #0e54bb;
  transform: none;
}
.access-submit .icon {
  width: 20px;
}
.access-back {
  border: 0;
  background: transparent;
  color: #455e78;
  font-size: 16px;
  padding: 14px 0;
}
.access-back:hover,
.access-skip:hover {
  color: #1769df;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.access-prototype-note {
  font-size: 14px;
  line-height: 1.5;
  color: #60748a;
  margin-top: 16px;
  text-align: center;
}
.access-choice-group {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}
.access-choice-group legend {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.access-choice-group > p {
  font-size: 14px;
  color: #60748a;
  margin-top: 6px;
}
.access-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.access-segments label,
.access-interest-grid label {
  position: relative;
  cursor: pointer;
}
.access-segments input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.access-segments span {
  display: block;
  border: 1px solid #cbd6e2;
  border-radius: 9px;
  padding: 14px;
  font-size: 17px;
  text-align: center;
}
.access-segments input:checked + span {
  border-color: #1769df;
  background: #edf5ff;
  color: #1257b7;
  box-shadow: inset 0 0 0 1px #1769df;
}
.access-segments input:focus-visible + span {
  outline: 3px solid #1769df44;
  outline-offset: 3px;
}
.access-interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.access-interest-grid label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #d2dce6;
  border-radius: 10px;
  padding: 13px 16px;
}
.access-interest-grid input {
  margin-top: 1px;
  accent-color: #1769df;
  width: 19px;
  height: 19px;
  margin: 0;
  flex-shrink: 0;
}
.access-interest-grid label:has(input:checked) {
  border-color: #1769df;
  background: #f0f6ff;
}
.access-interest-grid strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
}
.access-interest-grid small {
  display: block;
  font-size: 14px;
  color: #60748a;
  margin-top: 4px;
}
.access-next-note {
  font-size: 14px;
  line-height: 1.5;
  color: #52677e;
  border-left: 2px solid #b8d5f5;
  padding-left: 14px;
}
.access-next-note strong {
  color: #263e58;
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}
.access-skip {
  display: block;
  border: 0;
  padding: 12px;
  margin: 4px auto 0;
  background: transparent;
  color: #52677e;
  font-size: 14px;
}
.access-complete {
  width: 100%;
  max-width: 460px;
  margin: 24px auto 0;
}
.access-complete-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: auto auto 24px;
  border: 1px solid #d0e4fb;
  border-radius: 24px;
  color: #1769df;
  background: #edf5ff;
  box-shadow: 0 0 0 10px #f7faff;
}
.access-complete-icon svg {
  width: 34px;
  height: 34px;
}
.access-dialog[data-step="3"] .access-step-line {
  display: none;
}
.access-dialog[data-step="3"] #access-heading {
  text-align: center;
}
.access-dialog[data-step="3"] .access-description {
  text-align: center;
  margin: 16px auto 0;
  max-width: 410px;
}
.access-dialog[data-step="3"] .access-complete {
  margin-bottom: auto;
}
.access-complete-next {
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid #dfe9f3;
  border-radius: 16px;
  background: #f7faff;
}
.access-complete-next h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}
.access-complete-next ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.access-complete-next li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.access-complete-next li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #e5effb;
  color: #346092;
  border-radius: 50%;
  font-size: 14px;
}
.access-complete-next strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}
.access-complete-next p {
  color: #52677e;
  font-size: 15px;
  line-height: 1.5;
}
@media (max-height: 740px) {
  .access-complete-icon { margin-top: 24px; width: 60px; height: 60px; }
}
@media (min-width: 801px) and (max-height: 820px) {
  .access-main {
    padding: 16px 32px 20px;
  }
  .access-story {
    padding: 32px 30px;
  }
  .access-story-copy {
    margin-top: 42px;
  }
  .access-description {
    margin-block: 10px 18px;
  }
  .access-fields {
    gap: 4px 12px;
  }
  .access-field input,
  .access-field select {
    min-height: 46px;
    padding-block: 10px;
  }
  .access-actions {
    margin-top: 18px;
  }
  .access-interest-grid label {
    padding: 10px 12px;
  }
  .access-interest-grid small {
    display: none;
  }
  .access-context .access-next-note {
    font-size: 14px;
  }
  .access-choice-group {
    margin-bottom: 20px;
  }
  .access-steps {
    margin-block: 32px;
  }
}
@media (max-width: 800px) {
  .access-dialog {
    width: min(560px, calc(100% - 24px));
    height: min(800px, calc(100dvh - 24px));
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }
  .access-layout {
    grid-template-columns: 1fr;
  }
  .access-story {
    display: none;
  }
  .access-main {
    padding: 16px 24px 24px;
  }
  .access-main h2 {
    font-size: 32px;
  }
  .access-interest-grid {
    grid-template-columns: 1fr;
  }
  .access-description {
    font-size: 16px;
  }
  .access-topline {
    margin-bottom: 4px;
  }
  .access-fields {
    gap: 4px 12px;
  }
}
@media (max-width: 370px) {
  .access-main {
    padding-inline: 18px;
  }
  .access-main h2 {
    font-size: 29px;
  }
  .access-fields {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .access-dialog * {
    transition: none !important;
  }
}

.access-step-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.access-step-line .access-skip {
  margin: 0;
  padding: 10px 0 10px 10px;
  white-space: nowrap;
}
@media (min-width: 801px) and (max-height: 820px) {
  .access-main {
    padding-bottom: 16px;
  }
  .access-context .access-choice-group {
    margin-bottom: 16px;
  }
}
@media (min-width: 801px) and (max-height: 820px) {
  .access-story-copy {
    margin-top: 30px;
  }
  .access-steps {
    margin-block: 24px;
  }
  .access-main {
    padding-bottom: 12px;
  }
  .access-step-caption {
    margin-block: 8px;
  }
  .access-prototype-note {
    margin-top: 10px;
  }
}
@media (max-width: 800px) {
  .access-interest-grid {
    grid-template-columns: 1fr 1fr;
  }
  .access-interest-grid label {
    gap: 8px;
    padding: 14px 10px;
    align-items: center;
  }
  .access-interest-grid small {
    display: none;
  }
  .access-interest-grid strong {
    line-height: 1.35;
  }
}
@media (max-width: 800px) {
  .access-choice-group {
    margin-bottom: 20px;
  }
}

@media (max-width: 1000px) and (max-height: 600px) {
  .access-dialog {
    width: min(680px, calc(100% - 24px));
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .access-layout {
    grid-template-columns: 1fr;
  }
  .access-story {
    display: none;
  }
}
