:root {
  --bg: #f8fbff;
  --bg-accent: #dff6ff;
  --bg-accent-soft: #eef8ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-tint: #f4fbff;
  --text: #2c314b;
  --text-soft: #8f96ab;
  --line: rgba(98, 178, 213, 0.24);
  --line-strong: rgba(82, 196, 222, 0.55);
  --primary: #55d1e6;
  --primary-strong: #45c4dc;
  --primary-soft: rgba(85, 209, 230, 0.14);
  --shadow: 0 20px 60px rgba(135, 173, 217, 0.18);
  --error: #e66f8d;
  --success: #33b88e;
}

* {
  box-sizing: border-box;
}

html {
  background: linear-gradient(180deg, #edf8ff 0%, #ffffff 38%, #f8fbff 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(124, 219, 255, 0.34), transparent 30rem),
    linear-gradient(180deg, #dff2ff 0%, #eef8ff 26%, #ffffff 48%, #f9fcff 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}

body::before {
  top: 4rem;
  left: -6rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 144, 255, 0.28) 0%, rgba(188, 144, 255, 0) 72%);
}

body::after {
  right: -5rem;
  bottom: 10rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 216, 255, 0.24) 0%, rgba(105, 216, 255, 0) 72%);
}

.page-shell {
  display: none;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, 31rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(1rem, env(safe-area-inset-top)) 1.25rem calc(2rem + env(safe-area-inset-bottom));
}

.card,
.step-card {
  min-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
}

.hero-copy,
.step-copy {
  width: 100%;
}

h1,
.auth-title,
.call-title,
.pin-title {
  margin: 0;
  color: #33384f;
  font-size: clamp(1.8rem, 5vw, 2.55rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.subtitle,
.help-text,
.call-note,
.auth-note,
.loading-text {
  margin: 0.8rem 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
}

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

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mobile-header.center-title {
  justify-content: center;
  position: relative;
}

.mobile-header.center-title .mobile-header-title {
  text-align: center;
}

.mobile-header.center-title .mobile-header-side {
  position: absolute;
  top: 0;
}

.mobile-header.center-title .mobile-header-side.left {
  left: 0;
}

.mobile-header.center-title .mobile-header-side.right {
  right: 0;
}

.mobile-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #3a4058;
  letter-spacing: -0.02em;
}

.circle-btn,
.back-link,
.profile-trigger,
.header-chip {
  width: 3.4rem;
  height: 3.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 26px rgba(178, 201, 228, 0.26);
  color: #3b425d;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  font: inherit;
}

.circle-btn.back-link,
.back-link {
  font-size: 2rem;
  line-height: 1;
}

.header-chip {
  width: auto;
  min-width: 3.4rem;
  padding: 0 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-card,
.survey-card,
.waiting-card,
.rejected-card,
.survey-start-card,
.survey-finish-card,
.call-screen,
.pin-screen {
  padding-top: 0.25rem;
}

.auth-topbar,
.call-topbar {
  margin-bottom: 1rem;
}

.auth-header {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.auth-logo,
.logo-wrap,
.waiting-logo,
.pin-logo {
  width: 9rem;
  height: 2.6rem;
  margin: 0;
  display: grid;
  place-items: center;
}

.logo-image,
.auth-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-title,
.auth-title-left,
.step-copy h1,
.survey-card h1,
.rejected-card h1,
.survey-start-card h1,
.survey-finish-card h1 {
  font-size: clamp(2rem, 5vw, 2.7rem);
}

.auth-title-left,
.step-copy,
.hero-copy {
  text-align: left;
}

.phone-form,
.step-form,
.survey-form,
.auth-form {
  display: grid;
  gap: 1rem;
}

.field-label,
.auth-label {
  display: block;
  color: #979fb4;
  font-size: 0.95rem;
  font-weight: 600;
}

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 7px 0;
  border: 0;
  border-bottom: 1.5px solid gray;
  border-radius: 0;
  background: transparent;
  transition: border-color 160ms ease;
}

.phone-field:focus-within {
  border-color: var(--line-strong);
}

.single-field {
  grid-template-columns: 1fr;
}

.prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 0.25rem 0 0;
}

.flag-badge {
  width: 1.65rem;
  height: 1.18rem;
  border-radius: 0.3rem;
  display: inline-block;
  background: linear-gradient(180deg, #56a6ff 0 50%, #ffd44f 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.code {
  color: #3f455f;
  font-size: 1rem;
  font-weight: 700;
}

.phone-field input,
.otp-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #373d56;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
}

.phone-field input::placeholder,
.otp-input::placeholder {
  color: #b1b8c9;
  opacity: 1;
}

.field-action {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: transparent;
  color: var(--primary);
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.field-action svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
}

.submit-btn {
  width: 100%;
  min-height: 3.9rem;
  padding: 1rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 28px rgba(85, 209, 230, 0.28);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, background 160ms ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
}

.submit-btn.is-inactive,
.submit-btn:disabled {
  background: linear-gradient(180deg, #dbe5ed 0%, #d3dde6 100%);
  color: #95a0b2;
  box-shadow: none;
  cursor: not-allowed;
}

.submit-btn.is-ready {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #ffffff;
}

.secondary-btn {
  margin-top: 0.8rem;
}

.field-error,
.status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.field-error,
.status.is-error {
  color: var(--error);
}

.status.is-success {
  color: var(--success);
}

.error-card {
  display: none;
  align-items: flex-start;
  gap: 0.7rem;
  width: 100%;
  min-height: 0;
  margin-top: 0.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(239, 92, 84, 0.95);
  border-radius: 1.1rem;
  background: rgba(255, 245, 245, 0.92);
  color: #db5c55;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.error-card:not(:empty) {
  display: flex;
}

.error-card::before {
  content: "!";
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #db5c55;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 0.05rem;
}

.auth-note a {
  color: var(--primary-strong);
}

.auth-submit {
  position: static;
  margin-top: 1rem;
}

.is-hidden {
  display: none !important;
}

.phone-auth-card {
  padding-top: 0.9rem;
}

.phone-auth-header {
  margin-bottom: 1.6rem;
}

.phone-auth-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.35rem);
  line-height: 1.08;
}

