/* =====================================================================
   APS · V4 company + conversion pages
   about · work · audit · sample-audit-plan · data-safety
   Loaded after v4.css. Uses v4.css tokens only; adds what those pages need.
   ===================================================================== */

/* ---------- Shared: crumbs, links and focus on dark grounds ---------- */
.g-ink .crumb { color: var(--on-dark-2); }
.g-ink .crumb a { color: var(--on-dark); border-bottom-color: var(--rule-dark-2); transition: border-color .2s, color .2s; }
.g-ink .crumb a:hover { color: var(--on-dark); border-bottom-color: var(--gold-lt); }
.crumb a { transition: border-color .2s, color .2s; }
.link:active { color: var(--gold-dk); }
.g-ink .link:active, .g-brown .link:active { color: var(--gold-lt); }
.co-gap { margin-top: var(--s3); }
.co-links { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }

/* ---------- Ink hero (work, sample plan): heading left, lead + actions right ---------- */
.co-hero { padding: clamp(40px, 5vw, 72px) 0 var(--section); }
.co-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s4) clamp(40px, 6vw, 96px); align-items: end; }
.co-hero h1 { font-size: clamp(46px, 5.8vw, 92px); line-height: .96; letter-spacing: -.01em; color: var(--on-dark); }
.co-hero h1 em { font-weight: 500; color: var(--gold-lt); }
.co-hero .page-actions { margin-top: var(--s5); }
.co-hero .page-actions .link { color: var(--on-dark); }
.plan-pdf { margin-top: var(--s3); }

/* Work hero: the conveyor plate is the hero object */
.work-hero .conveyor { margin-top: clamp(56px, 6vw, 88px); }
/* Real-result payoffs are longer ("About 10 min"): keep them on one line */
.work-hero .end-cap .big { font-size: clamp(24px, 2.1vw, 32px); white-space: nowrap; }

/* ---------- Work: the three real systems as solid stat blocks ---------- */
.stat-row { margin-top: clamp(56px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s1); padding: var(--s5) var(--s5) var(--s4); border-radius: var(--r-s); }
.stat .tag { margin-bottom: var(--s3); }
.stat .n { font: 600 clamp(44px, 4.2vw, 66px)/.95 var(--display); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.stat .what { margin-top: var(--s2); font-weight: 600; font-size: 16.5px; }
.stat .cap { font-size: 15px; line-height: 1.45; }
.stat .link { margin-top: auto; padding-top: var(--s4); font-size: 15px; }
.stat-gold { background: var(--gold); color: var(--ink); }
.stat-gold .cap { color: var(--ink-2); }
.stat-gold .link { color: var(--ink); text-decoration-color: var(--ink); }
.stat-gold .link:hover { text-decoration-color: var(--brown); color: var(--brown); }
.stat-cream { background: var(--cream); color: var(--ink); }
.stat-cream .cap { color: var(--ink-2); }
.stat-cream .link { color: var(--ink); text-decoration-color: var(--gold); }
.stat-brown { background: var(--brown); color: var(--on-dark); }
.stat-brown .cap { color: var(--on-dark-2); }
.stat-brown .link { color: var(--on-dark); text-decoration-color: var(--gold-lt); }
.stat-gold :focus-visible, .stat-cream :focus-visible { outline-color: var(--ink); }

/* ---------- Editorial split (about story, work problem) ---------- */
.co-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) clamp(40px, 6vw, 112px); align-items: start; }
.co-split-photo { align-items: center; }
.co-split-photo .plate-fig .ph { aspect-ratio: 4 / 5; }
.prose .h2 { margin-bottom: var(--s5); }
.prose p { max-width: 36em; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose p + p { margin-top: var(--s3); }
.prose .first { font: 500 clamp(25px, 2.3vw, 34px)/1.28 var(--display); color: var(--ink); max-width: 24em; }
.prose .first + p { margin-top: var(--s4); }

/* ---------- About: principles as a ruled grid on ink ---------- */
.prin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s6); }
.prin-grid li { padding: var(--s4) 0 var(--s5); border-top: 1px solid var(--rule-dark-2); }
.prin-grid h3 { font-size: clamp(25px, 2vw, 30px); color: var(--on-dark); }
.prin-grid p { margin-top: var(--s2); font-size: 15.5px; color: var(--on-dark-2); }
.founder-card .body + .body { margin-top: calc(var(--s2) * -1); }

