/*
Theme Name: CondoHarbor
Theme URI: https://condoharbor.com
Author: Alex Piña
Author URI: https://condoharbor.com
Description: Standalone marketing theme for CondoHarbor, a done-for-you records-compliance service for Florida condo associations. Look-and-feel only. All tenant, CPT, and routing logic lives in the condoharbor-core plugin, which renders its own theme-independent portal pages. No parent theme.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: condoharbor
*/

/* ==========================================================================
   CondoHarbor design tokens (settled brand, mood board 2026-07-17)
   Fonts: Jost (display + wordmark), Hanken Grotesk (body). Enqueued from Google
   Fonts in functions.php for now. Self-hosting the two families is a later
   option (drop woff2 into assets/fonts and swap @font-face in here).
   ========================================================================== */
:root{
  /* Core palette */
  --ch-navy:   #17263F; /* Harbor Navy  */
  --ch-brass:  #B8892E; /* Beacon Brass */
  --ch-channel:#4E6E92; /* Channel      */
  --ch-mist:   #E4EAF0; /* Sea Mist     */
  --ch-paper:  #F5F1E7; /* Chart Paper  */
  --ch-ink:    #1E222A; /* Hull Ink     */

  /* Status set (calm, not alarming) */
  --ch-current:#2E6B4F;
  --ch-due:    #B26B00;
  --ch-missing:#9E3B32;

  /* Supporting tones derived from the mood board */
  --ch-navy-soft:  #243a63;   /* hover on navy */
  --ch-body-muted: #55606f;   /* secondary text on light */
  --ch-on-navy:    #B9C4D6;   /* body text on navy */
  --ch-line:       #e3ddce;   /* hairline on paper */
  --ch-brass-ink:  #221c0a;   /* readable text on a brass field */

  --ch-display: 'Jost', system-ui, sans-serif;                    /* UI: buttons, nav, labels, wordmark */
  --ch-head:    'Newsreader', Georgia, 'Times New Roman', serif;  /* headline VOICE (Direction B serif) */
  --ch-body:    'Hanken Grotesk', system-ui, sans-serif;          /* body + reading text */

  --ch-wrap: 1180px;
  --ch-radius: 12px;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--ch-paper);
  color:var(--ch-ink);
  font-family:var(--ch-body);
  font-size:19px;          /* elder-first floor: body sits at 18 to 20px */
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* ---------- type scale: Newsreader serif headlines (voice) + Hanken body + Jost UI ----------
   Serif wants a touch more line-height and no negative tracking. Section headings
   sit up a size so they command; the hero keeps a heavier weight for authority. */
h1,h2,h3,h4{ font-family:var(--ch-head); color:var(--ch-navy); margin:0 0 .4em; line-height:1.12; letter-spacing:0; font-weight:600; }
h1{ font-size:clamp(32px,5vw,54px); }
h2{ font-size:clamp(28px,4.2vw,44px); }   /* sections sized up to command more */
h3{ font-size:clamp(22px,2.3vw,26px); }
h4{ font-size:20px; }

/* Compare the old all-sans look on any page with ?fonts=a (Jost headlines). */
.fonts-a{ --ch-head:'Jost', system-ui, sans-serif; }
.fonts-a h1,.fonts-a h2,.fonts-a h3,.fonts-a h4{ letter-spacing:-.01em; line-height:1.08; }
p{ margin:0 0 1em; }
.ch-lead{ font-size:clamp(20px,2.2vw,23px); color:var(--ch-body-muted); max-width:64ch; }
.ch-kicker{ font-family:var(--ch-display); font-weight:500; text-transform:uppercase; letter-spacing:.2em; font-size:13px; color:var(--ch-brass); }
.ch-muted{ color:var(--ch-body-muted); }

a{ color:var(--ch-channel); }
a:hover{ color:var(--ch-navy); }

/* ---------- visible keyboard focus (accessibility, elder-first) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.ch-btn:focus-visible,
.ch-nav a:focus-visible{
  outline:3px solid var(--ch-brass);
  outline-offset:3px;
  border-radius:4px;
}

.ch-skip-link{
  position:absolute; left:-9999px; top:0;
  background:var(--ch-brass); color:var(--ch-brass-ink);
  font-family:var(--ch-display); font-weight:600; padding:12px 18px; z-index:100;
}
.ch-skip-link:focus{ left:12px; top:12px; }

/* ---------- layout ---------- */
.ch-wrap{ max-width:var(--ch-wrap); margin:0 auto; padding:0 24px; }
html{ scroll-behavior:smooth; }
/* in-page anchors land with breathing room above the heading */
.ch-band [id], .ch-hero [id]{ scroll-margin-top:80px; }
/* how-it-works: a touch less top padding */
.ch-how{ padding-top:clamp(40px,5.5vw,72px); }

