/* hellobae.in home page, light only (owner's redesign, 16 Nov 2026): a full-photo
   first screen, safety cards, the app's screens, why HelloBae, the Premium offer,
   share and feedback, and the footer. */

:root {
  --page: #fffafc;
  --ink: #1d1218;
  --body: #4a3540;
  --muted: #6b5560;
  --brand: #e8418a;
  --deep: #b5105f;
  --plum: #3a0f24;
  --gold: #f4c76b;
  --line: #f0dfe7;
  --blush: #f5e6ee;
  --rose: #fde8f1;
  --foot: #f5edf1;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    17px/1.5 Manrope,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.wrap {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 40px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 21px 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--deep) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 18px 50px rgba(232, 65, 138, 0.45);
  transition: transform 0.15s;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn.light {
  background: #fff;
  color: #110a0e;
  box-shadow: none;
  padding-inline: 52px;
}

.kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep);
}

/* ---- First screen: the photo fills it, fading into the page at the bottom ---- */

.hero {
  position: relative;
  height: min(940px, 100svh);
  min-height: 640px;
  background: var(--plum);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 10, 14, 0.55) 0%,
    rgba(17, 10, 14, 0.25) 35%,
    rgba(17, 10, 14, 0.5) 100%
  );
}

.top {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.top .logo img {
  display: block;
  height: 40px;
  width: auto;
}

.top nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 16px;
  font-weight: 700;
}

.top nav a {
  color: #fff;
  text-decoration: none;
}

.top nav a:hover {
  color: #f7a8c8;
}

.login {
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 999px;
  background: #fff;
  color: #110a0e;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}

.hero-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding: 0 24px 80px;
  text-align: center;
  color: #fff;
}

.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(44px, 7.2vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}

/* ---- Safety: five cards ---- */

.safety {
  background: var(--blush);
}

.safety .wrap {
  padding-block: 130px 140px;
}

.safety-head {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}

.safety h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.safety-head p {
  margin: 0;
  max-width: 580px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--body);
}

.cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}

.card {
  padding: 40px 40px 36px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.card-label {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--body);
}

.card h3 {
  margin: 8px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.card > p:not(.card-label) {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
}

.card-art {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  justify-content: center;
}

/* ---- The app's screens: four phones ---- */

.app {
  padding-block: 110px 130px;
  text-align: center;
}

.app h2 {
  margin: 14px auto 0;
  max-width: 900px;
  font-weight: 800;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.app h2 span {
  color: var(--brand);
}

.phones {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}

.phone-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.phone-shot figcaption {
  font-size: 15px;
  color: var(--muted);
}

.phone-shot figcaption b {
  display: block;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
}

/* A phone: 280 x 588 frame, the app's 402 x 874 screen scaled inside. */
.phone {
  width: 280px;
  height: 588px;
  border-radius: 46px;
  background: #000;
  padding: 10px;
  box-shadow:
    0 40px 90px rgba(232, 65, 138, 0.18),
    0 0 0 1px #3a2731;
  text-align: left;
}

.phone .screen {
  width: 260px;
  height: 568px;
  border-radius: 37px;
  overflow: hidden;
}

.phone .ui {
  width: 402px;
  height: 874px;
  transform: scale(0.6468);
  transform-origin: 0 0;
}

.phone .phone-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 37px;
  object-fit: cover;
  object-position: center top;
}

.phone.big {
  width: 320px;
  height: 670px;
  border-radius: 52px;
  padding: 11px;
  box-shadow:
    0 50px 110px rgba(58, 15, 36, 0.35),
    0 0 0 2px #5a2a40;
}

.phone.big .screen {
  width: 298px;
  height: 648px;
  border-radius: 42px;
}

.phone.big .ui {
  transform: scale(0.7413);
}

/* ---- Why HelloBae ---- */

.why {
  background: var(--rose);
  color: #2a1621;
}

.why .wrap {
  padding-block: 130px;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  align-items: center;
  justify-content: space-between;
}

.why-text {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 700px;
}

.why h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--plum);
}

.why h2 em {
  font-weight: 700;
}

.why-text p {
  margin: 26px 0 0;
  font-size: 21px;
  line-height: 1.6;
}

.why-text h2 + p {
  margin-top: 40px;
}

.why-text strong {
  color: var(--deep);
  font-weight: 800;
}