/* ---------- About: contact rows beside the map ---------- */
.contact-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s6) clamp(40px, 6vw, 96px); align-items: center; }
.contact-row .lead { margin-top: var(--s4); }
.contact-list { margin: var(--s5) 0 0; }
.contact-list div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s1) var(--s4); padding: var(--s3) 0; border-top: 1px solid var(--rule); }
.contact-list div:last-child { border-bottom: 1px solid var(--rule); }
.contact-list dt { font-size: 14px; font-weight: 600; color: var(--ink-3); padding-top: 2px; }
.contact-list dd { margin: 0; font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.contact-row .place-map { max-width: 440px; }

/* ---------- Work: ruled system index ---------- */
.sys-list article { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s4) var(--s7); padding: var(--s6) 0; border-top: 1px solid var(--rule-strong); scroll-margin-top: 96px; }
.sys-list article:last-child { border-bottom: 1px solid var(--rule-strong); }
.sys-tag { margin-bottom: var(--s3); }
.sys-list h3 { font-size: clamp(30px, 2.6vw, 40px); }
.sys-num { margin-top: var(--s3); font: 600 clamp(34px, 3vw, 46px)/1 var(--display); color: var(--gold-dk); font-variant-numeric: lining-nums; }
.sys-num small { display: block; margin-top: var(--s2); font: 400 15px/1.45 var(--text); color: var(--ink-2); max-width: 22em; }
.sys-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s5); }
.sys-cols h4 { font: 600 15px/1.3 var(--text); color: var(--ink); }
.sys-cols p { margin-top: var(--s1); font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.sys-list .ba { margin-top: var(--s4); }
.more-note { grid-column: 1 / -1; margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); }
.more-note b { color: var(--ink); }
.more-note .link { margin-left: var(--s1); white-space: nowrap; }

/* ---------- Audit: what you get + plan excerpt ---------- */
.co-get { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6) clamp(40px, 6vw, 96px); align-items: start; }
.co-get .lead { margin: var(--s4) 0 var(--s4); }
.doc-plate { margin: 0; }
.doc-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--rule-strong); font-size: 15px; }
.doc-plate figcaption { margin-top: var(--s3); }

/* Plan tables (audit excerpt + sample plan): ruled, no tinted pills */
.plan-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.plan-table th { text-align: left; padding: var(--s3) var(--s3) var(--s2) 0; font: 600 13px/1.3 var(--text); color: var(--ink-3); border-bottom: 1px solid var(--rule-strong); vertical-align: bottom; }
.plan-table td { padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.plan-table td b { color: var(--ink); }
.plan-table .num { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.plan-table tbody tr { transition: background-color .2s; }
.plan-table tbody tr:hover { background: rgba(14, 17, 23, .035); }
.prio-skip { font: italic 600 17px/1 var(--display); color: var(--ink-3); white-space: nowrap; }
@media (max-width: 640px) {
  .plan-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .plan-table, .plan-table tbody, .plan-table tr, .plan-table td { display: block; width: 100%; }
  .plan-table tr { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
  .plan-table td { display: flex; justify-content: space-between; gap: var(--s3); padding: 4px 0; border: 0; text-align: right; }
  .plan-table td::before { content: attr(data-label); flex: none; font-size: 13px; font-weight: 600; color: var(--ink-3); text-align: left; }
  .plan-table td:first-child { display: block; padding-bottom: var(--s2); text-align: left; color: var(--ink); }
  .plan-table td:first-child::before { display: none; }
}

/* ---------- Audit: the calculator band stands on its own here ---------- */
.calc-band.calc-solo { margin-top: 0; scroll-margin-top: 64px; }
.calc-after { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--rule-dark); max-width: 62em; font-size: 15px; line-height: 1.6; color: var(--on-dark-2); }
.calc-after b { color: var(--on-dark); }

/* ---------- Audit: who leads it ---------- */
.lead-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s6) clamp(40px, 7vw, 120px); align-items: center; }
.lead-split .plate-fig { max-width: 400px; }
.lead-split .plate-fig .ph { aspect-ratio: 4 / 5; }
.lead-split .ph img { object-position: center 20%; }
.lead-split .role { margin: var(--s3) 0 var(--s4); font-size: 15px; color: var(--ink-3); }
.lead-split .role b { color: var(--ink); }
.lead-split p:not(.role) { max-width: 36em; color: var(--ink-2); }
.lead-split p + p { margin-top: var(--s3); }
.lead-split .link { display: inline-block; margin-top: var(--s4); }

