/* Mangalamm 2: "Lotus and leaf". White page, leaf green structure, lotus pink for love moments. */

:root {
  --leaf: #173A31;
  --leaf-2: #2F6B5A;
  --ink: #24332E;
  --ink-soft: #5B6B66;
  --lotus: #D23F68;
  --lotus-deep: #B32F55;
  --lotus-mist: #FBE6EC;
  --mist: #EEF3EF;
  --mist-2: #E2EBE5;
  --line: #DCE5DF;
  --white: #FFFFFF;
  --gold: #B8892F;

  --display: "Quicksand", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;

  --r-card: 28px;
  --r-panel: 20px;
  --float: 0 30px 60px -30px rgba(23, 58, 49, .35), 0 2px 8px rgba(23, 58, 49, .06);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--leaf);
  text-wrap: balance;
}
:focus-visible { outline: 2px solid var(--lotus); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 16px/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-lotus { background: var(--lotus); color: var(--white); }
.btn-lotus:hover { background: var(--lotus-deep); }
.btn-leaf { background: var(--leaf); color: var(--white); }
.btn-leaf:hover { background: #0F2A23; }
.btn-line { border-color: var(--line); color: var(--leaf); background: var(--white); }
.btn-line:hover { border-color: var(--leaf); }
.btn-soft { background: var(--mist); color: var(--leaf); }
.btn-soft:hover { background: var(--mist-2); }
.btn-white { background: var(--white); color: var(--leaf); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[aria-pressed="true"] { background: var(--leaf); color: var(--white); }

.link { color: var(--leaf-2); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* ---------- Header ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 23px/1 var(--display);
  letter-spacing: -0.01em;
  color: var(--leaf);
  text-decoration: none;
}
.logo svg { width: 30px; height: 30px; color: var(--lotus); flex: none; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); }
.site-header .wrap { display: flex; align-items: center; gap: 36px; height: 76px; }
.site-header.ruled { border-bottom: 1px solid var(--line); }
.nav { display: flex; gap: 6px; margin-right: auto; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--leaf); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--leaf); background: var(--mist); }
.nav .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--lotus); color: var(--white); font-size: 12px; line-height: 1; vertical-align: 1px; }
.nav .mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.me-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.me-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--leaf); cursor: pointer; }

@media (max-width: 880px) {
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    padding: 12px 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav .mobile-only { display: block; }
  .header-actions .btn-line, .me-chip span { display: none; }
  .me-chip { padding: 3px; }
}
@media (max-width: 520px) {
  .site-header .wrap { gap: 10px; }
  .header-actions .btn { display: none; }
}

/* ---------- Photos ---------- */

.ph { position: relative; overflow: hidden; background: var(--mist-2); }
.ph img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 22%; }
.ph img[src$="ravindu.jpg"] { transform: scale(1.8); transform-origin: 50% 34%; }
.ph.locked img { filter: blur(18px) saturate(.9); transform: scale(1.3); }
.ph.locked::after { content: ""; position: absolute; inset: 0; background: rgba(23, 58, 49, .16); }
.ph .lock {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--leaf);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.ph .lock svg { width: 15px; height: 15px; }
.ph .lock.icon-only { padding: 8px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--leaf);
  font-size: 14px;
  font-weight: 600;
}
.pill svg { width: 15px; height: 15px; }
.pill.on-photo { position: absolute; z-index: 2; background: rgba(255, 255, 255, .94); }
.pill.verified svg { color: var(--gold); }
.pill.match { background: var(--lotus-mist); color: var(--lotus-deep); }
.pill.share { background: #E3F0EA; color: var(--leaf-2); }

/* ---------- Profile card (browse, hero, interests) ---------- */

.pcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.pcard .ph { aspect-ratio: 4 / 5; }
.pcard .ph::before {
  /* Soft fade behind the name */
  content: "";
  position: absolute;
  inset: 55% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 35, 29, 0), rgba(15, 35, 29, .72));
}
.pcard .who { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; color: var(--white); }
.pcard .who h3 { color: var(--white); font-size: 26px; }
.pcard .who h3 a { text-decoration: none; }
.pcard .who p { font-size: 15px; opacity: .92; }
.pcard .pill.on-photo.tl { top: 16px; left: 16px; }
.pcard .pill.on-photo.tr { top: 16px; right: 16px; }
.pcard .body { display: grid; gap: 16px; padding: 20px 22px 22px; flex: 1; align-content: start; }
.prompt-mini .q { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.prompt-mini .a { font: 500 19px/1.4 var(--display); color: var(--leaf); margin-top: 2px; }
.pcard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard .acts { display: flex; gap: 8px; margin-top: auto; }
.pcard .acts .btn { flex: 1; }

/* ---------- Landing ---------- */

.hero { position: relative; isolation: isolate; padding: 64px 0 0; overflow: hidden; text-align: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 74px); font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; max-width: 19ch; margin-inline: auto; }
.hero .lede { margin: 22px auto 0; font-size: 19px; color: var(--ink-soft); max-width: 46ch; }

