/* Shared brand tokens and persistent color scheme. */
.wb-brand.wta-full-logo > img, .wb-footer-brand.wta-full-logo > img { width: 200px; height: 54px; max-width: 100%; object-fit: contain; flex: 0 1 auto; }
@media (max-width: 680px) { .wb-brand.wta-full-logo > img { width: 160px; height: 44px; } }
:root {
  color-scheme: light;
  --brand-50: #e6f2ff;
  --brand-100: #d5e9ff;
  --brand-500: #006cff;
  --brand-600: #005bd6;
  --electric: #00a2ff;
  --navy: #0b1f44;
  --surface-soft: #f6f8fc;
}
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; color: #0b1f44; background: #e6f2ff; border: 1px solid #c6ddf7; border-radius: 50%; cursor: pointer; }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle__sun { display: none; }
.theme-toggle:hover { border-color: #006cff; }
html[data-theme="dark"] .theme-toggle { color: #e6f2ff; background: #13325c; border-color: #315783; }
html[data-theme="dark"] .theme-toggle__moon { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: block; }

/* Light version of the homepage; the technical illustration retains navy cards. */
html[data-theme="light"] .site-header--dark .nav-list a,
html[data-theme="light"] .site-header--dark .header-phone { color: #0b1f44; }
html[data-theme="light"] .site-header--dark .nav-list a:hover { color: #006cff; background: #e6f2ff; }
html[data-theme="light"] .site-header--dark .menu-toggle,
html[data-theme="light"] .site-header--dark .header-phone { border-color: #c6ddf7; }
html[data-theme="light"] .site-header--dark .menu-toggle { color: #0b1f44; background: #e6f2ff; }
html[data-theme="light"] .wb-hero { color: #0b1f44; background: radial-gradient(ellipse at 74% 45%, rgba(0,162,255,.12), transparent 50%), #f6f8fc; border-color: #d8e5f6; }
html[data-theme="light"] .wb-hero__copy h1 { color: #0b1f44; }
html[data-theme="light"] .wb-hero__eyebrow { color: #0b1f44; background: #e6f2ff; border-color: #c6ddf7; }
html[data-theme="light"] .wb-hero__lead,
html[data-theme="light"] .wb-hero__process-link { color: #354e73; }
html[data-theme="light"] .wb-hero__privacy,
html[data-theme="light"] .wb-hero__principles small,
html[data-theme="light"] .wb-security > figcaption { color: #4c6385; }
html[data-theme="light"] .wb-hero__principles { border-color: #cbdcf0; }
html[data-theme="light"] .wb-hero__principles strong { color: #0b1f44; }
html[data-theme="light"] .wb-security__website {
  color: #0b1f44;
  background: linear-gradient(150deg, rgba(255,255,255,.98), rgba(230,242,255,.92));
  border-color: #9dcbff;
  box-shadow: 0 20px 55px rgba(0,108,255,.16), 0 0 0 1px rgba(255,255,255,.75) inset;
}
html[data-theme="light"] .wb-security__browser { border-color: #c6ddf7; }
html[data-theme="light"] .wb-security__browser > i { background: #8fb7e6; }
html[data-theme="light"] .wb-security__browser > span { color: #4c6385; }
html[data-theme="light"] .wb-security__website > strong { color: #0b1f44; }
html[data-theme="light"] .wb-security__skeleton > span { background: #bdd5ef; }
html[data-theme="light"] .wb-security__skeleton > span:first-child { background: #006cff; }
html[data-theme="light"] .wb-security__service {
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(230,242,255,.9));
  border-color: #b8d8fa;
  box-shadow: 0 18px 42px rgba(11,31,68,.1), 0 0 28px rgba(0,162,255,.08);
}
html[data-theme="light"] .wb-security__service strong { color: #0b1f44; }
html[data-theme="light"] .wb-security__service p { color: #4c6385; }
html[data-theme="light"] .wb-security__icon { background: #e6f2ff; border-color: #b8d8fa; }

/* Dark surfaces and form controls throughout the theme. */
html[data-theme="dark"] {
  color-scheme: dark;
  --text: #e6f2ff;
  --text-soft: #b6cce8;
  --text-muted: #a9c1e0;
  --surface: #0b1f44;
  --surface-soft: #102b52;
  --surface-blue: #13345e;
  --border: #29496f;
  --border-strong: #42648d;
  --brand-50: #143761;
  --brand-100: #1c477c;
  --brand-600: #83baff;
  --shadow-sm: 0 6px 24px rgba(0,0,0,.12);
  --shadow-md: 0 18px 50px rgba(0,0,0,.18);
}
html[data-theme="dark"] body { background: #0b1f44; color: #e6f2ff; }
html[data-theme="dark"] :is(.site-header, .main-nav, .wb-home, .wa-home, .site-footer, .wb-intake, .wb-services, .wb-case, .wb-faq, .content-shell) { background: #0b1f44; border-color: #29496f; }
/* Soft separation, never a colored rule beneath the shared header. */
html[data-theme="dark"] :is(.section-soft, .wb-signals, .wb-plans, .wa-hero, .wa-options, .wa-addon, .wa-intake-copy, .wb-intake__intro, .wb-performance-note, .entry-content blockquote) { background: #102b52; border-color: #29496f; }
html[data-theme="dark"] :is(.wb-intake__shell, .wb-services__grid article, .wb-plans__grid article, .wb-case__panel, .wb-case__flow, .faq-list details, .post-card, .wa-intake-card, .wa-intake-form, .wa-speed-compare, .wa-option-list article.is-primary, .wb-process__media > div) { background: #10294e; border-color: #31527b; }
html[data-theme="dark"] :is(.field-group input, .field-group textarea) { color: #e6f2ff; background: #0b1f44; border-color: #42648d; }
html[data-theme="dark"] :is(.field-group input, .field-group textarea)::placeholder { color: #93aaca; }
html[data-theme="dark"] :is(.field-group label, .site-logo-text, .nav-list a, .header-phone, .footer-heading, .faq-list summary, .entry-content h2, .entry-content h3, .wa-text-link, .wa-privacy-note strong, .wa-addon strong) { color: #e6f2ff; }
html[data-theme="dark"] :is(.wb-home h2, .wb-services__grid h3, .wb-signals__grid h3, .wb-plans__grid h3, .wb-case__flow strong, .wb-performance-note p strong, .wa-home h2, .wa-service-list h3, .wa-option-list h3, .wa-cycle-step h3, .wa-hero-copy h1) { color: #e6f2ff; }
html[data-theme="dark"] :is(.entry-content, .wa-hero-lead, .wa-privacy-note, .wb-services__grid li) { color: #b6cce8; }
html[data-theme="dark"] :is(.wb-eyebrow, .eyebrow, .wa-overline, .wa-kicker) { color: #83baff; }
html[data-theme="dark"] :is(.nav-list a:hover, .wa-service-list article:hover) { background: #17375e; color: #e6f2ff; }
html[data-theme="dark"] .button-secondary { color: #b5d5ff; background: #14345e; border-color: #42648d; }
html[data-theme="dark"] .button-secondary:hover { background: #1b4174; }
html[data-theme="dark"] .button-primary:hover { color: #fff; background-position: 100% 0; }
html[data-theme="dark"] .button-light { color: #0b1f44; }
html[data-theme="dark"] .wb-intake__intro > div > p:last-child,
html[data-theme="dark"] .wb-intake__safe,
html[data-theme="dark"] .wb-intake__call small { color: #b6cce8; }
html[data-theme="dark"] .wb-intake__call,
html[data-theme="dark"] .wb-intake__safe .icon { color: #83baff; }
html[data-theme="dark"] .menu-toggle { color: #e6f2ff; background: #102b52; border-color: #31527b; }
html[data-theme="dark"] .form-notice.success { color: #c9f9de; background: #143c31; border-color: #35735b; }
html[data-theme="dark"] .form-notice.error { color: #ffd2d2; background: #48222c; border-color: #91505d; }
html[data-theme="dark"] .footer-wootech img { background: #f6f8fc; border-radius: 4px; }
@media (max-width: 1180px) { .header-inner { gap: 16px; } .header-actions { gap: 10px; } }
@media (max-width: 680px) {
  .header-inner { gap: 6px; }
  .header-actions { gap: 6px; }
}
@media (max-width: 360px) {
  .header-phone { display: none; }
}

/* Shared header identity: homepage and all inner pages. */
.site-header .wb-brand { display: flex; align-items: center; gap: 10px; min-height: 48px; flex-shrink: 0; }
.site-header .wb-brand > img { width: 60px; height: 60px; flex: 0 0 auto; object-fit: contain; transition: width 220ms ease, height 220ms ease; }
.site-header .wb-brand > span { display: flex; flex-direction: column; }
.site-header .wb-brand strong { color: #0b1f44; font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.site-header .wb-brand strong > span { color: #00a2ff; }
.site-header .wb-brand small { margin-top: 4px; color: #4c6385; font-size: 10px; font-weight: 400; letter-spacing: 0; line-height: 1.4; }
html[data-theme="dark"] .site-header .wb-brand strong { color: #f6f8fc; }
html[data-theme="dark"] .site-header .wb-brand small { color: #aec7e6; }
.site-header.is-compact .wb-brand > img { width: 42px; height: 42px; }
.site-header.is-compact .wb-brand small { margin-top: 1px; }
@media (max-width: 680px) {
  .site-header .wb-brand { gap: 6px; }
  .site-header .wb-brand > img { width: 42px; height: 42px; }
  .site-header .wb-brand strong { font-size: 18px; }
  .site-header .wb-brand small { font-size: 8px; }
  .site-header.is-compact .wb-brand > img { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .site-header .wb-brand > img { transition: none; } }

/* One calm closing surface, with contact actions integrated into the footer. */
html[data-theme] .site-footer--v2 { --footer-text: #0b1f44; --footer-muted: #4c6385; --footer-line: #d3e2f4; --footer-ring: rgba(0,108,255,.13); --footer-glow: rgba(0,108,255,.12); --footer-glow-soft: rgba(0,162,255,.09); position: relative; isolation: isolate; background: #f6f8fc; color: var(--footer-text); }
html[data-theme="dark"] .site-footer--v2 { --footer-text: #e6f2ff; --footer-muted: #aec4e1; --footer-line: #233e63; --footer-ring: rgba(131,186,255,.13); --footer-glow: rgba(0,108,255,.24); --footer-glow-soft: rgba(0,162,255,.12); background: #0b1f44; }
/* Static brand accents stay behind content and never intercept footer controls. */
.site-footer--v2::before, .site-footer--v2::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.site-footer--v2::before { background: radial-gradient(ellipse at 100% 0%, var(--footer-glow), transparent 62%), radial-gradient(ellipse at 0% 100%, var(--footer-glow-soft), transparent 55%); }
.site-footer--v2::after { background-image: repeating-radial-gradient(circle at 100% 0%, transparent 0 94px, var(--footer-ring) 95px 96px); mask-image: radial-gradient(circle at 100% 0%, #000 180px, transparent 720px); }
.site-footer--v2 > .container, .site-footer--v2 > .emergency-cta { position: relative; z-index: 1; }
@media (max-width: 680px) {
  .site-footer--v2::after { background-image: repeating-radial-gradient(circle at 100% 0%, transparent 0 62px, var(--footer-ring) 63px 64px); opacity: .75; mask-image: radial-gradient(circle at 100% 0%, #000 100px, transparent 440px); }
}
.site-footer--v2 .emergency-cta { background: transparent; color: var(--footer-text); overflow: visible; }
.site-footer--v2 .emergency-cta::after { display: none; }
.site-footer--v2 .emergency-inner { min-height: 0; padding-block: 48px; border-bottom: 1px solid var(--footer-line); grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
.site-footer--v2 .emergency-inner h2 { max-width: 600px; font-size: clamp(25px, 2.2vw, 34px); line-height: 1.3; text-wrap: balance; color: var(--footer-text); }
.site-footer--v2 .emergency-inner .eyebrow { color: #006cff; font-size: 12px; }
.site-footer--v2 .emergency-inner p:not(.eyebrow) { color: var(--footer-muted); font-size: 14px; }
.site-footer--v2 .emergency-actions { gap: 10px; }
.site-footer--v2 .emergency-actions .button { min-height: 48px; padding-inline: 18px; border-radius: 999px; font-size: 13px; }
.site-footer--v2 .emergency-actions .button-light,
.site-footer--v2 .emergency-actions .button-outline-light { color: var(--footer-text); background: transparent; border-color: var(--footer-line); box-shadow: none; }
.site-footer--v2 .emergency-actions .button-electric { background: linear-gradient(110deg, #006cff, #008eff); box-shadow: 0 6px 20px rgba(0,108,255,.12); }
.site-footer--v2 .footer-grid { padding-block: 44px 32px; grid-template-columns: 1.4fr 1fr .9fr 1.1fr; gap: 36px; }
.wb-footer-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; }
.wb-footer-brand > img { width: 48px; height: 48px; object-fit: contain; }
.wb-footer-brand > span { display: flex; flex-direction: column; gap: 4px; }
.wb-footer-brand strong { color: var(--footer-text); font-size: 23px; line-height: 1.2; letter-spacing: -.035em; }
.wb-footer-brand strong span { color: #00a2ff; }
.wb-footer-brand small { color: var(--footer-muted); font-size: 10px; }
.site-footer--v2 .footer-heading { color: var(--footer-text); font-size: 14px; }
.site-footer--v2 .footer-brand p { font-size: 14px; line-height: 1.8; color: var(--footer-muted); }
.site-footer--v2 .footer-links a, .site-footer--v2 .footer-links span { color: var(--footer-muted); font-size: 13px; }
.site-footer--v2 .footer-links a:hover { color: #006cff; }
.site-footer--v2 .footer-wootech { padding: 0; border: 0; background: transparent; gap: 10px; }
.site-footer--v2 .footer-wootech span { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12px; color: var(--footer-muted); }
.site-footer--v2 .footer-wootech img { padding: 3px; border-radius: 4px; background: #fff; height: 23px; }
.site-footer--v2 .footer-bottom { border-color: var(--footer-line); color: var(--footer-muted); font-size: 12px; }
html[data-theme="dark"] .site-footer--v2 .emergency-inner .eyebrow,
html[data-theme="dark"] .site-footer--v2 .footer-links a:hover { color: #83baff; }
@media (max-width: 1180px) {
  .site-footer--v2 .emergency-inner { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .site-footer--v2 .emergency-actions { justify-content: flex-start; }
  .site-footer--v2 .emergency-inner h2 { margin-inline: 0; }
}
@media (max-width: 960px) {
  .site-footer--v2 .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer--v2 .footer-grid > :last-child { grid-column: auto; }
}
@media (max-width: 680px) {
  .site-footer--v2 > .container, .site-footer--v2 .emergency-inner { width: calc(100% - 40px); }
  .site-footer--v2 .emergency-inner { padding-block: 36px; }
  .site-footer--v2 .emergency-actions { display: grid; grid-template-columns: 1fr 1fr; max-width: none; margin: 0; }
  .site-footer--v2 .emergency-actions .button { padding-inline: 10px; font-size: 12px; }
  .site-footer--v2 .emergency-actions .button-electric { grid-column: 1 / -1; }
  .site-footer--v2 .footer-grid { gap: 28px 20px; padding-top: 36px; }
  .site-footer--v2 .footer-brand, .site-footer--v2 .footer-grid > :last-child { grid-column: 1 / -1; }
}

/* Footer groups remain columns on desktop and become native disclosures on phones. */
.site-footer--v2 .footer-group { min-width: 0; }
.site-footer--v2 .footer-group > summary { list-style: none; cursor: default; }
.site-footer--v2 .footer-group > summary::-webkit-details-marker { display: none; }
.footer-group__indicator { display: none; }
@media (max-width: 680px) {
  .site-footer.site-footer--v2 .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 24px; }
  .site-footer--v2 .footer-brand { padding-bottom: 24px; }
  .site-footer--v2 .footer-group { grid-column: 1 / -1; border-top: 1px solid var(--footer-line); }
  .site-footer--v2 .footer-group:last-child { border-bottom: 1px solid var(--footer-line); }
  .site-footer--v2 .footer-group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 16px; cursor: pointer; }
  .site-footer--v2 .footer-group .footer-heading { margin: 0; font-size: 15px; line-height: 1.5; }
  .site-footer--v2 .footer-group > summary:focus-visible { outline: 2px solid #398fff; outline-offset: -3px; border-radius: 6px; }
  .site-footer--v2 .footer-group__indicator { display: block; position: relative; width: 20px; height: 20px; flex-shrink: 0; color: var(--footer-muted); }
  .footer-group__indicator::before, .footer-group__indicator::after { content: ''; position: absolute; background: currentColor; border-radius: 1px; }
  .footer-group__indicator::before { width: 12px; height: 2px; top: 9px; left: 4px; }
  .footer-group__indicator::after { width: 2px; height: 12px; top: 4px; left: 9px; transition: transform .18s ease; }
  .footer-group[open] .footer-group__indicator::after { transform: scaleY(0); }
  .site-footer--v2 .footer-group .footer-links { margin: 0; padding-bottom: 16px; }
  .site-footer--v2 .footer-group .footer-links a { min-height: 44px; }
}

/* Give individual links a clear rhythm without changing footer columns. */
.site-footer--v2 .footer-group .footer-links { display: grid; gap: 6px; }
.site-footer--v2 .footer-group .footer-links:not(.footer-contact) a { display: flex; width: 100%; min-height: 44px; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; line-height: 1.5; transition: color .18s ease, background-color .18s ease; }
.site-footer--v2 .footer-links:not(.footer-contact) a::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-top: 1.5px solid #398fff; border-right: 1.5px solid #398fff; transform: rotate(45deg); }
.site-footer--v2 .footer-group .footer-links:not(.footer-contact) a:is(:hover, :focus-visible) { color: #006cff; background: #e6f2ff; }
html[data-theme="dark"] .site-footer--v2 .footer-group .footer-links:not(.footer-contact) a:is(:hover, :focus-visible) { color: #b9dcff; background: #15365b; }
.site-footer--v2 .footer-group .footer-links a:focus-visible { outline: 2px solid #398fff; outline-offset: 2px; }
.site-footer--v2 .footer-group .footer-contact { gap: 12px; }
.site-footer--v2 .footer-contact li { align-items: center; gap: 12px; min-width: 0; }
.site-footer--v2 .footer-contact li > .icon { box-sizing: content-box; width: 18px; height: 18px; flex: 0 0 18px; padding: 10px; margin: 0; border-radius: 10px; background: #e6f2ff; color: #006cff; }
html[data-theme="dark"] .site-footer--v2 .footer-contact li > .icon { background: #15365b; color: #83baff; }
.site-footer--v2 .footer-group .footer-contact a { font-size: 14px; }
.site-footer--v2 .footer-group .footer-contact li:first-child a { color: #006cff; font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
html[data-theme="dark"] .site-footer--v2 .footer-group .footer-contact li:first-child a { color: #83baff; }
.site-footer--v2 .footer-contact li:last-child span { font-size: 13px; line-height: 1.6; }
@media (min-width: 681px) {
  .site-footer--v2 .footer-group .footer-links:not(.footer-contact) { margin-left: -10px; }
}
