/* ==========================================================================
   Clinic App brand layer (approved brand sheet, 17 Nov 2026).
   The rule: ~/Documents/clinic-app-os/docs/brand/clinic-app-brand.md
   The reference build: public/home/index.html (the live homepage).

   ONE file, loaded LAST on every page except the homepage:
   - React routes: imported at the end of app/layout.tsx.
   - Static pages in public/ and every blog post: <link href="/brand.css"> as
     the last stylesheet in <head>.
   It changes the LOOK only (colour, type, corners, lines, shadows, buttons,
   nav, footer). It never hides words or changes what a page says.

   Phone frames and app screenshots keep their rounded device look: the brand
   sheet does not cover a clinic's own app, and a square iPhone reads as a
   mistake. They are carved out with the PRODUCT selector list below.
   ========================================================================== */

:root{
  /* The six brand colours (brand sheet, "Colours"). */
  --ca-white:#fff;
  --ca-ink:#111112;          /* words, fine lines, the main button (18.9:1) */
  --ca-ink-2:#55555b;        /* quiet text, as on the homepage (7.4:1) */
  --ca-wine:#5c1438;         /* ONE wall per page */
  --ca-pink:#f7bfd0;         /* ONE strip per page */
  --ca-berry:#a3214f;        /* pen marks only */
  --ca-plum:#3d1233;         /* the hard shadow under the paper only */
  --ca-line:#111112;
  --ca-line-soft:#cdbcc4;    /* the hairline under the footer, as on the homepage */
  --ca-on-wine:#f3e3ea;      /* quiet text on the wine wall */

  /* Lettering. next/font exposes --font-brand / --font-figtree on React
     routes; static pages load the same families from Google Fonts. */
  --ca-display:var(--font-brand,"Syncopate"),"Syncopate",Arial,sans-serif;
  --ca-sans:var(--font-figtree,"Figtree"),"Figtree","Helvetica Neue",Arial,sans-serif;

  /* Old tokens, pointed at the brand so every rule that reads them follows.
     React (globals.css, glass.css) */
  --ink:#111112; --forest:#111112; --forest-2:#111112; --forest-ink:#111112;
  --accent:#111112; --accent-light:#f7bfd0; --accent-pale:#fff;
  --coral:#111112; --coral-dark:#000; --lime:#fff; --cream:#fff; --offwhite:#fff; --paper:#fff;
  --lavender-700:#111112; --lavender-600:#111112; --lavender-500:#111112; --lavender-400:#111112;
  --lavender-300:#fff; --lavender-200:#fff; --lavender-100:#fff; --lavender-050:#fff;
  --moss-600:#111112; --moss-500:#111112; --moss-100:#fff;
  --wine-600:#5c1438; --wine-500:#5c1438; --wine-100:#fff;
  --blush-400:#f7bfd0; --blush-200:#fff; --blush-100:#fff;
  --pearl-300:#fff; --pearl-200:#fff; --pearl-100:#fff;
  --text-strong:#111112; --text-body:#111112; --text-muted:#55555b; --text-subtle:#55555b;
  --text-accent:#111112; --text-link:#111112; --text-link-hover:#111112;
  --surface-atmosphere:none; --surface-tint:#fff; --surface-sunken:#fff; --surface-positive:#fff; --surface-attention:#fff;
  --surface-glass:#fff; --surface-glass-strong:#fff; --surface-glass-soft:#fff;
  --border-glass:#111112; --border-hairline:#111112; --border-default:#111112; --border-strong:#111112;
  --focus-ring:#111112; --accent-glow:transparent; --orb-lavender:none;
  --radius-sm:0; --radius-md:0; --radius-lg:0; --radius-xl:0; --radius-pill:0;
  --shadow-1:none; --shadow-2:none; --shadow-3:none; --shadow-glass:none; --shadow-hairline:none; --shadow-inset-top:none;
  --blur-glass:none; --blur-glass-strong:none; --blur-orb:none;
  --font-display:var(--ca-display); --serif:var(--ca-sans); --sans:var(--ca-sans);
  --g-ground:#fff; --g-grey:#fff; --g-ink:#111112; --g-ink-2:#111112; --g-ink-3:#55555b;
  --g-accent:#111112; --g-accent-deep:#111112;
  --g-glass:#fff; --g-glass-strong:#fff; --g-glass-line:#111112; --g-edge:#111112;
  --g-blur:none; --g-shadow:none; --g-shadow-hover:none; --g-r:0; --g-r-sm:0;
  /* Static pages (styles.css, blog site-min.css + each post's inline block) */
  --ivory:#fff; --soft-white:#fff; --surface-cream:#fff; --cream-2:#fff; --panel:#fff; --off:#fff;
  --sage:#111112; --champagne:#111112; --charcoal:#111112; --charcoal-70:#111112; --warm-grey:#55555b;
  --ink-70:#111112; --ink-50:#55555b; --stone:#111112; --stone-2:#111112;
  --line:#111112; --line-2:#111112; --dark:#5c1438; --dark-2:#5c1438; --dark-line:#111112;
  --grad:#111112; --grad-soft:#fff; --mag:#111112; --vio:#111112; --pur:#111112; --pink:#111112; /* a text colour in blog.css/styles.css; the brand pink is --ca-pink */
  --display:var(--ca-sans); --body:var(--ca-sans); /* Syncopate is set on headlines and labels only */
  --r:0; --r-sm:0; --r-md:0; --r-lg:0; --btn-r:0; --shadow:none; --shadow-sm:none;
  --grid-line:transparent; --grid-line-dark:transparent;
  /* The /zoe/ scorecard pages */
  /* /calculator/ */
  --mg:#111112; --mg-dark:#000; --violet:#111112; --blue:#111112; --bg:#fff; --card:#fff; --text:#111112; --muted:#55555b; --border:#111112;
  --font-sans:var(--ca-sans); --font-serif:var(--ca-sans); --forest-light:#111112; --coral-light:#f7bfd0;
}