.finder {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(820px, 100%);
  margin: 36px auto 0;
  padding: 8px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--float);
}
.finder .f { flex: 1; display: grid; padding: 4px 18px; border-right: 1px solid var(--line); min-width: 0; }
.finder .f:last-of-type { border-right: 0; }
.finder label, .finder .lbl { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.finder select {
  appearance: none;
  border: 0;
  padding: 0 18px 0 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235B6B66' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right center;
  font: 600 16px/1.5 var(--body);
  color: var(--ink);
  cursor: pointer;
}
.finder .pair { display: flex; align-items: center; gap: 8px; }
.finder .btn { min-height: 56px; padding: 0 26px; }

/* The live card row under the headline: a 7-card loop, positions set by JS via data-pos */
.deck {
  --step: 324px;
  position: relative;
  height: 640px;
  margin-top: 56px;
  text-align: left;
}
.deck .pcard {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 300px;
  transform: translateX(-50%);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .8s, box-shadow .8s;
  cursor: pointer;
}
.deck .pcard[data-pos="0"] { z-index: 3; cursor: default; box-shadow: var(--float); border-color: transparent; transform: translateX(-50%) translateY(-24px); }
.deck .pcard[data-pos="1"]  { z-index: 2; transform: translateX(calc(-50% + var(--step))) scale(.96); }
.deck .pcard[data-pos="-1"] { z-index: 2; transform: translateX(calc(-50% - var(--step))) scale(.96); }
.deck .pcard[data-pos="2"]  { z-index: 1; opacity: .55; transform: translateX(calc(-50% + var(--step) * 2)) translateY(20px) scale(.92); }
.deck .pcard[data-pos="-2"] { z-index: 1; opacity: .55; transform: translateX(calc(-50% - var(--step) * 2)) translateY(20px) scale(.92); }
.deck .pcard[data-pos="3"]  { opacity: 0; transform: translateX(calc(-50% + var(--step) * 3)) translateY(40px) scale(.88); }
.deck .pcard[data-pos="-3"] { opacity: 0; transform: translateX(calc(-50% - var(--step) * 3)) translateY(40px) scale(.88); }
.deck .pcard:not([data-pos="0"]) .acts { visibility: hidden; }
.deck .pcard.jump { transition: none; }
.deck {
  /* Fade the far cards out at the edges, into whatever is behind them */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%);
}
.deck-controls { display: flex; justify-content: center; gap: 10px; padding: 8px 0 72px; }
.round {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--leaf);
  cursor: pointer;
}
.round:hover { border-color: var(--leaf-2); }
.round svg { width: 18px; height: 18px; }
.round .i-play, .round[aria-pressed="true"] .i-pause { display: none; }
.round[aria-pressed="true"] .i-play { display: block; }
@media (prefers-reduced-motion: reduce) { .deck .pcard { transition: none; } }

