@import url('https://fonts.cdnfonts.com');
:root {
  --bg-fallback: #102212;
  --text-main: #ffffff;
  --overlay: rgba(0, 0, 0, 0.45);
  --modal-bg: #ffffff;
  --input-border: #d0d5dd;
  --button-green: #056b49;
  --button-green-hover: #04573c;
  --focus-ring: #0b8059;
  --font-ui: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Garet";
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  font-family: var(--font-ui);
  overflow-x: hidden;
}

body {
  color: var(--text-main);
}

button,
input,
textarea,
select {
  font-family: var(--font-ui);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg-fallback);
  padding: 24px 28px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.hero-video::-webkit-media-controls-overlay-play-button,
.hero-video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}

.hero-video-desktop {
  background-image: url("./assets/hero-bg.jpg");
}

.hero-video-mobile {
  display: none;
  background-image: url("./assets/hero-bg-mobile.jpg");
}

img,
video {
  max-width: 100%;
  height: auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 0;
}

html.tiktok-inapp .hero-video {
  display: none !important;
}

html.tiktok-inapp .hero {
  background-image: url("./assets/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

@media (max-width: 760px) {
  html.tiktok-inapp .hero {
    background-image: url("./assets/hero-bg-mobile.jpg");
  }
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Garet", var(--font-ui);
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.hero-content h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-typewriter {
  min-height: 1.25em;
}

.typewriter-cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.92em;
  margin-left: 0.08em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: typewriterBlink 1s steps(1, end) infinite;
}

@keyframes typewriterBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.hero-content h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(18px, 2.4vw, 30px);
  line-height: 1.25;
  font-weight: 600;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  border-radius: 999px;
  min-height: 62px;
  min-width: min(240px, 36vw);
  padding: 12px 34px;
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 700;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.cta-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #4ade80, #22c55e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.cta-label {
  color: #111827;
  font-size: clamp(18px, 1.9vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-footer {
  position: relative;
  z-index: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
}

.cookie-link {
  justify-self: start;
  text-decoration: none;
  color: #e8e8e8;
  background: rgba(14, 15, 18, 0.55);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
}

.footer-link-button {
  border: none;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  font-family: inherit;
  padding: 0;
  cursor: pointer;
}

.footer-nav span {
  color: #cfd4dc;
  font-size: 14px;
}

.help-button {
  width: 128px;
  height: 48px;
  border-radius: 999px;
  border: 3px solid #ffffff;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 20;
}

.heart-burst-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  overflow: hidden;
}

.heart-particle {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  font-size: 16px;
  line-height: 1;
  opacity: 0;
  filter: drop-shadow(0 6px 14px rgba(239, 68, 68, 0.28));
  animation: heartBurst 1400ms cubic-bezier(0.2, 0.65, 0.24, 1) forwards;
}

@keyframes heartBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
  }

  14% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -120px)))
      rotate(var(--rot, 0deg)) scale(0.85);
  }
}

.hidden {
  display: none !important;
}

.waitlist-modal {
  width: min(380px, 100%);
  max-height: none;
  background: var(--modal-bg);
  border-radius: 20px;
  color: #101828;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(16, 24, 40, 0.3);
  display: flex;
  flex-direction: column;
}

.modal-title {
  margin: 0;
  padding: 20px 18px 8px;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 300;
  color: #101828;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.modal-tagline {
  margin: 0;
  padding: 18px 18px 10px;
  font-size: clamp(14px, 1.55vw, 19px);
  font-weight: 700;
  color: #101828;
  line-height: 1.18;
  letter-spacing: -0.02em;
  border-bottom: 1px solid #f0f2f5;
  flex-shrink: 0;
}

#waitlistForm {
  overflow-y: visible;
  padding: 12px 18px 16px;
  flex: 1 1 auto;
}

#waitlistForm.compact-form {
  gap: 8px;
  padding: 10px 18px 18px;
}

.success-popup {
  border-radius: 0 0 20px 20px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  color: #667085;
  cursor: pointer;
}

#waitlistForm {
  display: grid;
  gap: 4px;
  align-content: start;
  -ms-overflow-style: none;
  scrollbar-width: thin;
  scrollbar-color: #d0d5dd transparent;
}

#waitlistForm label:not(.consent-group) {
  font-size: 13px;
  color: #344054;
  font-weight: 600;
  margin-top: 3px;
}

#waitlistForm label:not(.consent-group):first-child {
  margin-top: 0;
}

#waitlistForm input:not([type="checkbox"]) {
  width: 100%;
  min-height: 39px;
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  font-size: 14px;
  padding: 0 11px;
  font-family: inherit;
  color: #101828;
  background: #ffffff;
  transition: border-color 120ms ease;
}