.why-phone {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

/* ---- Premium offer ---- */

.offer-wrap {
  padding-block: 140px;
}

.offer {
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(135deg, #d6347f 0%, var(--deep) 100%);
  display: flex;
  flex-wrap: wrap;
}

.offer-text {
  flex: 999 1 520px;
  padding: 88px 64px;
  color: #fff;
}

.kicker.gold {
  color: var(--gold);
}

.offer h2 {
  margin: 18px 0 0;
  font-weight: 800;
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.offer h2 span {
  color: var(--gold);
}

.offer-who {
  margin: 24px 0 40px;
  font-size: 20px;
  font-weight: 700;
}

.offer-fine {
  margin: 28px 0 0;
  max-width: 34em;
  font-size: 15px;
  opacity: 0.88;
}

.offer-photo {
  flex: 1 1 380px;
  position: relative;
  min-height: 520px;
  background: var(--plum);
}

.offer-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Partner line, share and feedback ---- */

.last {
  padding-block: 0 110px;
  text-align: center;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--blush);
}

.partner-row p {
  margin: 0;
  flex: 1 1 420px;
  color: var(--body);
}

.partner-row b {
  color: var(--ink);
}

.partner-row a {
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.share {
  margin-top: 64px;
}

.share-title {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 20px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.share-buttons a,
.share-buttons button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--plum);
}

.share-buttons .share-wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.share-buttons svg {
  width: 20px;
  height: 20px;
}

.feedback-row {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.feedback-link {
  border: 0;
  background: var(--deep);
  color: #fff;
  border-radius: 999px;
  padding: 12px 24px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.feedback-link:hover,
.feedback-link:focus-visible {
  background: var(--plum);
}

/* ---- The quick question and feedback popups (waitlist.js) ---- */

.pulse {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(58, 15, 36, 0.35);
  animation: pulse-fade 0.25s ease-out;
}

.pulse[hidden] {
  display: none;
}

.pulse-card {
  position: relative;
  width: min(360px, 100%);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(58, 15, 36, 0.3);
  padding: 22px 20px;
  text-align: center;
  animation: pulse-in 0.3s ease-out;
}

@keyframes pulse-fade {
  from {
    opacity: 0;
  }
}

@keyframes pulse-in {
  from {
    transform: scale(0.94);
    opacity: 0;
  }
}

.pulse-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
}

.pulse-q {
  margin: 6px 24px 14px;
  font-weight: 800;
  font-size: 19px;
}

.pulse-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pulse-options button {
  border: 1px solid #f3c9d8;
  background: var(--blush);
  color: var(--plum);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.pulse-options button:hover,
.pulse-options button:focus-visible {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

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

.pulse-cta {
  display: inline-block;
  background: var(--deep);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 11px 22px;
}

.feedback-form textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--plum);
  resize: vertical;
  margin-bottom: 12px;
}

.feedback-form textarea:focus {
  outline: 2px solid var(--deep);
  border-color: transparent;
}

.feedback-form .pulse-cta {
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.feedback-form .pulse-cta:disabled {
  opacity: 0.45;
  cursor: default;
}

/* ---- Footer ---- */

footer {
  background: var(--foot);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-block: 64px 32px;
  font-size: 15px;
}

footer .cols {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 40px;
}

footer h4 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 12px;
  letter-spacing: 0.14em;
}

footer p {
  margin: 12px 0 0;
}

footer strong {
  color: var(--ink);
}

footer address {
  font-style: normal;
  margin-top: 6px;
}

footer a {
  color: var(--ink);
}

.social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.social a {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  transition: transform 0.15s;
}

.social a:hover,
.social a:focus-visible {
  transform: translateY(-2px);
}

.social svg {
  display: block;
  width: 36px;
  height: 36px;
}

/* The YouTube tile is white: give it an edge on the light footer. */
.social a[aria-label*='YouTube'] svg {
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--line);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}

.founder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.founder svg {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.founder:hover strong {
  text-decoration: underline;
}

footer .legal {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---- Phones and small screens ---- */

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

  .top .login {
    margin-left: auto;
  }

  footer .cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding-inline: 20px;
  }

  .top {
    padding-block: 20px;
  }

  .top .logo img {
    height: 32px;
  }

  .login {
    padding: 10px 20px;
    font-size: 15px;
  }

  .hero {
    min-height: 600px;
  }

  .btn {
    padding: 18px 40px;
    font-size: 18px;
  }

  .safety .wrap,
  .why .wrap {
    padding-block: 80px;
  }

  .safety-head p {
    font-size: 17px;
  }

  .cards {
    margin-top: 40px;
    gap: 16px;
  }

  .card {
    min-height: 0;
    padding: 30px 26px 28px;
  }

  .card h3 {
    font-size: 36px;
  }

  .card > p:not(.card-label) {
    font-size: 16px;
  }

  .card-art svg {
    width: 120px;
    height: 120px;
  }

  .app {
    padding-block: 80px;
  }

  .phones {
    margin-top: 48px;
    gap: 44px;
  }

  .why .wrap {
    gap: 48px;
  }

  .why-text p {
    font-size: 17px;
  }

  .offer-wrap {
    padding-block: 72px;
  }

  .offer {
    border-radius: 28px;
  }

  .offer-text {
    padding: 48px 28px;
  }

  .offer-photo {
    min-height: 300px;
  }

  .offer-who {
    font-size: 17px;
  }

  .partner-row {
    padding: 22px;
  }

  .last {
    padding-bottom: 72px;
  }
}