/* ---------- 1. Square, flat, still: everywhere except the product ---------- */
/* The PRODUCT list: phone frames, app screens, demo videos. Keep in step with
   the class names in app/components/IPhoneFrame.tsx and the landers. */
:where(*):not(:is(
  [class*="phone" i],[class*="device" i],[class*="screen" i],[class*="appFrame" i],[class*="appDemo" i],
  [class*="mock" i],[class*="island" i],[class*="notch" i]
), :is(
  [class*="phone" i],[class*="device" i],[class*="screen" i],[class*="appFrame" i],[class*="appDemo" i],
  [class*="mock" i],[class*="island" i],[class*="notch" i]
) *){
  border-radius:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
/* Radio buttons and the round range thumb stay readable as controls. */
input[type=radio]{border-radius:50%!important}

/* ---------- 2. Base: white page, ink words, Figtree to read ---------- */
html,body{background:#fff!important}
body{color:var(--ca-ink)!important;font-family:var(--ca-sans)!important;-webkit-font-smoothing:antialiased}
::selection{background:var(--ca-pink);color:var(--ca-ink)}
:focus-visible{outline:3px solid var(--ca-ink)!important;outline-offset:4px!important}
a{text-underline-offset:.18em}

/* Headlines: Syncopate thin capitals, tight. The emphasised phrase each
   heading already carries (<em>, <strong>, .ink-grad) becomes the ONE bold
   phrase. No italics, no colour, no gradient text. */
h1:where(:not(:is([class*="phone" i],[class*="screen" i],[class*="mock" i],[class*="device" i]) *)),h2:where(:not(:is([class*="phone" i],[class*="screen" i],[class*="mock" i],[class*="device" i]) *)),
.display,.g-hero h1,.g-sec h2,.g-icp h2,.g-cta h2,.post-hero h1,.post-body h2{
  font-family:var(--ca-display)!important;
  font-weight:400!important;
  font-style:normal!important;
  text-transform:uppercase!important;
  letter-spacing:-.03em!important;
  line-height:1.1!important;
  text-wrap:balance;
}
h1:where(:not(:is([class*="phone" i],[class*="screen" i],[class*="mock" i],[class*="device" i]) *)){font-size:clamp(28px,4.1vw,60px)!important}
h2:where(:not(:is([class*="phone" i],[class*="screen" i],[class*="mock" i],[class*="device" i]) *)){font-size:clamp(22px,2.9vw,42px)!important}
:is(h1,h2,.display) :is(em,strong,b,i,.ink-grad,.grad,.accent,span[class*="grad"]){
  font-family:inherit!important;
  font-style:normal!important;
  font-weight:700!important;
  font-size:inherit!important;
  display:inline!important;
  color:inherit!important;
  background:none!important;
  -webkit-text-fill-color:currentColor!important;
}
.ink-grad,[class*="text-grad"],[class*="gradText"]{background:none!important;-webkit-text-fill-color:currentColor!important;color:inherit!important;font-style:normal!important}
h3,h4{font-family:var(--ca-sans)!important;font-style:normal!important;letter-spacing:-.01em!important;color:var(--ca-ink)}
em{font-style:normal;color:inherit}
p em,li em{font-style:italic}

/* Small labels: Syncopate 11px, spaced capitals (homepage .facts / footer h2). */
.eyebrow,.sectionTag,.g-eyebrow,.kicker,.tag,.post-eyebrow,.post-hero .eyebrow,.footer__h,.navDrop__label,
.integrationsCompact__caption,.blog-tag,.category,.post-cat,.chip,.badge{
  font-family:var(--ca-display)!important;
  font-size:11px!important;
  font-weight:400!important;
  font-style:normal!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  color:var(--ca-ink)!important;
  background:none!important;
}
.eyebrow::before,.eyebrow::after,.sectionTag::before,.g-eyebrow::before,.g-eyebrow::after,.eyebrow i,.sectionTag i{display:none!important}
.badge,.chip{border:1px solid var(--ca-ink)!important}
.badge svg,.chip svg{display:none!important}

/* ---------- 3. Buttons ---------- */
/* Main button: the black slab (homepage .btn). Words in Syncopate 11px caps. */
.g-btn--primary,.btn--grad,.btn--primary,.darkButton,.mainButton,.pillButton,.stickyCta .pillButton,
.post-cta a.btn,.cta .btn--grad,a.button,button.button{
  background:var(--ca-ink)!important;
  color:#fff!important;
  border:1px solid var(--ca-ink)!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  font-family:var(--ca-display)!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  min-height:52px;
}
.g-btn--primary:hover,.btn--grad:hover,.btn--primary:hover,.darkButton:hover,.mainButton:hover,.pillButton:hover{background:#000!important;color:#fff!important;transform:none!important}
/* Quiet button: the outline. */
.g-btn:not(.g-btn--primary),.btn--ghost,.btn--outline,.btn--light,.lightButton,.ghostButton,.textButton.boxed{
  background:#fff!important;
  color:var(--ca-ink)!important;
  border:1px solid var(--ca-ink)!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  font-family:var(--ca-display)!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  min-height:52px;
}
.g-btn:not(.g-btn--primary):hover,.btn--ghost:hover,.btn--outline:hover,.lightButton:hover,.ghostButton:hover{background:var(--ca-ink)!important;color:#fff!important}
.g-btn{--btn-bg:var(--ca-ink)}
/* No arrows or icons in buttons (brand sheet, "Shapes"). */
:is(.g-btn,.btn,.pillButton,.darkButton,.mainButton,.stickyCta a) :is(svg,.arrow,[aria-hidden="true"]){display:none!important}

/* ---------- 4. Fields: one underline, never a box ---------- */
:is(input[type=email],input[type=text],input[type=tel],input[type=url],input[type=number],input:not([type]),select,textarea):not([class*="phone" i] *){
  border:0!important;
  border-bottom:1px solid var(--ca-ink)!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--ca-ink)!important;
  box-shadow:none!important;
  font-family:var(--ca-sans)!important;
}
:is(input,select,textarea):focus-visible{outline:none!important;box-shadow:inset 0 -2px 0 var(--ca-ink)!important}
input[type=range]{-webkit-appearance:none;appearance:none;background:transparent!important;height:24px!important;border:0!important}
input[type=range]::-webkit-slider-runnable-track{height:1px;background:var(--ca-ink)}
input[type=range]::-moz-range-track{height:1px;background:var(--ca-ink)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;margin-top:-8.5px}
input[type=range]::-webkit-slider-thumb{background:var(--ca-ink)!important;border:0!important;border-radius:0!important;box-shadow:none!important;width:18px!important;height:18px!important}
input[type=range]::-moz-range-thumb{background:var(--ca-ink)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
input[type=checkbox],input[type=radio]{accent-color:var(--ca-ink)}

/* ---------- 5. Boxes: a fine ink line all the way round, or none ---------- */
/* Never a thick coloured line down one side (Zoe, 17 Nov). */
.g-card,.card,.post-card,.blog-card,.callout,.post-callout,.post-note,.post-tip,.post-box,.post-faq details,
.fitCard,.metricStrip article,.featured,.g-mech__item,.g-swFeat__item,.g-portal,.g-price,.g-tier,.priceCard,.faq__item,.g-faq details{
  background:#fff!important;
  background-image:none!important;
  border:1px solid var(--ca-ink)!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:none!important;
  color:var(--ca-ink);
}
.g-card:hover,.card:hover,.post-card:hover,.blog-card:hover{transform:none!important}
blockquote,.post-pullquote,.pullQuote,.contrastQuote{
  background:none!important;
  border:0!important;
  border-top:1px solid var(--ca-ink)!important;
  border-bottom:1px solid var(--ca-ink)!important;
  border-radius:0!important;
  padding-left:0!important;
  font-style:normal!important;
  color:var(--ca-ink)!important;
}
hr{border:0;border-top:1px solid var(--ca-ink)}
table{border-collapse:collapse}
:is(th,td){border-color:var(--ca-ink)!important}
th{font-family:var(--ca-display);font-size:11px;font-weight:400;letter-spacing:.14em;text-transform:uppercase;background:#fff!important;color:var(--ca-ink)!important}

/* ---------- 6. Bands: white by default; tinted and gradient grounds go ---------- */
.g-band--grey,.g-band--lavender,.grid-bg,.surface-cream,.cream,.ivory,.panel,.tint,.g-software{background:#fff!important;background-image:none!important}
.g-band+.g-band,.g-band--white+.g-band--grey,.g-band--grey+.g-band--white{border-top:1px solid var(--ca-ink)}
/* Ambient orbs, auras, blobs, glows, grain: gone (no fades, no glows). */
.g-orbs,.aura,[class*="aura--"],.g-blobs,[class*="blob" i]:not([class*="phone" i]),.glow,.g-glow,.grain,.noise{display:none!important}
.g-chip,.g-float,[class*="float"]{animation:none!important}

/* The ONE wine wall: the closing call-to-action band. */
.g-cta,.cta.dark,.cta,.post-cta{
  background:var(--ca-wine)!important;
  background-image:none!important;
  color:#fff!important;
  border:0!important;
}
:is(.g-cta,.cta.dark,.cta,.post-cta) :is(h1,h2,h3,p,li,span,strong,b,em,.eyebrow,.section-sub,.cta__note,.g-eyebrow){color:#fff!important}
:is(.g-cta,.cta.dark,.cta,.post-cta) :is(.section-sub,.cta__note,p){color:var(--ca-on-wine)!important}
:is(.g-cta,.cta.dark,.cta,.post-cta) :is(small,a:not([class*="btn"]):not(.pillButton):not(.darkButton):not(.mainButton)){color:var(--ca-on-wine)!important}
:is(.g-cta,.cta.dark,.cta,.post-cta) :is(.g-btn--primary,.btn--grad,.btn--primary,.pillButton,.darkButton,.mainButton,a.btn:first-of-type){
  background:#fff!important;color:var(--ca-wine)!important;border-color:#fff!important}
:is(.g-cta,.cta.dark,.cta,.post-cta) :is(.g-btn:not(.g-btn--primary),.btn--ghost){
  background:none!important;color:#fff!important;border-color:#fff!important}
:is(.g-cta,.cta.dark,.cta,.post-cta) :focus-visible{outline-color:#fff!important}

/* ---------- 7. Top bar (React .nav, static header.brandNav) ---------- */
/* As the homepage: white, the wordmark 30px (21px on a phone), Syncopate 11px
   links, the call to action as an outline button. Words and links unchanged. */
.nav,header.brandNav,.brandNav{
  position:sticky!important;
  top:0!important;
  left:auto!important;
  transform:none!important;
  width:auto!important;
  height:clamp(72px,7vw,104px)!important;
  margin:0!important;
  padding:0 clamp(16px,3.4vw,52px)!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--ca-ink)!important;
  border-radius:0!important;
  box-shadow:none!important;
  z-index:60;
}
.nav .brandWordmark,.brandNav .brandWordmark{height:clamp(21px,2.1vw,30px)!important;width:auto!important;filter:none!important}
.brandNav .brandName{width:clamp(116px,11.6vw,166px)!important;height:clamp(21px,2.1vw,30px)!important;background:url("/assets/wordmark.png") left center/contain no-repeat!important}
.navLinks a,.navDrop__btn,.brandNav .navLinks a,.navSignIn,.brandNav .navSignIn{
  font-family:var(--ca-display)!important;
  font-size:11px!important;
  font-weight:400!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  color:var(--ca-ink)!important;
  background:none!important;
  border-radius:0!important;
}
.navLinks a:hover,.navDrop__btn:hover,.navSignIn:hover{text-decoration:underline;background:none!important;color:var(--ca-ink)!important}
.nav .pillButton,.brandNav .pillButton,.nav .darkButton,.brandNav .navCta a.pillButton{
  background:#fff!important;color:var(--ca-ink)!important;border:1px solid var(--ca-ink)!important;
  min-height:44px!important;height:44px!important;padding:0 20px!important}
.nav .pillButton:hover,.brandNav .pillButton:hover{background:var(--ca-ink)!important;color:#fff!important}
.navDrop__menu,.navMobilePanel{background:#fff!important;border:1px solid var(--ca-ink)!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}
.navDrop__menu a,.navMobilePanel a{color:var(--ca-ink)!important;border-radius:0!important}
.navDrop__menu a:hover{background:none!important;text-decoration:underline}
.navMobilePanel{top:clamp(72px,7vw,104px)!important;left:0!important;right:0!important;border-width:0 0 1px!important}
.navMobilePanel a{font-family:var(--ca-sans)!important;font-size:18px!important;font-weight:500!important}
.navMobilePanel .pillButton{background:var(--ca-ink)!important;color:#fff!important}
.navBurger{background:#fff!important;border:1px solid var(--ca-ink)!important;border-radius:0!important;box-shadow:none!important}
.navBurger span{background:var(--ca-ink)!important;border-radius:0!important}

/* ---------- 8. Sticky call bar: a plain white bar with a fine top line ---------- */
.stickyCta,.sticky-cta,#stickyCta{
  background:#fff!important;
  border:0!important;
  border-top:1px solid var(--ca-ink)!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.stickyCta__line{color:var(--ca-ink)!important}

/* ---------- 9. Footer: as the homepage (white, a fine ink line on top) ---------- */
footer,.footer,.footer.dark,main>footer,body>footer{
  background:#fff!important;
  background-image:none!important;
  color:var(--ca-ink-2)!important;
  border:0!important;
  border-top:1px solid var(--ca-ink)!important;
}
:is(footer,.footer) :is(p,span,small,li,a){color:var(--ca-ink-2)!important}
:is(footer,.footer) a:hover{color:var(--ca-ink)!important;text-decoration:underline}
:is(footer,.footer) :is(strong,.footer__h,h2,h3,h4){
  font-family:var(--ca-display)!important;font-size:11px!important;font-weight:400!important;
  letter-spacing:.18em!important;text-transform:uppercase!important;color:var(--ca-ink)!important}
footer .brandWordmark,.footer .brandWordmark{filter:none!important;opacity:1!important;height:clamp(18px,1.6vw,22px)!important}
.footer .brand__name,.footer__brand .brand__name{font-size:0!important;color:transparent!important;display:block;width:122px;height:22px;background:url("/assets/wordmark.png") left center/contain no-repeat!important}
.footer .brand__name>span,.footer .brand__mark,.footer .brandLogoMark{display:none!important}
.footerSocial a{background:none!important;border:1px solid var(--ca-ink)!important;color:var(--ca-ink)!important}
.footerLegal,.footer__bottom,.footer__fine,.footer__ack{border-top:1px solid var(--ca-line-soft)!important;color:var(--ca-ink-2)!important}

/* ---------- 10. Links in reading text ---------- */
:is(.post-body,.prose,article,.legal,main) p a:not([class]){color:var(--ca-ink)!important;text-decoration:underline;text-decoration-thickness:1px}

/* ---------- 11. The product keeps its own look ---------- */
/* (see the PRODUCT list in section 1). Photos are photos: square corners. */
img:not(:is([class*="phone" i],[class*="screen" i],[class*="appFrame" i],[class*="mock" i]) img){border-radius:0!important}

/* ---------- 12. Static top bar: the wordmark artwork, not typed letters ---------- */
.brandNav .brandLogoMark,.brandNav img[alt=""],.brandNav .brandName>span{display:none!important}
.brandNav .brandName{display:block!important;font-size:0!important;color:transparent!important}
.brandNav .brand{gap:0!important}
.brandNav .navCta{gap:clamp(14px,2vw,24px)!important}

/* ---------- 13. Dark sections other than the one wall: white, ink words ---------- */
.dark:not(.cta):not(.footer),.section--dark,.bg-dark,.ink-band{background:#fff!important;background-image:none!important;color:var(--ca-ink)!important;border-top:1px solid var(--ca-ink)}
:is(.dark:not(.cta):not(.footer),.section--dark,.bg-dark,.ink-band) :is(.light,h1,h2,h3,h4,p,li,span,strong,b,small,label,td,th,div,.eyebrow,.section-sub,a:not([class*="btn"]):not(.pillButton)):not(:is(.is-active,.is-on,[aria-selected="true"],[aria-pressed="true"]) *){color:var(--ca-ink)!important}
:is(.dark:not(.cta):not(.footer),.section--dark,.bg-dark,.ink-band) a:not([class*="btn"]):not(.pillButton){border-color:var(--ca-ink)!important;background:none!important}
:is(.dark:not(.cta):not(.footer),.section--dark,.bg-dark,.ink-band) :is(.section-sub,.eyebrow.light){color:var(--ca-ink-2)!important}

/* ---------- 14. Blog posts (public/blog/assets/blog.css vocabulary) ---------- */
.post-hero{background:#fff!important;background-image:none!important;color:var(--ca-ink)!important;border-bottom:1px solid var(--ca-ink)}
.post-hero::before,.post-hero::after,.post-author::after,.post-body h2::before{display:none!important}
.post-hero :is(h1,p,span,a,.eyebrow,.post-byline__role){color:var(--ca-ink)!important}
.post-hero .post-byline__role,.post-hero time{color:var(--ca-ink-2)!important}
.post-lead{font-weight:500!important;color:var(--ca-ink)!important}
.post-body h2{font-size:clamp(20px,2.2vw,30px)!important;padding-top:28px;border-top:1px solid var(--ca-ink)}
.post-author{background:#fff!important;background-image:none!important;color:var(--ca-ink)!important;border:1px solid var(--ca-ink)!important}
.post-author :is(p,span,a,h2,h3,div),.post-body .post-author .post-author__bio,.post-author .post-author__bio{color:var(--ca-ink)!important}
.post-author img{border:0!important}
.post-toc,.post-asidecta,.post-updated,.post-hublink{background:#fff!important;border:1px solid var(--ca-ink)!important;color:var(--ca-ink)!important}
.post-asidecta :is(h2,h3,h4,p,span,strong){color:var(--ca-ink)!important}
.post-asidecta :is(p){color:var(--ca-ink-2)!important}
.post-asidecta .pillButton,.post-asidecta a.btn{white-space:normal!important;height:auto!important;padding:16px 18px!important;line-height:1.5!important;text-align:center}
.post-toc a::before,.post-aside__label{color:var(--ca-ink-2)!important;font-family:var(--ca-display)!important;font-size:10px!important;letter-spacing:.14em!important}
.post-faq summary{font-family:var(--ca-sans)!important;font-weight:600!important}
.post-faq summary::after{color:var(--ca-ink)!important}
.post-faq details[open]{box-shadow:none!important}
.post-cmp thead th{background:#fff!important}
.post-cmp .col-us{background:#fff!important}
.post-cmp .yes,.post-cmp .no{color:var(--ca-ink)!important}
.post-relcat a{background:var(--ca-ink)!important}
/* Blog index and topic hubs */
.blog-hero,.bloghero,.blog-index-hero,.hub-hero,.topic-hero{background:#fff!important;background-image:none!important;color:var(--ca-ink)!important}
:is(.blog-hero,.bloghero,.blog-index-hero,.hub-hero,.topic-hero) *{color:var(--ca-ink)!important}
.filter,.filters button,.blog-filter,.chips button,[class*="filter"] button{background:#fff!important;color:var(--ca-ink)!important;border:1px solid var(--ca-ink)!important;font-family:var(--ca-display)!important;font-size:10px!important;letter-spacing:.14em!important}
:is(.filters button,.blog-filter,.chips button,[class*="filter"] button):is(.active,[aria-pressed="true"],.is-active){background:var(--ca-ink)!important;color:#fff!important}

/* ---------- 15. The typed "Clinic App" name: the wordmark artwork instead ---------- */
.brand__mark{display:none!important}
.brand__name{font-size:0!important;line-height:0!important;color:transparent!important;display:inline-block!important;width:122px;height:22px;background:url("/assets/wordmark.png") center/contain no-repeat!important}
.brand__name>span{display:none!important}

/* Blog index: the featured card is white like the rest (one wall per page is the closing band). */
.post-card--feature,.post-card--feature:hover{background:#fff!important}
.post-card--feature :is(.post-card__title,.post-card__excerpt,.post-card__meta,.post-card__meta span){color:var(--ca-ink)!important}
.post-card--feature .post-card__meta{border-top-color:var(--ca-ink)!important}
.post-card__tier{color:var(--ca-ink-2)!important;font-family:var(--ca-display)!important;font-size:10px!important;font-weight:400!important;letter-spacing:.16em!important}
.post-card__arrow{color:var(--ca-ink)!important}
.post-card__excerpt,.post-card__meta{color:var(--ca-ink-2)!important}
.post-card__title{color:var(--ca-ink)!important}
.blog-filter{background:none!important;border:0!important;padding-left:0!important;padding-right:0!important}
.blog-filter__tab{background:#fff!important;color:var(--ca-ink)!important;border:1px solid var(--ca-ink)!important;font-family:var(--ca-display)!important;font-size:10px!important;font-weight:400!important;letter-spacing:.14em!important}
.blog-filter__tab.is-active,.blog-filter__tab:hover{background:var(--ca-ink)!important;color:#fff!important}
.blog-capture{background:#fff!important;background-image:none!important;border:1px solid var(--ca-ink)!important;color:var(--ca-ink)!important}
.blog-capture :is(h2,h3,p,.eyebrow,.blog-capture__note,label,span){color:var(--ca-ink)!important}
.blog-capture__copy p,.blog-capture__note{color:var(--ca-ink-2)!important}
.blog-capture__form input[type="email"]::placeholder{color:var(--ca-ink-2)!important}

/* ---------- 16. Two hooks for the landers' own sections ----------
   A lander section that was dark, cream or tinted gets class="... ca-paper"
   (white, ink words, inner tinted boxes become fine-lined boxes). The one
   section that carries the call to action gets "ca-wall" (the wine wall).
   Product (phone frames, app screens) inside either keeps its own look. */
.ca-paper{background:#fff!important;background-image:none!important;color:var(--ca-ink)!important}
:is(section,div,header) + .ca-paper:not(.ca-box){border-top:1px solid var(--ca-ink)!important}
.ca-paper :where(h1,h2,h3,h4,h5,p,li,span,strong,b,em,small,label,td,th,dt,dd,figcaption,blockquote,a:not([class*="btn"]):not(.pillButton):not(button)):not(:is([class*="phone" i],[class*="screen" i],[class*="mock" i],.ca-keep) *){color:var(--ca-ink)!important;-webkit-text-fill-color:currentColor}
.ca-paper :where(p,small,label,figcaption,.section-sub):not(:is([class*="phone" i],[class*="screen" i],[class*="mock" i],.ca-keep) *){color:var(--ca-ink-2)!important}
.ca-paper .ca-box{background:#fff!important;background-image:none!important;border:1px solid var(--ca-ink)!important}
.ca-paper :is(.btn,[class*="btn"],.pillButton,button[type=submit]):not(:is([class*="phone" i],[class*="screen" i],.ca-keep) *){background:var(--ca-ink)!important;color:#fff!important;border-color:var(--ca-ink)!important}
.ca-paper :is(.btn--ghost,.btn--outline,[class*="ghost"]){background:#fff!important;color:var(--ca-ink)!important}
.ca-wall{background:var(--ca-wine)!important;background-image:none!important;color:#fff!important;border:0!important}
.ca-wall :where(h1,h2,h3,h4,p,li,span,strong,b,em,small,label,a:not([class*="btn"]):not(button)):not(:is([class*="phone" i],[class*="screen" i],[class*="mock" i],.ca-sheet) *){color:#fff!important;-webkit-text-fill-color:currentColor}
.ca-wall :where(p,small,label):not(:is([class*="phone" i],[class*="screen" i],.ca-sheet) *){color:var(--ca-on-wine)!important}
.ca-wall :is(.btn,[class*="btn"],button[type=submit]):not(.ca-sheet *):not([class*="phone" i]):not([class*="phone" i] *){background:#fff!important;color:var(--ca-wine)!important;border-color:#fff!important}
.ca-wall :is(input,select,textarea):not(.ca-sheet *){background:none!important;color:#fff!important;border-bottom-color:#fff!important}
.ca-wall :focus-visible{outline-color:#fff!important}
/* A white sheet of paper on the wall (homepage .sheet): a hard plum shadow, never soft. */
.ca-wall .ca-sheet{background:#fff!important;color:var(--ca-ink)!important;border:0!important;box-shadow:11px 13px 0 var(--ca-plum)!important}
.ca-wall .ca-sheet :is(h1,h2,h3,h4,p,li,span,strong,label,small,div,a:not([class*="btn"])){color:var(--ca-ink)!important}
.ca-wall .ca-sheet :is(.btn,[class*="btn"],button[type=submit]){background:var(--ca-ink)!important;color:#fff!important}

/* ---------- 17. Never a thick line down one side (Zoe, 17 Nov) ---------- */
/* Boxes that had one get a fine line all the way round; lines beside a
   sentence go. */
.definition,.definition-box,.guarantee-box,.result-estimate,.own-ownership__bridge{border:1px solid var(--ca-ink)!important;background:#fff!important;background-image:none!important}
.own-process__promise,.hero-qualify,.hero-belief,.kpi{border-left:0!important;padding-left:0!important}
/* Selected chips and tabs: the ink slab (they were forest green). */
:is(button,[role=tab],.own-tab,[class*="preset"] button,[class*="tabs"] button):is(.is-active,.is-on,[aria-selected="true"],[aria-pressed="true"]):where(:not(:is([class*="phone" i],[class*="screen" i],[class*="mock" i],[class*="device" i]) *)){background:var(--ca-ink)!important;color:#fff!important;border-color:var(--ca-ink)!important}

/* ---------- 18. The /zoe/ scorecard pages (their own top bar) ---------- */
.site-nav{height:clamp(72px,7vw,104px)!important;padding:0 clamp(16px,3.4vw,52px)!important;background:#fff!important;border-bottom:1px solid var(--ca-ink)!important}
.site-nav .brand-mark,.brand-mark{display:none!important}
.site-nav .brand{font-size:0!important;color:transparent!important;width:clamp(116px,11.6vw,166px);height:clamp(21px,2.1vw,30px);background:url("/assets/wordmark.png") left center/contain no-repeat!important}
.site-nav .brand>span{display:none!important}
.site-nav a:not(.brand):not(.nav-cta):not([class*="btn"]):not([class*="button"]){font-family:var(--ca-display)!important;font-size:11px!important;font-weight:400!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--ca-ink)!important}
.float-note{background:#fff!important;border:1px solid var(--ca-ink)!important;transform:none!important}
.float-note strong,.category-line strong{color:var(--ca-ink)!important}
.preview-card,.result-card,.r-card,.example-card,.next-step-card,.quiz-card,.quiz{border-radius:0!important}
.r-card-top i{background:#fff!important;border:1px solid var(--ca-ink)!important;font-style:normal!important}
.footer-brand{font-size:0!important;color:transparent!important;display:inline-block;width:110px;height:20px;background:url("/assets/wordmark.png") left center/contain no-repeat!important}
.footer-brand>span{display:none!important}

/* ---------- 19. /calculator/ (its own top bar and header) ---------- */
.hdr::before,.hdr::after{display:none!important}
.hdr-brand{opacity:1!important}
.nav__links a{font-family:var(--ca-display)!important;font-size:11px!important;font-weight:400!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--ca-ink)!important}
.nav__links a.active{text-decoration:underline}
.btn--grad-sm{background:#fff!important;color:var(--ca-ink)!important;border:1px solid var(--ca-ink)!important;font-family:var(--ca-display)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;padding:14px 20px!important}
.btn--grad-sm:hover{background:var(--ca-ink)!important;color:#fff!important}
.btn--ghost-sm{border:0!important;font-family:var(--ca-display)!important;font-size:11px!important;font-weight:400!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--ca-ink)!important}
.nav .brand .brand__name,.nav .brand__name{width:clamp(116px,11.6vw,166px)!important;height:clamp(21px,2.1vw,30px)!important;background-position:left center!important}
.stat.accent{background:#fff!important;border:1px solid var(--ca-ink)!important}
.al{background:#fff!important;border:1px solid var(--ca-ink)!important}
.al,.al *{color:var(--ca-ink)!important}
.al-ico{display:none!important}
:is(.pmode,.seg) button:is(.act,.on,.is-on,.active){background:var(--ca-ink)!important;color:#fff!important;border-color:var(--ca-ink)!important}
.tog input:checked + .tog-sl{background:var(--ca-ink)!important}

/* ---------- 20. Legal pages, the playbook, the about/author pages ---------- */
.top .brand,.docBar__brand{font-size:0!important;color:transparent!important;display:inline-block!important;width:clamp(116px,11.6vw,166px);height:clamp(21px,2.1vw,30px);background:url("/assets/wordmark.png") left center/contain no-repeat!important}
.top .brand .mark,.docBar__brand img,.docBar__brand span{display:none!important}
.top .back{font-family:var(--ca-display)!important;font-size:11px!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--ca-ink)!important}
.docBar{background:#fff!important;border-bottom:1px solid var(--ca-ink)!important}
.docBar__cta{background:#fff!important;color:var(--ca-ink)!important;border:1px solid var(--ca-ink)!important;font-family:var(--ca-display)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;padding:14px 20px!important}
.docBar__cta:hover{background:var(--ca-ink)!important;color:#fff!important}
:is(main,article,.wrap,.post-body) li > a:not([class]){color:var(--ca-ink)!important;text-decoration:underline;text-decoration-thickness:1px}
.wrap a:not([class]){color:var(--ca-ink)!important}
.step__num{color:#fff!important}

/* ---------- 21. Small fixes the page checker found ---------- */
button,input,select,textarea{font-family:inherit}
.post-note,.post-note *{color:var(--ca-ink)!important}
.post-note p{color:var(--ca-ink-2)!important}
.post-byline,.post-byline *{color:var(--ca-ink)!important}
:is(button,[role=tab],[class*="tab"]):is(.is-active,.is-on,[aria-selected="true"],[aria-pressed="true"]):where(:not(:is([class*="phone" i],[class*="screen" i],[class*="mock" i],[class*="device" i]) *)) *{color:#fff!important}
.nav-cta{background:var(--ca-ink)!important;color:#fff!important;border:1px solid var(--ca-ink)!important;font-family:var(--ca-display)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important}
.ca-paper :is(.section-tag,.eyebrow,.kicker,.label){color:var(--ca-ink)!important}
.demo__tab{border:1px solid var(--ca-ink)!important}
/* Phones: long call-to-action words wrap inside the top bar instead of pushing the page sideways. */
@media (max-width:520px){
  :is(.docBar__cta,.btn--grad-sm,.nav-cta,.nav .pillButton,.brandNav .pillButton){white-space:normal!important;max-width:190px;line-height:1.45!important;height:auto!important;min-height:44px!important;padding:8px 12px!important;letter-spacing:.08em!important;text-align:center}
  .nav,header.brandNav,.brandNav,.site-nav,.docBar{gap:12px}
}

/* ---------- 22. React routes: leftovers from the glass look ---------- */
/* glass.css squares buttons with two-class !important rules, which outrank section 1. */
.nav .pillButton,.navMobilePanel .pillButton,.stickyCta .pillButton,.pillButton{border-radius:0!important}
/* Decorative discs, dot screens and haze blobs behind phones and bands: gone. */
.g-solHero__disc,.g-app__disc,.g-dots,.heroGlow,.orbCircle{display:none!important}
.g-band--white::before,.g-band--white::after,.g-band--grey::before,.g-band--grey::after,.g-band--ink::after{display:none!important}
/* Lavender grounds behind app screenshots become white. */
.g-swFeat__art{background:#fff!important;border-bottom:1px solid var(--ca-ink)}
.g-card:not(.g-cta){background:#fff!important}
main>footer .footerSocial a,footer .footerSocial a{background:#fff!important;background-image:none!important;box-shadow:none!important;border-radius:0!important}
/* Round pill chips and icon buttons go square and flat. */
.g-chip i,.g-faq button i,.g-numbers li{background:#fff!important;border:1px solid var(--ca-ink)!important;border-radius:0!important;box-shadow:none!important;color:var(--ca-ink)!important}
/* /retention: this phone frame's class name misses the PRODUCT list, so give its rounding back. */
.stackcard__media{border-radius:26px!important}
/* Phones: spaced capitals make long button words wider than the screen. Let them wrap so they
   never set a column's width (the /software hero ran off the right edge without this). */
@media (max-width:520px){
  :is(.g-btn,.btn,.darkButton,.mainButton,.pillButton){white-space:normal!important;height:auto!important;min-height:44px;line-height:1.5!important;text-align:center;justify-content:center}
}
/* /zoe: decorative orbit rings behind the hero portrait (no decoration on the brand sheet). */
.orbit{display:none!important}
/* /zoe pages: their own button classes get the brand button type. */
.primary-button,.quiz-button,.secondary-button{font-family:var(--ca-display)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important}
/* Plain .btn on the styles.css landers and the calculator's PDF button: brand button type. */
a.btn,button.btn,.print-btn{font-family:var(--ca-display)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important}
/* Hero buttons that carry an inline white fill from the old dark heroes (/audit, /own3):
   the hero is white now, so they take the ink slab. Inside a wine wall they stay white. */
a.btn:is(.hero-cta,.own3-hero__cta):not(:is(.ca-wall,.g-cta,.cta) *){background:var(--ca-ink)!important;color:#fff!important;border:1px solid var(--ca-ink)!important}
/* Soft drop shadows under video frames: gone. */
.vidhero__frame,.vsl__frame{filter:none!important}
/* React heroes were padded to clear the old floating top bar. The bar is sticky now and takes
   its own room, so the heroes keep only their breathing space. */
.g-hero,.g-heroB,.g-vslHero,.g-solHero,.g-priceHero{padding-top:clamp(48px,6vw,88px)!important}

/* ---------- 23. Fixes from the review (18 Nov) ---------- */
/* /zoe quiz result: the ready-to-send message was ink on ink inside the white sheet. */
.ca-sheet .result-script{background:#fff!important;border:1px solid var(--ca-ink)!important;color:var(--ca-ink)!important}
.ca-sheet .result-script :is(b,p){color:var(--ca-ink)!important}
/* /zoe quiz: a chosen answer must stand out when someone goes back a question. */
.answer-grid button.selected{background:var(--ca-ink)!important;color:#fff!important;border-color:var(--ca-ink)!important}
.ca-sheet .answer-grid button.selected *,.answer-grid button.selected *{color:#fff!important;border-color:#fff!important}
/* /audit and /own3 tabs that are not selected: a fine ink box on the white section (their inline
   white-on-dark border vanished). */
.audit-tab:not(.is-active){background:#fff!important;color:var(--ca-ink)!important;border:1px solid var(--ca-ink)!important}
/* /solutions dark band: its decorative rings go too. */
.g-band--ink::before{display:none!important}
/* The mid-page dark band on /solutions/* goes white: the wine is for the closing call to action only
   (both walls showed at once on a 982px tall laptop). */
.g-band--ink{background:#fff!important;color:var(--ca-ink)!important;border-top:1px solid var(--ca-ink)}
.g-sec.g-band--ink :is(h1,h2,h3,p,li,span,b,strong,.g-eyebrow,.g-huge){color:var(--ca-ink)!important}
.g-sec.g-band--ink :is(.g-card,.g-solSteps li){background:#fff!important;border:1px solid var(--ca-ink)!important}

/* The vibe-coded check on every page (Zoe, 18 Nov 2026: "i don't want the website to look vibe coded").
   Nothing slides or fades in as you arrive or scroll (check 11): the wine closing box was invisible
   until it scrolled into view. Nothing sits above a headline (check 9). No row of icon badges (check 5). */
.reveal,.post-reveal,.hero__head .eyebrow,.hero h1,.hero__sub{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}
.eyebrow:has(+ :is(h1,h2)),.hero__head .eyebrow,.post-hero .eyebrow,.hero__badges{display:none!important}