/* Full-bleed alternating bands. One idea per band, generous air. */
.ch-band{ padding:clamp(64px,9vw,116px) 0; }
.ch-band--navy{ background:var(--ch-navy); color:#fff; }
.ch-band--navy h1,.ch-band--navy h2,.ch-band--navy h3{ color:#fff; }
.ch-band--navy p{ color:var(--ch-on-navy); }
.ch-band--paper{ background:var(--ch-paper); color:var(--ch-ink); }
.ch-band--white{ background:#fff; color:var(--ch-ink); }
.ch-band--mist{ background:var(--ch-mist); color:var(--ch-navy); }
.ch-band--mist h1,.ch-band--mist h2,.ch-band--mist h3{ color:var(--ch-navy); }

/* ---------- primary button (brass, Jost 600) ---------- */
.ch-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--ch-display); font-weight:600; font-size:17px; line-height:1.1;
  text-decoration:none; cursor:pointer;
  padding:15px 32px; border-radius:999px; border:2px solid transparent;
}
.ch-btn--brass{ background:var(--ch-brass); color:var(--ch-brass-ink); }
.ch-btn--brass:hover{ background:#caa03f; color:var(--ch-brass-ink); }
.ch-btn--ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.4); }
.ch-btn--ghost:hover{ border-color:#fff; color:#fff; }
.ch-btn--navy{ background:var(--ch-navy); color:#fff; }
.ch-btn--navy:hover{ background:var(--ch-navy-soft); color:#fff; }

/* ==========================================================================
   Brand lockup: the real, final designer logo as a cropped, transparent SVG.
   The horizontal lockups carry the "Community. Compliance. Confidence." tagline
   in the art, so no separate tagline element is rendered. Variant is chosen by
   background: reversed (cream + brass) on navy, navy on the brass footer.
   ========================================================================== */
.ch-lockup{ display:inline-block; line-height:0; text-decoration:none; }
.ch-lockup__img{ display:block; height:auto; max-width:100%; }

/* ---------- site header (navy) ---------- */
.ch-header{ background:var(--ch-navy); color:#fff; }
.ch-header__row{
  max-width:var(--ch-wrap); margin:0 auto; padding:20px 24px;
  display:flex; align-items:center; gap:24px; flex-wrap:wrap;
}
/* composed logo: mark + wordmark, no tagline, a touch bigger */
.ch-logo{ display:inline-flex; align-items:center; gap:12px; text-decoration:none; flex:none; }
.ch-logo__mark{ height:46px; width:auto; display:block; }
.ch-logo__word{ font-family:var(--ch-display); font-size:30px; line-height:1; color:#fff; letter-spacing:-.01em; }
.ch-logo__a{ font-weight:400; }
.ch-logo__b{ font-weight:600; }
.ch-header__spacer{ flex:1; }

.ch-nav ul{ list-style:none; display:flex; gap:4px; margin:0; padding:0; flex-wrap:wrap; align-items:center; }
.ch-nav a{
  font-family:var(--ch-display); font-weight:500; font-size:16px; letter-spacing:.005em;
  color:#cdd6e4; text-decoration:none; padding:9px 16px; border-radius:999px;
  transition:color .12s ease;
}
.ch-nav a:hover,
.ch-nav .current-menu-item > a{ color:#fff; }
.ch-nav .ch-btn--nav{ color:var(--ch-brass-ink); padding:11px 22px; margin-left:10px; }
.ch-nav .ch-btn--nav:hover{ background:#caa03f; color:var(--ch-brass-ink); }

/* mobile hamburger nav (CSS-only checkbox toggle; hidden on desktop) */
.ch-nav-toggle{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; opacity:0; }
.ch-burger{ display:none; }
@media(max-width:800px){
  .ch-header__row{ position:relative; gap:12px; padding:15px 20px; }
  .ch-header__spacer{ display:none; }
  .ch-logo__mark{ height:40px; }
  .ch-logo__word{ font-size:26px; }
  .ch-burger{
    display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px;
    margin-left:auto; width:46px; height:46px; cursor:pointer; border-radius:10px; flex:none;
  }
  .ch-burger span{ display:block; width:24px; height:2px; background:#fff; border-radius:2px; transition:transform .25s ease, opacity .2s ease; }
  .ch-nav-toggle:focus-visible ~ .ch-burger{ outline:3px solid var(--ch-brass); outline-offset:2px; }
  .ch-nav{
    display:none; position:absolute; top:100%; left:0; right:0; z-index:60;
    background:var(--ch-navy); border-top:1px solid rgba(255,255,255,.14);
    box-shadow:0 22px 44px rgba(0,0,0,.4); padding:10px 16px 16px;
  }
  .ch-nav-toggle:checked ~ .ch-nav{ display:block; }
  .ch-nav ul{ flex-direction:column; align-items:stretch; gap:2px; }
  .ch-nav a{ display:block; padding:14px 14px; font-size:17px; border-radius:10px; }
  .ch-nav .ch-btn--nav{ margin:10px 0 2px; text-align:center; }
  /* burger morphs into an X when open */
  .ch-nav-toggle:checked ~ .ch-burger span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .ch-nav-toggle:checked ~ .ch-burger span:nth-child(2){ opacity:0; }
  .ch-nav-toggle:checked ~ .ch-burger span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
}

/* ---------- site footer (deep navy with a brass hairline) ---------- */
.ch-footer{ background:#0e1826; color:var(--ch-on-navy); padding:40px 0; border-top:2px solid var(--ch-brass); }
.ch-footer__row{
  max-width:var(--ch-wrap); margin:0 auto; padding:0 24px;
  display:flex; align-items:center; gap:20px; justify-content:space-between; flex-wrap:wrap;
}
.ch-footer__line{
  font-family:var(--ch-display); font-weight:500; font-size:15.5px; line-height:1.55;
  max-width:56ch; text-align:right; color:#c6d0e0;
}
.ch-footer__detail{
  display:block; margin-top:11px; font-weight:400; font-size:13.5px; line-height:1.6;
  color:#8794a6;
}
.ch-footer__detail a{ color:var(--ch-brass); text-decoration:underline; text-underline-offset:2px; }
.ch-footer__detail a:hover{ color:#d6ab55; }
@media(max-width:720px){
  .ch-footer__row{ justify-content:flex-start; }
  .ch-footer__line{ text-align:left; }
}

/* ---------- default page content (page.php / index.php) ---------- */
.ch-content{ padding:clamp(40px,6vw,72px) 0; }
.ch-content .ch-article{ max-width:72ch; margin:0 auto; }
.ch-content img{ max-width:100%; height:auto; border-radius:10px; }
.ch-content h1{ margin-bottom:.5em; }
.ch-content blockquote{
  margin:1.4em 0; padding:6px 0 6px 22px; border-left:4px solid var(--ch-brass);
  color:var(--ch-body-muted); font-size:1.05em;
}
.ch-content .ch-page-title{ margin-bottom:24px; }

.ch-notice{
  background:#fff; border:1px solid var(--ch-line); border-radius:var(--ch-radius);
  padding:22px 24px; margin:24px auto; max-width:72ch; color:var(--ch-body-muted);
}

/* ==========================================================================
   Landing page (front-page.php). Full-bleed alternating bands, one idea each,
   built on the shared .ch-band / .ch-btn / token system above. Only styles the
   pieces the base sheet does not already carry.
   ========================================================================== */

/* Constrain prose bands to a comfortable elder-first measure. */
.ch-measure{ max-width:76ch; }

/* ---------- hero: full-bleed photo behind the text; dark left holds the copy ---------- */
.ch-hero{ position:relative; background:var(--ch-navy); color:#fff; overflow:hidden; }
.ch-hero__bg{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:left center; display:block;
}
.ch-hero__body{
  position:relative; z-index:1; display:flex; align-items:center;
  min-height:clamp(460px,48vw,560px);
  padding-block:clamp(40px,5vw,64px);
}
.ch-hero__body .ch-wrap{ width:100%; }
.ch-hero__col{ max-width:40rem; }
.ch-hero h1{
  font-family:var(--ch-head); font-weight:600; color:#fff;
  font-size:clamp(32px,3.6vw,50px); line-height:1.1; letter-spacing:0;
  max-width:16ch; margin:.3em 0 .5em;
}
.ch-hero__body .ch-hero__sub{ color:#fff; max-width:30rem; }
/* mobile: stack — the photo becomes a band on top, text on navy below */
@media (max-width:820px){
  .ch-hero__bg{ position:static; width:100%; height:clamp(220px,56vw,340px); object-position:center 30%; }
  .ch-hero__body{ min-height:0; padding:40px 0 44px; }
}
.ch-hero__sub{
  font-size:clamp(20px,2.2vw,23px); color:var(--ch-on-navy);
  max-width:60ch; margin:.6em 0 1.6em;
}
.ch-offer .ch-hero__sub,
.ch-final .ch-hero__sub{ margin-bottom:1.4em; }

/* CTA rows: brass primary + ghost secondary, wrapping on small screens. */
.ch-cta-group{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.ch-cta-group--center{ justify-content:center; }

/* final CTA: centered, over a faint condo photo blended into the navy */
.ch-final{ position:relative; overflow:hidden; }
.ch-final__bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:.10; z-index:0; pointer-events:none; }
.ch-final__inner{ position:relative; z-index:1; }
.ch-final .ch-hero__sub{ margin-left:auto; margin-right:auto; }

/* Supporting tagline signature under the hero CTAs (Jost 400, quiet). */
.ch-signature{
  font-family:var(--ch-display); font-weight:400;
  font-size:clamp(18px,2vw,22px); letter-spacing:.01em;
  color:#fff; margin:26px 0 0;
}
.ch-signature .ch-t3{ color:var(--ch-brass); }

/* ---------- small print (law + accuracy promise) ---------- */
.ch-smallprint{
  font-size:15px; line-height:1.55; color:var(--ch-body-muted);
  max-width:70ch; margin:1.4em 0 0;
}

/* ---------- how it works: three numbered steps ---------- */
.ch-steps{
  list-style:none; margin:2.2em 0 0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:32px;
}
@media(max-width:820px){ .ch-steps{ grid-template-columns:1fr; gap:28px; } }
.ch-step{
  margin:0; background:#fff; border:1px solid var(--ch-line);
  border-radius:20px; padding:34px 30px;
  box-shadow:0 1px 2px rgba(23,38,63,.05);
}
.ch-step__num{
  display:inline-flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:50%;
  background:var(--ch-brass); color:var(--ch-brass-ink);
  font-family:var(--ch-display); font-weight:600; font-size:24px;
  margin-bottom:18px;
}
.ch-step__head{ font-size:21px; margin:0 0 .5em; color:var(--ch-navy); }
.ch-step p{ color:var(--ch-body-muted); margin:0; }

/* ---------- what we handle: two-column check list ---------- */
.ch-handle{
  list-style:none; margin:2em 0 0; padding:0;
  display:grid; grid-template-columns:1fr 1fr; gap:14px 40px;
  max-width:960px;
}
@media(max-width:760px){ .ch-handle{ grid-template-columns:1fr; } }
.ch-handle li{
  position:relative; padding:6px 0 6px 40px; line-height:1.45;
}
.ch-handle li::before{
  content:""; position:absolute; left:0; top:9px;
  width:24px; height:24px; border-radius:50%;
  background:var(--ch-current);
  /* white check mark drawn with a background image, keeps markup clean */
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
}
/* Fallback tick for engines without mask support. */
@supports not ((-webkit-mask:url('#x')) or (mask:url('#x'))){
  .ch-handle li::before{ content:"\2713"; background:none; color:var(--ch-current);
    width:auto; height:auto; top:6px; font-weight:700; }
}

/* ---------- founding offer ---------- */
.ch-offer__terms{
  list-style:none; margin:0 0 1.6em; padding:0;
  display:grid; gap:16px; max-width:70ch;
}
.ch-offer__terms li{
  padding:18px 22px; border-radius:var(--ch-radius);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  border-left:4px solid var(--ch-brass);
  color:var(--ch-on-navy);
}
.ch-offer__terms li strong{ color:#fff; font-weight:700; }
.ch-offer__guarantee{ max-width:64ch; margin:0 0 1.8em; color:var(--ch-on-navy); }

/* ---------- FAQ: accessible disclosure list ---------- */
.ch-faq{ margin:2em 0 0; max-width:74ch; }
.ch-faq details{
  background:#fff; border:1px solid var(--ch-line); border-radius:var(--ch-radius);
  margin-bottom:14px;
}
.ch-faq summary{
  list-style:none; cursor:pointer;
  font-family:var(--ch-display); font-weight:600; font-size:20px;
  color:var(--ch-navy); padding:18px 54px 18px 22px; position:relative;
  min-height:44px;
}
.ch-faq summary::-webkit-details-marker{ display:none; }
.ch-faq summary::after{
  content:"+"; position:absolute; right:22px; top:50%; transform:translateY(-50%);
  font-family:var(--ch-display); font-weight:500; font-size:26px; color:var(--ch-brass);
  line-height:1;
}
.ch-faq details[open] summary::after{ content:"\2013"; }
.ch-faq summary:focus-visible{ outline:3px solid var(--ch-brass); outline-offset:2px; }
.ch-faq details p{
  margin:0; padding:0 22px 20px; color:var(--ch-body-muted); max-width:64ch;
}


.ch-band h2{ letter-spacing:0; }
.fonts-a .ch-band h2{ letter-spacing:-.01em; }
.ch-lead{ max-width:60ch; }

/* two-column section: heading + intro on the left, content on the right */
.ch-split{
  display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(32px,5vw,72px); align-items:start;
}
.ch-split__head h2{ margin-top:0; }
.ch-split__head .ch-smallprint{ margin-top:1.3em; }
.ch-split__body .ch-lead{ margin-top:0; }
@media(max-width:820px){ .ch-split{ grid-template-columns:1fr; gap:20px; } }

/* centered highlight sections (FAQ) */
.ch-center{ text-align:center; }
.ch-center > .ch-faq{ margin-left:auto; margin-right:auto; text-align:left; }

/* visual split: giant brand icon on the left, text on the right */
.ch-split--visual{ grid-template-columns:minmax(0,4fr) minmax(0,6fr); align-items:center; }
.ch-law__visual{ display:flex; align-items:center; justify-content:center; }
@media(max-width:820px){ .ch-split--visual{ grid-template-columns:1fr; } }

/* stylized "compliant records" card: shows the outcome the statute asks for */
.ch-records{
  width:100%; max-width:392px; background:#fff;
  border:1px solid var(--ch-line); border-radius:18px;
  box-shadow:0 14px 40px rgba(23,38,63,.10); overflow:hidden;
}
.ch-records__bar{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:15px 20px; background:var(--ch-navy); color:#fff;
}
.ch-records__title{ font-family:var(--ch-display); font-weight:600; font-size:15px; }
.ch-records__badge{
  font-family:var(--ch-display); font-weight:600; font-size:12px; letter-spacing:.02em;
  color:#fff; background:var(--ch-current); padding:5px 12px; border-radius:999px;
}
.ch-records__badge::before{ content:"\2713\00a0\00a0"; }
.ch-records__list{ list-style:none; margin:0; padding:6px 0; }
.ch-records__list li{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:14px 20px; border-bottom:1px solid #f1ede2; font-size:15px; color:var(--ch-ink);
}
.ch-records__list li:last-child{ border-bottom:none; }
.ch-records__ok{
  font-family:var(--ch-display); font-weight:500; font-size:12.5px; color:var(--ch-current);
  display:inline-flex; align-items:center; gap:5px; flex:none;
}
.ch-records__ok::before{ content:"\2713"; font-weight:700; }

/* ---------- scroll-reveal (progressive enhancement) ---------- */
.ch-reveal-ready .ch-reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.ch-reveal-ready .ch-reveal.is-in{ opacity:1; transform:none; }
.ch-handle li:nth-child(2),.ch-handle li:nth-child(4){ transition-delay:.06s; }
.ch-handle li:nth-child(3),.ch-handle li:nth-child(5),.ch-handle li:nth-child(7){ transition-delay:.12s; }
.ch-handle li:nth-child(6),.ch-handle li:nth-child(8){ transition-delay:.18s; }
.ch-handle li:nth-child(9){ transition-delay:.24s; }
@media (prefers-reduced-motion: reduce){ .ch-reveal-ready .ch-reveal{ opacity:1; transform:none; transition:none; } }

/* ---------- what we handle: centered, with a front/back product demo ---------- */
.ch-handle-sec{ position:relative; z-index:1; }
/* Center the whole section so it reads as one balanced column, not floaty. */
.ch-handle-sec .ch-wrap{ text-align:center; }
.ch-handle__intro{ max-width:56ch; margin-left:auto; margin-right:auto; margin-bottom:2.6em; }
/* The checklist block centers, but its items keep left-aligned text. */
.ch-handle{ text-align:left; margin-left:auto; margin-right:auto; justify-content:center; }

/* --- demo block: sliding toggle + browser frame rising from behind the navy --- */
.ch-demo-block{
  margin-top:clamp(44px,5.5vw,72px);
  /* the demo dips well behind the navy for a clear "emerging" effect; because
     the navy sits in front (z-index), the heading padding below is independent */
  margin-bottom:calc(-1 * clamp(72px,9vw,128px));
  position:relative; z-index:1;
}
.ch-demo-lead{
  max-width:52ch; margin:0 auto 1.6em; color:var(--ch-body-muted);
}
/* segmented control with a thumb that slides between the two options (JS-positioned) */
.ch-demo-toggle{
  position:relative; display:inline-flex; padding:5px; margin:0 auto 24px;
  background:var(--ch-mist); border:1px solid var(--ch-line); border-radius:999px;
}
.ch-demo-toggle__thumb{
  position:absolute; left:0; top:5px; height:calc(100% - 10px); width:0;
  background:#fff; border-radius:999px; box-shadow:0 1px 3px rgba(23,38,63,.16);
  transition:transform .32s cubic-bezier(.34,1.2,.44,1), width .32s cubic-bezier(.34,1.2,.44,1);
}
.ch-demo-toggle button{
  position:relative; z-index:1; min-width:158px; text-align:center;
  font-family:var(--ch-display); font-weight:500; font-size:14.5px;
  color:var(--ch-body-muted); background:transparent; border:none; cursor:pointer;
  padding:9px 22px; border-radius:999px; transition:color .2s;
}
.ch-demo-toggle button:hover{ color:var(--ch-navy); }
.ch-demo-toggle button.is-active{ color:var(--ch-navy); }
.ch-demo-toggle button:focus-visible{ outline:3px solid var(--ch-brass); outline-offset:2px; }

.ch-demo{
  width:100%; max-width:860px; margin:0 auto; background:#fff;
  border:1px solid var(--ch-line); border-radius:16px 16px 0 0; overflow:hidden;
  box-shadow:0 44px 90px -30px rgba(23,38,63,.5), 0 10px 26px rgba(23,38,63,.12);
  text-align:left;
}
.ch-demo__bar{ display:flex; align-items:center; gap:14px; padding:12px 16px; background:#eef0f3; border-bottom:1px solid #e4e7ec; }
.ch-demo__dots{ display:inline-flex; gap:7px; }
.ch-demo__dots i{ width:11px; height:11px; border-radius:50%; background:#cfd4db; display:block; }
.ch-demo__addr{ font-family:var(--ch-body); font-size:13px; color:#8b93a1; background:#fff; border:1px solid #e4e7ec; border-radius:999px; padding:5px 16px; }
/* the address bar swaps with the view */
.ch-demo__addr--back{ display:none; }
.ch-demo[data-view="back"] .ch-demo__addr--front{ display:none; }
.ch-demo[data-view="back"] .ch-demo__addr--back{ display:inline-block; }
/* fixed screen height so both views are identical height and the section
   below never shifts when you toggle; extra space sits behind the navy anyway */
.ch-demo__screen{ padding:0; height:452px; overflow:hidden; }

/* view switching */
.ch-demo__view--back{ display:none; }
.ch-demo[data-view="back"] .ch-demo__view--front{ display:none; }
.ch-demo[data-view="back"] .ch-demo__view--back{ display:block; }
.ch-demo__view--back, .ch-demo__view--back .ch-bd{ height:100%; }
/* captured screenshots used in place of the live demo on phones (hidden here) */
.ch-demo__shot{ display:none; }

/* ---- small mask icons shared by both views ---- */
.ch-ic{ width:15px; height:15px; display:inline-block; flex:none; background:currentColor;
  -webkit-mask:var(--ic) center/contain no-repeat; mask:var(--ic) center/contain no-repeat; }
.ch-ic--search{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 4a6 6 0 104.5 10l4.3 4.3 1.4-1.4-4.3-4.3A6 6 0 0010 4zm0 2a4 4 0 110 8 4 4 0 010-8z'/%3E%3C/svg%3E"); }
.ch-ic--up{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11 16V7.8l-2.6 2.6L7 9l5-5 5 5-1.4 1.4L13 7.8V16h-2zM6 20v-2h12v2H6z'/%3E%3C/svg%3E"); }
.ch-ic--grid{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z'/%3E%3C/svg%3E"); }
.ch-ic--doc{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6 2h8l4 4v16H6V2zm7 1.5V7h3.5L13 3.5z'/%3E%3C/svg%3E"); }
.ch-ic--clock{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 5h-2v6l5 3 1-1.7-4-2.3z'/%3E%3C/svg%3E"); }
.ch-ic--people{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8 11a3 3 0 100-6 3 3 0 000 6zm8 0a3 3 0 100-6 3 3 0 000 6zm-8 2c-3 0-6 1.5-6 4v2h9v-2c0-1.6.8-2.8 2-3.7-.6-.2-1.3-.3-2-.3h-3zm8 0h-1c1.2.9 2 2.1 2 3.7v2h6v-2c0-2.5-3-4-6-4z'/%3E%3C/svg%3E"); }
.ch-ic--gear{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 8a4 4 0 100 8 4 4 0 000-8zm9 4a7 7 0 00-.1-1l2-1.5-2-3.4-2.3 1a7 7 0 00-1.7-1L16 3H8l-.9 2.6a7 7 0 00-1.7 1l-2.3-1-2 3.4L3 11a7 7 0 000 2l-2 1.5 2 3.4 2.3-1a7 7 0 001.7 1L8 21h8l.9-2.6a7 7 0 001.7-1l2.3 1 2-3.4L20.9 13a7 7 0 00.1-1z'/%3E%3C/svg%3E"); }

/* ---- shared: file rows + status chips ---- */
.ch-file{ display:inline-flex; align-items:center; gap:12px; min-width:0; }
.ch-file__ic{ width:34px; height:34px; border-radius:8px; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--ch-display); font-weight:700; font-size:10px; letter-spacing:.03em; color:#fff; background:#c0392b; }
.ch-file__ic--doc{ background:#2b579a; }
.ch-file__meta{ display:flex; flex-direction:column; min-width:0; }
.ch-file__meta b{ font-family:var(--ch-body); font-weight:600; font-size:14.5px; color:var(--ch-ink); line-height:1.3; }
.ch-file__meta i{ font-style:normal; font-size:12.5px; color:var(--ch-body-muted); margin-top:2px; }
.ch-file__date{ font-size:12.5px; color:var(--ch-body-muted); white-space:nowrap; }
.ch-chip{ font-family:var(--ch-display); font-weight:600; font-size:11.5px; letter-spacing:.01em;
  color:var(--ch-current); background:rgba(46,107,79,.12); padding:5px 12px; border-radius:999px; white-space:nowrap; flex:none; }
.ch-chip--work{ color:#8a6410; background:rgba(184,137,46,.16); }

/* ---- FRONT: the owners-only records portal ---- */
.ch-site__nav{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 22px; border-bottom:1px solid #eef0f3; }
.ch-site__brand{ display:inline-flex; align-items:center; gap:11px; }
.ch-site__logo{ width:34px; height:34px; border-radius:9px; background:var(--ch-navy); color:#fff;
  display:inline-flex; align-items:center; justify-content:center; font-family:var(--ch-display); font-weight:700; font-size:14px; letter-spacing:.02em; flex:none; }
.ch-site__names{ display:flex; flex-direction:column; line-height:1.15; }
.ch-site__names b{ font-family:var(--ch-display); font-weight:600; font-size:15px; color:var(--ch-navy); }
.ch-site__names i{ font-style:normal; font-size:11px; color:var(--ch-body-muted); margin-top:2px; }
.ch-site__links{ display:inline-flex; align-items:center; gap:20px; }
.ch-site__links a{ font-size:13.5px; color:var(--ch-body-muted); }
.ch-site__links a.is-current{ color:var(--ch-navy); font-weight:600; }
.ch-site__login{ font-family:var(--ch-display); font-weight:500; font-size:13px; color:var(--ch-navy); border:1px solid #d9dde3; border-radius:999px; padding:7px 15px; }
.ch-site__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; padding:20px 24px 15px; }
.ch-site__eyebrow{ font-family:var(--ch-display); font-weight:600; font-size:11px; letter-spacing:.05em; text-transform:uppercase; color:var(--ch-brass); }
.ch-site__title{ font-family:var(--ch-display); font-weight:600; font-size:23px; color:var(--ch-navy); margin:6px 0 0; letter-spacing:-.01em; }
.ch-site__badge{ font-family:var(--ch-display); font-weight:600; font-size:12px; color:#fff; background:var(--ch-current); padding:6px 14px; border-radius:999px; white-space:nowrap; }
.ch-site__badge::before{ content:"\2713\00a0\00a0"; }
.ch-site__toolbar{ display:flex; align-items:center; gap:14px; padding:0 24px 14px; }
.ch-site__search{ display:inline-flex; align-items:center; gap:8px; flex:1; min-width:0; color:#9aa1ac; font-size:13px; background:#f6f7f9; border:1px solid #eceef1; border-radius:9px; padding:9px 13px; }
.ch-site__search .ch-ic{ color:#aeb4bd; }
.ch-site__filters{ display:inline-flex; align-items:center; gap:7px; }
.ch-site__filters b, .ch-site__filters span{ font-family:var(--ch-display); font-size:12.5px; font-weight:500; color:var(--ch-body-muted); background:#f2f4f6; border-radius:999px; padding:6px 12px; }
.ch-site__filters b{ color:#fff; background:var(--ch-navy); font-weight:600; }
.ch-site__list{ list-style:none; margin:0; padding:0 12px 6px; }
.ch-site__list li{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px; border-top:1px solid #f1f2f4; }
.ch-site__list li:first-child{ border-top:none; }

/* ---- BACK: the board's view (faithful mini board dashboard) ---- */
.ch-bd{ height:100%; background:#f3f5f8; display:flex; flex-direction:column; }
.ch-bd__mast{ display:flex; align-items:center; gap:12px; padding:11px 18px; background:var(--ch-navy); }
.ch-bd__logo{ height:18px; width:auto; }
.ch-bd__assoc{ display:flex; flex-direction:column; line-height:1.15;
  border-left:1px solid rgba(255,255,255,.25); padding-left:12px; }
.ch-bd__assoc b{ font-family:var(--ch-display); font-weight:600; font-size:13px; color:#fff; }
.ch-bd__assoc i{ font-style:normal; font-size:10.5px; color:#b9c4d6; }
.ch-bd__role{ margin-left:auto; font-family:var(--ch-display); font-weight:600; font-size:10px;
  letter-spacing:.05em; text-transform:uppercase; color:var(--ch-brass-ink);
  background:var(--ch-brass); padding:4px 10px; border-radius:999px; }
.ch-bd__sub{ display:flex; gap:4px; padding:0 18px; background:#fff; border-bottom:1px solid #eceef1; }
.ch-bd__sub a{ font-family:var(--ch-display); font-weight:500; font-size:12px; color:#697488;
  padding:11px 10px; border-bottom:3px solid transparent; }
.ch-bd__sub a.is-current{ color:var(--ch-navy); border-bottom-color:var(--ch-brass); }
.ch-bd__body{ padding:14px 18px; display:grid; gap:12px; overflow:hidden; }
.ch-bd__score{ display:flex; align-items:center; gap:14px; background:#fff;
  border:1px solid #ebedf1; border-radius:11px; padding:12px 14px; }
.ch-bd__ring{ position:relative; width:52px; height:52px; border-radius:50%; flex:none; display:grid; place-items:center;
  background:conic-gradient(var(--ch-current) 305deg, #e6e2d5 0); }
.ch-bd__ring::after{ content:""; position:absolute; width:38px; height:38px; border-radius:50%; background:#fff; }
.ch-bd__ring b, .ch-bd__ring i{ position:relative; font-family:var(--ch-display); }
.ch-bd__ring b{ font-weight:700; font-size:15px; color:var(--ch-navy); }
.ch-bd__ring i{ font-style:normal; font-size:11px; color:var(--ch-body-muted); }
.ch-bd__scoretxt{ font-size:12.5px; color:var(--ch-body-muted); line-height:1.4; }
.ch-bd__scoretxt b{ display:block; font-family:var(--ch-display); font-weight:600; font-size:14px;
  color:var(--ch-navy); margin-bottom:2px; }
.ch-bd__panel{ background:#fff; border:1px solid #ebedf1; border-left:3px solid var(--ch-brass);
  border-radius:11px; padding:12px 14px; }
.ch-bd__panelhead{ font-family:var(--ch-display); font-weight:600; font-size:13px; color:var(--ch-navy); }
.ch-bd__reassure{ margin:4px 0 10px; font-size:11.5px; color:var(--ch-body-muted); }
.ch-bd__row{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:8px 0; border-top:1px solid #f1f2f4; }
.ch-bd__feed{ background:#fff; border:1px solid #ebedf1; border-radius:11px; padding:12px 14px; }
.ch-bd__feedhead{ font-family:var(--ch-display); font-weight:600; font-size:13px; color:var(--ch-navy); margin-bottom:6px; }
.ch-bd__item{ display:flex; gap:9px; font-size:12px; color:var(--ch-ink); padding:6px 0; align-items:flex-start; }
.ch-bd__tick{ width:18px; height:18px; border-radius:6px; flex:none; background:rgba(46,107,79,.14);
  color:var(--ch-current); display:grid; place-items:center; font-size:11px; font-weight:700; }
.ch-bd__row .ch-file__ic{ width:30px; height:30px; font-size:9px; }

/* navy offer sits in front so the demo emerges from behind it; the demo dips
   only slightly into the navy so the padding above the pricing card stays tight */
.ch-offer{ position:relative; z-index:2; padding-top:clamp(32px,4vw,56px); padding-bottom:clamp(44px,5.5vw,76px); }

/* ---------- offer / pricing card ---------- */
.ch-offer__wrap{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.ch-offer h2{ margin-top:0; line-height:1.15; }
.ch-offer__intro{ max-width:620px; margin-bottom:clamp(24px,3vw,36px); }
.ch-offer__sub{ color:var(--ch-on-navy); margin:.8em auto 0; max-width:52ch; }
@media(max-width:460px){ .ch-offer h2 br{ display:none; } }

.ch-price{
  width:100%; max-width:452px; background:#fff; color:var(--ch-ink);
  border-radius:20px; padding:clamp(26px,3vw,36px); text-align:left;
  box-shadow:0 30px 70px -28px rgba(0,0,0,.55);
}
.ch-price__head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.ch-price__name{ font-family:var(--ch-display); font-weight:600; font-size:16px; color:var(--ch-navy); }
.ch-price__tag{ font-family:var(--ch-display); font-weight:600; font-size:11.5px; color:var(--ch-current); background:rgba(46,107,79,.12); padding:5px 11px; border-radius:999px; }
.ch-price__figure{ display:flex; align-items:baseline; gap:12px; }
.ch-price__amt{ font-family:var(--ch-display); font-weight:700; font-size:56px; line-height:1; color:var(--ch-navy); }
.ch-price__amt sup{ font-size:26px; font-weight:600; top:-.75em; margin-right:1px; }
.ch-price__per{ font-family:var(--ch-display); font-weight:600; font-size:23px; color:var(--ch-body-muted); margin-left:3px; }
.ch-price__note{ font-size:13.5px; color:var(--ch-body-muted); }
.ch-price__monthly{ margin:10px 0 0; font-size:14.5px; color:var(--ch-body-muted); }
.ch-price__monthly b{ font-family:var(--ch-display); font-weight:600; color:var(--ch-navy); }
.ch-price__list{ list-style:none; margin:22px 0; padding:22px 0; border-top:1px solid var(--ch-line); border-bottom:1px solid var(--ch-line); display:grid; gap:13px; }
.ch-price__list li{ position:relative; padding-left:30px; font-size:14.5px; line-height:1.4; color:var(--ch-ink); }
.ch-price__list li::before{
  content:""; position:absolute; left:0; top:1px; width:20px; height:20px; border-radius:50%; background:var(--ch-current);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}
.ch-price__cta{ display:flex; justify-content:center; width:100%; font-size:16px; padding-top:15px; padding-bottom:15px; }
.ch-price__book{ display:block; text-align:center; margin-top:14px; font-size:13.5px; color:var(--ch-body-muted); text-decoration:underline; text-underline-offset:3px; text-decoration-color:#cfd4db; }
.ch-price__book:hover{ color:var(--ch-navy); }
.ch-price__guarantee{ display:flex; align-items:flex-start; gap:9px; margin:20px 0 0; font-size:12.5px; line-height:1.45; color:var(--ch-body-muted); }
.ch-price__gic{ width:17px; height:17px; flex:none; margin-top:1px; background:var(--ch-current);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3zm-1.2 13.4-3.2-3.2 1.4-1.4 1.8 1.8 4-4 1.4 1.4-5.4 5.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3zm-1.2 13.4-3.2-3.2 1.4-1.4 1.8 1.8 4-4 1.4 1.4-5.4 5.4z'/%3E%3C/svg%3E") center/contain no-repeat; }

@media(max-width:820px){
  .ch-demo-block{ margin-bottom:calc(-1 * clamp(48px,11vw,88px)); }
  .ch-offer{ padding-top:clamp(40px,6vw,64px); }
}
@media(max-width:560px){
  .ch-demo-toggle{ display:flex; width:100%; }
  .ch-demo-toggle button{ min-width:0; flex:1; padding:9px 12px; }
  /* On phones, swap the live HTML demo for crisp captured desktop screenshots,
     so it reads as a real product screenshot (and dodges mobile zoom quirks).
     The toggle still switches which screenshot shows. */
  .ch-demo{ width:100%; max-width:100%; margin:0; border:none; background:none; box-shadow:none; overflow:visible; }
  .ch-demo__bar, .ch-demo__screen{ display:none; }
  .ch-demo__shot{ display:none; width:100%; height:auto; border-radius:14px 14px 0 0; box-shadow:0 26px 50px -22px rgba(23,38,63,.5); }
  .ch-demo[data-view="front"] .ch-demo__shot--front{ display:block; }
  .ch-demo[data-view="back"] .ch-demo__shot--back{ display:block; }
}

/* ==========================================================================
   PER-BUILDING GAP PAGE (condoharbor.com/{slug}). ALL net-new rules are scoped
   under body.ch-gap so they can never leak into the landing page. Everything
   else on the page (.ch-band, .ch-btn, .ch-price, .ch-steps, .ch-faq, .ch-notice,
   focus-visible, footer) is reused verbatim from the sheet above.
   Rendered by condoharbor-core (includes/gap.php + gap-page.php).
   ========================================================================== */

/* --- Section A: letterhead (navy wordmark bar + "Prepared for" band) --- */
.ch-gap .ch-gaphead{ background:var(--ch-navy); }
.ch-gap .ch-gaphead__row{ max-width:var(--ch-wrap); margin:0 auto; padding:16px 24px; display:flex; align-items:center; justify-content:center; }
.ch-gap .ch-preparedfor{ background:#fff; border-bottom:2px solid var(--ch-brass); text-align:center; padding:16px 24px 18px; }
.ch-gap .ch-preparedfor__label{ font-family:var(--ch-display); font-weight:600; text-transform:uppercase; letter-spacing:.18em; font-size:12px; color:var(--ch-brass); margin:0 0 4px; }
.ch-gap .ch-preparedfor__name{ font-family:var(--ch-head); font-weight:600; color:var(--ch-navy); font-size:clamp(30px,6.5vw,48px); line-height:1.1; margin:0; text-wrap:balance; overflow-wrap:anywhere; }

/* --- Section B: mirror hero --- */
.ch-gap .ch-gap__meta{ font-family:var(--ch-display); font-weight:500; font-size:15px; letter-spacing:.02em; color:var(--ch-on-navy); margin:0 0 14px; }
.ch-gap .ch-chip--verdict{ display:inline-flex; align-items:center; gap:9px; min-height:38px; font-family:var(--ch-display); font-weight:600; font-size:15px; letter-spacing:.01em; color:#6f5210; background:#f7ead0; border:1px solid #e2c78a; border-radius:999px; padding:8px 16px 8px 13px; margin:0 0 18px; }
.ch-gap .ch-chip--verdict::before{ content:""; width:11px; height:11px; border-radius:50%; background:var(--ch-due); flex:none; }
.ch-gap .ch-gap__found{ max-width:58ch; margin:0 0 .2em; color:#fff; font-size:18px; }
.ch-gap .ch-gap__found b{ font-family:var(--ch-display); font-weight:600; }
.ch-gap .ch-accuracy{ max-width:58ch; margin:1.5em 0 1.9em; padding:16px 20px; background:rgba(255,255,255,.07); border-left:4px solid var(--ch-brass); border-radius:10px; color:var(--ch-on-navy); font-size:17px; line-height:1.55; }
.ch-gap .ch-accuracy b{ color:#fff; }

/* --- Section D: single compliant-building screenshot in a framed figure --- */
.ch-gap .ch-gap-demo{ max-width:820px; margin:clamp(28px,4vw,44px) auto clamp(24px,3vw,34px); border:1px solid var(--ch-line); border-radius:16px; overflow:hidden; background:#fff; box-shadow:0 44px 90px -30px rgba(23,38,63,.5), 0 10px 26px rgba(23,38,63,.12); }
.ch-gap .ch-gap-demo img{ display:block; width:100%; height:auto; }

/* --- Section F: per-unit anchor inside the reused .ch-price card --- */
.ch-gap .ch-price__anchor{ margin:16px 0 4px; padding:14px 16px; background:rgba(184,137,46,.10); border:1px solid rgba(184,137,46,.30); border-radius:12px; font-family:var(--ch-body); font-size:16px; line-height:1.4; color:var(--ch-ink); }
.ch-gap .ch-price__anchor b{ display:block; margin-top:3px; font-family:var(--ch-display); font-weight:700; font-size:20px; color:var(--ch-navy); }

/* --- Section G: the two doors + PDF (also drives the sticky bar) --- */
.ch-gap .ch-doors{ display:grid; gap:8px 14px; max-width:452px; margin:clamp(24px,3vw,34px) auto 0; }
.ch-gap .ch-doors .ch-btn{ width:100%; min-height:56px; font-size:18px; }
.ch-gap .ch-doors__note{ margin:0 0 8px; font-size:15px; line-height:1.45; color:var(--ch-on-navy); text-align:center; }
.ch-gap .ch-doors__note a{ color:var(--ch-brass); text-decoration:underline; text-underline-offset:2px; }
.ch-gap .ch-pdf{ display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:44px; margin-top:6px; font-family:var(--ch-display); font-weight:600; font-size:16px; color:#fff; text-decoration:underline; text-underline-offset:3px; text-decoration-color:#cdb06a; }
.ch-gap .ch-pdf:hover{ color:#fff; text-decoration-color:var(--ch-brass); }

/* --- Sticky mobile CTA: pin the primary door to the thumb on phones --- */
.ch-gap .ch-stickycta{ display:none; }
@media(max-width:820px){
  .ch-gap .ch-stickycta{ display:block; position:fixed; left:0; right:0; bottom:0; z-index:60; background:rgba(23,38,63,.97); border-top:2px solid var(--ch-brass); padding:10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow:0 -8px 24px rgba(0,0,0,.25); }
  .ch-gap .ch-stickycta .ch-btn{ width:100%; min-height:54px; font-size:18px; }
  body.ch-gap{ padding-bottom:86px; }
}
@media (prefers-reduced-motion: reduce){ .ch-gap .ch-stickycta{ transition:none; } }

/* --- PDF / print view (MVP board handout): make the navy bands legible on
   paper, and strip the interactive chrome. Phase 4 replaces this with the
   per-slug gap-report PDF from scripts/gen_letters.py. --- */
@media print{
  .ch-gap .ch-stickycta,
  .ch-gap .ch-doors,
  .ch-gap .ch-cta-group,
  .ch-gap .ch-skip-link,
  .ch-footer{ display:none !important; }
  .ch-gap .ch-band{ padding:22px 0 !important; }
  .ch-gap .ch-band--navy{ background:#fff !important; color:var(--ch-ink) !important; }
  .ch-gap .ch-band--navy h1,
  .ch-gap .ch-band--navy h2,
  .ch-gap .ch-band--navy h3{ color:var(--ch-navy) !important; }
  .ch-gap .ch-band--navy p,
  .ch-gap .ch-gap__meta,
  .ch-gap .ch-gap__found,
  .ch-gap .ch-gap__found b,
  .ch-gap .ch-accuracy,
  .ch-gap .ch-accuracy b{ color:var(--ch-ink) !important; }
  .ch-gap .ch-accuracy{ background:none !important; }
  .ch-gap .ch-price{ box-shadow:none !important; border:1px solid var(--ch-line); }
  .ch-gap .ch-gaphead{ background:var(--ch-navy) !important; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .ch-gap .ch-chip--verdict{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}

/* ==========================================================================
   Post-checkout welcome + document-intake form ([ch_welcome] on /welcome/).
   Theme-rendered (page.php), so the field styles mirror the plugin's bulletin
   composer (.ch-field) but in this theme's tokens.
   ========================================================================== */
.ch-welcome{ max-width:60ch; margin:0 auto; }
.ch-welcome__eyebrow{
  font-family:var(--ch-display); font-weight:500; text-transform:uppercase;
  letter-spacing:.2em; font-size:13px; color:var(--ch-brass); margin:0 0 10px;
}
.ch-welcome__title{ margin:0 0 .35em; }
.ch-welcome__lead{ font-size:clamp(19px,2vw,22px); color:var(--ch-body-muted); margin:0 0 28px; }

.ch-intake__err{
  background:#fbeceb; border:1px solid #e6c3bf; border-left:4px solid var(--ch-missing);
  color:#7a2c25; border-radius:10px; padding:14px 18px; margin:0 0 22px;
}

.ch-intake__form{ margin:0 0 8px; }
.ch-intake .ch-field{ margin-bottom:20px; }
.ch-intake .ch-field label{
  display:block; font-family:var(--ch-display); font-weight:600; color:var(--ch-navy);
  font-size:16px; margin-bottom:7px;
}
.ch-intake .ch-field input,
.ch-intake .ch-field textarea{
  width:100%; font:inherit; font-size:18px; line-height:1.5;
  padding:13px 15px; border:2px solid #cfd6e0; border-radius:10px; background:#fff;
  color:var(--ch-ink);
}
.ch-intake .ch-field textarea{ resize:vertical; min-height:120px; }
.ch-intake .ch-field input:focus,
.ch-intake .ch-field textarea:focus{ outline:none; border-color:var(--ch-channel); }
.ch-intake .ch-field input::placeholder,
.ch-intake .ch-field textarea::placeholder{ color:#8b93a1; }
.ch-field__note{ font-size:14.5px; color:var(--ch-body-muted); margin:6px 0 0; }
.ch-field__opt{ font-weight:400; color:var(--ch-body-muted); }

.ch-intake__assoc{
  margin:0; padding:13px 16px; background:var(--ch-paper);
  border:1px solid var(--ch-line); border-radius:10px; font-size:18px; color:var(--ch-ink);
}
.ch-intake__assoc strong{ color:var(--ch-navy); }

.ch-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:8px; }

.ch-intake__alt{ font-size:15.5px; color:var(--ch-body-muted); margin:20px 0 0; }

.ch-intake__confirm{
  background:#eaf3ee; border:1px solid #bcd8c8; border-left:4px solid var(--ch-current);
  border-radius:12px; padding:20px 24px; margin:0 0 8px;
}
.ch-intake__confirm p{ margin:0; color:#1f4b39; font-size:19px; }

/* Honeypot: kept in the DOM for bots, out of view + off the tab order for humans. */
.ch-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* "What happens next" block, shown below the primary action in every state. */
.ch-welcome__next{
  margin:40px auto 0; max-width:60ch; padding-top:30px;
  border-top:1px solid var(--ch-line);
}
.ch-welcome__next h2{ font-size:clamp(24px,3vw,30px); margin:0 0 .5em; }
.ch-welcome__next ol{ margin:0 0 1.2em; padding-left:1.2em; }
.ch-welcome__next li{ margin:0 0 .7em; }
.ch-welcome__next strong{ color:var(--ch-navy); }
