:root {
  --navy: #5e63a9;
  --deep: #35345f;
  --gold: #f1b95d;
  --lavender: #dcd8ff;
  --lavender-deep: #8d87d9;
  --baby-blue: #cdebff;
  --mint: #cff5e7;
  --peach: #ffe1cf;
  --butter: #fff0ba;
  --rose: #ffd7e4;
  --cream: #fff8ee;
  --text: #2f3148;
  --muted: #74758b;
  --border: #e7e1f3;
  --field: #f7f3ff;
  --green: #248b6d;
  --clay-shadow: 10px 14px 28px rgba(126, 113, 166, 0.18), -8px -8px 20px rgba(255, 255, 255, 0.82), inset 1px 1px 2px rgba(255, 255, 255, 0.95), inset -5px -6px 12px rgba(126, 113, 166, 0.1);
  --clay-button: 8px 10px 18px rgba(126, 113, 166, 0.2), -5px -5px 12px rgba(255, 255, 255, 0.86), inset 1px 1px 1px rgba(255, 255, 255, 0.9);
  --clay-inset: inset 6px 7px 14px rgba(126, 113, 166, 0.14), inset -7px -7px 14px rgba(255, 255, 255, 0.9);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 14%, rgba(205, 235, 255, 0.72), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(220, 216, 255, 0.78), transparent 31%),
    linear-gradient(135deg, #fff8ee 0%, #eef8ff 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 390px) minmax(240px, 340px);
  gap: 36px;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.device {
  position: relative;
  width: 390px;
  height: 780px;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 52px;
  background: #f5ecff;
  box-shadow: 28px 34px 70px rgba(97, 86, 139, 0.28), -18px -18px 42px rgba(255, 255, 255, 0.8), inset 0 0 0 8px rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.notch {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 30;
  width: 126px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 0 0 20px 20px;
  background: #e9e2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notch span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bdb5ea;
}

.notch i {
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: #bdb5ea;
}

.status {
  position: absolute;
  top: 16px;
  left: 31px;
  right: 31px;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  pointer-events: none;
  font-size: 13px;
}

.status strong {
  letter-spacing: 1px;
}

.device:has(.app-shot-screen.active) .status {
  display: none;
}

.screen {
  position: absolute;
  inset: 14px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 38px;
  background: var(--cream);
}

.screen.active {
  display: flex;
}

.intro {
  position: absolute;
  color: #fff;
  padding: 66px 28px 28px;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 8, 18, 0.18), rgba(4, 8, 18, 0.12) 38%, rgba(4, 8, 18, 0.54)),
    radial-gradient(circle at 50% 76%, rgba(0, 0, 0, 0.28), transparent 36%);
}

.intro-blue {
  background:
    url("./assets/splash-global-gifting-background.png") center / cover no-repeat,
    #081827;
}

.intro-green {
  background:
    url("./assets/splash-eventfeed-background.png") center / cover no-repeat,
    #081827;
}

.intro-purple {
  background:
    url("./assets/splash-local-vendor-background.png") center / cover no-repeat,
    #081827;
}

.intro-brown {
  background:
    url("./assets/splash-local-vendor-background.png") center / cover no-repeat,
    #081827;
}

.brand-lockup {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
}

.brand-lockup h1 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 900;
}

.logo-card {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 18px 40px rgba(9, 24, 40, 0.22);
}

.logo-card.large {
  width: 120px;
  height: 120px;
  border-radius: 22px;
}

.logo-card img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.intro-copy {
  position: relative;
  z-index: 1;
  margin: auto 0 128px;
  text-align: center;
}

.intro-copy h2 {
  margin: 0 0 12px;
  font-size: 29px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 3px 11px rgba(0, 0, 0, 0.92);
}

.intro-copy h3 {
  margin: -4px 0 10px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.9);
}

.intro-copy p {
  max-width: 270px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.88);
}

.intro-footer {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 48px 1fr 52px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 14px;
}

