/* ============================================================
   Home page only (body.home). Loaded after styles.css so the phone
   mockups and FAQ keep their component styles; this file restyles the
   page chrome: white ground, black type, heavy sans, big phones.
   ============================================================ */

body.home {
  --paper: #faf9f6;
  --leaf: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #5b5b57;
  --rule: #e6e3db;
  --rule-soft: #eeebe3;
  --display: "Familjen Grotesk", system-ui, sans-serif;
  --sans: "Familjen Grotesk", system-ui, sans-serif;
  --measure: 1180px;
  background: #faf9f6;
  letter-spacing: -0.011em;
}
body.home::after { content: none; }

/* sentence case everywhere, heavy weight, tight tracking */
.home .display,
.home .split h2,
.home .closer h2 {
  text-transform: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.03;
}
.home .split h2 .fill,
.home .closer h2 .fill,
.home .display .fill { color: inherit; display: inline; font-weight: 500; }
.home .split h2 .fill { display: block; }
.home .lede { color: var(--ink-2); }

/* ---- nav ---- */
.home .topnav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
}
.home .topnav .brand { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-right: auto; }
.home .topnav .brand svg { width: 30px; height: 30px; }
.home .topnav .navlinks { gap: 28px; font-size: 15px; font-weight: 500; }
.home .topnav .navlinks a { color: var(--ink); }
.home .topnav .appstore { padding: 8px 14px 8px 12px; border-radius: 10px; }
.home .topnav .appstore svg { width: 18px; height: 21px; }
.home .topnav .appstore .t strong { font-size: 15px; }

/* ---- hero ---- */
.home .hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px);
}
.home .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.home .pill i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ember);
  display: grid;
  place-items: center;
}
.home .pill svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.home .hero h1 {
  margin-top: 26px;
  text-transform: none;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
}
.home .hero h1 .h-brand { display: block; font-weight: 800; }
.home .hero h1 .h-sub { display: block; color: var(--ember); font-size: 0.56em; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-top: 10px; max-width: 12em; }
.home .hero .lede { margin-top: 24px; max-width: 30em; font-size: clamp(16px, 1.3vw, 18px); }

.home .hero-primary { margin-top: 28px; }
.home .appstore--hero { border-radius: 14px; padding: 12px 22px 12px 18px; }
.home .appstore--hero svg { width: 24px; height: 29px; }
.home .appstore--hero .t strong { font-size: 20px; }
.home .hero-primary-note { color: var(--ink-2); }

.home .ctas--join { border-top: 0; padding-top: 0; margin-top: 26px; }
.home .join-label { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.home .codes input { border-radius: 12px; background: #fff; border: 1.5px solid var(--rule); }
.home .btn { background: var(--ember); }
.home .btn:hover:not(:disabled) { background: var(--ember-hot); }

/* two phones side by side, the second one lower, with a hand-drawn arrow */
.home .duo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 2vw, 28px);
  align-items: start;
  justify-items: center;
  padding-bottom: 36px;
}
.home .duo .phone-wrap { width: 100%; max-width: 270px; }
.home .duo .duo-b { margin-top: 72px; }
.home .duo .hero-caption { transform: none; margin-bottom: 14px; height: auto; }
.home .duo .hero-caption-text {
  position: static;
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}
.home .duo .arrow {
  position: absolute;
  left: 42%;
  top: 38%;
  width: clamp(54px, 7vw, 92px);
  color: var(--ink);
  pointer-events: none;
}
.home .duo .arrow path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.home .duo .hero-frame { position: absolute; inset: 0; animation: none; opacity: 1; }

/* ---- proof ---- */
.home .stat { text-align: center; padding: clamp(36px, 5vw, 64px) 0 0; }
.home .stat-line { font-weight: 700; letter-spacing: -0.035em; }
.home .stat-num { color: var(--ink); }
.home .trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border: 0;
  padding: 26px 0 0;
}
.home .trust div {
  padding: 9px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
}

/* ---- sections ---- */
.home section { margin-top: 0; padding-top: clamp(36px, 4.5vw, 64px); }
.home .sec-head h2 { font-size: clamp(34px, 4.8vw, 60px); }
.home .split h2 { font-size: clamp(32px, 4.4vw, 56px); }

/* the chat before/after become two soft cards */
.home .imsg {
  border-radius: 32px;
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.25);
}
.home .ticks li { border-top-color: var(--rule); }

/* bands: calm grey for members, one bold maroon moment for Circles, black close */
.home #member { --band: #f0eee7; }
.home #circles { --band: var(--app-slate); }
.home #get { --band: #0a0a0a; }
.home #get .appstore { background: #fff; color: #000; }
.home #get .appstore svg { fill: #000; }
.home #get h2 .fill { color: rgba(255, 255, 255, 0.6); }

