:root {
  --ink: #1c1a2e;
  --ink-soft: #5f5b74;
  --ink-faint: #827e94;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-solid: #ffffff;
  --line: #e8e5f0;
  --line-strong: #d8d3e7;
  --purple: #6f4cff;
  --purple-deep: #5431e8;
  --purple-pale: #f1edff;
  --danger: #d43d53;
  --danger-deep: #b92940;
  --danger-pale: #fff1f3;
  --warning-pale: #fff7e6;
  --warning-ink: #8f5a00;
  --success: #1e8c66;
  --success-pale: #e9f8f2;
  --shadow: 0 28px 80px rgba(54, 38, 105, 0.16);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --page-width: 1180px;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f5fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(134, 99, 255, 0.14), transparent 31rem),
    linear-gradient(145deg, #fbfaff 0%, #f5f2fb 48%, #faf9fd 100%);
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.background {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.background__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
}

.background__orb--one {
  width: 420px;
  height: 420px;
  top: 5%;
  right: -180px;
  background: rgba(118, 77, 255, 0.1);
}

.background__orb--two {
  width: 300px;
  height: 300px;
  bottom: 4%;
  left: -130px;
  background: rgba(164, 138, 255, 0.12);
}

.background__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(92, 76, 148, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 76, 148, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #8c70ff, #5b36f5);
  box-shadow: 0 8px 24px rgba(99, 67, 234, 0.24);
}

.brand__mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand__name {
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.site-header__label {
  color: var(--ink-faint);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
  width: min(calc(100% - 48px), var(--page-width));
  margin: 44px auto 90px;
}

.intro {
  position: sticky;
  top: 36px;
  padding: 38px 0 24px;
}

.intro__eyebrow,
.flow-card__kicker,
.policy-strip__eyebrow,
.section-heading__eyebrow,
.success-step__eyebrow {
  margin: 0 0 14px;
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.intro__eyebrow-dot {
  width: 8px;
  height: 8px;
  border: 2px solid #dcd3ff;
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(111, 76, 255, 0.08);
}

.intro h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 4.8rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.intro h1 span {
  color: var(--purple);
}

.intro__lead {
  max-width: 560px;
  margin: 26px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.7;
}

.scope-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 520px;
  padding: 18px;
  border: 1px solid rgba(111, 76, 255, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
}

.scope-card__icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--purple-pale);
  color: var(--purple);
  font-weight: 850;
}

.scope-card h2 {
  margin: 1px 0 5px;
  font-size: 1rem;
}

.scope-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.trust-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.trust-list__check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--success-pale);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 900;
}

.flow-card {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.flow-card__topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.flow-card__kicker {
  margin-bottom: 7px;
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.flow-card__topline h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.035em;
}

.flow-card__secure {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--success-pale);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
}

.flow-card__secure span {
  font-size: 0.48rem;
}

.steps {
  display: flex;
  align-items: center;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.steps__item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  color: #a09bad;
  font-size: 0.71rem;
  transition: color 160ms ease;
}

.steps__item span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.steps__item strong {
  font-weight: 700;
}

.steps__item.is-active,
.steps__item.is-complete {
  color: var(--purple);
}

.steps__item.is-active span {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
  box-shadow: 0 5px 15px rgba(111, 76, 255, 0.25);
}

.steps__item.is-complete span {
  border-color: #cfc3ff;
  background: var(--purple-pale);
}

.steps__line {
  flex: 1;
  height: 1px;
  margin: 0 10px 20px;
  background: var(--line);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h3,
.success-step h3,
.outcome-step h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
  outline: none;
}

.section-heading p,
.success-step p,
.outcome-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.section-heading__eyebrow {
  margin-bottom: 8px !important;
  color: var(--success) !important;
  font-size: 0.69rem !important;
}

.field {
  margin-bottom: 19px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.83rem;
  font-weight: 720;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  outline: none;
  background: #fcfbfe;
  color: var(--ink);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.field input:hover {
  border-color: #beb7d2;
}

.field input:focus {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(111, 76, 255, 0.11);
}

.field__hint {
  display: block;
  margin-top: 7px;
  color: var(--ink-faint);
  font-size: 0.74rem;
  line-height: 1.45;
}

.phone-fields {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
}

.calling-code-input,
.password-input {
  position: relative;
}

.calling-code-input > span {
  position: absolute;
  top: 50%;
  left: 15px;
  color: var(--ink-soft);
  transform: translateY(-50%);
}

.calling-code-input input {
  padding-left: 29px;
}

.password-input input {
  padding-right: 72px;
}

.password-input__toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 54px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 9px;
  background: transparent;
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-input__toggle:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 1px;
}

.primary-button,
.danger-button,
.secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease,
    opacity 140ms ease;
}

.primary-button {
  width: 100%;
  background: linear-gradient(135deg, #7c5aff, #6039ee);
  color: #fff;
  box-shadow: 0 10px 24px rgba(98, 60, 237, 0.25);
}

.button-arrow {
  font-size: 1.1rem;
}

.danger-button {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 8px 18px rgba(212, 61, 83, 0.2);
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-soft);
}

.primary-button:hover:not(:disabled),
.danger-button:hover:not(:disabled),
.secondary-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.primary-button:hover:not(:disabled) {
  box-shadow: 0 13px 27px rgba(98, 60, 237, 0.3);
}

.danger-button:hover:not(:disabled) {
  background: var(--danger-deep);
}