.intro-footer.first {
  grid-template-columns: 48px 1fr 52px;
}

.intro-footer .primary {
  grid-column: 2;
  justify-self: center;
}

.intro-footer .skip {
  grid-column: 3;
  grid-row: 2;
}

.intro-footer .dots {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.round-back {
  grid-column: 1;
  grid-row: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 800;
}

.dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.dots .on {
  width: 22px;
  background: var(--gold);
}

.primary {
  min-height: 44px;
  border-radius: 13px;
  color: #fff;
  background: var(--gold);
  font-weight: 900;
}

.primary.small {
  min-width: 108px;
}

.primary.wide {
  min-width: 154px;
}

.skip {
  color: rgba(255, 255, 255, 0.54);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.welcome {
  position: relative;
  color: #fff;
  justify-content: flex-start;
  padding: 92px 28px 28px;
  background:
    linear-gradient(rgba(4, 8, 18, 0.08), rgba(4, 8, 18, 0.08)),
    url("./assets/welcome-background.png") center / cover no-repeat,
    #081827;
}

.welcome::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0.02) 0%, rgba(4, 8, 18, 0.08) 42%, rgba(4, 8, 18, 0.18) 100%);
}

.welcome-center {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  margin-top: 0;
}

.welcome .logo-card.large {
  width: 144px;
  height: 144px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.welcome .logo-card.large img {
  border-radius: 30px;
}

.welcome-center p {
  max-width: 322px;
  margin: 172px auto 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 900;
  text-shadow: 0 3px 11px rgba(0, 0, 0, 0.95);
}

.welcome-subtitle {
  display: block;
  max-width: 302px;
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 800;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.95);
}

.welcome-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin-top: auto;
  text-align: center;
}

