.omelyo-signup {
  --signup-ink: #101f40;
  --signup-muted: #687995;
  --signup-blue: #0759ed;
  --signup-line: #d8deea;
  --signup-cyan: #11c5ee;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--signup-ink);
  background: #f7f9fe;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.4;
  overflow-x: hidden;
}

.omelyo-signup *,
.omelyo-signup *::before,
.omelyo-signup *::after {
  box-sizing: border-box;
}

.omelyo-signup svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.omelyo-signup .icon-sprite {
  position: absolute;
}

.omelyo-signup .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.signup-page {
  position: relative;
  min-height: 100vh;
  padding: 25px 16px 32px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 260px 430px at -155px 3%, rgba(23, 129, 255, .20), transparent 72%),
    radial-gradient(ellipse 240px 370px at calc(100% + 145px) 34%, rgba(36, 154, 255, .18), transparent 73%),
    radial-gradient(ellipse 250px 410px at -150px 88%, rgba(59, 170, 255, .14), transparent 72%),
    linear-gradient(180deg, #f8faff 0%, #f1f6ff 100%);
}

.signup-decoration {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
}

.signup-decoration--left {
  width: 240px;
  height: 240px;
  left: -205px;
  top: 48%;
  border: 26px solid rgba(47, 153, 255, .14);
}

.signup-decoration--right {
  width: 210px;
  height: 210px;
  right: -177px;
  top: 7%;
  border: 24px solid rgba(25, 125, 244, .14);
}

.signup-layout {
  position: relative;
  z-index: 1;
  width: min(552px, 100%);
  margin: 0 auto;
}

.signup-heading {
  text-align: center;
  margin: 0 auto 14px;
}

.signup-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

/* The mark uses the same proportions and colors as the OMELYO mark on index.html. */
.signup-brand__mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 25% 25%, #8ad9ff 0%, #2b8bff 60%, #1b47dd 100%);
  box-shadow: inset -8px -8px 16px rgba(11, 60, 170, .28);
}

.signup-brand__mark::after {
  position: absolute;
  inset: 17px;
  content: "";
  border-radius: 50%;
  background: #f7f9fe;
}

.signup-brand__copy {
  display: grid;
  gap: 3px;
}

.signup-brand__copy strong {
  color: #0b1433;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .95;
}

.signup-brand__copy small {
  max-width: 190px;
  color: #65738d;
  font-size: .79rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.signup-heading h1 {
  margin: 13px 0 0;
  color: #0c1533;
  font-size: clamp(1.8rem, 5.2vw, 2.28rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.signup-heading > p {
  margin: 7px 0 0;
  color: #65738d;
  font-size: clamp(.98rem, 2.6vw, 1.16rem);
  font-weight: 500;
  line-height: 1.27;
}

.signup-card {
  padding: 20px 21px 15px;
  border: 1px solid rgba(222, 231, 246, .95);
  border-radius: 25px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 15px 38px rgba(45, 88, 151, .12);
}

.signup-field {
  margin: 9px 0 0;
}

.signup-field:first-of-type {
  margin-top: 0;
}

.signup-control {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 70px;
  padding: 9px 13px 8px 16px;
  border: 1px solid var(--signup-line);
  border-radius: 15px;
  background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
  box-shadow: 0 1px 2px rgba(12, 34, 71, .025);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.signup-control:focus-within {
  border-color: #6b9ef2;
  box-shadow: 0 0 0 3px rgba(35, 108, 231, .09);
}

.signup-control__icon {
  flex: 0 0 auto;
  width: 28px !important;
  height: 28px !important;
  color: #0860f4;
  stroke-width: 2;
}

.signup-control__body {
  display: grid;
  flex: 1 1 auto;
  align-content: center;
  min-width: 0;
}

.signup-control__body label,
.standalone-label {
  display: block;
  margin: 0;
  color: #172b4b;
  font-size: .87rem;
  font-weight: 650;
  line-height: 1.2;
}

.signup-control__body label span,
.standalone-label span {
  color: #e7354b;
}

.signup-control__body input,
.signup-control__body select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 33px;
  margin: 1px 0 0;
  padding: 2px 0 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #14213e;
  font: inherit;
  font-size: 1rem;
  line-height: 1.25;
}

.signup-control__body input::placeholder {
  color: #8c9ab2;
  opacity: 1;
}

.signup-control__body select {
  padding-right: 4px;
  font-weight: 600;
  appearance: auto;
}

.country-flag {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 26px;
  place-items: center;
  overflow: hidden;
  border-radius: 5px;
  font-size: 1.55rem;
  line-height: 1;
}

.signup-field--phone {
  margin-top: 14px;
}

.standalone-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 7px 16px;
}

.standalone-label svg {
  width: 25px !important;
  height: 25px !important;
  color: #0860f4;
}

.phone-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  padding-left: 43px;
}

.dial-code,
.phone-row input {
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--signup-line);
  border-radius: 13px;
  background: #fff;
  color: #172b4b;
  font: inherit;
  font-size: .98rem;
}

