/* trial.css — v2.6-trial. The minimum styling the free-trial CTA blocks and the in-app call player need.
   Tokens only (site design system); no new colours or type scale. Loaded on index, answers, industries hub + pages. */

/* facts line next to every primary trial button: each fact wraps as a unit, never mid-fact */
.trial-terms { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 12px 0 0; padding: 0;
  font: 500 13.5px/1.35 var(--font-body); color: var(--steel); letter-spacing: -0.003em; }
.trial-terms span { white-space: nowrap; }   /* no separator glyph: it would dangle at the start of a wrapped line */
.trial-terms--dark { color: rgba(247,245,240,0.72); }
.trial-terms--center { justify-content: center; }

/* Book a Demo, demoted to a small text link under the trial button */
.trial-alt { display: inline-block; margin-top: 8px; font: 500 13.5px/1.35 var(--font-body); color: var(--steel);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,0.25); }
.trial-alt:hover { color: var(--orange); }
.trial-alt--dark { color: rgba(247,245,240,0.72); text-decoration-color: rgba(247,245,240,0.35); }
.trial-alt--dark:hover { color: var(--paper); }
.trial-meta { display: flex; flex-direction: column; align-items: flex-start; }
.trial-meta--center { align-items: center; text-align: center; }

/* COPY SLOT — visible placeholder for copy Ido still writes; build.py --check FAILs while any remain */
.copy-slot { display: inline-block; outline: 1.5px dashed var(--orange); outline-offset: 3px; border-radius: 4px;
  background: rgba(255,106,0,0.08); }
span.copy-slot { font: 700 10.5px/1.3 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); padding: 4px 8px; }

/* in-app (Facebook / Instagram) call-recordings list — reuses the live demo's modal shell (.dm-backdrop/.dm-panel).
   Plain rows: play/pause · title · one muted line · thin progress bar while playing. No video, no effects. */
.cb-clip-backdrop { overflow-y: auto; }
.cb-clip-panel { max-width: 400px; display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin: auto; }
.cb-clip-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; font-size: 20px; line-height: 1.2;
  margin: 0; padding-right: 40px; color: var(--paper); }
.cb-calls { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(247,245,240,0.10); }
.cb-row { border-bottom: 1px solid rgba(247,245,240,0.10); }
.cb-row audio { display: none; }
.cb-call { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 2px; min-height: 64px;
  background: transparent; border: 0; color: var(--paper); text-align: left; cursor: pointer; font: inherit; }
.cb-call-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(247,245,240,0.08); border: 1px solid rgba(247,245,240,0.20); color: var(--paper); }
.cb-call-icon svg { display: block; }
.cb-call-icon svg path { transform: translateX(1px); }
.cb-row[data-state="playing"] .cb-call-icon { background: var(--accent); border-color: transparent; color: var(--text-on-accent); }
.cb-call-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cb-call-title { font: 600 15.5px/1.3 var(--font-body); color: var(--paper); }
.cb-call-sub { font: 500 13px/1.3 var(--font-body); color: rgba(247,245,240,0.6); }
.cb-progress { display: block; height: 2px; margin-top: 6px; border-radius: 2px; background: rgba(247,245,240,0.14); overflow: hidden; visibility: hidden; }
.cb-progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.cb-row:not([data-state="idle"]) .cb-progress { visibility: visible; }

/* industry page section CTA: the row sits directly under the conversation examples */
.in-sec-cta .in-cta-row { margin-top: 0; }

/* nav: the trial button ("Try it free") sits beside the menu button — keep the bar inside 360 px phones */
@media (max-width: 400px) {
  .cl-header-bar { gap: 8px !important; padding-left: 14px !important; padding-right: 14px !important; }
  .cl-nav { gap: 8px !important; }
  .cl-brandword { font-size: 18px !important; }
  .cl-navbuild { font-size: 12.5px !important; padding: 8px 11px !important; }
}

/* price fact under every trial button → links to /#pricing */
.trial-terms a.trial-price { color: inherit; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: currentColor; text-decoration-thickness: 1px; }
.trial-terms a.trial-price:hover { color: var(--orange); }

/* homepage section CTA (T-02 headline / T-03 body) */
.tc-h { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.12; color: var(--ink); margin: 0; max-width: 24ch; text-wrap: balance; }
.tc-p { font: 400 16.5px/1.5 var(--font-body); color: var(--steel); margin: 10px 0 20px; max-width: 52ch; }

/* ── #pricing (homepage) — approved facts only; stacked list, never a wide table ── */
.pr-head { text-align: center; max-width: 720px; margin: 0 auto; }
.pr-h2 { margin-top: 16px; }
.pr-intro { font-size: 18px; line-height: 1.55; color: var(--steel); margin: 16px auto 0; max-width: 56ch; }
.pr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(16px, 2vw, 24px);
  max-width: 920px; margin: clamp(36px, 4vw, 52px) auto 0; align-items: start; }
