/* Free audit (/audit/), from docs/design/v2/audit-b.html (direction B, inner-page hero). Only what the page needs
   beyond home.css. The comp's form card is replaced by Home's call and email block (#start), sized here so the right
   half of the hero band is not empty; the form, its states, the thank-you, present mode and comp notes are left out. */

/* ---------- Tokens the page adds (comp values, light and dark) ---------- */
:root {
  --sec: 104px;
  --chip-y: #FDEBC4; --chip-s: #DCE9FB;
  --paper: #FFFBF3; --paper-2: #F8EEDB; --paper-3: #F3E6CC; --paper-foot: #FBF1DF; --paper-line: #EEDFC4; --paper-rule: #F2C9B8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --chip-y: rgb(253 235 196 / .14); --chip-s: rgb(220 233 251 / .14);
    --paper: #F1E9D8; --paper-2: #E9DEC8; --paper-3: #E6D9BE; --paper-foot: #EADFC9; --paper-line: #DCCDB0; --paper-rule: #E3B9A6;
  }
}
:root[data-theme="dark"] {
  --chip-y: rgb(253 235 196 / .14); --chip-s: rgb(220 233 251 / .14);
  --paper: #F1E9D8; --paper-2: #E9DEC8; --paper-3: #E6D9BE; --paper-foot: #EADFC9; --paper-line: #DCCDB0; --paper-rule: #E3B9A6;
}
@media (max-width: 760px) { :root { --sec: 48px; } }

.chip { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; color: var(--chip-ink); flex: none; }
.chip .i { width: 17px; height: 17px; }
.chip--y { background: var(--chip-y); } .chip--m { background: var(--chip-m); } .chip--s { background: var(--chip-s); }

/* ---------- Inner-page hero: a shorter navy band behind the copy, Home's Aurora inside it, settling onto paper ---------- */
.hero--inner { --bandx: 150px; background: linear-gradient(to bottom, var(--warm) 0, var(--warm) 55%, var(--bg) 100%); }
.hero--inner::before { display: none; }
.hero--inner .hero__copy { position: relative; text-align: left; justify-items: start; padding-top: 48px; }
.hero--inner .hero__copy::before, .hero--inner .hero__copy::after { content: ""; position: absolute; z-index: -1; left: calc(50% - 50vw); width: 100vw; top: -60px; bottom: calc(-1 * var(--bandx)); pointer-events: none; }
.hero--inner .hero__copy::before { border-bottom: 1px solid rgb(185 212 247 / .22); background: var(--band); }
.hero--inner .hero__copy::after { opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px; }
.hero--inner .hero__glow { inset: auto; top: -60px; bottom: calc(-1 * var(--bandx)); left: calc(50% - 50vw); width: 100vw; z-index: -1; }
.hero--inner .hero__glow::after { display: none; }
.hero--inner .eyebrow { min-height: 0; padding: 0; box-shadow: none; background: none; font-size: 15px; font-weight: 600; color: var(--on-band-2); }
.hero--inner h1 { margin-top: 14px; max-width: 15em; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; }
.hero--inner h1 span { display: inline; }
.hero--inner .lede { margin-top: 18px; max-width: 720px; font-size: 19px; line-height: 1.5; text-wrap: pretty; }

/* The audit hero: the call and email card takes the form card's place and straddles the band's lower edge */
.hero--inner.hero--audit { --bandx: -110px; }
.hero--inner.hero--audit .aform { margin: 28px 0 0; max-width: 620px; padding: 20px 22px 16px; border-radius: 22px; }
.hero--audit .cta2 .btn { min-height: 56px; }
.hero--audit .cta2__hint { margin-top: 12px; }
@media (min-width: 1101px) {
  .hero--inner.hero--audit .hero__copy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; justify-items: stretch; }
  .hero--inner.hero--audit .hero__text { align-self: start; padding-bottom: 140px; }
  .hero--inner.hero--audit .aform { align-self: end; margin: 0; max-width: none; }
  .hero--inner.hero--audit .lede { max-width: 640px; }
  .hero--audit .cta2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero--inner .hero__copy { padding-top: 18px; }
  .hero--inner .eyebrow { font-size: 14px; align-items: center; }
  .hero--inner .eyebrow::before { margin-top: 0; }
  .hero--inner h1 { margin-top: 10px; font-size: 40px; line-height: 1.04; }
  .hero--inner .lede { margin-top: 10px; font-size: 17px; line-height: 1.4; }
  .hero--inner.hero--audit { --bandx: -92px; }
  .hero--inner.hero--audit .aform { margin-top: 16px; padding: 14px; border-radius: 18px; }
  .hero--audit .cta2 .btn { min-height: 52px; }
  .hero--audit .cta2__hint { margin-top: 10px; }
}
@media (max-width: 374px) { .hero--inner h1 { font-size: 36px; } }