.dial-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f8fd;
  font-weight: 650;
}

.phone-row input {
  width: 100%;
  padding: 0 13px;
  outline: none;
}

.phone-row input::placeholder { color: #8c9ab2; }

.phone-row input:focus {
  border-color: #6b9ef2;
  box-shadow: 0 0 0 3px rgba(35, 108, 231, .09);
}

.field-help {
  margin: 4px 0 0 59px;
  color: #72819a;
  font-size: .77rem;
  line-height: 1.3;
}

.field-error {
  min-height: 0;
  margin: 3px 2px 0 58px;
  color: #b42343;
  font-size: .75rem;
  line-height: 1.3;
}

.field-error:empty { display: none; }

.signup-field:not(.signup-field--phone) > .field-error {
  margin-left: 58px;
}

.toggle-pass {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #536581;
  cursor: pointer;
}

.toggle-pass svg {
  width: 22px !important;
  height: 22px !important;
}

.toggle-pass .eye-off { display: none; }
.toggle-pass.showing .eye-on { display: none; }
.toggle-pass.showing .eye-off { display: inline; }

.signup-price {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  margin-top: 11px;
  padding: 10px 15px;
  border-radius: 15px;
  background: #eff6ff;
}

.signup-price__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #0756e9, #16baf1);
  color: #fff;
}

.signup-price__icon svg {
  width: 28px !important;
  height: 28px !important;
  stroke-width: 2;
}

.signup-price__text {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding-left: 13px;
  border-left: 1px solid #cbd9ee;
}

.signup-price__text > span {
  color: #172b4b;
  font-size: .91rem;
  font-weight: 650;
  line-height: 1.2;
}

.signup-price__text strong {
  color: #0759ed;
  font-size: 1.5rem;
  font-weight: 750;
  white-space: nowrap;
}

.signup-price__text small {
  color: #71809a;
  font-size: .77rem;
  line-height: 1.25;
}

.signup-consent {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 12px;
}

.signup-consent input {
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  accent-color: #0759ed;
}

.signup-consent label {
  color: #172b4b;
  font-size: .89rem;
  line-height: 1.45;
}

.signup-consent a {
  color: #0758e9;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signup-consent-error { margin-left: 35px; }

.signup-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(100deg, #0751ee 0%, #0869f5 48%, #12c8ed 100%);
  box-shadow: 0 9px 17px rgba(5, 82, 225, .25);
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 650;
  cursor: pointer;
  transition: filter .16s ease, transform .16s ease, box-shadow .16s ease;
}

.signup-submit:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(5, 82, 225, .28);
}

.signup-submit svg {
  width: 23px !important;
  height: 23px !important;
}

.signup-footer {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #edf0f6;
  text-align: center;
}

.signup-footer p {
  margin: 0;
  color: #172b4b;
  font-size: .88rem;
}

.signup-footer a {
  margin-left: 6px;
  color: #0758e9;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signup-footer small {
  position: absolute;
  top: calc(100% + 7px);
  color: #7888a2;
  font-size: .68rem;
}

.signup-summary {
  width: min(552px, 100%);
  margin: 14px auto 0;
  padding: 16px;
  border: 1px solid #dfe8f6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(45, 88, 151, .1);
}