.section { padding: 120px 0; }
.band-mist { background: var(--mist); }
.band-leaf { background: var(--leaf); color: #DCE8E2; }
.band-leaf h2, .band-leaf h3 { color: var(--white); }

.head { max-width: 620px; }
.head h2, .h2 { font-size: clamp(34px, 4vw, 52px); }
.head p { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.band-leaf .head p { color: #C3D6CD; }

/* Prompts showcase: staggered, not a uniform card grid */
.prompts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}
.prompts .prompt:nth-child(2) { margin-top: 56px; }
.prompts .prompt:nth-child(3) { margin-top: 24px; }
.prompt {
  padding: 30px 30px 26px;
  border-radius: var(--r-card);
  background: var(--mist);
}
.prompt.pink { background: var(--lotus-mist); }
.prompt .q { font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.prompt .a { margin-top: 10px; font: 500 25px/1.38 var(--display); color: var(--leaf); }
.prompt .by { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 15px; }
.prompt .by img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.prompt .by strong { display: block; color: var(--leaf); }
.prompt .by span { color: var(--ink-soft); }

/* Story band: photo beside copy */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.story .ph { aspect-ratio: 5 / 4; border-radius: 36px; }
.story .ph img { object-position: 30% 20%; }
.story p { margin-top: 20px; font-size: 18px; color: var(--ink-soft); max-width: 42ch; }

/* Privacy: copy beside a real settings panel */
.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--lotus-mist); color: var(--lotus); margin-top: 2px; }
.settings {
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--float);
}
.settings h3 { font-size: 22px; }
.settings > p { margin-top: 4px; font-size: 15px; color: var(--ink-soft); }
.choice { display: grid; gap: 10px; margin-top: 20px; }
.choice label {
  display: grid;
  grid-template-columns: 56px 1fr 22px;
  gap: 16px;
  align-items: center;
  padding: 12px 14px 12px 12px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
}
.choice label:has(input:checked) { border-color: var(--lotus); background: #FFF8FA; }
.choice .ph { width: 56px; height: 56px; border-radius: 14px; }
.choice .t { font-weight: 700; color: var(--leaf); line-height: 1.3; }
.choice .d { font-size: 14px; color: var(--ink-soft); }
.choice input { width: 20px; height: 20px; accent-color: var(--lotus); margin: 0; }
.fixed-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.fixed-row strong { color: var(--leaf); }

/* For parents */
.parents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: center;
}
.parents .ph { aspect-ratio: 4 / 5; border-radius: 36px; }
.parents .ph img { object-position: 8% 50%; }
.parents .note-card {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
  padding: 16px 18px;
  max-width: 440px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}
.parents .note-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.parents .note-card p { font-size: 15px; }
.parents .note-card strong { color: var(--leaf); }

