/* Surpreme finish layer, 2026-11-27.
   1. Secondary pages follow the home page's look: same typefaces, paper and ink, same button and link colours.
      Scoped to body.page (privacy, terms, request fallback) and body.checkout-page (plan review and order pages).
   2. Small fixes on the home page (body.ads-first): request dialog spacing, full-width header band on wide
      screens, one text axis in the closing section, thumb-sized links and the price card first on phones.
   Loaded last. Removing its <link> restores the earlier look. */

body.page,body.checkout-page{--fin-bg:#151416;--fin-text:#f5f1e9;--fin-muted:#c6c0b8;--fin-line:#393638;--fin-accent:#edb495;--fin-paper:#eee9df;--fin-ink:#262626;--fin-ink2:#4a4541;--fin-ink3:#6b6259;--fin-rule:#d9d0c3;--fin-rust:#914c36;--fin-rust-dark:#7d4130;--fin-link:#6f3525;font-family:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--fin-paper);color:var(--fin-ink)}

/* privacy, terms, request fallback */
body.page{font-size:16.5px;line-height:1.7}
body.page h1,body.page h2,body.page h3{font-family:"Bricolage Grotesque","Figtree",system-ui,sans-serif;font-stretch:normal;font-weight:700;color:var(--fin-ink)}
.page .page-wrap h1{font-size:clamp(2.3rem,8vw,3.4rem);line-height:1.02;letter-spacing:-.045em;margin-bottom:20px}
.page .page-wrap h2{font-size:1.42rem;line-height:1.16;letter-spacing:-.03em;margin:40px 0 8px}
.page .page-wrap p{color:var(--fin-ink2)}
.page .page-meta{color:var(--fin-ink3);font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}
.page .page-wrap a{color:var(--fin-link);font-weight:650;text-decoration-color:rgba(111,53,37,.45);text-decoration-thickness:1px}
.page .page-wrap a:hover{text-decoration-color:var(--fin-link)}
body.page :focus-visible{outline-color:var(--fin-rust)}
.page .site-head{background:var(--fin-bg);border-bottom:1px solid var(--fin-line)}
.page .head-row{min-height:68px}
.page .head-nav a{color:var(--fin-muted);font-weight:500;font-size:16px}
.page .head-nav a:hover{color:var(--fin-text);text-decoration-color:var(--fin-accent);text-decoration-thickness:1px}
.page .btn-yellow{background:rgba(237,180,149,.06);border:1px solid rgba(237,180,149,.46);color:var(--fin-accent);border-radius:999px;font-family:inherit;font-stretch:normal;font-weight:650;font-size:14px;min-height:44px;padding:0 16px}
.page .btn-yellow:hover{background:rgba(237,180,149,.14)}
.page .site-foot{background:var(--fin-bg);color:var(--fin-muted)}
.page .foot-links a{color:var(--fin-text);font-weight:600}
.page .foot-copy{color:#9a948c}
.page .site-head :focus-visible,.page .site-foot :focus-visible{outline-color:var(--fin-accent)}

/* plan review and order pages */
body.checkout-page{font-size:16px;line-height:1.6}
.checkout-page .checkout-nav{min-height:68px;border-bottom:0;background:var(--fin-bg);box-shadow:0 0 0 100vmax var(--fin-bg);clip-path:inset(0 -100vmax)}
.checkout-page .checkout-nav>a:last-child{color:var(--fin-muted);font-size:14px}
.checkout-page .checkout-main{padding-top:48px}
.checkout-page .eyebrow{color:var(--fin-ink3);font-family:inherit;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.checkout-page h1,.checkout-page h2{font-family:"Bricolage Grotesque","Figtree",system-ui,sans-serif;font-weight:700;color:var(--fin-ink)}
.checkout-page .checkout-result h1{letter-spacing:-.045em;line-height:1.02}
.checkout-page .checkout-result>p{color:var(--fin-ink2)}
.checkout-page .checkout-order-summary{background:#f8f4ec;border-color:var(--fin-rule);border-radius:12px}
.checkout-page .checkout-order-summary h2{letter-spacing:-.03em}
.checkout-page .checkout-order-summary p,.checkout-page .checkout-order-summary li{color:var(--fin-ink2)}
.checkout-page .checkout-order-summary p{font-size:15.5px;line-height:1.65}
.checkout-page .checkout-order-summary strong{color:var(--fin-ink)}
.checkout-page .checkout-order-summary ul{list-style:none;margin:14px 0 4px;padding:0}
.checkout-page .checkout-order-summary li{position:relative;padding:5px 0 5px 28px;font-size:15.5px;line-height:1.5}
.checkout-page .checkout-order-summary li::before{content:"";position:absolute;left:3px;top:.72em;width:11px;height:6px;border-left:2px solid var(--fin-rust);border-bottom:2px solid var(--fin-rust);transform:rotate(-45deg)}
.checkout-page .checkout-result a:not(.button){color:var(--fin-link)}
.checkout-page .checkout-action .button:not(.light):not(.outline),.checkout-page .checkout-intake .button:not(.light):not(.outline){background:var(--fin-rust);border-color:var(--fin-rust);color:#fff;border-radius:12px;min-height:56px;font-family:inherit;font-size:16.5px;font-weight:750;letter-spacing:-.01em;text-transform:none}
.checkout-page .checkout-action .button:not(.light):not(.outline):hover,.checkout-page .checkout-intake .button:not(.light):not(.outline):hover{background:var(--fin-rust-dark);border-color:var(--fin-rust-dark)}
.checkout-page .checkout-fine{color:var(--fin-ink3);font-size:13px!important}
.checkout-page .checkout-result>p:last-child{font-size:15px;margin-top:16px}
.checkout-page .foot{color:var(--fin-ink3)}
.checkout-page a:focus-visible,.checkout-page button:focus-visible{outline-color:var(--fin-rust)}

/* home: request dialog */
#m-audit .m-send{padding-top:26px;background-image:linear-gradient(rgba(24,21,24,0) 0,rgb(24,21,24) 18px)}
#m-audit .m-ad-choice{position:relative;display:block;padding-left:32px}
#m-audit .m-ad-choice input{position:absolute;left:0;top:1px;margin:0}
#m-audit .m-ref{margin:12px 0 20px}
#m-audit .m-ref+.m-cta+.m-ghost{margin-top:10px}
#m-audit .m-ghost~.m-fine{margin-top:14px}
#m-audit .m-ghost~.m-fine+p{margin:6px 0 0;text-align:center}
#m-audit .m-cal-link{font-size:13px}

/* home: header band spans the window on wide screens, logo lines up with the page text */
@media (min-width:1281px){.ads-first nav.m-top{max-width:none;margin-left:0;margin-right:0;padding-left:calc((100% - 1280px)/2 + 50px);padding-right:calc((100% - 1280px)/2 + 50px)}}

/* home: closing section reads on one axis; footer privacy control lines up */
.ads-first .af-final-grid>div:first-child h2,.ads-first .af-final-grid>div:first-child>p{text-align:left}
.ads-first .m-foot .measurement-launcher{width:auto;padding-left:0;padding-right:0;text-align:left;justify-self:start}

/* home: video caption contrast */
.ads-first .af-demo-browser span:last-child{color:#b3aba2;font-size:11px}

/* home, phones and small tablets: thumb-sized links, and the price card ahead of the extras */
@media (max-width:899px){
.ads-first .af-founder-links>a{display:flex;align-items:center;min-height:44px}
.ads-first .af-founder-links>button{min-height:44px}
.ads-first .af-leak-fix a{display:inline-block;padding:12px 0;margin:-12px 0}
.ads-first .af-warm-start a,.ads-first .af-commercial a{padding:8px 0}
.ads-first .af-warm-start a{white-space:nowrap}
.ads-first .m-foot>div>a{display:flex;align-items:center;min-height:44px;width:fit-content}
.ads-first .af-pricing{display:flex;flex-direction:column;gap:0}
.ads-first .af-price-copy{display:contents}
.ads-first .af-price-detail{order:1;margin:8px 0 34px}
.ads-first .af-price-footnote{order:2}
.ads-first .af-leak-fix{order:3;margin-top:8px}
}

/* home, first visit on a phone: the call bar sits directly on the slim notice (no empty band between them) */
body:has(.measurement-preferences.is-notice:not([hidden])) .m-dock{padding-bottom:0}
