/* hellobae.in/join: the app's sign-up and onboarding screens, in the browser. Dark only. */

:root {
  --brand: #e8418a;
  --ink: #f5edf1;
  --muted: #b6a3ad;
  --bg: #1a1016;
  --sel: #3b1729;
  --line: #3a2731;
  --plum: #2a0b1c;
  --gold: #f4c76b;
  --bad: #ff7a6e;
  --page: #110a0e;
  --surface: #251720;
  --done-top: #2a1320;
  --glow: #3a1328;
  --track: #4a3741;
  --rule: #2a1b23;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family:
    Manrope,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.jtop {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 56px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.jtop .logo img {
  height: 36px;
  width: auto;
  display: block;
}

.who {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  text-align: right;
}

.who b {
  color: var(--ink);
  white-space: nowrap;
}

.who button {
  border: 0;
  background: none;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
  padding: 0 0 0 10px;
}

/* A computer: the photo panel with the message on the left, the card on the right. */
.jmain {
  min-height: calc(100vh - 76px);
  display: grid;
  /* About 40% photo, 60% card. */
  grid-template-columns: minmax(360px, 2fr) minmax(0, 3fr);
  background: radial-gradient(900px 600px at 75% 10%, var(--glow), transparent 70%), var(--page);
}

.side {
  position: sticky;
  top: 20px;
  align-self: start;
  /* Set in the page with rounded corners, not edge to edge. */
  margin: 20px 0 20px 20px;
  border-radius: 28px;
  height: calc(100vh - 76px - 40px);
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--plum);
  overflow: hidden;
}

/* Dark at the bottom so the words read over the picture. */
.side::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(36, 8, 26, 0) 45%, rgba(36, 8, 26, 0.35) 100%);
  pointer-events: none;
}

.side-text {
  position: relative;
  z-index: 2;
  /* A shade that starts above the words, however many there are. */
  padding: 96px clamp(28px, 4vw, 52px) 40px;
  background: linear-gradient(
    180deg,
    rgba(36, 8, 26, 0) 0,
    rgba(36, 8, 26, 0.78) 96px,
    rgba(36, 8, 26, 0.92) 100%
  );
}

.side-text > * {
  max-width: 560px;
}

/* The picture fills the panel, the same at every screen size, and drifts slowly. */
.demo {
  position: absolute;
  inset: 0;
}

