/* moonmeets.com home, 2026-11 redesign: the page a friend's link opens on a phone. People before screenshots, one
   introduction as the centre, and the red thread (the app's own line-and-dot list) running down the page. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home h2 { font: 600 36px/1.42 var(--serif); letter-spacing: 0.01em; }
.home .eyebrow + h2 { margin-top: 14px; }

/* ---------- hero: the pair by the river ---------- */
.home .hero { padding-block: 40px 96px; }
.home .hero .lead { font-size: 20px; line-height: 1.8; color: var(--ink); }
.art .pair { position: absolute; left: 14%; top: 0; width: 74%; height: 81%; object-fit: cover; object-position: 50% 26%; border-radius: 36px; box-shadow: 0 40px 80px rgba(80, 40, 30, 0.18), 0 8px 20px rgba(80, 40, 30, 0.08); }

/* ---------- the thread: a line with a dot at each item, as in the app's 推荐理由 ---------- */
.line { list-style: none; margin: 0; padding: 0; }
.line > li { position: relative; padding-left: 40px; }
.line > li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--rose); background: var(--paper); box-sizing: border-box; z-index: 1; }
.line > li::after { content: ""; position: absolute; left: 4.5px; top: calc(0.62em + 11px); bottom: calc(-0.62em - 2px); width: 2px; background: var(--rose); opacity: 0.85; }
.line > li:last-child::after { display: none; }