.primary-button:focus-visible,
.danger-button:focus-visible,
.secondary-button:focus-visible {
  outline: 3px solid rgba(111, 76, 255, 0.25);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  box-shadow: none;
}

button.is-loading {
  cursor: wait;
}

.form-footnote {
  margin: 15px 0 0;
  color: var(--ink-faint);
  font-size: 0.73rem;
  line-height: 1.5;
  text-align: center;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: -8px 0 24px;
  padding: 13px 14px;
  border: 1px solid #f2c6cc;
  border-radius: 13px;
  background: var(--danger-pale);
  color: #8e2638;
}

.notice--warning {
  border-color: #f1d39a;
  background: var(--warning-pale);
  color: var(--warning-ink);
}

.notice__icon {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: currentColor;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.notice p {
  margin: 1px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.account-summary div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfafe;
}

.account-summary dt {
  margin-bottom: 5px;
  color: var(--ink-faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-summary dd {
  overflow: hidden;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-card {
  margin-top: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.data-card--delete {
  border-color: #f0d7dc;
  background: #fffafb;
}

.data-card__heading {
  display: flex;
  gap: 11px;
  align-items: center;
}

.data-card__icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 10px;
  background: var(--danger-pale);
  color: var(--danger);
  font-weight: 850;
}

.data-card h4 {
  margin: 0 0 2px;
  font-size: 0.9rem;
}

.data-card__heading p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.data-card ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.42;
}

.data-card li::marker {
  color: var(--danger);
}

.confirmation-check {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  align-items: flex-start;
  margin: 18px 0;
  padding: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.5;
  cursor: pointer;
}

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

.confirmation-check__box {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: transparent;
  font-size: 0.75rem;
  font-weight: 900;
}

.confirmation-check input:checked + .confirmation-check__box {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

.confirmation-check:has(input:focus-visible) {
  outline: 3px solid rgba(111, 76, 255, 0.2);
  outline-offset: 2px;
}

.review-actions {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 10px;
}

.success-step,
.outcome-step {
  padding: 24px 10px 12px;
  text-align: center;
}

.success-step__mark,
.outcome-step__mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 22px;
  background: var(--success-pale);
  color: var(--success);
  font-size: 1.65rem;
  font-weight: 850;
  transform: rotate(-3deg);
}

.outcome-step__mark {
  background: var(--warning-pale);
  color: var(--warning-ink);
}

.success-step h3,
.outcome-step h3 {
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.55rem;
}

.success-step > p:not(.success-step__eyebrow),
.outcome-step > p {
  max-width: 440px;
  margin-right: auto;
  margin-left: auto;
}

.secondary-button--link,
.primary-button--link {
  width: auto;
  margin-top: 24px;
}

.primary-button--link {
  min-width: 180px;
}

.policy-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto 54px;
  padding: 30px 34px;
  border: 1px solid rgba(111, 76, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(238, 233, 255, 0.8), rgba(255, 255, 255, 0.76));
}

.policy-strip__eyebrow {
  margin-bottom: 7px;
  font-size: 0.66rem;
}

.policy-strip h2 {
  margin: 0;
  font-size: 1.24rem;
  letter-spacing: -0.025em;
}

.policy-strip > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: 0 0 30px;
  color: var(--ink-faint);
  font-size: 0.76rem;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 20px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--purple-deep);
}

.confirmation-dialog {
  width: min(calc(100% - 32px), 460px);
  padding: 30px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(31, 22, 60, 0.34);
  color: var(--ink);
  text-align: center;
}

.confirmation-dialog::backdrop {
  background: rgba(25, 19, 47, 0.58);
  backdrop-filter: blur(6px);
}

.confirmation-dialog__icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 18px;
  background: var(--danger-pale);
  color: var(--danger);
  font-size: 1.25rem;
  font-weight: 900;
}

.confirmation-dialog h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.confirmation-dialog p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

.confirmation-dialog__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 940px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 720px;
    margin-top: 10px;
  }

  .intro {
    position: static;
    padding-top: 20px;
  }

  .intro h1 br {
    display: none;
  }

  .policy-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .site-header,
  .page-shell,
  .policy-strip,
  .site-footer {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .site-header {
    padding: 18px 0;
  }

  .site-header__label {
    display: none;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand__mark img {
    width: 38px;
    height: 38px;
  }

  .page-shell {
    margin-bottom: 46px;
  }

  .intro {
    padding-top: 12px;
  }

  .intro h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .intro__lead {
    margin-top: 20px;
  }

  .flow-card {
    padding: 22px 17px;
    border-radius: 23px;
  }

  .flow-card__secure {
    display: none;
  }

  .steps {
    margin: 26px 3px 30px;
  }

  .phone-fields {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 9px;
  }

  .field input {
    padding-right: 12px;
    padding-left: 12px;
  }

  .calling-code-input > span {
    left: 12px;
  }

  .calling-code-input input {
    padding-left: 25px;
  }

  .password-input input {
    padding-right: 66px;
  }

  .account-summary {
    grid-template-columns: 1fr;
  }

  .review-actions {
    grid-template-columns: 1fr;
  }

  .review-actions .secondary-button {
    order: 2;
  }

  .policy-strip {
    padding: 24px 20px;
  }

  .site-footer {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .confirmation-dialog {
    padding: 26px 20px;
  }

  .confirmation-dialog__actions {
    grid-template-columns: 1fr;
  }

  .confirmation-dialog__actions .secondary-button {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
