/* Dot Comets website styles.
   Colors and fonts are set once in :root below; every section's styles follow in page order,
   then the responsive breakpoints (1180px, 900px, 760px) and reduced motion at the end. */
/* Night-sky theme, one deliberate dark scheme with every color set explicitly. The one loud moment is the
   hero: customers drawn as a stream of light, lost ones peeling away as violet comets. Everything else is
   quiet: wide light type, open layouts, few surfaces, pill controls, no grid of boxes. */
:root {
  /* The ground is pure black. It was #0d0a14, a near-black with a violet cast; everything
     that sits on it — the surfaces, the hairlines, the comet field — was already defined
     against it rather than derived from it, so they lift further now instead of breaking.
     --night-2 used to sit here and was referenced nowhere, so it went with the change. */
  --night: #000000;
  --surface: #1a1526;
  --surface-2: #231c33;
  --stroke: rgba(237, 228, 255, 0.1);
  --stroke-2: rgba(237, 228, 255, 0.18);
  --stroke-3: rgba(237, 228, 255, 0.3);
  --text: #f8f5fc;
  /* one grey, not three: the old --muted/--dim pair sat too close to the ground and read soft */
  --muted: #c3bbd4;
  --dim: #9e95b1;
  --lavender: #ede4ff;
  --comet: #b57bee;
  --comet-2: #c99af5;
  --plum: #4b1f6f;
  --plum-2: #2a1440;
  --on-comet: #1b0b2e;
  --error: #ff7a6e;
  --f-sans: "Archivo", Arial, sans-serif;
  /* the brand display face. Kregan is used when it's installed or embedded; Archivo stands in until then */
  --f-display: "Kregan", "Archivo", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad-x: clamp(20px, 5.6vw, 80px);
  --nav-h: 72px;
  /* one radius scale. Pills read soft and dated; square-ish corners read like an instrument. */
  --r-sm: 4px;
  --r-ctl: 6px;
  --r-box: 10px;
  /* one tracking scale, by role, instead of eight ad-hoc values */
  --tr-display: -0.035em;
  --tr-head: -0.022em;
  --tr-body: 0;
  color-scheme: dark;
}
.fv-count,

.fx-time,

.ph-time,

[data-count] {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}
@font-face {
  font-family: "Kregan";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Kregan"), local("Kregan Regular"), local("Kregan-Regular");
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: inherit;
}
::selection {
  background: var(--comet);
  color: var(--on-comet);
}
:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
}
.wrap {
  max-width: calc(1240px + 2 * var(--pad-x));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-size: clamp(44px, 7.2vw, 108px);
  line-height: 1;
  font-weight: 300;
  font-stretch: 125%;
  letter-spacing: var(--tr-display);
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.9vw, 56px);
  line-height: 1.06;
  font-weight: 300;
  font-stretch: 125%;
  letter-spacing: var(--tr-head);
  text-wrap: balance;
}
.h3 {
  font-size: 21px;
  line-height: 28px;
  font-weight: 500;
  font-stretch: 108%;
  letter-spacing: -0.005em;
}
/* Kregan has one weight and its own spacing: loosen the tracking set for Archivo once it loads */
.kregan .display {
  letter-spacing: -0.015em;
}
.kregan .h2 {
  letter-spacing: -0.01em;
}
.kregan .phone,

.kregan .ph-time {
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  text-wrap: pretty;
}
.small {
  font-size: 14px;
  line-height: 21px;
}
.muted {
  color: var(--muted);
}
.dim {
  color: var(--dim);
}