/* Join band */
.join { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.join ol { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.join li { counter-increment: s; }
.join li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font: 700 16px/1 var(--display);
}
.join li strong { display: block; color: var(--white); font-family: var(--display); font-size: 20px; font-weight: 600; }
.join li span { font-size: 15px; color: #C3D6CD; }

/* Footer */
.site-footer { padding: 56px 0 36px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.site-footer p { margin-top: 14px; max-width: 32ch; font-size: 15px; color: var(--ink-soft); }
.site-footer h4 { font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-soft); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--leaf); }
.site-footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

@media (max-width: 980px) {
  .deck .pcard[data-pos="2"], .deck .pcard[data-pos="-2"] { opacity: 0; }
  .prompts { grid-template-columns: 1fr; }
  .prompts .prompt:nth-child(n) { margin-top: 0; }
  .story, .privacy, .parents, .join { grid-template-columns: 1fr; gap: 44px; }
  .join ol { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .section { padding: 84px 0; }
  .hero { padding-top: 40px; }
  .finder { flex-wrap: wrap; border-radius: 24px; gap: 0; }
  .finder .f { flex: 1 1 45%; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .finder .btn { flex: 1 1 100%; margin-top: 8px; }
  .deck { height: 610px; }
  .deck .pcard { width: min(300px, 82vw); }
  .deck .pcard:not([data-pos="0"]) { opacity: 0; }
  .deck { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Forms ---------- */

.field { display: grid; gap: 7px; }
.field + .field { margin-top: 20px; }
.field > label, .field > .lbl { font-weight: 700; font-size: 15px; color: var(--leaf); }
.hint { font-size: 14px; color: var(--ink-soft); }
.input, .select {
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.4 var(--body);
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:hover, .select:hover { border-color: #C2D1C8; }
.input:focus, .select:focus { outline: none; border-color: var(--leaf-2); box-shadow: 0 0 0 4px rgba(47, 107, 90, .14); }
.select {
  appearance: none;
  padding-right: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B6B66' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.row-2 .field + .field, .row-3 .field + .field { margin-top: 0; }
.gap-t { margin-top: 20px; }
@media (max-width: 640px) { .row-2, .row-3 { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.chip input:hover + span { border-color: var(--leaf-2); }
.chip input:checked + span { background: var(--leaf); border-color: var(--leaf); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--lotus); outline-offset: 2px; }
.chip.no input:checked + span { background: var(--lotus); border-color: var(--lotus); }

.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.switch-row:last-child { border-bottom: 1px solid var(--line); }
.switch-row .t { font-weight: 700; color: var(--leaf); }
.switch-row .d { font-size: 15px; color: var(--ink-soft); }
.switch { position: relative; flex: none; width: 50px; height: 30px; }
.switch input { position: absolute; inset: 0; z-index: 1; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #CBD7D0; transition: background-color .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(23, 58, 49, .25); transition: transform .15s; }
.switch input:checked + span { background: var(--lotus); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--lotus); outline-offset: 2px; }

.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--mist); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.seg input:checked + span { background: var(--white); color: var(--leaf); box-shadow: 0 1px 4px rgba(23, 58, 49, .12); }
.seg input:focus-visible + span { outline: 2px solid var(--lotus); outline-offset: 2px; }
.field > .seg { justify-self: start; }

.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--lotus); }

/* ---------- Auth ---------- */

.auth { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 96px 20px 48px; isolation: isolate; }
.auth-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 40% 40%; }
.auth::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 35, 29, .55), rgba(15, 35, 29, .35) 40%, rgba(15, 35, 29, .7)); }
.auth .logo { position: absolute; top: 28px; left: 32px; color: var(--white); }
.auth .logo svg { color: #F5B8C8; }
.auth-card { width: min(460px, 100%); padding: 36px; border-radius: var(--r-card); background: var(--white); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.auth-card .seg { display: flex; margin-bottom: 28px; }
.auth-card .seg label { flex: 1; }
.auth-card .seg span { width: 100%; justify-content: center; }
.auth-card h1 { font-size: 32px; }
.auth-card .sub { margin-top: 6px; color: var(--ink-soft); }
.auth-card form { margin-top: 24px; }
.auth-card .between { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 24px; font-size: 15px; }
.auth-card .between a { color: var(--leaf-2); font-weight: 700; }
.auth .help { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .8); }

/* ---------- App pages ---------- */

.page { padding: 40px 0 120px; background: var(--white); }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(34px, 4vw, 46px); }
.page-head p { margin-top: 6px; color: var(--ink-soft); }

/* Browse */
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font: 600 15px/1 var(--body);
  color: var(--ink);
  cursor: pointer;
}
.fchip svg { width: 16px; height: 16px; color: var(--ink-soft); }
.fchip.on { background: var(--mist); border-color: var(--mist); color: var(--leaf); }
.fchip:hover { border-color: var(--leaf-2); }
.more-filters { display: none; margin-top: 20px; padding: 28px; border-radius: var(--r-panel); background: var(--mist); }
.more-filters.open { display: block; }
.more-filters .row-3 { gap: 20px; }
.more-filters .acts { display: flex; gap: 8px; margin-top: 20px; }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 20px; color: var(--ink-soft); font-size: 15px; }
.results-meta .select { width: auto; min-height: 42px; padding-top: 8px; padding-bottom: 8px; font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--ink-soft); }
.pager a:hover { background: var(--mist); }
.pager a[aria-current="page"] { background: var(--leaf); color: var(--white); }