.welcome .primary {
  color: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgb(207, 245, 231);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.welcome .outline {
  color: var(--deep);
  border-color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.intro-link {
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.full {
  width: 100%;
  min-height: 47px;
}

.outline {
  min-height: 44px;
  border: 2px solid var(--navy);
  border-radius: 13px;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
}

.or {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8a94a4;
  font-size: 12px;
  justify-content: center;
}

.or span {
  width: 76px;
  height: 1px;
  background: #d7dde7;
}

.legal {
  max-width: 280px;
  margin: -5px auto 0;
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.95);
}

.legal b {
  color: #fff;
}

.form {
  background: #fff;
}

.form-head {
  flex: 0 0 auto;
  padding: 48px 22px 18px;
  color: #fff;
  background: var(--navy);
}

.form-head span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.form-head h2 {
  margin: 4px 0 4px;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.form-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.25;
}

.progress {
  display: flex;
  gap: 4px;
}

.progress i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.progress .done {
  background: var(--gold);
}

.progress .active {
  background: #fff;
}

.form-body {
  flex: 1;
  padding: 18px 22px 92px;
  overflow-y: auto;
}

.api-card,
.auth-status,
.danger-card {
  margin-bottom: 13px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.api-card {
  color: var(--navy);
  background: #eaf1f8;
  border: 1px solid #cfdae8;
}

.auth-status.ok {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.auth-status.warn {
  color: #9a6700;
  background: #fff8db;
  border: 1px solid #f4d56b;
}

.auth-status.error,
.danger-card {
  color: #b42318;
  background: #fff1f0;
  border: 1px solid #f6b6b1;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

.field span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0 14px;
  color: #111827;
  background: var(--field);
  outline: none;
}

.two-col,
.three-col {
  display: grid;
  gap: 10px;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.three-col {
  grid-template-columns: 1fr 0.9fr 0.9fr;
}

.form-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px;
  padding: 16px 22px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.form-foot .back {
  min-height: 52px;
}

.form-foot .next {
  min-height: 52px;
  background: var(--navy);
}

.form-foot .danger-btn {
  background: #d92d20;
}

.text-link {
  display: inline-flex;
  color: var(--navy);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 13px;
}

.suggestions button {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--navy);
  background: #eaf1f8;
  font-size: 11px;
  font-weight: 900;
}

.otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.otp-boxes b {
  display: grid;
  place-items: center;
  height: 48px;
  border: 2px solid var(--border);
  border-radius: 11px;
  color: var(--navy);
  background: var(--field);
  font-size: 19px;
}

.identity-card {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 12px;
  padding: 24px 24px 20px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 91% 7%, rgba(226, 165, 8, 0.24), transparent 30%),
    linear-gradient(160deg, #1a3c5e, #0b253e);
}

.mini-logo {
  width: 58px;
  height: 58px;
}

.identity-card strong {
  display: block;
  margin-top: 9px;
  font-size: 14px;
}

.identity-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.tag-pill {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 8px 0 0;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 20px;
}

.identity-card p {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.5;
}

mark {
  color: var(--gold);
  background: transparent;
  font-weight: 900;
}

.hint,
.privacy {
  padding: 12px;
  border-radius: 9px;
  color: #667085;
  background: #e9eff7;
  font-size: 11px;
  line-height: 1.5;
}

.send {
  display: block;
  min-width: 104px;
  margin: -1px 0 14px auto;
  min-height: 36px;
  border-radius: 16px;
  font-size: 12px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 8px 0 22px;
}

.upload {
  display: grid;
  place-items: center;
  gap: 5px;
  width: 86px;
  height: 86px;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: #667085;
  background: #f4f6fa;
  border: 1px dashed #d7dce6;
  font-weight: 800;
}

.upload-note {
  margin: 0 0 16px;
  color: #667085;
  text-align: center;
  font-size: 11px;
}

.privacy {
  margin-bottom: 16px;
  color: #009760;
  background: #e8fff5;
  border: 1px solid #9fe9cb;
}

.address-card {
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  background: #fff;
}

.address-card.selected {
  border-color: var(--navy);
  background: #edf3fb;
}

.address-card.compact {
  margin-top: 12px;
  min-height: 52px;
  color: var(--navy);
  font-size: 13px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-head strong,
.address-card strong {
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 1px;
}

.card-head b,
.saved-address em {
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 9px;
  font-style: normal;
}

.form-body h3 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: 14px;
}

.add-row {
  color: #c48600;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
}

.profile {
  background: #f3f4f6;
}

.profile-head {
  flex: 0 0 auto;
  padding: 50px 24px 24px;
  text-align: center;
  color: #fff;
  background: var(--navy);
}

.profile-head .progress {
  margin-bottom: 18px;
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 8px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #edbd27;
  font-size: 38px;
}

.avatar span {
  position: absolute;
  right: 0;
  bottom: 3px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  font-size: 12px;
}

.profile-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.profile-head b {
  color: var(--gold);
  font-size: 13px;
}

.profile-head p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.chips {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.chips span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.profile-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 14px 92px;
}

.panel {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.06);
}

.panel h3 {
  margin: 0 0 12px;
  color: #667085;
  font-size: 11px;
  letter-spacing: 2px;
}

.small-note {
  margin: 8px 0 0;
  color: #667085;
  font-size: 11px;
  line-height: 1.35;
}

.qr-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}

.qr-preview span {
  border: 7px solid var(--navy);
  border-radius: 5px;
}

.qr-preview b {
  position: absolute;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: var(--gold);
}

.profile-confirm {
  grid-template-columns: 86px 1fr;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 41px;
  border-bottom: 1px solid #eceff4;
  font-size: 13px;
}

.toggle-row:last-child {
  border-bottom: 0;
}

.toggle {
  position: relative;
  width: 41px;
  height: 24px;
  border-radius: 999px;
  background: #d6d8dd;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.toggle.on {
  background: var(--green);
}

.toggle.on::after {
  left: 19px;
}

.saved-address {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 10px;
  background: #fff;
}

.saved-address.selected {
  border-color: var(--navy);
  background: #edf3fb;
}

.saved-address.dashed {
  border-style: dashed;
}

.saved-address div {
  display: flex;
  gap: 8px;
  align-items: center;
}

.saved-address strong {
  margin-right: auto;
  color: var(--navy);
  font-size: 11px;
  letter-spacing: 1.5px;
}

.saved-address button {
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.saved-address p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.home {
  background: #f1f3f6;
}

.app-shot-screen {
  background: #e8f4ff;
}

.app-shot-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.scroll-shot-screen {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.scroll-shot-screen .app-shot-image {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.eventfeed-shot-screen {
  background: #f8fbff;
}

.eventfeed-live-panel {
  position: sticky;
  top: 0;
  z-index: 8;
  flex: 0 0 auto;
  padding: 42px 9px 8px;
  margin-bottom: -124px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(94, 99, 169, 0.14);
  box-shadow: 0 10px 22px rgba(94, 99, 169, 0.1);
  backdrop-filter: blur(12px);
}

.eventfeed-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 3px 8px;
}

.eventfeed-live-head span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.eventfeed-live-head b {
  min-width: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-align: right;
}

.eventfeed-cta-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1px 2px 8px;
  scroll-padding-inline: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.eventfeed-cta-row button {
  flex: 0 0 68px;
  min-height: 58px;
  display: grid;
  grid-template-rows: 30px auto;
  place-items: center;
  gap: 4px;
  padding: 6px 4px;
  border: 1px solid rgba(94, 99, 169, 0.16);
  border-radius: 13px;
  color: var(--deep);
  background: #eef7ff;
  box-shadow: var(--clay-button);
  scroll-snap-align: start;
}

.eventfeed-cta-row button i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #dcd8ff, #cdebff);
  font-style: normal;
  font-size: 15px;
}

.eventfeed-cta-row button span {
  max-width: 58px;
  color: inherit;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.eventfeed-cta-row button.active {
  color: #fff;
  border-color: rgba(94, 99, 169, 0.72);
  background: var(--navy);
  box-shadow: 0 10px 18px rgba(94, 99, 169, 0.24);
}

.eventfeed-cta-row button.active i {
  background: rgba(255, 255, 255, 0.22);
}

.home-top {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 44px 22px 10px;
  background: #fff;
}

.home-top button {
  color: var(--navy);
  background: transparent;
  font-weight: 900;
}

.home-top h1 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: 0.6px;
}

.home-top h1 span {
  color: var(--gold);
}

.home-top div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bell {
  position: relative;
}

.bell b {
  position: absolute;
  right: -2px;
  top: -6px;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  color: #fff;
  background: #ef4444;
  font-size: 8px;
}

.home-top .ai {
  padding: 5px 9px;
  border-radius: 999px;
  color: #4438ca;
  background: #eef2ff;
  font-size: 11px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 22px 12px;
  padding: 0 12px;
  min-height: 46px;
  border-radius: 10px;
  background: #f4f6fa;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  color: #6b7280;
  background: transparent;
  outline: none;
  font-size: 13px;
}

.search b {
  color: #4f46e5;
  font-size: 11px;
}

.home-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 22px 92px;
}

.home-body h2 {
  margin: 14px 0 8px;
  color: #667085;
  font-size: 12px;
  letter-spacing: 2px;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.actions button {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 102px;
  padding: 14px;
  border-radius: 14px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.07);
  text-align: left;
  font-size: 24px;
}

.actions .gift {
  grid-column: 1 / -1;
  grid-template-columns: 32px 1fr;
  column-gap: 10px;
  color: #fff;
  background: var(--navy);
  align-items: center;
}

.actions strong {
  display: block;
  margin-top: 7px;
  font-size: 14px;
}

.actions .gift strong {
  grid-column: 2;
  margin-top: 0;
}

.actions small {
  color: #667085;
  font-size: 11px;
}

.actions .gift small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.7);
}