/* ---------- controls ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--r-ctl);
  border: 1px solid transparent;
  font: 600 16px/1 var(--f-sans);
  font-stretch: 104%;
  letter-spacing: 0.005em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.btn-primary {
  background: var(--comet);
  color: var(--on-comet);
}
.btn-primary:hover {
  background: var(--comet-2);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--stroke-2);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--stroke-3);
}
.btn-light {
  background: var(--text);
  color: var(--night);
}
.btn-light:hover {
  background: #ffffff;
}
.btn-sm {
  height: 42px;
  padding: 0 20px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}
.link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--stroke-3);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  font: inherit;
}
.link:hover {
  text-decoration-color: var(--comet);
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--stroke-2);
  font-size: 13px;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
}
.pill-comet {
  border-color: rgba(181, 123, 238, 0.55);
  color: var(--comet-2);
  background: rgba(181, 123, 238, 0.08);
}
.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  /* the ground at 97%, so content scrolling under the bar is masked while the bar itself
     stays invisible against it — the hairline below is what separates the two, and it only
     appears once the page has scrolled */
  background: rgba(0, 0, 0, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--stroke);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: block;
  color: var(--text);
}
.logo svg {
  height: 30px;
  width: auto;
  fill: currentColor;
}
.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--text);
}
.menu-btn {
  display: none;
  margin-left: auto;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--stroke-2);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
}
.menu {
  border-top: 1px solid var(--stroke);
  padding: 8px var(--pad-x) 20px;
}
.menu a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  font-size: 20px;
  font-weight: 300;
  font-stretch: 120%;
}
.menu a.btn {
  display: flex;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  font-stretch: 104%;
  padding: 0 26px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero-copy {
  display: grid;
  gap: 28px;
  justify-items: start;
}
.hero .lead {
  max-width: 620px;
}
.cmd {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 700px;
  padding: 6px;
  border-radius: var(--r-box);
  background: var(--surface);
  border: 1px solid var(--stroke-2);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.cmd:focus-within {
  border-color: rgba(181, 123, 238, 0.7);
  box-shadow: 0 0 0 3px rgba(181, 123, 238, 0.22);
}
.cmd.err {
  border-color: var(--error);
}
.cmd .in {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  border-radius: var(--r-ctl);
  background: transparent;
  padding: 0 22px;
  font-size: 17px;
}
.cmd .in::placeholder {
  color: var(--dim);
}
.cmd .in:focus,
.cmd .sel:focus {
  outline: none;
}
/* The open list of a <select> is drawn by the browser, not by this stylesheet, and it takes
   its background from the control. The hero and closing bars set `background: transparent`
   so the select reads as part of one bar, which leaves the popup with nothing to paint and
   it falls back to white — while the options still inherit the page's near-white text, so
   the list arrives unreadable. Giving the options their own colours fixes the popup without
   touching how the closed control looks. */
select option {
  background-color: var(--surface);
  color: var(--text);
}
.cmd .sel {
  flex: none;
  height: 40px;
  border: 0;
  border-left: 1px solid var(--stroke-2);
  border-radius: 0;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23A89FBA' stroke-width='1.75'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  padding: 0 40px 0 18px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-size: 16px;
}
.cmd .sel:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 2px;
  border-radius: var(--r-ctl);
}
.cmd .btn {
  flex: none;
}
.cmd-err {
  color: var(--error);
  font-size: 15px;
  margin-top: -14px;
}

/* the comet flow */
.flowviz {
  position: relative;
  margin-top: clamp(28px, 4.5vw, 64px);
}
.flowviz svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.fv-name {
  fill: var(--muted);
  font: 500 13px var(--f-sans);
}
.fv-count {
  fill: var(--text);
  font: 400 15px var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.fv-leak {
  fill: var(--comet-2);
  font: 500 14px var(--f-sans);
}
.fv-sub {
  fill: var(--dim);
  font: 400 13px var(--f-sans);
}
.fv-tr,
.fv-fall,
.fv-pulse,
.fv-src {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* A comet is drawn as two strokes that meet: the flat trail, then the fall that peels off it.
   Both were round-capped, so at the junction each painted a translucent semicircle over the
   other and the doubled alpha showed as a bright bead on every line. Butting the two ends
   makes them abut instead of overlap. Neither free end is visible — the trail starts under
   the origin circle and the fall finishes under its comet head — so nothing else changes. */
.fv-tr,
.fv-fall {
  stroke-linecap: butt;
}
.fv-tr {
  stroke: rgba(237, 228, 255, 0.58);
  stroke-width: 1.5;
}
.fv-tr.last {
  stroke: var(--lavender);
}
.fv-fall {
  stroke: url(#fv-leak);
  stroke-width: 1.5;
}
/* the leak stroke, lavender where it leaves the flow through to the violet of its comet head */
#fv-leak .g0 {
  stop-color: var(--lavender);
  stop-opacity: 0.58;
}
#fv-leak .g1 {
  stop-color: var(--comet);
}
#fv-leak .g2 {
  stop-color: var(--comet-2);
}
.fv-head {
  fill: var(--comet-2);
  transform-box: fill-box;
  transform-origin: center;
}
.fv-src {
  stroke: var(--lavender);
  stroke-width: 1.5;
}
.fv-pulse {
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-dasharray: 0.04 1.2;
  stroke-dashoffset: 0.04;
  opacity: 0;
}
.motion .flowviz .fv-tr,
.motion .flowviz .fv-fall {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.motion .flowviz .fv-head,
.motion .flowviz .fv-lab {
  opacity: 0;
}
.motion .flowviz.play .fv-tr {
  animation: fv-draw var(--dur, 2s) linear var(--del, 0s) both;
}
.motion .flowviz.play .fv-fall {
  animation: fv-draw 0.8s cubic-bezier(0.5, 0, 0.9, 0.55) var(--del, 0s) both;
}
.motion .flowviz.play .fv-head {
  animation: fv-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) var(--del, 0s) both;
}
.motion .flowviz.play .fv-lab {
  animation: fv-fade 0.5s ease var(--del, 0s) both;
}
.motion .flowviz.done .fv-pulse {
  animation: fv-pulse 6.6s cubic-bezier(0.45, 0, 0.55, 1) var(--del, 0s) infinite;
}
@keyframes fv-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fv-pop {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  70% {
    opacity: 1;
    transform: scale(1.18);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes fv-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fv-pulse {
  0% {
    stroke-dashoffset: 0.04;
    opacity: 0;
  }
  6% {
    opacity: 0.9;
  }
  62% {
    opacity: 0.9;
  }
  70%,
  100% {
    stroke-dashoffset: -1;
    opacity: 0;
  }
}
.fv-cap-wrap {
  padding-top: 10px;
  padding-bottom: clamp(16px, 2.4vw, 32px);
}
.fv-cap {
  font-size: 14px;
  line-height: 21px;
  color: var(--dim);
  max-width: 760px;
  text-wrap: pretty;
}
/* after hours: the moon over the hero */
.moon {
  position: absolute;
  top: clamp(20px, 3.4vw, 56px);
  right: max(var(--pad-x), calc((100% - 1240px) / 2));
  width: clamp(84px, 8vw, 118px);
  height: auto;
  pointer-events: none;
}
.moon path {
  fill: none;
  stroke: rgba(237, 228, 255, 0.7);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.moon circle {
  fill: rgba(237, 228, 255, 0.6);
}

/* ---------- sections ---------- */
/* One rhythm for every section read the same from screen eight onward, and the page ran long
   for a free offer. The base is tighter now, and two modifiers vary the pace: --air where an
   illustration needs room to land, --tight where a section is dense text the reader is
   scanning rather than dwelling on. */
.sec {
  padding-block: clamp(62px, 6.8vw, 100px);
}
.sec.sec--air {
  padding-block: clamp(70px, 7.8vw, 112px);
}
.sec.sec--tight {
  padding-block: clamp(48px, 5vw, 76px);
}
.sec-head {
  display: grid;
  gap: 18px;
  max-width: 800px;
  margin-bottom: clamp(34px, 4.2vw, 58px);
}
/* The page used to alternate two near-blacks, which striped it from top to bottom.
   One ground now, with structure carried by hairlines and space. The closing band
   keeps its plum because it is the one colour change that earns its place. */
/* The rule is a drawn line rather than a border, so it can rule itself in on arrival. */
.sec {
  position: relative;
}
.sec::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--stroke);
  transform-origin: 0 50%;
}
.sec.rule-wait::before {
  transform: scaleX(0);
}
.sec.rule-in::before {
  transform: scaleX(1);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* The comet field: the brand's own name, drawn flat behind the hero.
   z-index -1 keeps it under the hero's content and inside the hero's own stacking context. */
.comet-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.after {
  margin-top: 56px;
}

/* tracks: the check week and the four steps */
.track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
  gap: 40px;
  position: relative;
}
.track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(237, 228, 255, 0),
    rgba(237, 228, 255, 0.34) 5%,
    rgba(237, 228, 255, 0.34) 95%,
    rgba(237, 228, 255, 0)
  );
}
.stop {
  position: relative;
  padding-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.glint {
  position: absolute;
  top: 4.5px;
  left: -38px;
  width: 52px;
  height: 14px;
  color: var(--lavender);
  transform-origin: 46px 7px;
}
.glint svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
  overflow: visible;
}
.glint .gt1 {
  opacity: 0.45;
}
.glint .gt2 {
  opacity: 0.16;
}
.stop p {
  color: var(--muted);
}
.stop .src {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  line-height: 19px;
  color: var(--dim);
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.step-top .h3 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  font-stretch: 120%;
}
.facts {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  line-height: 21px;
}
.facts div {
  display: flex;
  gap: 8px;
}
.facts dt {
  color: var(--dim);
}
.facts dd {
  color: var(--text);
}
.price-note {
  color: var(--dim);
  font-size: 15px;
}

