/* Homepage-only styles. Header, footer and colour tokens are in site.css. */
.banner-form-heading h2 {
  margin-bottom: 6px;
}
.form-item-wrp {
  padding: 26px 22px 32px;
}
.banner-form-item:not(:last-child) {
  margin-bottom: 20px;
}
.banner-form-item label {
  margin-bottom: 9px;
}
.banner-btn-grp {
  padding-left: 0;
  gap: 8px;
}
.banner-btn-grp {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.banner-btn-grp button {
  width: 100%;
  max-width: none;
  min-height: 44px;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.banner-btn {
  padding-top: 12px;
}
.btn {
  padding: 12px 24px;
  line-height: 1.3;
}
.btn-small {
  min-height: 50px;
  height: auto;
}
.btn-big {
  min-height: 54px;
  height: auto;
}
.btn:focus-visible,
.banner-btn-grp button:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid #c1efa9;
  outline-offset: 4px;
}
@media (min-width: 992px) {
  .form-item-wrp {
    padding: 28px 44px 38px;
  }
  .banner-btn-grp {
    gap: 10px;
  }
  .banner-btn {
    padding-top: 20px;
  }
  .btn-small {
    min-height: 60px;
    font-size: 23px;
  }
  .btn-big {
    min-height: 72px;
    max-width: 520px;
    font-size: 32px;
  }
}
@media (max-width: 420px) {
  .form-item-wrp {
    padding-inline: 16px;
  }
  .banner-btn-grp {
    gap: 6px;
  }
  .banner-btn-grp button {
    font-size: 12px;
  }
}

/* Phone introduction; the original form now follows the site introduction. */
.phone-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 34px 20px 38px;
  background-color: #111318;
  background-image: linear-gradient(rgb(0 0 0 / 82%), rgb(0 0 0 / 82%)), url("../images/bg.webp");
  background-position: center, 0 0;
  background-size: auto, 520px auto;
  background-repeat: no-repeat, repeat;
  animation: phone-hero-background-scroll 60s linear infinite;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
@keyframes phone-hero-background-scroll {
  to {
    background-position: center, -520px 0;
  }
}
.phone-hero > * {
  position: relative;
  z-index: 1;
}
.phone-hero-link {
  display: block;
  max-width: 100%;
}
.phone-hero img {
  display: block;
  width: auto;
  height: 440px;
  max-width: 100%;
  object-fit: contain;
}
.phone-hero-btn {
  max-width: 280px;
  min-height: 52px;
  font-size: 19px;
  font-weight: 700;
}
.phone-hero-link:focus-visible {
  outline: 3px solid #c1efa9;
  outline-offset: 6px;
}
.hookup-bg {
  opacity: 0.18;
}
@media (max-width: 600px) {
  .phone-hero {
    padding: 26px 20px 30px;
    gap: 18px;
  }
  .phone-hero img {
    height: auto;
    width: 270px;
  }
  .phone-hero-btn {
    max-width: 260px;
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone-hero {
    animation: none;
  }
}


/* Activities: stats as a WhatsApp chat thread.
   Light chat wallpaper, large type and high contrast for older readers. */
.activities-chat {
  --chat-wallpaper: #d9d1c4;
  --chat-in: #ffffff;
  --chat-out: #d9fdd3;
  --chat-ink: #111b21;
  --chat-meta: #54656f;
  --chat-tick: #1a8fd0;
  --chat-notice: #ffeecd;
  background-color: var(--chat-wallpaper);
  background-image: radial-gradient(rgb(17 27 33 / 8%) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  padding: 28px 0 32px;
}
.activities-chat-thread {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 680px;
  padding-inline: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.chat-pill {
  align-self: center;
  margin: 0 0 10px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--chat-in);
  color: var(--chat-meta);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 0.5px rgb(11 20 26 / 13%);
}
.chat-notice {
  margin: 14px 0 0;
  background: var(--chat-notice);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 16px;
}
.chat-bubble {
  position: relative;
  max-width: 88%;
  margin: 0;
  padding: 10px 16px 11px;
  border-radius: 10px;
  background: var(--chat-in);
  color: var(--chat-ink);
  font-size: 19px;
  line-height: 1.35;
  box-shadow: 0 1px 0.5px rgb(11 20 26 / 13%);
}
.chat-bubble strong {
  font-size: 1.3em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.chat-first {
  margin-top: 4px;
}
.chat-in.chat-first {
  border-top-left-radius: 0;
}
.chat-in.chat-first::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border-top: 12px solid var(--chat-in);
  border-left: 8px solid transparent;
}
.chat-online::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 10px;
  border-radius: 50%;
  background: #1faa59;
  vertical-align: 3px;
}
.chat-out {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-block: 12px;
  background: var(--chat-out);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.chat-out.chat-first {
  border-top-right-radius: 0;
}
.chat-out.chat-first::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  border-top: 12px solid var(--chat-out);
  border-right: 8px solid transparent;
}
.chat-out:hover {
  color: var(--chat-ink);
  background: #c8f5c0;
}
.chat-out:focus-visible {
  outline: 3px solid var(--chat-tick);
  outline-offset: 3px;
}
.chat-ticks {
  flex: none;
  color: var(--chat-tick);
}
@media (min-width: 992px) {
  .activities-chat {
    padding: 40px 0 44px;
  }
  .chat-bubble {
    font-size: 21px;
  }
}
/* Bubbles arrive one after another, like incoming messages. */
.activities-chat-thread > * {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.activities-chat-thread.is-waiting > * {
  opacity: 0;
  transform: translateY(10px);
}
.activities-chat-thread > :nth-child(2) { transition-delay: 0.15s; }
.activities-chat-thread > :nth-child(3) { transition-delay: 0.55s; }
.activities-chat-thread > :nth-child(4) { transition-delay: 0.95s; }
.activities-chat-thread > :nth-child(5) { transition-delay: 1.5s; }
.activities-chat-thread > :nth-child(6) { transition-delay: 1.8s; }

/* How it works: the three steps follow a message's status,
   sent (grey tick) -> delivered (grey double tick) -> read (blue double tick). */
.how-work-ticks {
  --tick-grey: #8696a0;
  --tick-blue: #53bdeb;
  --tick-line: #2a3942;
  --tick-card: #202c33;
  background-color: #0b141a;
  background-image: radial-gradient(rgb(255 255 255 / 5%) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  color: #e9edef;
  padding: 44px 0 52px;
}
.how-work-ticks .how-work-container {
  max-width: 1140px;
  padding-inline: 16px;
}
.how-work-ticks h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
  text-align: center;
}
.tick-intro {
  margin: 0 0 32px;
  font-size: 19px;
  line-height: 1.4;
  text-align: center;
  color: #c3ccd1;
}
.tick-row {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
/* Mobile: vertical line joining the step pictures. */
.tick-row::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 31px;
  width: 2px;
  background: var(--tick-line);
}
.tick-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.tick-step img {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #0b141a;
}
.tick-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tick-card);
  color: var(--tick-grey);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}
.tick-read .tick-status {
  color: var(--tick-blue);
}
.tick-step h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}
.tick-body > p:last-child {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #c3ccd1;
}
.how-work-ticks .register-btn {
  max-width: 380px;
  min-height: 60px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
/* Desktop: three columns joined by a horizontal line through the pictures. */
@media (min-width: 900px) {
  .how-work-ticks {
    padding: 64px 0 72px;
  }
  .how-work-ticks h2 {
    font-size: 40px;
    line-height: 48px;
  }
  .tick-intro {
    margin-bottom: 44px;
    font-size: 20px;
  }
  .tick-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
  }
  .tick-row::before {
    top: 60px;
    bottom: auto;
    left: 16.66%;
    right: 16.66%;
    width: auto;
    height: 2px;
  }
  .tick-step {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
  }
  .tick-step img {
    width: 120px;
    height: 120px;
    box-shadow: 0 0 0 10px #0b141a;
  }
  .tick-step h3 {
    font-size: 24px;
  }
  .tick-body > p:last-child {
    font-size: 19px;
  }
  .how-work-ticks .register-btn {
    max-width: 420px;
    min-height: 64px;
    font-size: 22px;
  }
}

