/* ------------------------------------------------------------------
   Sub-page shell — the marketing counterpart to legal.css.

   legal.css is a document layout (single column, TOC, dense prose), right
   for /privacy-policy and /terms. Marketing sub-pages need the landing's
   section rhythm instead.

   Deliberately small. Sections use the EXISTING .zl-section primitive
   (base.css) rather than a parallel one, and width comes from .zl-frame on
   <main> — so this file only adds what genuinely does not exist: a page
   hero, breadcrumbs, and a split content/aside layout.

   Tokens only. No new colour, type step, spacing value or easing curve.
   ------------------------------------------------------------------ */

/* --- Breadcrumb ------------------------------------------------------ */
/* Mono + uppercase + label tracking, matching .zl-eyebrow, so the two read
   as the same family of small type. */
.breadcrumb {
  margin-bottom: var(--zl-space-5);
  color: var(--zl-muted-text);
  font-family: var(--zl-font-mono);
  font-size: var(--zl-text-xs);
  letter-spacing: var(--zl-tracking-label);
  text-transform: uppercase;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--zl-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--zl-space-2);
}

/* Generated separator keeps the markup a clean list of links. */
.breadcrumb li + li::before {
  content: "/";
  opacity: .55;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color var(--zl-duration-fast) var(--zl-ease-standard);
}

.breadcrumb a:hover {
  color: var(--zl-ink);
}

.breadcrumb [aria-current="page"] {
  color: var(--zl-ink);
}

/* --- Page hero ------------------------------------------------------- */
/* Sits on --zl-surface, one step up from the --zl-paper page, the same way
   .stats-placeholder does on the landing. Tighter than .zl-section on
   purpose: a hero should not carry the full 9.5rem section rhythm. */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 3.4vw, 4rem);
  border-bottom: 1px solid var(--zl-line);
  background: var(--zl-surface);
}

.page-hero h1 {
  max-width: 20ch;
  margin-top: var(--zl-space-4);
  font-size: var(--zl-type-feature-heading-size);
  line-height: var(--zl-leading-feature);
}

.page-hero__lede {
  max-width: 46ch;
  margin-top: clamp(1rem, 1.6vw, 1.5rem);
  color: var(--zl-body);
  font-size: var(--zl-type-lead-size);
  line-height: var(--zl-leading-lead);
}

.page-hero .zl-button-row {
  margin-top: clamp(1.5rem, 2.4vw, 2.25rem);
}

/* Hero with a visual beside the copy [Arjun, 2026-08-09]. The Grow hero shows
   the enriched profile card, because one fictional person resolved from a phone
   number says what the product does faster than the lede under it can.

   Stacks below 64rem with the copy first: the card is the proof, and proof
   before the claim reads as decoration. */
.page-hero--split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 64rem) {
  .page-hero--split { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); }
}
.page-hero--split .page-hero__copy { min-width: 0; }
.page-hero--split .page-hero__figure {
  min-width: 0;
  display: grid;
  justify-items: center;
}
/* The card sizes itself to 33rem inside the journey's wide panel; here the
   column is the constraint, so it takes what it is given. */
.page-hero--split .grow-b-understand__card { width: 100%; }

/* --- Section heads inside .zl-section -------------------------------- */
.page-section__head {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  display: grid;
  gap: var(--zl-space-4);
}

.page-section__head h2 {
  max-width: 24ch;
  font-size: var(--zl-type-section-heading-size);
  line-height: var(--zl-leading-section);
}

.page-section__head p {
  max-width: 52ch;
  color: var(--zl-body);
  font-size: var(--zl-type-lead-size);
  line-height: var(--zl-leading-lead);
}

/* --- Split layout ---------------------------------------------------- */
/* Main column holds the primary object (a booking embed, a code sample);
   the aside carries supporting detail. */
.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.page-aside {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2rem);
}

.page-aside__block {
  display: grid;
  gap: var(--zl-space-3);
}

.page-aside__block h3 {
  font-size: var(--zl-type-card-heading-size);
  line-height: var(--zl-leading-card);
}

.page-aside__block p,
.page-aside__block li {
  color: var(--zl-body);
  font-size: var(--zl-text-sm);
  line-height: var(--zl-leading-copy);
}

.page-aside__block ul {
  display: grid;
  gap: var(--zl-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Matches .faq-item__body a — the site's established link treatment. */
.page-aside__block a {
  color: var(--zl-cobalt);
  text-underline-offset: .2em;
}

@media (max-width: 56rem) {
  .page-split {
    grid-template-columns: 1fr;
  }
}