.celebration {
  display: grid;
  grid-template-columns: 48px 1fr 62px;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  padding: 12px 14px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.07);
}

.celebration > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff4c6;
}

.celebration strong,
.celebration small {
  display: block;
}

.celebration small {
  color: #667085;
  font-size: 11px;
}

.celebration button {
  min-height: 40px;
  border-radius: 10px;
  color: #fff;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 8px 14px 13px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.tabbar button {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #4b5563;
  background: transparent;
  font-size: 20px;
}

.tabbar span {
  font-size: 9px;
  font-weight: 700;
}

.tabbar .active {
  color: var(--navy);
}

.tabbar .scan {
  width: 54px;
  height: 54px;
  margin: -28px auto 0;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 4px 16px rgba(26, 60, 94, 0.42);
}

.settings-list {
  display: grid;
  gap: 9px;
}

.settings-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text);
  background: #fff;
  text-align: left;
}

.settings-list span {
  font-size: 13px;
  font-weight: 900;
}

.settings-list b {
  color: #667085;
  font-size: 11px;
}

.settings-list .danger {
  border-color: #f6b6b1;
  color: #b42318;
  background: #fff7f6;
}

.vendor-preview {
  color: #102235;
  background: #eef6fb;
}

.vendor-preview-head {
  flex: 0 0 auto;
  padding: 50px 22px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 8%, rgba(241, 185, 93, 0.34), transparent 30%),
    linear-gradient(145deg, #123350 0%, #071827 100%);
}

