/* The free receptionist demo page. Phone first: one card per step, big targets, nothing to scroll past. */

body.try {
  min-height: 100dvh; margin: 0; color: var(--night-ink);
  font-family: var(--sc-font-text); font-size: 1.02rem; line-height: 1.55;
  background: var(--night);   /* matte, no glow */
  --sc-gutter: clamp(1.25rem, 5vw, 5.5rem);   /* the site bar's side margin (scrollcraft.css is not loaded here) */
  display: flex; flex-direction: column;
}

.try-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(14px + env(safe-area-inset-top)) 20px 14px;
  max-width: 44rem; width: 100%; margin: 0 auto; box-sizing: border-box;
}
.try-bar__brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.try-bar__brand img { filter: invert(1); }
.try-bar__link { color: var(--night-soft); font-size: 0.92rem; text-underline-offset: 0.25em; }

.try-main {
  flex: 1; width: 100%; max-width: 44rem; margin: 0 auto; box-sizing: border-box;
  padding: calc(var(--bar-h) + var(--sat, 0px) + 20px) 16px 32px;   /* under the site's fixed bar */
  display: grid; gap: 16px; align-content: start;
}

/* locked card style: pure black, solid, square, quiet red outline, edge light only, body copy matte white */
.try-card {
  background: #000000;
  border: 1px solid rgba(139,0,0,0.42);
  border-radius: 0;
  padding: clamp(22px, 5vw, 36px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16),inset 1px 0 0 rgba(255,255,255,0.05),inset -1px 0 0 rgba(255,255,255,0.05), 0 24px 60px -30px rgba(0,0,0,0.8);
  animation: try-in 420ms var(--ease) both;
}
.try-card[hidden] { display: none; }
@keyframes try-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .try-card { animation: none; } }

.try-kicker {
  margin: 0 0 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--night-accent);
}
.try-h1, .try-h2 {
  font-family: var(--sc-font-display); font-stretch: var(--wide); font-weight: 720;
  letter-spacing: -0.028em; line-height: 1.04; text-wrap: balance; margin: 0;
}
.try-h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.4rem); }
.try-h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); }
.try-lede, .try-sub { color: #E7E5E1; margin: 14px 0 0; text-wrap: pretty; }
.try-lede { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.2rem); }