/* Hookup: intro text and the registration form in one centered column.
   The form is dressed as a WhatsApp chat: teal header, dark body. */
.hookup-section {
  min-height: 0;
  overflow: visible;
  padding: 48px 0 56px;
  background: var(--wa-bg);
}
.hookup-section .hookup-bg {
  opacity: 0.14;
}
.hookup-section:hover img {
  transform: none;
}
.hookup-container {
  max-width: 760px;
  padding-inline: 16px;
}
.hookup-content h1 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--wa-soft);
}
.hookup-content a {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.2;
  border-bottom: 3px solid var(--wa-green);
}
.hookup-content a:hover {
  color: var(--wa-green);
}
.hookup-content p,
.hookup-content p:first-of-type {
  margin: 0 auto 14px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  color: #d1d7db;
}
.hookup-content p:first-of-type {
  font-size: 20px;
  font-weight: 600;
  color: var(--wa-text);
}

.hookup-form {
  scroll-margin-top: 16px;
  margin-top: 32px;
  padding-inline: 16px;
}
.hookup-form .banner-form-center {
  max-width: 560px;
  margin: 0 auto;
  border: 0;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 12px 40px rgb(0 0 0 / 45%);
}
.hookup-form .banner-form-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--wa-teal);
  border-radius: 18px 18px 0 0;
  text-align: left;
}
.form-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
}
.form-avatar img {
  width: 30px;
  height: 30px;
}
.hookup-form .banner-form-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}
.hookup-form .banner-form-heading p {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
  color: rgb(255 255 255 / 82%);
}
.hookup-form .form-item-wrp {
  padding: 24px 20px 28px;
  background: var(--wa-panel);
  border-radius: 0 0 18px 18px;
}
.hookup-form .banner-form-item:not(:last-child) {
  margin-bottom: 20px;
}
.hookup-form .banner-form-item label {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wa-soft);
}
.hookup-form .banner-btn-grp button {
  min-height: 48px;
  border: 1px solid var(--wa-line);
  border-radius: 999px;
  background: var(--wa-card);
  color: var(--wa-text);
  font-size: 16px;
  font-weight: 700;
}
.hookup-form .banner-btn-grp button:hover {
  background: #2a3942;
  border-color: var(--wa-line);
  color: #fff;
}
.hookup-form .banner-btn-grp button.active {
  background: var(--wa-green);
  border-color: var(--wa-green);
  color: var(--wa-bg);
}
.hookup-form .banner-btn {
  padding-top: 26px;
}
.hookup-form .btn-small {
  max-width: none;
  min-height: 58px;
  font-size: 20px;
  font-weight: 800;
}
@media (min-width: 992px) {
  .hookup-section {
    padding: 72px 0 80px;
  }
  .hookup-content h1 {
    font-size: 24px;
  }
  .hookup-content a {
    font-size: 48px;
  }
  .hookup-content p {
    font-size: 19px;
  }
  .hookup-content p:first-of-type {
    font-size: 22px;
  }
  .hookup-form {
    margin-top: 44px;
  }
  .hookup-form .banner-form-heading {
    padding: 16px 28px;
  }
  .hookup-form .banner-form-heading h2 {
    font-size: 26px;
  }
  .hookup-form .banner-form-heading p {
    font-size: 17px;
  }
  .hookup-form .form-item-wrp {
    padding: 28px 28px 32px;
  }
  .hookup-form .banner-form-item label {
    font-size: 16px;
  }
  .hookup-form .banner-btn {
    padding-top: 30px;
  }
  .hookup-form .btn-small {
    min-height: 62px;
    font-size: 22px;
  }
}
@media (max-width: 420px) {
  .hookup-form {
    padding-inline: 12px;
  }
  .hookup-form .form-item-wrp {
    padding-inline: 14px;
  }
  .hookup-form .banner-btn-grp button {
    font-size: 14px;
  }
}