.vendor-preview-head span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.vendor-preview-head h2 {
  margin: 7px 0 7px;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 900;
}

.vendor-preview-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.42;
  font-weight: 600;
}

.vendor-preview-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px 96px;
}

.dashboard-shot {
  margin: 0 0 13px;
  padding: 8px;
  border: 1px solid rgba(94, 99, 169, 0.18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(16, 34, 53, 0.12);
}

.dashboard-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.9;
  border-radius: 10px;
  object-fit: cover;
  object-position: top left;
}

.vendor-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.vendor-feature-grid article {
  min-height: 116px;
  padding: 12px;
  border: 1px solid rgba(94, 99, 169, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 34, 53, 0.06);
}

.vendor-feature-grid b,
.vendor-feature-grid span {
  display: block;
}

.vendor-feature-grid b {
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.vendor-feature-grid span {
  color: #5d6a79;
  font-size: 10.5px;
  line-height: 1.42;
  font-weight: 700;
}

.vendor-launch-note {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #f4d56b;
  border-radius: 12px;
  color: #73510a;
  background: #fff8db;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 800;
}

.vendor-preview-foot {
  grid-template-columns: 82px 1fr;
}

.dashboard-open {
  display: grid;
  place-items: center;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
}

.org-preview {
  color: #172238;
  background: #f3f5fb;
}

.org-preview-head {
  flex: 0 0 auto;
  padding: 50px 22px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 83% 3%, rgba(255, 225, 207, 0.38), transparent 28%),
    radial-gradient(circle at 4% 100%, rgba(207, 245, 231, 0.2), transparent 32%),
    linear-gradient(145deg, #403f84 0%, #151a32 100%);
}

.org-preview-head span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.org-preview-head h2 {
  margin: 7px 0 7px;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 900;
}

.org-preview-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.42;
  font-weight: 600;
}

.org-preview-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px 96px;
}

.org-dashboard-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 218px;
  margin-bottom: 13px;
  border: 1px solid rgba(64, 63, 132, 0.16);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 34, 56, 0.12);
}

.org-mini-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 10px;
  color: #dfe4ff;
  background: #151a32;
}

.org-mini-sidebar b {
  color: #fff;
  font-size: 11px;
  line-height: 1.1;
}

.org-mini-sidebar span {
  padding: 6px 7px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  font-weight: 900;
}

.org-mini-sidebar .active {
  color: #151a32;
  background: var(--gold);
}

