/* Mr Frank, the member's and the pro's AI, explained on the website (04 CARE-10 to CARE-18, X-163; Figma Website W·F).
   The homepage plays real member-app conversations on a phone (W·G, user 19 Nov 2026, after sierra.ai and Casa's
   concierge page); How it works and the pro pages show product cards; the corner widget explains, no chat. Every element carries data-claim="ai": one line in
   base.css turns them all off (Q-COMMS-04). Tokens from base.css only (07 §10). */

/* ---------- Product cards (member app: CARE-17 offer card, CARE-15 pro update, CARE-18 yes card) ---------- */
.mrf-update { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px 12px 14px; border-radius: 16px; background: var(--info-subtle); color: var(--foreground); box-shadow: 0 6px 24px rgba(0,0,0,.18); transform: rotate(-2deg); text-align: left; }
.mrf-update img { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; flex: none; }
.mrf-update__s { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--info); }
.mrf-update__d { display: block; font-size: 13px; line-height: 18px; }
.mrf-card { width: 278px; max-width: 100%; box-sizing: border-box; margin: 0; padding: 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); color: var(--foreground); display: flex; flex-direction: column; gap: 12px; text-align: left; box-shadow: 0 8px 28px rgba(0,0,0,.14); }
.mrf-card__top { display: flex; gap: 10px; align-items: flex-start; }
.mrf-card__top img { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; flex: none; }
.mrf-card__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mrf-card__title { font-size: 14px; line-height: 20px; font-weight: 500; }
.mrf-card__body { font-size: 13px; line-height: 18px; color: var(--muted-foreground); }
.mrf-card__tr { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--primary); }
.mrf-card__price { font-size: 16px; line-height: 22px; font-weight: 500; }
.mrf-card__acts { display: flex; align-items: center; gap: 8px; }
.mrf-card__yes { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: 14px; line-height: 20px; font-weight: 500; }
.mrf-card__no { padding: 8px 4px; color: var(--primary); font-size: 14px; line-height: 20px; font-weight: 500; }

/* ---------- Homepage section (W·G3 desktop, W·G4 mobile): Paper section, a Mist panel holding the phone (cropped by
   the panel's bottom edge) and Mr Frank's errands floating round it (Mobbin: Beside; Casa's concierge page) ---------- */