/* ---------- Sample plan: the report sheet ---------- */
.report-sec { padding-block: var(--section); }
.sheet { max-width: 1000px; margin-inline: auto; background: var(--cream); color: var(--ink); border-radius: var(--r-s); box-shadow: var(--sh-hero); overflow: hidden; }
.sheet-flag { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) clamp(20px, 6vw, 88px); background: var(--ink); color: var(--on-dark-2); font-size: 14.5px; line-height: 1.45; }
.sheet-flag b { color: var(--on-dark); }
.sheet-body { padding: clamp(32px, 6vw, 88px); }
.sheet-letter { display: flex; align-items: center; gap: 10px; font: 600 11.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.sheet-kind { margin-top: var(--s6); font: italic 600 20px/1.2 var(--display); color: var(--gold-dk); }
.sheet-head h2 { margin-top: var(--s1); font-size: clamp(40px, 4.6vw, 66px); line-height: 1; }
.sheet-meta { margin: var(--s5) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule-strong); }
.sheet-meta div { padding: var(--s3) var(--s3) var(--s3) 0; }
.sheet-meta div + div { padding-left: var(--s3); border-left: 1px solid var(--rule); }
.sheet-meta dt { font-size: 13px; color: var(--ink-3); }
.sheet-meta dd { margin: 4px 0 0; font-weight: 600; font-size: 15.5px; }

.rsec { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: var(--s3) var(--s6); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--rule-strong); }
.rsec-wide { grid-template-columns: 1fr; }
.rsec > h3 { font-size: clamp(25px, 2.1vw, 30px); line-height: 1.12; }
.rn { display: block; margin-bottom: var(--s1); font: italic 600 20px/1 var(--display); color: var(--gold-dk); font-variant-numeric: lining-nums; }
.rsec p { color: var(--ink-2); }
.rsec p + p { margin-top: var(--s2); }
.rsec .fine { margin-top: var(--s3); }
.r-lede { font: 500 clamp(22px, 1.9vw, 27px)/1.32 var(--display); color: var(--ink) !important; }
.r-stats { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.r-stats li { padding: var(--s3) var(--s3) 0 0; }
.r-stats li + li { padding-left: var(--s3); border-left: 1px solid var(--rule); }
.r-stats b { display: block; white-space: nowrap; font: 600 clamp(32px, 3vw, 44px)/1 var(--display); font-variant-numeric: lining-nums; }
.r-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.r-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s1) var(--s4); padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); }
.r-list li:last-child { border-bottom: 1px solid var(--rule); }
.r-list b { color: var(--ink); }
.r-flow { margin-top: var(--s4); counter-reset: flow; }
.r-flow li { counter-increment: flow; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: var(--s1) var(--s3); align-items: baseline; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15.5px; }
.r-flow li:last-child { border-bottom: 1px solid var(--rule); }
.r-flow li::before { content: counter(flow); font: italic 600 18px/1 var(--display); color: var(--ink-3); font-variant-numeric: lining-nums; }
.r-flow li { padding-left: 14px; }
.r-flow li.hot { background: linear-gradient(var(--gold), var(--gold)) left center / 4px 100% no-repeat; }
.r-flow li.hot::before { color: var(--gold-dk); }
.r-flow b { font-weight: 600; color: var(--ink); }
.r-flow b .tag { margin-left: 6px; vertical-align: 1px; }
.r-flow span { font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.rsec p .tag { vertical-align: 1px; }
.r-rec { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s4) var(--s6); align-items: start; }
.r-rec h4 { font-size: clamp(24px, 2vw, 28px); margin-bottom: var(--s2); }
.r-bill { margin: 0; border-top: 2px solid var(--ink); }
.r-bill div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 12px 0; border-bottom: 1px solid var(--rule); }
.r-bill dt { font-size: 15px; color: var(--ink-2); }
.r-bill dt small { display: block; font-size: 13px; color: var(--ink-3); }
.r-bill dd { margin: 0; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-bill .total { border-bottom: 2px solid var(--ink); }
.r-bill .total dt { font-weight: 600; color: var(--ink); }
.r-bill .total dd { font: 600 clamp(34px, 3vw, 44px)/1 var(--display); font-variant-numeric: lining-nums; }
.r-next b { color: var(--ink); }
.sheet-sign { margin-top: var(--s7); padding-top: var(--s3); border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4); }