.home .closer h2 { font-size: clamp(38px, 6vw, 78px); }

/* FAQ */
.home .qa summary { font-weight: 600; letter-spacing: -0.02em; }
.home .qa summary:hover { color: var(--ink); }
.home .qa details a { color: var(--ember); }

@media (max-width: 720px) {
  .home .topnav .navlinks { display: none; }
  .home .hero { grid-template-columns: minmax(0, 1fr); }
  .home .codes { max-width: 100%; }
  .home .codes input { width: 42px; flex: none; }
  .home .duo { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .home .duo .duo-b { margin-top: 44px; }
  .home .topnav .appstore .t small { display: none; }
}

.home .duo .count { font-size: 36px; }
.home .duo .count-sub { font-size: 13px; }
.home .duo .m-btn { font-size: 12px; }

.home .sticky-cta { left: 0; right: 0; width: 100%; box-sizing: border-box; }

.home .hero h1 .h-sub { letter-spacing: -0.02em; }
.home .topnav .navlinks a:hover { color: var(--ember); }

/* ---- 3D stage: phones tilt toward the pointer, with depth between them ---- */
.home .duo {
  perspective: 1600px;
  perspective-origin: 50% 45%;
}
.home .duo-stage {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: inherit;
  width: 100%;
  align-items: start;
  justify-items: center;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}
.home .duo .phone-wrap { transform-style: preserve-3d; }
.home .duo .duo-a { transform: translateZ(0) rotateY(9deg); }
.home .duo .duo-b { transform: translateZ(70px) rotateY(-7deg); }
.home .duo .iphone {
  transform-style: preserve-3d;
  box-shadow: none;
  padding: 2.5px;
  background: linear-gradient(150deg, #8a847d 0%, #34302b 25%, #5a544d 50%, #2a2621 78%, #7a746d 100%);
}
.home .duo .iphone-screen { border-width: 7px; transform: translateZ(0.5px); }
/* glass sheen slides with the tilt */
.home .duo .iphone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.26) 46%, transparent 62%);
  background-size: 260% 100%;
  background-position: var(--sheen, 50%) 0;
}
.home .duo .slice {
  position: absolute;
  inset: 0;
  border-radius: 14.5% / 6.7%;
  background: #2b2723;
  pointer-events: none;
  backface-visibility: hidden;
}
.home .duo .slice--back { background: #131110; backface-visibility: visible; }
/* soft contact shadow that follows the phones */
.home .duo .ground {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4px;
  height: 46px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(20, 30, 25, 0.28), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
  transform: translate(calc(var(--ry-n, 0) * -18px), 0);
}
.home .duo .phone-wrap { animation: duoFloat 7s ease-in-out infinite; }
.home .duo .duo-b { animation-delay: -3.5s; }
@keyframes duoFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
@media (prefers-reduced-motion: reduce) {
  .home .duo .phone-wrap { animation: none; }
  .home .duo-stage { transform: rotateY(-8deg) rotateX(2deg); }
}
@media (max-width: 520px) {
  .home .duo .duo-b { transform: translateZ(30px) rotateY(-6deg); }
}
.home .duo .arrow { display: none; }
.home .duo .m-btn { white-space: nowrap; font-size: 10px; padding-inline: 6px; }

/* ---- screen details that follow the current app ---- */
.home .o-hint--top { margin-top: 7px; }
.home .o-k--row { display: flex; align-items: center; justify-content: space-between; }
.home .o-invite {
  font-size: 9px;
  font-weight: 500;
  color: var(--app-ember);
  border: 1px solid var(--app-ember);
  border-radius: 999px;
  padding: 2px 9px;
}
.home .o-add {
  margin-top: 10px;
  border: 1px solid var(--app-hairline);
  border-radius: 999px;
  padding: 8px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
}
.home .m-link {
  text-align: center;
  font-size: 10px;
  color: var(--app-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 10px;
}
.home .m-chip {
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--app-surface);
}
.home .m-chip b { display: block; font-size: 9.5px; font-weight: 600; }
.home .m-chip small { display: block; font-size: 8px; color: var(--app-muted); margin-top: 2px; line-height: 1.35; }
.home .m-leave { text-align: center; font-size: 9.5px; color: #b3402f; margin-top: 10px; }
.home .duo .m-btn { margin-top: 8px; margin-bottom: 8px; }
.home .duo .m-amount { margin: 16px 0 6px; }
.home .duo .o-meta { font-size: 9px; white-space: nowrap; }

/* organizer "charged" screen */
.home .d-cap { font-size: 9px; color: var(--app-muted); margin-top: 2px; }
.home .d-title { font-size: 27px; margin-top: 4px; font-weight: 500; }
.home .d-body { font-size: 9.5px; line-height: 1.45; color: var(--app-stone); margin-top: 8px; }
.home .app--done .o-k { margin-top: 14px; }
.home .app--done .o-row { gap: 8px; padding-block: 7px; }
.home .app--done .o-amt { font-size: 11px; }
.home .d-ghost { text-align: center; font-size: 10px; font-weight: 500; color: var(--app-stone); margin-bottom: 12px; }
.home .app--done .o-t { overflow: hidden; }
.home .app--done .o-t b { white-space: nowrap; font-size: 11.5px; }
.home .app--done .o-av { flex: none; }
.home .app--done .o-row { gap: 6px; padding-inline: 8px; }
.home .app--done .o-t { overflow: visible; flex: 1 0 auto; }
.home .app--done .o-t b { font-size: 10.5px; }
.home .app--done .o-amt { font-size: 10px; }
.home .app--done .d-tag { padding: 2px 5px; font-size: 7.5px; }
.home .app--done .o-av { width: 20px; height: 20px; font-size: 9px; }

.home .d-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; color: var(--app-success); flex: none; }
.home .d-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--app-success); }
.home .app--done .d-tag { padding: 0; font-size: 9px; }
.home .app--done .o-amt { font-weight: 500; font-size: 11px; }
.home .app--done .o-t b { font-size: 12px; }

/* tighter vertical rhythm */
.home .hero { padding-bottom: clamp(20px, 3vw, 40px); }
.home .stat { padding-top: clamp(20px, 3vw, 36px); }
.home .trust { padding-top: 20px; }
.home #member, .home #circles, .home #get {
  margin-top: clamp(36px, 4.5vw, 64px);
  padding: clamp(40px, 5vw, 64px) 0;
}
.home #what { padding-top: clamp(40px, 5vw, 64px); }
.home .diff-cta { padding-top: 22px; }
.home .closer { margin-top: clamp(36px, 4.5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.home footer { margin-top: 0; }

/* ---- tablets and phones: keep the phones at their real size (their
   screens are drawn in fixed px) and overlap them instead of shrinking ---- */
@media (max-width: 720px) {
  .home .duo { max-width: none; width: 100%; padding-bottom: 0; }
  .home .duo-stage {
    display: block;
    position: relative;
    width: 400px;
    height: 640px;
    margin-inline: auto;
  }
  .home .duo .phone-wrap { width: 270px; max-width: none; position: absolute; }
  .home .duo .duo-a { left: 0; top: 0; }
  .home .duo .duo-b { left: 130px; top: 70px; margin-top: 0; }
  .home .duo .ground { left: 12%; right: 12%; bottom: -6px; }
}
@media (max-width: 460px) {
  .home .duo-stage { zoom: 0.84; }
}
@media (max-width: 380px) {
  .home .duo-stage { zoom: 0.76; }
}
@media (min-width: 621px) and (max-width: 720px) {
  .home .duo-stage { width: 580px; height: 650px; }
  .home .duo .duo-b { left: 306px; top: 56px; }
}
@media (max-width: 620px) {
  .home .duo .duo-b { left: 150px; top: 84px; }
  .home .duo-stage { height: 690px; }
  .home .duo .hero-caption { position: relative; z-index: 3; }
}
@media (max-width: 620px) {
  .home .hero { gap: 8px; }
  .home .duo-stage { width: 580px; height: 640px; zoom: 0.58; }
  .home .duo .duo-b { left: 306px; top: 50px; }
}
@media (max-width: 400px) {
  .home .duo-stage { zoom: 0.53; }
}

.home .d-paid { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.home .d-paid strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--app-ember); font-variant-numeric: tabular-nums; }
.home .d-paid span { font-size: 9.5px; color: var(--app-stone); }
.home .app--done .d-body { margin-top: 6px; }
.home .app--done .o-k { margin-top: 10px; }
.home .app--done .o-row { padding-block: 5px; }
.home .m-foot { font-size: 7.5px; color: var(--app-muted); margin: 5px 0 0; }
.home .duo .m-breakdown { margin-top: 8px; padding: 8px 10px; }
.home .duo .m-b-row { font-size: 9.5px; }
.home .duo .m-amount strong { font-size: 34px; }
.home .duo .m-amount { margin: 12px 0 4px; }
.home .duo .m-link { margin-bottom: 0; }

.home .d-paid { margin-top: 6px; gap: 5px; }
.home .d-paid strong { font-size: 12px; }
.home .d-paid span { font-size: 9px; }

/* mid widths: keep the hero two-column and in one view by zooming the pair */
@media (min-width: 721px) and (max-width: 1100px) {
  .home .hero { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 16px; padding-top: 12px; }
  .home .duo-stage {
    display: block;
    position: relative;
    width: 580px;
    height: 640px;
    zoom: 0.72;
    margin-inline: auto;
  }
  .home .duo .phone-wrap { width: 270px; max-width: none; position: absolute; }
  .home .duo .duo-a { left: 0; top: 0; }
  .home .duo .duo-b { left: 306px; top: 56px; margin-top: 0; }
  .home .hero h1 { font-size: clamp(36px, 5vw, 56px); }
  .home .topnav { padding: 12px 0; }
}

/* charged screen rows: Card padding 16, ListRow padding 12, Hairline margin 12 (pt x 0.65) */
.home .app--done .o-card { padding: 10px; background: var(--app-surface); }
.home .app--done .o-row { padding: 8px 0; border-bottom: 0; gap: 8px; }
.home .app--done .o-row + .o-row { margin-top: 17px; position: relative; }
.home .app--done .o-row + .o-row::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -9px;
  height: 1px;
  background: var(--app-line);
}
.home .app--done .o-t b { font-size: 10.5px; }
.home .app--done .o-amt { font-size: 10.5px; font-weight: 500; }
.home .app--done .d-tag { font-size: 8.5px; }

/* member breakdown: rounded-card bg-surface px-lg py-md gap-sm, text-small rows */
.home .m-bd {
  margin-top: 10px;
  background: var(--app-surface);
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.home .m-bd-row { display: flex; justify-content: space-between; font-size: 8.5px; color: #4e4e4e; font-variant-numeric: tabular-nums; }
.home .m-bd-row--total { color: var(--app-ink); }
.home .m-bd-rule { height: 1px; background: var(--app-line); margin: 2px 0; }
.home .m-foot { font-size: 7px; color: var(--app-muted); margin-top: 5px; }

/* organizer detail screen in "For organizers": rows are name + caption only */
.home #together .app--done .o-row { padding: 9px 0; }
.home #together .app--done .o-t b { font-size: 12px; }
.home #together .app--done .o-t small { font-size: 9px; }
.home #together .o-title { font-size: 24px; }
.home #together .o-meta, .home #together .o-total { font-size: 10px; }
.home #together .m-btn { font-size: 12px; padding: 13px; }

.home #together .app--done .o-card { padding: 6px 10px; }
.home #together .app--done .o-row { padding: 5px 0; gap: 9px; }
.home #together .app--done .o-row + .o-row { margin-top: 11px; }
.home #together .app--done .o-row + .o-row::before { top: -6px; }
.home #together .app--done .o-av { width: 26px; height: 26px; font-size: 10px; flex: none; }
.home #together .o-k { margin: 11px 0 4px; }
.home #together .o-nav { margin-bottom: 2px; }

/* invite pill: share icon + Invite, outlined in the accent */
.home .o-invite { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 8px; }
.home .o-invite svg { width: 9px; height: 9px; }

/* one silent group thread: nobody answers, one person reacts */
.imsg-body--silent { gap: 6px; padding: 22px 16px 18px; }
.imsg-body--silent .im { max-width: 82%; }
.im--react { margin-top: 6px; }
.im-react {
  position: absolute;
  left: -12px;
  top: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  background: var(--ios-grey);
  box-shadow: 0 0 0 2.5px #fff;
}
.im-status {
  align-self: flex-end;
  margin: -2px 4px 4px 0;
  font-size: 11px;
  color: #8e8e93;
}
.im-status--seen { font-weight: 600; }

/* member screen: contents centered */
.home .duo .duo-b .m-eyebrow,
.home .duo .duo-b .m-title,
.home .duo .duo-b .m-contrib { text-align: center; }

.home #together .app--done .o-row { padding: 4px 0; }
.home #together .app--done .o-row + .o-row { margin-top: 9px; }
.home #together .app--done .o-row + .o-row::before { top: -5px; }
.home #together .o-k { margin: 8px 0 4px; }
.home #together .o-total { margin-top: 2px; }
.home #together .app--done .o-av { width: 24px; height: 24px; }

/* =========================================================
   Round 3: hero fixes, walkthrough, why, circles
   ========================================================= */

/* charged screen: button sits up off the home bar */
.home .app--done .m-btn { margin-bottom: 26px; }

/* member screen: left aligned like the real page, vertically centered */
.home .duo .duo-b .m-eyebrow,
.home .duo .duo-b .m-title,
.home .duo .duo-b .m-contrib { text-align: left; }
.home .duo .duo-b .app--member { justify-content: center; padding-bottom: 14px; }

/* ---- walkthrough ---- */
.home .sec-head--center { text-align: center; }
.home .sec-head--center .lede { margin-inline: auto; }
.wt {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(24px, 3vw, 40px);
}
.wt-stage { perspective: 1700px; perspective-origin: 50% 40%; display: flex; justify-content: center; padding: 8px 0 28px; }
.wt-phone {
  --wry: -8deg; --wrx: 2deg; --wtz: 0px;
  width: 300px;
  transform-style: preserve-3d;
  transform: translateZ(var(--wtz)) rotateX(var(--wrx)) rotateY(var(--wry));
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wt-phone .iphone { box-shadow: 0 40px 60px -30px rgba(10, 20, 15, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18); }
.wt-screens { flex: 1; position: relative; min-height: 0; }
.wt-s {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.wt-s.on { opacity: 1; }
.wt-spot {
  position: absolute;
  z-index: 5;
  left: 0; top: 0; width: 0; height: 0;
  border-radius: 14px;
  border: 2px solid var(--ember);
  box-shadow: 0 0 0 600px rgba(250, 249, 246, 0.66);
  pointer-events: none;
  opacity: 0;
  transition: left 0.55s cubic-bezier(0.3, 0.8, 0.2, 1), top 0.55s cubic-bezier(0.3, 0.8, 0.2, 1),
    width 0.55s cubic-bezier(0.3, 0.8, 0.2, 1), height 0.55s cubic-bezier(0.3, 0.8, 0.2, 1), opacity 0.2s;
}
.wt-spot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 1px solid rgba(23, 77, 56, 0.35);
}

/* the right side */
.wt-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rule);
  margin-bottom: 18px;
}
.wt-mode {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.wt-mode[aria-selected="true"] { background: var(--ink); color: #fff; }
.wt-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.wt-tabs[hidden] { display: none; }
.wt-tab {
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font: inherit;
  padding: 16px 4px 16px 18px;
  cursor: pointer;
  position: relative;
  color: var(--ink-2);
}
.wt-tab::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 3px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s;
}
.wt-tab-t { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); transition: color 0.2s; }
.wt-tab-d {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
}
.wt-tab[aria-selected="true"]::before { background: var(--ember); }
.wt-tab[aria-selected="true"] .wt-tab-t { color: var(--ink); }
.wt-tab[aria-selected="true"] .wt-tab-d { max-height: 90px; opacity: 1; margin-top: 6px; color: var(--ink-2); }
.wt-tab:hover .wt-tab-t { color: var(--ink); }

/* screens inside the walkthrough */
.wt-s .o-title, .wt-s .m-title { font-size: 22px; }
.wt-s .d-title { font-size: 25px; }
.wt-timer { font-variant-numeric: tabular-nums; font-size: 38px !important; font-weight: 500; }
.d-sub { font-size: 12px; color: var(--app-stone); margin-top: 2px; }
.d-tag--wait { color: var(--app-muted); }
.d-tag--wait i { background: var(--app-muted); }
.wt-btn2 {
  margin: 10px 0 26px;
  border: 1px solid var(--app-line);
  background: var(--app-surface);
  border-radius: 999px;
  padding: 11px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}
.wt-req { margin-top: 4px; background: var(--app-surface); border-radius: 12px; padding: 11px 12px; display: flex; flex-direction: column; gap: 4px; }
.wt-req b { font-size: 11.5px; font-weight: 600; }
.wt-req small { font-size: 9px; color: var(--app-muted); }
.wt-req i { font-size: 10px; color: var(--app-stone); font-style: normal; }
.wt-req-btns { display: flex; gap: 8px; margin-top: 6px; }
.wt-ok, .wt-no { flex: 1; text-align: center; border-radius: 999px; padding: 8px; font-size: 10.5px; font-weight: 600; }
.wt-ok { background: var(--app-ember); color: var(--app-on-ember); }
.wt-no { background: var(--app-canvas); color: var(--app-ink); border: 1px solid var(--app-line); }
.wt-other { text-align: center; font-size: 9.5px; color: var(--app-stone); margin-top: 4px; }
.wt-chev { width: 7px; height: 7px; border-right: 1.5px solid var(--app-muted); border-top: 1.5px solid var(--app-muted); transform: rotate(45deg); flex: none; margin-right: 3px; }
.wt-list { margin-top: 12px; background: var(--app-surface); border-radius: 12px; padding: 2px 12px; }
.wt-lrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; }
.wt-lrow + .wt-lrow { border-top: 1px solid var(--app-line); }
.wt-lrow b { display: block; font-size: 11.5px; font-weight: 500; }
.wt-lrow small { display: block; font-size: 8.5px; color: var(--app-muted); margin-top: 1px; }
.wt-amount { text-align: center; margin-top: 16px; }
.wt-amount small { display: block; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--app-stone); }
.wt-amount strong { display: block; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin-top: 3px; }
.wt-amount strong i { color: var(--app-ember); font-style: normal; }
.wt-amount u { display: inline-block; font-size: 9.5px; color: var(--app-muted); text-underline-offset: 3px; margin-top: 2px; }
.wt-express { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.wt-pay { border-radius: 10px; padding: 12px; text-align: center; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.wt-pay svg { width: 12px; height: 14px; }
.wt-pay--apple { background: #000; color: #fff; }
.wt-pay--card { background: #fff; border: 1px solid var(--app-line); font-weight: 500; }
.wt-cash { text-align: center; font-size: 9.5px; color: var(--app-muted); text-decoration: underline; text-underline-offset: 3px; margin-top: 16px; }
.wt-s.app--member { padding-bottom: 12px; }

/* ---- why ---- */
.why {
  margin-top: clamp(20px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 24px;
  overflow: hidden;
}
.why-row {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 1fr 1fr 1fr;
}
.why-row + .why-row { border-top: 1px solid var(--rule); }
.why-row > span { padding: 18px 18px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.why-head > span { padding-block: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.why-k { font-weight: 600; color: var(--ink) !important; }
.why-us { background: var(--ember-wash); color: var(--ink) !important; font-weight: 500; }
.why-head .why-us { color: var(--ember) !important; font-size: 16px; }
.why-note { max-width: 62ch; margin: 18px auto 0; text-align: center; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.why-note a { color: var(--ember); text-underline-offset: 3px; }

/* ---- circles with photos ---- */
.circ {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.circ-photos { position: relative; padding-bottom: 36px; }
.circ-main { display: block; width: 78%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 28px; }
.circ-side {
  position: absolute;
  right: 0;
  top: 14%;
  width: 40%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  border: 5px solid var(--paper);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.4);
}
.circ-card {
  position: absolute;
  left: 18px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 10px 16px 10px 12px;
  box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.35);
}
.circ-av {
  width: 30px; height: 30px; border-radius: 50%;
  background: #e6e3db; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  margin-right: -8px; border: 2px solid #fff;
}
.circ-meta { margin-left: 18px; font-size: 14px; color: var(--ink-2); line-height: 1.25; }
.circ-meta small { display: block; font-size: 12px; color: var(--ink-2); }
.circ-meta b { color: var(--ink); font-size: 16px; }
.circ-copy h2 { font-size: clamp(32px, 4.4vw, 54px); }
.circ-copy .lede { margin-top: 14px; }

@media (max-width: 900px) {
  .wt { grid-template-columns: minmax(0, 1fr); }
  .circ { grid-template-columns: minmax(0, 1fr); }
  .why { overflow-x: auto; }
  .why-row { min-width: 760px; }
}
@media (prefers-reduced-motion: reduce) {
  .wt-phone, .wt-spot, .wt-tab-d { transition: none; }
}
.wt-s.app--done .o-card { padding: 6px 10px; }
.wt-s.app--done .o-row { padding: 4px 0; gap: 9px; }
.wt-s.app--done .o-row + .o-row { margin-top: 9px; }
.wt-s.app--done .o-row + .o-row::before { top: -5px; }
.wt-s.app--done .o-av { width: 24px; height: 24px; font-size: 10px; flex: none; }
.wt-s .o-k { margin: 8px 0 4px; }
.wt-s .o-nav { margin-bottom: 2px; }
.wt-s .m-btn { margin-bottom: 22px; }
.circ-main { object-position: 50% 52%; }
@media (max-width: 900px) {
  .circ-photos { max-width: 620px; }
  .circ-main { width: 100%; aspect-ratio: 4 / 3; }
  .circ-side { width: 26%; top: auto; bottom: 36px; right: 14px; }
}
.circ-main { aspect-ratio: 1 / 1.05; object-position: 50% 92%; }
.circ-side { object-position: 50% 80%; }
@media (max-width: 900px) { .circ-main { aspect-ratio: 4 / 3; object-position: 50% 85%; } }
.circ-main, .circ-side { height: auto; }

/* ---- round 5: hero stat, why matrix ---- */
.home .lede--stat { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--ink); max-width: 20em; margin-top: 22px; }
.home .lede--stat b { font-size: 1.9em; letter-spacing: -0.04em; color: var(--ember); margin-right: 2px; font-weight: 800; }
.home .hero-src { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; }

.mx { margin: clamp(20px, 3vw, 34px) auto 0; max-width: 860px; background: #fff; border: 1px solid var(--rule); border-radius: 24px; overflow: hidden; }
.mx-row { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); align-items: center; }
.mx-row + .mx-row { border-top: 1px solid var(--rule); }
.mx-head > span { padding: 16px 8px; font-size: 14px; font-weight: 600; text-align: center; color: var(--ink-2); }
.mx-head .mx-us { color: var(--ember); font-size: 16px; }
.mx-k { display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.mx-k i { width: 34px; height: 34px; border-radius: 50%; background: var(--leaf, #f6f6f3); display: grid; place-items: center; flex: none; color: var(--ember); }
.mx-k i svg { width: 17px; height: 17px; }
.mx-c { display: flex; justify-content: center; align-items: center; padding: 14px 6px; align-self: stretch; }
.mx-us { background: var(--ember-wash); }
.mx-c svg { width: 22px; height: 22px; }
.mx-y { color: #fff; background: var(--ember); border-radius: 50%; padding: 4px; width: 26px !important; height: 26px !important; }
.mx-n { color: #b3402f; opacity: 0.8; }
.mx-d { color: #b6b2a6; }
@media (max-width: 640px) {
  .mx-row { grid-template-columns: minmax(0, 1.4fr) repeat(4, 54px); }
  .mx-k { padding: 14px 10px; font-size: 13.5px; gap: 8px; }
  .mx-k i { width: 28px; height: 28px; }
  .mx-head > span { font-size: 10px; padding: 12px 2px; }
  .mx-head .mx-us { font-size: 11px; }
}

/* ---- nav: rating + mobile menu ---- */
.nav-rating { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); font-size: 13.5px; white-space: nowrap; }
.nav-stars { display: inline-flex; gap: 1px; }
.nav-stars svg { width: 13px; height: 13px; fill: #f2a516; }
.nav-rating b { font-weight: 700; }
.nav-rating small { color: var(--ink-2); font-size: 12.5px; }
.nav-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-burger span { width: 17px; height: 2px; border-radius: 2px; background: var(--ink); }
.nav-menu { display: none; }
@media (max-width: 1060px) { .nav-rating small { display: none; } }
@media (max-width: 900px) { .home .topnav .nav-rating { display: none; } }
@media (max-width: 720px) {
  .nav-burger { display: inline-flex; }
  .nav-menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 4px;
    margin: 0 0 8px; padding: 10px; background: #fff;
    border: 1px solid var(--rule); border-radius: 18px;
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.3);
  }
  .nav-menu a { padding: 13px 12px; border-radius: 12px; font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ink); }
  .nav-menu a:active { background: var(--leaf, #f6f6f3); }
  .nav-menu .nav-rating { display: inline-flex; margin: 6px 4px 2px; align-self: flex-start; }
  .nav-menu .nav-rating small { display: inline; }
}
@media (min-width: 721px) { .nav-menu { display: none !important; } }

/* ---- round 7: hero source/tagline, bigger phones ---- */
.home .hero-src { margin-top: 12px; color: var(--ink-2); font-size: 13.5px; }
.home .hero-tag { margin-top: 6px; color: var(--app-slate, #4d1717); font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
@media (min-width: 1101px) {
  .home .hero { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .home .duo-stage { zoom: 1.15; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .home .duo-stage { zoom: 0.8; }
}

/* ---- friends strip ---- */
.home .strip { margin: clamp(8px, 2vw, 24px) 0 0; padding: 0; overflow: hidden; width: 100vw; position: relative; left: 50%; transform: translateX(-50%); }
.strip-track { display: flex; gap: 16px; width: max-content; list-style: none; padding: 10px 0 16px; animation: stripDrift 70s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track li { flex: none; }
.strip-track img { display: block; width: auto; height: 230px; border-radius: 22px; object-fit: cover; box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.5); }
.strip-track li:nth-child(odd) img { height: 270px; }
.strip-track li:nth-child(3n) { transform: rotate(-1.4deg); }
.strip-track li:nth-child(3n + 1) { transform: rotate(1.1deg) translateY(8px); }
@keyframes stripDrift { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .strip-track img { height: 170px; } .strip-track li:nth-child(odd) img { height: 200px; } .strip-track { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; overflow-x: auto; width: auto; } }
html { overflow-x: clip; }

/* ---- round 8: headline, address bar, closer, footer social ---- */
.home .hero h1 { font-size: clamp(38px, 4.8vw, 68px); margin-top: 24px; }
.home .hero h1 .h-sub { font-size: 1em; color: var(--ink); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; margin-top: 0; max-width: 11em; }
.wb-url { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 2px 12px 6px; padding: 5px 10px; border-radius: 9px; background: rgba(120, 120, 120, 0.13); font-size: 9.5px; color: #3b3b38; flex: none; font-family: var(--ios); }
.wb-url svg { width: 7px; height: 9px; fill: currentColor; opacity: 0.7; }
.closer-note { margin-top: 10px; color: rgba(255, 255, 255, 0.7); font-size: 16px; }
.closer-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: rgba(255, 255, 255, 0.8); font-size: 14.5px; text-decoration: none; }
.closer-rating span { display: inline-flex; gap: 1px; }
.closer-rating svg { width: 15px; height: 15px; fill: #f2a516; }
.closer-rating b { color: #fff; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: center; margin: 4px 0 6px; }
.foot-social a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.foot-social a:hover { color: var(--ink); }
.foot-social svg { width: 18px; height: 18px; }

/* ---- round 9: headline colors, strip words, why logos ---- */
.home .hero h1 .w-friends { color: var(--app-slate, #4d1717); }
.home .hero h1 .w-money { color: var(--ember); }

.strip-words { overflow: hidden; white-space: nowrap; padding: 6px 0; }
.sw-track { display: inline-flex; align-items: center; gap: 26px; width: max-content; font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.035em; color: var(--ink); animation: swLeft 60s linear infinite; }
.sw-b .sw-track { animation-name: swRight; color: var(--ink-2); font-weight: 700; }
.sw-track span { opacity: 0.92; }
.sw-track i { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); flex: none; }
.sw-b .sw-track i { background: var(--app-slate, #4d1717); }
@keyframes swLeft { to { transform: translateX(-50%); } }
@keyframes swRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .sw-track { animation: none; } }

.mx { overflow: hidden; }
.mx-row { grid-template-columns: minmax(0, 2.1fr) repeat(4, minmax(0, 1fr)); }
.mx-head > span { padding: 18px 8px; }
.mx-logo { width: 36px; height: 36px; border-radius: 9px; display: block; }
.mx-pair { display: inline-flex; align-items: center; gap: 12px; }
.mx-pair svg, .mx-head > .mx-c > svg { width: 30px; height: 30px; display: block; }
.mx-k .l-short { display: none; }
.mx-k { white-space: nowrap; }
/* Splice is the star column */
.mx-us { background: var(--ember); color: #fff; }
.mx-head .mx-us { color: #fff; font-size: 18px; }
.mx-brand { display: inline-flex; align-items: center; gap: 7px; }
.mx-wish { width: 24px; height: 24px; }
.mx-brand b { font-weight: 800; letter-spacing: -0.02em; }
.mx-us .mx-y { background: #fff; color: var(--ember); }
.mx-y { transform: scale(0); }
.mx.in .mx-y { animation: mxPop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) forwards; animation-delay: calc(var(--i, 0) * 120ms + 150ms); }
.mx-n, .mx-d { opacity: 0; }
.mx.in .mx-n { animation: mxFade 0.4s ease forwards; animation-delay: calc(var(--i, 0) * 120ms + 350ms); }
.mx.in .mx-d { animation: mxFade 0.4s ease forwards; animation-delay: calc(var(--i, 0) * 120ms + 350ms); }
@keyframes mxPop { 0% { transform: scale(0) rotate(-20deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes mxFade { to { opacity: 0.85; } }
@media (prefers-reduced-motion: reduce) { .mx-y { transform: none; } .mx-n, .mx-d { opacity: 0.85; } .mx.in .mx-y, .mx.in .mx-n, .mx.in .mx-d { animation: none; } }
@media (max-width: 720px) {
  .mx-k .l-long { display: none; }
  .mx-k .l-short { display: inline; }
  .mx-k { white-space: normal; }
  .mx-logo { width: 26px; height: 26px; }
  .mx-pair svg, .mx-head > .mx-c > svg { width: 20px; height: 20px; }
  .mx-pair { gap: 6px; flex-direction: column; }
  .mx-head .mx-us { font-size: 12px; }
  .mx-wish { width: 16px; height: 16px; }
}

/* quieter situations rows */
.sw-track { font-size: clamp(15px, 1.35vw, 19px); font-weight: 600; letter-spacing: -0.01em; gap: 22px; color: var(--ink-2); animation-duration: 90s; }
.sw-b .sw-track { font-weight: 600; }
.sw-track span { opacity: 0.85; }
.sw-track i { width: 5px; height: 5px; }
.strip-words { padding: 2px 0; }

/* ---- FAQ: wishbone-white card on the dollar-sign pattern, like the pitch slide ---- */
.home #faq { position: relative; margin-top: clamp(36px, 4.5vw, 64px); padding: clamp(40px, 5vw, 72px) 0; }
.home #faq::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: #174d38 url("photos/dollars-tile.png") center top / 640px 640px repeat;
  z-index: 0;
}
.home #faq .faq-card {
  position: relative; z-index: 1;
  max-width: 940px; margin: 0 auto;
  background: #faf9f6;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(16px, 2.5vw, 32px);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.5);
}
.home #faq .faq-card .qa { max-width: none; }
.home #faq .qa details:first-child { border-top: 0; }
.home #faq .qa details:last-child { border-bottom: 0; }
/* the closer butts straight up against the FAQ band, no wishbone strip between */
.home #faq { margin-bottom: 0; }
.home #get, .home .closer { margin-top: 0; }
