/* The Booking Leak Audit (27 Nov 2026): /audit/, /offer-terms/audit/ and the intake (/audit/intake/ and its received
   page). Built by _build/audit-pages.mjs, loaded after site.css on those pages only, so nothing here touches another page. Same tokens as site.css. Phone first: the
   rules below are for a phone, and the media queries at the end widen them. */

/* ---------- ticks and crosses (lists) ---------- */
.au-ticks, .au-crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.au-ticks li, .au-crosses li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.au-ticks li::before { content: ""; position: absolute; left: 4px; top: .28em; width: 7px; height: 13px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); }
.au-crosses li::before, .au-crosses li::after { content: ""; position: absolute; left: 3px; top: .72em; width: 15px; height: 2.5px; border-radius: 2px; background: var(--muted); transform: rotate(45deg); }
.au-crosses li::after { transform: rotate(-45deg); }

/* ---------- hero: the copy, then the price box, then the three facts (phone); copy and facts beside the box (wide) ---------- */
.au-hero { background: radial-gradient(900px 420px at 92% -8%, var(--blue-tint), transparent 62%), var(--paper); border-bottom: 1px solid var(--line); }
.au-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "buy" "facts"; gap: 22px; padding-top: 26px; padding-bottom: 36px; }
.au-hero-copy { grid-area: copy; }
.au-hero .lede { margin-bottom: 0; max-width: 36em; }
.au-hero h1 { margin-bottom: 16px; }

