/* Substituted Google Fonts — see readme.md "Type substitutions". Pure Way has no
   licensed font files on hand: Playfair Display stands in for the PURE WAY serif
   wordmark, Poppins for the geometric locality lockup, Lato for UI + body copy. */

html,body{margin:0;padding:0}
[data-sys] button{cursor:pointer}
[data-sys] :focus-visible{outline:2px solid #0191cf;outline-offset:3px;border-radius:4px}
[data-sys] a{color:#01529c}
[data-sys] a:hover{color:#04305a}
[data-btn]{transition:transform .18s cubic-bezier(.2,.8,.3,1),box-shadow .18s ease,background .18s ease,border-color .18s ease}
[data-btn]:hover{transform:translateY(-2px)}
[data-btn]:active{transform:translateY(0)}
[data-btn="navy"]:hover{box-shadow:0 16px 30px -14px rgba(2,27,51,.8)}
[data-btn="aqua"]:hover{box-shadow:0 16px 32px -14px rgba(1,211,254,.7)}
[data-cardh]{transition:transform .22s cubic-bezier(.2,.8,.3,1),box-shadow .22s ease}
[data-cardh]:hover{transform:translateY(-4px);box-shadow:0 18px 44px -24px rgba(2,27,51,.4)}
@media (max-width:940px){[data-why]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){[data-why]{grid-template-columns:1fr!important}[data-why-cta]{grid-column:auto!important}}
[data-btn="ghost"]:hover{border-color:#0191cf;background:#ffffff}
[data-btn="ghostd"]:hover{border-color:#ffffff;background:rgba(255,255,255,.08)}
[data-btn] [data-arw],[data-link] [data-arw]{transition:transform .18s ease;display:inline-block}
[data-btn]:hover [data-arw],[data-link]:hover [data-arw]{transform:translateX(4px)}
[data-hdr]{transition:box-shadow .24s ease}
[data-hdr="stuck"]{box-shadow:0 10px 30px -18px rgba(2,27,51,.3)}
[data-gph]{filter:saturate(.82) contrast(.97) brightness(1.05)}
@keyframes pwRain{to{stroke-dashoffset:-18}}
@keyframes pwFlowDash{to{stroke-dashoffset:-34}}
[data-mo="calm"] [data-rain],[data-mo="calm"] [data-flowdash]{animation:none!important}
[data-mbar]{display:none}
@media (max-width:719px){[data-cutbox]{width:140%!important;margin-left:-20%}[data-cutlbl]{display:none!important}}
@media (max-width:980px){[data-nav]{display:none!important}}
@media (max-width:600px){[data-tel]{display:none!important}}
@media (max-width:960px){[data-hero-grid]{grid-template-columns:1fr!important}[data-hero-shot]{max-width:520px}}
@media (max-width:860px){[data-recap]{grid-template-columns:1fr!important}}
@media (max-width:940px){[data-two]{grid-template-columns:1fr!important}[data-panel2]{grid-template-columns:1fr!important}[data-stagerow]{grid-template-columns:1fr!important}}
@media (max-width:760px){[data-cards3]{grid-template-columns:1fr!important}}
@media (max-width:780px){[data-ftgrid]{grid-template-columns:1fr!important}}
@media (max-width:767px){[data-mbar]{display:grid!important}[data-sys]{padding-bottom:84px}}
@media (prefers-reduced-motion:reduce){[data-sys] *{animation:none!important;transition:none!important}}

/* interaction states, lifted from style-hover / style-focus */
.pw-hdbb4f5e:hover{color:#04305a}
.pw-he4f1d1b:hover{border-bottom-color:#01529c}
.pw-hae64c6c:hover{color:#ffffff}
.pw-h4e59180:hover{color:#7ce6ff}

/* ---- mobile navigation ------------------------------------------------
   The design hides the nav below 980px and offers nothing in its place.
   This is the menu site-map-and-pages.md asks for, drawn with the design's
   own tokens: the hero gradient, the aqua accent, Poppins at display size. */

[data-pwnav-toggle]{display:none;position:relative;width:44px;height:44px;flex:none;
  align-items:center;justify-content:center;padding:0;margin:0 -6px 0 0;border:0;border-radius:13px;
  background:transparent;color:#04305a;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:background .25s ease}
[data-pwnav-toggle]:hover{background:rgba(4,48,90,.06)}
[data-pwnav-toggle]:focus-visible{outline:2px solid #01529c;outline-offset:2px}

[data-pwnav-bars]{position:relative;display:block;width:21px;height:15px}
[data-pwnav-bars] i{position:absolute;left:0;width:100%;height:2px;border-radius:2px;
  background:currentColor;
  transition:transform .42s cubic-bezier(.2,.8,.2,1),opacity .2s ease .06s,width .42s cubic-bezier(.2,.8,.2,1)}
[data-pwnav-bars] i:nth-child(1){top:0}
[data-pwnav-bars] i:nth-child(2){top:6.5px;width:15px}
[data-pwnav-bars] i:nth-child(3){top:13px;width:18px}
[aria-expanded="true"] [data-pwnav-bars] i:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
[aria-expanded="true"] [data-pwnav-bars] i:nth-child(2){opacity:0;transform:translateX(-8px)}
[aria-expanded="true"] [data-pwnav-bars] i:nth-child(3){width:100%;transform:translateY(-6.5px) rotate(-45deg)}

[data-pwnav-panel]{position:fixed;inset:0;z-index:70;
  /* sits under the sticky header (z-80) so the logo and the X stay visible */
  visibility:hidden;pointer-events:none}
[data-pwnav-panel][data-open]{visibility:visible;pointer-events:auto}

[data-pwnav-sheet]{position:absolute;inset:0;padding:78px clamp(20px,5vw,44px) 0;
  display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch;
  background:
    radial-gradient(70% 42% at 88% 6%,rgba(1,211,254,.20) 0%,rgba(1,211,254,0) 62%),
    radial-gradient(52% 30% at 6% 96%,rgba(1,211,254,.14) 0%,rgba(1,211,254,0) 70%),
    linear-gradient(168deg,#04305a 0%,#032647 46%,#021b33 100%);
  opacity:0;transform:translateY(-12px);
  transition:opacity .34s ease,transform .44s cubic-bezier(.2,.8,.2,1)}
[data-open] [data-pwnav-sheet]{opacity:1;transform:none}

[data-pwnav-links]{display:flex;flex-direction:column;margin-block:auto;
  padding:clamp(6px,2vh,20px) 0 8px}
[data-pwnav-links] a{position:relative;display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:clamp(15px,2.4vh,20px) 6px;text-decoration:none;color:#ffffff;
  font:500 clamp(23px,6.6vw,30px)/1.16 var(--head,'Poppins',system-ui,sans-serif);
  letter-spacing:-.018em;border-bottom:1px solid rgba(255,255,255,.10);
  opacity:0;transform:translateY(16px);
  transition:opacity .42s ease,transform .5s cubic-bezier(.2,.8,.2,1),color .22s ease;
  transition-delay:calc(var(--i) * 55ms + 90ms)}
[data-open] [data-pwnav-links] a{opacity:1;transform:none}
[data-pwnav-links] a:active [data-pwnav-label]{color:#01d3fe}
[data-pwnav-links] a:focus-visible{outline:2px solid #01d3fe;outline-offset:4px;border-radius:6px}

/* the page you are on, marked the way the rest of the site marks state */
[data-pwnav-links] a[aria-current="page"]{color:#01d3fe}
[data-pwnav-links] a[aria-current="page"]::before{content:"";position:absolute;left:-14px;top:50%;
  width:4px;height:26px;margin-top:-13px;border-radius:3px;background:#01d3fe;
  box-shadow:0 0 16px rgba(1,211,254,.6)}

[data-pwnav-arrow]{width:23px;height:23px;flex:none;color:rgba(1,211,254,.55);
  transition:transform .34s cubic-bezier(.2,.8,.2,1),color .22s ease}
[data-pwnav-links] a:active [data-pwnav-arrow]{transform:translateX(5px);color:#01d3fe}

[data-pwnav-foot]{padding:20px 0 max(24px,env(safe-area-inset-bottom));
  display:flex;flex-direction:column;gap:15px;
  opacity:0;transform:translateY(14px);
  transition:opacity .42s ease,transform .5s cubic-bezier(.2,.8,.2,1);transition-delay:.40s}
[data-open] [data-pwnav-foot]{opacity:1;transform:none}

/* The footer line already on every page, reused so the panel's lower half
   says something rather than sitting empty. Full width above the actions. */
[data-pwnav-foot] [data-pwnav-tagline]{margin:0 0 6px;font:600 clamp(22px,6vw,28px)/1.15 var(--head,'Poppins',system-ui,sans-serif);letter-spacing:-.02em;color:#ffffff}
[data-pwnav-foot] [data-pwnav-note]{margin:0;
  font:400 14.5px/1.55 var(--body,'Lato',system-ui,sans-serif);color:rgba(198,228,243,.58)}
[data-pwnav-foot] [data-pwnav-fn]{display:block;margin-top:6px;font-size:11.5px;line-height:1.45;opacity:.78}

/* Same shape as the design's own sticky bar: an auto-width Call beside a
   flexible Book, so the two read as one control rather than a stack. */
[data-pwnav-actions]{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:stretch}

[data-pwnav-foot] [data-pwnav-tel]{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:56px;padding:0 22px;border-radius:100px;white-space:nowrap;
  border:1.5px solid rgba(255,255,255,.28);background:rgba(255,255,255,.05);
  font:600 15px var(--head,'Poppins',system-ui,sans-serif);color:#ffffff;text-decoration:none;
  transition:background .2s ease,border-color .2s ease}
[data-pwnav-foot] [data-pwnav-tel] svg{flex:none;color:#01d3fe}
[data-pwnav-foot] [data-pwnav-tel]:active{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.42)}
[data-pwnav-foot] [data-pwnav-tel]:focus-visible{outline:2px solid #01d3fe;outline-offset:3px}

[data-pwnav-foot] [data-pwnav-cta]{display:flex;align-items:center;justify-content:center;min-height:56px;
  padding:0 16px;font:600 15px var(--head,'Poppins',system-ui,sans-serif);border-radius:100px;
  background:#01d3fe;color:#02223e;text-decoration:none;letter-spacing:-.005em;white-space:nowrap;
  box-shadow:0 16px 34px -18px rgba(1,211,254,.9);transition:transform .2s ease,filter .2s ease}
[data-pwnav-foot] [data-pwnav-cta]:active{transform:translateY(1px);filter:brightness(.96)}
[data-pwnav-foot] [data-pwnav-cta]:focus-visible{outline:2px solid #ffffff;outline-offset:3px}

/* Below 360 the row cannot hold "Call" and the full CTA label side by side, so
   Call becomes a 56px icon button. The tap target and the aria-label are
   unchanged; only the visible word goes. */
@media (max-width:359px){
  [data-pwnav-actions] [data-pwnav-tel]{padding:0;width:56px;gap:0}
  [data-pwnav-actions] [data-pwnav-calltext]{display:none}
}

/* The header is 92% white over a backdrop blur, so with the navy panel behind
   it the bar turned grey and the logo's white plate showed as a patch. While
   the menu is open it goes fully opaque and drops the blur. */
html[data-pwnav-lock] header[data-hdr]{background:#ffffff!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  box-shadow:none!important}

html[data-pwnav-lock],html[data-pwnav-lock] body{overflow:hidden}

@media (max-width:980px){
  [data-pwnav-toggle]{display:inline-flex}
}

/* Below 768 the design's own sticky bar carries Call and Book at all times, so
   the header's button stands down rather than being squeezed past the edge by
   the toggle. Above 768 the bar is gone and the header keeps its button. */
@media (max-width:767px){
  header [data-btn="navy"]{display:none!important}
}

/* The sticky bar is fixed at z-90 and would sit on top of the open menu. */
html[data-pwnav-lock] [data-mbar]{display:none!important}
@media (min-width:981px){
  [data-pwnav-panel]{display:none}
}
@media (prefers-reduced-motion:reduce){
  [data-pwnav-sheet],[data-pwnav-links] a,[data-pwnav-foot],
  [data-pwnav-bars] i,[data-pwnav-arrow]{transition:none!important}
}


/* ---- phone corrections (build/mobilefix.py) ---------------------------- */

/* The report lead gate. Every child is placed with grid-area, which sets a row
   AND a column: the two labels on row 1 in columns 1 and 2, the two inputs and
   the submit button on row 2 in columns 1, 2 and 3.

   The rule shipped on 18 September rewrote grid-column and left the row alone.
   Every child kept its original row, so in one column both labels drew on top
   of each other and both inputs drew on top of each other and of the button.
   The page rendered as "ENRASTL NAME" with a button covering two fields.

   Each element still measured inside the viewport, at full width, with text at
   a normal size, so the off-screen, field-width and collapsed-text checks all
   passed it. An overlap check was added to tools/verify_layout.py at the same
   time as this fix; it reports the broken build as 96 findings.

   Clearing the row as well as the column is not enough on its own: source
   order is label, label, input, input, button, so auto-placement would stack
   both labels above both fields. The rows are reassigned explicitly instead.
   Measured at 360px and 390px: five rows, nothing overlapping. */
@media (max-width:700px){
  [data-gate] form[data-pw-unlock]{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:none!important;
    align-items:stretch!important;
  }
  [data-gate] form[data-pw-unlock] > *{grid-area:auto!important}
  [data-gate] form[data-pw-unlock] > label[for="pw-gate-first"]{grid-area:1 / 1!important}
  [data-gate] form[data-pw-unlock] > #pw-gate-first{grid-area:2 / 1!important}
  [data-gate] form[data-pw-unlock] > label[for="pw-gate-email"]{grid-area:3 / 1!important}
  [data-gate] form[data-pw-unlock] > #pw-gate-email{grid-area:4 / 1!important}
  [data-gate] form[data-pw-unlock] > button{grid-area:5 / 1!important}
  [data-gate] form[data-pw-unlock] > input:not([type=checkbox]):not([type=radio]),
  [data-gate] form[data-pw-unlock] > button{width:100%!important;min-width:0!important}
}

/* The booking forms on /free-water-test/ and /system/well-water/. min-width:0
   lets the form shrink below its own min-content as a grid item, so its track
   stops blowing out past the 350px container: the well form measured 490px
   wide inside it, with the ZIP field 93px off the right edge. The
   first-and-last-name row is what made min-content that wide, so it stacks.
   Checkboxes are excluded from width:100% on purpose. Including them made one
   296px wide, which ate the whole flex row and left the consent text at 0px
   wide and 1053px tall, a worse fault than the one being fixed. */
@media (max-width:700px){
  [data-bookform]{min-width:0!important}
  [data-bookform] [data-step] > div{grid-template-columns:minmax(0,1fr)!important}
  [data-bookform] input:not([type=checkbox]):not([type=radio]),
  [data-bookform] select,[data-bookform] textarea{width:100%!important;min-width:0!important}
}

/* Consent checkboxes in both forms. The label is a flex row of a checkbox and
   a span, and the span carries flex:0 1 auto, so it shrinks to its content
   rather than filling the row and becomes a word ladder in a narrow column.
   flex-basis stays auto: with 0 the span measured 0px wide and 1053px tall. */
@media (max-width:700px){
  [data-gate] form[data-pw-unlock] > label,
  [data-bookform] label{align-items:flex-start!important}
  [data-gate] form[data-pw-unlock] > label > span,
  [data-bookform] label > span{flex:1 1 auto!important;min-width:0!important}
}

/* Standalone call-to-action links. These are the text-style links the site
   uses as secondary buttons: "See what is in your water", "See the county
   map", "How it works", "What happens on the way to you". They carry
   data-link and render as inline-flex, and measured at 390px they were 17px
   to 23px tall. Apple asks for 44px and Google for 48px, and a 20px target on
   a phone is a target you miss.

   min-height rather than padding because these are already inline-flex with
   align-items:center, so the text stays optically where it was and only the
   hit area grows. The filled buttons (data-btn) already carry 12px to 14px of
   padding and measured over 44px, so they are left alone.

   Telephone links get the same treatment through padding instead: several are
   plain inline elements inside a paragraph, where min-height does nothing,
   and padding on an inline element grows the clickable area without moving
   anything around it. Calling is the highest-value tap on a phone. */
@media (max-width:700px){
  a[data-link]{min-height:44px!important}
  a[href^="tel:"]:not([data-btn]){padding-top:11px!important;padding-bottom:11px!important}
}

/* Four more tap targets the data-link rule above does not reach, each found by
   measuring rather than by reading the markup:

   The nearby-town chips at the foot of every report page carry padding:7px,
   which made them 36px tall. 48 of them across the report set. 11px takes
   them to 44 without changing the pill shape.

   The water-source dropdown on /water/request/ carries no styling at all, so
   it rendered at the browser's default height of 21px. That is under the 24px
   floor WCAG 2.5.8 sets, never mind the 44px guideline, and it is the one
   control on that page a visitor has to use.

   "See the county map" is the only inline-block link in the footer and
   measured 20px. "Back to the report" on the print sheet measured 19px.

   Left alone on purpose: the 18px consent and water-source inputs, which sit
   inside labels 296px wide, so a finger already hits them; and the 50 points
   on the hardness chart, which sit 10 to 12px apart and already overlap, where
   a bigger hit area would land the tap on the wrong town. */
@media (max-width:700px){
  a[style*="border-radius:999px"]{padding-top:11px!important;padding-bottom:11px!important}
  select{min-height:44px!important;padding:10px 12px!important}
  a[href="/service-area/"][style*="inline-block"]{min-height:44px!important}
  [data-printbar] a{min-height:44px!important;display:inline-flex!important;align-items:center!important}
}

/* The print sheet is a fixed 816px page, US Letter at 96dpi, so on a 390px
   phone it is 426px wider than the screen. Its bar is sticky, which sticks
   vertically and does nothing horizontally, so "Back to the report" sat 276px
   past the right edge and the Print button 359px past: both reachable only by
   scrolling sideways on a page most people will not think to scroll sideways.

   This was invisible until 18 September because the layout gate rendered this
   page with no stylesheet at all. tools/render-check.php now inlines
   report-print.css the way it inlines the others, and the fault appeared on
   the first honest run.

   Pinning the bar to the viewport puts both controls on screen at any scroll
   position. The sheet itself stays 816px, because it is a page. The bar is
   already display:none inside @media print, so nothing here reaches paper,
   and the padding that clears the fixed bar is undone there as well.

   max-width:100vw is load-bearing. left:0 with right:0 alone left the bar
   816px wide and the button 414px off screen, worse than before the rule;
   four candidates were measured in the browser and this is the one that
   constrains it. */
@media (max-width:700px){
  [data-printbar]{position:fixed!important;top:0!important;left:0!important;right:0!important;
    max-width:100vw!important;margin:0!important;padding:8px 12px!important;
    justify-content:space-between!important;box-sizing:border-box!important;z-index:50!important}
  [data-printbar] button{min-height:44px!important}
  [data-print-doc]{padding-top:62px!important}
}
@media print{
  [data-print-doc]{padding-top:0!important}
}

/* The sticky bottom bar. Its grid is "auto 1fr", and 1fr is minmax(auto,1fr),
   so the track will not shrink below the call to action's min-content width.
   The label is white-space:nowrap, so on the well page "Book a free well
   consultation" measured 250px and pushed 7px past the right edge at 360px.
   Every other page's label is shorter and fits, which is why this showed up on
   one page out of nine.

   This is the same trap as the lead gate: a 1fr track respecting min-content.
   minmax(0,1fr) with min-width:0 lets the track shrink, and allowing the label
   to wrap means it uses a second line only when it actually has to, so nothing
   changes at 390px and wider. */
@media (max-width:700px){
  [data-mbar]{grid-template-columns:auto minmax(0,1fr)!important}
  [data-mbar] > *{min-width:0!important}
  [data-mbar] a[data-btn]{white-space:normal!important;text-align:center!important}
}

/* iOS Safari zooms the viewport when a focused field is under 16px and does
   not zoom back out. The ZIP inputs on /service-area/ were 15px, and so was
   the search on /water-quality/. One pixel is the whole fix. */
@media (max-width:700px){
  input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}
}

/* The header row on the record pages. The nav is meant to be hidden below
   1160px and on /water/request/ it was not: it measured 401px and pushed the
   phone number 363px and the call-to-action 575px off the right edge. The
   burger is already showing there, so the nav is redundant.
   The phone number and the call-to-action go too, and nothing is lost by it:
   measured at 390px, both are already hidden on the report pages and on the
   home page, and the sticky bottom bar carries Call and Book a free water
   test on every one. This makes /water/request/ behave like the rest rather
   than leaving its header CTA 965px off the right edge. */
@media (max-width:700px){
  [data-hdr] [data-nav],
  [data-hdr] [data-tel],
  [data-hdr] [data-btn]{display:none!important}
}

/* The footer grid. report-page.css collapses [data-ftgrid] below 780px, but
   the ZIP, landing and request pages load record.css and never got the rule.
   On /water/request/ the first footer column was 86px wide and 521px tall,
   with "See the county map" 44px off the right edge. */
@media (max-width:780px){
  [data-ftgrid]{grid-template-columns:1fr!important}
}

[data-nav] > a,
[data-nav] > [data-pwsub] > a{white-space:nowrap}
/* The header lockup only. The same 42px image is also in the mobile menu
   panel, where there is room for it, so this is scoped to the header row
   rather than done by editing the shared inline style. */
[data-hdr] > div > a > img{height:34px}
[data-nav]{gap:18px!important}
[data-hdr] [data-tel]{white-space:nowrap}
@media (max-width:1280px){[data-tel]{display:none!important}}
@media (max-width:1160px){[data-nav]{display:none!important}
  [data-pwnav-toggle]{display:inline-flex!important}}
@media (min-width:1161px){[data-pwnav-panel]{display:none}}

/* Stage rows alternate on desktop: row 02 carries order:2 on its content column
   and order:1 on its diagram so the diagram sits left. The grid collapses to one
   column at 940px but the order values do not reset, so on a phone row 02 read
   diagram-then-content while rows 01 and 03 read content-then-diagram. Resetting
   order inside the collapse keeps all three as number, product, copy, diagram. */
@media (max-width:940px){
  [data-stagerow] > *{order:0!important}
}

/* ---- the system page as a product page (systempage.py) ------------------- */
/* The page root clipped its overflow with overflow-x:hidden, which makes it a
   scroll container that never scrolls, so nothing inside it could stick. clip
   trims the same overflow without that. The header keeps scrolling away, as it
   does on every other page. */
[data-sys]{overflow-x:clip!important;overflow-anchor:none;--sx-bar:56px;--sx-dark:#01111f;--sx-deep:#021b33;--sx-navy:#04305a;--sx-aqua:#01d3fe;--sx-sky:#7ce6ff;--sx-blue:#01529c;--sx-ink:#0C1720;--sx-body:#41545F;--sx-muted:#71838D;--sx-line:#E1E9ED;--sx-ease:cubic-bezier(.2,.7,.2,1)}
[data-sys] [data-hdr]{position:relative!important}
[data-sys] [hidden]{display:none!important}
[data-sys][data-sx-mode="well"] [data-only="city"],[data-sys][data-sx-mode="city"] [data-only="well"]{display:none!important}
[data-sys]:not([data-sx-mode]):has(input[name="sx-mode"][value="well"]:checked) [data-only="city"]{display:none!important}
[data-sys]:not([data-sx-mode]):not(:has(input[name="sx-mode"][value="well"]:checked)) [data-only="well"]{display:none!important}
[data-sys][data-sx-anim] [data-only]:not(section):not([data-sx-swap]>*):not([data-sx-render]>*){animation:sxIn .6s var(--sx-ease) both}
html[data-pwnav-lock] [data-sx-bar]{visibility:hidden}
@keyframes sxIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
[data-sys] [id]{scroll-margin-top:72px}

[data-sx-wrap]{position:relative;max-width:1180px;margin:0 auto;padding:0 clamp(20px,5vw,60px)}
[data-sys] [data-sx-eyebrow]{margin:0 0 16px;max-width:none;font:600 12px/1.4 var(--head);letter-spacing:.16em;text-transform:uppercase;color:var(--sx-blue)}
[data-sys] [data-sx-h2]{margin:0;font:600 clamp(1.95rem,4.3vw,3.3rem)/1.07 var(--head);letter-spacing:-.034em;color:var(--sx-ink);text-wrap:balance}
[data-sx-h3]{margin:0;font:600 clamp(1.45rem,2.5vw,2.05rem)/1.14 var(--head);letter-spacing:-.026em;color:#ffffff;text-wrap:balance}
[data-sys] [data-sx-lead]{margin:20px 0 0;max-width:60ch;font:400 clamp(1.06rem,1.55vw,1.24rem)/1.6 var(--body);color:var(--sx-body)}
[data-sx-link]{display:inline-flex;align-items:center;gap:8px;min-height:44px;font:600 15px var(--head);color:var(--sx-blue);text-decoration:none}
[data-sys] [data-sx-link]:hover{color:var(--sx-navy)}
[data-sx-link] [data-arw],[data-sx-btn] [data-arw]{display:inline-block;transition:transform .2s ease}
[data-sx-link]:hover [data-arw],[data-sx-btn]:hover [data-arw]{transform:translateX(4px)}
[data-sx-cap]{margin:14px 0 0;font:italic 400 13px/1.5 var(--body);color:var(--sx-muted)}
[data-sx-btn]{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 26px;border-radius:100px;font:600 15px var(--head);text-decoration:none;white-space:nowrap;transition:transform .2s var(--sx-ease),box-shadow .2s ease,background .2s ease,border-color .2s ease,color .2s ease}
[data-sx-btn]:hover{transform:translateY(-2px)}
[data-sys] [data-sx-btn="aqua"]{background:var(--sx-aqua);color:#021b33;box-shadow:0 16px 34px -16px rgba(1,211,254,.85)}
[data-sys] [data-sx-btn="aqua"]:hover{color:#021b33;box-shadow:0 20px 40px -14px rgba(1,211,254,.95)}
[data-sys] [data-sx-btn="navy"]{background:var(--sx-navy);color:#ffffff;box-shadow:0 14px 30px -16px rgba(2,27,51,.8)}
[data-sys] [data-sx-btn="navy"]:hover{color:#ffffff;background:#063b6c}
[data-sys] [data-sx-btn="ghost"]{color:#ffffff;border:1.5px solid rgba(255,255,255,.3)}
[data-sys] [data-sx-btn="ghost"]:hover{color:#ffffff;border-color:#ffffff;background:rgba(255,255,255,.07)}
[data-sys] [data-sx-btn="ghostd"]{color:#ffffff;border:1.5px solid rgba(255,255,255,.35)}
[data-sys] [data-sx-btn="ghostd"]:hover{color:#ffffff;border-color:#ffffff}

/* the product bar */
[data-sx-bar]{position:fixed;left:0;right:0;top:0;z-index:60;box-sizing:border-box;height:var(--sx-bar);background:rgba(255,255,255,.78);backdrop-filter:saturate(1.8) blur(18px);-webkit-backdrop-filter:saturate(1.8) blur(18px);border-bottom:1px solid rgba(2,27,51,.08);transform:translateY(-102%);visibility:hidden;transition:transform .45s var(--sx-ease),visibility 0s linear .45s,background .35s ease,border-color .35s ease}
[data-sys][data-sx-bar-on] [data-sx-bar]{transform:none;visibility:visible;transition:transform .45s var(--sx-ease),visibility 0s,background .35s ease,border-color .35s ease}
[data-sx-bar][data-theme="dark"]{background:rgba(1,17,31,.72);border-bottom-color:rgba(255,255,255,.08)}
[data-sx-barin]{display:flex;align-items:center;gap:16px;height:100%;max-width:1180px;margin:0 auto;padding:0 clamp(16px,5vw,60px)}
[data-sys] [data-sx-barname]{flex:1;min-width:0;display:flex;align-items:center;min-height:44px;font:600 17px var(--head);letter-spacing:-.015em;color:var(--sx-ink);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-sx-bar][data-theme="dark"] [data-sx-barname]{color:#ffffff}
[data-sx-barswitch],[data-sx-mintoggle]{position:relative;display:grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:100px;background:rgba(2,27,51,.07)}
[data-sx-bar][data-theme="dark"] [data-sx-barswitch]{background:rgba(255,255,255,.1)}
[data-sx-barswitch] button,[data-sx-mintoggle] button{position:relative;z-index:1;min-height:42px;min-width:104px;padding:0 16px;border:0;border-radius:100px;background:none;font:600 13.5px var(--head);color:var(--sx-body);cursor:pointer;transition:color .3s ease}
[data-sx-bar][data-theme="dark"] [data-sx-barswitch] button{color:rgba(226,240,248,.75)}
[data-sx-barswitch] button[aria-pressed="true"],[data-sx-mintoggle] button[aria-pressed="true"]{color:var(--sx-navy)}
[data-sx-bar][data-theme="dark"] [data-sx-barswitch] button[aria-pressed="true"]{color:#021b33}
[data-sx-thumb]{position:absolute;z-index:0;left:3px;top:3px;bottom:3px;width:calc(50% - 3px);border-radius:100px;background:#ffffff;box-shadow:0 2px 8px -2px rgba(2,27,51,.3);transition:transform .45s var(--sx-ease)}
[data-sx-bar][data-theme="dark"] [data-sx-thumb]{background:var(--sx-sky)}
[data-sys][data-sx-mode="well"] [data-sx-barswitch] [data-sx-thumb]{transform:translateX(100%)}
[data-sx-mintoggle][data-on="soft"] [data-sx-thumb]{transform:translateX(100%)}
[data-sys] [data-sx-barcta]{flex:none;display:inline-flex;align-items:center;min-height:42px;padding:0 18px;border-radius:100px;background:var(--sx-blue);color:#ffffff;font:600 13.5px var(--head);text-decoration:none;white-space:nowrap;transition:background .2s ease}
[data-sys] [data-sx-barcta]:hover{background:var(--sx-navy);color:#ffffff}
[data-sx-bar][data-theme="dark"] [data-sx-barcta]{background:var(--sx-aqua);color:#021b33}
@media (max-width:860px){[data-sx-barcta]{display:none!important}}
@media (max-width:767px){[data-sys]{--sx-bar:54px;--sx-mbar:calc(71px + env(safe-area-inset-bottom))}[data-sys] [data-sx-barname]{display:none}[data-sx-barin]{justify-content:center}[data-sx-barswitch]{flex:1;max-width:340px}[data-sx-barswitch] button{min-width:0}}

/* the hero */
[data-sx-hero]{position:relative;overflow:hidden;padding:clamp(36px,6.5vh,76px) 0 clamp(48px,7vh,84px);background:linear-gradient(180deg,#021b33 0%,#01111f 78%);color:rgba(226,240,248,.82);text-align:center}
[data-sx-heroglow]{position:absolute;inset:0;pointer-events:none;background:radial-gradient(44% 34% at 50% 64%,rgba(1,211,254,.2) 0%,rgba(1,211,254,0) 70%),radial-gradient(60% 40% at 50% -6%,rgba(1,82,156,.55) 0%,rgba(1,82,156,0) 72%);animation:sxBreathe 9s ease-in-out infinite}
@keyframes sxBreathe{0%,100%{opacity:.8}50%{opacity:1}}
[data-sx-herotext]{position:relative;max-width:940px;margin:0 auto;will-change:transform,opacity}
[data-sys] [data-sx-hero] [data-sx-eyebrow]{color:var(--sx-aqua)}
[data-sx-h1]{margin:0;font:600 clamp(2.4rem,5.7vw,4.7rem)/1.02 var(--head);letter-spacing:-.045em;color:#ffffff;text-wrap:balance}
[data-sx-h1] span{display:block;background:linear-gradient(95deg,#c2f2ff 0%,#7ce6ff 30%,#01d3fe 62%,#3aa0e6 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.06em}
[data-sx-swap]{display:grid}
[data-sx-swap]>*{grid-area:1/1}
[data-sys][data-sx-mode] [data-sx-swap]>[data-only]{display:block!important;transition:opacity .55s ease,transform .7s var(--sx-ease),filter .7s ease,visibility 0s}
[data-sys][data-sx-mode="well"] [data-sx-swap]>[data-only="city"],[data-sys][data-sx-mode="city"] [data-sx-swap]>[data-only="well"]{opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s}
[data-sx-tag]{margin:18px auto 0;max-width:38ch;font:500 clamp(1.15rem,2.1vw,1.55rem)/1.42 var(--head);letter-spacing:-.01em;color:rgba(226,240,248,.9);text-wrap:balance}
[data-sx-choose]{margin:26px 0 0;padding:0;border:0;min-width:0}
[data-sx-choose] legend{display:block;width:100%;margin:0 0 12px;padding:0;font:600 12px var(--head);letter-spacing:.14em;text-transform:uppercase;color:rgba(194,242,255,.7)}
[data-sx-opts]{display:inline-grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px;border-radius:22px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
[data-sx-opt]{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;min-width:220px;min-height:64px;padding:10px 20px 10px 14px;border-radius:16px;color:#ffffff;text-align:left;cursor:pointer;transition:background .35s ease,color .35s ease,box-shadow .35s ease,transform .2s var(--sx-ease)}
[data-sx-opt]:hover{background:rgba(255,255,255,.07)}
[data-sx-opt] input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
[data-sx-optico]{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.08);color:var(--sx-sky);transition:background .35s ease,color .35s ease}
[data-sx-optname]{font:600 16px/1.2 var(--head);letter-spacing:-.01em}
[data-sx-optsub]{font:400 13px/1.3 var(--body);color:rgba(226,240,248,.66);transition:color .35s ease}
[data-sx-opt]:has(input:checked),[data-sx-opt][data-on]{background:#ffffff;color:var(--sx-navy);box-shadow:0 18px 40px -20px rgba(1,211,254,.6)}
[data-sx-opt]:has(input:checked) [data-sx-optico],[data-sx-opt][data-on] [data-sx-optico]{background:#EAF7FC;color:var(--sx-blue)}
[data-sx-opt]:has(input:checked) [data-sx-optsub],[data-sx-opt][data-on] [data-sx-optsub]{color:var(--sx-body)}
[data-sx-opt]:has(input:focus-visible){outline:2px solid var(--sx-aqua);outline-offset:3px}
[data-sx-stagewrap]{position:relative;margin:clamp(22px,4vh,40px) 0 0}
[data-sx-render]{position:relative;z-index:1;display:grid;justify-items:center;will-change:transform}
[data-sx-render] img{display:block;width:min(560px,82vw);height:auto;filter:drop-shadow(0 40px 50px rgba(0,0,0,.45))}
[data-sx-render]::after{content:"";position:absolute;left:50%;bottom:-3%;width:min(520px,76vw);height:46px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(1,211,254,.32),rgba(1,211,254,0));z-index:-1}
[data-sys][data-sx-mode] [data-sx-render]>img[data-only]{transition:opacity .7s ease,transform .9s var(--sx-ease),filter .9s ease,visibility 0s}
[data-sys][data-sx-mode="well"] [data-sx-render]>img[data-only="city"],[data-sys][data-sx-mode="city"] [data-sx-render]>img[data-only="well"]{transform:scale(.9) translateY(14px);filter:blur(10px) drop-shadow(0 40px 50px rgba(0,0,0,.45))}
[data-sx-beam]{position:absolute;left:calc(50% - 50vw);right:calc(50% - 50vw);top:46.7%;height:2px;z-index:-1;background:linear-gradient(90deg,rgba(124,230,255,0) 0%,rgba(124,230,255,.38) 18%,rgba(124,230,255,.18) 50%,rgba(1,211,254,.85) 82%,rgba(1,211,254,0) 100%)}
/* The line of light runs through the photograph's own glow, which sits at a
   different height in each photograph: 240 of 514 pixels for the city system,
   202 of 478 for the well system. */
[data-sys][data-sx-mode="well"] [data-sx-beam],[data-sys]:not([data-sx-mode]):has(input[name="sx-mode"][value="well"]:checked) [data-sx-beam]{top:42.26%}
[data-sx-beam]{transition:top .8s cubic-bezier(.2,.7,.2,1)}
/* A slow glint that drifts along the line, the way light moves on water. */
[data-sx-beam]::before{content:"";position:absolute;inset:-4px 0;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 35%,rgba(255,255,255,.9) 50%,rgba(255,255,255,.55) 65%,rgba(255,255,255,0) 100%) no-repeat;background-size:34% 100%;background-position:-60% 0;filter:blur(3px);animation:sxBeam 11s cubic-bezier(.37,0,.63,1) infinite}
[data-sx-beam]::after{content:"";position:absolute;inset:-10px 0;background:radial-gradient(40% 50% at 50% 50%,rgba(1,211,254,.22),rgba(1,211,254,0) 70%) no-repeat;background-size:60% 100%;background-position:120% 0;filter:blur(6px);animation:sxBeam2 17s cubic-bezier(.37,0,.63,1) infinite}
@keyframes sxBeam{0%{background-position:-60% 0;opacity:0}14%{opacity:1}86%{opacity:1}100%{background-position:160% 0;opacity:0}}
@keyframes sxBeam2{0%{background-position:130% 0}50%{background-position:-30% 0}100%{background-position:130% 0}}
[data-sx-beamlab]{position:absolute;bottom:12px;font:600 11px var(--head);letter-spacing:.16em;text-transform:uppercase;color:rgba(194,242,255,.6);white-space:nowrap}
[data-sx-beamlab="in"]{left:max(20px,calc(50vw - 600px))}
[data-sx-beamlab="out"]{right:max(20px,calc(50vw - 600px));color:var(--sx-aqua)}
[data-sx-herofoot]{position:relative;max-width:760px;margin:clamp(30px,5vh,48px) auto 0}
/* the hero arrives: the name, then the words, then the system */
@media (prefers-reduced-motion:no-preference){
  [data-sx-hero] [data-sx-eyebrow],[data-sx-h1],[data-sx-hero] [data-sx-swap],[data-sx-choose]{animation:sxRise .9s var(--sx-ease) both}
  [data-sx-h1]{animation-delay:.08s}
  [data-sx-hero] [data-sx-swap]{animation-delay:.2s}
  [data-sx-choose]{animation-delay:.3s}
  [data-sx-stagewrap]{animation:sxStage 1.3s var(--sx-ease) .25s both}
  [data-sx-beam]{animation:sxBeamIn 1.4s cubic-bezier(.6,0,.2,1) .55s both;transform-origin:50% 50%}
}
@keyframes sxRise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes sxStage{from{opacity:0;transform:translateY(40px) scale(.96)}to{opacity:1;transform:none}}
@keyframes sxBeamIn{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}
[data-sx-sub]{margin:0 auto;max-width:60ch;font:400 clamp(1rem,1.4vw,1.12rem)/1.62 var(--body);color:rgba(226,240,248,.74)}
[data-sx-heroacts]{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 14px;margin-top:26px}
@media (max-width:640px){
  [data-sx-opts]{display:grid;width:100%}
  [data-sx-opt]{min-width:0;grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-items:center;text-align:center;padding:12px 8px;row-gap:4px}
  [data-sx-optico]{grid-row:auto;width:38px;height:38px}
  [data-sx-beamlab]{display:none}
  [data-sx-heroacts] [data-sx-btn]{flex:1 1 100%}
}

/* how it works: shared */
[data-sx-flow]{position:relative;background:#01111f;color:rgba(226,240,248,.8)}
[data-sx-flow]::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(50% 40% at 30% 50%,rgba(1,82,156,.28) 0%,rgba(1,82,156,0) 70%)}
[data-sx-track]{position:relative;padding:clamp(56px,8vw,110px) 0}
[data-sx-flowgrid]{position:relative;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(28px,4.4vw,72px);align-items:start;max-width:1240px;margin:0 auto;padding:0 clamp(20px,5vw,60px)}
[data-sx-vis]{position:relative;min-width:0}
[data-sx-text]{min-width:0}
[data-sx-steps]{display:grid;gap:44px}
[data-sx-step] p{margin:14px 0 0;max-width:52ch;font:400 16.5px/1.66 var(--body);color:rgba(226,240,248,.8)}
[data-sys] [data-sx-flow] [data-sx-h2]{color:#ffffff}
[data-sys] [data-sx-step] [data-sx-h2]{font-size:clamp(1.8rem,3.4vw,2.7rem)}
[data-sx-kicker]{margin:0 0 14px!important;font:600 12px/1.4 var(--head)!important;letter-spacing:.15em;text-transform:uppercase;color:var(--sx-aqua)!important}
[data-sx-note]{font-size:14.5px!important;color:rgba(194,242,255,.62)!important}
[data-sx-logo]{display:block;width:auto;height:46px;margin:0 0 16px}
[data-sys] [data-sx-flow] [data-sx-link]{color:var(--sx-sky)}
[data-sys] [data-sx-flow] [data-sx-link]:hover{color:#ffffff}
[data-sx-tabs]{display:none}
[data-sx-flow] [data-sx-cap]{color:rgba(194,242,255,.5)}

/* how it works: live, the scene holds still while the steps change */
[data-sys][data-sx-live] [data-sx-track]{height:auto;padding:0}
[data-sys][data-sx-live] [data-sx-pin]{position:relative;height:calc(100vh - var(--sx-bar) - var(--sx-mbar,0px));height:calc(100svh - var(--sx-bar) - var(--sx-mbar,0px));display:flex;align-items:center;overflow:hidden}
[data-sys][data-sx-live] [data-sx-flowgrid]{width:100%;align-items:center}
[data-sx-progress]{display:none}
[data-sys][data-sx-live] [data-sx-progress]{display:block;position:absolute;left:0;right:0;bottom:0;height:2px;background:rgba(124,230,255,.12)}
[data-sx-progress] span{position:absolute;inset:0;background:linear-gradient(90deg,#7ce6ff,#01d3fe);transform-origin:0 50%;transform:scaleX(var(--p,0));box-shadow:0 0 10px rgba(1,211,254,.7)}
[data-sys][data-sx-live] [data-sx-steps]{gap:0}
[data-sys][data-sx-live] [data-sx-steps]>[data-sx-step]{grid-area:1/1;opacity:0;pointer-events:none;transform:translateY(26px);transition:opacity .35s ease,transform .45s ease}
[data-sys][data-sx-live] [data-sx-steps]>[data-sx-step][data-on]{opacity:1;pointer-events:auto;transform:none;transition:opacity .6s ease .12s,transform .8s var(--sx-ease) .12s}
[data-sys][data-sx-live] [data-sx-tabs]{display:flex;gap:6px;margin:0 0 26px}
[data-sx-tabs] button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px 0 6px;border:0;border-radius:100px;background:rgba(255,255,255,.06);color:rgba(226,240,248,.7);font:600 13px var(--head);cursor:pointer;transition:background .3s ease,color .3s ease}
[data-sx-tabs] button span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.08);font:700 12px var(--head);transition:background .3s ease,color .3s ease}
[data-sx-tabs] button:hover{color:#ffffff}
[data-sx-tabs] button[aria-current="true"]{background:rgba(1,211,254,.14);color:#ffffff}
[data-sx-tabs] button[aria-current="true"] span{background:var(--sx-aqua);color:#021b33}

/* the city scene: the system taken apart as an x-ray (xray.py), held still while
   the page scrolls. With no script, less motion or a short window, it is the
   photograph above the steps. */
[data-sx-scene="city"] [data-sx-stage]{position:relative;max-width:620px;margin:0 auto clamp(26px,4vw,44px);padding:0 clamp(20px,5vw,60px)}
[data-sx-cam]{position:relative;width:100%;aspect-ratio:619/514}
[data-sx-cam] img{display:block;width:100%;height:auto}
[data-sx-cam] [data-xr],[data-sx-scan],[data-sx-fluid],[data-sx-tags],[data-sx-end]{display:none}
[data-sx-legend]{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:22px 0 0;padding:0;list-style:none}
[data-sx-legend] li{display:inline-flex;align-items:center;gap:8px;font:500 13px var(--head);color:rgba(226,240,248,.72);transition:color .4s ease,opacity .4s ease}
[data-sx-legend] li span{width:9px;height:9px;border-radius:50%}
[data-sx-lg="sed"] span{background:#e0a526}
[data-sx-lg="fine"] span{background:#e8f1f6}
[data-sx-lg="chem"] span{background:#38d6aa}
[data-sx-scene="city"]:not([data-at]) [data-sx-cap]{text-align:center}

[data-sys][data-sx-live] [data-sx-scene="city"]{background:#01111f}
[data-sys][data-sx-live] [data-sx-scene="city"]::before{background:radial-gradient(42% 52% at 70% 52%,rgba(1,82,156,.36) 0%,rgba(1,82,156,0) 70%),radial-gradient(30% 30% at 70% 56%,rgba(1,211,254,.08) 0%,rgba(1,211,254,0) 70%)}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-pin]{display:block}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-stage]{position:absolute;inset:0;max-width:none;margin:0;padding:0;overflow:hidden}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-stage]::after{content:"";position:absolute;inset:0 auto 0 0;z-index:2;width:min(56vw,760px);pointer-events:none;background:linear-gradient(90deg,rgba(1,17,31,.94) 0%,rgba(1,17,31,.82) 45%,rgba(1,17,31,0) 100%)}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-cam]{position:absolute;left:0;top:0;width:619px;height:514px;aspect-ratio:auto;transform-origin:0 0;will-change:transform}
[data-sys][data-sx-live] [data-sx-cam] img,[data-sys][data-sx-live] [data-sx-cam] [data-xr]{display:block;position:absolute;left:0;top:0;width:619px;height:514px;overflow:visible}
[data-sys][data-sx-live] [data-sx-cam] img{filter:drop-shadow(0 34px 44px rgba(0,0,0,.5))}
@media (min-width:901px){[data-sys][data-sx-live] [data-sx-cam] [data-xr]{filter:drop-shadow(0 0 5px rgba(1,211,254,.3))}}
[data-sys][data-sx-live] [data-sx-scan]{display:block;position:absolute;left:-60px;right:-60px;top:0;height:2px;margin-top:-1px;border-radius:2px;background:linear-gradient(90deg,rgba(200,246,255,0) 0%,#c8f6ff 18%,#ffffff 50%,#c8f6ff 82%,rgba(200,246,255,0) 100%);box-shadow:0 0 16px 3px rgba(1,211,254,.6),0 0 46px 10px rgba(1,211,254,.18);opacity:0;pointer-events:none}
[data-sys][data-sx-live] [data-sx-fluid]{display:block;position:absolute;left:0;top:0;z-index:1;width:100%;height:100%;pointer-events:none}
[data-sys][data-sx-live] [data-sx-tags]{display:block;position:absolute;inset:0;z-index:3;pointer-events:none}
[data-sx-tag]{position:absolute;left:0;top:0;display:grid;justify-items:center;gap:2px;width:170px;margin:0 0 0 -85px;text-align:center;opacity:0;will-change:transform,opacity}
[data-sx-tagnum]{font:700 11px/1.4 var(--head);letter-spacing:.16em;color:var(--sx-aqua)}
[data-sx-tagname]{font:600 16px/1.2 var(--head);letter-spacing:-.01em;color:#ffffff}
[data-sx-tagsub]{font:500 12px/1.35 var(--head);color:rgba(194,242,255,.68)}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-end]{display:block;position:absolute;left:0;top:0;z-index:3;font:600 10.5px var(--head);letter-spacing:.15em;text-transform:uppercase;color:rgba(194,242,255,.62);white-space:nowrap;opacity:0;will-change:transform,opacity}
[data-sx-end="out"]{color:var(--sx-aqua)}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-legend]{position:absolute;z-index:3;right:clamp(20px,4vw,56px);bottom:clamp(22px,4vh,40px);margin:0;justify-content:flex-end;opacity:0;transition:opacity .6s ease}
[data-sys][data-sx-live] [data-sx-scene][data-legend] [data-sx-legend]{opacity:1}
[data-sx-scene][data-focus="1"] [data-sx-legend] li:not([data-sx-lg="sed"]),[data-sx-scene][data-focus="2"] [data-sx-legend] li:not([data-sx-lg="fine"]),[data-sx-scene][data-focus="3"] [data-sx-legend] li:not([data-sx-lg="chem"]){opacity:.36}
[data-xr-h]{transition:opacity .7s ease}
[data-sx-scene][data-focus="1"] [data-xr-h]:not([data-xr-h="1"]),[data-sx-scene][data-focus="2"] [data-xr-h]:not([data-xr-h="2"]),[data-sx-scene][data-focus="3"] [data-xr-h]:not([data-xr-h="3"]){opacity:.3}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-flowgrid]{position:relative;z-index:4;box-sizing:border-box;display:flex;align-items:center;height:100%;pointer-events:none}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-text]{width:min(440px,38vw);pointer-events:auto}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-cap]{margin-top:22px}
[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-tabs]{display:flex}

/* the well scene: wellline.py, under the product bar and above the phone's booking bar */
[data-sx-well]{position:relative;background:#01111f}
[data-sx-well] [data-wl]{--wl-top:var(--sx-bar);--wl-bottom:var(--sx-mbar,0px)}
[data-sx-well] [data-wl]:not([data-wl-live]){max-width:1180px;margin:0 auto;padding:clamp(56px,8vw,110px) clamp(20px,5vw,60px)}

/* minerals */
[data-sx-min]{padding:clamp(64px,9vw,128px) 0;background:#ffffff}
[data-sx-mingrid]{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(30px,5vw,80px);align-items:center}
[data-sx-mintext] p{margin:16px 0 0;max-width:58ch;font:400 16.5px/1.66 var(--body);color:var(--sx-body)}
[data-sys] [data-sx-mintext] [data-sx-lead]{margin-top:22px;color:var(--sx-ink)}
[data-sx-minvis]{padding:clamp(18px,2.6vw,28px);border-radius:28px;background:linear-gradient(160deg,#f2fafd 0%,#e6f4fa 100%);box-shadow:inset 0 0 0 1px #d6ebf3}
[data-sx-mintoggle]{width:max-content;margin:0 auto 18px;background:rgba(2,27,51,.07)}
[data-sx-mintoggle] button{min-width:130px}
[data-sx-ionbox]{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:linear-gradient(180deg,#e9f6fc 0%,#d9eef7 100%)}
[data-sx-ions]{position:absolute;inset:0;width:100%;height:100%}
[data-sx-ionlab]{position:absolute;top:12px;font:600 11px var(--head);letter-spacing:.16em;text-transform:uppercase;color:var(--sx-muted)}
[data-sx-ionlab="in"]{left:16px}
[data-sx-ionlab="out"]{right:16px}
[data-sx-tank]{position:absolute;left:37%;width:26%;top:16%;bottom:14%;border-radius:18px;border:1.5px solid rgba(1,82,156,.35);background:rgba(255,255,255,.55);box-shadow:0 18px 30px -24px rgba(2,27,51,.6)}
[data-sx-tankname]{position:absolute;left:0;right:0;bottom:-26px;font:600 11.5px/1.2 var(--head);text-align:center;color:var(--sx-navy);transition:opacity .35s ease}
[data-sx-minvis]:not([data-on="soft"]) [data-sx-tankname="soft"],[data-sx-minvis][data-on="soft"] [data-sx-tankname="pw"]{opacity:0}
[data-sx-ionkey]{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:36px 0 0;padding:0;list-style:none}
[data-sx-ionkey] li{display:inline-flex;align-items:center;gap:8px;font:500 13px var(--head);color:var(--sx-body)}
[data-sx-ionkey] span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font:700 11px var(--head);color:#ffffff}
[data-sx-ionkey] [data-k="ca"]{background:#01529c}
[data-sx-ionkey] [data-k="mg"]{background:#0b7a75}
[data-sx-ionkey] [data-k="na"]{background:#e0a526;color:#3a2a00}
[data-sx-ioncap]{margin:14px auto 0;max-width:46ch;font:600 14.5px/1.5 var(--head);text-align:center;color:var(--sx-navy)}
[data-sx-minvis] [data-sx-cap]{text-align:center;margin-top:6px}

/* what it needs */
[data-sx-needs]{padding:clamp(64px,9vw,128px) 0;background:#F0F9FC;border-top:1px solid var(--sx-line);border-bottom:1px solid var(--sx-line)}
[data-sx-head]{max-width:760px}
[data-sx-tiles]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:clamp(34px,4.5vw,56px)}
[data-sx-tile]{padding:28px 26px 26px;border-radius:24px;background:#ffffff;box-shadow:0 2px 10px -4px rgba(2,27,51,.12),inset 0 0 0 1px #E1E9ED}
[data-sx-tileico]{position:relative;display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#EAF7FC;color:var(--sx-blue)}
[data-sx-strike]{position:absolute;inset:9px;width:40px;height:40px;fill:none;stroke:#e0542e;stroke-width:3;stroke-linecap:round;stroke-dasharray:42;stroke-dashoffset:0;transition:stroke-dashoffset .7s var(--sx-ease) .5s}
[data-sys][data-sx-mode] [data-sx-tiles]:not([data-in]) [data-sx-strike]{stroke-dashoffset:42}
[data-sx-tile]:nth-child(2) [data-sx-strike]{transition-delay:.7s}
[data-sx-tile]:nth-child(3) [data-sx-strike]{transition-delay:.9s}
[data-sx-zero]{display:flex;align-items:baseline;gap:10px;margin:22px 0 0;font:600 17px var(--head);color:var(--sx-ink)}
[data-sx-zero] span{font:600 clamp(3.4rem,6vw,4.6rem)/.9 var(--head);letter-spacing:-.05em;background:linear-gradient(160deg,#01529c,#01d3fe);-webkit-background-clip:text;background-clip:text;color:transparent}
[data-sx-tile] p:last-child{margin:12px 0 0;font:400 15.5px/1.6 var(--body);color:var(--sx-body)}
[data-sx-matrixwrap]{margin-top:clamp(30px,4vw,48px);border-radius:24px;background:#ffffff;box-shadow:0 2px 10px -4px rgba(2,27,51,.12),inset 0 0 0 1px #E1E9ED;overflow:hidden}
[data-sx-matrix]{width:100%;border-collapse:collapse;font:400 15px/1.45 var(--body);color:var(--sx-body)}
[data-sx-matrix] thead th{padding:18px 16px 14px;font:600 11.5px var(--head);letter-spacing:.14em;text-transform:uppercase;color:var(--sx-muted);text-align:left}
[data-sx-matrix] tbody th{padding:16px 16px 16px 22px;text-align:left;font-weight:400}
[data-sx-matrix] td{padding:16px;white-space:nowrap}
[data-sx-matrix] tbody tr{border-top:1px solid var(--sx-line)}
[data-sx-rname]{display:block;font:600 16px/1.3 var(--head);color:var(--sx-ink)}
[data-sx-matrix] [data-sx-ptag]{margin-top:6px}
[data-sx-matrix] [data-sx-ptag="std"]{background:#EAF7FC;color:var(--sx-blue);box-shadow:inset 0 0 0 1px #CBE7F1}
[data-sx-matrix] [data-sx-ptag="if"]{color:var(--sx-body);box-shadow:inset 0 0 0 1px #C8DAE4}
[data-sx-rnote]{display:block;margin-top:6px;font:400 13.5px/1.4 var(--body);color:var(--sx-muted)}
[data-sx-dot]{display:inline-block;width:14px;height:14px;margin-right:10px;vertical-align:-2px;border-radius:50%;background:var(--sx-aqua);box-shadow:0 0 0 4px rgba(1,211,254,.18);transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
[data-sys][data-sx-mode] [data-sx-matrixwrap]:not([data-in]) [data-sx-dot]{transform:scale(0)}
[data-sx-dot][data-none]{background:transparent;box-shadow:inset 0 0 0 2px #C8DAE4}
[data-sx-dot][data-half]{background:linear-gradient(90deg,var(--sx-aqua) 50%,transparent 50%);box-shadow:inset 0 0 0 2px var(--sx-aqua)}
[data-sx-matrix] tr:nth-child(2) [data-sx-dot]{transition-delay:.08s}[data-sx-matrix] tr:nth-child(3) [data-sx-dot]{transition-delay:.16s}[data-sx-matrix] tr:nth-child(4) [data-sx-dot]{transition-delay:.24s}[data-sx-matrix] tr:nth-child(5) [data-sx-dot]{transition-delay:.32s}[data-sx-matrix] tr:nth-child(6) [data-sx-dot]{transition-delay:.4s}
[data-sx-matrix] td[data-v="y"],[data-sx-matrix] td[data-v="low"]{font-weight:600;color:var(--sx-navy)}
[data-sx-foot]{margin:18px 0 0;max-width:80ch;font:400 14.5px/1.6 var(--body);color:var(--sx-muted)}

/* where it goes */
[data-sx-house]{position:relative;overflow:hidden;padding:clamp(64px,9vw,128px) 0;background:linear-gradient(170deg,#04305a 0%,#021b33 60%);color:rgba(226,240,248,.82)}
[data-sys] [data-sx-house] [data-sx-eyebrow]{color:var(--sx-aqua)}
[data-sys] [data-sx-house] [data-sx-h2]{color:#ffffff}
[data-sys] [data-sx-house] [data-sx-lead]{color:rgba(226,240,248,.8);margin-top:0}
[data-sx-househead]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:end}
[data-sx-housebox]{position:relative;margin-top:clamp(30px,4.5vw,56px);border-radius:28px;background:radial-gradient(70% 60% at 70% 20%,rgba(1,211,254,.12),rgba(1,211,254,0) 70%),#032642;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 40px 80px -50px rgba(0,0,0,.7);overflow:hidden}
[data-sx-housesvg]{display:block;width:100%;height:auto}
[data-sx-housesvg] [data-sx-pipe]{transition:stroke-dashoffset 1s cubic-bezier(.5,0,.3,1)}
[data-sx-housesvg] [data-sx-pipe="out"]{filter:url(#sxGlow)}
/* Light moving along the pipes the way it glints on water: long, soft and slow,
   not a string of dots. */
[data-sx-housesvg] [data-sx-flowline]{stroke:#e6fbff;stroke-width:3;stroke-linecap:round;stroke-dasharray:54 380;opacity:0;filter:url(#sxGlow);animation:sxDash 8.5s linear infinite;transition:opacity .8s ease}
[data-sx-housebox][data-flow] [data-sx-flowline]{opacity:.85}
@keyframes sxDash{to{stroke-dashoffset:-434}}
[data-sx-hlabels]{position:absolute;inset:0;pointer-events:none}
[data-sx-hl]{position:absolute;transform:translate(-50%,-50%);padding:4px 10px;border-radius:100px;background:rgba(2,27,51,.78);font:600 12px/1.2 var(--head);letter-spacing:.02em;color:rgba(226,240,248,.92);white-space:nowrap;transition:opacity .6s ease}
[data-sys][data-sx-mode] [data-sx-housebox]:not([data-flow]) [data-sx-hl]{opacity:0}
[data-sx-hl="eq"]{color:#021b33;background:var(--sx-sky)}
[data-sx-hl="fx"]{color:var(--sx-sky);box-shadow:inset 0 0 0 1px rgba(124,230,255,.4)}
[data-sx-housebox][data-flow] [data-sx-hl="eq"]{transition-delay:.2s}
[data-sx-housebox][data-flow] [data-sx-hl="fx"]{transition-delay:.5s}
[data-sx-hpath]{display:none;margin:14px 2px 0;font:400 15px/1.6 var(--body);color:rgba(226,240,248,.8)}
[data-sx-photos]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
[data-sx-photos] figure{margin:0}
[data-sx-photos] img{display:block;width:100%;aspect-ratio:1;height:auto;object-fit:cover;object-position:50% 45%;border-radius:20px}
[data-sx-photos] figcaption{margin:10px 2px 0;font:400 13px/1.45 var(--body);color:rgba(194,242,255,.62)}

/* limits */
[data-sx-limits]{padding:clamp(64px,9vw,128px) 0;background:#ffffff}
[data-sx-limgrid]{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(30px,5vw,80px);align-items:start}
[data-sx-limgrid] p{margin:16px 0 0;max-width:60ch;font:400 16.5px/1.66 var(--body);color:var(--sx-body)}
[data-sys] [data-sx-limgrid] [data-sx-lead]{margin-top:22px;color:var(--sx-ink)}
[data-sys] [data-sx-totop]{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 20px;border:1.5px solid #C8DAE4;border-radius:100px;background:#ffffff;font:600 14.5px var(--head);color:var(--sx-navy);cursor:pointer;transition:border-color .2s ease,transform .2s var(--sx-ease)}
[data-sys] [data-sx-totop]:hover{border-color:#0191cf;transform:translateY(-1px)}
[data-sx-listlabel]{margin:0 0 14px!important;font:600 11.5px var(--head)!important;letter-spacing:.14em;text-transform:uppercase;color:var(--sx-muted)!important}
[data-sx-nots]{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
[data-sx-nots] li{padding:9px 15px;border-radius:100px;background:#F0F9FC;box-shadow:inset 0 0 0 1px #CBE7F1;font:500 14.5px var(--head);color:var(--sx-navy)}
[data-sx-rules]{display:grid;gap:12px;margin:0}
[data-sx-rules]>div{padding:20px 22px;border-radius:20px;background:#F0F9FC;box-shadow:inset 0 0 0 1px #CBE7F1}
[data-sx-rules] dt{margin:0 0 6px;font:600 11.5px var(--head);letter-spacing:.14em;text-transform:uppercase;color:var(--sx-blue)}
[data-sx-rules] dd{margin:0;font:400 15.5px/1.6 var(--body);color:var(--sx-body)}

/* testing */
[data-sx-proof]{padding:0 0 clamp(64px,9vw,128px);background:#ffffff}
[data-sx-proofcard]{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,4vw,64px);align-items:center;padding:clamp(30px,4.5vw,60px);border-radius:32px;background:linear-gradient(160deg,#F0F9FC 0%,#e4f3fa 100%);box-shadow:inset 0 0 0 1px #d6ebf3}
[data-sx-proofcard] p{margin:16px 0 0;max-width:58ch;font:400 16.5px/1.66 var(--body);color:var(--sx-body)}
[data-sys] [data-sx-proofcard] [data-sx-lead]{margin-top:22px;color:var(--sx-ink)}
[data-sys] [data-sx-proofcard] [data-sx-h2]{font-size:clamp(1.8rem,3.3vw,2.6rem)}
[data-sx-proofcard] [data-sx-btn]{margin-top:10px}
[data-sx-badges]{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:0;list-style:none}
[data-sx-badges] li{display:grid;place-items:center;min-height:96px;padding:12px;border-radius:22px;background:#ffffff;box-shadow:0 14px 30px -24px rgba(2,27,51,.6),inset 0 0 0 1px #E1E9ED;font:600 clamp(1rem,1.7vw,1.2rem)/1.2 var(--head);letter-spacing:-.01em;color:var(--sx-navy);text-align:center}
[data-sx-wellproof]{padding:24px;border-radius:22px;background:#ffffff;box-shadow:inset 0 0 0 1px #E1E9ED}
[data-sx-wellproof] p{margin-top:0}

/* questions */
[data-sx-faq]{padding:clamp(64px,9vw,128px) 0;border-top:1px solid var(--sx-line);background:#ffffff}
[data-sx-faqgrid]{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,4vw,64px);align-items:start}
[data-sx-faqmore]{max-width:40ch;margin:18px 0 0;font:400 15.5px/1.6 var(--body);color:var(--sx-body)}
[data-sx-faqlist] details{border-bottom:1px solid var(--sx-line)}
[data-sx-faqlist] details:first-of-type{border-top:1px solid var(--sx-line)}
[data-sx-faqlist] summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:18px 2px;font:600 16.5px/1.4 var(--head);color:var(--sx-ink);list-style:none;cursor:pointer}
[data-sx-faqlist] summary::-webkit-details-marker{display:none}
[data-sx-faqlist] summary [data-chev]{flex:none;color:var(--sx-muted);transition:transform .25s ease}
[data-sx-faqlist] details[open] summary [data-chev]{transform:rotate(180deg)}
[data-sx-faqlist] details p{max-width:62ch;margin:0;padding:0 2px 20px;font:400 15.5px/1.62 var(--body);color:var(--sx-body)}

/* call to action */
[data-sx-cta]{padding:0 0 clamp(56px,7.5vw,104px);background:#ffffff}
[data-sx-ctacard]{position:relative;overflow:hidden;padding:clamp(34px,5vw,64px);border-radius:32px;background:linear-gradient(155deg,#04305a 0%,#021b33 60%);color:rgba(226,240,248,.85)}
[data-sx-ctaglow]{position:absolute;inset:0;pointer-events:none;background:radial-gradient(60% 80% at 88% 8%,rgba(1,211,254,.22) 0%,rgba(1,211,254,0) 62%)}
[data-sx-ctagrid]{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(26px,4vw,56px);align-items:center}
[data-sys] [data-sx-cta] [data-sx-h2]{color:#ffffff;font-size:clamp(1.7rem,3.4vw,2.5rem)}
[data-sys] [data-sx-cta] [data-sx-lead]{color:rgba(226,240,248,.85)}
[data-sx-ctaacts]{display:flex;flex-wrap:wrap;gap:12px 14px;margin-top:28px}
[data-sx-ctagrid] ul{margin:0;padding:0;list-style:none}
[data-sx-ctagrid] li{display:flex;gap:13px;align-items:flex-start;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.14);font:400 16px/1.6 var(--body);color:rgba(226,240,248,.85)}
[data-sx-ctagrid] li:last-child{border-bottom:0}
[data-sx-ctagrid] li svg{flex:none;margin-top:4px;color:var(--sx-aqua)}
[data-sx-footnote]{margin:22px 0 0;max-width:74ch;font:400 12.5px/1.66 var(--body);color:var(--sx-muted)}

/* narrower screens */
@media (max-width:980px){
  [data-sx-mingrid],[data-sx-limgrid],[data-sx-proofcard],[data-sx-faqgrid],[data-sx-ctagrid],[data-sx-househead]{grid-template-columns:1fr}
  [data-sx-tiles]{grid-template-columns:1fr}
  [data-sx-tile]{display:grid;grid-template-columns:auto 1fr;column-gap:20px;align-items:center}
  [data-sx-tile] [data-sx-tileico]{grid-row:1/3}
  [data-sx-tile] [data-sx-zero]{margin-top:0}
  [data-sx-tile] p:last-child{grid-column:1/3}
}
@media (max-width:900px){
  [data-sx-flowgrid]{grid-template-columns:1fr}
  [data-sys][data-sx-live] [data-sx-flowgrid]{height:100%;grid-template-rows:minmax(0,40%) minmax(0,1fr);align-items:stretch;row-gap:8px;padding-top:10px;padding-bottom:10px}
  [data-sys][data-sx-live] [data-sx-wide]{display:none}
  [data-sys][data-sx-live] [data-sx-vis]{display:flex;flex-direction:column;justify-content:center;min-height:0}
  [data-sys][data-sx-live] [data-sx-cvis] [data-sx-cam]{padding:2% 0 0}
  [data-sys][data-sx-live] [data-sx-housings]{width:min(74%,calc(30svh * 1.204))}
  [data-sys][data-sx-live] [data-sx-legend],[data-sys][data-sx-live] [data-sx-vis] [data-sx-cap],[data-sx-end]{display:none}
  [data-sys][data-sx-live] [data-sx-text]{display:flex;flex-direction:column;min-height:0}
  [data-sys][data-sx-live] [data-sx-tabs]{margin-bottom:10px}
  [data-sys][data-sx-live] [data-sx-tabs] button{padding-right:10px;font-size:12px}
  [data-sys][data-sx-live] [data-sx-step] p{font-size:14.5px;line-height:1.52;margin-top:8px}
  [data-sys][data-sx-live] [data-sx-step] [data-sx-h2]{font-size:1.65rem}
  [data-sys][data-sx-live] [data-sx-step] [data-sx-h3]{font-size:1.32rem}
  [data-sys][data-sx-live] [data-sx-step] [data-sx-link]{font-size:14px}
  [data-sys][data-sx-live] [data-sx-logo]{height:32px;margin-bottom:10px}
  [data-sys][data-sx-live] [data-sx-kicker]{margin-bottom:8px!important}
  [data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-flowgrid]{align-items:flex-end;padding-top:0;padding-bottom:12px}
  [data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-text]{width:100%;max-height:52%}
  [data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-stage]::after{inset:auto 0 0 0;width:auto;height:60%;background:linear-gradient(0deg,rgba(1,17,31,.97) 0%,rgba(1,17,31,.92) 72%,rgba(1,17,31,0) 100%)}
  [data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-cap],[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-legend],[data-sys][data-sx-live] [data-sx-scene="city"] [data-sx-end]{display:none}
  [data-sx-tag]{width:50px;margin-left:-25px}
  [data-sx-tagnum]{font-size:9.5px;letter-spacing:.1em}
  /* one word to a line, so the three names clear each other (5 Oct 2026) */
  [data-sx-tagname]{font-size:10px;line-height:1.15;word-spacing:50px}
  [data-sx-tagsub]{display:none}
  [data-sx-photos]{grid-template-columns:1fr 1fr}
  [data-sx-photos] figure:nth-child(3){display:none}
}
@media (max-width:640px){
  [data-sx-matrix] thead{display:none}
  [data-sx-matrix],[data-sx-matrix] tbody,[data-sx-matrix] tr,[data-sx-matrix] th,[data-sx-matrix] td{display:block}
  [data-sx-matrix] tbody tr{padding:16px 18px}
  [data-sx-matrix] tbody th{padding:0 0 8px}
  [data-sx-matrix] td{display:flex;align-items:center;justify-content:space-between;padding:6px 0;border-top:1px dashed #E1E9ED}
  [data-sx-matrix] td::before{font:600 11px var(--head);letter-spacing:.12em;text-transform:uppercase;color:var(--sx-muted)}
  [data-sx-matrix] td:nth-of-type(1)::before{content:"Outlet"}
  [data-sx-matrix] td:nth-of-type(2)::before{content:"Drain line"}
  [data-sx-matrix] td:nth-of-type(3)::before{content:"Salt"}
  [data-sx-matrix] td [data-sx-dot]{order:2;margin:0 0 0 10px}
  [data-sx-hlabels]{display:none}
  [data-sx-hpath]{display:block}
  [data-sx-mintoggle] button{min-width:0}
  [data-sx-ionbox]{aspect-ratio:4/3}
}

/* less motion: everything in place, nothing moving */
@media (prefers-reduced-motion:reduce){
  [data-sys] [data-sx-heroglow],[data-sys] [data-sx-beam]::before,[data-sys] [data-sx-beam]::after,[data-sys] [data-sx-flowline]{animation:none!important}
  [data-sys] [data-only]{animation:none!important}
  [data-sx-strike]{transition:none!important}
}

/* the scene steps: arrows and a count under the words; on a phone the arrows
   sit on either side of the drawing (owner, 5 Oct 2026) */
[data-sx-ctl]{display:none}
[data-sys][data-sx-live] [data-sx-ctl]{display:flex;align-items:center;gap:12px;margin-top:22px}
[data-sys][data-sx-live] [data-sx-ctl] button{display:grid;place-items:center;width:48px;height:48px;padding:0;border-radius:50%;cursor:pointer;transition:background .2s ease,border-color .2s ease,opacity .2s ease}
[data-sys][data-sx-live] [data-sx-prev]{border:1px solid rgba(124,230,255,.55);background:rgba(2,27,51,.82);color:#ffffff}
[data-sys][data-sx-live] [data-sx-next]{border:1px solid #01d3fe;background:#01d3fe;color:#02223e;box-shadow:0 14px 30px -16px rgba(1,211,254,.9)}
[data-sys][data-sx-live] [data-sx-ctl] button:disabled{opacity:.32;cursor:default;box-shadow:none}
[data-sys][data-sx-live] [data-sx-ctl] button:focus-visible{outline:2px solid #01d3fe;outline-offset:3px}
[data-sys][data-sx-live] [data-sx-count]{margin-left:4px;font:600 13px var(--head);color:rgba(194,242,255,.75)}
[data-sys][data-sx-live] [data-sx-count] b{font-weight:600}
@media (max-width:900px){
  [data-sys][data-sx-live] [data-sx-ctl]{display:block;margin:0}
  [data-sys][data-sx-live] [data-sx-ctl] button{position:absolute;z-index:7;top:24%;margin-top:-23px;width:46px;height:46px}
  [data-sys][data-sx-live] [data-sx-prev]{left:10px}
  [data-sys][data-sx-live] [data-sx-next]{right:10px}
  [data-sys][data-sx-live] [data-sx-count]{position:absolute;z-index:7;top:12px;right:14px;margin:0;padding:5px 11px;border-radius:100px;background:rgba(2,27,51,.82);border:1px solid rgba(255,255,255,.22);color:#ffffff;font-size:12px}
}

/* ---- the well build as one line of equipment (wellline.py) ---- */
[data-wl]{--wl-top:0px;--wl-bottom:0px;position:relative;color:rgba(226,240,248,.82)}
[data-wl] [hidden]{display:none!important}
[data-wl-track]{position:relative}
[data-wl-pin]{position:relative}
/* with no script, a short window or less motion: the pieces in a row above the steps */
[data-wl-stage]{position:relative;height:clamp(240px,42vw,520px);overflow:hidden;border-radius:24px;background:radial-gradient(60% 70% at 50% 40%,rgba(1,82,156,.35),rgba(1,82,156,0) 70%),#01111f}
[data-wl-cam]{position:absolute;left:0;top:0;width:3500px;height:1000px;transform-origin:0 0}
[data-wl-plumb]{position:absolute;left:0;top:0;width:3500px;height:1000px;overflow:visible}
[data-wl-cam]>img,[data-wl-3f]{position:absolute;display:block;transition:opacity .6s ease,filter .6s ease}
[data-wl-3f]{transform-origin:0 0}
[data-wl-3f]>img,[data-wl-3f]>[data-xr]{position:absolute;left:0;top:0;width:560px;height:478px}
[data-wl-3f]>[data-xr],[data-wl-scan],[data-wl-fx],[data-wl-tags],[data-wl-dots],[data-wl-progress]{display:none}
[data-wl-panel]{position:relative;margin-top:24px}
[data-wl-steps]{display:grid;gap:30px}
[data-wl-step] p{margin:12px 0 0;max-width:56ch;font:400 16px/1.64 var(--body);color:rgba(226,240,248,.8)}
[data-wl-kicker]{margin:0 0 12px!important;font:600 12px/1.4 var(--head)!important;letter-spacing:.15em;text-transform:uppercase;color:#01d3fe!important}
[data-wl] [data-wl-h2]{margin:0;font:600 clamp(1.75rem,3.2vw,2.5rem)/1.1 var(--head);letter-spacing:-.03em;color:#ffffff;text-wrap:balance}
[data-wl-h3]{margin:0;font:600 clamp(1.4rem,2.3vw,1.95rem)/1.15 var(--head);letter-spacing:-.024em;color:#ffffff;text-wrap:balance}
[data-wl-meta]{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
[data-wl-ptag]{display:inline-block;padding:3px 10px;border-radius:100px;font:700 10px/1.3 var(--head);letter-spacing:.12em;text-transform:uppercase}
[data-wl-ptag="std"]{background:rgba(1,211,254,.16);color:#7ce6ff;box-shadow:inset 0 0 0 1px rgba(1,211,254,.45)}
[data-wl-ptag="if"]{color:rgba(226,240,248,.9);box-shadow:inset 0 0 0 1px rgba(255,255,255,.42)}
[data-wl-hook]{font:600 11px var(--head);letter-spacing:.08em;text-transform:uppercase;color:rgba(194,242,255,.6)}
[data-wl-handles]{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
[data-wl-hlabel]{margin-right:4px;font:600 10.5px var(--head);letter-spacing:.14em;text-transform:uppercase;color:rgba(194,242,255,.55)}
[data-wl] [data-wl-chip]{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 11px 0 9px;border-radius:100px;background:rgba(255,255,255,.08);font:500 12.5px/1.2 var(--head);color:rgba(226,240,248,.92);text-decoration:none;transition:background .2s ease}
[data-wl] [data-wl-chip]:hover{background:rgba(255,255,255,.16);color:#ffffff}
[data-wl-chip]::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c)}
[data-wl] [data-wl-link]{display:inline-flex;align-items:center;gap:8px;min-height:44px;font:600 15px var(--head);color:#7ce6ff;text-decoration:none}
[data-wl] [data-wl-link]:hover{color:#ffffff}
[data-wl-link] [data-arw]{display:inline-block;transition:transform .2s ease}
[data-wl-link]:hover [data-arw]{transform:translateX(4px)}
[data-wl-status]{font:600 13px var(--head)!important}
[data-wl-status="on"]{color:#01d3fe!important}
[data-wl-status="off"]{color:rgba(194,242,255,.6)!important}
[data-wl-note]{font-size:14.5px!important;color:rgba(194,242,255,.62)!important}
[data-wl-ilist]{display:grid;gap:10px;max-width:62ch;margin:14px 0 0;padding:0;list-style:none;counter-reset:wl}
[data-wl-ilist] li{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;font:400 14.5px/1.55 var(--body);color:rgba(226,240,248,.8)}
[data-wl-ilist] li span{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:rgba(1,211,254,.16);color:#7ce6ff;font:700 11.5px var(--head)}
[data-wl-ilist] li b{font:600 15px/1.3 var(--head);color:#ffffff}

/* live: the scene fills the window and holds still while the page scrolls */
[data-wl][data-wl-live] [data-wl-track]{height:auto}
[data-wl][data-wl-live] [data-wl-pin]{position:relative;height:calc(100vh - var(--wl-top) - var(--wl-bottom));height:calc(100svh - var(--wl-top) - var(--wl-bottom));overflow:hidden}
[data-wl][data-wl-live] [data-wl-stage]{position:absolute;inset:0;height:auto;border-radius:0;background:radial-gradient(46% 60% at 68% 46%,rgba(1,82,156,.34),rgba(1,82,156,0) 72%),transparent}
/* the shade behind the words: solid under the column of text (its right edge, --wl-tr, is
   measured by the script), then gone within 130px, so a piece in the light is never under it */
[data-wl][data-wl-live] [data-wl-stage]::after{content:"";position:absolute;inset:0 auto 0 0;z-index:3;width:calc(var(--wl-tr,min(56vw,690px)) + 90px);pointer-events:none;background:linear-gradient(90deg,rgba(1,17,31,.97) 0,rgba(1,17,31,.95) calc(100% - 130px),rgba(1,17,31,0) 100%);transition:opacity .7s ease}
[data-wl][data-wl-live] [data-wl-stage]::before{content:"";position:absolute;inset:0 0 auto 0;z-index:3;height:50%;pointer-events:none;background:linear-gradient(180deg,rgba(1,17,31,.9) 0%,rgba(1,17,31,.7) 50%,rgba(1,17,31,0) 100%);opacity:0;transition:opacity .7s ease}
[data-wl][data-wl-live][data-ends] [data-wl-stage]::before{opacity:1}
[data-wl][data-wl-live][data-ends] [data-wl-stage]::after{opacity:0}
[data-wl][data-wl-live][data-ends] [data-wl-panel]{justify-content:flex-start;padding-top:clamp(28px,8vh,84px)}
[data-wl][data-wl-live] [data-wl-cam]{will-change:transform}
[data-wl][data-wl-live] [data-wl-fx]{display:block;position:absolute;left:0;top:0;z-index:2;width:100%;height:100%;pointer-events:none}
[data-wl][data-wl-live] [data-wl-tags]{display:block;position:absolute;inset:0;z-index:4;pointer-events:none}
[data-wl][data-wl-live] [data-wl-3f]>[data-xr]{display:block;overflow:visible}
[data-wl][data-wl-live] [data-wl-scan]{display:block;position:absolute;left:-50px;right:-50px;top:0;height:2px;margin-top:-1px;background:linear-gradient(90deg,rgba(200,246,255,0),#c8f6ff 20%,#ffffff 50%,#c8f6ff 80%,rgba(200,246,255,0));box-shadow:0 0 16px 3px rgba(1,211,254,.6);opacity:0;pointer-events:none}
[data-wl][data-wl-live] [data-wl-panel]{position:relative;z-index:5;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;height:100%;max-width:1240px;margin:0 auto;padding:0 clamp(20px,5vw,60px);pointer-events:none}
[data-wl][data-wl-live] [data-wl-panel]>*{width:min(440px,38vw);pointer-events:auto}
[data-wl][data-wl-live] [data-wl-steps]{display:grid;gap:0}
[data-wl][data-wl-live] [data-wl-steps]>[data-wl-step]{grid-area:1/1;opacity:0;visibility:hidden;transform:translateY(24px);transition:opacity .35s ease,transform .45s ease,visibility 0s linear .45s}
[data-wl][data-wl-live] [data-wl-steps]>[data-wl-step][data-on]{opacity:1;visibility:visible;transform:none;transition:opacity .6s ease .1s,transform .8s cubic-bezier(.2,.7,.2,1) .1s,visibility 0s}
[data-wl][data-wl-live] [data-wl-dots]{display:flex;flex-wrap:wrap;gap:4px;position:absolute;right:clamp(20px,4vw,56px);bottom:clamp(14px,3vh,30px);width:auto!important;margin:0}
[data-wl-dots] button{position:relative;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}
[data-wl-dots] button span{position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:rgba(194,242,255,.32);transition:transform .3s ease,background .3s ease}
[data-wl-dots] button:hover span{background:rgba(194,242,255,.7)}
[data-wl-dots] button[aria-current="true"] span{background:#01d3fe;transform:scale(1.5);box-shadow:0 0 12px rgba(1,211,254,.8)}
[data-wl-dots] button:focus-visible{outline:2px solid #01d3fe;outline-offset:-4px}
[data-wl][data-wl-live] [data-wl-progress]{display:block;position:absolute;left:0;right:0;bottom:0;z-index:6;height:2px;background:rgba(124,230,255,.12)}
[data-wl-progress] span{position:absolute;inset:0;background:linear-gradient(90deg,#7ce6ff,#01d3fe);transform-origin:0 50%;transform:scaleX(var(--p,0));box-shadow:0 0 10px rgba(1,211,254,.7)}
/* the piece in the light, the others back */
[data-wl][data-wl-live][data-focus] [data-wl-p]:not([data-wl-hot]){opacity:.26;filter:saturate(.4)}
[data-wl][data-wl-live][data-focus] [data-wl-tank],[data-wl][data-wl-live][data-focus] [data-wl-house]{opacity:.35}
[data-wl-tank],[data-wl-house],[data-wl-coil]{transition:opacity .6s ease}
[data-wl][data-wl-live][data-focus]:not([data-focus="descaler"]) [data-wl-coil]{opacity:.3}
/* picks from the picker above (well page) */
[data-wl] [data-wl-p][data-off]{opacity:.18!important;filter:grayscale(1)!important}
[data-wl] [data-wl-p][data-on]{filter:drop-shadow(0 0 22px rgba(1,211,254,.55))}
/* the names along the line, for the first and last steps */
[data-wl-tag],[data-wl-itag]{position:absolute;left:0;top:0;display:grid;justify-items:center;gap:3px;width:190px;margin:0 0 0 -95px;text-align:center;opacity:0;will-change:transform,opacity;transition:opacity .45s ease}
[data-wl-tagname]{font:600 14px/1.25 var(--head);color:#ffffff}
[data-wl-tagnum]{font:700 11px/1.4 var(--head);letter-spacing:.16em;color:#01d3fe}
[data-wl-itag]{width:140px;margin-left:-70px}
[data-wl-itag] [data-wl-tagname]{font-size:12.5px}
[data-wl-tagon]{display:none;padding:2px 8px;border-radius:100px;background:#01d3fe;font:700 9.5px/1.3 var(--head);letter-spacing:.12em;text-transform:uppercase;color:#021b33}
[data-wl-tag][data-on] [data-wl-tagon]{display:inline-block}
[data-wl-tag][data-on] [data-wl-tagif]{display:none}
[data-wl-tagif]{padding:2px 8px;border-radius:100px;font:700 9.5px/1.3 var(--head);letter-spacing:.12em;text-transform:uppercase;color:rgba(226,240,248,.85);box-shadow:inset 0 0 0 1px rgba(255,255,255,.38)}
[data-wl][data-names] [data-wl-tag]{opacity:1}
[data-wl][data-names] [data-wl-tag][data-off]{opacity:.35}
@media (max-width:900px){
  [data-wl][data-wl-live] [data-wl-stage]::after{inset:auto 0 0 0;width:auto;height:62%;background:linear-gradient(0deg,rgba(1,17,31,.97) 0%,rgba(1,17,31,.92) 72%,rgba(1,17,31,0) 100%)}
  [data-wl][data-wl-live] [data-wl-panel]{justify-content:flex-end;padding-bottom:12px}
  [data-wl][data-wl-live] [data-wl-panel]>*{width:100%}
  [data-wl][data-wl-live] [data-wl-steps]{max-height:none}
  [data-wl][data-wl-live] [data-wl-dots]{position:static;margin:10px 0 0;order:2}
  [data-wl][data-wl-live][data-ends] [data-wl-panel]{justify-content:flex-end;padding-top:0}
  [data-wl][data-wl-live][data-ends] [data-wl-stage]::before{opacity:0}
  [data-wl][data-wl-live][data-ends] [data-wl-stage]::after{opacity:1}
  [data-wl-dots] button{width:28px;height:28px}
  [data-wl][data-wl-live] [data-wl-step] p{font-size:14.5px;line-height:1.52;margin-top:8px}
  [data-wl][data-wl-live] [data-wl-h3]{font-size:1.32rem}
  [data-wl][data-wl-live] [data-wl-h2]{font-size:1.6rem}
  [data-wl][data-wl-live] [data-wl-kicker]{margin-bottom:8px!important}
  [data-wl][data-wl-live] [data-wl-link]{font-size:14px;min-height:40px}
  [data-wl][data-wl-live] [data-wl-ilist] li{font-size:13.5px;line-height:1.45}
  [data-wl-tag]{display:none}
  [data-wl-itag]{width:60px;margin-left:-30px}
  [data-wl-itag] [data-wl-tagname]{display:none}
}
@media (prefers-reduced-motion:reduce){[data-wl-cam]>img,[data-wl-3f]{transition:none}}

/* the scene steps: arrows and a count under the words; on a phone the arrows
   sit on either side of the drawing (owner, 5 Oct 2026) */
[data-wl-ctl]{display:none}
[data-wl][data-wl-live] [data-wl-ctl]{display:flex;align-items:center;gap:12px;margin-top:22px}
[data-wl][data-wl-live] [data-wl-ctl] button{display:grid;place-items:center;width:48px;height:48px;padding:0;border-radius:50%;cursor:pointer;transition:background .2s ease,border-color .2s ease,opacity .2s ease}
[data-wl][data-wl-live] [data-wl-prev]{border:1px solid rgba(124,230,255,.55);background:rgba(2,27,51,.82);color:#ffffff}
[data-wl][data-wl-live] [data-wl-next]{border:1px solid #01d3fe;background:#01d3fe;color:#02223e;box-shadow:0 14px 30px -16px rgba(1,211,254,.9)}
[data-wl][data-wl-live] [data-wl-ctl] button:disabled{opacity:.32;cursor:default;box-shadow:none}
[data-wl][data-wl-live] [data-wl-ctl] button:focus-visible{outline:2px solid #01d3fe;outline-offset:3px}
[data-wl][data-wl-live] [data-wl-count]{margin-left:4px;font:600 13px var(--head);color:rgba(194,242,255,.75)}
[data-wl][data-wl-live] [data-wl-count] b{font-weight:600}
@media (max-width:900px){
  [data-wl][data-wl-live] [data-wl-ctl]{display:block;margin:0}
  [data-wl][data-wl-live] [data-wl-ctl] button{position:absolute;z-index:7;top:21%;margin-top:-23px;width:46px;height:46px}
  [data-wl][data-wl-live] [data-wl-prev]{left:10px}
  [data-wl][data-wl-live] [data-wl-next]{right:10px}
  [data-wl][data-wl-live] [data-wl-count]{position:absolute;z-index:7;top:12px;right:14px;margin:0;padding:5px 11px;border-radius:100px;background:rgba(2,27,51,.82);border:1px solid rgba(255,255,255,.22);color:#ffffff;font-size:12px}
}
/* at the two ends the words sit at the top and the whole line below, so the arrows go top right */
@media (min-width:901px){[data-wl][data-wl-live][data-ends] [data-wl-ctl]{position:absolute;top:clamp(28px,8vh,84px);right:clamp(20px,5vw,60px);width:auto;margin:0}}
