/* buyer.css */
.buyer-intro h1 { max-width: 17ch; }
.buyer-intro .lead { max-width: 65ch; }
.buyer-links { display: flex; flex-wrap: wrap; gap: .55rem 1.35rem; margin-block: 1rem; }
.buyer-links a { color: #143fbd; text-underline-offset: .2em; }
.buyer-section { display: grid; grid-template-columns: minmax(11rem, .75fr) minmax(0, 2fr); gap: clamp(1rem, 5vw, 4rem); border-top: 1px solid #dfe5ef; }
.buyer-section h2 { margin: 0; }
.buyer-section > div { max-width: 70ch; }
.buyer-ledger { margin: 0; }
.buyer-ledger > div { display: grid; grid-template-columns: minmax(8.5rem, .65fr) minmax(0, 1.6fr); gap: .6rem 1.2rem; padding: .95rem 0; border-bottom: 1px solid #dfe5ef; }
.buyer-ledger > div:first-child { padding-top: 0; }
.buyer-ledger dt { color: #152444; font-weight: 700; }
.buyer-ledger dd { margin: 0; }
.buyer-print-contact { display: none; }
@media (max-width: 680px) {
  .buyer-section, .buyer-ledger > div { grid-template-columns: minmax(0, 1fr); }
  .buyer-section { gap: 1rem; }
}
@media print {
  @page { margin: 14mm; }
  .skip-link { display: none; }
  .buyer-print, .buyer-intro .actions, .buyer-section .actions { display: none; }
  body:has(.buyer-print) .buyer-intro,
  body:has(.buyer-print) .buyer-section {
    display: block;
    width: auto;
    margin: 0;
    padding: 12pt 0;
  }
  body:has(.buyer-print) .buyer-intro h1 { max-width: none; font-size: 23pt; }
  body:has(.buyer-print) .buyer-intro .lead { font-size: 11pt; }
  body:has(.buyer-print) .buyer-section h2 { margin: 0 0 10pt; font-size: 15pt; break-after: avoid; }
  body:has(.buyer-print) .buyer-section > div { max-width: none; }
  body:has(.buyer-print) .buyer-ledger > div {
    grid-template-columns: minmax(105pt, 1fr) minmax(0, 3fr);
    padding: 7pt 0;
    break-inside: avoid;
  }
  .buyer-print-contact { display: block; overflow-wrap: anywhere; }
}

.buyer-code {
  background: #f4f7fd;
  border-left: .2rem solid #2a55d6;
  color: #152444;
  padding: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.service-example-step {
  margin-block: .65rem;
  padding: .8rem 1rem;
}
.service-example-step summary { cursor: pointer; font-weight: 650; }
.service-example-step p { margin: .6rem 0 0; }
.buyer-proof-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.pilot-form-details { border-top: 1px solid var(--line); padding-block: .75rem; }
.pilot-form-details summary { cursor: pointer; font-weight: 650; }
.pilot-form-details[open] summary { margin-bottom: .9rem; }
.pilot-value-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; }
.pilot-value-inputs label { display: grid; align-content: start; gap: .3rem; }
.pilot-value-inputs input { width: 100%; min-width: 0; color: var(--text, #152444); background: #fff; border: 1px solid #76829b; border-radius: .35rem; padding: .55rem; font: inherit; }
@media print { [data-pilot-value] { display: none; } }

/* buyer-offers.css */
.buyer-offers {
  padding-block: clamp(36px, 5vw, 66px);
  scroll-margin-top: 88px;
}
.buyer-offers h2 { margin: 0 0 20px; }
.buyer-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.buyer-offer-grid > article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px solid var(--line);
  padding: 16px 0;
}
.buyer-offer-grid > article:first-child { border-top-color: var(--action); }
.buyer-offer-grid h3, .buyer-offer-grid p { margin: 0; }
.buyer-offer-grid p { color: var(--muted); }
.buyer-offer-links { display: grid; align-items: start; justify-items: start; gap: 10px; margin-top: auto; }
@media (max-width: 760px) {
  .buyer-offer-grid { grid-template-columns: 1fr; }
}

/* Free AI visibility snapshot and the LLM cost calculator (sixth cycle) */
.visibility-snapshot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.visibility-snapshot h2 { margin: 4px 0 10px; }
.snapshot-form, .cost-calc { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface, #fff); }
.snapshot-form .row, .cost-calc .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.snapshot-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2, var(--muted)); }
.snapshot-form .check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.snapshot-result { border-top: 1px solid var(--line); padding-top: 14px; }
.snapshot-result h3 { margin: 0 0 10px; }
.cost-calc output { font-weight: 700; }
.cost-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 6px 0 0; }
.cost-results div { border-top: 2px solid var(--line); padding-top: 10px; }
.cost-results div:first-child { border-top-color: var(--action); }
.cost-results dt { color: var(--muted); font-size: 14px; }
.cost-results dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; }
@media (max-width: 760px) {
  .visibility-snapshot, .snapshot-form .row, .cost-calc .row, .cost-results { grid-template-columns: 1fr; }
}
.client-case { border-top: 2px solid var(--line); padding: 14px 0; }
.client-case:first-of-type { border-top-color: var(--action); }
.client-case h3 { margin: 0 0 6px; }
.client-case h4 { margin: 12px 0 4px; font-size: 15px; }
.founding-offer { border: 1px solid var(--action); border-radius: 16px; padding: clamp(18px, 3vw, 28px); }
.founding-offer h2 { margin: 4px 0 8px; }
.mini-audit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.visibility-trend svg { width: 100%; max-width: 640px; height: auto; }
@media (max-width: 760px) { .mini-audit { grid-template-columns: 1fr; } }

/* ---- Conversion redesign (30 November 2026): real product screens, tighter offer pages ---- */
.home-hero, .offer-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.offer-hero h1 { font-size: clamp(34px, 3.6vw, 52px); }
.offer-hero .breadcrumbs { margin-bottom: 16px; }
.home-hero-media { display: grid; gap: 14px; }
.hero-credentials { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; }
.hero-credentials a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.sample-preview { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 24px 40px; align-items: center; padding: 32px clamp(20px, 3vw, 36px); margin-top: 8px;
  background: var(--surface-subtle); border: 1px solid var(--line); border-radius: var(--radius-3); }
.section.sample-preview + .section { border-top: 0; }
.sample-preview h2 { font-size: 22px; margin: 4px 0 6px; }
.sample-preview h2 a { color: var(--ink); text-decoration: none; }
.sample-preview h2 a:hover { color: var(--action); }

.offer-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 48px 0; }
.offer-facts article { border: 1px solid var(--line); border-radius: var(--radius-2); padding: 22px; background: var(--surface); }
.offer-facts h2 { font-size: 20px; margin: 0 0 12px; }
.offer-facts p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 10px; }
.offer-section { padding: 48px 0; }
.offer-section h2 { font-size: 26px; margin: 0 0 16px; }
.offer-section > .checklist { max-width: 820px; margin-bottom: 16px; }

