/* Reference composition, scoped to the public landing page. */
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
html.rrh-landing {
  /* Paint the page canvas itself so safe areas share the same continuous gradient. */
  --landing-background:
    radial-gradient(ellipse 45% 45% at 45% 85%, #081c4a80, transparent),
    linear-gradient(110deg, transparent 50%, #03050960 80%, #030509 100%),
    radial-gradient(ellipse 35% 60% at 7% 7%, #ffdda9 0%, #ffdda9d9 27%, #f3ccbd73 52%, transparent 78%),
    linear-gradient(0deg, #10194ae0 0%, #10194a88 35%, transparent 80%),
    linear-gradient(90deg, #a773ed 0%, #a77be0 28%, #9a71cf 50%, #633e9f 80%, #05080e 100%);
  min-height: 100%;
  background: var(--landing-background);
  background-color: #000000;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --chat-edge-left: calc(12px + var(--safe-left));
  --chat-edge-right: calc(12px + var(--safe-right));
}
.option-b { font-family: "DM Sans", Arial, sans-serif; background: transparent; }
.option-b .hero {
  height: 100dvh; min-height: 580px;
  padding-top: var(--safe-top); padding-bottom: var(--safe-bottom);
  background: transparent;
}
.option-b .content-width { width: min(89%, calc(100% - 2 * max(20px, var(--safe-left), var(--safe-right)))); max-width: 1600px; }
.option-b .topbar { min-height: 100px; height: 15dvh; flex: 0 0 auto; gap: 20px; }
.option-b .brand { font-size: 15px; font-weight: 600; letter-spacing: -.4px; gap: 9px; }
.option-b .brand-mark { width: 25px; height: 25px; border-radius: 5px; }
.option-b .header-actions {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px;
}
.option-b .header-actions > :is(.nav-cta, .client-sign-in) {
  -webkit-appearance: none; appearance: none; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; min-height: 44px; margin: 0; padding: 0 16px;
  border: 1px solid #8465ad55; border-radius: 999px;
  background: #100c1c; color: #f6f2ff; box-shadow: none;
  font: 500 12px/20px "DM Sans", Arial, sans-serif;
  letter-spacing: normal; text-align: center; text-decoration: none; white-space: nowrap;
}
.option-b .header-actions > :is(.nav-cta, .client-sign-in):hover {
  background: #241934; border-color: #b49bcf;
}
.option-b .header-actions > :is(.nav-cta, .client-sign-in):focus-visible {
  outline: 2px solid #f6f2ff; outline-offset: 3px;
}
.option-b .header-actions > .client-sign-in {
  background: #f3eaff; color: #241535; border-color: #d6c8ea;
}
.option-b .header-actions > .client-sign-in:hover {
  background: #ffffff; color: #241535; border-color: #ffffff;
}
.option-b .nav-cta > .nav-label-long { margin-left: 0; }
.option-b .hero main { min-height: 0; }
.option-b .hero-layout {
  display: grid; grid-template-columns: 46% 54%;
  flex: 1; min-height: 0; padding: 0; align-items: center;
}
.option-b .hero-copy { padding: 0 0 13dvh; align-self: center; }
.option-b h1 { font: 400 clamp(44px, 4.65vw, 76px)/1.015 "DM Sans", Arial, sans-serif; letter-spacing: -.045em; margin: 0 0 32px; color: #090b12; }
.option-b h1 span { color: #faf6ff; }
.option-b .primary-cta { font-size: 13px; padding: 10px 18px; min-height: 44px; gap: 15px; background: #100b20; }
.option-b .floating-label { display: block; left: 55%; right: auto; bottom: 8dvh; padding: 7px 12px; background: #aa6bef; font-size: 12px; transform: rotate(-5deg); }
.option-b .floating-label::before { border-top-color: #aa6bef; }
.option-b .orbit-stage {
  --ring-diameter: min(46vw, 70dvh, 770px);
  width: var(--ring-diameter); height: var(--ring-diameter);
  justify-self: center; margin: 0 0 4dvh;
}
.option-b .orbit-art { inset: 0; overflow: visible; clip-path: none; background: none; }
.option-b .rings { width: 100%; height: 100%; stroke: #bcabd8; stroke-width: .9; stroke-opacity: .48; overflow: visible; }
.option-b .rings circle:nth-child(n+3) { stroke-opacity: .42; }
.option-b .orbit-chip {
  --radius: calc(var(--ring-diameter) * var(--orbit-radius));
  width: var(--chip-size, clamp(36px, 4.5vw, 65px)); height: var(--chip-size, clamp(36px, 4.5vw, 65px));
  left: calc(50% + var(--radius) * cos(var(--angle)));
  top: calc(50% + var(--radius) * sin(var(--angle)));
  right: auto; bottom: auto; padding: 0; border: 1px solid #c3a0ed22; border-radius: 22%;
  background: #080913; box-shadow: 0 3px 18px var(--glow);
  transform: translate(-50%, -50%) rotate(var(--tilt));
}
.option-b .orbit-chip .chip-icon { scale: .53; transform: none; filter: drop-shadow(0 2px 3px #0008); }
.option-b .object-label { display: none; }
.option-b .chip-donations { --orbit-radius: .475; --angle: -78deg; --tilt: 10deg; --glow: #bba0f544; border-radius: 50%; background: #c5afd7; }
.option-b .chip-birthdays { --orbit-radius: .310; --angle: -126deg; --tilt: 14deg; --glow: #4895ec44; }
.option-b .chip-receipts { --orbit-radius: .475; --angle: 4deg; --tilt: -12deg; --glow: #f88cab55; }
.option-b .chip-letters { --orbit-radius: .390; --angle: 80deg; --tilt: -9deg; --glow: #e0b7d844; border-radius: 50%; background: #d6bec7; }
.option-b .chip-yahrzeits { --orbit-radius: .225; --angle: 54deg; --tilt: 15deg; --glow: #ba75f544; }
.option-b .chip-reports { --orbit-radius: .475; --angle: 163deg; --tilt: -11deg; --glow: #f5b38344; }
.option-b .orbit-invite { z-index: 1; border: 0; background: transparent; color: #faf6ff; padding: 16px 0; display: grid; justify-items: center; gap: 5px; }
.option-b .orbit-invite > span:first-child { font-size: clamp(26px, 3.4vw, 52px); letter-spacing: -.05em; line-height: 1.1; }
.option-b .orbit-invite small { font-size: clamp(11px, 1vw, 15px); }
.option-b .orbit-invite:focus-visible { outline-color: #e8d2ff; border-radius: 12px; }
.option-b .focus-strip { flex: 0 0 auto; min-height: 50px; padding: 12px 0; margin: 0 auto; color: #a09bb6; gap: 20px; }
.option-b .focus-strip li { font: 400 clamp(11px, 1.15vw, 16px)/1.4 "DM Sans",Arial,sans-serif; letter-spacing: -.02em; }
.option-b .ai-disclosure { flex: 0 0 auto; font-size: 10px; color: #8d879f; padding: 10px 0 14px; margin: 0 auto; }
.option-b #mendy-card { position: fixed; left: 50%; top: 50%; width: min(490px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 40px)); max-height: none; transform: translate(-50%, -50%); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.option-b.chat-focused #mendy-card { visibility: visible; opacity: 1; pointer-events: auto; z-index: 10; transform: translate(-50%, -50%); }
.option-b.chat-focused { overflow: hidden; }
.option-b #mendy-card .mendy-log { overflow-y: auto; }
.option-b .chat-promotion { transition: opacity 180ms ease; }
@media (min-width: 761px) and (max-height: 750px) {
  .option-b .hero { min-height: 480px; }
  .option-b .topbar { min-height: 72px; height: 72px; }
  .option-b h1 { font-size: min(4.65vw, 7.7dvh); margin-bottom: 22px; }
  .option-b .hero-copy { padding-bottom: 4dvh; }
  .option-b .floating-label { bottom: -2dvh; }
  .option-b .orbit-stage { --ring-diameter: min(46vw, calc(100dvh - 144px), 525px); margin-bottom: 0; }
  .option-b .focus-strip { min-height: 36px; padding-block: 6px; }
  .option-b .ai-disclosure { padding: 4px 0 10px; }
}
@media (max-width: 760px) {
  html.rrh-landing { --landing-background: radial-gradient(ellipse 95% 50% at 0 0, #ffdda5, transparent 66%), radial-gradient(ellipse 130% 85% at 20% 0, #b28add, #7046a7 46%, transparent 85%), linear-gradient(#090e1b, #090e1b); background-image: linear-gradient(to top, #000 0px, transparent 100px), var(--landing-background); background-repeat: no-repeat; }
  .option-b .hero { height: auto; min-height: 100dvh; }
  .option-b .content-width { width: calc(100% - 2 * max(20px, var(--safe-left), var(--safe-right))); }
  .option-b .topbar { min-height: 88px; height: auto; padding: 18px 0 14px; flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
  .option-b .brand { width: auto; min-width: 0; font-size: 13px; line-height: 1.15; gap: 7px; }
  .option-b .brand > span:last-child { max-width: 105px; text-wrap: balance; }
  .option-b .brand-mark { flex: 0 0 25px; }
  .option-b .header-actions { margin-left: auto; gap: 4px; flex-shrink: 0; }
  .option-b .nav-label-long { display: none; }
  .option-b .nav-cta > span[aria-hidden] { margin-left: 4px; }
  .option-b .header-actions > :is(.nav-cta, .client-sign-in) { padding-inline: 10px; }
  .option-b .hero-layout { display: flex; flex-direction: column; padding-top: 30px; gap: 30px; }
  .option-b .hero-copy { width: 100%; padding: 0; }
  .option-b h1 { font-size: clamp(38px, 9.8vw, 64px); margin-bottom: 24px; }
  .option-b .floating-label { left: auto; right: 8px; bottom: 2px; }
  .option-b .orbit-stage { --ring-diameter: min(88vw, 500px); width: var(--ring-diameter); height: var(--ring-diameter); margin: 4px 0 18px; }
  .option-b .orbit-chip { width: 42px; height: 42px; }
  .option-b .orbit-chip .chip-icon { scale: .48; }
  .option-b .orbit-invite > span:first-child { font-size: 30px; }
  .option-b .orbit-invite small { font-size: 12px; }
  .option-b .focus-strip { flex-wrap: wrap; justify-content: center; column-gap: 24px; row-gap: 10px; padding: 20px 0 8px; }
  .option-b .focus-strip li { font-size: 12px; }
  .option-b .ai-disclosure { padding-bottom: 22px; }
  .option-b.chat-focused #mendy-card { left: var(--chat-edge-left); top: var(--chat-viewport-top, 12px); width: calc(100% - var(--chat-edge-left) - var(--chat-edge-right)); height: var(--chat-available-height, calc(100dvh - 24px)); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .option-b #mendy-card, .option-b .chat-promotion { transition: none; }
}
/* The first click reveals a compact panel in the orbit. Sending expands it. */
.option-b .orbit-invite { width: min(250px, 74%); }
.option-b .orbit-invite > span:first-child { font-size: clamp(26px, 3vw, 44px); }
.option-b .orbit-chat-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin-top: 16px; padding: 10px 16px; border: 1px solid #bca2dd70; border-radius: 999px; background: #151326e6; color: #d5cbe4; font-size: 13px; text-align: left; box-shadow: 0 6px 24px #08051233; }
.option-b .orbit-chat-bar > span:last-child { color: #d5b8ff; font-size: 20px; }
.option-b.chat-open .orbit-invite { visibility: hidden; pointer-events: none; }

.option-b .chip-donations { --chip-size: clamp(30px, 3.2vw, 46px); }
.option-b .chip-birthdays { --chip-size: clamp(30px, 3.4vw, 49px); }
.option-b .chip-yahrzeits { --chip-size: clamp(30px, 3.2vw, 46px); }
.option-b .chip-records { --orbit-radius: .475; --angle: -151deg; --tilt: 8deg; --glow: #e2cbaa44; --chip-size: clamp(30px, 3.2vw, 46px); border-radius: 50%; background: #e4cdb7; }
.option-b .chip-notes { --orbit-radius: .310; --angle: -42deg; --tilt: -8deg; --glow: #ed9eea55; --chip-size: clamp(36px, 4.5vw, 65px); border-radius: 50%; background: #e9cedd; }
.option-b .chip-summary { --orbit-radius: .310; --angle: 141deg; --tilt: -7deg; --glow: #efca9e44; --chip-size: clamp(30px, 3.5vw, 50px); border-radius: 50%; background: #e4cdb7; }
.option-b .chip-donations .chip-icon, .option-b .chip-records .chip-icon, .option-b .chip-summary .chip-icon, .option-b .chip-birthdays .chip-icon, .option-b .chip-yahrzeits .chip-icon { scale: .43; }
.option-b .focus-strip li { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.option-b .focus-strip li::before { content: '◇'; font-size: 24px; font-weight: 400; opacity: .8; }
.option-b .focus-strip li:nth-child(2)::before { content: '▤'; }
.option-b .focus-strip li:nth-child(3)::before { content: '✉'; }
.option-b .focus-strip li:nth-child(4)::before { content: '▥'; }
.option-b .focus-strip li:nth-child(5)::before { content: '▱'; }

/* The preview shares the working composer with the full conversation. */
.orbit-greeting, .orbit-choices, .orbit-send-arrow { display: none; }
.option-b.chat-open:not(.chat-focused) #mendy-card {
  position: absolute; left: 50%; top: 50%; width: min(350px, 94%); height: auto;
  max-height: none; overflow: visible; border-radius: 0; background: none; box-shadow: none;
  transform: translate(-50%, -50%); visibility: visible; opacity: 1; pointer-events: auto; z-index: 5; transition: none;
}
.option-b.chat-open:not(.chat-focused) #mendy-card .mendy-root,
.option-b.chat-open:not(.chat-focused) #mendy-card .mendy-panel { height: auto; background: none; overflow: visible; box-shadow: none; border: 0; }
.option-b.chat-open:not(.chat-focused) #mendy-card :is(.mendy-header,.mendy-banner,.mendy-log,.mendy-note,.orbit-send-label) { display: none; }
.option-b.chat-open:not(.chat-focused) #mendy-card .orbit-greeting { display: block; position: relative; text-align: center; font-family: "DM Sans",Arial,sans-serif; }
.orbit-greeting-ai { display: block; color: #d2c3e4; font-size: 11px; margin-bottom: 14px; }
.orbit-greeting h2 { font: 400 clamp(30px, 2.65vw, 38px)/1.15 "DM Sans",Arial,sans-serif; letter-spacing: -.04em; margin: 0; }
.orbit-greeting p { margin: 12px 0 24px; color: #e1d4f2; font-size: 14px; }
.orbit-greeting-close { position: absolute; right: 0; top: 14px; width: 36px; height: 36px; border: 0; background: transparent; color: #cbb8df; font-size: 24px; }
.option-b.chat-open:not(.chat-focused) #mendy-card .mendy-form { flex: 0 0 auto; min-height: 54px; padding: 5px 8px 5px 20px; border: 1px solid #c3a4ec88; border-radius: 28px; background: #17152a; box-shadow: 0 12px 32px #09061544; }
.option-b.chat-open:not(.chat-focused) #mendy-card .mendy-input { height: 42px; min-height: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; box-shadow: none; font-family: "DM Sans",Arial,sans-serif; font-size: 14px; }
.option-b.chat-open:not(.chat-focused) #mendy-card .mendy-form:focus-within { border-color: #ddc3ff; }
.option-b.chat-open:not(.chat-focused) #mendy-card .mendy-send { width: 38px; min-width: 38px; height: 38px; min-height: 38px; padding: 0; border-radius: 50%; }
.option-b.chat-open:not(.chat-focused) .orbit-send-arrow { display: inline; font-size: 24px; }
.option-b.chat-open:not(.chat-focused) .orbit-choices { display: flex; justify-content: center; gap: 8px; margin: 20px 0 0; }
.orbit-choices button { font: 11px/1.4 "DM Sans",Arial,sans-serif; padding: 10px 12px; border: 1px solid #bda4db50; border-radius: 22px; background: #b394d511; color: #eae0f7; }
.orbit-choices button:hover { background: #b394d533; }
@media (max-width: 760px), (max-width: 1000px) and (pointer: coarse) {
  .option-b.chat-open.preview-keyboard:not(.chat-focused) #mendy-card {
    position: fixed; top: var(--preview-keyboard-top, 16px); left: 50%;
    width: min(350px, calc(100vw - 2 * max(16px, var(--chat-edge-left), var(--chat-edge-right)))); transform: translateX(-50%);
  }
  .option-b.preview-keyboard :is(.hero-copy,.topbar,.focus-strip,.ai-disclosure) { opacity: 0; pointer-events: none; }
  .option-b.preview-keyboard-compact .orbit-greeting-ai,
  .option-b.preview-keyboard-compact .orbit-greeting p { display: none; }
  .option-b.preview-keyboard-compact .orbit-greeting h2 { font-size: 26px; margin-bottom: 18px; }
  .option-b.preview-keyboard-compact .orbit-greeting-close { top: -6px; }
  .option-b.chat-focused.chat-keyboard #mendy-card .mendy-header { flex-basis: 48px; min-height: 48px; padding: 2px 10px; }
  .option-b.chat-focused.chat-keyboard #mendy-card .mendy-mark { width: 32px; height: 32px; font-size: 23px; }
  .option-b.chat-focused.chat-keyboard #mendy-card .mendy-title { grid-template-columns: 32px auto; }
  .option-b.chat-focused.chat-keyboard #mendy-card .mendy-name { font-size: 17px; line-height: 20px; }
  .option-b.chat-focused.chat-keyboard #mendy-card .mendy-ai { font-size: 10px; line-height: 13px; }
  .option-b.chat-focused.chat-keyboard #mendy-card .chat-back { top: 2px; min-width: 44px; min-height: 44px; }
  .option-b.chat-focused.chat-keyboard #mendy-card .mendy-form { flex-basis: 56px; padding: 6px 8px; }
  .option-b.chat-focused.chat-keyboard #mendy-card .mendy-input { font-size: 16px; height: 44px; }
  .option-b.chat-focused.chat-keyboard #mendy-card .mendy-send { min-width: 44px; min-height: 44px; }
  .option-b.chat-focused.chat-keyboard #mendy-card .mendy-note { display: none; }
}
@media (min-width: 761px) and (max-width: 1000px) and (pointer: coarse) {
  .option-b.chat-focused #mendy-card { left: 50%; top: var(--chat-viewport-top, 12px); width: min(490px, calc(100vw - 24px)); height: var(--chat-available-height, calc(100dvh - 24px)); transform: translateX(-50%); }
}
@media(max-width:760px) {
  .option-b.chat-open:not(.chat-focused) #mendy-card .mendy-input { font-size: 16px; }
  .option-b .orbit-greeting-close { width: 44px; height: 44px; top: 8px; right: -4px; }
  .option-b.chat-open:not(.chat-focused) #mendy-card .mendy-send { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
  .option-b .orbit-choices button { min-height: 44px; }
  .option-b #mendy-card .chat-back { min-width: 44px; }
  .option-b .hero-copy { padding-bottom: 0; }
  .option-b .floating-label { bottom: 2px; }
  .option-b .orbit-chip { width: var(--chip-size,42px); height: var(--chip-size,42px); }
  .option-b .focus-strip li::before { font-size: 18px; }
}

.option-b.chat-open:not(.chat-focused) .orbit-art { opacity: .48; transform: scale(1.06); }

.option-b .orbit-chip { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
@media(max-width:760px) {
  .option-b.chat-open:not(.chat-focused) .orbit-art { opacity: .18; }
  .option-b :is(.chip-notes,.chip-summary,.chip-yahrzeits) { --orbit-radius: .390; }
  .option-b.chat-open:not(.chat-focused) .orbit-chip { --orbit-radius: .475; }
}

.option-b.chat-open:not(.chat-focused) .chip-yahrzeits { --orbit-radius: .390; }
@media(max-width:760px) {
  .option-b.chat-open:not(.chat-focused) .chip-notes { --angle: -62deg; }
  .option-b.chat-open:not(.chat-focused) .chip-summary { --angle: 100deg; }
  .option-b.chat-open:not(.chat-focused) .chip-letters { --angle: 80deg; width: 36px; height: 36px; }
  .option-b.chat-open:not(.chat-focused) .chip-yahrzeits { opacity: 0; }
  .option-b .orbit-greeting p { margin: 10px 0 18px; }
  .option-b.chat-open:not(.chat-focused) .orbit-choices { margin-top: 16px; }
}

.option-b .orbit-invite, .option-b .orbit-chat-bar { cursor: text; }
/* Keep the artwork proportional when a laptop's browser chrome reduces height. */
@media (min-width: 761px) and (max-height: 750px) {
  .option-b .orbit-invite { width: min(250px, 50%); }
  .option-b .orbit-invite > span:first-child { font-size: clamp(26px, calc(var(--ring-diameter) * .065), 44px); }
  .option-b .orbit-chip { width: calc(var(--ring-diameter) * .098); height: calc(var(--ring-diameter) * .098); }
  .option-b :is(.chip-donations,.chip-birthdays,.chip-yahrzeits,.chip-records,.chip-summary) { width: calc(var(--ring-diameter) * .07); height: calc(var(--ring-diameter) * .07); }
  .option-b .orbit-chip .chip-icon { scale: .44; }
  .option-b :is(.chip-donations,.chip-records,.chip-summary,.chip-birthdays,.chip-yahrzeits) .chip-icon { scale: .36; }
}
@media (prefers-reduced-motion: no-preference) {
  .option-b .topbar { transition: opacity 280ms ease; }
  .option-b .chat-promotion { transition: opacity 700ms ease; }
  .option-b .orbit-art { transition: opacity 700ms ease, transform 700ms cubic-bezier(.22, 1, .36, 1); }
  .option-b .orbit-chip { transition: left 700ms cubic-bezier(.22, 1, .36, 1), top 700ms cubic-bezier(.22, 1, .36, 1), opacity 700ms ease; }
}

@media (max-width: 380px) {
  .option-b .topbar { width: calc(100% - 32px); gap: 8px; }
  .option-b .brand { font-size: 12px; }
  .option-b .brand > span:last-child { max-width: 80px; }
  .option-b .client-label-long { display: none; }
  .option-b .header-actions > :is(.nav-cta, .client-sign-in) { padding-inline: 8px; }
}