.phone-auth-note {
  margin-top: 0.6rem;
  text-align: right;
  color: #32374f;
  font-size: 0.95rem;
  font-weight: 600;
}

.phone-form.auth-form {
  gap: 0.85rem;
}

.phone-form-fields {
  display: grid;
  gap: 0.35rem;
}

.phone-form .field-label {
  margin-top: 0.15rem;
}

.phone-form .phone-field {
  min-height: 3.25rem;
}

.phone-form .field-error {
  min-height: 0.9rem;
}

.phone-form .auth-submit {
  margin-top: 1.25rem;
}

.phone-inline-waiting {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: auto;
}

.phone-waiting-loader {
  padding: 0;
}

.phone-waiting-ring {
  width: 3.9rem;
  height: 3.9rem;
  border-width: 0.42rem;
  border-color: rgba(103, 223, 241, 0.16);
  border-top-color: rgba(103, 223, 241, 0.95);
  border-right-color: rgba(103, 223, 241, 0.7);
  animation-duration: 0.75s;
}

.phone-waiting-footer {
  display: none;
}

.phone-waiting-gear {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary-strong);
}

.phone-waiting-gear svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.phone-waiting-text {
  margin: 0;
  color: var(--primary-strong);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
}

body.is-phone-waiting .status {
  min-height: 0;
}

body.is-phone-waiting::before {
  content: "";
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  filter: none;
  z-index: 1;
  background: rgba(122, 122, 122, 0.34);
  backdrop-filter: saturate(0.72) brightness(0.92);
  pointer-events: none;
}

body.is-phone-waiting::after {
  display: none;
}

body.is-phone-waiting .page {
  position: relative;
  z-index: 2;
}

body.is-phone-waiting .submit-btn {
  opacity: 0.92;
}

body.is-phone-waiting .phone-inline-waiting {
  pointer-events: auto;
}

.auth-links,
.ghost-link,
.center-link,
.locale-switch,
.apple-button,
.apple-icon,
.phone-statusbar,
.status-icons,
.call-profile,
.call-home-indicator,
.pin-forgot {
  display: none;
}

.password-row {
  grid-template-columns: 1fr auto;
}

.hero-stage {
  position: relative;
  min-height: 27rem;
  margin: -1.25rem -1.25rem 1.5rem;
  padding: 1rem 1.25rem 0;
  overflow: hidden;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  background:
    radial-gradient(circle at 50% 34%, rgba(120, 228, 255, 0.45), rgba(120, 228, 255, 0) 46%),
    linear-gradient(180deg, #c9efff 0%, #bde7ff 32%, #cdd7ff 100%);
  box-shadow: inset 0 -14px 28px rgba(255, 255, 255, 0.45);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto 1.4rem 2.4rem;
  height: 4.2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 117, 235, 0.22) 0%, rgba(130, 117, 235, 0) 72%);
}

.hero-stage-visual {
  position: relative;
  height: 22rem;
  margin-top: 1rem;
}

.hero-ring {
  position: absolute;
  inset: 0.6rem auto auto 50%;
  width: 31rem;
  height: 31rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(111, 225, 255, 0.36) 0%, rgba(111, 225, 255, 0.12) 56%, rgba(111, 225, 255, 0) 74%);
}

.hero-phone {
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  width: 10.6rem;
  height: 18rem;
  transform: translateX(-50%);
  border-radius: 2.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(236, 242, 255, 0.78) 100%);
  border: 2px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(129, 197, 231, 0.26),
    0 22px 34px rgba(135, 154, 214, 0.22);
  backdrop-filter: blur(10px);
}