/* Form variant "chat" (class form-chat on the form): light chat wallpaper,
   each question is an incoming bubble and the options are quick replies.
   Remove the class to return to the dark form. */
.hookup-form.form-chat {
  --fc-wallpaper: #e4ddd3;
  --fc-bubble: #ffffff;
  --fc-reply: #d9fdd3;
  --fc-ink: #111b21;
  --fc-border: #c9ced1;
}
.form-chat .form-item-wrp {
  background-color: var(--fc-wallpaper);
  background-image: radial-gradient(rgb(17 27 33 / 7%) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.form-chat .banner-form-item label {
  position: relative;
  display: inline-block;
  margin: 0 0 10px 8px;
  padding: 8px 14px;
  border-radius: 0 10px 10px 10px;
  background: var(--fc-bubble);
  color: var(--fc-ink);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 1px 0.5px rgb(11 20 26 / 13%);
}
.form-chat .banner-form-item label::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border-top: 10px solid var(--fc-bubble);
  border-left: 8px solid transparent;
}
.form-chat .banner-btn-grp button {
  border: 1px solid var(--fc-border);
  background: var(--fc-bubble);
  color: var(--fc-ink);
}
.form-chat .banner-btn-grp button:hover {
  background: #f0f2f5;
  border-color: #aab2b7;
  color: var(--fc-ink);
}
.form-chat .banner-btn-grp button.active {
  background: var(--fc-reply);
  border: 2px solid var(--wa-green);
  color: var(--fc-ink);
}
.form-chat .banner-btn-grp button.active::before {
  content: "\2713";
  margin-right: 5px;
  color: #1a8f4a;
  font-weight: 800;
}
.form-chat .banner-btn {
  padding-top: 24px;
}
@media (min-width: 992px) {
  .form-chat .banner-form-item label {
    font-size: 18px;
  }
}

/* Form variant "steps" (class form-steps on the form): a clean white card
   that asks one question at a time, with big answer tiles and a progress bar.
   js/form-steps.js adds is-stepped; without JS all questions stay visible. */

/* Progress and navigation (added by js/form-steps.js). */

/* One question at a time; the create button only on the last one. */

/* Preference questions: 2x2 answers on phones so long words and the
   check mark fit, 4 in a row from tablet width up. */
.pref-toggle button {
  white-space: nowrap;
}
@media (max-width: 575px) {
  .hookup-form .pref-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hookup-form .pref-toggle button {
    font-size: 16px;
  }
}

/* Emoji: Apple's set on iPhone/Mac, the system set elsewhere. */
.emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-weight: 400;
  line-height: 1;
}
.banner-form-item label .emoji {
  margin-right: 2px;
  font-size: 1.15em;
  vertical-align: -1px;
}
.pref-toggle button .emoji {
  margin-right: 6px;
  font-size: 1.2em;
}
/* With an emoji in the answer, the check mark would crowd it on phones. */
.form-chat .pref-toggle button.active:has(.emoji)::before {
  content: none;
}
/* Answers with an emoji need more room: two per row at every width. */
.hookup-form .pref-toggle:has(.emoji) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* About and FAQ: collapsible chat cards below "How it works". */
.faq-wrp {
  background: var(--wa-panel);
  color: var(--wa-text);
  padding: 44px 0 52px;
}
.faq-container {
  max-width: 860px;
  padding-inline: 16px;
}
.faq-wrp h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
  text-align: center;
}
.faq-intro {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
  color: var(--wa-soft);
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border-radius: 14px;
  background: var(--wa-card);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 26px;
  line-height: 1;
  color: var(--wa-green);
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item summary:focus-visible {
  outline: 3px solid #c1efa9;
  outline-offset: 2px;
  border-radius: 14px;
}
.faq-item h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}
.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--wa-soft);
}
.faq-item a {
  color: var(--wa-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 900px) {
  .faq-wrp {
    padding: 64px 0 72px;
  }
  .faq-wrp h2 {
    font-size: 40px;
    line-height: 48px;
  }
}
