/* Small additions for marketing pages (product, booking, checkout, legal).
   Everything else comes from site.css. */

.hero-split { align-items: start; }
.split-top { align-items: start; }

/* form messages that site.js fills in: hide the box while empty */
.alert.form-msg:empty { display: none; }

/* feature list with icon on the left */
.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row .feature-icon { margin-bottom: 0; flex: none; }
.feature-row h3 { font-size: 1.1rem; margin-bottom: .25em; }
.feature-row p { margin: 0; }
.feature-list { display: grid; gap: 28px; }

/* option comparison cards on /custom-crm */
.option-card { display: flex; flex-direction: column; height: 100%; }
.option-card .checklist { margin: 18px 0 24px; }
.option-card .btn { margin-top: auto; }
.option-card h3 { font-size: 1.4rem; }

/* tag cloud of customizable items */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tag-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-sm); }

/* compare table wrapper */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.table-scroll .compare { min-width: 640px; }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--faint); }
.compare tbody th { font-weight: 600; color: var(--ink); text-align: left; }

/* faq groups */
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 8px; }

/* booking */
.book-step { margin-bottom: 28px; }
.book-step:last-child { margin-bottom: 0; }
.book-step h2 { font-size: 1.15rem; margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-grid; place-items: center; font-size: .85rem; flex: none; }
.tz-note { font-size: .85rem; color: var(--muted); margin: 0 0 12px; }
.picked { background: var(--blue-50); border-radius: 10px; padding: 10px 14px; font-weight: 600; color: var(--blue-darker); margin-bottom: 16px; }
.booker .form-card { align-self: start; }
.slot-empty { color: var(--muted); font-size: .95rem; }

/* checkout */
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-row:last-child { border-bottom: 0; }
.summary-total { font: 800 1.4rem var(--font-head); color: var(--ink); }
.qty-input { max-width: 120px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.checkout-grid .sticky { position: sticky; top: 96px; }
.form-section-title { font-size: 1.05rem; margin: 26px 0 12px; }
.form-section-title:first-child { margin-top: 0; }

/* case study */
.cs-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cs-facts small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.cs-facts strong { color: var(--ink); }

/* course curriculum */
.curriculum { display: grid; gap: 16px; }
.module { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.module h3 { font-size: 1.1rem; margin-bottom: 10px; }
.module ol { margin: 0; padding-left: 1.2em; color: var(--muted); }
.module li { margin-bottom: 6px; }
.module li strong { color: var(--ink); font-weight: 600; }

/* legal */
.legal .updated { color: var(--muted); font-size: .9rem; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 1em 0; }
.legal th, .legal td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }

/* values on /about */
.value-num { font: 800 1rem var(--font-head); color: var(--blue); margin-bottom: 6px; display: block; }

@media (max-width: 960px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-grid .sticky { position: static; }
  .cs-facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .cta-band .row { width: 100%; }
  .cta-band .row .btn { flex: 1; }
  .btn { white-space: normal; text-align: center; }
}