/* leak library */
/* Four across on a wide screen instead of three, which takes the twelve from four rows to
   three without hiding any of them. auto-fit rather than a fixed count so it falls back to
   three on its own as the screen narrows, before the breakpoints below take over. */
.leaks {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 44px 40px;
}
.leak {
  display: grid;
  gap: 10px;
  align-content: start;
}
.leak-name {
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  font-stretch: 108%;
}
.leak-name::before {
  content: "";
  display: block;
  width: 34px;
  height: 10px;
  margin-bottom: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10'%3E%3Cpath d='M29 1L0 5L29 9Z' fill='%23B57BEE' fill-opacity='.18'/%3E%3Cpath d='M29 1L15 5L29 9Z' fill='%23B57BEE' fill-opacity='.45'/%3E%3Ccircle cx='29' cy='5' r='4' fill='%23C99AF5'/%3E%3C/svg%3E")
    no-repeat left center/34px 10px;
}
.leak-ex {
  color: var(--muted);
}
.leak-ex.swap {
  animation: swap 0.35s ease;
}
@keyframes swap {
  from {
    opacity: 0.15;
  }
  to {
    opacity: 1;
  }
}
.leak-where {
  font-size: 14px;
  line-height: 21px;
  color: var(--dim);
}
/* All twelve used to sit open on desktop, three rows of them, for 1037px of page. Eight is
   two clean rows and still makes the point that the list is long; the rest are one tap away
   and nothing is lost. The narrow breakpoint shows fewer again. */
.leaks.collapsed .leak:nth-child(n + 9) {
  display: none;
}
.lib-more {
  display: flex;
  margin-top: 40px;
}

/* case studies — three figures read as a tally. No boxes: the number carries it, with
   hairlines between on narrow screens where they stack. Violet on the figure only. */
.cases {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px 40px;
}
.case {
  min-width: 0;
}
.case-figure {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(54px, 7vw, 86px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: var(--tr-display);
  color: var(--comet-2);
  font-variant-numeric: tabular-nums;
}
.case-of {
  margin: 14px 0 0;
  max-width: 30ch;
}
.case-who {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 14px;
}
.case-note {
  margin: 6px 0 0;
  color: var(--dim);
  font-size: 13px;
}

/* the calendar embedded in step 3 of the sign-up sheet */
.book-inline {
  margin-top: 26px;
  border-top: 1px solid var(--stroke);
  padding-top: 22px;
}
.book-inline-h {
  margin: 0 0 12px;
  color: var(--text);
}
/* Calendly's iframe fills whatever it is given, so the height is set here, and the sheet
   already scrolls so a tall embed is reachable rather than clipped. 820px is measured, not
   guessed: their event panel takes about 330px before the dates begin, and below this the
   month grid lands under the fold of the iframe and has to be scrolled inside it. */
.book-mount {
  height: 820px;
  border-radius: var(--r-box);
  overflow: hidden;
}
.book-mount iframe {
  display: block;
  border: 0;
}
.book-fallback {
  margin: 0;
  color: var(--dim);
  font-size: 14px;
}

/* Calendly's popup backdrop. The only third-party class name in this file, and it needs
   !important because their stylesheet is injected into the head at click time, after this
   one. Their default is rgba(31,31,31,0.4), which over a black page leaves the page showing
   through as grey; this sinks it properly. The white inside the popup is Calendly's own
   page within their iframe — cross-origin, so no CSS here can reach it. */
.calendly-overlay {
  background: rgba(0, 0, 0, 0.82) !important;
}

/* demo line */
.phone {
  font-family: var(--f-display);
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1;
  font-weight: 200;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.demo-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* principles */
.prins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.prins div {
  display: grid;
  gap: 10px;
  align-content: start;
}
.prins dt {
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  font-stretch: 108%;
}
.prins dd {
  color: var(--muted);
}

/* fit */
.fit-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
  /* 72px when this had the two fit lists under it; now it sits straight above the button,
     so it matches the 56px that check and how leave before theirs. */
  margin-bottom: 56px;
}
.fit-top .sec-head {
  margin: 0;
}

/* faq */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
}
.faq .sec-head {
  margin: 0;
}
.qa {
  border-bottom: 1px solid var(--stroke);
}
.qa summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 19px;
  line-height: 26px;
  font-weight: 500;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.tog {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--stroke-2);
  display: grid;
  place-items: center;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.tog .ico {
  width: 16px;
  height: 16px;
}
.tog .minus {
  display: none;
}
.qa[open] .tog {
  background: var(--comet);
  border-color: var(--comet);
  color: var(--on-comet);
}
.qa[open] .tog .plus {
  display: none;
}
.qa[open] .tog .minus {
  display: block;
}
.qa .ans {
  padding: 0 56px 24px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 27px;
}