.offer-grid-section .section-heading { margin-bottom: 24px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.offer-tile { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius-2); overflow: hidden; background: var(--surface); transition: border-color .16s, box-shadow .16s; }
.offer-tile:hover { border-color: var(--action); box-shadow: 0 10px 28px rgba(16,24,40,.08); }
.offer-tile-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-subtle); border-bottom: 1px solid var(--line); }
.offer-tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.offer-tile-body { display: grid; align-content: start; gap: 6px; padding: 18px 20px 20px; }
.offer-tile-body h3 { font-size: 19px; margin: 0; }
.offer-tile-body h3 a { color: var(--ink); text-decoration: none; }
.offer-tile-body p { margin: 0; color: var(--muted); font-size: 15px; }
.offer-tile-body .offer-price { color: var(--ink); font-weight: 600; font-style: normal; }
.offer-tile-body .work-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }

.section.catalogue-figure, .section.sample-figure { padding-top: 0; padding-bottom: 40px; }
.catalogue-figure > figure, .sample-figure > figure { max-width: 880px; }

@media (max-width: 980px) {
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-facts { grid-template-columns: 1fr; }
  .sample-preview { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .home-hero, .offer-hero { grid-template-columns: 1fr; padding-top: 28px; }
  .offer-grid { grid-template-columns: 1fr; }
  /* Keep the price and the first button on the first screen of a phone. */
  .home-hero h1, .offer-hero h1 { font-size: 32px; line-height: 1.12; margin-bottom: 14px; }
  .home-hero .lead, .offer-hero .lead { font-size: 17px; line-height: 1.55; }
  .home-hero .eyebrow { font-size: 13px; margin-bottom: 10px; }
  .home-hero-media .person-card { display: none; }
}

.sample-shot { grid-column: 1 / -1; margin-top: 8px; }
.service-visual { display: grid; gap: 24px; padding-bottom: 40px; }
.service-visual .offer-figure { max-width: none; }
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.glance div { border: 1px solid var(--line); border-radius: var(--radius-2); padding: 16px 18px; background: var(--surface-subtle); }
.glance dt { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.glance dd { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) { .glance { grid-template-columns: 1fr; } }

/* ai-services.css */
.integration-index {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.35rem;
  margin-block: 0 1.35rem;
}
.integration-index a { font-weight: 650; }
.integration-group {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.35fr);
  gap: clamp(1.25rem, 5vw, 4.5rem);
  padding-block: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.integration-group h3, .integration-group h4 { margin: 0; }
.integration-group p { margin-block: .4rem .65rem; max-width: 67ch; color: var(--muted); }
.integration-group ul { margin: 0; padding: 0; list-style: none; }
.integration-group li + li { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .integration-group { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
}
