/*
 * recevr.com's public pages (src/www/), drawn by the server: a mix of
 * Verkada's landing and Clerk's (Ben, 2026-11-23), written from scratch, not
 * their sheets. Verkada's: a solid white bar with pill buttons, full-bleed
 * footage under the headline's frosted band, headings with their action on the
 * line, a blue-grey page and teal-navy sections, a logo marquee, a geometric
 * face. Clerk's: the tabbed console and the bento cards. Figtree and Geist
 * Mono, latin, from Google Fonts (OFL), kept here as files.
 */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/www/figtree.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/www/geist-mono.woff2) format("woff2"); }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: #eaeff3; }
.rx-skip { position: absolute; left: 12px; top: -48px; z-index: 60; padding: 10px 16px; border-radius: 999px; background: #030e16; color: #fff; font-weight: 600; }
.rx-skip:focus { top: 12px; }

.rx {
  --bg: #eaeff3;
  --ink: #030e16;
  --ink-2: #1b2832;
  --muted: #51606c;
  --faint: #8a98a3;
  --line: #d6dee4;
  --line-2: #c9d3da;
  --card: #ffffff;
  --accent: #46bef0;
  --accent-ink: #0a86bf;
  --red: #ef4444;
  --amber: #f59e0b;
  --green: #22c55e;
  --navy: #15374c;
  --d-bg: #0f2b3d;
  --d-card: #163a51;
  --d-card-2: #1d4862;
  --d-line: rgb(255 255 255 / 0.08);
  --d-muted: #9fb4c3;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px;
  --gutter: 32px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.rx *,
.rx *::before,
.rx *::after { box-sizing: border-box; }
.rx :where(a) { color: inherit; text-decoration: none; }
.rx :where(img),
.rx :where(video) { display: block; max-width: 100%; }
.rx :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

.rx-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 800px) { .rx { --gutter: 20px; --nav-h: 64px; } }
@media (max-width: 560px) { .rx { --gutter: 16px; } }

/* ---------- type ---------- */
.rx-h1 {
  margin: 0;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.rx-h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.rx-center { text-align: center; }

/* ---------- buttons: pills ---------- */
.rx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.rx-btn:active { transform: scale(0.98); }
.rx-btn--lg { height: 48px; padding: 0 26px; font-size: 16px; }
.rx-btn--ink { background: var(--ink); color: #fff; }
.rx-btn--ink:hover { background: #12232f; }
.rx-btn--line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.rx-btn--line:hover { background: var(--ink); color: #fff; }
.rx-btn--white { background: #fff; color: var(--ink); }
.rx-btn--white:hover { background: #e6eef3; }
.rx-btn--glass { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.7); }
.rx-btn--glass:hover { background: rgb(255 255 255 / 0.12); }
.rx-acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.rx-navwrap { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.rx-nav { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.rx-nav__brand { display: flex; align-items: center; color: var(--ink); }
.rx-nav__brand svg { height: 26px; width: auto; }
.rx-nav__links { display: flex; gap: 28px; }
.rx-nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.rx-nav__links a:hover { color: var(--accent-ink); }
.rx-nav__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.rx-nav__menu { display: none; }
@media (max-width: 800px) {
  .rx-nav__links, .rx-nav__end .rx-hide-sm { display: none; }
  .rx-nav__menu { display: block; position: relative; }
  .rx-nav__menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
  .rx-nav__menu summary::-webkit-details-marker { display: none; }
  .rx-nav__menu[open] summary { background: var(--bg); }
  .rx-nav__sheet {
    position: absolute; right: 0; top: 50px; width: min(280px, calc(100vw - 32px));
    padding: 8px; border-radius: 16px; background: #fff;
    box-shadow: 0 0 0 1px var(--line), 0 20px 40px -12px rgb(3 14 22 / 0.25);
    display: grid;
  }
  .rx-nav__sheet a { padding: 12px 14px; border-radius: 10px; font-weight: 500; }
  .rx-nav__sheet a:hover { background: var(--bg); }
}

/* ---------- hero: footage under a frosted band ---------- */
.rx-hero { position: relative; height: calc(100svh - var(--nav-h)); min-height: 600px; max-height: 920px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.rx-hero__media { position: absolute; inset: 0; z-index: -1; }
.rx-hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 9s linear;
}
.rx-hero__media video[data-on] { opacity: 1; transform: scale(1); }
.rx-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(3 14 22 / 0.25), transparent 30%, transparent 55%, rgb(3 14 22 / 0.55)); }
.rx-hero__label {
  position: absolute; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); top: 28px; margin: 0;
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: rgb(3 14 22 / 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 500;
}
.rx-hero__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.rx-hero__dots { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.rx-hero__dot {
  position: relative; width: 32px; height: 32px; border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: #fff;
}
.rx-hero__dot span { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 0.7); font-size: 0; transition: all 0.25s var(--ease); }
.rx-hero__dot[aria-current] span { width: auto; height: auto; background: none; font-size: 12px; font-weight: 600; }
.rx-hero__dot svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.rx-hero__dot[aria-current]::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.25); }
.rx-hero__dot circle { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; animation: rx-count var(--rx-slide-ms, 8000ms) linear forwards; }
.rx-hero[data-paused] .rx-hero__dot circle { animation-play-state: paused; }
@keyframes rx-count { to { stroke-dashoffset: 0; } }
.rx-hero__band {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 0 48px;
  background: linear-gradient(180deg, rgb(3 14 22 / 0.42), rgb(3 14 22 / 0.62));
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.rx-hero__row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end; }
.rx-hero__row .rx-h1 { animation: rx-up 0.9s var(--ease) both; }
.rx-hero__side { display: grid; gap: 22px; padding-bottom: 6px; animation: rx-up 0.9s 0.12s var(--ease) both; }
.rx-hero__side p { margin: 0; font-size: 18px; line-height: 1.5; color: rgb(255 255 255 / 0.86); max-width: 26rem; }
@keyframes rx-up { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 900px) {
  .rx-hero { max-height: none; }
  .rx-hero__row { grid-template-columns: 1fr; gap: 20px; }
  .rx-hero__dots { right: 12px; top: 96px; transform: none; }
}

/* ---------- sections ---------- */
.rx-section { padding: 120px 0; }
.rx-section--end { padding-top: 40px; }
.rx-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.rx-dark { background: linear-gradient(180deg, var(--navy), var(--d-bg)); color: #fff; }
@media (max-width: 800px) { .rx-section { padding: 80px 0; } }

/* The console's navy frame. */
.rx-frame {
  border-radius: 20px; padding: clamp(16px, 4vw, 56px);
  background:
    radial-gradient(70% 60% at 50% 0%, rgb(70 190 240 / 0.28), transparent 70%),
    linear-gradient(160deg, #1d4d6b, var(--d-bg) 70%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

/* ---------- showcase (Clerk's tabbed product) ---------- */
.rx-show {
  border-radius: 18px; background: #fff; padding: 4px;
  box-shadow: 0 0 0 1px rgb(19 19 22 / 0.06), 0 24px 60px -24px rgb(19 19 22 / 0.18);
}
.rx-show__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0 0 4px; overflow-x: auto; scrollbar-width: none; }
.rx-show__tabs::-webkit-scrollbar { display: none; }
.rx-show__tab {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 150px; height: 40px; border: 0; border-radius: 14px; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: background 0.2s;
}
.rx-show__tab:hover { background: rgb(19 19 22 / 0.03); }
.rx-show__tab[aria-selected="true"] { background: #ededf0; color: var(--ink); }
/* The dot fills as the tab's time runs out. */
.rx-show__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--faint); overflow: hidden; }
.rx-show__tab[aria-selected="true"] .rx-show__dot { box-shadow: inset 0 0 0 1.25px var(--accent-ink); }
.rx-show__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent-ink); transform: scale(0); }
.rx-show__tab[aria-selected="true"] .rx-show__dot::after { animation: rx-fill var(--rx-tab-ms, 7000ms) linear forwards; }
.rx-show[data-paused] .rx-show__tab[aria-selected="true"] .rx-show__dot::after { animation-play-state: paused; }
.rx-show[data-still] .rx-show__tab[aria-selected="true"] .rx-show__dot::after { animation: none; transform: scale(1); }
@keyframes rx-fill { to { transform: scale(1); } }

.rx-show__stage {
  position: relative; border-radius: 16px; overflow: hidden; height: 520px;
  background:
    linear-gradient(rgb(19 19 22 / 0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgb(19 19 22 / 0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    #fbfbfc;
  box-shadow: inset 0 0 0 1px rgb(19 19 22 / 0.06);
}
.rx-show__panel {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 32px;
  opacity: 0; transform: translateY(8px) scale(0.99); pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.rx-show__panel[data-on] { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 800px) { .rx-show__stage { height: 560px; } .rx-show__panel { padding: 16px; } }

/* A window of the console inside the showcase. */
.rx-win {
  width: min(100%, 860px); border-radius: 12px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(19 19 22 / 0.08), 0 20px 50px -20px rgb(19 19 22 / 0.3);
}
.rx-win__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.rx-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.rx-win__bar b { margin-left: 8px; font-weight: 500; color: var(--ink); }
.rx-win__bar em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11px; }

.rx-stack { display: grid; }
.rx-stack__row {
  display: grid; grid-template-columns: 88px 1fr auto auto; align-items: center; gap: 16px;
  padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 13px;
}
.rx-stack__row:last-child { border-bottom: 0; }
.rx-stack__row img { width: 88px; height: 50px; object-fit: cover; border-radius: 6px; }
.rx-stack__row strong { display: block; font-weight: 600; }
.rx-stack__row small { color: var(--muted); font-size: 12px; }
.rx-stack__row time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.rx-stack__row--new { animation: rx-in 0.6s var(--ease) both; background: linear-gradient(90deg, rgb(239 68 68 / 0.06), transparent 60%); }
.rx-stack__row--closed { opacity: 0.55; }
@keyframes rx-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 640px) {
  .rx-stack__row { grid-template-columns: 64px 1fr auto; }
  .rx-stack__row img { width: 64px; height: 40px; }
  .rx-stack__row time { display: none; }
}

.rx-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.rx-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rx-pill--red { background: rgb(239 68 68 / 0.1); color: #c42828; }
.rx-pill--amber { background: rgb(245 158 11 / 0.12); color: #a76300; }
.rx-pill--green { background: rgb(34 197 94 / 0.12); color: #13803d; }
.rx-pill--grey { background: #f0f0f3; color: var(--muted); }
.rx-pill--blue { background: rgb(70 190 240 / 0.14); color: var(--accent-ink); }

.rx-alarm { display: grid; grid-template-columns: 1.6fr 1fr; }
.rx-alarm__media { position: relative; background: #000; }
.rx-alarm__media video { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rx-alarm__media figcaption {
  position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 8px; background: rgb(0 0 0 / 0.65); color: #fff; font-size: 12px; font-weight: 500;
  backdrop-filter: blur(6px);
}
.rx-alarm__media figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #39ff14; box-shadow: 0 0 8px #39ff14; }
.rx-alarm__log { padding: 16px; display: grid; align-content: start; gap: 0; font-size: 12.5px; }
.rx-alarm__log h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.rx-alarm__log li { position: relative; list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 6px 0 6px 0; }
.rx-alarm__log ol { margin: 0; padding: 0; }
.rx-alarm__log time { font-family: var(--mono); font-size: 11px; color: var(--faint); padding-top: 1px; }
.rx-alarm__log li > span { color: var(--ink-2); }
@media (max-width: 720px) { .rx-alarm { grid-template-columns: 1fr; } .rx-alarm__log { display: none; } }

.rx-live { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #000; }
.rx-live figure { position: relative; margin: 0; }
.rx-live img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rx-live figcaption { position: absolute; left: 8px; top: 8px; display: flex; gap: 6px; align-items: center; padding: 3px 7px; border-radius: 6px; background: rgb(0 0 0 / 0.55); color: #fff; font-size: 11px; font-weight: 500; }
.rx-live figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: rx-blink 1.6s infinite; }
@keyframes rx-blink { 50% { opacity: 0.25; } }

.rx-calls { display: grid; }
.rx-call { display: grid; grid-template-columns: 28px 36px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.rx-call:last-child { border-bottom: 0; }
.rx-call__n { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.rx-call__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; }
.rx-call strong { display: block; font-weight: 600; }
.rx-call small { color: var(--muted); font-size: 12px; }
.rx-call--ringing .rx-call__av { animation: rx-ring 1.4s var(--ease) infinite; }
@keyframes rx-ring { 0% { box-shadow: 0 0 0 0 rgb(70 190 240 / 0.6); } 100% { box-shadow: 0 0 0 12px rgb(70 190 240 / 0); } }

/* ---------- bento ---------- */
.rx-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(128px, auto); gap: 8px; margin-top: 0; }
.rx-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 280px; padding: 28px; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--card); box-shadow: 0 0 0 1px rgb(19 19 22 / 0.06), 0 1px 2px rgb(0 0 0 / 0.04);
}
.rx-dark .rx-card { background: var(--d-card); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 0 0 1px rgb(0 0 0 / 0.4); }
.rx-card--top { justify-content: flex-start; }
.rx-card--wide { grid-column: span 2; }
.rx-card--tall { grid-row: span 2; }
.rx-card h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.rx-card p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); max-width: 30rem; }
.rx-dark .rx-card p { color: var(--d-muted); }
.rx-card__art { position: relative; flex: 1; display: grid; place-items: center; min-height: 120px; margin: -8px -8px 20px; }
.rx-card--top .rx-card__art { order: 2; margin: 20px -8px -8px; }
.rx-card:hover .rx-card__art > * { transform: translateY(-2px); }
.rx-card__art > * { transition: transform 0.4s var(--ease); }
@media (max-width: 960px) {
  .rx-bento { grid-template-columns: 1fr 1fr; }
  .rx-card--wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .rx-bento { grid-template-columns: 1fr; }
  .rx-card--wide { grid-column: auto; }
  .rx-card--tall { grid-row: auto; }
}

/* Card art, dark. */
.rx-mails { display: grid; gap: 6px; width: min(260px, 90%); }
.rx-mails div {
  display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 9px;
  background: var(--d-card-2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); font-size: 12px; color: #d8d8de;
}
.rx-mails div:nth-child(2) { transform: translateX(10px); opacity: 0.75; }
.rx-mails div:nth-child(3) { transform: translateX(20px); opacity: 0.45; }
.rx-mails b { font-weight: 500; color: #fff; }
.rx-mails span { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--d-muted); }

.rx-sia { font-family: var(--mono); font-size: 12px; line-height: 1.9; color: var(--d-muted); width: min(280px, 92%); }
.rx-sia div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-sia b { color: var(--accent); font-weight: 500; }
.rx-sia .rx-caret::after { content: "▍"; color: var(--accent); animation: rx-blink 1s steps(1) infinite; }

.rx-filter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
.rx-filter figure { position: relative; margin: 0; border-radius: 8px; overflow: hidden; }
.rx-filter img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.8); }
.rx-filter figcaption { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; font-size: 10.5px; font-weight: 500; background: rgb(0 0 0 / 0.65); color: #fff; }
.rx-filter .rx-closed img { filter: grayscale(1) brightness(0.55); }
.rx-filter .rx-closed figcaption { color: var(--d-muted); text-decoration: line-through; }
.rx-filter .rx-kept { box-shadow: 0 0 0 2px var(--red); }

.rx-week { display: grid; grid-template-columns: 28px 1fr; gap: 5px 10px; width: min(280px, 92%); font-size: 10.5px; color: var(--d-muted); font-family: var(--mono); align-items: center; }
.rx-week i { position: relative; display: block; height: 10px; border-radius: 4px; background: var(--d-card-2); overflow: hidden; }
.rx-week i::before,
.rx-week i::after { content: ""; position: absolute; top: 0; bottom: 0; border-radius: 4px; background: rgb(70 190 240 / 0.8); }
.rx-week i::before { left: 0; width: var(--m); }
.rx-week i::after { left: var(--e); right: 0; }

.rx-figure { display: flex; align-items: baseline; gap: 16px; }
.rx-figure b { font-size: clamp(56px, 7vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #9fdcf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rx-figure span { max-width: 14rem; font-size: 13px; color: var(--d-muted); }

.rx-photo { width: 100%; height: 100%; min-height: 160px; border-radius: 10px; overflow: hidden; position: relative; }
.rx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.rx-scrub { width: 100%; display: grid; gap: 10px; }
.rx-scrub__track { position: relative; height: 34px; border-radius: 8px; background: var(--d-card-2); overflow: hidden; }
.rx-scrub__track span { position: absolute; top: 6px; bottom: 6px; border-radius: 4px; background: rgb(255 255 255 / 0.14); }
.rx-scrub__track em { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: rx-sweep 6s ease-in-out infinite alternate; }
.rx-scrub__track strong { position: absolute; top: 6px; bottom: 6px; left: 58%; width: 6%; border-radius: 4px; background: rgb(239 68 68 / 0.7); }
@keyframes rx-sweep { from { left: 8%; } to { left: 62%; } }
.rx-scrub__times { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--d-muted); }

.rx-wave { display: flex; align-items: center; gap: 4px; height: 64px; }
.rx-wave i { width: 4px; border-radius: 4px; background: var(--accent); animation: rx-wave 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -90ms); height: 20%; }
@keyframes rx-wave { 50% { height: 100%; } }

.rx-zone { position: relative; width: 100%; height: 100%; min-height: 170px; border-radius: 10px; overflow: hidden; }
.rx-zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75); }
.rx-zone svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Card art, light. */
.rx-rows { width: min(320px, 100%); display: grid; gap: 6px; }
.rx-rows div { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 2px 6px -2px rgb(0 0 0 / 0.08); font-size: 12px; }
.rx-rows img { width: 40px; height: 28px; object-fit: cover; border-radius: 5px; }
.rx-rows b { font-weight: 600; }
.rx-rows div:first-child { box-shadow: 0 0 0 1.5px var(--red), 0 6px 16px -6px rgb(239 68 68 / 0.35); }

.rx-steps { width: min(300px, 100%); display: grid; gap: 4px; counter-reset: s; font-size: 12.5px; }
.rx-steps div { counter-increment: s; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.rx-steps div::before { content: counter(s); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 600; background: #f0f0f3; color: var(--muted); }
.rx-steps .rx-done::before { content: "✓"; background: var(--ink); color: #fff; }
.rx-steps .rx-done { color: var(--muted); }
.rx-steps .rx-now { box-shadow: 0 0 0 1.5px var(--accent-ink); }

.rx-people { display: flex; align-items: center; gap: 0; }
.rx-people span { width: 52px; height: 52px; margin-left: -10px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 0 0 3px #fff; }
.rx-people span:first-child { margin-left: 0; }
.rx-people em { margin-left: 14px; font-style: normal; }

.rx-trail { width: min(320px, 100%); position: relative; display: grid; gap: 10px; padding-left: 18px; font-size: 12px; }
.rx-trail::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.rx-trail div { position: relative; display: flex; gap: 10px; color: var(--ink-2); }
.rx-trail div::before { content: ""; position: absolute; left: -17px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--faint); }
.rx-trail time { font-family: var(--mono); font-size: 11px; color: var(--faint); min-width: 56px; }

.rx-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 280px; }
.rx-roles span { height: 30px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 2px 4px -2px rgb(0 0 0 / 0.1); font-size: 12.5px; font-weight: 500; }
.rx-roles span:nth-child(2) { background: var(--ink); color: #fff; box-shadow: none; }

.rx-tree { width: min(300px, 100%); font-size: 12.5px; display: grid; gap: 4px; }
.rx-tree div { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.rx-tree .rx-sub { margin-left: 22px; }
.rx-tree .rx-drag { margin-left: 34px; transform: rotate(-1.5deg); box-shadow: 0 0 0 1.5px var(--accent-ink), 0 10px 24px -8px rgb(10 134 191 / 0.35); }
.rx-tree small { margin-left: auto; color: var(--faint); }

.rx-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; }
.rx-toggle i { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--accent-ink); }
.rx-toggle i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

.rx-health { display: grid; grid-template-columns: repeat(6, 22px); gap: 6px; }
.rx-health i { width: 22px; height: 22px; border-radius: 6px; background: rgb(34 197 94 / 0.22); box-shadow: inset 0 0 0 1px rgb(34 197 94 / 0.4); }
.rx-health i.rx-amber { background: rgb(245 158 11 / 0.25); box-shadow: inset 0 0 0 1px rgb(245 158 11 / 0.55); }
.rx-health i.rx-red { background: rgb(239 68 68 / 0.25); box-shadow: inset 0 0 0 1px rgb(239 68 68 / 0.55); animation: rx-blink 2s infinite; }


/* ---------- logo marquee ---------- */
.rx-logos { padding: 44px 0; background: #fff; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.rx-logos__track { display: flex; align-items: center; gap: 88px; width: max-content; animation: rx-slide 40s linear infinite; }
.rx-logos__track img { height: 30px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) brightness(0.2); opacity: 0.75; }
@keyframes rx-slide { to { transform: translateX(calc(-50% - 44px)); } }

/* ---------- platforms ---------- */
.rx-plats { padding: 40px 0 120px; overflow: hidden; }
.rx-plats__track { display: flex; gap: 72px; width: max-content; margin-top: 48px; animation: rx-slide 46s linear infinite; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.rx-plats__track span { font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em; color: #a9b6c0; white-space: nowrap; }
.rx-plats__track span:nth-child(3n + 1) { color: var(--ink); }

/* ---------- close ---------- */
.rx-close {
  display: grid; grid-template-columns: 1fr 1.25fr; align-items: stretch; overflow: hidden; border-radius: 24px;
  background: linear-gradient(150deg, #1d4d6b, var(--d-bg) 65%); color: #fff;
}
.rx-close__copy { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: clamp(32px, 5vw, 72px); }
.rx-close video { width: 100%; height: 100%; min-height: 320px; object-fit: cover; max-width: none; }
.rx-share { padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.16); max-width: 300px; }
.rx-share b { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.rx-share span { display: block; margin-top: 8px; font-size: 14px; color: var(--d-muted); }
@media (max-width: 900px) { .rx-close { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.rx-foot { padding: 40px 0; background: var(--ink); color: #c4ced6; }
.rx-foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; font-size: 14px; }
.rx-foot__brand { color: #fff; }
.rx-foot__brand svg { height: 24px; width: auto; }
.rx-foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-right: auto; }
.rx-foot nav a { font-weight: 500; }
.rx-foot nav a:hover { color: #fff; }

/* ---------- scroll reveal (CSS only, where supported) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rx-reveal { animation: rx-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes rx-rise { from { opacity: 0; transform: translateY(28px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .rx *, .rx *::before, .rx *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .rx-logos__track, .rx-plats__track { animation: none; }
}

/* The tall filter card: two columns of taller tiles to fill it. */
.rx-card--tall .rx-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rx-card--tall .rx-filter img { aspect-ratio: 16 / 11; }
.rx-card--tall .rx-card__art { place-items: start stretch; }
.rx-card--tall .rx-rows { width: 100%; gap: 8px; }
.rx-card--tall .rx-rows div { grid-template-columns: 64px 1fr auto; padding: 8px; font-size: 13px; }
.rx-card--tall .rx-rows img { width: 64px; height: 44px; }

/* ---------- other pages: their opening ---------- */
.rx-page { padding: 96px 0 80px; }
.rx-page__row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.rx-page--plain .rx-page__row { grid-template-columns: 1fr; max-width: 860px; }
.rx-page__copy { display: grid; gap: 24px; justify-items: start; }
.rx-page__line { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 32rem; }
.rx-page__media > video,
.rx-page__media > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; max-width: none; box-shadow: 0 30px 60px -30px rgb(3 14 22 / 0.45); }
.rx-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 460px; margin: 0 auto; }
.rx-phones img { width: 100%; border-radius: 28px; box-shadow: 0 0 0 6px var(--ink), 0 30px 60px -24px rgb(3 14 22 / 0.5); }
.rx-phones img:last-child { margin-top: 56px; }
@media (max-width: 900px) { .rx-page { padding: 64px 0 48px; } .rx-page__row { grid-template-columns: 1fr; gap: 40px; } }

/* Plain tiles: an icon and a title. */
.rx-tiles4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rx-tiles4 > div { display: grid; gap: 40px; padding: 28px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.rx-tiles4 svg { color: var(--accent-ink); }
.rx-tiles4 b { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.rx-tiles4 span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.rx-tiles4--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .rx-tiles4, .rx-tiles4--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rx-tiles4, .rx-tiles4--3 { grid-template-columns: 1fr; } }
.rx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.rx-pair figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.rx-pair img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rx-pair figcaption { padding: 20px 24px; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
@media (max-width: 700px) { .rx-pair { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.rx-formcard { padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgb(3 14 22 / 0.35); }
.rx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.rx-form label { display: grid; gap: 8px; }
.rx-form label > span { font-size: 14px; font-weight: 600; }
.rx-form label em { font-style: normal; font-weight: 400; color: var(--faint); margin-left: 4px; }
.rx-form input,
.rx-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 0; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 0.15s;
}
.rx-form input { height: 48px; padding: 0 18px; border-radius: 999px; }
.rx-form textarea { padding: 14px 18px; border-radius: 16px; resize: vertical; min-height: 96px; }
.rx-form input:focus,
.rx-form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent-ink), 0 0 0 4px rgb(70 190 240 / 0.18); }
.rx-form input::placeholder { color: #b5c0c8; }
.rx-form__wide { grid-column: 1 / -1; }
.rx-form__error { margin: 0; color: #c42828; font-size: 14px; font-weight: 500; }
.rx-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.rx-form__foot p { margin: 0; font-size: 13px; color: var(--muted); }
.rx-form__foot a { text-decoration: underline; text-underline-offset: 3px; }
.rx-form button[disabled] { opacity: 0.7; cursor: progress; }
.rx-spin { animation: rx-turn 0.8s linear infinite; }
@keyframes rx-turn { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .rx-form { grid-template-columns: 1fr; } }
.rx-sent { display: grid; gap: 8px; padding: 8px 0; }
.rx-sent p { margin: 0; color: var(--muted); }
.rx-sent .rx-sent__title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.rx-small { margin: 0; font-size: 14px; color: var(--muted); }
.rx-small a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the Book a call dialog ---------- */
.rx-dialog {
  /* A dialog centred whatever the page around it does. */
  position: fixed; inset: 0; margin: auto; height: fit-content;
  width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 24px;
  background: #fff; color: var(--ink); box-shadow: 0 40px 80px -24px rgb(3 14 22 / 0.5);
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
}
.rx-dialog::backdrop { background: rgb(3 14 22 / 0.55); backdrop-filter: blur(6px); }
.rx-dialog[open] { animation: rx-pop 0.3s var(--ease); }
@keyframes rx-pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.rx-dialog__body { padding: clamp(24px, 4vw, 36px); display: grid; gap: 24px; }
.rx-dialog__head { display: flex; align-items: center; justify-content: space-between; }
.rx-dialog__head h2 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.025em; }
.rx-dialog__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; }
.rx-dialog__close:hover { background: var(--line); }

/* ---------- legal pages and the blog ---------- */
.rx-prose { padding: 72px 0 120px; }
.rx-prose article { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.65; }
.rx-prose h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
.rx-prose h2 { margin: 44px 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.rx-prose p { margin: 12px 0 0; }
.rx-prose ul, .rx-prose ol { margin: 12px 0 0; padding-left: 22px; }
.rx-prose li { margin-top: 6px; }
.rx-prose strong { font-weight: 600; }
.rx-prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.rx-prose .rx-updated { margin-top: 12px; font-size: 14px; color: var(--muted); }

.rx-blog { padding: 96px 0 120px; }
.rx-blog__col { max-width: 760px; margin: 0 auto; display: grid; gap: 40px; }
.rx-blog__head { display: grid; gap: 12px; }
.rx-blog__head .rx-h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; }
.rx-blog__head p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.rx-meta { margin: 0; font-size: 13px; color: var(--muted); }
.rx-posts { margin: 0; padding: 0; list-style: none; }
.rx-posts li + li { border-top: 1px solid var(--line); }
.rx-posts a { display: grid; gap: 8px; padding: 24px 0; }
.rx-posts h2 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.rx-posts a:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.rx-posts p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.rx-back { font-size: 14px; color: var(--muted); }
.rx-back:hover { color: var(--ink); }
.rx-cta { display: grid; justify-items: start; gap: 16px; padding: clamp(24px, 4vw, 36px); border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.rx-cta b { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.rx-cta p { margin: 0; color: var(--muted); }

/* A post's body: Markdown rendered, so its elements carry no classes. */
.rx-post { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.rx-post > * { margin: 0; }
.rx-post > * + * { margin-top: 1.25em; }
.rx-post h2 { margin-top: 2em; font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.rx-post h3 { margin-top: 1.75em; font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.rx-post h2 + *, .rx-post h3 + * { margin-top: 0.6em; }
.rx-post a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.rx-post strong { font-weight: 600; color: var(--ink); }
.rx-post ul, .rx-post ol { padding-inline-start: 1.4em; }
.rx-post li + li { margin-top: 0.4em; }
.rx-post li::marker { color: var(--faint); }
.rx-post blockquote { border-inline-start: 3px solid var(--line-2); padding-inline-start: 1em; color: var(--muted); }
.rx-post code { border-radius: 4px; background: #fff; padding: 0.1em 0.35em; font-family: var(--mono); font-size: 0.88em; }
.rx-post pre { overflow-x: auto; border-radius: 12px; background: #fff; padding: 1em; font-size: 14px; line-height: 1.6; }
.rx-post pre code { background: none; padding: 0; }
.rx-post hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.rx-post table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.rx-post th, .rx-post td { border: 1px solid var(--line); padding: 0.5em 0.8em; text-align: left; vertical-align: top; }
.rx-post th { font-weight: 600; background: #fff; }

/* ---------- not found ---------- */
.rx-lost { padding: 120px 0 160px; }
.rx-lost .rx-page__copy { gap: 20px; }