.org-mini-main {
  padding: 13px;
  background:
    radial-gradient(circle at 93% 11%, rgba(241, 185, 93, 0.16), transparent 28%),
    #f8f9fe;
}

.org-mini-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.org-mini-top small,
.org-mini-top strong {
  display: block;
}

.org-mini-top small {
  color: #687287;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.org-mini-top strong {
  margin-top: 3px;
  color: #172238;
  font-size: 15px;
  line-height: 1.1;
}

.org-mini-top em {
  padding: 5px 7px;
  border-radius: 999px;
  color: #8a5b05;
  background: #fff0ba;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.org-step-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin: 13px 0;
}

.org-step-row i {
  height: 5px;
  border-radius: 999px;
  background: #dfe4ee;
}

.org-step-row .done {
  background: #248b6d;
}

.org-step-row .active {
  background: var(--gold);
}

.org-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.org-form-grid span {
  min-height: 34px;
  padding: 8px;
  border: 1px solid #e5e8f2;
  border-radius: 9px;
  color: #647086;
  background: #fff;
  font-size: 9px;
  font-weight: 900;
}

.org-form-grid .wide {
  grid-column: 1 / -1;
}

.org-mini-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.org-mini-actions button {
  min-height: 28px;
  border-radius: 8px;
  color: #403f84;
  background: #ecebff;
  font-size: 8.5px;
  font-weight: 900;
}

.org-mini-actions button:last-child {
  color: #fff;
  background: #403f84;
}

.org-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.org-feature-grid article {
  min-height: 120px;
  padding: 12px;
  border: 1px solid rgba(64, 63, 132, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(23, 34, 56, 0.06);
}

.org-feature-grid b,
.org-feature-grid span {
  display: block;
}

.org-feature-grid b {
  margin-bottom: 7px;
  color: #403f84;
  font-size: 12px;
  font-weight: 900;
}

.org-feature-grid span {
  color: #5d6a79;
  font-size: 10.5px;
  line-height: 1.42;
  font-weight: 700;
}

.org-launch-note {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #f4d56b;
  border-radius: 12px;
  color: #73510a;
  background: #fff8db;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 800;
}

.org-preview-foot {
  grid-template-columns: 82px 1fr;
}

.danger-head {
  background: #7a271a;
}

.danger-card strong {
  display: block;
  margin-bottom: 4px;
}

.danger-card p {
  margin: 0;
  font-weight: 600;
}

.rail {
  color: #dce7f8;
}

.rail h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 28px;
}

.rail p {
  margin: 0 0 20px;
  color: #a8b4c7;
  line-height: 1.5;
}

.rail button {
  display: block;
  width: 100%;
  margin-bottom: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  color: #dce7f8;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  font-weight: 800;
}

.rail button.active {
  color: #081224;
  background: var(--gold);
}

@media (max-width: 760px) {
  .stage {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .device {
    width: min(390px, 100vw - 24px);
    height: min(780px, 100vh - 24px);
  }

  .rail {
    display: none;
  }
}

/* Claymorphism system pass */
.intro,
.welcome,
.form,
.home {
  color: var(--text);
}

.intro-copy p,
.skip,
.intro-link,
.legal,
.legal b {
  color: var(--muted);
}

.round-back,
.primary,
.outline,
.text-link,
.suggestions button,
.home-top button,
.home-top .ai,
.bottom-nav button,
.rail button {
  border-radius: 18px;
  box-shadow: var(--clay-button);
}

.primary,
.welcome .primary,
.form-foot .next,
.rail button.active {
  color: var(--deep);
  background: var(--mint);
}

.outline,
.welcome .outline {
  color: var(--deep);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.66);
}

.round-back,
.skip,
.intro-link,
.text-link {
  box-shadow: none;
}