.signup-summary h2 { margin: 0; font-size: 1rem; }
.signup-summary ul { padding-left: 20px; color: #435b7d; }
.signup-summary p { margin: 0; color: #6f7f98; font-size: .82rem; }

@media (min-width: 768px) {
  .signup-page { padding-top: 32px; }
  .signup-heading { margin-bottom: 17px; }
}

@media (max-width: 430px) {
  .signup-page { padding: 18px 16px 30px; }
  .signup-layout { width: 100%; }
  .signup-heading { margin-bottom: 12px; }
  .signup-brand { gap: 10px; }
  .signup-brand__mark { width: 48px; height: 48px; }
  .signup-brand__mark::after { inset: 13px; }
  .signup-brand__copy strong { font-size: 1.84rem; }
  .signup-brand__copy small { max-width: 165px; font-size: .69rem; }
  .signup-heading h1 { margin-top: 12px; font-size: clamp(1.75rem, 8vw, 2rem); }
  .signup-heading > p { margin-top: 5px; font-size: .98rem; }
  .desktop-break { display: none; }
  .signup-card { padding: 16px 15px 15px; border-radius: 23px; }
  .signup-field { margin-top: 8px; }
  .signup-control { min-height: 66px; padding: 8px 10px 7px 12px; gap: 11px; border-radius: 13px; }
  .signup-control__icon { width: 25px !important; height: 25px !important; }
  .signup-control__body label { font-size: .82rem; }
  .signup-control__body input,
  .signup-control__body select { min-height: 31px; font-size: .94rem; }
  .country-flag { flex-basis: 30px; width: 30px; height: 24px; font-size: 1.38rem; }
  .signup-field--phone { margin-top: 11px; }
  .standalone-label { margin-left: 12px; font-size: .82rem; gap: 10px; }
  .standalone-label svg { width: 23px !important; height: 23px !important; }
  .phone-row { grid-template-columns: 72px minmax(0, 1fr); gap: 7px; padding-left: 35px; }
  .dial-code,
  .phone-row input { min-height: 48px; border-radius: 12px; font-size: .92rem; }
  .phone-row input { padding: 0 10px; }
  .field-help { margin-left: 47px; font-size: .72rem; }
  .field-error,
  .signup-field:not(.signup-field--phone) > .field-error { margin-left: 47px; font-size: .72rem; }
  .toggle-pass { flex-basis: 30px; width: 30px; }
  .signup-price { min-height: 66px; margin-top: 9px; padding: 8px 10px; gap: 9px; border-radius: 13px; }
  .signup-price__icon { flex-basis: 36px; width: 36px; height: 36px; }
  .signup-price__icon svg { width: 24px !important; height: 24px !important; }
  .signup-price__text { padding-left: 9px; }
  .signup-price__text > span { font-size: .78rem; }
  .signup-price__text strong { font-size: clamp(1.13rem, 5vw, 1.38rem); }
  .signup-price__text small { font-size: .68rem; }
  .signup-consent { grid-template-columns: 23px minmax(0,1fr); gap: 8px; margin-top: 10px; }
  .signup-consent input { width: 22px; height: 22px; }
  .signup-consent label { font-size: .79rem; }
  .signup-consent-error { margin-left: 31px; }
  .signup-submit { min-height: 54px; margin-top: 10px; border-radius: 14px; font-size: .94rem; }
  .signup-footer { margin-top: 11px; padding-top: 10px; }
  .signup-footer p { font-size: .78rem; }
  .signup-footer small { font-size: .64rem; }
  .signup-decoration--left { left: -220px; }
  .signup-decoration--right { right: -185px; }
}

@media (max-width: 350px) {
  .signup-card { padding-inline: 12px; }
  .signup-control { gap: 8px; padding-left: 9px; padding-right: 8px; }
  .signup-control__body label { font-size: .78rem; }
  .signup-control__body input,
  .signup-control__body select { font-size: .88rem; }
  .phone-row { grid-template-columns: 66px minmax(0, 1fr); padding-left: 30px; }
  .field-help,
  .field-error,
  .signup-field:not(.signup-field--phone) > .field-error { margin-left: 39px; }
  .signup-price__text > span { font-size: .72rem; }
  .signup-price__text strong { font-size: 1.08rem; }
  .signup-price__text small { font-size: .63rem; }
  .signup-consent label { font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .omelyo-signup *,
  .omelyo-signup *::before,
  .omelyo-signup *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