/* Profile: a single-column feed */
.feed { width: min(640px, 100%); margin-inline: auto; display: grid; gap: 16px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-weight: 700; color: var(--leaf-2); text-decoration: none; }
.back svg { width: 18px; height: 18px; }
.feed .ph { border-radius: var(--r-card); aspect-ratio: 4 / 5; }
.feed .ph.wide { aspect-ratio: 1 / 1; }
.feed .lead { position: relative; }
.feed .lead::before { content: ""; position: absolute; inset: 60% 0 0; z-index: 1; border-radius: 0 0 var(--r-card) var(--r-card); background: linear-gradient(180deg, rgba(15, 35, 29, 0), rgba(15, 35, 29, .75)); pointer-events: none; }
.feed .lead .who { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; color: var(--white); }
.feed .lead h1 { color: var(--white); font-size: 44px; }
.feed .lead p { font-size: 17px; opacity: .92; }
.feed .lead .pill { position: absolute; z-index: 2; top: 20px; left: 20px; background: rgba(255, 255, 255, .94); }
.feed .prompt .a { font-size: 28px; }
.card { padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line); }
.card h2 { font-size: 22px; margin-bottom: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts .pill { min-height: 36px; padding: 0 14px; background: var(--mist); font-weight: 600; }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0; }
.dl dt { font-size: 14px; color: var(--ink-soft); }
.dl dd { margin: 0; font-weight: 700; color: var(--leaf); }
.wants { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wants li { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.wants .k { display: flex; gap: 10px; align-items: center; }
.wants svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; flex: none; }
.wants .ok svg { background: #E3F0EA; color: var(--leaf-2); }
.wants .meh svg { background: #F5EBD6; color: var(--gold); }
.wants .you { font-size: 14px; color: var(--ink-soft); }
.actionbar {
  position: sticky;
  bottom: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--float);
  border: 1px solid var(--line);
}
.actionbar p { margin-right: auto; font-size: 15px; color: var(--ink-soft); }
.actionbar p strong { color: var(--leaf); }
.report { display: inline-flex; align-items: center; gap: 6px; justify-self: center; margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.report svg { width: 14px; height: 14px; }
@media (max-width: 560px) {
  .dl { grid-template-columns: 1fr; }
  .actionbar p { display: none; }
  .actionbar .btn { flex: 1; }
  .feed .lead h1 { font-size: 34px; }
}

/* Tabs */
.tabs { display: inline-flex; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 999px; background: var(--mist); }
.tabs button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font: 700 15px/1 var(--body); color: var(--ink-soft); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--leaf); box-shadow: 0 1px 4px rgba(23, 58, 49, .12); }
.tabs .n { margin-left: 6px; color: var(--lotus); }
.tab-panel { margin-top: 28px; }
.tab-panel[hidden] { display: none; }

/* Interests */
.note { padding: 14px 16px; border-radius: 16px; background: var(--mist); font: 500 17px/1.45 var(--display); color: var(--leaf); }
.note small { display: block; margin-bottom: 4px; font: 700 13px/1.3 var(--body); color: var(--ink-soft); }
.status { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.status.ok { color: var(--leaf-2); }
.mutual {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 16px 28px 16px 16px;
  border-radius: var(--r-card);
  background: var(--lotus-mist);
}
.mutual + .mutual { margin-top: 16px; }
.mutual .ph { aspect-ratio: 1; border-radius: 20px; }
.mutual h3 { font-size: 26px; }
.mutual .since { font-size: 15px; color: var(--ink-soft); }
.mutual .contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mutual .contact .pill { background: var(--white); min-height: 38px; padding: 0 14px; }
.mutual .contact svg { color: var(--lotus); }
@media (max-width: 640px) { .mutual { grid-template-columns: 1fr; padding: 16px; } }

/* ---------- Onboarding ---------- */

.builder { width: min(760px, 100%); margin-inline: auto; }
.progress { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.progress .bar { flex: 1; height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.progress .bar span { display: block; height: 100%; width: 14%; border-radius: inherit; background: var(--lotus); transition: width .3s ease; }
.progress .step-count { font-size: 15px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.sheet { padding: 40px; border-radius: var(--r-card); border: 1px solid var(--line); }
.step-panel[hidden] { display: none; }
.step-panel h1 { font-size: 36px; }
.step-panel > p.muted { margin: 8px 0 32px; max-width: 54ch; }
.step-panel h2.group { font-size: 20px; margin: 32px 0 14px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.prompt-edit { padding: 20px; border-radius: 20px; background: var(--mist); }
.prompt-edit + .prompt-edit { margin-top: 14px; }
.prompt-edit .select { background-color: var(--white); font-weight: 700; color: var(--leaf); }
.prompt-edit textarea.input { min-height: 88px; margin-top: 10px; font-family: var(--display); font-weight: 500; font-size: 18px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photos .ph { aspect-ratio: 4 / 5; border-radius: 22px; }
.photos .tag { position: absolute; z-index: 2; left: 12px; bottom: 12px; }
.add-photo { aspect-ratio: 4 / 5; border-radius: 22px; border: 2px dashed #C9D6CE; background: var(--white); display: grid; place-items: center; text-align: center; font: 700 15px/1.3 var(--body); color: var(--leaf-2); cursor: pointer; }
.add-photo:hover { border-color: var(--leaf-2); background: var(--mist); }
.add-photo svg { width: 26px; height: 26px; margin: 0 auto 6px; }
.preview { display: flex; gap: 16px; align-items: center; margin-top: 24px; padding: 14px; border-radius: 20px; background: var(--lotus-mist); }
.preview .ph { width: 64px; height: 80px; border-radius: 14px; flex: none; }
.preview .lock.icon-only svg { width: 13px; height: 13px; }
@media (max-width: 640px) { .sheet { padding: 24px; } .photos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Admin: a working panel, not a web page ---------- */

.adm-body { background: #F6F8F7; font-size: 15px; line-height: 1.55; }
.adm { display: grid; grid-template-columns: 256px 1fr; min-height: 100vh; }

.adm-side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 14px;
  background: var(--leaf);
  color: #C9DAD2;
  overflow-y: auto;
}
.adm-brand { display: flex; align-items: center; justify-content: space-between; padding: 4px 10px 14px; }
.adm-side .logo { color: var(--white); font-size: 21px; }
.adm-side .logo svg { color: #F5B8C8; width: 26px; height: 26px; }
.adm-side .menu-toggle { color: var(--white); }
.adm-nav { display: grid; gap: 18px; }
.adm-nav .grp { display: grid; gap: 2px; }
.adm-nav .grp-name { padding: 0 12px 4px; font-size: 12px; font-weight: 700; color: #8FB0A3; }
.adm-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.adm-nav a svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.adm-nav a:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
.adm-nav a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: var(--white); box-shadow: inset 3px 0 0 var(--lotus); }
.adm-nav .c { margin-left: auto; font-size: 12px; font-weight: 700; color: #8FB0A3; }
.adm-nav .c.hot { min-width: 22px; height: 20px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--lotus); color: var(--white); }
.adm-me { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 14px; }
.adm-me .ini { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lotus); color: var(--white); font-weight: 700; }
.adm-me strong { display: block; color: var(--white); }
.adm-me span { color: #8FB0A3; }

.adm-main { min-width: 0; }
.adm-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: rgba(246, 248, 247, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.adm-top > div:first-child { margin-right: auto; }
.adm-top .crumb { font-size: 13px; color: var(--ink-soft); }
.adm-top h1 { font-size: 26px; }
.adm-search { display: flex; align-items: center; gap: 8px; width: 320px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); }
.adm-search svg { width: 17px; height: 17px; flex: none; }
.adm-search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); }
.adm-search:focus-within { border-color: var(--leaf-2); box-shadow: 0 0 0 3px rgba(47, 107, 90, .14); }
.adm-range { width: auto; min-height: 42px; padding-top: 8px; padding-bottom: 8px; border-radius: 12px; font-size: 15px; }
.adm-top .round { position: relative; border-radius: 12px; }
.adm-top .round .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--lotus); box-shadow: 0 0 0 2px var(--white); }

.adm-content { display: grid; gap: 20px; padding: 24px 32px 48px; }
.adm-content .panel { padding: 22px 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.panel-head h2 { font-size: 18px; }
.panel-head p { font-size: 14px; margin-top: 2px; }
.adm-content .link { font-size: 14px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { display: grid; gap: 2px; padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.kpi .k { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.kpi .v { font: 600 30px/1.2 var(--display); color: var(--leaf); }
.kpi .d { font-size: 13px; font-weight: 700; }
.kpi .d.up { color: var(--leaf-2); }
.kpi .d.warn { color: var(--lotus-deep); }

.adm-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }

/* Bar chart: one series, one hue, baseline-anchored bars with rounded data ends */
.chart { display: grid; grid-template-columns: 28px 1fr; gap: 8px; height: 220px; }
.chart .y { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 22px; font-size: 12px; color: var(--ink-soft); text-align: right; line-height: 1; }
.chart .plot { position: relative; display: grid; grid-template-rows: 1fr 22px; }
.gridlines { position: absolute; inset: 0 0 22px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.gridlines i { height: 1px; background: var(--line); }
.bars { position: relative; display: flex; align-items: flex-end; gap: 2px; }
.col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline: none; cursor: default; }
.col .bar { width: 62%; height: calc(var(--v) * 100%); border-radius: 4px 4px 0 0; background: #7FA898; transition: background-color .15s; }
.col.today .bar { background: var(--leaf-2); }
.col:hover .bar, .col:focus-visible .bar { background: var(--leaf); }
.col:focus-visible { box-shadow: inset 0 0 0 2px var(--lotus); border-radius: 6px; }
.col .tip {
  position: absolute;
  z-index: 2;
  bottom: calc(var(--v) * 100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--leaf);
  color: #C9DAD2;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  text-align: center;
}
.col .tip strong { display: block; color: var(--white); font-size: 13px; }
.col:hover .tip, .col:focus-visible .tip { display: block; }
.chart .x { display: flex; justify-content: space-between; align-items: end; font-size: 12px; color: var(--ink-soft); }
.as-table { margin-top: 12px; font-size: 14px; }
.as-table summary { cursor: pointer; font-weight: 700; color: var(--leaf-2); }
.as-table .tbl { margin-top: 8px; }

.reports { list-style: none; margin: 0; padding: 0; }
.reports li { padding: 14px 0; border-top: 1px solid var(--line); }
.reports li:first-child { border-top: 0; padding-top: 0; }
.r-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.r-top strong { color: var(--leaf); }
.reports p { margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.r-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; }
.sev { padding: 2px 9px; border-radius: 999px; background: var(--mist); color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.sev.urgent { background: var(--lotus-mist); color: var(--lotus-deep); }

.bulk { display: flex; gap: 8px; flex: none; }
.tbl.dense td { padding: 10px 12px; }
.tbl .who small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.tbl input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--leaf-2); }
.row-acts { text-align: right; }
.tbl-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 14px; }
.tbl-foot .pager a { min-width: 36px; height: 36px; }

.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.log li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; font-size: 14px; }
.log .t { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.log strong { color: var(--leaf); }

@media (max-width: 1200px) { .adm-row { grid-template-columns: 1fr; } .adm-search { width: 220px; } }
@media (max-width: 980px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; height: auto; padding: 12px 14px; }
  .adm-brand { padding: 4px 6px; }
  .adm-nav, .adm-me { display: none; }
  .adm-nav.open { display: grid; padding-top: 8px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .adm-top { flex-wrap: wrap; padding: 12px 20px; }
  .adm-search { order: 5; width: 100%; }
  .adm-content { padding: 20px; }
  .panel-head { flex-wrap: wrap; }
}

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; padding: 10px 12px; font-size: 14px; font-weight: 700; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .who { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--leaf); }
.tbl .who img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state.on { color: var(--leaf-2); }
.state.off { color: var(--lotus-deep); }
.state.wait { color: var(--gold); }
@media (max-width: 720px) {
  /* One scrollable row of filters on phones */
  .filterbar { flex-wrap: nowrap; overflow-x: auto; margin-inline: -24px; padding-inline: 24px; scrollbar-width: none; }
  .fchip { flex: none; }
}

/* ---------- Landing motion ---------- */

/* Page load: headline, subline, search, then the card row */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.hero h1 { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .lede { animation: rise .9s .12s cubic-bezier(.2, .7, .2, 1) both; }
.hero .finder { animation: rise .9s .24s cubic-bezier(.2, .7, .2, 1) both; }
.deck { animation: rise 1.1s .4s cubic-bezier(.2, .7, .2, 1) both; }
.deck-controls { animation: fadein .8s .9s both; }

/* The featured card's answer re-animates each time a new card takes the centre */
.deck .pcard[data-pos="0"] .prompt-mini .a { animation: rise .6s .35s cubic-bezier(.2, .7, .2, 1) both; }
.deck .pcard[data-pos="0"] .acts { animation: fadein .5s .5s both; }

/* Scroll reveals */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease var(--d, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.zoom img { transform: scale(1.14); transition: transform 2.2s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.zoom.in img { transform: scale(1); }
.prompts .prompt { transition: transform .3s ease, box-shadow .3s ease; }
.prompts .prompt:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--float); }
.prompts .prompt.reveal.in:hover { transform: translateY(-6px) rotate(-.6deg); }

/* Privacy demo: photo blur eases as the setting changes */
.choice label { transition: border-color .3s, background-color .3s; }
.choice .ph img { transition: filter .5s ease, transform .5s ease; }
.choice .lock { transition: opacity .3s; }

/* "New this week" ribbon */
.ribbon { position: relative; display: flex; align-items: center; padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--white); }
.ribbon-label {
  position: absolute;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 72px 0 max(24px, (100vw - var(--wrap)) / 2);
  background: linear-gradient(90deg, var(--white) calc(100% - 72px), rgba(255, 255, 255, 0));
  font: 700 15px/1 var(--display);
  color: var(--leaf);
  white-space: nowrap;
}
.ribbon::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 120px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--white)); }
.ribbon-track { display: flex; width: max-content; animation: ribbon 48s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-set { display: flex; gap: 14px; padding-right: 14px; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.mchip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--mist); font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.mchip .ph { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.mchip .ph.locked img { filter: blur(6px); }
.mchip strong { display: block; color: var(--leaf); font-size: 14px; line-height: 1.2; }

/* Buttons respond to the pointer */
.btn-lotus, .btn-leaf { transition: background-color .15s, transform .15s, box-shadow .15s; }
.btn-lotus:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(210, 63, 104, .6); }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lede, .hero .finder, .deck, .deck-controls,
  .deck .pcard[data-pos="0"] .prompt-mini .a, .deck .pcard[data-pos="0"] .acts { animation: none; }
  .js .reveal, .js .reveal.zoom img { opacity: 1; transform: none; transition: none; }
  .ribbon-track { animation: none; }
  .prompts .prompt:hover, .btn-lotus:hover { transform: none; }
}


/* ---------- Hero backdrop ---------- */

/* A soft mist arc behind the lower half of the card row: a stage for the cards */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -15%;
  right: -15%;
  bottom: 0;
  height: 44%;
  background: var(--mist);
  border-radius: 50% 50% 0 0 / 160px 160px 0 0;
}

/* Live moments from the product, floating in the empty margins beside the headline */
.floaters { position: absolute; inset: 0 0 auto; height: 560px; pointer-events: none; }
.fl { position: absolute; animation: pop .7s var(--d) cubic-bezier(.3, 1.4, .5, 1) both, bob 6s calc(var(--d) + .7s) ease-in-out infinite alternate; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -12px; } }
.fl-photo { width: 88px; height: 88px; padding: 4px; border-radius: 50%; background: var(--white); box-shadow: var(--float); }
.fl-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.fl-photo .badge { position: absolute; right: -2px; bottom: 2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--white); }
.fl-photo .badge svg { width: 16px; height: 16px; }
.fl-photo .lotus { background: var(--lotus-mist); color: var(--lotus); }
.fl-photo .tick { background: var(--leaf-2); color: var(--white); }
.fl-toast { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; background: var(--white); box-shadow: var(--float); text-align: left; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.fl-toast strong { display: block; color: var(--leaf); font-family: var(--display); font-size: 15px; }
.duo-av { display: flex; }
.duo-av img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 2px solid var(--white); }
.duo-av img + img { margin-left: -12px; }
.fl-2 strong { color: var(--lotus-deep); }
.fl-1 { left: 7%; top: 96px; }
.fl-2 { left: 3.5%; top: 262px; }
.fl-3 { right: 3.5%; top: 120px; }
.fl-4 { right: 8%; top: 276px; width: 76px; height: 76px; }

/* Only where there is real empty space beside the headline */
@media (max-width: 1279px) { .floaters { display: none; } }
@media (prefers-reduced-motion: reduce) { .fl { animation: none; } }
