/* The marketing site uses Heebo; self-host it for the standalone blog too. */
@font-face { font-family: 'PropFlow Prompt'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/heebo-hebrew-400-normal.woff2') format('woff2'); unicode-range: U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'PropFlow Prompt'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/heebo-hebrew-800-normal.woff2') format('woff2'); unicode-range: U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'PropFlow Prompt'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/heebo-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'PropFlow Prompt'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/heebo-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* One invitation, shared by the React blog and server-rendered articles. */
.fomo-banner {
  --ink: #16130f;
  --orange: #f97316;
  position: fixed;
  z-index: 60;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(380px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid var(--line, #ece5db);
  border-top: 3px solid var(--orange, #f97316);
  border-radius: 24px;
  background: var(--paper, #fff);
  color: var(--ink, #16130f);
  box-shadow: 0 16px 48px -16px rgb(58 39 23 / 24%);
  font-family: 'PropFlow Prompt', 'Heebo', sans-serif;
  text-align: start;
  animation: fomo-in .25s ease-out both;
}
.fomo-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.fomo-brand { display: block; width: 124px; height: 36px; object-fit: contain; }
.fomo-close {
  display: grid; place-items: center; flex: 0 0 36px;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--line, #ece5db); border-radius: 50%;
  background: var(--paper, #fff); color: var(--muted, #6f675e); cursor: pointer;
}
.fomo-close:hover { background: var(--subtle, #f7f3ee); color: var(--ink, #16130f); }
.fomo-banner .fomo-title { display: block; margin: 0 0 12px; font: inherit; font-size: 27px; font-weight: 800; line-height: 1.25; letter-spacing: -.6px; }
.fomo-title span { display: block; color: inherit; }
.fomo-banner .fomo-description { margin: 0 0 22px; color: var(--muted, #6f675e); font-size: 15px; font-weight: 400; line-height: 1.65; }
.fomo-button {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  box-sizing: border-box; width: 100%; min-height: 52px; padding: 12px 20px;
  border: 0; border-radius: 999px;
  background: var(--orange, #f97316); color: var(--ink, #16130f);
  font: inherit; font-size: 19px; font-weight: 800; line-height: 1.35; text-decoration: none;
  box-shadow: 0 8px 20px -10px rgb(249 115 22 / 35%);
  transition: background .18s ease, box-shadow .18s ease;
}
.fomo-button svg { flex-shrink: 0; }
html[dir=ltr] .fomo-button svg { transform: rotate(180deg); }
.fomo-button:hover { background: var(--orange-3, #ffa04d); box-shadow: 0 10px 24px -10px rgb(249 115 22 / 40%); }
.fomo-close:focus-visible, .fomo-button:focus-visible { outline: 3px solid var(--ink, #16130f); outline-offset: 4px; }
@keyframes fomo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 720px) {
  .fomo-banner { left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 24px); padding: 20px; border-radius: 22px; }
  .fomo-header { margin-bottom: 16px; }
  .fomo-banner .fomo-title { font-size: 25px; }
  .fomo-banner .fomo-description { font-size: 14px; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .fomo-banner { animation: none; } .fomo-button { transition: none; } }