/* ---------- Data safety: dark summary + ruled practice list ---------- */
.sum-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s5); }
.sum-grid li { padding-top: var(--s4); border-top: 2px solid var(--gold-lt); }
.sum-grid b { display: block; font: 600 clamp(26px, 2.2vw, 32px)/1.1 var(--display); color: var(--on-dark); }
.sum-grid span { display: block; margin-top: var(--s2); font-size: 15.5px; line-height: 1.55; color: var(--on-dark-2); }
.prac-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); }
.prac-list li { padding: var(--s4) 0 var(--s5); border-top: 1px solid var(--rule-strong); }
.prac-list h3 { font-size: clamp(24px, 1.9vw, 28px); }
.prac-list p { margin-top: var(--s2); max-width: 34em; font-size: 16px; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sum-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s5); }
}
@media (max-width: 960px) {
  .co-hero-grid, .co-split, .contact-row, .sys-list article, .co-get, .lead-split, .r-rec { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .prin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-row .place-map { justify-self: start; }
  .co-split-photo .plate-fig .ph { aspect-ratio: 16 / 10; }
  .lead-split .plate-fig { max-width: 320px; }
  .rsec { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .prin-grid, .prac-list, .sum-grid, .sys-cols { grid-template-columns: 1fr; }
  .stat { padding: var(--s4); }
  .contact-list div { grid-template-columns: 1fr; }
  .sheet-meta, .r-stats { grid-template-columns: 1fr; }
  .sheet-meta div, .sheet-meta div + div, .r-stats li, .r-stats li + li { padding: var(--s2) 0; border-left: 0; }
  .sheet-meta div + div, .r-stats li + li { border-top: 1px solid var(--rule); }
  .sheet-flag { align-items: flex-start; }
  .r-list li { grid-template-columns: 1fr; gap: 2px; }
  .r-flow li { grid-template-columns: 28px minmax(0, 1fr); }
  .r-flow span { grid-column: 2; white-space: normal; }
  .more-note { margin-top: var(--s4); }
  .more-note .link { margin-left: 0; display: inline-block; margin-top: var(--s1); }
}

/* Lists that follow a paragraph in the two-column notes need air */
.notes-two p + .plain { margin-top: var(--s3); }

/* =====================================================================
   BOOK · book.html: focused header, stepper, price table, order summary
   ===================================================================== */
.nav-focus .wrap { height: 68px; }
.nav-help { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-3); }
.nav-help a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.nav-help a i { font-size: 18px; color: var(--gold-dk); }
.nav-help a:hover { text-decoration-color: var(--gold); }
.nav-help a:active { text-decoration-color: currentColor; }
@media (max-width: 480px) { .nav-help > span { display: none; } }

.book-hero { padding-block: clamp(36px, 5vw, 72px) clamp(40px, 5vw, 64px); }
.book-title { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s4) clamp(32px, 5vw, 80px); margin-top: var(--s4); }
.book-title h1 { font-size: clamp(44px, 5.6vw, 86px); line-height: .98; letter-spacing: -.012em; }
.book-title .lead { padding-bottom: 6px; }
.book-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-top: clamp(32px, 4vw, 56px); }
.book-steps li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-top: 20px; border-top: 1px solid var(--rule-strong); color: var(--ink-3); }
.book-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: transparent; }
.book-steps li.is-current { color: var(--ink); }
.book-steps li.is-current::before { background: var(--ink); }
.book-steps .n { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule-strong); font: 600 14px/1 var(--text); color: var(--ink-3); }
.book-steps .is-current .n { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.book-steps .t { display: grid; gap: 3px; padding-top: 4px; }
.book-steps b { font: 600 15.5px/1.3 var(--text); }
.book-steps small { font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.book-steps .is-current small { color: var(--gold-dk); font-weight: 600; }
@media (max-width: 900px) {
  .book-title { grid-template-columns: 1fr; }
  .book-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s4); }
}
@media (max-width: 520px) {
  .book-steps { grid-template-columns: 1fr; gap: 0; }
  .book-steps li { padding-block: 14px; }
  .book-steps li:not(.is-current) { border-top-color: var(--rule); }
}

.book-calc { scroll-margin-top: 68px; }

.book-summary { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.price-table { width: 100%; margin-top: clamp(28px, 3vw, 40px); border-collapse: collapse; font-variant-numeric: lining-nums; }
.price-table th, .price-table td { padding: 16px 16px 16px 0; border-top: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 1px solid var(--rule); }
.price-table thead th { padding-block: 0 12px; border-top: 0; font: 600 13px/1.3 var(--text); color: var(--ink-3); }
.price-table tbody th { font: 600 clamp(22px, 1.8vw, 26px)/1.1 var(--display); color: var(--ink); }
.price-table td.num { font: 600 clamp(24px, 2vw, 30px)/1 var(--display); white-space: nowrap; transition: color .2s; }
.price-table td:last-child { padding-right: 0; font-size: 15px; color: var(--ink-2); }
.price-table tbody th { transition: color .2s; }
.price-table tbody tr:hover th, .price-table tbody tr:hover td.num { color: var(--gold-dk); }
.price-note { margin-top: var(--s4); max-width: 46em; line-height: 1.6; }

.order-card { position: sticky; top: 96px; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-l); background: var(--cream); color: var(--ink); box-shadow: var(--sh-hero); }
.oc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: var(--s3); border-bottom: 1px solid var(--rule-strong); }
.oc-head h2 { font-size: clamp(28px, 2.4vw, 34px); }
.oc-item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: var(--s3) 0; }
.oc-item b { font: 600 22px/1.15 var(--display); }
.oc-item span { font-size: 14px; color: var(--ink-3); text-align: right; }
.oc-label { margin-top: var(--s2); font: 600 14px/1.3 var(--text); color: var(--gold-dk); }
.order-card .included { margin: var(--s2) 0 var(--s4); }
.oc-terms { margin: 0 0 var(--s4); }
.oc-terms div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.oc-terms div:last-child { border-bottom: 1px solid var(--rule); }
.oc-terms dt { font: 600 13px/1.5 var(--text); color: var(--ink-3); }
.oc-terms dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.order-card .btn { width: 100%; min-height: 56px; }
@media (max-width: 1023px) {
  .book-summary { grid-template-columns: 1fr; }
  .order-card { position: static; max-width: 640px; }
}
@media (max-width: 560px) {
  .price-table thead th:last-child, .price-table td:last-child { display: none; }
  .price-table td.num, .price-table thead th:nth-child(2) { text-align: right; padding-right: 0; }
}
.nav-help a { white-space: nowrap; }
.book-summary .lead { margin-top: var(--s3); }
.price-table tbody th, .price-table td.num { font-variant-numeric: lining-nums; }
@media (max-width: 560px) {
  .oc-item { flex-direction: column; gap: 4px; }
  .oc-item span { text-align: left; }
  .oc-terms div { grid-template-columns: 80px minmax(0, 1fr); }
}