.hero-card {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.hero-card img {
  display: block;
  width: 100%;
  height: 108%;
  object-fit: cover;
  object-position: center 20%;
  animation: drift 10s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-7%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card img {
    animation: none;
  }
}

.side .kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.side h1 {
  margin: 10px 0 0;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
  text-wrap: balance;
}

.side ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.side li {
  display: flex;
  gap: 10px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.side li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
}

.card-area {
  display: grid;
  place-items: center;
  padding: 36px 24px;
}

/* The card: one screen of the flow. */

.card {
  width: 470px;
  min-height: 690px;
  background: var(--bg);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(58, 15, 36, 0.14);
  display: flex;
  flex-direction: column;
  padding: 18px 32px 26px;
}

.card.done {
  background: linear-gradient(180deg, var(--done-top) 0%, var(--bg) 55%);
}

.head {
  display: grid;
  grid-template-columns: 40px 1fr 56px;
  align-items: center;
  min-height: 40px;
}

.back {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
}

.back.plain {
  background: none;
  border: 0;
  color: var(--brand);
  font-size: 22px;
  text-decoration: none;
}

.htitle {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.htitle small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.skip {
  justify-self: end;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.prog {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.prog i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: #dfd4d9;
}

.prog i.on {
  background: var(--brand);
}

.q {
  margin: 30px 0 0;
  font-size: 31px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.q.sub {
  font-size: 22px;
  margin-top: 26px;
}

.eyebrow {
  margin: 26px 0 -20px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.help {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.center {
  text-align: center;
}

.err {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--bad);
  font-weight: 600;
}

.err:empty {
  display: none;
}

.field {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0 16px;
  font-size: 17px;
  font-weight: 500;
  margin-top: 22px;
  outline: none;
}

textarea.field {
  height: 140px;
  padding: 14px 16px;
  resize: none;
  line-height: 1.5;
}

.field:focus {
  border: 1.5px solid var(--brand);
}

.phone {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.cc {
  flex: none;
  width: 104px;
  height: 58px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
}

.flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(#ff9933 33%, #fff 33% 66%, #138808 66%);
}

.phone .field {
  margin: 0;
  height: 58px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-width: 0;
}

.otp {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 28px;
}

.otp input {
  width: 48px;
  height: 58px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  outline: none;
  padding: 0;
}

.otp input:focus {
  border: 1.5px solid var(--brand);
}

.linkbtn {
  border: 0;
  background: none;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.linkbtn:disabled {
  color: var(--muted);
  font-weight: 500;
  cursor: default;
}

.dob {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

/* DD and MM small, YYYY just wide enough for four digits. */
.dob .field {
  flex: none;
  width: 76px;
  margin: 0;
  text-align: center;
  padding: 0 8px;
}

.dob .field:last-child {
  width: 112px;
}

/* Single choice: rows. */

.rows {
  margin-top: 20px;
}

.opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-size: 16.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.opt .ti,
.pill .ti {
  font-size: 21px;
  color: var(--muted);
}

.glyph {
  width: 22px;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}

.opt.sel {
  background: var(--sel);
  border-radius: 12px;
  border-bottom-color: transparent;
  color: var(--brand);
  font-weight: 700;
}

.opt.sel .ti,
.opt.sel .glyph {
  color: var(--brand);
}

.opt .ck {
  margin-left: auto;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.opt .ck .ti {
  font-size: 15px;
  color: #fff;
}

.opt small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Multiple choice: pills, left to right. */

.pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.group {
  grid-column: 1 / -1;
  margin: 8px 0 -2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.pill {
  min-height: 50px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.25;
}

.pill.sel {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pill.sel .ti,
.pill.sel .glyph {
  color: #fff;
}

.pill .tick {
  margin-left: auto;
}

.search {
  margin-top: 18px;
  height: 48px;
  font-size: 15.5px;
}

.grow {
  flex: 1;
  min-height: 24px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--brand);
}

.consent a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.btn {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.btn.round {
  border-radius: 999px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.saved {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* The last screen. */

.burst {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 22px auto 0;
  font-size: 34px;
  box-shadow:
    0 0 0 12px rgba(181, 16, 95, 0.1),
    0 0 0 26px rgba(181, 16, 95, 0.05);
}

.done .q {
  text-align: center;
  margin-top: 34px;
}

.done .help {
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
}

.done .help b {
  color: var(--ink);
  white-space: nowrap;
}

.gift {
  margin-top: 18px;
  border-radius: 20px;
  background: var(--plum);
  color: #fff;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.gift .gi {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 22px;
}

.gift strong {
  display: block;
  font-size: 15.5px;
}

.gift span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3px;
  line-height: 1.45;
}

.next {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  counter-reset: step;
}

.next li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
}

.next li::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sel);
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
}

.btn.wa {
  background: #1fa855;
}

.ghost {
  height: 52px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  margin-top: 10px;
  text-decoration: none;
}

.ghost .ti {
  color: var(--brand);
  font-size: 20px;
}

.loading {
  margin: auto;
  color: var(--muted);
  font-weight: 600;
}

/* Photos, as in the app: one large place for the main photo, smaller ones below. */

.photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.slot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
  background: var(--surface);
  border: 1.5px dashed #d8c9d0;
}

.slot.main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.slot.filled {
  border: 0;
}

.slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot.add {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  border-color: var(--brand);
  background: var(--sel);
}

.slot.add .ti {
  font-size: 26px;
}

.slot.add.busy {
  cursor: progress;
  color: var(--muted);
}

.main-tag,
.make-main {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
}

.main-tag {
  background: var(--brand);
  color: #fff;
}

.make-main {
  background: rgba(255, 255, 255, 0.92);
  color: #241a1f;
  cursor: pointer;
}

.remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(36, 26, 31, 0.7);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 15px;
}

/* Voice note. */

.voice {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 40px;
}

.mic {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-size: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow:
    0 0 0 12px rgba(181, 16, 95, 0.1),
    0 0 0 26px rgba(181, 16, 95, 0.05);
}

.mic.on {
  animation: pulse 1.2s ease-in-out infinite;
}

.mic:disabled {
  opacity: 0.5;
  cursor: progress;
}

@keyframes pulse {
  50% {
    box-shadow:
      0 0 0 18px rgba(181, 16, 95, 0.16),
      0 0 0 34px rgba(181, 16, 95, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mic.on {
    animation: none;
  }
}

.voice-state {
  margin: 14px 0 0;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.voice audio {
  width: 100%;
}

/* Prompts, as in the app: rows to pick from, a box to answer each. */

.opt:disabled {
  opacity: 0.45;
  cursor: default;
}

.prompt-box {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  background: var(--surface);
  border: 1.5px solid var(--brand);
  border-radius: 14px;
  padding: 12px 14px 10px;
}

.prompt-label {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.prompt-box textarea {
  border: 0;
  outline: none;
  resize: none;
  font-size: 15.5px;
  line-height: 1.45;
  padding: 0;
  background: none;
}

.count-line {
  justify-self: end;
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Age range: one track, two handles, as in the app. */

.age-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 30px;
  font-weight: 600;
}

.age-head b {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.dual {
  position: relative;
  height: 32px;
  margin-top: 14px;
}

.dual .track,
.dual .fill {
  position: absolute;
  top: 14px;
  height: 4px;
  border-radius: 2px;
}

.dual .track {
  left: 0;
  right: 0;
  background: #e3d8dd;
}

.dual .fill {
  background: var(--brand);
}

.dual input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 32px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.dual input::-webkit-slider-runnable-track {
  background: none;
}

.dual input::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  box-shadow: 0 2px 6px rgba(58, 15, 36, 0.15);
  cursor: pointer;
}

.dual input::-moz-range-thumb {
  pointer-events: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  cursor: pointer;
}

.dual input::-moz-range-track {
  background: none;
}

.age-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Your profile. */

.brand-title {
  color: var(--brand);
  margin-top: 12px;
}

.me {
  display: grid;
  justify-items: center;
  margin-top: 22px;
}

.avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 44px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.me-name {
  margin: 14px 0 0;
  font-size: 24px;
  font-weight: 700;
}

.me-city {
  margin: 4px 0 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
}

.strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 18px;
}

.strip img {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.outline {
  margin-top: 20px;
  height: 52px;
  border-radius: 16px;
  border: 1.5px solid var(--brand);
  background: var(--surface);
  color: var(--brand);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.row-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 10px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.row-link > .ti:first-child {
  font-size: 21px;
  color: var(--brand);
}

.row-link > .ti:last-child {
  margin-left: auto;
  color: var(--muted);
}

.row-link span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.row-link b {
  font-size: 15.5px;
}

.row-link small {
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-link.danger,
.row-link.danger > .ti:first-child {
  color: var(--bad);
}

.group-title {
  margin: 22px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn.danger {
  background: var(--bad);
}

.field-label {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
}

.field-label + .field {
  margin-top: 8px;
}

.share-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-row .ghost {
  font-size: 14.5px;
}

.share-row .ti-brand-whatsapp {
  color: #1fa855;
}

/* Phones: the card is the screen. */

@media (max-width: 900px) {
  .jtop {
    height: 60px;
    padding: 0 16px;
  }

  .jtop .logo img {
    height: 30px;
  }

  .who {
    font-size: 12.5px;
  }

  .jmain {
    display: block;
    min-height: calc(100vh - 60px);
    padding: 0;
    background: var(--bg);
  }

  .side {
    display: none;
  }

  .card-area {
    display: block;
    padding: 0;
  }

  .card.done {
    background: var(--bg);
  }

  .card {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
    border-radius: 0;
    box-shadow: none;
    padding: 14px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .q {
    font-size: 28px;
  }

  .otp {
    gap: 7px;
  }

  .otp input {
    width: 44px;
    height: 54px;
  }
}

button.ghost {
  width: 100%;
  cursor: pointer;
}

/* Signed in: the welcome and what's unlocked (beside the card, or on top on phones). */

.side .gift {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.side-lead {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  line-height: 1.5;
}

.side-lead.small {
  font-size: 13.5px;
}

.unlocked-title {
  margin: 20px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.side .unlocked-title {
  color: var(--gold);
}

.side .unlocked li {
  color: rgba(255, 255, 255, 0.9);
}

.side .unlocked li::before {
  color: var(--gold);
}

.unlocked {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.unlocked li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.unlocked li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 800;
}

.phone-only {
  display: none;
}

.welcome-line {
  margin: 16px 0 0;
  font-weight: 600;
}

@media (max-width: 900px) {
  .phone-only {
    display: block;
  }
}

.row-link.locked {
  cursor: default;
  background: transparent;
  border: 1px dashed var(--line);
}

.row-link.locked > .ti:last-child {
  color: var(--muted);
}

/* Your profile on a phone: the profile first, then a compact Premium card. */

.ready {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sel);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.premium-mini {
  margin-top: 14px;
  border-radius: 18px;
  background: var(--plum);
  color: #fff;
  padding: 14px 14px 12px;
}

.pm-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.pm-head .gi {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 20px;
}

.pm-head strong {
  display: block;
  font-size: 15px;
}

.pm-head small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

.pm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.pm-chips span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  font-weight: 600;
}

.pm-chips .ti {
  color: var(--gold);
  font-size: 14px;
}

@media (max-width: 900px) {
  .desk-only {
    display: none;
  }

  .me {
    margin-top: 8px;
  }

  .strip {
    justify-content: center;
  }

  .avatar {
    width: 132px;
    height: 132px;
    box-shadow:
      0 0 0 4px var(--surface),
      0 0 0 7px var(--brand);
  }
}

/* Edit profile: a small pencil on the photo. */

.avatar-wrap {
  position: relative;
}

.edit-fab {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(58, 15, 36, 0.25);
}

.edit-fab:hover {
  filter: brightness(1.08);
}

/* Updates on WhatsApp: the question after onboarding, and the profile switch. */

.wa-badge {
  width: 76px;
  height: 76px;
  margin: 26px auto 0;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 40px;
  box-shadow: 0 0 0 12px rgba(31, 168, 85, 0.12);
}

.row-link > .ti-brand-whatsapp:first-child {
  color: #1fa855;
}

.switch {
  margin-left: auto;
  flex: none;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--track);
  position: relative;
  transition: background 0.2s;
}

.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.switch.on {
  background: #1fa855;
}

.switch.on::after {
  transform: translateX(18px);
}
