/* Mobile-only replica. Base 375px, fit 320–430px. No desktop breakpoints. */

:root {
  --cream: #fdf4e5;
  --peach: #f9ddd2;
  --navy: #141651;
  --blue: #1927f0;
  --blue-hover: #4954f3;
  --muted: #4f507c;
  --serif: "Times New Roman", Times, Georgia, serif;
  --sans: Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: #111;
  color: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

button,
select {
  font-family: inherit;
}

.phone {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow-x: hidden;
}

/* Header — 60px purple bar, sticky inside the phone shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 12px 0 18px;
  background: linear-gradient(265.96deg, #605da2 -6.85%, #3b387e 40.06%, #141651 100%);
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center;
  color: #f9ddd2;
}

.logo svg {
  display: block;
  width: 98px;
  height: 24px;
  fill: currentColor;
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  margin-right: 10px;
  background: var(--peach);
  color: var(--navy);
  border: 1px solid transparent;
  border-radius: 1000px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.btn-menu {
  width: 40px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.btn-menu img {
  display: block;
  width: 24px;
  height: 16px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 0;
  margin-top: -60px;
  padding-bottom: 36px;
  background: #1c3a52 url("../images/dancing.png") center 20% / cover no-repeat;
  display: flex;
  flex-direction: column;
}

.hero-signin {
  align-self: flex-end;
  padding: 72px 16px 0 0;
  color: var(--cream);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 28px;
  padding: 0 24px 8px;
}

.hero-logo {
  display: block;
  width: 168px;
  height: 45px;
  margin: 0 auto 16px;
  color: #f9ddd2;
  fill: currentColor;
}

.hero h1 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 40px;
  text-align: center;
  padding: 0;
  margin: 0 0 20px;
  max-width: 320px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  max-width: 100%;
  height: 56px;
  margin: 0 auto;
  padding: 0 20px;
  background: var(--blue);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 1000px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cta:focus,
.btn-cta:hover {
  outline: none;
  background: var(--blue-hover);
}

.btn-cta-block {
  width: 100%;
  margin-top: 8px;
}

/* Menu */
.menu-overlay,
.register-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(20, 22, 81, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.menu-overlay[hidden],
.register-overlay[hidden] {
  display: none;
}

.menu-panel {
  position: relative;
  width: min(280px, 82%);
  min-height: 100%;
  background: linear-gradient(180deg, #3b387e 0%, #141651 100%);
  padding: 72px 24px 24px;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-panel a,
.menu-panel button {
  color: var(--cream);
  background: none;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.menu-close,
.register-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.register-close {
  color: var(--navy);
}

/* Register sheet — not on live first screen; opens from Join now / View singles */
.register-overlay {
  align-items: flex-end;
  justify-content: center;
}

.register-card {
  position: relative;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(156.78deg, #fff7e6 0%, #f2eef0 68.6%, #e1e1fc 100%);
  border-radius: 20px 20px 0 0;
  padding: 28px 24px 32px;
}

.register-kicker {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.register-card h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 32px;
  margin: 4px 0 20px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.field select {
  width: 100%;
  max-width: 100%;
  height: 48px;
  padding: 0 36px 0 12px;
  border: 1px solid #c9c6e0;
  border-radius: 8px;
  background-color: #fff;
  color: var(--navy);
  font-size: 16px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23141651' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.age-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-row select {
  flex: 1;
}

.age-and {
  color: var(--muted);
  font-size: 14px;
}

.register-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 360px) {
  .hero h1,
  .display {
    font-size: 32px;
    line-height: 34px;
  }

  .btn-cta {
    width: 100%;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .icon-bubble {
    width: 132px;
    height: 132px;
  }
}

/* Shared section chrome */
.section {
  padding: 48px 28px;
  position: relative;
}

.section-cream {
  background: linear-gradient(156.78deg, #fff7e6 0%, #f2eef0 68.6%, #e1e1fc 100%);
}

.section-white {
  background: #fff;
}

.section-purple {
  background: linear-gradient(265.96deg, #605da2 -6.85%, #3b387e 40.06%, #141651 100%);
}

.eyebrow,
.kicker {
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 8px;
}

.kicker-lilac {
  color: #898aa8;
}

.eyebrow-center,
.display-center,
.body-center {
  text-align: center;
}

.display {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 40px;
  padding-bottom: 5px;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

.display-light,
.body-light {
  color: #fff;
}

.subhead {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 36px;
  margin: 0 0 16px;
  overflow-wrap: break-word;
}

.body {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Brand */
.section-brand {
  text-align: center;
  padding-bottom: 28px;
}

.photo-hands {
  max-width: 300px;
  margin: 8px auto 28px;
}

/* Features */
.section-features {
  padding-top: 64px;
  padding-bottom: 160px;
}

.feature {
  margin-top: 56px;
}

.photo-feature {
  display: block;
  width: 78%;
  max-width: 280px;
  max-height: 340px;
  margin: 0 auto 24px;
  object-fit: contain;
}

/* App */
.section-app {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 72px;
}

.photo-phone {
  display: block;
  width: 56%;
  max-width: 210px;
  margin: -110px auto 28px;
  border-radius: 0;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  margin-top: 8px;
  background: #fff;
  color: var(--navy);
  border-radius: 1000px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* Events */
.event {
  margin-bottom: 30px;
}

.event-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 28px;
  margin: 16px 0 8px;
}

/* Success stories */
.story {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  min-width: 0;
}

.story-flip {
  flex-direction: row-reverse;
}

.photo-story {
  width: 40%;
  max-width: 148px;
  flex-shrink: 0;
}

.story-copy {
  position: relative;
  flex: 1;
  min-width: 0;
}

.quote-mark {
  width: 48px;
  height: auto;
  margin-bottom: 8px;
  opacity: 0.9;
}

.story-names {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

/* Safety / Trust */
.section-safety {
  padding-top: 72px;
  padding-bottom: 72px;
}

.trust-block {
  text-align: center;
  margin-bottom: 56px;
}

.trust-block:last-child {
  margin-bottom: 0;
}

.icon-bubble {
  width: 159px;
  height: 159px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 1000px;
  box-shadow: 0 0 73px 0 #c5c9fb;
}

/* Expertise */
.section-expertise {
  padding-bottom: 28px;
}

.stat {
  margin-top: 28px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-decoration: none;
}

.learn-more img {
  display: block;
  width: 40px;
  height: 40px;
}

.footnote {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
}

.photo-hang {
  width: 80%;
  max-width: 300px;
  margin: 32px 0 0 auto;
}

/* Mission */
.section-mission {
  padding-top: 96px;
}

.mission-item {
  border-top: 1px solid #898aa8;
  margin-top: 28px;
  padding-top: 28px;
}

.mission-item h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 32px;
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
  background: linear-gradient(265.96deg, #605da2 -6.85%, #3b387e 40.06%, #141651 100%);
  padding: 48px 28px 120px;
  color: #fff;
}

.cookie-dismissed .site-footer {
  padding-bottom: 40px;
}

.footer-logo {
  display: block;
  width: 130px;
  height: 32px;
  margin-bottom: 28px;
  color: #f9ddd2;
  fill: currentColor;
}

.site-footer ul {
  list-style: none;
  margin: 24px 0 0;
}

.site-footer a {
  color: #fff;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a img {
  margin-left: 4px;
  margin-bottom: -2px;
  vertical-align: middle;
}

.copyright {
  margin-top: 36px;
  font-size: 16px;
  line-height: 24px;
}

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  box-shadow: 0 -4px 18px rgba(20, 22, 81, 0.16);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar p {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--navy);
}

.cookie-bar a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.cookie-ok {
  flex-shrink: 0;
  height: 32px;
  padding: 0 14px;
  background: var(--peach);
  color: var(--navy);
  border: 0;
  border-radius: 1000px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Matchmaker contact sheet */
.contact-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  background: rgba(20, 22, 81, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.contact-overlay[hidden] {
  display: none;
}

.contact-card {
  position: relative;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(156.78deg, #fff7e6 0%, #f2eef0 68.6%, #e1e1fc 100%);
  border-radius: 20px 20px 0 0;
  padding: 28px 24px calc(32px + env(safe-area-inset-bottom, 0px));
}

.contact-card h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 32px;
  margin: 4px 0 12px;
}

.contact-body {
  color: var(--navy);
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 20px;
}

.contact-copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px 10px 16px;
  background: #fff;
  border: 1px solid #d9d5ef;
  border-radius: 1000px;
}

.contact-handle {
  flex: 1;
  min-width: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  overflow-wrap: anywhere;
}

.btn-copy {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 1000px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