#waitlistForm input:not([type="checkbox"])::placeholder {
  color: #98a2b3;
}

#waitlistForm input:not([type="checkbox"]):focus {
  border-color: var(--focus-ring);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 128, 89, 0.12);
}

.submit-button:focus,
.cta-button:focus,
.close-button:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.phone-number-input {
  width: 100%;
}

.field-hint {
  font-size: 12px;
  color: #667085;
  margin-top: -1px;
  margin-bottom: 4px;
}

/* Date of birth – custom picker */
.dob-wrapper {
  position: relative;
  width: 100%;
}

.dob-input {
  width: 100%;
  cursor: pointer;
  padding-right: 40px !important;
}

.dob-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Calendar dropdown */
.calendar-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 280px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.14), 0 4px 12px rgba(16, 24, 40, 0.08);
  z-index: 100;
  padding: 14px;
  animation: calFadeIn 160ms ease;
}

@keyframes calFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.cal-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.cal-select {
  min-width: 0;
  height: 32px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 0 28px 0 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #101828;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.cal-select:focus {
  outline: none;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px rgba(11, 128, 89, 0.12);
}

.cal-year-select {
  width: 88px;
}

.cal-nav {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 120ms ease, color 120ms ease;
}

.cal-nav:hover {
  background: #e5e7eb;
  color: #111827;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 4px;
}

.cal-weekdays span {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  padding: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day {
  width: 100%;
  aspect-ratio: 1;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 100ms ease, color 100ms ease;
}

.cal-day:hover {
  background: #f0faf5;
  color: #056b49;
}

.cal-day.other-month {
  color: #d1d5db;
}

.cal-day.other-month:hover {
  background: #f9fafb;
  color: #9ca3af;
}

.cal-day.today {
  background: #f3f4f6;
  font-weight: 700;
}

.cal-day.selected {
  background: var(--button-green);
  color: #ffffff;
  font-weight: 700;
}

.cal-day.selected:hover {
  background: var(--button-green-hover);
  color: #ffffff;
}

/* Gender select */
.gender-select {
  width: 100%;
  min-height: 39px;
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  font-size: 14px;
  padding: 0 11px;
  font-family: inherit;
  color: #101828;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  transition: border-color 120ms ease;
}

.gender-select:focus {
  border-color: var(--focus-ring);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 128, 89, 0.12);
}

/* Conditionally visible text inputs */
.custom-input {
  margin-top: 1px;
  animation: fadeSlideIn 180ms ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Intentions multi-select pills */
.intentions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.intention-pill {
  padding: 6px 11px;
  border-radius: 999px;
  border: 2px solid var(--input-border);
  background: #f9fafb;
  color: #344054;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  white-space: nowrap;
}

.intention-pill:hover {
  border-color: #94d5b8;
  background: #f0faf5;
}

.intention-pill.active {
  background: #cfebdf;
  border-color: #056b49;
  color: #075536;
  font-weight: 600;
}

.intention-pill:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Consent checkbox row */
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 2px;
  cursor: pointer;
}

.consent-group input[type="checkbox"] {
  width: 18px !important;
  min-height: unset !important;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--button-green);
  cursor: pointer;
  border-radius: 4px;
}

.consent-group span {
  font-size: 11px;
  color: #475467;
  line-height: 1.3;
}

.consent-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--button-green);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form validation message */
.form-message {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  color: #b42318;
}

.form-message.success {
  color: #047857;
}

/* Submit button */
.submit-button {
  /*margin-top: 2px;*/
  border: none;
  min-height: 42px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  color: #0f1728;
  background: #31d26b;
  transition: background 140ms ease, transform 120ms ease;
}

.submit-button:hover {
  background: #27bf5f;
  transform: translateY(-1px);
}

.success-popup {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #d1fae5;
  color: #047857;
  font-size: 28px;
  font-weight: 700;
}

.success-popup h3 {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
}

.success-popup p {
  margin: 0;
  color: #475467;
  font-size: clamp(13px, 1.2vw, 16px);
  max-width: 300px;
  line-height: 1.5;
}

.success-done-button {
  margin-top: 10px;
  border: none;
  min-height: 42px;
  border-radius: 10px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  background: var(--button-green);
  transition: background 140ms ease;
}

.success-done-button:hover {
  background: var(--button-green-hover);
}

.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.how-it-works-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.how-it-works-modal {
  position: relative;
  width: min(960px, 100%);
  max-height: 90vh;
  background: #ffffff;
  color: #111827;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

.how-it-works-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
}