/* ---------- What your report covers: the tick row, the list, a paper report ---------- */
.covers { position: relative; padding-top: 0; }
.covers__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "under" "text" "fig"; row-gap: 32px; align-items: start; }
.covers__text { grid-area: text; margin-top: calc(var(--sec) - 32px); }
.notefig { grid-area: fig; padding: 18px 10px 0 0; }
@media (min-width: 1101px) {
  .covers__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "text under" "text fig"; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 40px; }
  .covers__text { margin-top: -56px; }
}
@media (min-width: 1101px) { .covers__text { position: sticky; top: 32px; align-self: start; } }

.underform { grid-area: under; max-width: 660px; margin: 20px 0 0; text-align: left; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ticks.ticks--ground { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: start; gap: 6px; max-width: none; }
.ticks--ground li { color: var(--ink); }
.ticks--ground .tk { background: var(--chip-m); color: var(--chip-ink); }

.covlist { margin-top: 24px; display: grid; }
.covlist li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; min-height: 60px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.covlist li:last-child { border-bottom: 0; }
.covlist b { font-weight: 600; color: var(--ink); }
.covfoot { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.covnosite { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.covers .rebuild { margin-top: 28px; padding: 24px 26px; border-radius: 22px; background: var(--warm); box-shadow: inset 0 0 0 1px var(--warm-line); }
.rebuild h3 { font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.rebuild p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.rebuild__acts { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.rebuild__acts .link { color: var(--ink); }

/* Paper: cream sheet, peach margin rule, sheets underneath */
.sheets { position: relative; }
.sheets::before, .sheets::after { content: ""; position: absolute; inset: 0; border-radius: 6px; background: var(--paper-3); box-shadow: 0 1px 0 rgb(20 40 75 / .06), 0 20px 40px -24px rgb(4 10 24 / .45); }
.sheets::before { transform: rotate(-1.2deg) translate(-6px, 10px); }
.sheets::after { transform: rotate(.8deg) translate(8px, 6px); background: var(--paper-2); }
.sheet { position: relative; z-index: 1; border-radius: 6px; background: var(--paper); color: #14284B; overflow: hidden; --focus: #14284B;
  box-shadow: 0 0 0 1px rgb(120 90 40 / .10), 0 2px 4px rgb(4 10 24 / .08), 0 26px 50px -22px rgb(4 10 24 / .4); }
.sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .45  0 0 0 0 .3  0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }
.sheet::after { content: ""; position: absolute; top: 0; bottom: 0; left: 48px; width: 1.5px; background: var(--paper-rule); }
.note__top { position: relative; padding: 20px 26px 14px 72px; border-bottom: 1px solid var(--paper-line); }
.note__row { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.note__title { font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.note__who { margin-top: 4px; font-size: 15px; color: #3E4F70; }
.note__meta { margin-top: 8px; display: grid; gap: 2px; font-size: 13px; color: #3E4F70; }
.note__sec { position: relative; padding: 16px 26px 18px 72px; }
.note__n { position: absolute; left: 14px; top: 16px; width: 22px; text-align: center; font-weight: 700; font-size: 15px; color: #14284B; }
.note__h { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.note__dl { margin: 10px 0 0; display: grid; gap: 10px; }
.note__dl dt { font-size: 12px; font-weight: 700; color: #3E4F70; }
.note__dl dd { margin-top: 1px; font-size: 15px; line-height: 1.45; color: #14284B; }
.note__dl .fine { display: flex; align-items: center; gap: 7px; }
.note__dl .fine::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #127A74; flex: none; }
.note__more { position: relative; border-top: 1px solid var(--paper-line); }
.note__more li { position: relative; padding: 11px 26px 11px 72px; border-bottom: 1px solid #F1E6D2; font-size: 15px; font-weight: 600; color: #14284B; }
.note__more li:last-child { border-bottom: 0; }
.note__more .note__n { top: 11px; }
.note__foot { position: relative; padding: 11px 26px 13px 72px; border-top: 1px solid var(--paper-line); background: var(--paper-foot); font-size: 13px; line-height: 1.45; color: #3E4F70; }

/* ---------- What happens after you ask: a real sequence ---------- */
.after { margin-top: var(--sec); padding: var(--sec) 0; background: var(--white-ground); }
.tl { margin-top: 36px; }
.tl__bands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.tl__band { font-size: 13px; font-weight: 600; color: var(--ink-2); padding-bottom: 10px; border-bottom: 2px solid var(--hair-2); }
.tl__band--now { grid-column: 1 / 2; border-bottom-color: var(--amber); color: var(--ink); }
.tl__band--wait { grid-column: 2 / 4; }
.tl__band--you { grid-column: 4 / 6; border-bottom-style: dashed; }
.tl__steps { margin-top: 22px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.tl__steps li { position: relative; }
.tl__dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--chip-y); color: var(--chip-ink); font-weight: 700; font-size: 15px; }
.tl__steps b { display: block; margin-top: 12px; font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.tl__steps p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.tl__steps .when { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Questions: Home's layout, on the page ground (not white beside the white timeline) ---------- */
.qsec { padding: var(--sec) 0; background: none; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Close: the H2 and one line, Home's card ---------- */
.close__line { margin-top: 16px; font-size: 19px; line-height: 1.5; color: var(--on-band-2); max-width: 34em; }

@media (max-width: 1100px) {
  .notefig { max-width: 640px; }
  /* The timeline turns into its vertical rail, so step headings never balance into three lines */
  .tl__bands { display: none; }
  .tl__steps { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
  .tl__steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; padding-bottom: 20px; }
  .tl__steps li::before { content: ""; position: absolute; left: 16px; top: 40px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--hair-2); }
  .tl__steps li:last-child::before { display: none; }
  .tl__steps b { margin-top: 5px; }
  .tl__steps .when { position: static !important; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: block; margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .tl__steps .when + b { margin-top: 2px; }
}
@media (max-width: 760px) {
  .underform { margin-top: 16px; }
  .covlist { margin-top: 14px; }
  .covlist li { padding: 10px 0; gap: 12px; font-size: 15px; min-height: 54px; }
  .covfoot { font-size: 15px; }
  .covers .rebuild { padding: 18px 16px; }
  .rebuild p { font-size: 15px; }
  .notefig { padding: 10px 6px 0 0; }
  .sheet::after { left: 24px; }
  .note__top { padding: 14px 14px 12px 40px; }
  .note__title { font-size: 17px; }
  .note__sec { padding: 12px 14px 14px 40px; }
  .note__n { left: 0; width: 24px; top: 12px; font-size: 13px; }
  .note__more li { padding: 9px 14px 9px 40px; font-size: 13px; }
  .note__more .note__n { top: 9px; }
  .note__foot { padding: 10px 14px 12px 40px; }
  .note__dl .fix, .note__meta { display: none; }
  .after { margin-top: 48px; } /* quality bar 22 Oct, X1: the set's 48px phone gap above a band (was 40px) */
  .tl { margin-top: 20px; }
  .tl__steps li { padding-bottom: 14px; }
  .qsec { padding: 40px 0 48px; }
  .close__line { font-size: 15px; }
}

/* F41, 22 Oct: the close card's email line, as the hero's hint, on the cream card (fixed colours in both themes) */
.go .cta2__hint { margin-top: 14px; color: #3E4F70; }
.go .cta2__hint a { color: #14284B; }