@media (max-width: 800px) { .pr-grid { grid-template-columns: minmax(0, 1fr); } }
.pr-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  padding: clamp(22px, 3vw, 32px); min-width: 0; }
.pr-card--trial { background: var(--ink); border-color: transparent; color: var(--paper); }
/* Ido 11-30: trial card as tall as the rate card, its content centered both ways */
.pr-card--trial { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.pr-card--trial .pr-cta { align-self: stretch; }
@media (min-width: 801px) { .pr-grid { align-items: stretch; } }
.pr-big { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(36px, 4vw, 48px); margin: 0; color: var(--ink); }
.pr-card--trial .pr-big { color: var(--paper); }
.pr-big-unit { font-size: 0.42em; font-weight: 600; letter-spacing: -0.01em; color: var(--steel); margin-left: 4px; }
.pr-sub { font: 500 16px/1.4 var(--font-body); color: var(--steel); margin: 10px 0 0; }
.pr-card--trial .pr-sub { color: rgba(247,245,240,0.72); }
.pr-cta { margin-top: 24px; }
.pr-rates { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pr-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font: 500 15.5px/1.3 var(--font-body); color: var(--ink); font-variant-numeric: tabular-nums; }
.pr-row dt, .pr-row dd { margin: 0; }
.pr-row dd { font-weight: 600; white-space: nowrap; }
.pr-row--head { padding: 10px 0; font: var(--text-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted); }
.pr-row--head dd { font-weight: inherit; }
.pr-per { font-weight: 500; color: var(--steel); margin-left: 1px; }
.pr-fine { font: 400 13.5px/1.55 var(--font-body); color: var(--steel); margin: 16px 0 0; }

/* nav: with "Pricing" added (7 links) the desktop row needs ~1100px — collapse into the menu button up to 1100px
   (was 1024px). The open menu must still show in the 1025–1100 band the base CSS hides it in. */
@media (max-width: 1100px) {
  .cl-navlinks { display: none !important; }
  .cl-nav { gap: 12px !important; }
  .cl-burger { display: inline-flex; }
  .cl-menu.open { display: block !important; }
}

/* ── #calls: homepage call-recordings section (every visitor). Same rows as the in-app modal (.cb-*). ── */
.rc-wrap { max-width: 1180px; margin: 0 auto; padding: clamp(8px, 1vw, 12px) 28px clamp(36px, 4vw, 56px); }
.rc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: start; }
@media (min-width: 900px) { .rc-grid--two { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }   /* reserved: + phone-call block */
.rc-card { background: var(--ink); color: var(--paper); border-radius: 16px; padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 34px); min-width: 0; }
.rc-h { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.12; margin: 0 0 18px; color: var(--paper); max-width: 30ch; }
@media (min-width: 900px) { .rc-grid:not(.rc-grid--two) .rc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; } }

/* ── "Get a call from our AI in seconds" (call-me.js) — homepage #calls side card + in-app modal. Dark, tokens only. ── */
@media (min-width: 900px) { .rc-grid--two .rc-list { display: block; } }
.cm-h { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.15; margin: 0; color: var(--paper); }
.cm-intro { font: 400 15px/1.5 var(--font-body); color: rgba(247,245,240,0.7); margin: 8px 0 0; }
.cm-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; text-align: left; }
.cm-field { display: flex; flex-direction: column; gap: 6px; }
.cm-field label { font: 600 11px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(247,245,240,0.55); }
.cm-field input, .cm-field select { width: 100%; box-sizing: border-box; height: 46px; background: rgba(247,245,240,0.06);
  border: 1px solid rgba(247,245,240,0.20); border-radius: var(--radius-md); padding: 0 14px; color: var(--paper);
  font: 500 16px/1 var(--font-body); outline: none; transition: border-color var(--dur-fast); }   /* 16px: no iOS zoom on focus */
.cm-field select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23F7F5F0' stroke-opacity='.7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.cm-field select option { color: #111; }
.cm-field input:focus, .cm-field select:focus { border-color: rgba(255,106,0,0.6); }
.cm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cm-consent { display: flex; gap: 10px; align-items: flex-start; font: 400 14px/1.45 var(--font-body); color: rgba(247,245,240,0.78); cursor: pointer; }
.cm-sub { margin: -2px 0 0; text-align: center; font: 500 13.5px/1.4 var(--font-body); color: rgba(247,245,240,0.62); }
.cm-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.cm-ts:empty { display: none; }
.cm-msg { margin: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(194,58,26,0.55);
  background: rgba(194,58,26,0.14); color: var(--paper); font: 500 13.5px/1.45 var(--font-body); }
.cm .cl-btn[disabled] { opacity: .6; cursor: default; }
.cm-status { margin-top: 18px; }
.cm-state { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 17px/1.35 var(--font-body); color: var(--paper); }
.cm-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: clpulse 1.8s infinite; }
.cm-status[data-state="done"] .cm-dot { animation: none; background: rgba(247,245,240,0.5); }
.cm-after { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.cm-modal { border-top: 1px solid rgba(247,245,240,0.10); padding-top: 18px; }
.cm-modal .cm-h { font-size: 20px; }
@media (prefers-reduced-motion: reduce) { .cm-dot { animation: none; } }
.cm [hidden] { display: none !important; }   /* .cm-form / .cm-after set display:flex — keep the hidden attribute authoritative */

/* ── Section 2 "Try it live" (#try) — directly under the hero (homepage + industry pages). Paper background, the two
   dark cards (recordings · call-me form) side by side on desktop, stacked on phones (recordings first). ── */
.try-sec { background: var(--paper); scroll-margin-top: 70px; }
.try-sec .rc-wrap { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.try-h { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04;
  font-size: clamp(30px, 3.8vw, 46px); margin: 0 0 clamp(20px, 2.4vw, 30px); color: var(--ink); max-width: 30ch; }
.try-sec .rc-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
@media (min-width: 900px) { .try-sec .rc-grid--two { align-items: stretch; } .try-sec .rc-side > .rc-card { flex: 1; } }   /* recordings + call-me cards end on the same line (Ido 11-30) */
.try-alt { margin: 0; text-align: center; }
.cb-inapp .cb-browser-demo, .cb-inapp .try-alt { display: none !important; }   /* in-app browsers: no mic demo */
.try-sec .rc-list { border-top: 0; }   /* the card has no heading of its own now — no line above the first row */

/* "Get a demo call" pop-up: the call-me form (call-me.js, loc "popup") in a dark panel. Phone: full-width sheet. */
.cmpop-backdrop { position: fixed; inset: 0; z-index: 950; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(10,10,12,0.72); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cmpop-backdrop.open { display: flex; }
.cmpop-panel { position: relative; width: 100%; max-width: 440px; margin: auto; box-sizing: border-box;
  background: var(--ink); color: var(--paper); border: 1px solid rgba(247,245,240,0.12); border-radius: 20px;
  padding: 28px 22px 24px; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.cmpop-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(247,245,240,0.08); color: var(--paper); font: 400 24px/1 var(--font-body); cursor: pointer; }
.cmpop-close:hover { background: rgba(247,245,240,0.16); }
.cmpop-panel .cm-h { padding-right: 40px; }
html.cmpop-lock, html.cmpop-lock body { overflow: hidden; }
@media (max-width: 520px) {
  .cmpop-backdrop { padding: 10px; align-items: flex-start; }
  .cmpop-panel { padding: 24px 18px 20px; border-radius: 18px; }
}

/* Hero featured recording (homepage, Ido/GPT 2026-11-09): the SAME .cb-row player as section 2 (trial.js wires every
   .cb-row; one recording at a time page-wide). Desktop: its own row under the two hero buttons. Phone: between
   "Try it free" and "Get a demo call". Orange play button; no autoplay; no pop-up. */
.cta-row > .hero-clip { order: 3; flex: 0 0 100%; max-width: 440px; list-style: none; margin: 4px 0 0; padding: 0;
  border: 1px solid rgba(247,245,240,0.16); border-top: 1px solid rgba(247,245,240,0.16); border-radius: 16px;
  background: rgba(247,245,240,0.05); }
.hero-clip .cb-row { border-bottom: 0; }
.hero-clip .cb-call { padding: 10px 14px 10px 10px; min-height: 64px; }
.hero-clip .cb-call-icon { width: 46px; height: 46px; background: var(--orange); border-color: var(--orange); color: #fff; }
.hero-clip .cb-call-title { font-weight: 600; }
/* polish 11-09: darker card so it reads over the photo; the whole card is the play/pause button, with a pressed + playing look */
.cta-row > .hero-clip { background: rgba(13,13,13,0.66); border-color: rgba(247,245,240,0.22); transition: border-color .15s ease; }
.hero-clip .cb-call { border-radius: 15px; transition: background-color .15s ease; -webkit-tap-highlight-color: transparent; }
.hero-clip .cb-call:hover { background: rgba(247,245,240,0.05); }
.hero-clip .cb-call:active { background: rgba(247,245,240,0.10); }
.hero-clip .cb-call:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.cta-row > .hero-clip:has(.cb-row:not([data-state="idle"])) { border-color: rgba(255,106,0,0.65); background: rgba(13,13,13,0.78); }
@media (max-width: 800px) {
  /* polish 11-09: phone hero sizes to its content (no full-screen height), less space above the label and below the prices */
  #top { min-height: 0 !important; }
  #top .hero-pad { padding-top: 100px !important; padding-bottom: 40px !important; }
  .cta-row > .hero-clip { order: 2; max-width: none; margin: 0; }
  .cta-row > .js-try { order: 3; }
  /* shorter phone hero: the bold line + the 3 checks stay on desktop only */
  .hero-bold, .hero-checks { display: none !important; }
}

/* right-aligned CTA block in a split card (homepage "Don't see your trade?"); stays left once the card stacks */
@media (min-width: 900px) { .trial-meta--end { align-items: flex-end; text-align: right; } .trial-meta--end .trial-terms { justify-content: flex-end; } }
/* the two dark callout cards on the homepage ("Don't see your trade?" + agencies): same-size buttons (Ido 11-30) */
.cta-pair { box-sizing: border-box; min-width: 264px; justify-content: center; text-align: center; }
@media (max-width: 420px) { .cta-pair { min-width: 0; } }