/* ---------- what she says first ---------- */
.says { padding-block: 24px 120px; }
.says .line { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.says .line > li { padding: 40px 0 0; }
.says .line > li::before { left: 0; top: 0; }
.says .line > li::after { left: 11px; right: -48px; top: 4.5px; bottom: auto; width: auto; height: 2px; }
.says h2 { font-size: 26px; line-height: 1.45; letter-spacing: 0; white-space: nowrap; }
.says p { margin-top: 12px; max-width: 320px; font-size: 16px; line-height: 1.85; color: var(--ink2); }

/* ---------- one introduction ---------- */
.intro { background: linear-gradient(var(--paper), var(--blush) 14%, var(--blush) 86%, var(--paper)); padding: 110px 0 120px; }
.intro-head { text-align: center; }
.intro-head .lead { margin: 18px auto 0; max-width: 560px; }
.seg { margin: 44px auto 0; width: max-content; display: flex; padding: 4px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.seg label { padding: 9px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink2); cursor: pointer; user-select: none; transition: background 0.2s, color 0.2s; }
#side-her:checked ~ .seg label[for="side-her"], #side-him:checked ~ .seg label[for="side-him"] { background: var(--ink); color: #FFFFFF; }
#side-her:focus-visible ~ .seg label[for="side-her"], #side-him:focus-visible ~ .seg label[for="side-him"] { outline: 2px solid var(--rose); outline-offset: 2px; }
#side-her:checked ~ .for-him, #side-him:checked ~ .for-her { display: none; }

.card { margin: 28px auto 0; max-width: 980px; display: grid; grid-template-columns: 400px minmax(0, 1fr); border-radius: 32px; background: #FFFFFF; overflow: hidden; box-shadow: 0 40px 80px rgba(80, 40, 30, 0.12), 0 8px 20px rgba(80, 40, 30, 0.06); }
.who { position: relative; margin: 0; min-height: 560px; }
.who img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.who figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 96px 28px 24px; color: #FFFFFF; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62)); }
.who b { display: block; font: 600 32px/1.3 var(--serif); letter-spacing: 0.04em; }
.who span { display: block; margin-top: 6px; font-size: 14px; opacity: 0.92; }
.why { padding: 36px 44px 40px; }
.by { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.by .avatar { width: 26px; height: 26px; }
.by i { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); }
.reason { margin-top: 18px; font: 600 21px/1.75 var(--serif); }
.hard { margin-top: 22px; padding: 16px 0; border-block: 1px solid var(--line); }
.hard b { display: block; font-size: 15px; }
.hard span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.fit { margin-top: 22px; }
.fit > li { padding: 0 0 16px 30px; }
.fit > li::before { top: 5px; width: 9px; height: 9px; background: #FFFFFF; }
.fit > li::after { left: 3.5px; top: 14px; bottom: -5px; }
.fit span { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }
.fit b { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.fit .rub { padding-bottom: 0; }
.fit .rub::before { border-color: #D8CCC6; }
.fit .rub p { margin-top: 4px; font-size: 14px; line-height: 1.75; color: var(--ink2); }
.fit > li:nth-last-child(2)::after { background: linear-gradient(var(--rose), #D8CCC6); }

/* ---------- how to begin ---------- */
.start { padding-block: 120px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 96px; align-items: center; }
.steps { margin-top: 40px; max-width: 560px; }
.steps > li { padding-bottom: 30px; }
.steps > li::before { top: 9px; }
.steps > li::after { top: 20px; bottom: -9px; }
.steps h3 { font: 600 22px/1.5 var(--serif); }
.steps p { margin-top: 6px; font-size: 16px; line-height: 1.85; color: var(--ink2); }
.later { margin-top: 6px; padding-left: 40px; font-size: 14px; color: var(--muted); }
.start .phone { justify-self: center; }

/* ---------- asked ---------- */
.asked { padding-block: 110px 0; max-width: calc(820px + 2 * var(--gutter)); }
.asked .faq { margin-top: 32px; }
.asked .faq p { font-size: 16px; line-height: 1.85; color: var(--ink2); }
.asked .faq a { color: var(--ink); border-bottom: 1px solid var(--rose); }

/* ---------- the button again ---------- */
.get { padding-block: 120px 0; text-align: center; }
.get .knot { margin: 0 auto 30px; width: 200px; height: auto; overflow: visible; }
.get .cta { justify-content: center; margin-top: 36px; }
.get .age { margin-top: 18px; font-size: 14px; color: var(--muted); }
.home .about { padding-block: 130px 110px; }

.dock { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .home h2 { font-size: 32px; }
  .says .line { gap: 0 32px; }
  .says .line > li::after { right: -32px; }
  .says h2 { font-size: 23px; }
  .card { grid-template-columns: 340px minmax(0, 1fr); }
  .why { padding: 30px 32px 34px; }
  .start { gap: 56px; grid-template-columns: minmax(0, 1fr) 260px; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .home h2 { font-size: 26px; line-height: 1.45; }
  .home .eyebrow + h2 { margin-top: 10px; }
  .home .hero { padding-block: 0 56px; }
  .home .hero .lead { margin-top: 14px; font-size: 17px; line-height: 1.75; }
  .art { max-width: none; aspect-ratio: 5 / 4; }
  .art .pair { left: 0; width: 100%; height: 100%; border-radius: 24px; object-position: 50% 30%; }

  .says { padding-block: 8px 64px; }
  .says .line { margin-top: 22px; display: block; }
  .says .line > li { padding: 0 0 26px 30px; }
  .says .line > li::before { top: 9px; }
  .says .line > li::after { left: 4.5px; right: auto; top: 20px; bottom: -9px; width: 2px; height: auto; }
  .says h2 { font-size: 21px; white-space: normal; }
  .says p { margin-top: 6px; max-width: none; font-size: 15px; line-height: 1.8; }

  .intro { padding: 56px 0 64px; }
  .intro-head { text-align: left; }
  .intro-head .lead { margin: 10px 0 0; font-size: 15px; }
  .seg { margin: 26px 0 0; width: 100%; }
  .seg label { flex: 1; padding: 10px 0; text-align: center; }
  .card { margin-top: 16px; display: block; border-radius: 24px; }
  .who { min-height: 0; aspect-ratio: 4 / 5; }
  .who figcaption { padding: 72px 20px 18px; }
  .who b { font-size: 28px; }
  .who span { font-size: 13px; }
  .why { padding: 22px 20px 26px; }
  .reason { margin-top: 14px; font-size: 18px; line-height: 1.75; }
  .hard { margin-top: 18px; padding: 14px 0; }
  .fit { margin-top: 18px; }
  .fit b { font-size: 15px; }

  .start { padding-block: 64px 16px; display: block; }
  .steps { margin-top: 24px; }
  .steps > li { padding: 0 0 22px 30px; }
  .steps > li::before { top: 7px; }
  .steps > li::after { top: 18px; bottom: -7px; }
  .steps h3 { font-size: 19px; }
  .steps p { margin-top: 4px; font-size: 15px; line-height: 1.8; }
  .later { padding-left: 30px; font-size: 13px; }
  .start .phone { margin: 36px auto 0; max-width: 236px; }

  .asked { padding-block: 64px 0; }
  .asked .faq { margin-top: 18px; }
  .asked .faq summary { padding: 16px 0; font-size: 16px; }
  .asked .faq p { font-size: 15px; }
  .asked .faq details > div { padding: 0 8px 18px 0; }

  .get { padding-block: 72px 0; text-align: left; }
  .get .knot { margin: 0 0 22px; width: 132px; }
  .get .cta { margin-top: 24px; }
  .get .age { margin-top: 12px; font-size: 13px; }
  .home .about { padding-block: 72px 56px; }
  .home .foot .wrap { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom)); }

  .dock:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform 0.25s; }
  .dock.on { transform: none; }
  .dock a { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 14px; background: var(--ink); color: #FFFFFF; font-size: 16px; font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) { .dock, .seg label { transition: none; } }