.try-form { display: grid; gap: 8px; margin-top: 22px; }
.try-label { font-size: 0.92rem; font-weight: 600; color: var(--night-ink); margin-top: 8px; }
.try-input {
  font: inherit; font-size: 1.05rem; color: var(--night-ink);
  background: rgba(11,13,16,0.7); border: 1px solid rgba(242,240,237,0.16); border-radius: var(--r);
  min-height: 52px; padding: 0 14px; width: 100%; box-sizing: border-box;
}
.try-input:focus-visible { outline: 2px solid var(--night-accent); outline-offset: 1px; border-color: transparent; }
.try-input::placeholder { color: rgba(167,163,160,0.6); }
.try-btn { margin-top: 16px; width: 100%; }
.try-btn[disabled] { opacity: 0.6; cursor: progress; }
.try-msg { min-height: 1.4em; margin: 6px 0 0; color: var(--night-soft); font-size: 0.95rem; }
.try-msg.is-error { color: #FF8A80; }
.try-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.try-picks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.try-pick {
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: #000000; border: 1px solid rgba(139,0,0,0.42); border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16),inset 1px 0 0 rgba(255,255,255,0.05),inset -1px 0 0 rgba(255,255,255,0.05);
  padding: 14px 16px; display: grid; gap: 2px;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.try-pick strong { font-size: 1.05rem; }
.try-pick span { color: var(--night-soft); font-size: 0.92rem; }
@media (hover: hover) and (pointer: fine) { .try-pick:hover { border-color: var(--night-accent); } }
.try-pick:focus-visible { outline: 2px solid var(--night-accent); outline-offset: 2px; }
.try-text-btn {
  margin-top: 14px; background: none; border: 0; padding: 8px 0; font: inherit; color: var(--night-soft);
  text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer;
}

.try-idea {
  margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid var(--brand);
  background: #000000; border-radius: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16),inset 1px 0 0 rgba(255,255,255,0.05),inset -1px 0 0 rgba(255,255,255,0.05); font-style: italic;
}
.try-phone { display: grid; justify-items: center; gap: 12px; margin: 26px 0 8px; }
.try-dial {
  width: 100%; max-width: 22rem; min-height: 72px; border: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem;
  color: #fff; background: #1E8E4E;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
  transition: background-color 180ms var(--ease), scale 120ms var(--ease);
}
.try-dial:active { scale: 0.98; }
.try-dial:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.try-phone[data-state="live"] .try-dial, .try-phone[data-state="connecting"] .try-dial {
  background: var(--brand); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}
.try-phone[data-state="live"] .try-dial svg { rotate: 135deg; }
.try-phone[data-state="connecting"] .try-dial { opacity: 0.85; }
.try-status { margin: 0; min-height: 1.4em; color: var(--night-soft); text-align: center; }
.try-timer { margin: 0; font-variant-numeric: tabular-nums; font-size: 1.4rem; font-weight: 700; }
.try-note { margin: 10px 0 0; font-size: 0.86rem; color: var(--night-soft); text-align: center; }

.try-score { margin-top: 18px; }
.try-score__wait { margin: 0; color: var(--night-soft); display: flex; gap: 10px; align-items: center; }
.try-score__wait::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 2px solid rgba(242,240,237,0.25); border-top-color: var(--night-accent);
  animation: try-spin 900ms linear infinite;
}
@keyframes try-spin { to { rotate: 1turn; } }
@media (prefers-reduced-motion: reduce) { .try-score__wait::before { animation: none; } }
.try-score__big {
  font-family: var(--sc-font-display); font-stretch: var(--wide); font-weight: 760;
  font-size: clamp(2.4rem, 1.8rem + 3vw, 3.6rem); line-height: 1; margin: 0;
}
.try-score__big small { font-size: 0.4em; font-weight: 600; color: var(--night-soft); letter-spacing: 0; }
.try-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.try-point { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start;
  padding: 12px 0; border-top: 1px solid rgba(242,240,237,0.08); }
.try-point__tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; white-space: nowrap; margin-top: 2px;
  background: rgba(242,240,237,0.08); color: var(--night-soft);
}
.try-point__tag--pass { background: rgba(30,142,78,0.18); color: #7FD8A4; }
.try-point__tag--fail { background: rgba(224,69,60,0.18); color: #FF9C94; }
.try-point__tag--partial { background: rgba(224,170,60,0.18); color: #F2C66D; }
.try-point strong { display: block; }
.try-point p { margin: 2px 0 0; color: #E7E5E1; font-size: 0.92rem; }

.try-choices { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.try-choice {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer;
  padding: 14px; border: 1px solid rgba(139,0,0,0.42); border-radius: 0;
  background: #000000; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16),inset 1px 0 0 rgba(255,255,255,0.05),inset -1px 0 0 rgba(255,255,255,0.05);
}
.try-choice:has(input:checked) { border-color: var(--night-accent); background: #000000; }
.try-choice input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--brand); }
.try-choice strong { display: block; }
.try-choice em { display: block; font-style: normal; color: var(--night-soft); font-size: 0.92rem; margin-top: 2px; }
.try-choice a, .try-sub a, .try-fine a { color: var(--night-ink); text-underline-offset: 0.2em; }
.try-consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 14px; font-size: 0.92rem;
  color: var(--night-soft); cursor: pointer; }
.try-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); }

.try-fine { margin: 4px 0 0; font-size: 0.82rem; color: var(--night-soft); text-align: center; }
.try-foot { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); text-align: center; color: var(--night-soft); font-size: 0.82rem; }
.try-foot p { margin: 0; }

/* The AI receptionist offer page (/ai-receptionist/) shares this sheet. */
.rec-actions { display: grid; gap: 12px; margin-top: 22px; }
.rec-actions .try-btn { margin-top: 0; }
.rec-link { text-align: center; color: var(--night-ink); padding: 10px 0; text-underline-offset: 0.25em; }
.rec-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rec-list li { padding-left: 22px; position: relative; color: var(--night-soft); }
.rec-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.rec-list strong { color: var(--night-ink); }
.rec-list a, .try-fine a, .try-foot a { color: var(--night-ink); text-underline-offset: 0.2em; }
.rec-price { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); margin: 14px 0 0; }
.rec-price strong { font-family: var(--sc-font-display); font-stretch: var(--wide); font-weight: 760; }
.rec-faq { margin-top: 14px; display: grid; gap: 8px; }
.rec-faq details { border: 1px solid rgba(139,0,0,0.42); border-radius: 0; padding: 0 14px; background: #000000; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16),inset 1px 0 0 rgba(255,255,255,0.05),inset -1px 0 0 rgba(255,255,255,0.05); }
.rec-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.rec-faq details p { margin: 0 0 14px; color: var(--night-soft); }
.rec-ways { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 640px) { .rec-ways { grid-template-columns: repeat(3, 1fr); } .rec-actions { grid-template-columns: auto auto; justify-content: start; align-items: center; } }

/* No glow anywhere: buttons keep only their edge highlight, never a coloured shadow. */
.try .btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }
