/* ============================================================
   PRODUCT LANDING PAGES (shared across the five /product pages)

   Reuses v3.css tokens + home.css section grammar. Only the pieces
   that don't exist in v3.css / home.css / solutions.css live here:
   the breadcrumb bar, the text-only sub-page hero band, the .facts
   stat row, the numbered .steps flow, the .related link cards and
   the .faq accordion.

   Loaded after home.css by resources/views/v3/product/layout.blade.php.
   ============================================================ */

/* let grid/flex children shrink below their content size so wide
   images and calendars never blow out the layout on phones
   (same guard as .sol in solutions.css) */
.prod .split>*{min-width:0}
.prod .split-visual{max-width:100%}

/* Breadcrumbs (.crumbs) and cross-link pills (.sol-crosslinks, a.qchip)
   moved to v3.css — they are shared with the solutions pages. */

/* ============================================================
   PAGE HERO — text-only band. No image, so the <h1> is the LCP
   element; nothing is preloaded for these pages.
   ============================================================ */
.page-hero{
  position:relative;overflow:hidden;
  padding:104px 0 64px;
  background:
    radial-gradient(60% 120% at 88% -10%,rgba(1,44,24,.055),transparent 62%),
    radial-gradient(46% 100% at 4% 108%,rgba(245,158,11,.05),transparent 60%),
    var(--white);
  border-bottom:1px solid var(--border);
}
.page-hero-in{position:relative;z-index:1;max-width:820px}
.page-hero h1{
  margin:20px 0 0;
  font-size:clamp(2.2rem,5.2vw,3.6rem);font-weight:900;
  letter-spacing:-.035em;line-height:1.03;
}
.page-hero .h3{margin-top:12px;color:var(--primary)}
.page-hero .lead{margin-top:20px;max-width:660px}
.page-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}

@media(max-width:640px){
  .page-hero{padding:80px 0 46px}
  .page-hero h1{font-size:1.7rem;letter-spacing:-.03em;margin-top:16px}
  .page-actions{margin-top:26px}
  .page-actions .btn{flex:1 1 100%}
}

/* ============================================================
   FACTS — 3-up stat row (home.css's .stat-strip is a single stat)
   ============================================================ */
.facts{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
  margin-top:44px;
}
.fact{
  background:var(--surface-alt);border:1px solid var(--border);
  border-radius:var(--radius);padding:26px 24px;
}
.fact .fn{
  font-size:clamp(1.5rem,3.4vw,2.1rem);font-weight:900;
  color:var(--primary);letter-spacing:-.03em;line-height:1;
}
.fact .fl{font-size:.9rem;color:var(--muted);margin-top:10px;line-height:1.5}
.fact .fl b{color:var(--primary);font-weight:800}

@media(max-width:900px){.facts{grid-template-columns:1fr;gap:14px}}

/* ============================================================
   STEPS — numbered how-it-works. 4-up by default, .three for 3.
   ============================================================ */
.steps{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
  margin-top:44px;counter-reset:none;
}
.steps.three{grid-template-columns:repeat(3,1fr)}
.step{
  position:relative;background:#fff;border:1px solid var(--border);
  border-radius:var(--radius);padding:26px 24px;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s;
}
.step:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--primary-10)}
.step .sn{
  width:34px;height:34px;border-radius:10px;
  background:var(--primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:.95rem;font-weight:800;margin-bottom:16px;
}
.step .st{font-weight:700;font-size:1rem}
.step .sd{font-size:.87rem;color:var(--muted);margin-top:7px;line-height:1.5}

@media(max-width:960px){
  .steps,.steps.three{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .steps,.steps.three{grid-template-columns:1fr}
}

/* ============================================================
   PAYMENT ROUTES (/booking-engine "Two payment pages" section)
   A .split whose left column stacks two bare .step cards (no
   .steps grid parent) beside a single phone screenshot.
   ============================================================ */
.pay-stack{display:flex;flex-direction:column;gap:18px}
.pay-shot{display:flex;justify-content:center;align-items:flex-start}
.pay-shot .gcard .phone{max-width:280px}
/* caption under a standalone screenshot — matches .vd-cap .vs in home.css */
.shot-cap{margin-top:16px;text-align:center;font-size:.82rem;color:var(--muted)}

@media(max-width:900px){
  .pay-shot{margin-top:34px}
}

/* ============================================================
   RELATED — "Explore more" link cards. Also used on /pricing as
   the "included in every account" grid.
   ============================================================ */
.related{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
  margin-top:44px;
}
.rcard{
  display:block;text-decoration:none;color:inherit;
  background:#fff;border:1px solid var(--border);
  border-radius:var(--radius);padding:24px;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s;
}
.rcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--primary)}
.rcard .rt{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  font-weight:700;font-size:1rem;color:var(--primary);
}
.rcard .rt svg{flex:none;transition:transform .25s var(--ease)}
.rcard:hover .rt svg{transform:translateX(4px)}
.rcard .rd{font-size:.86rem;color:var(--muted);margin-top:8px;line-height:1.45}

@media(max-width:960px){.related{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.related{grid-template-columns:1fr}}

/* ============================================================
   FAQ — native <details> accordion, no JS.
   Same interaction as .sol-faq in solutions.css; kept under its own
   class so the product pages don't have to load solutions.css.
   ============================================================ */
.faq{max-width:760px;margin:38px auto 0;display:flex;flex-direction:column;gap:12px}
.faq details{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 22px;font-weight:700;font-size:.98rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;font-weight:500;color:var(--primary);line-height:1;flex:none;transition:transform .25s var(--ease)}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .fa{padding:0 22px 18px;color:var(--muted);font-size:.93rem;line-height:1.6}
.faq .fa a{color:var(--primary);font-weight:600;text-decoration:underline;text-underline-offset:2px}

@media(max-width:640px){
  .faq summary{padding:14px 16px;font-size:.9rem}
  .faq .fa{padding:0 16px 15px}
}

/* ============================================================
   GRID MODIFIERS on home.css grammar
   ============================================================ */
/* home.css .feat-grid is 5-up; bookings needs 4 */
.feat-grid.four{grid-template-columns:repeat(4,1fr)}
@media(max-width:960px){.feat-grid.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.feat-grid.four{grid-template-columns:1fr}}

/* home.css .feat-list is a single column; brand-website runs six short
   items two-up so the section doesn't become a long stack */
.feat-list--two{
  margin-top:34px;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px 40px;
}
