:root { font-family: Inter, ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif; color: #17106f; background: #faf9ff; font-synthesis: none; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { min-width: 320px; }
button, input { font: inherit; }

.signup-page { position: relative; min-height: 100svh; overflow: hidden; display: grid; place-items: center; padding: 4rem 1rem 7.5rem; background: radial-gradient(circle at 48% 8%, #7065ef80, transparent 23rem), radial-gradient(circle at 92% 20%, #00cdf066, transparent 27rem), linear-gradient(145deg, #6710f0 0%, #176cff 23%, #f7f5ff 42%, #fff 78%); }
.signup-card { position: relative; z-index: 3; width: min(100%, 725px); padding: 42px 55px 72px; border-radius: 46px; text-align: center; background: #fffffff8; box-shadow: 0 24px 70px #20137826; }
.brand-art { display: block; width: min(315px, 57%); margin: -26px auto 0; mix-blend-mode: multiply; }
.intro { margin-top: -25px; }
.intro h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.035em; }
.intro p { margin: .65rem 0 1.85rem; color: #666494; font-size: 1.2rem; }

#signup-form { display: grid; gap: 1rem; }
.field { height: 84px; display: flex; align-items: center; gap: 1.35rem; padding: 0 1.75rem; border: 2px solid #e4def6; border-radius: 24px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: #7253ff; box-shadow: 0 0 0 4px #6746ff1a; }
.field > svg { width: 36px; height: 36px; flex: 0 0 auto; fill: none; stroke: #5a20ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field > svg.solid { fill: #6124ff; stroke: none; }
.field input { width: 100%; min-width: 0; border: 0; outline: 0; color: #17106f; background: transparent; font-size: 1.28rem; }
.field input::placeholder { color: #77749f; opacity: 1; }
.show-password { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 0; color: #8583ad; background: transparent; cursor: pointer; }
.show-password svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.signup-button { height: 78px; margin-top: .25rem; border: 0; border-radius: 24px; color: #fff; background: linear-gradient(105deg, #e617df, #7117ff 48%, #00d8e9); box-shadow: 0 15px 24px #4d27e233; font-size: 1.55rem; font-weight: 700; cursor: pointer; transition: transform .16s, filter .16s; }
.signup-button:hover { filter: saturate(1.12) brightness(1.04); transform: translateY(-1px); }
.signup-button:disabled { cursor: wait; opacity: .7; }
.form-message { margin: -.25rem 0 -.65rem; color: #c61b66; font-size: .94rem; }
.form-message:empty { display: none; }
.form-message.success { color: #087f64; }
.divider { display: flex; align-items: center; gap: 1.8rem; margin: 1rem .4rem; color: #68658f; font-size: 1.1rem; }
.divider::before, .divider::after { content: ""; height: 1.5px; flex: 1; background: #8f8cae; }
.google-button { width: 100%; height: 75px; display: flex; align-items: center; justify-content: center; gap: 1.6rem; border: 2px solid #dedced; border-radius: 22px; color: #3e3b70; background: #fff; box-shadow: 0 7px 14px #251b691a; font-size: 1.25rem; font-weight: 650; cursor: pointer; }
.google-button svg { width: 42px; height: 42px; flex: 0 0 auto; }
.login-copy { margin: 1.45rem 0 0; color: #5f5c8b; font-size: 1.1rem; }
.login-copy a { margin-left: .35rem; color: #5414ef; font-weight: 700; text-decoration: none; }
.login-copy a:hover { text-decoration: underline; }

.blob { position: absolute; z-index: 1; filter: drop-shadow(0 20px 20px #481eda21); }
.left-blob { top: -45px; left: -95px; width: 280px; height: 520px; border-radius: 39% 61% 43% 57% / 32% 39% 61% 68%; background: linear-gradient(150deg, #8e04ff, #4c15ed 55%, #ad3df2); transform: rotate(-8deg); }
.right-blob { top: 145px; right: -110px; width: 240px; height: 530px; border-radius: 61% 39% 58% 42% / 35% 66% 34% 65%; background: linear-gradient(145deg, #17e1ed, #0089ff 52%, #1048ef); }
.ball { position: absolute; z-index: 2; width: 27px; height: 27px; border-radius: 50%; background: linear-gradient(145deg, #eb29e7, #5d09e7); box-shadow: inset -5px -5px 9px #2900ae4d, 0 7px 12px #3d1eb72e; }
.ball-one { top: 23%; left: 8%; }
.ball-two { right: 8%; bottom: 9%; background: linear-gradient(145deg, #2edff1, #0758e7); }
.spark { position: absolute; z-index: 2; color: #fff; font-size: 2.8rem; line-height: 1; }
.spark.one { top: 9%; right: 9%; }
.spark.two { top: 19%; right: 8%; font-size: 4rem; }
.bottom-wave { position: absolute; z-index: 4; left: -5%; right: -5%; bottom: -110px; height: 250px; border-radius: 45% 55% 0 0 / 40% 45% 0 0; background: linear-gradient(105deg, #8c00f2, #e51fea 25%, #5c15f1 52%, #17d9ed 76%, #0574f2); transform: rotate(-1deg); }
.bottom-wave span { position: absolute; width: 62%; height: 88%; right: -4%; top: 25%; border-radius: 50% 0 0 0; background: linear-gradient(135deg, #2ce9f5a6, #234def80); transform: rotate(-5deg); }
.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; }

@media (prefers-reduced-motion: no-preference) { .ball { animation: float 4s ease-in-out infinite; } .ball-two { animation-delay: -2s; } @keyframes float { 50% { transform: translateY(-9px); } } }

/* Android phones and iPhones */
@media (max-width: 600px) {
  .signup-page { align-items: start; padding: 2.2rem .9rem 5.5rem; background: radial-gradient(circle at 65% 4%, #327df6, transparent 16rem), linear-gradient(145deg, #6510ee 0 10rem, #f8f6ff 24rem, #fff 70%); }
  .signup-card { width: 100%; max-width: 430px; min-height: calc(100svh - 5.6rem); padding: 1.25rem 1.2rem 4.3rem; border-radius: 30px; }
  .brand-art { width: min(205px, 62%); margin-top: -.7rem; }
  .intro { margin-top: -1rem; }
  .intro h1 { font-size: 1.55rem; }
  .intro p { margin: .35rem 0 1.15rem; font-size: .86rem; }
  #signup-form { gap: .7rem; }
  .field { height: 55px; gap: .85rem; padding: 0 .95rem; border-radius: 17px; }
  .field > svg { width: 25px; height: 25px; }
  .field input { font-size: .96rem; }
  .show-password { width: 32px; height: 32px; }
  .show-password svg { width: 26px; }
  .signup-button { height: 57px; border-radius: 17px; font-size: 1.12rem; }
  .divider { gap: .8rem; margin: .75rem .2rem; font-size: .88rem; }
  .google-button { height: 55px; gap: 1rem; border-radius: 16px; font-size: .95rem; }
  .google-button svg { width: 29px; height: 29px; }
  .login-copy { margin-top: 1rem; font-size: .87rem; }
  .left-blob { width: 150px; height: 300px; left: -100px; top: -35px; }
  .right-blob { width: 135px; height: 350px; right: -100px; top: 135px; }
  .ball { width: 18px; height: 18px; }
  .ball-one { left: 2%; top: 25%; } .ball-two { right: 3%; bottom: 7%; }
  .spark { display: none; }
  .bottom-wave { height: 125px; bottom: -64px; }
}

@media (max-width: 600px) and (max-height: 760px) {
  .signup-page { padding-top: 1rem; }
  .signup-card { padding-top: .65rem; }
  .brand-art { width: 155px; }
  .intro p { margin-bottom: .7rem; }
  #signup-form { gap: .48rem; }
  .field { height: 47px; }
  .signup-button, .google-button { height: 48px; }
  .divider { margin-block: .45rem; }
  .login-copy { margin-top: .65rem; }
}

@supports (padding: max(0px)) {
  @media (max-width: 600px) { .signup-page { padding-top: max(2.2rem, env(safe-area-inset-top)); padding-bottom: max(5.5rem, env(safe-area-inset-bottom)); } }
  @media (max-width: 600px) and (max-height: 760px) { .signup-page { padding-top: max(1rem, env(safe-area-inset-top)); } }
}

/* Android tablets and iPads */
@media (min-width: 601px) and (max-width: 1100px) {
  .signup-page { padding: 4rem 3.5rem 8rem; }
  .signup-card { width: min(100%, 725px); padding: 2.7rem 3.8rem 6.4rem; }
  .brand-art { width: 300px; }
}

@media (min-width: 601px) and (orientation: landscape) and (max-height: 850px) {
  .signup-page { padding-block: 2rem 5rem; }
  .signup-card { width: min(94vw, 1020px); padding: 1.8rem 3rem 3rem; display: grid; grid-template-columns: .72fr 1.28fr; column-gap: 3.5rem; align-items: center; }
  .brand-art { grid-row: 1 / span 6; width: 100%; margin: 0; }
  .intro { margin: 0; } .intro p { margin-bottom: 1rem; }
  .field { height: 55px; } #signup-form { gap: .6rem; }
  .signup-button, .google-button { height: 56px; }
  .divider { margin-block: .6rem; }
  .login-copy { margin-top: .7rem; }
}