/* ---------- the trust bar: client logos close the hero ---------- */
/* This sits where the night street used to, so the hero now ends on evidence rather than
   scenery. The logos are divided by hairlines — the same device the sections use — instead
   of floating in a row of their own. Heights still come from each logo's own --r ratio, so
   marks of different proportions read as the same visual weight. */
.hero-trust {
  position: relative;
  margin-top: clamp(36px, 4.6vw, 68px);
  padding-block: clamp(22px, 2.6vw, 34px) clamp(34px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  align-items: center;
  gap: 22px clamp(32px, 5vw, 80px);
}
.hero-trust::before {
  content: "";
  position: absolute;
  inset: 0 var(--pad-x) auto;
  height: 1px;
  background: var(--stroke);
}
.hero-trust-lab {
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  max-width: 26ch;
}
.hero-trust-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  --lh: 46px;
}
.hero-trust-logos li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-inline: clamp(12px, 2.2vw, 32px);
  border-left: 1px solid var(--stroke-2);
}
.hero-trust-logos li:first-child {
  border-left: 0;
  justify-content: flex-start;
  padding-left: 0;
}
.hero-trust-logos img {
  height: calc(var(--lh) * var(--r, 1));
  width: auto;
  max-width: 100%;
  opacity: 0.8;
}

/* ---------- a button where the visitor has just decided ---------- */
.sec-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 56px;
}
.sec-cta p {
  font-size: 15px;
  line-height: 22px;
  color: var(--dim);
  max-width: 480px;
}
.sec-cta .price-note {
  margin: 0;
}

/* final call to action */
.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(110px, 12vw, 190px);
  background: var(--plum-2);
}
.final-stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.final-comet {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: clamp(560px, 62vw, 1000px);
  height: auto;
  aspect-ratio: 1440/640;
}
.final-in {
  display: grid;
  gap: 28px;
  justify-items: start;
}
.final-in .display {
  font-size: clamp(40px, 5.4vw, 80px);
  max-width: 900px;
}

/* footer */
.foot {
  padding-block: 72px 40px;
  border-top: 1px solid var(--stroke);
}
.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.foot-brand {
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 380px;
}
.foot-col {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 15px;
  color: var(--muted);
}
.foot-col a {
  text-decoration: none;
}
.foot-col a:hover {
  color: var(--text);
}
.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  font-size: 13px;
  color: var(--dim);
}
.legal span:last-child {
  display: flex;
  gap: 20px;
}
.legal a {
  text-decoration: none;
}

/* ---------- sign-up sheet + report viewer ---------- */
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  color: var(--text);
}
dialog::backdrop {
  background: rgba(6, 4, 10, 0.82);
}
.flow {
  width: min(600px, calc(100% - 32px));
  margin: auto;
}
.sheet-card {
  display: grid;
  gap: 26px;
  padding: 32px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--stroke-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.95);
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
.flow-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.progress {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.progress i {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--stroke-2);
}
.progress i.on {
  background: var(--comet);
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--stroke-2);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--surface-2);
}
.flow-body {
  display: grid;
  gap: 24px;
}
.flow-sub {
  margin-top: 10px;
  font-size: 15px;
  line-height: 22px;
  text-wrap: pretty;
}
.control.sel-c {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 46px;
  background: var(--night)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23A89FBA' stroke-width='1.75'/%3E%3C/svg%3E")
    no-repeat right 16px center;
}
.flow-h {
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 32px;
  font-weight: 400;
  font-stretch: 118%;
  letter-spacing: -0.01em;
}
.summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.flow-form {
  display: grid;
  gap: 20px;
}
.row2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.field label {
  font-size: 15px;
  font-weight: 500;
}
.field .opt {
  color: var(--dim);
  font-weight: 400;
  margin-left: 6px;
}
.control {
  height: 54px;
  width: 100%;
  min-width: 0;
  border-radius: var(--r-box);
  border: 1px solid var(--stroke-2);
  background: var(--night);
  padding: 0 16px;
  font-size: 17px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.control::placeholder {
  color: var(--dim);
}
.control:focus {
  outline: none;
  border-color: var(--comet);
  box-shadow: 0 0 0 4px rgba(181, 123, 238, 0.16);
}
.help {
  font-size: 14px;
  line-height: 20px;
  color: var(--dim);
}
.field.err .control {
  border-color: var(--error);
}
.field.err .help {
  color: var(--error);
}
.check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 7px;
  border: 1.5px solid var(--stroke-3);
  background: var(--night);
  cursor: pointer;
}
.check input:checked {
  border-color: var(--comet);
  background: var(--comet)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231B0B2E' stroke-width='2.4'/%3E%3C/svg%3E")
    no-repeat center;
}
.notice {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(75, 31, 111, 0.28);
  border: 1px solid rgba(181, 123, 238, 0.22);
  font-size: 14px;
  line-height: 21px;
  color: var(--muted);
}
.notice b {
  color: var(--text);
  font-weight: 600;
}
.done-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--comet);
  color: var(--on-comet);
}
.done-mark .ico {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}
.done-copy {
  display: grid;
  gap: 12px;
}
.done-copy b {
  color: var(--text);
  font-weight: 600;
}
.mini-track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  display: grid;
  gap: 18px;
  position: relative;
}
.mini-track::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(237, 228, 255, 0.4), rgba(237, 228, 255, 0.08));
}
.mini-track li {
  position: relative;
  display: grid;
  gap: 2px;
}
.mini-track li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: var(--comet);
}
.mini-track b {
  font-weight: 600;
}
.mini-track span {
  color: var(--muted);
}
.flow-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- terms and privacy ---------- */
/* A dialog rather than separate pages: the site is one document, and the reader should be able
   to check a clause without losing their place in it. */