.hero-phone::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 50%;
  width: 3rem;
  height: 0.28rem;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(169, 187, 214, 0.8);
}

.hero-phone::after {
  content: "AMIO";
  position: absolute;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #2d3148;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.hero-float-card,
.hero-float-icon,
.hero-ball,
.hero-pedestal {
  position: absolute;
}

.hero-float-card {
  left: 2.7rem;
  bottom: 6rem;
  width: 10rem;
  height: 6.2rem;
  border-radius: 1.55rem;
  padding: 1.25rem 1rem;
  transform: rotate(-11deg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86) 0%, rgba(231, 241, 255, 0.56) 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 28px rgba(134, 154, 213, 0.2);
}

.hero-float-card::before {
  content: "AMIO";
  color: #363b52;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-float-card::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 2.1rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 2px solid rgba(85, 209, 230, 0.7);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(16deg);
}

.hero-float-icon {
  right: 1.9rem;
  bottom: 5.15rem;
  width: 11.8rem;
  height: 11.8rem;
  border-radius: 2rem;
  transform: rotate(12deg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(228, 241, 255, 0.6) 100%);
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 30px rgba(134, 154, 213, 0.2);
}

.hero-float-icon::before,
.hero-float-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.hero-float-icon::before {
  width: 4.5rem;
  height: 4.5rem;
  border: 1rem solid #393945;
}

.hero-float-icon::after {
  width: 6.5rem;
  height: 6.5rem;
  border: 0.85rem solid transparent;
  border-bottom-color: var(--primary);
  border-left-color: var(--primary);
  transform: translate(-50%, -50%) rotate(-18deg);
}

.hero-pedestal {
  left: 50%;
  bottom: 1.5rem;
  width: 13.2rem;
  height: 3.4rem;
  border-radius: 50% / 42%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
  box-shadow: 0 12px 26px rgba(137, 151, 212, 0.16);
}

.hero-ball {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ffffff 0%, #9be0ff 28%, #cfa6ff 68%, rgba(196, 157, 255, 0.2) 100%);
  box-shadow: 0 12px 20px rgba(132, 159, 210, 0.16);
}

.hero-ball.left {
  left: 2.4rem;
  bottom: 2.8rem;
  width: 4.6rem;
  height: 4.6rem;
}

.hero-ball.right {
  right: 4.4rem;
  bottom: 0.9rem;
  width: 4.2rem;
  height: 4.2rem;
}

.hero-ball.small {
  right: 1.4rem;
  bottom: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  background: radial-gradient(circle at 30% 28%, #ffffff 0%, #4ac8f0 28%, #1f9dca 100%);
}

.welcome-actions {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.welcome-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ghost-btn {
  min-height: 3.6rem;
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  border: 1.5px solid var(--primary);
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(151, 195, 223, 0.1);
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: auto;
  padding: 1.5rem 0 0.25rem;
}

.bottom-nav-item {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
  color: #2f344b;
  font-size: 0.77rem;
  font-weight: 700;
}

.bottom-nav-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  border: 1.5px solid rgba(52, 57, 78, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.55);
}

.survey-start-card,
.survey-finish-card,
.survey-card,
.rejected-card,
.waiting-card {
  gap: 1.2rem;
}

.screen-panel {
  padding: 1.35rem 1.2rem 1.45rem;
  border-radius: 2rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.screen-panel.flat {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.survey-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.8rem;
}

.survey-progress span {
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(85, 209, 230, 0.18);
}

.survey-progress .survey-progress-active {
  background: linear-gradient(90deg, #90e7f6 0%, #4ccfe3 100%);
}

.survey-option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(85, 209, 230, 0.22);
  box-shadow: 0 10px 24px rgba(181, 206, 232, 0.12);
  cursor: pointer;
}

.survey-option input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--primary);
}

.survey-option span {
  color: #353b54;
  font-weight: 700;
}

body[data-survey-step="3"] .step-copy h1 {
  max-width: 11ch;
  font-size: clamp(1.9rem, 4.1vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.loading-box {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
}

.loading-ring {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 0.3rem solid rgba(85, 209, 230, 0.16);
  border-top-color: var(--primary);
  animation: spin 0.9s linear infinite;
}

.waiting-status {
  text-align: center;
  color: #7f879c;
}

.rejected-card .screen-panel,
.waiting-card .screen-panel,
.survey-start-card .screen-panel,
.survey-finish-card .screen-panel {
  margin-top: auto;
  margin-bottom: auto;
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.otp-input {
  aspect-ratio: 1 / 1;
  border-radius: 1.15rem;
  border: 1.5px solid rgba(85, 209, 230, 0.22);
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  box-shadow: 0 10px 22px rgba(181, 206, 232, 0.12);
}

.otp-input:focus {
  border-color: var(--line-strong);
}

.pin-screen {
  justify-content: flex-start;
}

.pin-header {
  text-align: center;
  margin-bottom: 1rem;
}

.pin-title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pin-info {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: inline-grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1rem;
}

.pin-dot {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: rgba(85, 209, 230, 0.22);
}

.pin-dot.is-filled {
  background: var(--primary);
}

.pin-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  width: 100%;
  max-width: 19rem;
  margin: 1rem auto 0;
}

.pin-key {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.9);
  color: #394059;
  font: inherit;
  font-size: 1.65rem;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(181, 206, 232, 0.16);
}

.pin-key-spacer {
  background: transparent;
  box-shadow: none;
}

.pin-key-delete {
  font-size: 1.35rem;
}

.pin-submit-hidden {
  display: none;
}

.birth-year-page {
  width: min(100%, 32rem);
  padding: 0;
}

.birth-year-card {
  min-height: 100vh;
  padding-top: 0.9rem;
}

.birth-year-sheet {
  min-height: 100vh;
    border-top-left-radius: 3.2rem;
  border-top-right-radius: 3.2rem;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 68%, #f1f2f8 100%);
}

.birth-year-header {
  padding: 2rem 1.5rem 1.35rem;
  border-bottom: 1px solid rgba(126, 131, 153, 0.35);
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
  /* border-bottom-left-radius: 3.2rem; */
  /* border-bottom-right-radius: 3.2rem; */
  background: #ffffff;
  text-align: center;
}

.birth-year-title {
  margin: 0;
  color: #3f425d;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.birth-year-form {
  min-height: calc(100vh - 12rem);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 1.6rem;
  padding: 2rem 1.6rem 1.2rem;
}

.birth-year-copy {
  color: #b5b5bb;
  font-size: 0.98rem;
  line-height: 1.17;
  text-align: center;
  font-weight: 800;
}

.birth-year-copy p {
  margin: 0 0 0.55rem;
}

.birth-year-code {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: end;
  margin-top: 0.35rem;
}

.birth-year-code-shell {
  position: relative;
  display: block;
  cursor: text;
}

.birth-year-native-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  outline: 0;
  opacity: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  font-size: 1rem;
}

.birth-year-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.1rem;
  padding-bottom: 0.55rem;
  border-bottom: 0.14rem solid #b9bcc6;
  color: #474b63;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.birth-year-slot.is-active,
.birth-year-slot.is-filled {
  border-bottom-color: var(--primary);
}

.birth-year-app {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.birth-year-app-icon {
  width: 4.7rem;
  height: 4.7rem;
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(160, 168, 193, 0.18);
  display: grid;
  place-items: center;
  color: #777777;
}

.birth-year-app-icon svg {
  width: 3rem;
  height: 3rem;
  fill: currentColor;
}

.birth-year-app-label {
  margin: 0;
  color: #aeb0b8;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 700;
}

.birth-year-open-btn {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(116, 123, 148, 0.24);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.82);
  color: #3f425d;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 22px rgba(160, 168, 193, 0.1);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.birth-year-open-btn:hover {
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
}

.birth-year-timer {
  margin: -0.35rem 0 0;
  color: #7e879f;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.birth-year-timer span {
  color: #33384f;
}

.birth-year-timer.is-expired span {
  color: var(--error);
}

.flow-inline-waiting {
  position: fixed;
  inset: 0;
  border-radius: 0;
  filter: none;
  z-index: 10;
  background: rgba(122, 122, 122, 0.34);
  -webkit-backdrop-filter: saturate(0.72) brightness(0.92);
  backdrop-filter: saturate(0.72) brightness(0.92);
  display: grid;
  place-items: center;
  pointer-events: auto;
}

body.is-flow-waiting::before {
  content: "";
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  filter: none;
  z-index: 1;
  background: rgba(122, 122, 122, 0.34);
  -webkit-backdrop-filter: saturate(0.72) brightness(0.92);
  backdrop-filter: saturate(0.72) brightness(0.92);
  pointer-events: none;
}

body.is-flow-waiting::after {
  display: none;
}

body.is-flow-waiting .page {
  position: relative;
  z-index: 2;
}

.birth-year-guide {
  display: flex;
  justify-content: center;
  margin-top: -0.4rem;
}

.birth-year-guide-media {
  width: min(100%, 30rem);
  height: auto;
  border-radius: 1rem;
}

.birth-year-error,
.birth-year-form .status {
  min-height: 0;
  text-align: center;
}

.birth-year-error-title {
  display: none;
  min-height: 0;
  margin: 0;
  color: #000000;
  text-align: center;
  font-family: "Noto Sans Armenian", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.birth-year-error-title:not(:empty) {
  display: block;
}

.birth-year-sheet-acba {
  grid-template-rows: auto auto 1fr;
  padding: 0.9rem 0 1.4rem;
  background:
    linear-gradient(180deg, rgba(196, 236, 245, 0.92) 0%, rgba(255, 255, 255, 0.98) 26%, #ffffff 100%);
}

.birth-year-brand {
  padding: 0.25rem 1.55rem 0;
}

.birth-year-brand-image {
  display: block;
  width: auto;
  height: 2.9rem;
}

.birth-year-header-acba {
  padding: 1.2rem 1.5rem 0.45rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.birth-year-header-acba .birth-year-title {
  color: #163a67;
  font-family: "Noto Sans Armenian", sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.birth-year-form-acba {
  min-height: auto;
  grid-template-rows: auto auto auto auto auto auto 1fr;
  gap: 0.85rem;
  padding: 0.2rem 1.25rem 0;
}

.birth-year-open-link {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #163a67;
  font-family: "Noto Sans Armenian", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0.45rem 0 1rem;
  line-height: 1.28;
  text-align: center;
  cursor: pointer;
}

.birth-year-open-link-underlined {
  color: #163a67;
  text-decoration: underline;
  text-decoration-thickness: 0.08rem;
  text-underline-offset: 0.16rem;
}

.birth-year-open-link-accent {
  color: #73cfe3;
  text-decoration: none;
}

.birth-year-code-shell-acba {
  display: block;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.birth-year-native-input-acba {
  position: static;
  width: 100%;
  height: 3.15rem;
  margin: 0;
  padding: 0 1rem;
  border: 1px solid #000000;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.86);
  color: #163a67;
  caret-color: #163a67;
  opacity: 1;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 24px rgba(169, 190, 219, 0.16);
  user-select: text;
  -webkit-user-select: text;
  -webkit-touch-callout: default;
}

.birth-year-native-input-acba::placeholder {
  color: #8ea2bf;
  letter-spacing: 0.04em;
}

.birth-year-timer-acba {
  margin: 0.2rem 0 0;
  color: black;
  font-family: "Noto Sans Armenian", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
}

.birth-year-timer-acba span {
  color: black;
}

.birth-year-guide-acba {
  justify-content: center;
  margin-top: 0.7rem;
}

.birth-year-guide-media-acba {
  width: min(100%, 22rem);
  border-radius: 0;
  box-shadow: none;
}

.birth-year-form-acba .birth-year-error {
  min-height: 1rem;
  margin: -0.2rem 0 0;
}

.birth-year-card-restored {
  padding-top: 0;
}

body[data-step="birth_year"] {
  background: #dff8ff;
}

body[data-step="birth_year"]::before,
body[data-step="birth_year"]::after {
  display: none;
}

.birth-year-sheet-restored {
  min-height: 100vh;
  padding: 1.05rem 0 0;
  background: #dff8ff;
}

.birth-year-panel-restored {
  min-height: calc(100vh - 1.05rem);
  overflow: hidden;
  border-top-left-radius: 2.65rem;
  border-top-right-radius: 2.65rem;
  background: #ffffff;
  box-shadow: 0 0.35rem 1.35rem rgba(139, 177, 205, 0.1);
}

.birth-year-header-restored {
  padding: 2.15rem 1.35rem 1.45rem;
  border-bottom: 1px solid rgba(206, 208, 216, 0.7);
  text-align: center;
}

.birth-year-title-restored {
  margin: 0;
  color: #35384e;
  font-family: "Noto Sans Armenian", sans-serif;
  font-size: clamp(1.35rem, 5vw, 2rem);
  line-height: 1.1;
  font-weight: 800;
}

.birth-year-form-restored {
  min-height: calc(100vh - 7.7rem);
  grid-template-rows: auto auto auto auto auto 1fr auto;
  gap: 1.1rem;
  padding: 1.75rem 1.55rem 0;
}

.birth-year-copy-restored {
  margin: 0 auto;
  padding-left: 0;
  color: #b7b8c0;
  font-family: "Noto Sans Armenian", sans-serif;
  font-size: 0.84rem;
  line-height: 1.32;
  font-weight: 800;
  text-align: center;
  list-style-position: inside;
  max-width: 24rem;
}

.birth-year-copy-restored li + li {
  margin-top: 0.55rem;
}

.birth-year-open-link-restored {
  width: 100%;
  min-height: 3rem;
  margin: 0.55rem 0 0.35rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(180, 184, 198, 0.58);
  border-radius: 0.72rem;
  background: #ffffff;
  color: #36394e;
  box-shadow: 0 0.95rem 1.6rem rgba(164, 172, 190, 0.12);
  font-family: "Noto Sans Armenian", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
}

.birth-year-code-shell-restored {
  margin-top: 0.85rem;
  margin-bottom: 40px;
}

.birth-year-code-restored {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
}

.birth-year-code-restored .birth-year-slot {
  min-height: 2rem;
  padding-bottom: 0.55rem;
  border-bottom-width: 0.12rem;
  color: #24365f;
}

.birth-year-timer-restored {
  margin: -0.5rem 0 0;
  color: #35384e;
  font-family: "Noto Sans Armenian", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.birth-year-timer-restored span {
  color: #35384e;
}

.birth-year-actions-restored {
  display: none;
}

.birth-year-resend-btn {
  min-height: 3.2rem;
  border-radius: 1rem;
}

.birth-year-guide-restored {
  align-self: end;
  margin-top: 1rem;
}

.birth-year-guide-media-restored {
  width: min(100%, 25rem);
  max-height: 17rem;
  object-fit: contain;
  border-radius: 0;
}

.age-page {
  width: min(100%, 32rem);
  padding: 0;
}

.age-card {
  min-height: 100vh;
  padding-top: 0.9rem;
}

.card-page {
  width: min(100%, 34rem);
  padding: 1.25rem 0 1.5rem;
}

.payout-card {
  min-height: calc(100vh - 2.75rem);
}

.payout-sheet {
  min-height: calc(100vh - 2.75rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2.1rem 2.1rem 0 0;
  background: #fff;
  box-shadow: 0 16px 45px rgba(63, 74, 98, 0.12);
  font-family: "Noto Sans Armenian", "Manrope", sans-serif;
}

.payout-header {
  display: grid;
  place-items: center;
  min-height: 7rem;
  border-bottom: 1px solid #d5d5d5;
  padding: 1.5rem 1.25rem 1.25rem;
}

.payout-header h1 {
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  line-height: 1.15;
  text-align: center;
  color: #31344d;
  font-weight: 800;
}

.payout-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.35rem 1.5rem;
}

.payout-form h2 {
  margin: 0 0 1.4rem;
    font-size: clamp(-5.05rem, 4.4vw, 1.75rem);
    text-align: center;
  line-height: 1.2;
  color: #080808;
  font-weight: 800;
}

.payout-methods {
  display: flex;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  margin-bottom: 1.04rem;
}

.payout-method {
  min-height: 3.2rem;
  padding: 15px;
  display: grid;
  place-items: center;
  gap: 0.2rem;
  border: 1px solid #c8c8c8;
  border-radius: 0.45rem;
  background: #fff;
  color: #080808;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
}

.payout-method.is-selected {
  border-color: #7fdbe7;
}

.payout-method-icon {
  width: 1.24rem;
  height: 1.24rem;
  color: #32344a;
}

.payout-method.is-selected .payout-method-icon {
  color: #52cfe0;
}

.payout-method-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.payout-label {
  margin: 0 0 0.6rem;
  color: #b8b8bd;
  font-size: 1rem;
  font-weight: 800;
}

.payout-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #bdbdbd;
  border-radius: 0;
  padding: 0 0 0.75rem;
  color: #24283d;
  background: transparent;
  font: inherit;
  font-size: clamp(1.05rem, 5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0;
  outline: none;
}

.payout-input::placeholder {
  color: #c7c7cc;
  opacity: 1;
}

.payout-input:focus {
  border-bottom-color: #52cfe0;
}

.flow-error-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 0.45rem 0.4rem;
  background: rgba(0, 0, 0, 0.56);
}

.flow-error-dialog-panel {
  width: min(100%, 28.6rem);
  overflow: hidden;
  border-radius: 0.25rem;
  background: #fff;
  color: #34374c;
  text-align: center;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
}

.flow-error-dialog-icon {
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  margin: 1.2rem auto 0.75rem;
  border: 2px solid #ff3b3b;
  border-radius: 50%;
  color: #ff3b3b;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.flow-error-dialog-message {
  margin: 0 1rem 1.05rem;
  font-family: "Noto Sans Armenian", "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

.flow-error-dialog-button {
  width: 100%;
  min-height: 3.15rem;
  border: 0;
  border-top: 1px solid #d8d8d8;
  background: #fff;
  color: #52cfe0;
  font-family: "Noto Sans Armenian", "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.payout-error {
  min-height: 2.3rem;
  margin-top: 0.8rem;
}

.payout-submit {
  margin-top: auto;
  min-height: 4.7rem;
  border-radius: 1rem;
  font-family: "Noto Sans Armenian", "Manrope", sans-serif;
  font-size: clamp(0.4rem, 4.3vw, 1.65rem);
  background: #52cfe0;
  box-shadow: none;
}

@media (max-width: 380px) {
  .payout-methods {
    gap: 0.85rem;
  }

  .payout-form {
    padding-inline: 1rem;
  }
}

.age-sheet {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  border-top-left-radius: 3.2rem;
  border-top-right-radius: 3.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 68%, #f4f5fa 100%);
}

.age-header {
  padding: 2.2rem 1.5rem 1.55rem;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
  border-bottom: 1px solid rgba(126, 131, 153, 0.35);
  background: #ffffff;
  text-align: center;
}

.age-title {
  margin: 0;
  color: #3f425d;
  font-size: clamp(2rem, 5vw, 2.45rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.age-form {
  min-height: calc(100vh - 12rem);
  padding: 2.6rem 1.6rem 1.2rem;
}

.age-copy {
  margin: 0;
  color: #b7b7bd;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.18;
  font-weight: 800;
}

.age-code-shell {
  position: relative;
  display: block;
  cursor: text;
  margin-top: 50px;
}

.age-native-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  outline: 0;
  opacity: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
}

.age-code {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.7rem;
  align-items: end;
}

.age-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding-bottom: 0.55rem;
  border-bottom: 0.14rem solid #b9bcc6;
  color: #474b63;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.age-slot.is-active,
.age-slot.is-filled {
  border-bottom-color: var(--primary);
}

.age-timer {
  margin: 0;
  color: #33384f;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 800;
  margin-top: 50px;
      margin-bottom: 50px;
}

.age-error,
.age-form .status {
  min-height: 0;
  text-align: center;
}

body[data-step="email"] {
  background: #dff8ff;
}

body[data-step="email"]::before,
body[data-step="email"]::after {
  display: none;
}

.email-page,
.email-card {
  min-height: 100vh;
  padding: 0;
}

.email-sheet {
  min-height: 100vh;
  margin: 0;
  border-radius: 2.55rem 2.55rem 0 0;
  background: #fff;
}

.email-header {
  padding: 2.15rem 1.25rem 1.45rem;
  border-bottom: 1px solid rgba(206, 208, 216, 0.75);
}

.email-title {
  color: #34374c;
  font-size: clamp(1.75rem, 6vw, 2.15rem);
}

.email-form {
  min-height: calc(100vh - 7rem);
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 1.35rem;
  padding: 2.25rem 2rem 0;
}

.email-copy {
  max-width: 22rem;
  margin: 0 auto 1.65rem;
  color: #b7b8c0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.email-code-shell {
  margin: 0;
}

.email-code {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.email-code .email-slot {
  min-height: 2rem;
  border-bottom-width: 0.1rem;
}

.email-code .email-slot.is-active,
.email-code .email-slot.is-filled {
  border-bottom-color: #52cfe0;
  color: #24365f;
}

.email-timer {
  margin: 0.25rem 0 0;
  color: #20243b;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.call-screen {
  justify-content: flex-start;
  gap: 1.2rem;
}

.call-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.call-hero {
  display: grid;
  gap: 1rem;
}

.call-orb {
  width: 8.5rem;
  height: 8.5rem;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(84, 207, 228, 0.28) 0 42%, transparent 43%),
    radial-gradient(circle, rgba(84, 207, 228, 0.16) 0 62%, transparent 63%);
  position: relative;
}

.call-orb::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #71ddf0 0%, #49c8df 100%);
  box-shadow: 0 18px 30px rgba(85, 209, 230, 0.28);
}

.call-orb-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  font-size: 3rem;
  filter: grayscale(1) brightness(6);
}

.call-copy {
  display: grid;
  gap: 0.8rem;
  text-align: center;
}

.call-phone {
  margin: 0;
  color: #38405a;
  font-size: clamp(1.6rem, 6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.call-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.2rem auto 0;
}

.call-timer-box {
  min-width: 3.7rem;
  padding: 0.8rem 0.65rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(181, 206, 232, 0.14);
  font-size: 1.5rem;
  font-weight: 800;
}

.call-timer-sep {
  font-size: 1.7rem;
  color: #6b7389;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .page {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-stage {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-stage-visual {
    height: 21rem;
  }

  .hero-ring {
    width: 26rem;
    height: 26rem;
  }

  .hero-phone {
    width: 9.5rem;
    height: 16.5rem;
  }

  .hero-float-card {
    left: 1rem;
    width: 8.8rem;
    height: 5.6rem;
  }

  .hero-float-icon {
    right: 0.85rem;
    width: 9.9rem;
    height: 9.9rem;
  }
}

@media (max-width: 420px) {
  .mobile-header-title {
    max-width: 10rem;
  }

  .circle-btn,
  .back-link,
  .profile-trigger,
  .header-chip {
    width: 3rem;
    height: 3rem;
  }

  .header-chip {
    min-width: 3rem;
    padding: 0 0.8rem;
  }

  .hero-stage {
    min-height: 24rem;
  }

  .hero-stage-visual {
    height: 18.5rem;
  }

  .hero-phone {
    width: 8.6rem;
    height: 14.8rem;
    bottom: 2.2rem;
  }

  .hero-phone::after {
    top: 4.1rem;
    font-size: 2.35rem;
  }

  .hero-float-card {
    bottom: 5rem;
    width: 8rem;
    height: 5.1rem;
  }

  .hero-float-card::before {
    font-size: 1.55rem;
  }

  .hero-float-icon {
    bottom: 4.4rem;
    width: 8.8rem;
    height: 8.8rem;
  }

  .welcome-secondary {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    gap: 0.55rem;
  }

  .bottom-nav-item {
    font-size: 0.7rem;
  }

  .pin-pad {
    gap: 0.8rem;
  }

  .phone-auth-card {
    padding-top: 0.9rem;
  }

  .phone-waiting-footer {
    margin-top: 20rem;
  }
}

.root-intake-body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 50% 8%, rgba(179, 224, 244, 0.95) 0, rgba(179, 224, 244, 0.95) 12rem, rgba(179, 224, 244, 0) 12.1rem),
    linear-gradient(180deg, #a9cee3 0%, #c1dde9 24%, #eef4f7 100%);
}

.root-intake-body::before,
.root-intake-body::after {
  display: none;
}

.root-intake-page {
  width: min(100%, 37rem);
  min-height: 100vh;
  margin: 0 auto;
}

.root-intake-hero {
  min-height: 7rem;
  padding: max(1.2rem, env(safe-area-inset-top)) 1.5rem 0;
}

.root-intake-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #131313;
  font-size: 1.05rem;
  font-weight: 800;
}

.root-intake-statusbar-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.root-intake-signal,
.root-intake-wifi {
  display: inline-block;
  width: 1rem;
  height: 0.7rem;
  border: 2px solid #111111;
  border-radius: 0.2rem;
}

.root-intake-wifi {
  width: 1.05rem;
  border-radius: 50% 50% 0.25rem 0.25rem;
}

.root-intake-battery {
  min-width: 2.15rem;
  padding: 0.16rem 0.4rem;
  border-radius: 0.55rem;
  background: #5f6d79;
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1;
  text-align: center;
}

.root-intake-sheet {
  min-height: calc(100vh - 7rem);
  overflow: hidden;
  border-top-left-radius: 2.6rem;
  border-top-right-radius: 2.6rem;
  background: #ffffff;
  box-shadow: 0 -0.5rem 1.5rem rgba(117, 144, 156, 0.08);
}

.root-intake-logo {
  width: 8.8rem;
  max-width: 100%;
  height: auto;
  display: block;
}

.root-intake-copy {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.root-intake-message {
  margin: 0;
  color: #353944;
  font-size: clamp(1.22rem, 4.8vw, 1.85rem);
  line-height: 1.45;
  font-weight: 700;
}

.root-intake-message-strong {
  margin-top: 0.1rem;
  color: #2f3446;
  font-size: clamp(1.28rem, 5.1vw, 1.95rem);
  font-weight: 800;
}

.root-intake-form {
  display: grid;
  gap: 1rem;
}

.root-intake-options {
  display: grid;
  gap: 0.95rem;
}

.root-intake-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  min-height: 4.7rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid #9ca1aa;
  border-radius: 1.25rem;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.root-intake-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.root-intake-option-mark {
  width: 1.45rem;
  height: 1.45rem;
  border: 2px solid #a2a7b0;
  border-radius: 50%;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.root-intake-option-text {
  color: #444957;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
}

.root-intake-option:has(input:checked) {
  border-color: #57cfe7;
  background: #f7fdff;
  box-shadow: 0 0 0 3px rgba(87, 207, 231, 0.1);
}

.root-intake-option input:checked + .root-intake-option-mark {
  border-color: #20bfd8;
  background: radial-gradient(circle at center, #20bfd8 0 42%, #ffffff 43% 100%);
}

.root-intake-check {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: start;
  gap: 0.7rem;
  color: #393d48;
  line-height: 1.45;
}

.root-intake-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.root-intake-check-box {
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.08rem;
  border: 2px solid #9ca1aa;
  border-radius: 0.45rem;
  background: #ffffff;
}

.root-intake-check input:checked + .root-intake-check-box {
  border-color: #20bfd8;
  background: #20bfd8;
  position: relative;
}

.root-intake-check input:checked + .root-intake-check-box::after {
  content: "✓";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -56%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.root-intake-check-text {
  font-size: 0.98rem;
}

.root-intake-check-secondary {
  grid-template-columns: auto auto 1fr;
}

.root-intake-check-secondary .root-intake-check-text a {
  color: #0b74bf;
  text-decoration-thickness: 1px;
}

.root-intake-info {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.2rem;
  border: 1.5px solid #8d9098;
  border-radius: 50%;
  color: #777b85;
  display: inline-grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.root-intake-error {
  min-height: 1.2rem;
  margin: 0;
  color: #db5c55;
  font-size: 0.95rem;
  font-weight: 700;
}

.root-intake-submit {
  width: 100%;
  min-height: 4.9rem;
  margin-top: 0.3rem;
  border: 0;
  border-radius: 1.35rem;
  background: #efefef;
  color: #b4b4b4;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.root-intake-submit.is-ready {
  background: linear-gradient(180deg, #55d1e6 0%, #38bcd6 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(56, 188, 214, 0.24);
}

.root-intake-submit.is-ready:hover {
  transform: translateY(-1px);
}

@media (max-width: 420px) {
  .root-intake-hero {
    min-height: 5.6rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .root-intake-sheet-body {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .root-intake-submit {
    min-height: 4.45rem;
  }

  .root-intake-option {
    min-height: 4.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