.au-facts { grid-area: facts; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.au-facts div { background: #fff; padding: 14px 16px; }
/* On a phone the price box sits just above with the price and the delivery, so only the credit shows here. */
@media (max-width: 639px) { .au-facts div:nth-child(-n+2) { display: none; } }
.au-facts dt { font: 600 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.au-facts dd { margin: 4px 0 0; font-size: 16px; line-height: 1.45; color: var(--body); }
.au-facts dd b { display: block; font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }

.au-buy { grid-area: buy; background: #fff; border: 1px solid var(--line-2); border-top: 5px solid var(--blue); border-radius: 16px; padding: 20px 18px 18px; box-shadow: var(--shadow-2); }
.au-buy-k { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); }
.au-buy-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 16px; color: var(--muted); font-size: 17px; }
.au-buy-num { font-family: var(--head); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: lining-nums proportional-nums; }
.au-buy-ctas { margin-top: 20px; }
.au-buy-btn { width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
.au-buy-fine { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- sections ---------- */
.au-sec--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.au-sec .sec-head { margin-bottom: 32px; }
.au-sec .sec-head h2 { font-size: clamp(30px, 7.4vw, 46px); }
.au-sec .sec-head > p:not(.kicker) { font-size: 18px; }

/* What we check: seven cards, the points on each */
.au-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.au-area { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 18px 20px; box-shadow: var(--shadow-1); }
.au-area h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font-size: 21px; line-height: 1.25; margin-bottom: 8px; }
.au-pts { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dk); font-size: 14px; font-weight: 600; }
.au-area p { font-size: 17px; line-height: 1.5; }

/* What you get: six numbered items */
.au-get { list-style: none; margin: 0; padding: 0; counter-reset: g; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.au-get li { counter-increment: g; position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 18px 20px 62px; }
.au-get li::before { content: counter(g); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 8px; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 15px/1 var(--mono); }
.au-get h3 { font-size: 20px; line-height: 1.25; margin-bottom: 6px; }
.au-get p { font-size: 17px; line-height: 1.5; }
.au-isnt { margin-top: 20px; padding: 16px 18px; max-width: 54em; background: #FFF8E6; border: 1px solid #F0D58A; border-left: 4px solid #D9A400; border-radius: 0 10px 10px 0; font-size: 17px; line-height: 1.5; color: var(--ink); }

/* How it works: four steps */
.au-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.au-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.au-step-n { grid-row: 1 / span 2; font-size: 15px; font-weight: 600; color: var(--blue-dk); padding-top: 4px; }
.au-steps h3 { font-size: 21px; line-height: 1.25; margin-bottom: 6px; }
.au-steps p { font-size: 17px; line-height: 1.5; }

/* The test calls and the same rules: two panels */
.au-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.au-panel { padding: 22px 20px; }
.au-panel h2 { font-size: 26px; }
.au-panel p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.au-panel .au-ticks { gap: 12px; }

/* Who it's for, and the credit */
.au-fit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.au-fit-col, .au-credit { border-radius: var(--r); padding: 20px; }
.au-fit-col { background: #fff; border: 1px solid var(--line-2); }
.au-fit-col h3, .au-credit h3 { font-size: 21px; margin-bottom: 14px; }
.au-fit-col.is-no { background: var(--surface); }
.au-credit { background: var(--blue-tint); border: 1px solid #C9D6FA; }
.au-credit p { font-size: 17px; line-height: 1.5; color: var(--ink); }
.au-credit p + p { margin-top: 10px; }
.au-paid { padding-top: 12px; border-top: 1px solid #C9D6FA; color: var(--body); }

/* The end: dark band, the Buy button again, and the free route for anyone not ready */
/* The same blue band as the offer pages' final call (offer.css .o-final), so it never runs into the dark footer. */
.au-end { background: radial-gradient(800px 360px at 100% 0%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, #0F2C8C, #1747D4); color: #DCE6FB; padding: 56px 0 64px; }
.au-end-in { display: grid; gap: 22px; }
.au-end h2 { color: #fff; font-size: clamp(30px, 7.4vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 10px; }
.au-end p { font-size: 18px; line-height: 1.5; }
.au-end .ctas .btn { white-space: normal; text-align: center; line-height: 1.2; }
.au-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .45); }
.au-btn-ghost:hover { color: #fff; border-color: #fff; }
.au-end .btn-white { color: #1238AB; }
.au-notready { display: grid; gap: 12px; justify-items: start; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); }
.au-notready p { font-size: 17px; color: #DCE6FB; max-width: 40em; }
.au-notready .btn { white-space: normal; text-align: center; line-height: 1.2; }

/* ---------- /offer-terms/audit/: the same look as the other terms pages ---------- */
.au-terms-hero { padding: 28px 0 26px; background: var(--surface); border-bottom: 1px solid var(--line); }
.au-terms-wrap { max-width: 860px; }
.au-back { margin-bottom: 16px; }
.au-back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.au-back a::before { content: ""; width: 9px; height: 9px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); }
.au-terms-hero h1 { font-size: clamp(30px, 8vw, 46px); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 12px; }
.au-terms-meta { font-size: 15.5px; color: var(--muted); }
.au-terms-sec { padding: 28px 0 72px; }
.au-terms-short { padding: 20px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-2); border-left: 5px solid var(--blue); }
.au-terms-short h2 { font-size: 21px; margin-bottom: 12px; }
.au-terms-short li { font-size: 16.5px; }
.au-terms { margin-top: 28px; font-size: 17.5px; line-height: 1.6; color: var(--body); }
.au-terms-intro { padding: 18px 20px; border-radius: 12px; background: var(--blue-tint); color: var(--ink); font-size: 18px; }
.au-terms h2 { font-size: 23px; margin: 32px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.au-terms p { margin: 10px 0; }
.au-terms ul { padding-left: 22px; margin: 8px 0; }
.au-terms li { margin: 8px 0; }
.au-terms b { color: var(--ink); }
.au-terms-end { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.au-terms-end .btn { flex: 1 1 100%; white-space: normal; text-align: center; line-height: 1.2; }

/* ---------- /audit/intake/: the intake form (site.css .lead-form, grouped into fieldsets) ---------- */
.au-intake-wrap { max-width: 860px; }
.au-intake-hero h1 { margin-bottom: 12px; }
.au-intake-hero .lede { margin-bottom: 10px; }
.au-intake-not { font-size: 16px; color: var(--muted); }
.au-intake { gap: 22px; }
/* Hints under some inputs and not others: line the pairs up by their labels, not their bottoms. */
.lead-form.au-intake .two { align-items: start; }
.au-fs { border: 0; margin: 0; padding: 0 0 22px; border-bottom: 1px solid var(--line); display: grid; gap: 16px; min-width: 0; }
.au-fs > legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-family: var(--head); font-weight: 800; font-size: 23px; line-height: 1.2; color: var(--ink); }
.au-fs > legend + * { clear: left; }
.au-fs-p { font-size: 16.5px; line-height: 1.5; color: var(--body); }
.au-q { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.au-q > legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--ink); }
.au-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-form .au-radio, .lead-form .au-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 17px; line-height: 1.4; cursor: pointer; }
.lead-form .au-radio { padding: 11px 14px; border: 2px solid var(--line-2); border-radius: 10px; background: #fff; }
.lead-form .au-radio:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.lead-form .au-radio input, .lead-form .au-check input { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--blue); }
.lead-form .au-check--box { padding: 14px 16px; border: 2px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.lead-form .au-check--box:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.au-consent .au-radios { flex-direction: column; }
.au-consent .au-radio { width: 100%; }
.lead-form .au-hint-block { display: block; margin-top: -6px; }
/* "Which system?" only when "Something else" is picked, and the app jobs only after "Yes" to app work (CSS :has, no script). */
.lead-form .au-other, .lead-form .au-apps { display: none; }
.lead-form:has(select[name="booking_system"] option[value="other"]:checked) .au-other { display: flex; }
.lead-form:has(input[name="app_work"][value="yes"]:checked) .au-apps { display: flex; }
.lead-form:has(input[name="no_website"]:checked) input[name="website"] { opacity: .55; }
.au-intake .btn[type="submit"] { margin-top: 4px; }
.au-intake + .form-done h2 { font-size: 26px; margin-bottom: 8px; }
.au-intake + .form-done p + p { margin-top: 10px; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .au-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .au-get { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-terms-end .btn { flex: 0 1 auto; }
}
@media (min-width: 700px) {
  .au-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-areas .au-area:first-child { grid-column: 1 / -1; }
  .au-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 900px) {
  .au-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .au-panel { padding: 28px 30px; }
  .au-fit { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .au-end-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; }
  .au-notready { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
@media (min-width: 981px) {
  .au-hero-grid { grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "copy buy" "facts buy"; column-gap: 56px; row-gap: 28px; align-items: start; padding-top: 52px; padding-bottom: 64px; }
  .au-buy { padding: 26px 26px 24px; }
  .au-areas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .au-areas .au-area:first-child { grid-column: span 2; }
  .au-get { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .au-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .au-sec .sec-head { margin-bottom: 40px; }
  .au-terms-hero { padding: 36px 0 30px; }
}