.legal-dialog[open] {
  display: flex;
  flex-direction: column;
}
.legal-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(84vh, 900px);
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-box);
  overflow: hidden;
}
.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--stroke);
}
.legal-head .x {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-ctl);
  cursor: pointer;
}
.legal-head .x:hover {
  border-color: var(--stroke-3);
}
.legal-body {
  overflow-y: auto;
  padding: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  overscroll-behavior: contain;
}
.legal-doc section + section {
  margin-top: 22px;
}
.lg-sh {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.legal-doc p + p {
  margin-top: 10px;
}
.legal-doc ul {
  margin: 10px 0 0;
  padding-left: 20px;
}
.legal-doc li {
  margin-top: 6px;
}
.legal-doc strong {
  color: var(--text);
  font-weight: 500;
}
/* the footer's Terms and Privacy are buttons now: they open the dialog, not a page */
.flink {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

/* ---------- illustrations: one stroke weight, round ends, lavender lines, violet accents that glow ---------- */
.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.il {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.il .ln,
.il .sf,
.il .ac {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.il .ln {
  stroke: rgba(237, 228, 255, 0.78);
  stroke-width: 1.5;
}
.il .sf {
  stroke: rgba(237, 228, 255, 0.24);
  stroke-width: 1.4;
}
.il .ac {
  stroke: var(--comet-2);
  stroke-width: 1.7;
}
.il .scr {
  fill: rgba(237, 228, 255, 0.035);
}
.il .st {
  fill: var(--lavender);
}
.il .tail1 {
  fill: var(--comet-2);
  fill-opacity: 0.45;
}
.il .tail2 {
  fill: var(--comet-2);
  fill-opacity: 0.18;
}
.il .fa {
  fill: var(--comet-2);
}
.il .chip {
  fill: rgba(181, 123, 238, 0.13);
  stroke: rgba(201, 154, 245, 0.6);
  stroke-width: 1.2;
}
.il .chip.note {
  fill: rgba(237, 228, 255, 0.05);
  stroke: rgba(237, 228, 255, 0.24);
}
.il .t {
  fill: var(--muted);
  font: 500 12px var(--f-sans);
}
.il .t.sm {
  font-size: 10.5px;
}
.il .t-hi {
  fill: var(--text);
}
.il .t-ac {
  fill: var(--comet-2);
}
.il .t-big {
  fill: var(--text);
  font: 300 16px var(--f-sans);
  letter-spacing: -0.01em;
}
.il .send {
  fill: rgba(181, 123, 238, 0);
  stroke: var(--comet-2);
  stroke-width: 1.4;
}
.il .send-t {
  fill: var(--comet-2);
  font-size: 11px;
}
.il .ripple,
.il .fly {
  opacity: 0;
}
.il .pop,
.il .tw,
.il .ring,
.il .buzz,
.il .fly,
.il .press,
.il .ripple,
.il .rise {
  transform-box: fill-box;
  transform-origin: center;
}
.scene {
  width: 100%;
  max-width: 280px;
  margin: -6px 0 6px;
}

/* scenes play once their stop is on screen; on wide screens they play in order with the comet */
.motion .il .pop,
.motion .il .ring,
.motion .il .rise {
  opacity: 0;
}
.motion .il .dr {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.motion .stop.play .il .pop {
  animation: il-pop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.25) calc(var(--d0, 0s) + var(--d, 0s)) both;
}
.motion .stop.play .il .tw {
  animation: il-tw 1.4s ease-in-out calc(var(--d0, 0s) + var(--d, 0s)) both;
}
.motion .stop.play .il .ring {
  animation: il-ring 1s ease-out calc(var(--d0, 0s) + var(--d, 0s)) 3 both;
}
.motion .stop.play .il .buzz {
  animation: il-buzz 0.1s linear calc(var(--d0, 0s) + 0.1s) 22 alternate both;
}
.motion .stop.play .il .dr {
  animation: il-draw var(--dur, 0.45s) ease-out calc(var(--d0, 0s) + var(--d, 0s)) both;
}
.motion .stop.play .il .press {
  animation: il-press 0.45s ease calc(var(--d0, 0s) + var(--d, 0s)) both;
}
.motion .stop.play .il .press .send {
  animation: il-send 0.3s ease calc(var(--d0, 0s) + var(--d, 0s) + 0.12s) both;
}
.motion .stop.play .il .press .send-t {
  animation: il-send-t 0.3s ease calc(var(--d0, 0s) + var(--d, 0s) + 0.12s) both;
}
.motion .stop.play .il .fly {
  animation: il-fly 0.75s cubic-bezier(0.3, 0.6, 0.4, 1) calc(var(--d0, 0s) + var(--d, 0s)) both;
}
.motion .stop.play .il .hand {
  animation: il-spin 1.25s cubic-bezier(0.45, 0, 0.3, 1) calc(var(--d0, 0s) + var(--d, 0s)) both;
}
.motion .stop.play .il .ripple {
  animation: il-ripple 0.8s ease-out calc(var(--d0, 0s) + var(--d, 0s)) both;
}
.motion .stop.play .il .rise {
  animation: il-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--d0, 0s) + var(--d, 0s)) both;
}
.motion .stop.play .il .hrs {
  animation: il-flash 0.7s ease calc(var(--d0, 0s) + 1.65s) both;
}
@keyframes il-pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  60% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes il-tw {
  0% {
    opacity: 0.15;
    transform: scale(0.4);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes il-ring {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}
@keyframes il-buzz {
  from {
    transform: rotate(-2.5deg);
  }
  to {
    transform: rotate(2.5deg);
  }
}
@keyframes il-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes il-press {
  0%,
  100% {
    transform: none;
  }
  45% {
    transform: scale(0.88);
  }
}
@keyframes il-send {
  to {
    fill: #b57bee;
  }
}
@keyframes il-send-t {
  to {
    fill: #1b0b2e;
  }
}
@keyframes il-fly {
  0% {
    opacity: 0;
    transform: none;
  }
  15% {
    opacity: 1;
  }
  55% {
    opacity: 1;
    transform: translate(26px, -34px) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translate(50px, -39px) scale(0.45);
  }
}
@keyframes il-spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(720deg);
  }
}
@keyframes il-ripple {
  0% {
    opacity: 0.95;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(2.3);
  }
}
@keyframes il-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes il-flash {
  0%,
  100% {
    stroke: rgba(237, 228, 255, 0.24);
  }
  35%,
  75% {
    stroke: #c99af5;
  }
}

/* tracks: a comet runs the line on wide screens and lights each stop */
.track {
  --step-d: 0.6s;
  --trk: trk5;
}
#steps {
  --step-d: 0.8s;
  --trk: trk4;
}
.track::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 4.5px;
  left: -85px;
  width: 100px;
  height: 14px;
  opacity: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14'%3E%3Cpath d='M93 1L0 7L93 13Z' fill='%23EDE4FF' fill-opacity='.14'/%3E%3Cpath d='M93 1L58 7L93 13Z' fill='%23EDE4FF' fill-opacity='.4'/%3E%3Ccircle cx='93' cy='7' r='6' fill='%23EDE4FF'/%3E%3C/svg%3E")
    no-repeat center/100% 100%;
}
.motion .track .glint {
  opacity: 0.32;
  transform: scale(0.7);
}
.motion .stop.play .glint {
  animation: glint-on 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.3) var(--d0, 0s) both;
}
@keyframes glint-on {
  0% {
    opacity: 0.32;
    transform: scale(0.7);
  }
  55% {
    opacity: 1;
    transform: scale(1.35);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes trk5 {
  0% {
    left: -85px;
    opacity: 0;
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  5% {
    opacity: 1;
  }
  25% {
    left: calc((100% - 160px) / 5 + 40px - 85px);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  50% {
    left: calc((100% - 160px) / 5 * 2 + 80px - 85px);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  75% {
    left: calc((100% - 160px) / 5 * 3 + 120px - 85px);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  92% {
    opacity: 1;
  }
  100% {
    left: calc((100% - 160px) / 5 * 4 + 160px - 85px);
    opacity: 0;
  }
}
@keyframes trk4 {
  0% {
    left: -85px;
    opacity: 0;
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  5% {
    opacity: 1;
  }
  33.333% {
    left: calc((100% - 120px) / 4 + 40px - 85px);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  66.667% {
    left: calc((100% - 120px) / 2 + 80px - 85px);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  92% {
    opacity: 1;
  }
  100% {
    left: calc((100% - 120px) / 4 * 3 + 120px - 85px);
    opacity: 0;
  }
}
@media (min-width: 1181px) {
  .track .stop {
    --d0: calc(var(--i, 0) * var(--step-d));
  }
  .motion .track.play::after {
    animation: var(--trk) calc(var(--step-d) * (var(--n, 5) - 1)) linear both;
  }
}
@media (min-width: 1181px) and (max-width: 1320px) {
  /* the only band where the five tests wrap to a second row, so the row gap costs height here */
  .track.has-scenes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }
  .track.has-scenes::before,
  .track.has-scenes::after {
    display: none;
  }
}

/* ---------- the first fix, animated ---------- */

/* ---------- the first fix, told on the owner's phone overnight ---------- */
.fx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  grid-template-areas: "head panel" "list panel";
  grid-template-rows: auto 1fr;
  column-gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.fx-head {
  grid-area: head;
  display: grid;
  gap: 20px;
}
.fx-list {
  grid-area: list;
}
.fx-steps {
  list-style: none;
  margin: 40px 0 24px;
  padding: 0 0 0 2px;
  display: grid;
  gap: 2px;
  position: relative;
}
.fx-steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--stroke-2);
}
.fx-steps button {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  width: 100%;
  padding: 12px 0 12px 22px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: color 0.25s ease;
}
.fx-steps button::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: var(--comet);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.fx-steps button:hover,
.fx-steps button[aria-current="step"] {
  color: var(--text);
}
.fx-steps button[aria-current="step"]::before {
  opacity: 1;
}
.fx-time {
  font-size: 15px;
  color: var(--dim);
  transition: color 0.25s ease;
}
.fx-steps button[aria-current="step"] .fx-time {
  color: var(--comet-2);
}
.fx-name {
  font-size: 18px;
  line-height: 26px;
}
.fx-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.fx-note {
  flex: 1;
  min-width: 220px;
  font-size: 14px;
  line-height: 21px;
  color: var(--dim);
}
.fx-src {
  margin-top: 18px;
  font-size: 13px;
  line-height: 19px;
  color: var(--dim);
  max-width: 520px;
}
.fx-replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px 0 12px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--stroke-2);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}
.fx-replay:hover {
  color: var(--text);
  border-color: var(--stroke-3);
}
.fx-replay .ico {
  width: 16px;
  height: 16px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Kept at 320px. The section is a two-column grid, "head panel" over "list panel", so its
   height is set by the head and list stacked in the left column (654px), not by the phone
   (640px). Shrinking the phone costs legibility and saves nothing. */
.fx-phone {
  grid-area: panel;
  align-self: center;
  justify-self: center;
  margin: 0;
  width: min(320px, 100%);
}
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 320/640;
  padding: 0 12px 14px;
  border-radius: 48px;
  border: 1.5px solid rgba(237, 228, 255, 0.42);
  background: #0a0810;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 86px;
  height: 24px;
  margin-left: -43px;
  border-radius: 999px;
  background: #000;
  border: 1px solid rgba(237, 228, 255, 0.12);
}
.ph-top {
  text-align: center;
  padding: 58px 0 20px;
}
.ph-day {
  font-size: 14px;
  color: var(--muted);
}
.ph-time {
  font-family: var(--f-display);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
  font-size: 66px;
  line-height: 1;
  font-weight: 200;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  color: var(--lavender);
}
.ph-ap {
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--muted);
}
.ph-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.nt {
  display: none;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 18px;
  background: #1c1629;
  font-size: 12.5px;
  line-height: 17px;
}
.nt.on {
  display: grid;
}
.nt.sum {
  background: #3a1858;
}
.nt-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(181, 123, 238, 0.16);
  color: var(--comet-2);
}
.nt.sum .nt-ic {
  background: var(--comet);
  color: var(--on-comet);
}
.nt-ic svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nt-h {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  line-height: 16px;
  color: var(--muted);
  margin-bottom: 2px;
}
.nt-h b {
  font-weight: 600;
  color: var(--text);
}
.motion .nt.new {
  animation: nt-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) both;
}
@keyframes nt-in {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.motion .ph-top.tick .ph-time {
  animation: ph-tick 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes ph-tick {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- the demo line ---------- */
.demo-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy num" "act num";
  align-items: center;
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 22px;
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(26px, 3vw, 40px) clamp(24px, 3.6vw, 48px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--stroke);
}
.dl-copy {
  grid-area: copy;
  display: grid;
  gap: 8px;
  max-width: 540px;
}
.demo-line .phone {
  grid-area: num;
  font-size: clamp(32px, 3.8vw, 56px);
}
.demo-line .demo-actions {
  grid-area: act;
}

/* ---------- kitchen table at 11:20 pm ---------- */
/* Down from 560px. It sits beside the section head in a two-column row, so the row is as tall
   as whichever is taller: at 460px the scene lands just under the head's 316px and the row
   costs nothing extra. Smaller than this shrinks the drawing without shortening the page. */
.kitchen-fig {
  margin: 0;
  max-width: 460px;
}
.k-cap {
  margin-top: 12px;
  font-size: 14px;
  line-height: 21px;
  color: var(--dim);
}
.kitchen .k-moon {
  fill: rgba(237, 228, 255, 0.85);
}
.kitchen .k-star {
  fill: rgba(237, 228, 255, 0.6);
}
.kitchen .k-cone {
  fill: rgba(237, 228, 255, 0.05);
}
.kitchen .k-shade {
  fill: var(--lavender);
}
.kitchen .k-table {
  fill: #1f1733;
  stroke: rgba(237, 228, 255, 0.5);
  stroke-width: 1.2;
}
.kitchen .k-paper {
  fill: #15101f;
}
.kitchen .k-lap {
  fill: #120d1c;
}
.kitchen .k-amt {
  font: 500 13px var(--f-sans);
}
.kitchen .k-phone,
.kitchen .k-steam {
  transform-box: fill-box;
  transform-origin: center;
}
.motion .kitchen .k-cone {
  opacity: 0;
}
.motion .kitchen .k-shade {
  fill: #2a2238;
}
.motion .kitchen .k-steam {
  opacity: 0;
}
.motion .kitchen-fig.play .k-cone {
  animation: k-on 0.7s linear 0.2s both;
}
.motion .kitchen-fig.play .k-shade {
  animation: k-shade 0.7s linear 0.2s both;
}
@keyframes k-on {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  42% {
    opacity: 0.2;
  }
  58%,
  100% {
    opacity: 1;
  }
}
@keyframes k-shade {
  0% {
    fill: #2a2238;
  }
  30% {
    fill: #ede4ff;
  }
  42% {
    fill: #4a3e5c;
  }
  58%,
  100% {
    fill: #ede4ff;
  }
}
.motion .kitchen-fig.play .il .dr {
  animation: il-draw 0.45s ease-out var(--d, 0s) both;
}
.motion .kitchen-fig.play .il .ring {
  animation: il-ring 1s ease-out var(--d, 0s) 3 both;
}
.motion .kitchen-fig.play .k-phone {
  animation: il-buzz 0.1s linear 1.7s 30 alternate both;
}
.motion .kitchen-fig.play .k-steam {
  animation: k-steam 2.8s ease-in-out var(--d, 0s) 3 both;
}
@keyframes k-steam {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* ---------- final comet flies in ---------- */
.motion .final .final-comet {
  opacity: 0;
}
.motion .final.play .final-comet {
  animation: fc-in 1.9s cubic-bezier(0.16, 0.8, 0.24, 1) 0.1s both;
}
@keyframes fc-in {
  from {
    opacity: 0;
    transform: translate(10%, -12%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* A failed send must never swallow the lead: the message carries a mailto with
   everything the visitor typed, so recovering costs one tap instead of the whole form. */
.send-err {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 110, 0.45);
  border-radius: var(--r-ctl);
  font-size: 14.5px;
  line-height: 21px;
  color: var(--error);
}
.send-err a {
  color: inherit;
  font-weight: 500;
}

/* ---------- contact: reaching a person, once everything else has been said ---------- */
.contact-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: 40px clamp(48px, 7vw, 104px);
  align-items: start;
}
.contact-alt {
  margin-top: 22px;
  font-size: 15px;
  line-height: 24px;
  color: var(--dim);
}
.contact-alt a {
  color: var(--comet-2);
  text-underline-offset: 3px;
}
.contact-form {
  display: grid;
  gap: 18px;
}
/* .control is sized for single-line inputs; a message needs to grow instead */
textarea.control {
  height: auto;
  min-height: 116px;
  padding: 14px 16px;
  line-height: 1.55;
  font-family: inherit;
  resize: vertical;
}
.contact-done {
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-box);
  padding: 20px 22px;
  font-size: 16px;
  line-height: 25px;
  color: var(--muted);
}
.contact-done b {
  color: var(--text);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

/* sticky phone bar */
.sticky {
  display: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 56px;
  }
  .track::before {
    display: none;
  }
  .leaks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .prins {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fit-top,

  .faq,

  .contact-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .fx {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "panel" "list";
    row-gap: 36px;
  }
  .fx-phone {
    justify-self: start;
  }
  .fx-steps {
    margin-top: 0;
  }
  .moon {
    display: none;
  }
  .fit-top .kitchen-fig {
    max-width: 560px;
  }
  .foot-in {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    align-items: center;
  }
  .nav-cta {
    margin-left: auto;
  }
  .nav-cta + .menu-btn {
    margin-left: 0;
  }
}
@media (max-width: 760px) {
  :root {
    --nav-h: 60px;
  }
  body {
    font-size: 16px;
  }
  /* No header button on a phone. The fixed bar at the bottom of the screen already carries
     "Free Leak Check" the whole way down the page, and violet marks one primary action per
     view — a second one up here competes with it and squeezes the logo to fit. */
  .nav-cta {
    display: none;
  }
  .menu-btn {
    margin-left: auto;
  }
  .logo svg {
    height: 26px;
  }
  .hero {
    padding-top: 32px;
  }
  .hero-copy {
    gap: 22px;
  }
  .cmd {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px;
    border-radius: 24px;
  }
  .cmd .in {
    flex: none;
    width: 100%;
    height: 54px;
    background: var(--night);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 0 16px;
  }
  .cmd .sel {
    height: 54px;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    background-color: var(--night);
    background-position: right 16px center;
    padding-left: 16px;
  }
  .cmd .btn {
    width: 100%;
    height: 54px;
    border-radius: 16px;
  }
  .cmd-err {
    margin-top: -8px;
  }
  .track {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
    padding-left: 44px;
  }
  .track::before {
    display: block;
    left: 11px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(237, 228, 255, 0.34),
      rgba(237, 228, 255, 0.34) 90%,
      rgba(237, 228, 255, 0)
    );
  }
  .stop {
    padding-top: 0;
  }
  .glint {
    left: -78.5px;
    top: 3px;
    rotate: 90deg;
  }
  .stop .src {
    margin-top: 0;
  }
  .leaks {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    margin-top: 40px;
  }
  .leaks.collapsed .leak:nth-child(n + 5) {
    display: none;
  }
  .lib-more {
    width: 100%;
  }
  .prins {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }
  .sec-cta {
    margin-top: 40px;
  }
  .sec-cta .btn {
    width: 100%;
  }
  .scene {
    max-width: 260px;
  }
  .fx-phone {
    justify-self: center;
    width: min(300px, 100%);
  }
  .ph-time {
    font-size: 58px;
  }
  .fx-steps button {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0 11px 18px;
  }
  .fx-name {
    font-size: 16px;
    line-height: 23px;
  }
  .fx-time {
    font-size: 14px;
  }
  .demo-line {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "num" "act";
    row-gap: 20px;
  }
  .qa .ans {
    padding-right: 0;
  }
  .foot-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legal {
    flex-direction: column;
  }
  .foot {
    padding-bottom: 120px;
  }
  .row2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .flow {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
  }
  .sheet-card {
    border-radius: 26px 26px 0 0;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    max-height: 92dvh;
    border-bottom: 0;
  }
  /* The bar floats over the page, so the document needs room underneath it:
     without this the hero's industry tabs sat behind the bar and could not be tapped. */
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
  /* the trust bar stacks: label over a two-by-two of marks, dividers dropped for space */
  .hero-trust {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-trust-logos {
    flex-wrap: wrap;
    row-gap: 26px;
    --lh: 40px;
  }
  .hero-trust-logos li {
    flex: 0 0 50%;
    justify-content: flex-start;
    padding-inline: 0;
    border-left: 0;
  }
  .sticky {
    display: flex;
    gap: 6px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 35;
    padding: 6px;
    border-radius: var(--r-box);
    background: var(--surface);
    border: 1px solid var(--stroke-2);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0s;
  }
  .sticky .btn {
    height: 48px;
  }
  .sticky .btn-primary {
    flex: 1;
  }
  .sticky.is-hidden {
    transform: translateY(140%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0s 0.3s;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
