/* The business phone number page (/business-phone-number): its call log,
   inbox, hours, greeting players, comparison table and phone call bar. The
   rest comes from site.css. */

/* The call log in the hero. */
.s-call { flex: 0 1 470px; min-width: 0; background: var(--s-panel); border: 1px solid var(--s-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.s-call-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--s-line); }
.s-call-head b { font-size: 16px; }
.s-call-head span { font-family: var(--s-mono); font-size: 12.5px; color: var(--s-muted); }
.s-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.s-log li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; }
.s-log time { font-family: var(--s-mono); font-size: 13px; line-height: 22px; color: var(--s-lime); font-variant-numeric: tabular-nums; }
.s-log .ev { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 15px; line-height: 22px; }
.s-log .ev b { font-weight: 700; }
.s-log .ev .s-say-a { max-width: 100%; font-size: 14.5px; line-height: 1.45; }
.s-log .ev .who { font-family: var(--s-mono); font-size: 12px; color: var(--s-muted); }
.s-log li.end time { color: var(--s-muted); }
.s-log li.end .ev b { color: var(--s-lime); }

/* The inbox under the call log: the call and a chat, side by side. */
.s-inbox { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--s-line); }
.s-inbox-label { font-family: var(--s-mono); font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--s-muted); }
.s-inbox ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.s-inbox li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: var(--s-bubble); font-size: 14.5px; line-height: 1.45; }
.s-inbox .k { font-family: var(--s-mono); font-size: 12.5px; color: var(--s-lime); }
.s-inbox .m { min-width: 0; }
.s-inbox .src { font-family: var(--s-mono); font-size: 12px; color: var(--s-muted); white-space: nowrap; }