.how-it-works-title {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 22px;
}

.how-it-works-content {
  overflow-y: auto;
  max-height: calc(90vh - 62px);
}

.how-it-works-desktop-image,
.how-it-works-mobile-images img {
  width: 100%;
  height: auto;
  display: block;
}

.how-it-works-mobile-images {
  display: none;
}

.legal-modal {
  width: min(700px, 100%);
  max-height: 85vh;
  background: #ffffff;
  color: #111827;
  border-radius: 14px;
  box-shadow: 0 30px 50px rgba(16, 24, 40, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-ui);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  z-index: 2;
}

.legal-modal-header h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
}

.legal-close-button {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.legal-modal-content {
  overflow-y: auto;
  padding: 14px 16px;
  color: #374151;
}

.legal-last-updated {
  font-size: 11px;
  color: #6b7280;
  margin: 0 0 16px;
}

.legal-modal-content section {
  margin-bottom: 18px;
}

.legal-modal-content h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.legal-modal-content p,
.legal-modal-content li,
.faq-answer {
  font-size: 12px;
  line-height: 1.6;
}

.legal-modal-content ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding: 12px 2px;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-icon {
  font-size: 16px;
  line-height: 1;
  color: #6b7280;
}

.faq-answer {
  color: #4b5563;
  padding: 0 2px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 280ms ease, opacity 220ms ease, transform 280ms ease, padding 280ms ease;
}

.faq-item.is-open .faq-answer {
  padding: 0 2px 16px;
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    padding: 20px 18px;
  }

  .brand {
    font-size: 30px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-link-button {
    font-size: 14px;
  }

  .cookie-link {
    font-size: 11px;
  }

  .waitlist-modal {
    border-radius: 18px;
  }

  .modal-title {
    font-size: 22px;
    padding: 18px 16px 6px;
  }

  .modal-tagline {
    font-size: 15px;
    padding: 16px 16px 10px;
  }

  #waitlistForm {
    padding: 11px 16px 14px;
  }

  #waitlistForm.compact-form {
    padding: 8px 16px 16px;
    gap: 8px;
  }

  #waitlistForm label:not(.consent-group) {
    font-size: 13px;
  }

  #waitlistForm input:not([type="checkbox"]) {
    min-height: 38px;
    font-size: 14px;
    border-radius: 10px;
  }

  .gender-select {
    min-height: 38px;
    font-size: 14px;
  }

  .intention-pill {
    font-size: 12px;
    padding: 6px 10px;
  }

  .submit-button {
    min-height: 40px;
    font-size: 15px;
    border-radius: 10px;
  }

  .success-icon {
    width: 50px;
    height: 50px;
    font-size: 23px;
  }

  .success-done-button {
    min-height: 40px;
    font-size: 15px;
  }

  .form-message {
    font-size: 13px;
  }

  .legal-modal-header h2 {
    font-size: 20px;
  }

  .legal-modal-content {
    padding: 16px;
  }

  .faq-question {
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .hero-video-desktop {
    display: none;
  }

  .hero-video-mobile {
    display: block;
  }

  .modal-backdrop {
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .hero {
    min-height: 100dvh;
    padding-top: max(16px, env(safe-area-inset-top));
    padding-right: max(14px, env(safe-area-inset-right));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    padding-left: max(14px, env(safe-area-inset-left));
  }

  .brand {
    font-size: 24px;
  }

  .hero-content {
    width: min(100%, 92vw);
    padding-inline: 6px;
    margin-inline: auto;
  }

  .hero-content h1 {
    width: 100%;
    max-width: 12ch;
    margin-inline: auto;
    font-size: clamp(20px, 8.2vw, 34px);
    line-height: 1.04;
    text-wrap: balance;
  }

  #typewriterText {
    white-space: pre-line;
  }

  .typewriter-cursor {
    display: none;
  }

  .hero-content h2 {
    display: none;
  }

  .cta-button {
    min-height: 60px;
    min-width: 0;
    width: min(100%, 380px);
    padding: 12px 20px;
    gap: 10px;
  }

  .cta-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 16px;
  }

  .cta-label {
    font-size: clamp(16px, 4.4vw, 22px);
  }

  .cta-row {
    width: 100%;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
  }

  .site-footer {
    justify-content: center;
  }

  .cookie-link {
    justify-self: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    width: 100%;
    max-width: 92vw;
  }

  .footer-link-button,
  .footer-nav a {
    font-size: 11px;
    white-space: nowrap;
  }

  .footer-nav span {
    font-size: 11px;
  }

  .help-button {
    width: 112px;
    height: 38px;
    border-width: 2px;
    font-size: 14px;
  }

  .waitlist-modal {
    width: min(100%, 360px);
    min-height: unset;
    max-height: none;
    border-radius: 22px;
  }

  .modal-title {
    font-size: 22px;
    font-weight: 600;
    padding: 20px 18px 8px;
  }

  .modal-tagline {
    font-size: 14px;
    padding: 16px 18px 10px;
  }

  #waitlistForm {
    gap: 4px;
    padding: 12px 18px 16px;
  }

  #waitlistForm.compact-form {
    gap: 8px;
    padding: 8px 18px 18px;
  }

  #waitlistForm label:not(.consent-group) {
    font-size: 12px;
    font-weight: 300;
    margin-top: 2px;
  }

  #waitlistForm input:not([type="checkbox"]) {
    min-height: 42px;
    font-size: 14px;
    border-radius: 11px;
    padding: 0 12px;
  }

  .gender-select {
    min-height: 39px;
    font-size: 14px;
    border-radius: 11px;
  }

  .calendar-dropdown {
    width: 280px;
    padding: 14px;
  }

  .intention-pill {
    font-size: 11px;
    padding: 6px 10px;
  }

  .submit-button {
    min-height: 42px;
    font-size: 14px;
    border-radius: 11px;
  }

  .consent-group {
    gap: 8px;
    margin-top: 1px;
  }

  .consent-group input[type="checkbox"] {
    width: 17px !important;
    height: 17px;
  }

  .consent-group span {
    font-size: 10px;
    line-height: 1.35;
  }

  .form-message {
    min-height: 16px;
    font-size: 11px;
  }

  .success-popup {
    padding: 18px;
  }

  .success-popup h3 {
    font-size: 24px;
  }

  .success-popup p {
    font-size: 14px;
  }

  .legal-modal {
    width: min(100%, 420px);
    border-radius: 12px;
  }

  .how-it-works-modal {
    width: min(100%, 420px);
    border-radius: 12px;
  }

  /* .how-it-works-title {
    font-size: 18px;
    padding: 12px 14px;
  } */

  .how-it-works-desktop-image {
    display: none;
  }

  .how-it-works-mobile-images {
    display: block;
  }

  .legal-modal-header h2 {
    font-size: 16px;
  }

  .legal-modal-content p,
  .legal-modal-content li,
  .faq-answer {
    font-size: 12px;
  }

  .faq-question {
    font-size: 12px;
  }

  .cal-select {
    height: 32px;
    font-size: 13px;
    padding-left: 10px;
  }

  .cal-year-select {
    width: 88px;
  }
}