.logo-card,
.identity-card,
.api-card,
.auth-status,
.danger-card,
.field input,
.field select,
.otp-boxes b,
.signup-card,
.review-card,
.home-search,
.quick-card,
.celebration-card,
.settings-list button,
.bottom-nav {
  border: 0;
  border-radius: 18px;
  box-shadow: var(--clay-shadow);
}

.field input,
.field select,
.otp-boxes b,
.home-search {
  background: var(--field);
  box-shadow: var(--clay-inset);
}

.welcome {
  color: #fff;
  background:
    linear-gradient(rgba(4, 8, 18, 0.08), rgba(4, 8, 18, 0.08)),
    url("./assets/welcome-background.png") center / cover no-repeat,
    #081827;
}

.intro-blue {
  background:
    url("./assets/splash-global-gifting-background.png") center / cover no-repeat,
    #081827;
}

.intro-green {
  background:
    url("./assets/splash-eventfeed-background.png") center / cover no-repeat,
    #081827;
}

.intro-purple {
  background:
    url("./assets/splash-local-vendor-background.png") center / cover no-repeat,
    #081827;
}

.welcome-center h2,
.welcome-center p,
.form-head h2,
.form-head p,
.form-head span,
.home-top h1,
.home-body h2,
.quick-card strong,
.celebration-card strong,
.rail h2 {
  color: var(--deep);
}

.welcome-center p,
.welcome-subtitle,
.welcome .legal,
.welcome .legal b {
  color: #fff;
}

.welcome-center p {
  text-shadow: 0 3px 11px rgba(0, 0, 0, 0.95);
}

.welcome-subtitle {
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.95);
}

.welcome .legal {
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.95);
}

.welcome .primary {
  color: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgb(207, 245, 231);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.welcome .outline {
  color: var(--deep);
  border-color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.intro .brand-lockup h1,
.intro .intro-copy h2,
.intro .intro-copy h3,
.intro .intro-copy p,
.intro .skip {
  color: #fff;
}

.intro .intro-copy h2,
.intro .intro-copy h3,
.intro .intro-copy p {
  text-shadow: 0 3px 11px rgba(0, 0, 0, 0.9);
}

.intro .primary {
  color: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgb(207, 245, 231);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.intro .round-back {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(10, 14, 31, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.form-head,
.danger-head {
  color: var(--text);
  margin: 14px;
  border-radius: 28px;
  background: var(--lavender);
  box-shadow: var(--clay-shadow);
}

.form-body {
  padding-top: 8px;
}

.form-foot,
.home-top,
.bottom-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.64);
}

.api-card {
  color: var(--deep);
  background: var(--baby-blue);
}

.auth-status.ok {
  color: var(--green);
  background: #ddf8ed;
}

.auth-status.warn {
  color: #b7791f;
  background: var(--butter);
}

.auth-status.error,
.danger-card,
.settings-list .danger {
  color: #b94e62;
  background: var(--rose);
}

.identity-card {
  color: var(--deep);
  background:
    radial-gradient(circle at 91% 7%, rgba(255, 240, 186, 0.92), transparent 34%),
    linear-gradient(150deg, var(--lavender), var(--baby-blue));
}

.identity-card small,
.settings-list b,
.rail p {
  color: var(--muted);
}

.home {
  background: #eef8ff;
}

.home-top,
.home-body section,
.quick-card,
.celebration-card,
.settings-list button {
  background: rgba(255, 255, 255, 0.72);
}

.quick-card.featured {
  color: var(--deep);
  background: var(--lavender);
}

.quick-card .icon,
.celebration-card .icon,
.bottom-nav .scan {
  background: var(--butter);
  box-shadow: var(--clay-button);
}

.celebration-card .gift,
.tag-pill,
.settings-list .default {
  color: var(--deep);
  background: var(--mint);
  box-shadow: var(--clay-button);
}

.bottom-nav {
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 28px;
}

.rail {
  color: var(--text);
}

.rail button,
.rail-link {
  color: var(--deep);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.58);
}

.rail-link {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  box-shadow: var(--clay-button);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
