/* Recapture brand layer (Nov 2026 redesign). Loaded last on every Recapture page and every /app screen, after the
   generated light theme (theme-light.css), so these tokens and component rules sit on top of each page's own CSS.
   Two looks, one design: LIGHT is the default (white surfaces on #f5f5f7, deep green #0b7d5e accent), DARK is
   <html data-theme="dark"> (near-black, mint #82dfcb accent, a soft green glow). Violet marks locks and secondary
   data in both. Inter everywhere, big tight headlines, pill buttons with a soft glow.
   Contrast: #0b7d5e on white 5.3:1; white on the light button's lightest stop #096a50 6.6:1; mint #82dfcb on black
   12:1; ink #04211c on the dark button 9:1.
   Visual only: no layout, copy or behavior lives here. See docs/design-system.md. */
:root{
  --rc-bg:#050506; --rc-surface:#0f0f12; --rc-surface-2:#16161b;
  --rc-line:rgba(255,255,255,.08); --rc-line-strong:rgba(255,255,255,.16);
  --rc-text:#f5f5f7; --rc-body:#c8c8ce; --rc-muted:#a1a1a9;
  --rc-accent:#82dfcb; --rc-accent-hover:#9de8d7; --rc-on-accent:#04211c;
  --rc-violet:#a597ff; --rc-violet-soft:#c3b8ff;
  --rc-grad:linear-gradient(135deg,#9de8d7 0%,#5fd3b6 100%);
  --rc-grad-hover:linear-gradient(135deg,#b6f0dc 0%,#7fe0c4 100%);
  --rc-btn-glow:0 8px 26px rgba(60,200,160,.30),inset 0 1px 0 rgba(255,255,255,.35);
  --rc-glow-bg:radial-gradient(1100px 620px at 72% -12%,rgba(20,150,115,.28),transparent 68%),radial-gradient(800px 600px at 105% 105%,rgba(120,90,255,.08),transparent 70%);
  --rc-card:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  --rc-card-shadow:0 24px 60px -32px rgba(0,0,0,.9);
  --rc-glass:rgba(12,12,15,.82);
  --rc-radius:20px; --rc-radius-sm:14px;
  --rc-font:"Inter","Inter Fallback",-apple-system,system-ui,"Segoe UI",sans-serif;
}
html:not([data-theme="dark"]){
  --rc-bg:#f5f5f7; --rc-surface:#ffffff; --rc-surface-2:#f0f0f3;
  --rc-line:rgba(0,0,0,.08); --rc-line-strong:rgba(0,0,0,.14);
  --rc-text:#1d1d1f; --rc-body:#3a3a3c; --rc-muted:#6e6e73;
  --rc-accent:#0b7d5e; --rc-accent-hover:#096a50; --rc-on-accent:#ffffff;
  --rc-violet:#5b4ad6; --rc-violet-soft:#7b6cf0;
  --rc-grad:linear-gradient(135deg,#096a50 0%,#0a6f54 100%);
  --rc-grad-hover:linear-gradient(135deg,#0c7a5c 0%,#085f48 100%);
  --rc-btn-glow:0 8px 22px -6px rgba(11,125,94,.45),inset 0 1px 0 rgba(255,255,255,.18);
  --rc-glow-bg:radial-gradient(1100px 620px at 72% -12%,rgba(46,190,150,.16),transparent 68%),radial-gradient(800px 600px at 105% 105%,rgba(120,90,255,.06),transparent 70%);
  --rc-card:#ffffff;
  --rc-card-shadow:0 1px 2px rgba(0,0,0,.04),0 14px 34px -18px rgba(0,0,0,.18);
  --rc-glass:rgba(255,255,255,.8);
  color-scheme:light;
}
html[data-theme="dark"]{color-scheme:dark}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:var(--rc-font)}

/* Headlines: heavy, tight, Apple-like. */
h1,h2,h3,.app-top-title,.app-brand{font-family:var(--rc-font)!important;letter-spacing:-.03em}
h1{font-weight:750!important;letter-spacing:-.04em}
h2{font-weight:700!important}
h3{font-weight:650}

/* The soft glow behind every page. */
body.app,body.site,body.is-dashboard{background-image:var(--rc-glow-bg)!important;background-repeat:no-repeat!important}
body.app{background-color:#000}
html:not([data-theme="dark"]) body.app,html:not([data-theme="dark"]) body.site{background-color:var(--rc-bg)!important}

/* Primary buttons: a pill with the accent gradient and a soft glow. */
.button:not(.button-ghost):not(.button-secondary):not(.button-outline),.app-btn:not(.is-ghost):not(.app-btn-ghost):not(.is-off),
.app-embed .button,.l3-btn-primary,.crm-cta,.dash-main .button,.cx-btn.approve,.call-btn,.rx-play,.dash-ai-apply,.crm-seq .crm-cta{
  background:var(--rc-grad)!important;color:var(--rc-on-accent)!important;border-color:transparent!important;box-shadow:var(--rc-btn-glow);border-radius:999px}
.button:not(.button-ghost):not(.button-secondary):not(.button-outline):hover,.app-btn:not(.is-ghost):not(.app-btn-ghost):not(.is-off):hover,
.app-embed .button:hover,.l3-btn-primary:hover,.crm-cta:hover,.dash-main .button:hover{background:var(--rc-grad-hover)!important;color:var(--rc-on-accent)!important}
.button svg,.app-btn svg,.crm-cta svg{color:var(--rc-on-accent);stroke:currentColor}

/* Active tab, eyebrow labels, lock marks. */
.app-tab[aria-current="page"],.app-rail .app-tab[aria-current="page"]{color:var(--rc-accent)!important}
.eyebrow,.kicker,.app-eyebrow,.l3-eyebrow{color:var(--rc-accent)!important;letter-spacing:.18em}
.app-lock{color:var(--rc-violet)!important}

::selection{background:rgba(130,223,203,.35)}
html:not([data-theme="dark"]) ::selection{background:rgba(11,125,94,.2)}
:focus-visible{outline-color:var(--rc-accent)}

/* Social icons: quiet glass tiles that light up on hover. */
.socials .social-icon,.header-socials a,.menu-socials div a{background:rgba(255,255,255,.06)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important}
.socials a:hover .social-icon,.socials a:focus-visible .social-icon,.header-socials a:hover,.menu-socials div a:hover{background:rgba(130,223,203,.16)!important;color:var(--rc-accent)!important;box-shadow:inset 0 0 0 1px rgba(130,223,203,.45),0 0 24px rgba(110,220,190,.25)!important}
html:not([data-theme="dark"]) .socials .social-icon,html:not([data-theme="dark"]) .header-socials a,html:not([data-theme="dark"]) .menu-socials div a{background:#fff!important;color:#1d1d1f!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.05)!important}
html:not([data-theme="dark"]) .socials a:hover .social-icon,html:not([data-theme="dark"]) .header-socials a:hover,html:not([data-theme="dark"]) .menu-socials div a:hover{background:#e3f6ee!important;color:var(--rc-accent)!important;box-shadow:inset 0 0 0 1px rgba(11,125,94,.35)!important}

/* The logo mark carries its own green glow; a little extra bloom where it sits on the page. */
.brand img,.app-brand img,.site-footer .brand img{box-shadow:0 0 18px rgba(30,170,130,.28)}
html:not([data-theme="dark"]) .brand img,html:not([data-theme="dark"]) .app-brand img{box-shadow:0 0 0 1px rgba(0,0,0,.06),0 6px 16px -6px rgba(11,125,94,.45)}

/* App surfaces: cards with a hairline edge, a frosted tab bar and header. */
.app .app-card,.app .l3-card{background:var(--rc-card),var(--panel,#0f0f12);border-color:var(--rc-line);border-radius:20px;box-shadow:var(--rc-card-shadow)}
html:not([data-theme="dark"]) .app .app-card,html:not([data-theme="dark"]) .app .l3-card{background:#fff}
.app .app-nav{background:var(--rc-glass);-webkit-backdrop-filter:saturate(1.4) blur(20px);backdrop-filter:saturate(1.4) blur(20px);border-top-color:var(--rc-line)}
.app .app-top{background:rgba(0,0,0,.72);-webkit-backdrop-filter:saturate(1.4) blur(20px);backdrop-filter:saturate(1.4) blur(20px)}
html:not([data-theme="dark"]) .app .app-top{background:rgba(245,245,247,.8)}
.app .app-tab[aria-current="page"]::before{box-shadow:0 0 12px rgba(130,223,203,.8)}
html:not([data-theme="dark"]) .app .app-tab[aria-current="page"]::before{box-shadow:none}
.app .app-avatar{background:linear-gradient(135deg,#25252b,#141418)}
html:not([data-theme="dark"]) .app .app-avatar{background:linear-gradient(135deg,#ffffff,#ececf0);color:#1d1d1f}

/* Light: the public site's cards and panels read as white on #f5f5f7. */
html:not([data-theme="dark"]) body.site .site-header{background:rgba(245,245,247,.8)!important}

/* The Appearance switch (public/theme.js): app account menu and site footer. */
.js-theme{display:flex;align-items:center;gap:10px}
.js-theme .rc-theme-switch{position:relative;flex:none;width:44px;height:26px;margin-left:auto;border-radius:999px;background:rgba(127,127,135,.35);transition:background .2s}
.js-theme .rc-theme-switch i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s}
.js-theme[aria-pressed="true"] .rc-theme-switch{background:#34c759}
.js-theme[aria-pressed="true"] .rc-theme-switch i{transform:translateX(18px)}
.js-theme .rc-theme-value{min-width:2.6em;color:var(--rc-muted);font-size:.9em;text-align:right}
.rc-theme-foot{margin:1rem 0 0}
.rc-theme-btn{min-height:44px;padding:0 14px;border:1px solid var(--rc-line-strong);border-radius:999px;background:transparent;color:inherit;font:600 .95rem/1 var(--rc-font);cursor:pointer}
.rc-theme-btn .rc-theme-switch{margin-left:6px}
@media (prefers-reduced-motion:reduce){.js-theme .rc-theme-switch,.js-theme .rc-theme-switch i{transition:none}}

/* Light: the night-photo scenes behind some page heroes belong to the dark look; light shows the soft glow instead. */
html:not([data-theme="dark"]) .d3,html:not([data-theme="dark"]) .d3-light{display:none}
html:not([data-theme="dark"]) .cx-bg,html:not([data-theme="dark"]) .cx-bg2,html:not([data-theme="dark"]) .cx-dim,
html:not([data-theme="dark"]) .ab-bg,html:not([data-theme="dark"]) .ab-bg2,html:not([data-theme="dark"]) .ab-dim,
html:not([data-theme="dark"]) .ag-dim,html:not([data-theme="dark"]) .g-hero>.dim,
html:not([data-theme="dark"]) .ms-bg,html:not([data-theme="dark"]) .ms-bg2,html:not([data-theme="dark"]) .ms-dim,
html:not([data-theme="dark"]) .tm-bg,html:not([data-theme="dark"]) .tm-bg2,html:not([data-theme="dark"]) .tm-dim{display:none!important}
html:not([data-theme="dark"]) .ab-hc h1,html:not([data-theme="dark"]) .ab-hc .lede,html:not([data-theme="dark"]) .ms-hc h1,html:not([data-theme="dark"]) .tm-hc h1{text-shadow:none!important}
html:not([data-theme="dark"]) .ag-hero .page-intro,html:not([data-theme="dark"]) .g-hero{text-shadow:none!important}
html:not([data-theme="dark"]) .ag-hero .agent-form-col{background:#fff!important;border-color:rgba(0,0,0,.08)!important;box-shadow:var(--rc-card-shadow)!important}
.app-account-item.js-theme[aria-pressed="true"]{color:inherit}
/* The Add to Home Screen item (app-ios.js) in the desktop rail: icon-sized, like the phone sheet. */
.ios-a2hs{display:flex;align-items:center}
.ios-a2hs svg{width:20px;height:20px;flex:none;margin-right:12px;color:var(--rc-accent)}
html:not([data-theme="dark"]) body.rx .g-home .btn{background:var(--rc-grad)!important;color:#fff!important}
/* Light contrast (Designer, Nov 15): #096a50 for green text on the light green tints (Live and Linked pills, the CRM
   New chip, the active desktop tab, the "On your plan" pill, the active CRM sub-tab), so each is at least 4.5:1. */
html:not([data-theme="dark"]) body.app .pill-live,html:not([data-theme="dark"]) body.app .app-pill.pill-live{color:#096a50}
html:not([data-theme="dark"]) body.app .crm-chip[data-stage="new"],html:not([data-theme="dark"]) body.app .l3-pill,
html:not([data-theme="dark"]) body.app .lg-status.is-booked,html:not([data-theme="dark"]) body.app .lg-status.is-completed{color:#096a50}
html:not([data-theme="dark"]) body.app .crm-nav button[aria-current="page"],html:not([data-theme="dark"]) body.app .crm-nav button[aria-current="page"] svg,html:not([data-theme="dark"]) body.app .crm-nav button[aria-current="page"] .crm-count{color:#096a50}
html:not([data-theme="dark"]) body.app .app-tab[aria-current="page"],html:not([data-theme="dark"]) body.app .app-rail .app-tab[aria-current="page"]{color:#096a50!important}
/* The skip link shows on focus in both looks: dark ink on mint (dark), white on deep green (light). */
.app .app-skip{color:var(--mint-ink)}
html:not([data-theme="dark"]) .app .app-skip{background:#096a50;--mint-ink:#ffffff;color:#ffffff}

/* Split tests (public/exp.js): a version a visitor doesn't get stays hidden whatever its own display rule says. */
[data-exp][hidden]{display:none!important}

/* ---------- Mobile pass (Nov 20 2026 audit at 360 / 390 / 430): 44px taps, 13px minimum labels, homepage hero
   button on the first screen. Layout only, no colors, so theme-light.css needs no rebuild. ---------- */
.site-header .brand,.site-footer .brand{min-width:44px;min-height:44px;justify-content:center}
.foot-links a{min-width:44px;justify-content:center}
.hero-call a,.customer-links a,.demo-actions a.phone,.hv-callcard-num{display:inline-flex;align-items:center;min-height:44px}
.st-faq summary{display:flex;align-items:center;min-height:44px}
.lead-form .opts label.check{display:inline-flex;align-items:center;min-height:44px}
@media (max-width:480px){
  .rx-kicker,.rx-eyebrow,.rx-screen-kicker,.rx-case-num,.rx-case-label,.offer-kicker,.offer-tag,.sl-kicker,.eyebrow,.st-kicker,
  .tag-soon,.hv-kicker,.hv-callcard-k,.foot-note,.sx-type,.plan-note,.plan-time-note,.rx-chips li{font-size:13px!important}
  /* Homepage hero: the kicker repeats the headline, so phones skip it, and the headline and spacing are a little
     tighter, so "Show me my agent" shows on the first screen of a small iPhone. */
  body.rx .g-hero .rx-kicker{display:none}
  body.rx .g-hero h1{font-size:2.25rem;margin-bottom:1rem}
  body.rx .g-hero .hero-lede{margin-bottom:1rem}
  body.rx .g-hero .hsub{margin-top:.5rem;margin-bottom:.5rem}
}