/* Hours cards. */
.s-hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.s-hour { background: var(--s-panel); border: 1px solid var(--s-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.s-hour-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.s-hour h3 { font-size: 22px; font-weight: 700; }
.s-hour-top span { font-family: var(--s-mono); font-size: 13px; color: var(--s-muted); }
.s-hour .s-say-a { max-width: 100%; }
.s-then { font-family: var(--s-mono); font-size: 13.5px; line-height: 1.5; color: var(--s-chalk); padding-top: 14px; border-top: 1px solid var(--s-line); }
.s-then em { font-style: normal; color: var(--s-lime); }
.s-hours-note { margin-top: 24px; }

/* The email: transcript and attachment. */
.s-email blockquote { margin: 0; padding: 12px 14px; background: #F2F2EA; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.s-email .s-tx-label { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--s-muted-dark); }
.s-email-body { padding: 0 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.s-attach { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 12px; border: 1px solid #E4E5DF; border-radius: 10px; font-family: var(--s-mono); font-size: 13px; }
.s-email-foot { display: flex; flex-wrap: wrap; gap: 8px; }
.s-email-foot span.alt { background: transparent; color: var(--s-ink); border: 1.5px solid var(--s-ink); }

/* Greetings, each with a player. */
.s-greets { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.s-greets li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 0 16px; border-top: 1px solid var(--s-line); }
.s-greet-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.s-greet-copy b { font-size: 17px; }
.s-greet-copy span { font-size: 15px; line-height: 1.5; color: var(--s-muted); }
.s-greet-copy .s-dur { font-family: var(--s-mono); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.s-play { width: 48px; height: 48px; border-radius: 24px; border: 0; background: var(--s-lime); color: var(--s-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.s-play:hover { background: #D4FA5C; }
.s-play::before { content: ''; width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--s-ink); }
.s-play[aria-pressed="true"]::before { width: 12px; height: 14px; margin-left: 0; border-width: 0 4px; border-style: solid; border-color: var(--s-ink); }
.s-prog { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--s-lime); }

/* The demo line in the hero. */
.s-demo { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 1px solid var(--s-line); border-radius: 16px; background: var(--s-panel); max-width: 560px; }
.s-demo-label { font-family: var(--s-mono); font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--s-muted); }
.s-demo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.s-demo-num { font-family: var(--s-display); font-weight: 800; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.01em; color: var(--s-lime); font-variant-numeric: tabular-nums; }
.s-demo-num:hover { color: #D4FA5C; }
.s-demo-note { font-size: 15px; line-height: 1.5; color: var(--s-muted); }
.s-copybtn, .s-replay { min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--s-line); background: transparent; color: var(--s-chalk); font-family: var(--s-mono); font-size: 13px; cursor: pointer; }
.s-copybtn:hover, .s-replay:hover { border-color: var(--s-lime); color: var(--s-lime); }
.s-replay { align-self: flex-start; }

/* The call log plays through once: each step lights as the call reaches it.
   At rest, and with reduced motion, every step is fully lit. */
.s-log time { position: relative; }
.s-log.playing time, .s-log.playing .ev > b { transition: color 240ms ease; }
.s-log.playing li:not(.on) time, .s-log.playing li:not(.on) .ev > b { color: var(--s-muted); }
.s-log li.now time::after { content: ''; position: absolute; left: -13px; top: 8px; width: 7px; height: 7px; border-radius: 4px; background: var(--s-lime); animation: s-pulse 1.2s ease-out infinite; }
@keyframes s-pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, 0.55); } 100% { box-shadow: 0 0 0 9px rgba(198, 244, 50, 0); } }
@media (prefers-reduced-motion: reduce) { .s-log li.now time::after { animation: none; } }

/* A longer headline than the trade pages, so a smaller top size. */
.s-trade-hero h1 { font-size: clamp(38px, 4.4vw, 66px); line-height: 1.02; }
.s-steps.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* The comparison table. Our column is the lit one; the row labels stay put when it scrolls sideways. */
.s-compare-wrap { margin-top: 36px; overflow-x: auto; border: 1px solid var(--s-line); border-radius: 20px; }
.s-compare-wrap:focus-visible { outline-offset: 2px; }
.s-compare { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.45; }
.s-compare th, .s-compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--s-line); }
.s-compare tbody tr:last-child th, .s-compare tbody tr:last-child td { border-bottom: 0; }
.s-compare thead th { font-size: 15px; font-weight: 700; background: var(--s-panel); }
.s-compare thead th.us { background: var(--s-lime); color: var(--s-ink); }
.s-compare tbody th { width: 230px; font-weight: 600; color: var(--s-chalk); }
.s-compare th:first-child { position: sticky; left: 0; z-index: 1; background: var(--s-ink); }
.s-compare thead th:first-child { background: var(--s-panel); z-index: 2; }
.s-compare td { color: var(--s-muted); }
.s-compare td.us { background: #1A1D12; color: var(--s-chalk); }
.s-compare td.yes { color: var(--s-chalk); }
.s-compare td.yes svg { display: inline-block; vertical-align: -4px; margin-right: 6px; color: var(--s-lime); }
.s-compare td.nl { font-family: var(--s-mono); font-size: 13px; }
.s-compare-note { margin-top: 18px; }
.s-swipe { display: none; }
.s-compare-note a { color: var(--s-chalk); text-decoration: underline; text-underline-offset: 3px; }
.s-compare-note a:hover { color: var(--s-lime); }

/* Phones: a call bar once the hero's buttons have scrolled away. */
.s-callbar { display: none; }
.s-callbar b { display: block; font-size: 14px; }
.s-callbar .n { font-family: var(--s-mono); font-size: 15px; color: var(--s-lime); font-variant-numeric: tabular-nums; }

.s-fine-dark { font-size: 14px; line-height: 1.5; color: var(--s-muted-dark); }
.s-with { font-family: var(--s-mono); font-size: 14px; color: var(--s-muted-dark); }

@media (max-width: 860px) {
  .s-call { padding: 20px; }
  .s-log li { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
  .s-hour { padding: 22px; }
  .s-hours { grid-template-columns: minmax(0, 1fr); }
  .s-greets { grid-template-columns: minmax(0, 1fr); }
  .s-demo { padding: 16px; }
  .s-trade-hero .s-btns .s-btn { width: 100%; }
  .s-cta .s-row { width: 100%; }
  .s-log li.now time::after { left: -11px; }
  .s-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--s-panel); border-top: 1px solid var(--s-line); }
  /* Shown and hidden with display, not a slide: the chat widget (data-avoid) lifts its
     button above the bar only while the bar is displayed. */
  .s-callbar.show { display: flex; }
  .s-callbar .s-btn { min-height: 46px; padding: 0 22px; }
  .s-inbox li { grid-template-columns: 40px minmax(0, 1fr); }
  .s-inbox .src { grid-column: 2; }
  .s-swipe { display: block; margin-top: 28px; font-family: var(--s-mono); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--s-muted); }
  .s-swipe + .s-compare-wrap { margin-top: 10px; }
  .s-compare { min-width: 760px; font-size: 14.5px; }
  .s-compare tbody th { width: 150px; }
  .s-compare th, .s-compare td { padding: 14px; }
  .s-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