.mrf { background: var(--paper); padding: 120px var(--pad-x); display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.mrf__head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; }
.mrf__eyebrow { color: var(--muted-foreground); }
.mrf__title { margin: 0; font-weight: 300; font-size: 56px; line-height: 62px; letter-spacing: -1.4px; color: var(--foreground); }
.mrf__lead { margin: 0; max-width: 720px; font-weight: 300; font-size: 20px; line-height: 30px; letter-spacing: -0.1px; color: var(--muted-foreground); }
.mrf__fine { margin: 0; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.mrf-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--mist); max-width: 100%; box-sizing: border-box; }
.mrf-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; font: inherit; font-size: 14px; line-height: 20px; font-weight: 500; padding: 10px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted-foreground); cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.mrf-tab[aria-pressed="true"] { background: var(--paper); color: var(--foreground); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.mrf-tab:focus-visible { outline: 2px solid var(--ring, var(--primary)); outline-offset: 2px; }
.mrf-panel { position: relative; width: 100%; max-width: 1120px; height: 740px; border-radius: 40px; background: var(--mist); overflow: hidden; text-align: left; }
/* A real iPhone screen ratio (393 × 852 pt, ~9:19.5) at every size, corners ~55px at 393 wide; the panel crops its foot */
.mrf-panel .mrf-phone { position: absolute; left: 50%; top: 56px; width: 320px; height: auto; aspect-ratio: 393 / 852; padding: 9px; border-radius: 45px; transform: translateX(-50%); }
.mrf-panel .mrf-phone__screen { border-radius: 36px; }
.mrf-errands { list-style: none; margin: 0; padding: 0; }
.mrf-errand { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 20px; background: var(--paper); box-shadow: 0 8px 24px rgba(0,0,0,.08); white-space: nowrap; }
.mrf-errand__tile { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.mrf-errand__tile--clean { background: var(--gulf-wash); color: var(--gulf-deep); }
.mrf-errand__tile--lawn { background: var(--lawn-wash); color: var(--lawn-deep); }
.mrf-errand__tile--sun { background: var(--sun-wash); color: var(--sun-deep); }
.mrf-errand__tile--oneoff { background: var(--line-subtle); color: var(--ink); }
.mrf-errand__t { display: block; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--foreground); }
.mrf-errand__s { display: block; font-size: 13px; line-height: 18px; color: var(--muted-foreground); }
.mrf-errand__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--primary); flex: none; }
.mrf-errand--1 { left: 150px; top: 96px; } .mrf-errand--2 { left: 80px; top: 232px; } .mrf-errand--3 { left: -30px; top: 328px; }
.mrf-errand--4 { right: 120px; top: 150px; } .mrf-errand--5 { right: 50px; top: 300px; } .mrf-errand--6 { right: 120px; top: 450px; }
.mrf-note { position: absolute; right: 120px; top: 48px; margin: 0; max-width: 220px; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.mrf-note span { display: block; margin-bottom: 4px; font-size: 10px; line-height: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.mrf-cta { position: absolute; left: 24px; bottom: 24px; width: 260px; box-sizing: border-box; padding: 20px; border-radius: 20px; background: var(--paper); box-shadow: 0 8px 24px rgba(0,0,0,.08); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mrf-cta__t { margin: 0; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--foreground); }
.mrf-cta__s { margin: 0; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.mrf-cta--below { display: none; }
.mrf-pause { position: absolute; right: 20px; bottom: 20px; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 999px; background: var(--paper); color: var(--foreground); box-shadow: 0 8px 24px rgba(0,0,0,.08); cursor: pointer; }
.mrf-pause svg { fill: currentColor; }
.mrf-pause .is-play, .mrf-pause.is-paused .is-pause { display: none; }
.mrf-pause.is-paused .is-play { display: block; }
.mrf-pause:focus-visible { outline: 2px solid var(--ring, var(--primary)); outline-offset: 2px; }
.mrf-pause[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .mrf-tab[aria-pressed="false"]:hover { color: var(--foreground); } }

/* The phone (W·G1): Ink bezel, Paper screen, the member app's Mr Frank thread */
.mrf-phone { width: 340px; height: 700px; box-sizing: border-box; padding: 10px; border-radius: 52px; background: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.mrf-phone__screen { height: 100%; border-radius: 42px; background: var(--paper); color: var(--foreground); display: flex; flex-direction: column; overflow: hidden; text-align: left; }
.mrf-phone__status { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px 6px; font-size: 14px; line-height: 18px; font-weight: 500; }
.mrf-phone__status i { width: 84px; height: 24px; border-radius: 12px; background: var(--ink); }
.mrf-phone__status span:last-child { font-size: 12px; }
.mrf-phone__hd { display: flex; align-items: center; gap: 10px; padding: 8px 16px 12px; border-bottom: 1px solid var(--border-subtle); }
.mrf-phone__name { display: block; font-size: 15px; line-height: 20px; font-weight: 500; }
.mrf-phone__sub { display: block; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.mrf-phone__log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 14px 4px; }
.mrf-phone__composer { display: flex; align-items: center; gap: 8px; margin: 10px 12px 22px; padding: 5px 5px 5px 16px; border-radius: 999px; background: var(--mist); font-size: 14px; line-height: 20px; color: var(--muted-foreground); }
.mrf-phone__composer span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrf-phone__composer span.is-typing { color: var(--foreground); }
.mrf-phone__composer b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); flex: none; }
.mrf-av { position: relative; flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--mist) url("../assets/brand/mr-frank-ai-avatar.jpg") center / cover no-repeat; }
.mrf-av__tag { position: absolute; right: -4px; bottom: -2px; padding: 0 4px; border-radius: 999px; background: var(--foreground); color: var(--paper); border: 2px solid var(--card); font-size: 9px; line-height: 12px; font-weight: 500; letter-spacing: .02em; }

/* Messages and cards inside the phone (member app 10b) */
.mrf-m { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; max-width: 250px; }
.mrf-m--me { align-self: flex-end; align-items: flex-end; }
.mrf-m__l { font-size: 11px; line-height: 14px; color: var(--muted-foreground); }
.mrf-m__b { margin: 0; padding: 9px 13px; border-radius: 16px; background: var(--mist); font-size: 13px; line-height: 18px; }
.mrf-m--me .mrf-m__b { background: var(--foreground); color: var(--paper); }
.mrf-m__tr { font-size: 11px; line-height: 14px; font-weight: 500; color: var(--primary); }
.mrf-dots { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--mist); }
.mrf-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--muted-foreground); animation: mrf-dot 1s infinite ease-in-out; }
.mrf-dots i:nth-child(2) { animation-delay: .15s; } .mrf-dots i:nth-child(3) { animation-delay: .3s; }
.mrf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mrf-chips span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-size: 13px; line-height: 18px; font-weight: 500; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.mrf-chips span.is-tapped { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.mrf-phone__log .mrf-card, .mrf-phone__log .mrf-update { width: 250px; box-shadow: none; transform: none; font-size: 13px; }
.mrf-phone__log .mrf-update { padding: 10px 12px; border-radius: 14px; }
.mrf-phone__log .mrf-card { padding: 12px; gap: 10px; }
.mrf-done { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--success-subtle); color: var(--success); font-size: 13px; line-height: 18px; font-weight: 500; width: 250px; box-sizing: border-box; }
.mrf-phone__log > * { animation: mrf-in .36s cubic-bezier(.2,.8,.2,1) both; flex: none; }
@keyframes mrf-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mrf-dot { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { .mrf-phone__log > * { animation: none; } .mrf-dots i { animation: none; } .mrf-chips span, .mrf-tab { transition: none; } }

@media (max-width: 1240px) { .mrf-errand--2, .mrf-errand--3, .mrf-errand--5, .mrf-note { display: none; } .mrf-errand--1 { left: 24px; } .mrf-errand--4, .mrf-errand--6 { right: 24px; } }
@media (max-width: 960px) {
  .mrf { padding: 64px 20px; gap: 24px; align-items: stretch; text-align: left; }
  .mrf__head { align-items: flex-start; gap: 12px; }
  .mrf__title { font-size: 36px; line-height: 40px; letter-spacing: -0.8px; }
  .mrf__lead { font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; }
  .mrf-tabs { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .mrf-tabs::-webkit-scrollbar { display: none; }
  .mrf-panel { height: 620px; border-radius: 28px; overflow: hidden; }
  .mrf-panel .mrf-phone { top: 64px; width: 260px; padding: 7px; border-radius: 36px; }
  .mrf-panel .mrf-phone__screen { border-radius: 29px; }
  .mrf-panel .mrf-m, .mrf-panel .mrf-phone__log .mrf-card, .mrf-panel .mrf-phone__log .mrf-update, .mrf-panel .mrf-done { max-width: 88%; }
  .mrf-panel .mrf-phone__status { padding: 10px 20px 4px; }
  .mrf-errand--1 { left: -12px; top: 20px; }
  .mrf-errand--4, .mrf-errand--6 { display: none; }
  .mrf-pause { right: 16px; top: 16px; bottom: auto; }
  .mrf-panel .mrf-cta { display: none; }
  .mrf-cta--below { display: flex; position: static; width: auto; }
}
/* ---------- How it works (W·F3): product cards on a Sky panel where the photo was ---------- */
.split__cards { position: relative; width: 520px; height: 420px; flex-shrink: 0; border-radius: 20px; background: var(--gulf-wash); }
.split__cards .mrf-card { position: absolute; left: 72px; top: 80px; transform: rotate(2deg); }
.split__cards .mrf-update { position: absolute; left: 150px; top: 260px; }
@media (max-width: 1360px) { .split__cards { width: min(520px, 46%); } .split__cards .mrf-card { left: 40px; } .split__cards .mrf-update { left: 80px; } }
@media (max-width: 960px) {
  .split__cards { width: 100%; height: 360px; }
  .split--photo-first .split__cards { order: 2; }
  .split__cards .mrf-card { left: 24px; top: 40px; }
  .split__cards .mrf-update { left: 40px; top: 230px; }
}

/* ---------- For pros / Para pros (W·F7, W·F8): outcomes band (Night) and Mr Frank for pros (Sky) ---------- */
.fp-out { background: var(--gulf-deep); color: var(--gulf-wash); padding: 120px var(--pad-x); display: flex; flex-direction: column; gap: 48px; }
.fp-out__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.fp-out__eyebrow { color: color-mix(in srgb, var(--gulf-wash) 72%, var(--gulf-deep)); }
.fp-out__title { margin: 0; font-weight: 400; font-size: 56px; line-height: 62px; letter-spacing: -1.4px; }
.fp-out__lead { margin: 0; max-width: 680px; font-weight: 300; font-size: 20px; line-height: 30px; color: color-mix(in srgb, var(--gulf-wash) 80%, var(--gulf-deep)); }
.fp-out__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fp-out__grid li { padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--gulf-wash) 24%, var(--gulf-deep)); display: flex; flex-direction: column; gap: 8px; }
.fp-out__n { font-size: 56px; line-height: 62px; letter-spacing: -1.4px; color: var(--gulf-wash); }
.fp-out__grid li:first-child .fp-out__n { color: var(--sun); }
.fp-out__d { font-size: 16px; line-height: 24px; color: color-mix(in srgb, var(--gulf-wash) 80%, var(--gulf-deep)); }
.fp-ai { background: var(--gulf-wash); padding: 120px var(--pad-x); display: flex; align-items: center; gap: 96px; }
.fp-ai__copy { flex: 0 1 620px; display: flex; flex-direction: column; gap: 16px; }
.fp-ai__eyebrow { color: var(--gulf-deep); opacity: .75; }
.fp-ai__lead { color: var(--muted-foreground); }
.fp-ai__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid color-mix(in srgb, var(--gulf-deep) 14%, var(--gulf-wash)); }
.fp-ai__list li { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--gulf-deep) 14%, var(--gulf-wash)); font-size: 16px; line-height: 24px; }
.fp-ai__list strong { flex: 0 0 200px; font-weight: 500; }
.fp-ai__fine { margin: 0; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.fp-ai__art { display: flex; flex-direction: column; gap: 10px; }
.fp-ai__cap { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted-foreground); }
.fp-ai__art .mrf-card { width: 300px; transform: rotate(2deg); }
@media (max-width: 1360px) { .fp-out__grid { gap: 24px; } .fp-out__n { font-size: 48px; line-height: 54px; } .fp-ai { gap: 56px; } }
@media (max-width: 960px) {
  .fp-out { padding: 64px 20px; gap: 24px; }
  .fp-out__head { gap: 12px; }
  .fp-out__title { font-size: 36px; line-height: 40px; letter-spacing: -0.8px; }
  .fp-out__lead { font-size: 14px; line-height: 20px; font-weight: 400; }
  .fp-out__grid { grid-template-columns: 1fr; gap: 0; }
  .fp-out__grid li { padding: 16px 0; }
  .fp-out__n { font-size: 44px; line-height: 48px; letter-spacing: -1px; }
  .fp-out__d { font-size: 14px; line-height: 20px; }
  .fp-ai { flex-direction: column; align-items: stretch; gap: 28px; padding: 64px 20px; }
  .fp-ai__copy { flex: none; gap: 12px; }
  .fp-ai__list li { flex-direction: column; gap: 2px; padding: 12px 0; font-size: 14px; line-height: 20px; }
  .fp-ai__list strong { flex: none; font-size: 16px; line-height: 22px; }
  .fp-ai__art .mrf-card { width: min(300px, 100%); }
}