/* =====================================================================
   CALL · call.html: what the call is, who you'll talk to, scheduling mock
   ===================================================================== */
.call-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s6) clamp(40px, 6vw, 104px); align-items: start; margin-top: var(--s4); }
.call-copy h1 { font-size: clamp(44px, 5.2vw, 80px); line-height: .98; letter-spacing: -.012em; font-variant-numeric: lining-nums; }
.call-copy .lead { margin-top: var(--s4); }
.call-list { margin-top: var(--s5); }
.call-who { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s5); }
.call-who img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; filter: sepia(.2); box-shadow: 0 0 0 1px var(--gold); }
.call-who p { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.call-who b { color: var(--ink); }
.cw-k { display: block; font: 600 13px/1.3 var(--text); color: var(--gold-dk); }
.call-alts { display: grid; gap: 8px; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); }
.call-alts .link { color: var(--ink); }

.sched { position: sticky; top: 92px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--ink); color: var(--on-dark); box-shadow: var(--sh-hero); }
.sched :focus-visible { outline-color: var(--gold-lt); }
.sched-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: var(--s3); border-bottom: 1px solid var(--rule-dark); }
.sched-head h2 { font-size: clamp(28px, 2.4vw, 36px); }
.sched-head p { font-size: 13.5px; color: var(--on-dark-2); }
.sched-group { margin: var(--s4) 0 0; padding: 0; border: 0; min-width: 0; }
.sched-group legend { padding: 0; margin-bottom: 10px; font: 600 14px/1.3 var(--text); color: var(--gold-lt); }
.chips { display: grid; gap: 6px; }
.chips-days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chips-times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chips-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips label { position: relative; display: block; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: grid; place-items: center; gap: 2px; min-height: 48px; padding: 8px 6px; border: 1px solid var(--rule-dark-2); border-radius: var(--r-s); background: var(--ink); color: var(--on-dark); font: 600 14.5px/1.15 var(--text); text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.chips-days span { min-height: 60px; }
.chips-days b { font: 600 15px/1 var(--text); }
.chips-days small { font: 500 12.5px/1 var(--text); color: var(--on-dark-2); transition: color .2s; }
.chips label:hover span { border-color: var(--gold-lt); }
.chips label:active span { transform: translateY(1px); }
.chips input:checked + span { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.chips input:checked + span small { color: var(--ink-3); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-lt); outline-offset: 2px; }
.sched .btn { width: 100%; min-height: 56px; margin-top: var(--s5); }
.sched-hint { margin-top: 10px; font-size: 13.5px; text-align: center; color: var(--on-dark-2); }
.sched-hint.warn { color: var(--gold-lt); }
.sched-done { margin-top: var(--s3); padding: 18px 20px; border-radius: var(--r-s); background: var(--cream); color: var(--ink); }
.sched-done[hidden] { display: none; }
.sched-done h3 { font-size: 22px; line-height: 1.2; outline: none; }
.sched-done p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.sched .mock { margin-top: var(--s3); font-size: 13px; color: var(--on-dark-2); }
.sched .mock .tag { margin-right: 6px; }
@media (max-width: 960px) {
  .call-grid { grid-template-columns: 1fr; }
  .sched { position: static; }
}
@media (max-width: 480px) {
  .chips-days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .chips-days span { padding: 6px 2px; }
  .chips-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sched .btn-primary { background: var(--gold); color: var(--ink); }
.sched .btn-primary:hover { background: var(--gold-lt); }
/* Desktop: intro + details on the left, the scheduler on the right. Phones: intro → scheduler → details. */
.call-grid { grid-template-areas: "intro sched" "more sched"; grid-template-rows: auto 1fr; row-gap: 0; }
.call-intro { grid-area: intro; }
.call-more { grid-area: more; }
.sched { grid-area: sched; }
.call-more .call-list { margin-top: var(--s5); }
.sched-head { flex-wrap: wrap; }
.sched-head h2 { white-space: nowrap; }
@media (max-width: 960px) {
  .call-grid { grid-template-areas: "intro" "sched" "more"; grid-template-rows: auto; row-gap: var(--s5); }
}

/* ==========================================================================
   BOOKINGS · the real Microsoft Bookings calendar (includes/v4/bookings_embed.html, js/bookings.js)
   Used on dark panels: the call.html scheduler and the book.html kickoff panel.
   States on .bk[data-state]: loading → ready | failed (framed), link (new-tab card), offline (phone/email).
   ========================================================================== */
.sched-live { position: static; }
.sched-live .sched-head { margin-bottom: var(--s4); }
.bk { --bk-min: 900px; }
.bk-frame { position: relative; min-height: var(--bk-min); border-radius: var(--r-s); overflow: hidden; background: var(--cream); box-shadow: 0 0 0 1px var(--rule-dark-2); }
.bk-iframe { display: block; width: 100%; height: var(--bk-min); border: 0; background: #fff; opacity: 0; transition: opacity .4s var(--ease); }
.bk[data-state="ready"] .bk-iframe { opacity: 1; }
.bk[data-state="failed"] .bk-frame { display: none; }

/* Skeleton: the rough shape of a booking calendar, shimmering until the frame loads. */
.bk-skeleton { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; gap: var(--s3); padding: clamp(20px, 3vw, 36px); background: var(--cream); transition: opacity .3s var(--ease); }
.bk[data-state="ready"] .bk-skeleton { opacity: 0; pointer-events: none; }
.bk-skeleton .sk { display: block; border-radius: 6px; background: linear-gradient(90deg, rgba(58, 42, 24, .07) 0%, rgba(58, 42, 24, .13) 50%, rgba(58, 42, 24, .07) 100%); background-size: 200% 100%; animation: bk-shimmer 1.4s linear infinite; }
.sk-title { width: 55%; height: 28px; }
.sk-line { width: 80%; height: 14px; }
.sk-line.short { width: 40%; }
.sk-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: var(--s2); }
.sk-cell { aspect-ratio: 1.3; }
.sk-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-chip { width: 92px; height: 40px; }
.sk-label { margin-top: auto; font-size: 13.5px; color: var(--ink-3); }
@keyframes bk-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Fallbacks: the always-visible new-tab link, the "didn't load" message, the new-tab card and phone/email. */
.bk-newtab { margin-top: var(--s3); font-size: 14.5px; color: var(--on-dark-2); }
.bk-newtab i { color: var(--gold-lt); }
.bk .link { color: var(--on-dark); text-decoration-color: var(--gold-lt); }
.bk .link:hover { color: var(--gold-lt); }
.bk-failed { padding: 20px 22px; border-radius: var(--r-s); background: rgba(244, 239, 230, .06); box-shadow: inset 0 0 0 1px var(--rule-dark-2); }
.bk-failed[hidden] { display: none; }
.bk-failed p { font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }
.bk-failed b { color: var(--on-dark); }
.bk-failed .btn { margin-top: var(--s3); }
.bk-card { display: grid; justify-items: start; gap: 12px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-s); background: rgba(244, 239, 230, .06); box-shadow: inset 0 0 0 1px var(--rule-dark-2); }
.bk-icon { font-size: 34px; color: var(--gold-lt); }
.bk-card-h { font: 500 clamp(22px, 2vw, 28px)/1.15 var(--display); color: var(--on-dark); }
.bk-card p:not(.bk-card-h) { font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }
.bk-card .btn { margin-top: 6px; }
.bk-alt { font-size: 14.5px; }
.bk-help { margin-top: var(--s3); font-size: 13.5px; line-height: 1.5; color: var(--on-dark-2); }
.bk .btn-primary { background: var(--gold); color: var(--ink); }
.bk .btn-primary:hover { background: var(--gold-lt); }
.bk .btn-primary:active { transform: translateY(1px); }
.bk :focus-visible { outline-color: var(--gold-lt); }

/* book.html kickoff panel: full width under the calculator, steps beside the "You chose" line. */
.checkout.kickoff { margin-top: clamp(28px, 4vw, 48px); padding: clamp(22px, 3vw, 40px); border-radius: var(--r-l); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); scroll-margin-top: 96px; }
.kickoff h4 { font-size: clamp(24px, 2.2vw, 32px); }
.kickoff-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s4) clamp(24px, 4vw, 56px); align-items: start; margin-bottom: var(--s4); }
.kickoff-top ol { margin-top: 14px; }
.kickoff-choice { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-s); background: var(--cream); color: var(--ink); }
.kickoff-choice span { display: block; font: 600 12px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dk); }
.kickoff-choice b { display: block; margin-top: 4px; font: 500 24px/1.2 var(--display); font-variant-numeric: lining-nums; }
.kickoff-note { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.kickoff .bk-help { text-align: left; }

@media (max-width: 960px) {
  .kickoff-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* Bookings stacks its date and time pickers on narrow screens, so give the frame more room. */
  .bk { --bk-min: 1180px; }
  .sk-chip { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-skeleton .sk { animation: none; }
  .bk-iframe, .bk-skeleton { transition: none; }
}

/* Book, phones and small tablets (≤900px, where the calculator is one column):
   picker → price + action → kickoff panel → the reassurance list. #calc and .calc-left
   dissolve (display: contents) so the kickoff panel opens right under the price card. */
@media (max-width: 900px) {
  .co-book .book-calc > .wrap { display: flex; flex-direction: column; }
  .co-book #calc, .co-book .calc-left { display: contents; }
  .co-book .calc-left > * { order: 1; }
  .co-book .quote-card { order: 2; margin-top: var(--s5); }
  .co-book .checkout.kickoff { order: 3; }
  .co-book .before-pay { order: 4; margin-top: var(--s5); }
  /* Price card: the action sits right under the price, the details follow. */
  .co-book .quote-card { display: flex; flex-direction: column; }
  .co-book .quote-card > * { order: 5; }
  .co-book .quote-card .qc-label, .co-book .quote-card .price, .co-book .quote-card .price-for { order: 1; }
  .co-book .quote-card .custom-note { order: 2; }
  .co-book .quote-card .btn { order: 3; margin-top: var(--s4); }
  .co-book .quote-card .hint { order: 4; margin-top: 10px; }
  .co-book .quote-card .included { margin: var(--s4) 0 0; }
}

/* =====================================================================
   PHONES (≤760px) · round-9 mobile QA. Desktop and tablet untouched.
   Every rule is scoped to a page body class (co-audit, co-book, co-call,
   co-about, co-data-safety, co-sample-audit-plan) so /work/ (co-work),
   which shares this file, is not affected.
   ===================================================================== */
@media (max-width: 760px) {
  /* Calmer rhythm: 80px section bands → 64px. */
  body:is(.co-audit, .co-about, .co-data-safety, .co-sample-audit-plan, .co-book, .co-call) { --section: 64px; }
  :is(.co-audit, .co-about, .co-data-safety) .svc-hero { padding-top: 32px; }

  /* Inline text links get a ≥32px hit area without moving the layout (inline padding). */
  body:is(.co-audit, .co-about, .co-data-safety, .co-sample-audit-plan, .co-book, .co-call) main .link { padding-block: 8px; }
  :is(.co-audit, .co-about, .co-data-safety, .co-sample-audit-plan) .page-actions { gap: 8px 24px; }

  /* Decorative hero plates: shorter crops so they don't eat the first screen. */
  :is(.co-audit, .co-about, .co-data-safety) .svc-hero .plate-fig .ph { aspect-ratio: 16 / 9; }
  :is(.co-about, .co-data-safety) .strip { height: 160px; }

  /* ---------- Audit ---------- */
  .co-audit .co-links { flex-direction: column; align-items: flex-start; gap: 4px; }
  /* Founder photo: a landscape crop on the face instead of a full-screen portrait. */
  .co-audit .lead-split .plate-fig { max-width: none; }
  .co-audit .lead-split .plate-fig .ph { aspect-ratio: 4 / 3; }
  .co-audit .lead-split .ph img { object-position: center 18%; }
  .co-audit .doc-plate { margin-top: var(--s2); }

  /* ---------- About ---------- */
  .co-about .prose .first { font-size: 24px; }
  .co-about .prin-grid li { padding: var(--s3) 0 var(--s4); }
  .co-about .founder-card .pic { min-height: 0; aspect-ratio: 4 / 3; }
  .co-about .founder-card .pic img { object-position: center 16%; }
  .co-about .founder-card .letterhead { font-size: 12px; }
  .co-about .contact-list div { padding: 12px 0; }
  .co-about .contact-row .place-map { max-width: 340px; }

  /* ---------- Data safety ---------- */
  .co-data-safety .sum-grid { row-gap: 0; }
  .co-data-safety .sum-grid li { padding: var(--s3) 0 var(--s4); }
  .co-data-safety .prac-list li { padding: var(--s3) 0 var(--s4); }

  /* ---------- Sample plan: the sheet uses more of the phone's width ---------- */
  .co-sample-audit-plan .co-hero { padding-bottom: 56px; }
  .co-sample-audit-plan .sheet-body { padding: 28px 20px 32px; }
  .co-sample-audit-plan .sheet-flag { padding: var(--s3) 20px; }
  .co-sample-audit-plan .sheet-kind { margin-top: var(--s4); }
  .co-sample-audit-plan .sheet-letter { font-size: 12px; }
  .co-sample-audit-plan .rsec { margin-top: var(--s5); padding-top: var(--s4); }
  .co-sample-audit-plan .r-lede { font-size: 21px; }
  /* Three short stats sit side by side. */
  .co-sample-audit-plan .r-stats { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr) minmax(0, .85fr); }
  .co-sample-audit-plan .r-stats li { padding: var(--s2) var(--s2) 0 0; border-top: 0; }
  .co-sample-audit-plan .r-stats li + li { padding-left: var(--s2); border-left: 1px solid var(--rule); }
  .co-sample-audit-plan .r-stats b { font-size: 26px; white-space: normal; }
  .co-sample-audit-plan .r-stats span { font-size: 13px; }
  .co-sample-audit-plan .r-flow li { padding-left: 10px; }

  /* ---------- Book: the money page ---------- */
  .co-book .book-hero { padding-block: 24px 32px; }
  .co-book .book-title { margin-top: var(--s2); }
  /* Stepper: four compact steps in a 2 × 2, so the size picker shows sooner. */
  .co-book .book-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s3); margin-top: var(--s4); }
  .co-book .book-steps li { gap: 10px; padding-block: 12px; align-items: center; }
  .co-book .book-steps li:not(.is-current) { border-top-color: var(--rule); }
  .co-book .book-steps .n { width: 28px; height: 28px; font-size: 13px; }
  .co-book .book-steps .t { padding-top: 0; }
  .co-book .book-steps b { font-size: 14px; line-height: 1.25; }
  .co-book .book-steps small { display: none; }
  .co-book .book-calc { padding-block: 48px; }
  .co-book .checkout-close { min-height: 44px; padding-inline: 16px; }
  .co-book .calc-left .field + .field { margin-top: var(--s4); }
  .co-book .field-label small { display: block; margin: 4px 0 0; font-size: 13px; }
  /* Size picker: 3 + 2 thumb-sized tiles, no orphan gap. */
  .co-book .tiers-seg { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .co-book .tiers-seg button { grid-column: span 2; min-height: 64px; justify-content: center; }
  .co-book .tiers-seg button:nth-child(n+4) { grid-column: span 3; }
  .co-book .tiers-seg button span { font-size: 13.5px; }
  .co-book .stepper button { width: 56px; min-height: 52px; }
  .co-book .quote-card { padding: 24px 20px; }
  .co-book .quote-card .talk-first, .co-book .quote-card .not-ready { text-align: left; }
  .co-book .quote-card .talk-first a, .co-book .quote-card .not-ready .link { display: inline-block; padding-block: 6px; }
  .co-book .checkout.kickoff { padding: 20px 16px; }
  .co-book .kickoff-choice b { font-size: 21px; }
  /* Prices + order summary below the calculator. */
  .co-book .price-table th, .co-book .price-table td { padding-block: 12px; }
  .co-book .order-card { padding: 24px 20px; }

  /* ---------- Call ---------- */
  .co-call .book-hero { padding-block: 24px 48px; }
  .co-call .call-grid { row-gap: var(--s4); }
  .co-call .sched { padding: 20px 16px; }
  .co-call .sched-head { margin-bottom: var(--s3); }
  .co-call .call-more .call-list { margin-top: var(--s2); }
  .co-call .call-alts .link { display: inline-block; }

  /* Booking calendar cards on dark panels (call scheduler, book kickoff panel). */
  :is(.co-book, .co-call) .bk-card { padding: 20px 18px; }
  :is(.co-book, .co-call) .bk-card .btn, :is(.co-book, .co-call) .bk-failed .btn { width: 100%; min-height: 52px; justify-content: center; text-align: center; }
  :is(.co-book, .co-call) .bk-help .link { display: inline-block; }
}
@media (max-width: 400px) {
  /* Focused header (book, call): keep the brand and the phone number from colliding at 360px. */
  .nav-focus .brand { gap: 8px; }
  .nav-focus .brand img { width: 32px; height: 32px; }
  .nav-focus .brand small { letter-spacing: .06em; }
  .nav-help a { gap: 4px; font-size: 14px; }
  .nav-help a i { font-size: 16px; }
  .co-book .tiers-seg button { padding: 10px 8px; }
  .co-book .tiers-seg button b { font-size: 20px; }
  .co-sample-audit-plan .r-stats b { font-size: 23px; }
}
