/* Theme roles preserve SCALE's blue palette while following the browser by default. */
:root{
  --theme-bg:#050d1a;--theme-alt:#0a0f1e;--theme-panel:#0d172a;--theme-ink:#ffffff;
  --theme-muted:#b9c3d0;--theme-subtle:#94a3b8;--theme-border:#29384e;--theme-blue:#6ab8ff;
  --theme-nav:rgba(5,13,26,.96);--theme-input:rgba(255,255,255,.04);--theme-footer:#020710;
  --theme-backdrop:rgba(2,7,16,.8);--theme-warning:#fcd38b;--theme-error:#ffb9b9;--theme-logo:1;
  --theme-focus:#2090fe;--white:var(--theme-ink)
}
html{scrollbar-gutter:stable}
html[data-theme="dark"]{
  color-scheme:dark;--color-primary-strong:#075de6;--color-primary-deep:#054ab8;
  --color-background:#050d1a;--color-background-dark:#050d1a;--color-background-darkest:#020710;
  --color-surface:#0a0f1e;--color-surface-dark:#0a0f1e;--color-surface-tint:#0d172a;--color-surface-tint-2:#102c50;
  --color-text:#ffffff;--color-text-muted:#b9c3d0;--color-text-on-dark-muted:#b9c3d0;--color-text-on-dark-subtle:#94a3b8;
  --color-border:#29384e;--color-border-blue:rgba(106,184,255,.3);--color-accent:#6ab8ff
}
html[data-theme="light"]{
  color-scheme:light;--theme-bg:#ffffff;--theme-alt:#f0f7ff;--theme-panel:#ffffff;--theme-ink:#050d1a;
  --theme-muted:#4b5563;--theme-subtle:#5b687b;--theme-border:#cddbe9;--theme-blue:#075de6;
  --theme-nav:rgba(255,255,255,.96);--theme-input:#ffffff;--theme-footer:#edf4ff;
  --theme-backdrop:rgba(5,13,26,.45);--theme-warning:#92400e;--theme-error:#b42318;--theme-logo:0;--theme-focus:#075de6;
  --color-primary-strong:#075de6;--color-primary-deep:#054ab8;--color-accent:#075de6;
  --color-background:#ffffff;--color-background-dark:#f8fbff;--color-background-darkest:#edf4ff;
  --color-surface:#ffffff;--color-surface-dark:#ffffff;--color-surface-tint:#f0f7ff;--color-surface-tint-2:#dce8ff;
  --color-text:#050d1a;--color-text-muted:#4b5563;--color-text-on-dark-muted:#4b5563;--color-text-on-dark-subtle:#5b687b;
  --color-border:#e5e7eb;--color-border-blue:#c8dfff;--color-border-on-dark:#d7e1ec;--color-border-on-dark-strong:#cddbe9
}
body{background:var(--theme-bg);color:var(--theme-ink)}
body:has(dialog[open]){overflow:hidden}
body:has(dialog[open]) .floating-cta{visibility:hidden;opacity:0;pointer-events:none}
.brand img{filter:invert(var(--theme-logo))}
.header,.header.scrolled{background:var(--theme-nav);border-color:var(--theme-border)}
.header .nav-book{margin-left:0}
.menu-toggle>span{background:var(--theme-ink)}
.nav-links a:hover{color:var(--theme-ink)}
.hero{background:var(--theme-bg);color:var(--theme-ink);border-color:var(--theme-border)}
.hero-description strong,.engine-note strong,.ad-note strong,.footer-top>p strong,.guarantee-terms strong{color:var(--theme-ink)}
.hero-bottom,.proof-strip{border-color:var(--theme-border)}
.outline-word{-webkit-text-stroke-color:var(--theme-blue)}
.art-tag:not(.tag-b),.radar-tag{background:var(--theme-panel);color:var(--theme-blue);border-color:var(--color-border-blue)}
.tag-b{background:#075de6;color:white;border-color:#2090fe}
.leak-panel{background:var(--theme-alt);color:var(--theme-ink);border-color:var(--theme-border)}
.leak-console,.leak-option{border-color:var(--theme-border)}
.leak-option{color:var(--theme-ink)}
.leak-option.active{background:#075de6;color:white}
.leak-option.active>span,.leak-option.active i{color:white}
.engine-section{background:var(--theme-alt);color:var(--theme-ink);border-color:var(--theme-border)}
.engine-panel{background:var(--theme-panel);color:var(--theme-ink);border-color:var(--color-border-blue)}
.engine-tabs,.engine-tab,.engine-tab:last-child,.engine-description{border-color:var(--theme-border)}
.engine-tab.active,.engine-tab:hover{color:var(--theme-blue)}
.radar-rings>b{background:rgba(32,144,254,.1);color:var(--theme-blue);border-color:var(--color-primary)}
.message{color:var(--theme-muted);background:rgba(32,144,254,.06);border-color:var(--color-border-blue)}
.message.answer{color:white;background:#075de6;border-color:#075de6}
.follow-line{background:var(--theme-border)}
.follow-event{color:var(--theme-ink)}
.book-demo{color:var(--theme-ink);background:rgba(32,144,254,.06);border-color:var(--color-border-blue)}
.calendar-date{background:#075de6;color:white}
.inspection{background:var(--theme-panel);color:var(--theme-ink)}
.inspection .eyebrow,.inspection .section-index,.inspection-steps article>span,.inspection h2>span,.founder .eyebrow,.founder h2 span,.reference-call>span{color:var(--theme-blue)}
.inspection-steps article{border-color:var(--theme-border)}
.inspection-steps p{color:var(--theme-muted)}
.guarantee-card:not(.guarantee-featured){background:var(--theme-alt);color:var(--theme-ink);border-color:var(--theme-border)}
.guarantee-card:not(.guarantee-featured):hover{background:var(--theme-panel);border-color:var(--color-primary)}
.guarantee-featured,.guarantee-featured:hover{background:#075de6;color:white}
.guarantee-featured:hover{background:#054ab8}
.guarantee-featured .guarantee-card-top,.guarantee-featured .guarantee-number>span,.guarantee-featured .guarantee-number>i,.guarantee-featured>p,.guarantee-featured .guarantee-bottom{color:white}
.guarantee-terms,.guarantee-bottom{border-color:var(--theme-border)}
.founder{background:var(--theme-alt);color:var(--theme-ink)}
.founder-quote,.founder-location,.founder-stamp,.founder-signature p,.reference-call p{color:var(--theme-muted)}
.founder-signature>span,.reference-call strong{color:var(--theme-ink)}
.founder-stamp{background:var(--theme-alt)}
.reference-call{border-color:var(--theme-border)}
.founder-portrait figcaption,.founder-portrait figcaption strong,.founder-portrait figcaption>span{color:white}
.calculator-card{background:var(--theme-alt);color:var(--theme-ink);border-color:var(--theme-border)}
.calculator-top,.calculator-result,.calculator-disclaimer{border-color:var(--theme-border)}
.range-group input{background:linear-gradient(to right,var(--color-primary) var(--fill,30%),var(--theme-border) var(--fill,30%))}
.range-group input::-webkit-slider-thumb{border-color:var(--theme-alt)}
.range-group input::-moz-range-thumb{border-color:var(--theme-alt)}
.territory{background:var(--theme-alt);color:var(--theme-ink);border-color:var(--theme-border)}
.faq-list details{border-color:var(--theme-border)}
.footer{background:var(--theme-footer);color:var(--theme-ink)}
.footer-top{border-color:var(--theme-border)}
.floating-cta{background:var(--theme-nav);border-color:var(--theme-border)}
.report-dialog,.capture-dialog,.booking-dialog{background:var(--theme-panel);color:var(--theme-ink);border-color:var(--color-border-blue)}
.report-dialog::backdrop,.booking-dialog::backdrop{background:var(--theme-backdrop);backdrop-filter:blur(10px)}
.dialog-close,.capture-dialog .dialog-close,.booking-close{background:var(--theme-panel);color:var(--theme-muted)}
.capture-fields label{color:var(--theme-ink)}
.capture-fields input{background:var(--theme-input);border-color:var(--theme-border);color:var(--theme-ink)}
.capture-fields input::placeholder{color:var(--theme-subtle)}
.capture-dialog .capture-preview-note{color:var(--theme-warning)}
.capture-error{color:var(--theme-error)}
.capture-success h3,.capture-success p{color:var(--theme-ink)}
.capture-dismiss,.capture-done{color:var(--theme-blue)}
.ticker,.ticker-track>span,.ticker-track>b,.final-cta,.final-cta .eyebrow,.final-cta h2,.final-bottom>p,.final-meta,.check-invite h3,.check-invite p:not(.eyebrow){color:white}
.ticker,.final-cta{background:#075de6}
.final-cta h2>span:not(.period){color:transparent;-webkit-text-stroke-color:white}
.final-cta .button-dark{background:white;color:#075de6}
.final-cta .button-dark:hover{background:#f0f7ff}
.final-cta .button-secondary{color:white}
:focus-visible{outline-color:var(--theme-focus)}
.inspection :focus-visible,.founder :focus-visible{outline-color:var(--theme-focus)}
.final-cta :focus-visible,.guarantee-featured :focus-visible{outline-color:white}
html[data-theme="light"] .button-dark{background:#075de6;color:white}
html[data-theme="light"] .button-dark:hover{background:#054ab8}
html[data-theme="light"] .final-cta .button-dark{background:white;color:#075de6}
html[data-theme="light"] .final-cta .button-dark:hover{background:#f0f7ff}
html[data-theme="light"] .hero-grid{background-image:linear-gradient(rgba(7,93,230,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(7,93,230,.045) 1px,transparent 1px)}
html[data-theme="light"] .hero:after{border-color:rgba(7,93,230,.1)}
html[data-theme="light"] .hero-orbit{opacity:.22}
html[data-theme="light"] .leak-symbol{opacity:.1}
html[data-theme="light"] .leak-symbol span{border-color:#075de6}
html[data-theme="light"] .capture-preview-note{background:rgba(245,158,11,.07)}
html[data-theme="light"] .calendar-placeholder{background:#f0f7ff}
html[data-theme="light"] .skip-link{background:#075de6;color:white}
/* One-click theme control; first visits follow the browser setting. */
.theme-control{position:relative;flex-shrink:0;line-height:1}
.theme-toggle{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--theme-border);border-radius:var(--radius-round);color:var(--theme-ink);background:transparent;padding:9px;cursor:pointer;transition:background var(--duration-base),border-color var(--duration-base)}
.theme-toggle:hover{background:rgba(32,144,254,.08);border-color:var(--color-primary)}
.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-sun{display:none}
html[data-theme="light"] .theme-sun{display:block}
html[data-theme="light"] .theme-moon{display:none}
/* Booking stays on this page until the calendar embed is supplied. */
.booking-dialog{width:min(760px,calc(100% - 36px));max-height:90vh;max-height:90dvh;overflow-y:auto;border:1px solid var(--color-border-blue);border-radius:var(--radius-lg);padding:var(--space-6);box-shadow:var(--shadow-soft)}
.booking-close{position:absolute;right:12px;top:12px;width:40px;height:40px;border:0;border-radius:50%;font:300 27px/1 var(--font-primary);cursor:pointer}
.booking-dialog>.eyebrow{color:var(--theme-blue);padding-right:28px}
.booking-dialog h2{font-family:var(--font-display);font-size:var(--text-h1);font-weight:900;line-height:1;letter-spacing:var(--tracking-heading);text-transform:uppercase;margin-top:var(--space-5)}
.booking-dialog>p:not(.eyebrow){font-size:var(--text-md);line-height:var(--leading-body);color:var(--theme-muted);max-width:600px;margin-top:var(--space-4)}
.calendar-placeholder{margin-top:var(--space-5);padding:var(--space-6);border:1.5px dashed var(--color-border-blue);border-radius:var(--radius-md);background:var(--theme-alt);text-align:center}
.calendar-placeholder-top{display:flex;align-items:center;justify-content:center;gap:var(--space-4);color:var(--theme-blue)}
.calendar-placeholder-top svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.calendar-placeholder-top>span{font-size:11px;letter-spacing:.1em;font-weight:600}
.calendar-placeholder h3{font:800 30px/1 var(--font-display);letter-spacing:var(--tracking-heading);text-transform:uppercase;margin-top:var(--space-5);color:var(--theme-ink)}
.calendar-placeholder>p{font-size:var(--text-sm);color:var(--theme-muted);margin-top:var(--space-3)}
.calendar-skeleton{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;max-width:330px;margin:24px auto 0;opacity:.55}
.calendar-skeleton>span{height:18px;border:1px solid var(--color-border-blue);border-radius:3px;background:rgba(32,144,254,.04)}
.booking-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px}
.booking-modal-footer>p{font-size:var(--text-xs);color:var(--theme-muted)}
.booking-back{margin:0;padding:0 0 6px;background:transparent;border:0;border-bottom:1px solid var(--color-border-blue);color:var(--theme-blue);font:500 14px/1.6 var(--font-primary);cursor:pointer}
@media(max-width:1024px){
  .nav{height:72px;gap:12px}
  .nav-links{display:none;position:absolute;top:72px;left:0;right:0;margin:0;padding:16px 25px 25px;flex-direction:column;align-items:stretch;gap:0;background:var(--theme-nav);backdrop-filter:blur(18px);border-bottom:1px solid var(--theme-border);font-size:14px}
  .nav-links.open{display:flex}
  .nav-links a{padding:14px 0;border-bottom:1px solid var(--theme-border)}
  .nav-links a:after{display:none}
  .theme-control{margin-left:auto}
  .menu-toggle{display:flex;width:25px;height:30px;border:0;background:transparent;padding:3px;flex-direction:column;justify-content:center;gap:5px;flex-shrink:0}
  .menu-toggle>span{width:19px;height:1px;display:block}
  .menu-toggle[aria-expanded="true"]>span:first-child{transform:translateY(3px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"]>span:last-child{transform:translateY(-3px) rotate(-45deg)}
}
@media(max-width:768px){
  .theme-toggle{width:36px;height:36px;padding:8px}
  .theme-toggle svg{width:18px;height:18px}
  .booking-dialog{padding:36px 24px;width:calc(100% - 28px);max-height:calc(100dvh - 28px)}
  .booking-dialog>.eyebrow{font-size:10px;max-width:240px}
  .booking-dialog h2{font-size:38px;margin-top:24px}
  .booking-dialog>p:not(.eyebrow){font-size:14px}
  .calendar-placeholder{padding:24px 18px}
  .calendar-placeholder-top{gap:12px}
  .calendar-placeholder-top>span{font-size:9px}
  .calendar-placeholder-top svg{width:35px;height:35px}
  .calendar-placeholder h3{font-size:26px}
  .calendar-placeholder>p{font-size:13px}
  .calendar-skeleton{gap:6px;max-width:270px}
  .calendar-skeleton>span{height:16px}
  .booking-modal-footer{flex-direction:column;align-items:flex-start;gap:18px}
  .booking-modal-footer>p{font-size:12px}
}
@media(max-width:370px){
  .nav{gap:8px}
  .theme-toggle{width:32px;height:32px;padding:6px}
  .nav-book{font-size:10px;padding:10px 9px;gap:8px}
  .booking-dialog{padding:36px 20px 28px}
  .booking-dialog h2{font-size:34px}
}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
.nav-book{white-space:nowrap}
@media(max-width:370px){.hero h1{font-size:clamp(48px,19vw,68px)}}

.booking-embed{margin-top:var(--space-5)}.booking-embed iframe{display:block;width:100%;min-height:640px;border:none;overflow:hidden;background:transparent}

/* Booking dialog: intro on the left, calendar on the right (desktop); compact intro on mobile */
@media(min-width:861px){
.booking-dialog{width:min(1040px,calc(100% - 48px))}
.booking-dialog[open]{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);grid-template-rows:auto auto auto 1fr;column-gap:40px;align-content:start}
.booking-dialog>.eyebrow{grid-column:1;grid-row:1}
.booking-dialog h2{grid-column:1;grid-row:2;font-size:clamp(34px,3.4vw,46px)}
.booking-dialog>p:not(.eyebrow){grid-column:1;grid-row:3}
.booking-embed{grid-column:2;grid-row:1/-1;margin-top:0}
.booking-modal-footer{grid-column:1;grid-row:4;align-self:end;flex-direction:column;align-items:flex-start;gap:14px;padding-top:var(--space-5)}
}
@media(max-width:860px){
.booking-dialog>p:not(.eyebrow){display:none}
.booking-dialog h2{font-size:30px;margin-top:14px}
.booking-embed{margin-top:var(--space-4)}
.booking-modal-footer{margin-top:16px}
}

/* Custom booking widget */
.booking-widget{color:var(--theme-ink)}
.booking-widget h3{font:800 clamp(22px,2.4vw,28px)/1.1 var(--font-display);letter-spacing:var(--tracking-heading);text-transform:uppercase;margin:0}
.booking-widget h4{font:700 15px/1.3 var(--font-primary);margin:0 0 12px;color:var(--theme-ink)}
.booking-widget :focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}
.booking-widget h3:focus,.booking-widget h4:focus,.bw-cal-month:focus{outline:none}
.bw-muted{color:var(--theme-muted);font-size:var(--text-sm);line-height:1.6;margin:0}
.bw-tz{margin-top:8px;font-size:13px;color:var(--theme-subtle)}
.bw-preview{margin:14px 0 0;font-size:var(--text-xs);color:var(--theme-warning);background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.3);padding:10px 14px;border-radius:var(--radius-sm)}
.bw-error{margin:14px 0 0;border-left:2px solid var(--theme-error);padding-left:12px;font-size:var(--text-sm);color:var(--theme-error)}
.bw-body{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:28px;margin-top:20px;align-items:start}
.bw-cal{border:1px solid var(--theme-border);border-radius:var(--radius-md);padding:16px;background:var(--theme-input)}
.bw-cal.bw-loading{opacity:.55;pointer-events:none}
.bw-cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.bw-cal-nav strong{font:700 15px/1 var(--font-primary)}
.bw-nav{width:40px;height:40px;border-radius:50%;border:1px solid var(--theme-border);background:transparent;color:var(--theme-ink);font-size:22px;line-height:1;cursor:pointer}
.bw-nav:hover:not(:disabled){border-color:var(--theme-blue);color:var(--theme-blue)}
.bw-nav:disabled{opacity:.35;cursor:not-allowed}
.bw-week,.bw-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.bw-week span{text-align:center;font-size:11px;font-weight:600;color:var(--theme-subtle);padding:4px 0}
.bw-day{aspect-ratio:1;min-height:36px;border:0;border-radius:50%;background:transparent;color:var(--theme-subtle);font:500 14px/1 var(--font-primary);opacity:.5}
.bw-day.bw-avail{opacity:1;cursor:pointer;color:var(--theme-ink);background:color-mix(in srgb,var(--theme-blue) 14%,transparent);font-weight:700}
.bw-day.bw-avail:hover{background:color-mix(in srgb,var(--theme-blue) 28%,transparent)}
.bw-day.bw-selected{background:var(--color-primary-strong);color:#fff;opacity:1}
.bw-day:disabled{cursor:default}
.bw-time-list{display:grid;gap:8px;max-height:290px;overflow-y:auto;padding:2px}
.bw-time{min-height:46px;border:1.5px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-input);color:var(--theme-ink);font:600 15px/1 var(--font-primary);cursor:pointer;transition:border-color .15s,background .15s}
.bw-time:hover{border-color:var(--theme-blue);background:color-mix(in srgb,var(--theme-blue) 10%,transparent)}
.bw-link{background:none;border:0;padding:0;color:var(--theme-blue);font:500 14px/1.6 var(--font-primary);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.bw-back{display:inline-block;margin-bottom:14px;min-height:32px}
.bw-summary{margin:10px 0 0;font-size:var(--text-sm);color:var(--theme-muted)}
.bw-summary strong{color:var(--theme-ink)}
.bw-form .bw-wide{grid-column:1/-1}
.bw-form .capture-fields{margin-top:20px}
.bw-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.bw-done .button{margin-top:22px}
.bw-form .capture-submit{width:100%;text-align:left;margin-top:var(--space-5)}
.bw-form .capture-privacy{font-size:var(--text-xs);color:var(--theme-muted);margin-top:var(--space-3)}
.bw-form .capture-privacy a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:860px){
.bw-body{grid-template-columns:1fr;gap:20px}
.bw-time-list{grid-template-columns:repeat(2,1fr);max-height:none}
.bw-form .capture-fields{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.bw-time{transition:none}}

/* Tap targets and mobile density: at least 44px for interactive controls on touch screens */
@media(max-width:768px){
.brand{min-height:44px}
.theme-toggle,.menu-toggle{min-width:44px;min-height:44px}
.nav-book{min-height:44px}
.text-link,.report-link,.scroll-link,.back-top,.motion-toggle,.capture-dismiss,.booking-back{display:inline-flex;align-items:center;min-height:44px}
.faq-list summary{min-height:56px;padding-block:14px}
.footer-bottom a{display:inline-flex;align-items:center;min-height:44px}
.footer-bottom>div{gap:6px 20px}
.bw-back,.bw-link{min-height:44px;display:inline-flex;align-items:center}
.bw-nav{width:44px;height:44px}
.section-space{padding-block:56px}
.booking-dialog h2{font-size:28px;margin-top:12px}
.booking-dialog>p:not(.eyebrow){display:none}
.bw-body{margin-top:14px}
.bw-pick .bw-tz{margin-top:6px}
}

/* Mobile density: shorter decorative blocks so key content is reached sooner */
@media(max-width:768px){
.guarantee-card{min-height:0}
.guarantee-card h3{min-height:0}
.territory-grid{display:none}
.territory-map-note{display:none}
.territory{min-height:0}
.ticker{display:none}
.final-cta .check-invite{margin-top:24px}
}
@media(max-width:768px){
.booking-close{width:44px;height:44px}
.bw-day{aspect-ratio:auto;min-height:44px}
.bw-grid{gap:2px}
}
.final-cta{position:relative;overflow:hidden;isolation:isolate}
.final-cta:before{content:'\2197\FE0E';z-index:-1;font-family:Arial,Helvetica,sans-serif;font-variant-emoji:text;color:rgba(255,255,255,.06)}
.final-cta .shell,.final-inner{position:relative;z-index:1}
@media(max-width:768px){.final-cta:before{font-size:260px;right:-30px;bottom:-60px}}
