/* AI receptionist page only (/receptionists/). Loaded by that page alone; builds
 * on the site tokens in site.css and changes nothing outside `.rx-page`.
 * Layout after Sean's readdy draft (2 Nov 2026): split hero with a phone on a
 * call, tiles, a grid of demo receptionists, numbered steps, questions.
 */

.rx-page { --rx-live: #7fe3a5; --rx-card: rgba(26, 31, 39, 0.92); }

/* ------------------------------------------------------------- 1 hero */

.rx-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(var(--s12), 7vw, var(--s24));
  background: radial-gradient(60% 70% at 85% 30%, rgba(211, 217, 226, 0.10), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(127, 140, 156, 0.10), transparent 70%), var(--ink); }
.rx-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--hairline-strong), transparent); }
.rx-hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(var(--s10), 6vw, var(--s20)); }
.rx-hero__copy { display: grid; gap: var(--s5); justify-items: start; }
.rx-hero h1 { font-size: var(--t-h1); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rx-hero__for { font-size: var(--t-small); color: var(--muted-dark); max-width: 46ch; }
@media (max-width: 900px) { .rx-hero__in { grid-template-columns: 1fr; } }

/* The phone: a frame, a live-call bar, the conversation, the job card. */
.rx-phone { margin: 0; justify-self: center; width: min(100%, 360px); display: grid; gap: var(--s3); }
.rx-phone__frame { position: relative; display: grid; gap: var(--s4); padding: var(--s5) var(--s4) var(--s6); border-radius: 38px;
  background: linear-gradient(180deg, #141922, #0d1016); border: 1px solid var(--hairline-strong);
  box-shadow: 0 0 0 6px #050608, 0 0 0 7px var(--hairline), 0 40px 90px rgba(0, 0, 0, 0.6); }
.rx-phone__bar { display: flex; justify-content: space-between; align-items: center; padding-inline: var(--s2);
  font: 500 0.72rem/1 var(--f-mono); color: var(--muted-dark); }
.rx-live { display: inline-flex; align-items: center; gap: 6px; color: var(--rx-live); }
.rx-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--rx-live); }
@media (prefers-reduced-motion: no-preference) { .rx-live i { animation: rx-pulse 1.6s ease-in-out infinite; } }
@keyframes rx-pulse { 50% { opacity: 0.3; } }
.rx-phone__who { display: grid; justify-items: center; gap: 2px; padding-block: var(--s2) var(--s3); border-bottom: 1px solid var(--hairline); }
.rx-phone__who b { font: 700 1.05rem/1.2 var(--f-display); font-stretch: 112%; }
.rx-phone__who small { font-size: 0.78rem; color: var(--muted-dark); }
.rx-phone__talk { display: grid; gap: var(--s3); }
.rx-line { margin: 0; max-width: 86%; padding: var(--s3) var(--s4); border-radius: 18px; font-size: 0.88rem; line-height: 1.45; }
.rx-line span { display: block; margin-bottom: 3px; font: 500 0.64rem/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.rx-line--ai { justify-self: start; background: var(--steel); border-bottom-left-radius: 6px; }
.rx-line--caller { justify-self: end; background: var(--on-dark); color: var(--ink); border-bottom-right-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .rx-line, .rx-card { opacity: 0; transform: translateY(8px); animation: rx-in 0.5s var(--ease) forwards; }
  .rx-line:nth-child(1) { animation-delay: 0.3s; } .rx-line:nth-child(2) { animation-delay: 1.2s; }
  .rx-line:nth-child(3) { animation-delay: 2.1s; } .rx-line:nth-child(4) { animation-delay: 3s; }
  .rx-line:nth-child(5) { animation-delay: 3.9s; } .rx-card { animation-delay: 4.9s; }
}
@keyframes rx-in { to { opacity: 1; transform: none; } }
.rx-card { display: grid; gap: 4px; padding: var(--s4); border-radius: var(--r-md); background: var(--rx-card); border: 1px solid var(--hairline-strong); }
.rx-card b { display: inline-flex; align-items: center; gap: var(--s2); font-size: 0.9rem; color: var(--rx-live); }
.rx-card b svg { width: 16px; height: 16px; }
.rx-card span { font-size: 0.84rem; }
.rx-card small { font-size: 0.74rem; color: var(--muted-dark); }
.rx-phone figcaption { text-align: center; font: 500 0.68rem/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }

/* ------------------------------------------------- 2–3 tiles and grids */

.rx-grid { display: grid; gap: var(--s4); }
.rx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .rx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rx-grid--4, .rx-grid--3 { grid-template-columns: 1fr; } }
.rx-tile, .rx-does { display: grid; align-content: start; gap: var(--s3); padding: clamp(var(--s5), 2.4vw, var(--s8)); border-radius: var(--r-lg); }
.rx-tile { background: var(--charcoal); border: 1px solid var(--hairline); }
.rx-tile h3, .rx-does h3 { font-size: 1.2rem; }
.rx-tile p { color: var(--muted-dark); line-height: 1.55; }
.rx-does { background: var(--white); border: 1px solid var(--rule-light, rgba(9, 11, 15, 0.1)); }
.rx-does p { color: var(--muted-light); line-height: 1.55; }
.rx-does__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--on-dark); }
.rx-does__ic svg { width: 20px; height: 20px; }

/* --------------------------------------------------------- 4 the demos */

.rx-demos { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.rx-demo { display: flex; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--charcoal); border: 1px solid var(--hairline); }
.rx-demo svg { width: 18px; height: 18px; flex: none; color: var(--chrome-light); }
.rx-demo strong { font: 700 1rem/1.25 var(--f-display); font-stretch: 108%; }
.rx-note { margin-top: var(--s6); font-size: var(--t-small); color: var(--muted-dark); max-width: 70ch; }

/* ------------------------------------------------------- 5 the steps */

.rx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: none; }
@media (max-width: 1000px) { .rx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rx-steps { grid-template-columns: 1fr; } }
.rx-steps li { display: grid; gap: var(--s3); align-content: start; padding-top: var(--s5); border-top: 2px solid var(--on-light); }
.rx-steps__n { font: 500 0.8rem/1 var(--f-mono); letter-spacing: 0.1em; color: var(--muted-light); }
.rx-steps h3 { font-size: 1.2rem; }
.rx-steps p { color: var(--muted-light); line-height: 1.55; }

/* ------------------------------------------------------- 7 questions */

.rx-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(var(--s8), 5vw, var(--s16)); align-items: start; }
@media (max-width: 860px) { .rx-faq { grid-template-columns: 1fr; } }
.rx-faq__list { display: grid; border-top: 1px solid var(--hairline); }
.rx-q { border-bottom: 1px solid var(--hairline); }
.rx-q summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 64px; padding-block: var(--s4);
  list-style: none; cursor: pointer; font: 700 1.05rem/1.3 var(--f-display); font-stretch: 108%; }
.rx-q summary::-webkit-details-marker { display: none; }
.rx-q summary svg { flex: none; width: 20px; height: 20px; color: var(--muted-dark); transition: transform 0.25s var(--ease); }
.rx-q[open] summary svg { transform: rotate(180deg); }
.rx-q p { padding-bottom: var(--s5); color: var(--muted-dark); line-height: 1.6; max-width: 62ch; }
