/* Original AppInvite.vue visual rules, preserved from production 6a741fd5. */
*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;font-size:14px;line-height:1.5;color:rgba(0,0,0,.65)}
button,input,select{font-family:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}[hidden]{display:none!important}a{color:#2d6fff;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #2563ff;outline-offset:3px}

.invite-page {
  min-height: 100vh;
  padding: 24px 16px 40px;
  background:
    radial-gradient(circle at 10% 6%, rgba(173, 212, 255, 0.92) 0%, rgba(173, 212, 255, 0) 26%),
    radial-gradient(circle at 86% 8%, rgba(237, 245, 255, 0.96) 0%, rgba(237, 245, 255, 0) 28%),
    linear-gradient(180deg, #eaf4ff 0%, #f8fbff 42%, #eef5ff 100%);
}

.invite-shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.hero-section {
  padding: 6px 4px 0;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-logo {
  width: min(100%, 360px);
  object-fit: contain;
}

.brand-headline {
  margin: 14px 0 0;
  color: #173c8f;
  font-size: 28px;
  line-height: 1.28;
  font-weight: 700;
  text-align: center;
}

.brand-subline {
  margin: 8px 0 0;
  color: #7b8fad;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px;
  border: 1px solid rgba(177, 198, 232, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(90, 124, 182, 0.08);
}

.language-switch__option {
  min-width: 60px;
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #6e84a9;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.language-switch__option[aria-pressed=true] {
  background: linear-gradient(90deg, #2d6fff 0%, #3288ff 100%);
  box-shadow: 0 12px 22px rgba(45, 111, 255, 0.2);
  color: #ffffff;
}

.flow-card,
.service-card {
  margin-top: 22px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 56px rgba(90, 124, 182, 0.12);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.flow-card {
  padding: 24px;
}

.stepper {
  --step-width: min(100%, 340px);
  --step-item-width: 96px;
  --step-circle-size: 50px;
  --step-line-thickness: 4px;
  --step-progress-tail-gap: 24px;
  --step-line-offset: calc((var(--step-item-width) + var(--step-circle-size)) / 2);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: var(--step-width);
  margin: 0 auto;
  padding-top: 2px;
}

.stepper::before,
.stepper::after {
  content: '';
  position: absolute;
  top: calc(var(--step-circle-size) / 2);
  left: var(--step-line-offset);
  height: var(--step-line-thickness);
  border-radius: 999px;
}

.stepper::before {
  right: var(--step-line-offset);
  background: #e1e8f3;
}

.stepper::after {
  background: linear-gradient(90deg, #2d6fff 0%, #3288ff 100%);
}

.stepper-item {
  flex: 0 0 var(--step-item-width);
  width: var(--step-item-width);
}

.stepper--english {
  --step-width: min(100%, 370px);
  --step-item-width: 118px;
}

.stepper--partial::after {
  right: calc(var(--step-line-offset) + var(--step-progress-tail-gap));
}

.stepper-item__head {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-item__circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e4ebf5;
  color: #7a8ca7;
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.stepper-item[aria-current] .stepper-item__circle {
  background: linear-gradient(180deg, #3d84ff 0%, #2563ff 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(45, 111, 255, 0.22);
}

.stepper-item__line {
  display: none;
}

.stepper-item__label {
  margin-top: 12px;
  color: #8c9ab0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.stepper-item[aria-current] .stepper-item__label {
  color: #2563ff;
}

.form-card {
  margin-top: 20px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
}

.invite-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.privacy-row__text {
  color: #5c7198;
  font-size: 15px;
  line-height: 1.7;
  cursor: pointer;
}

.privacy-row__link {
  color: #2d6fff;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-combo {
  min-height: 58px;
  border: 1px solid #d8e2f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.phone-combo__prefix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 14px 0 12px;
}

.phone-combo__flag {
  font-size: 20px;
  line-height: 1;
}

.phone-combo__prefix-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.phone-combo__prefix-select {
  min-width: 74px;
  padding: 0 20px 0 0;
  border: none;
  background: transparent;
  color: #132b63;
  font-size: 16px;
  line-height: 1.4;
  appearance: none;
  outline: none;
  cursor: pointer;
}

.phone-combo__prefix-arrow {
  position: absolute;
  right: 0;
  color: #8fa0ba;
  font-size: 12px;
  pointer-events: none;
}

.phone-combo__divider {
  width: 1px;
  align-self: stretch;
  background: #dde5f1;
}

.phone-combo__input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: #122c62;
  font-size: 16px;
  outline: none;
}

.phone-combo__input::placeholder {
  color: #a9b6ca;
}

.field-label {
  color: #132b63;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.submit-button {
  min-height: 62px;
  margin-top: 4px;
  border-radius: 18px;
  background: linear-gradient(90deg, #2d6fff 0%, #3288ff 100%);
  box-shadow: 0 18px 34px rgba(45, 111, 255, 0.22);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button--disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.service-card {
  padding: 24px;
}

.service-card__title {
  color: #132b63;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

.service-card__dots {
  color: #1e48aa;
  letter-spacing: 0.16em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.service-item {
  padding: 18px 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  text-align: center;
}

.service-item__icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-item__icon-image {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.service-item__icon--blue {
  background: linear-gradient(180deg, #eef4ff 0%, #dfeaff 100%);
  color: #2d6fff;
}

.service-item__icon--green {
  background: linear-gradient(180deg, #eefdfb 0%, #d8f8f1 100%);
  color: #20c2a8;
}

.service-item__icon--purple {
  background: linear-gradient(180deg, #f2efff 0%, #e7e1ff 100%);
  color: #6a4fff;
}

.service-item__title {
  margin-top: 14px;
  color: #173069;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.privacy-row input {
  width: 16px;
  height: 16px;
  border-color: #b9c8e0;
  border-radius: 4px;
}

.code-input input {
  height: 58px;
  border: 1px solid #d8e2f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.code-input input {
  color: #122c62;
  font-size: 16px;
  padding-left: 16px;
}

.code-input input::placeholder {
  color: #a9b6ca;
}

.code-input button {
  height: 42px;
  margin-right: 6px;
  padding: 0 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #2d6fff;
  font-size: 16px;
  font-weight: 700;
}

.code-input button::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 24px;
  margin-right: 12px;
  background: #d7deeb;
  vertical-align: middle;
}

.code-input button[disabled] {
  color: #a0afc6;
}

@media (max-width: 640px) {
  .invite-page {
    padding: 18px 12px 28px;
  }

  .brand-logo {
    width: min(100%, 320px);
  }

  .brand-headline {
    margin-top: 12px;
    font-size: 20px;
  }

  .brand-subline {
    margin-top: 6px;
    font-size: 13px;
  }

  .language-switch {
    margin-top: 14px;
  }

  .language-switch__option {
    min-width: 54px;
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .flow-card,
  .service-card {
    margin-top: 16px;
    border-radius: 28px;
  }

  .flow-card,
  .service-card,
  .form-card {
    padding: 18px 16px;
  }

  .stepper {
    --step-width: min(100%, 300px);
    --step-item-width: 88px;
    --step-circle-size: 42px;
    --step-line-thickness: 3px;
    --step-progress-tail-gap: 20px;
  }

  .stepper--english {
    --step-width: min(100%, 318px);
    --step-item-width: 104px;
  }

  .stepper-item__circle {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .stepper-item__label {
    font-size: 14px;
  }

  .field-label {
    font-size: 16px;
  }

  .phone-combo__prefix {
    padding-right: 10px;
  }

  .phone-combo__flag {
    font-size: 18px;
  }

  .phone-combo__prefix-select {
    min-width: 68px;
    font-size: 15px;
  }

  .phone-combo__input {
    font-size: 15px;
  }

  .submit-button {
    min-height: 56px;
    font-size: 16px;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .service-item {
    padding: 14px 10px 12px;
    border-radius: 18px;
  }

  .service-item__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .service-item__icon-image {
    width: 28px;
    height: 28px;
  }

  .service-item__title {
    margin-top: 10px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .submit-button {
    transition: none;
  }
}

.code-input{position:relative;display:flex;align-items:center}.code-input input{width:100%;min-width:0;padding-right:145px;outline:none}.code-input button{position:absolute;right:0;white-space:nowrap;display:flex;align-items:center;cursor:pointer}.code-input input:focus,.phone-combo:focus-within{border-color:#2d6fff}.submit-button{border:0;width:100%}.privacy-row input{margin:4px 0 0;accent-color:#2d6fff;flex-shrink:0}.status{margin:0;color:#2563ff}.status:empty{display:none}.status.error,.notice{color:#b02e36}.text-button{border:0;background:none;color:#2d6fff;text-align:left;padding:0}.phone-combo__prefix-arrow{font-style:normal}.privacy-row__text label{cursor:pointer}.service-card__title{margin:0}.brand-headline{font-family:inherit}