@media (max-width: 420px) {
  .hero-content {
    width: min(100%, 94vw);
    padding-inline: 4px;
  }

  .hero-content h1 {
    max-width: 11ch;
    font-size: clamp(18px, 7.8vw, 30px);
    line-height: 1.05;
  }

  .hero-content h2 {
    display: none;
  }

  .cta-button {
    min-height: 56px;
    min-width: 0;
    width: min(100%, 340px);
    padding: 11px 16px;
  }

  .cta-label {
    font-size: clamp(15px, 4.6vw, 20px);
  }

  .modal-backdrop {
    padding: 6px;
  }

  .footer-nav {
    gap: 6px;
  }

  .footer-link-button,
  .footer-nav a {
    font-size: 10px;
  }

  .footer-nav span {
    display: none;
  }

  .waitlist-modal {
    width: 100%;
    min-height: unset;
    max-height: none;
    border-radius: 20px;
  }

  .modal-title {
    font-size: 20px;
    font-weight: 300;
    padding: 18px 16px 8px;
  }

  .modal-tagline {
    font-size: 13px;
    padding: 14px 16px 9px;
  }

  #waitlistForm {
    padding: 10px 16px 14px;
    gap: 3px;
  }

  #waitlistForm.compact-form {
    padding: 8px 16px 16px;
    gap: 7px;
  }

  #waitlistForm label:not(.consent-group) {
    font-size: 12px;
    margin-top: 2px;
  }

  #waitlistForm input:not([type="checkbox"]) {
    min-height: 40px;
    font-size: 14px;
    padding: 0 12px;
  }

  .gender-select {
    min-height: 37px;
    font-size: 13px;
    padding-left: 11px;
  }

  .intention-pill {
    font-size: 11px;
    padding: 5px 9px;
  }

  .consent-group span {
    font-size: 10px;
    line-height: 1.35;
  }

  .submit-button {
    min-height: 40px;
    font-size: 14px;
  }
}
