/* Components. */

/* Buttons --------------------------------------------------------------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--white);
  --btn-border: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.6rem 1.35rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { --btn-bg: var(--brand-deep); --btn-border: var(--brand-deep); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 3.125rem; padding: 0.7rem 1.6rem; font-size: 1.05rem; }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--brand-deep); --btn-border: var(--brand); }
.btn--secondary:hover { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-darker); --btn-border: var(--brand-deep); }

.btn--invert { --btn-bg: var(--white); --btn-fg: var(--brand-darker); --btn-border: var(--white); }
.btn--invert:hover { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-darker); --btn-border: var(--brand-soft); }

.btn--outline-invert { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgb(255 255 255 / 55%); }
.btn--outline-invert:hover { --btn-bg: rgb(255 255 255 / 14%); --btn-fg: var(--white); --btn-border: var(--white); }

.link-more {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}
.link-more::after { content: " \2192"; text-decoration: none; }

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  /* No backdrop-filter/filter/transform: those create a containing block that
     traps position:fixed descendants and collapsed the mobile menu. */
  background: rgb(255 255 255 / 97%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; flex: 0 0 auto; min-width: 0; }
.brand__mark { width: var(--logo-header-w, 4.25rem); height: auto; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text strong { font: 700 0.95rem/1.15 var(--font-display); letter-spacing: -0.01em; }
.brand__text span { font-size: 0.7rem; color: var(--ink-faint); }
/* When the lockup already spells the company name, only the origin line sits beside it. */
.brand__text--tag-only { justify-content: center; }
.brand__text--tag-only span { font-size: 0.72rem; }
.footer-brand__name:empty { display: none; }


.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav__group { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  background: none;
  border-radius: var(--radius-sm);
  font: 600 0.95rem/1 var(--font-body);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav__link:hover { background: var(--brand-tint); color: var(--brand-deep); }
.nav__link[aria-current="true"] { color: var(--brand-deep); box-shadow: inset 0 -2px 0 var(--brand); }
.nav__summary::after {
  content: "";
  width: 0.4rem; height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 150ms var(--ease);
  flex: 0 0 auto;
}
.nav__summary[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 15rem;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms var(--ease), transform 140ms var(--ease), visibility 140ms;
  z-index: 5;
}
.nav__group:hover .nav__dropdown,
.nav__group:focus-within .nav__dropdown,
.nav__summary[aria-expanded="true"] + .nav__dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.nav__dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav__dropdown a:hover { background: var(--brand-tint); color: var(--brand-deep); }
.nav__mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.header-phone { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; }
.header-phone span { font-size: 0.68rem; color: var(--ink-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.header-phone strong { font: 700 1rem/1.15 var(--font-body); color: var(--brand-deep); }
.header-phone:hover strong { text-decoration: underline; }

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  width: 2.75rem; height: 2.75rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  position: relative;
  z-index: 210;
  flex: 0 0 auto;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute;
  width: 1.15rem; height: 2px;
  background: var(--ink);
  transition: transform 180ms var(--ease), background-color 120ms var(--ease), top 180ms var(--ease);
}
.nav-toggle__bars { top: 50%; left: 50%; margin: -1px 0 0 -0.575rem; }
.nav-toggle__bars::before { content: ""; top: -6px; left: 0; }
.nav-toggle__bars::after { content: ""; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 64rem) {
  .header-actions { display: none; }
  .brand__text span { display: none; }
  .brand__text strong {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 11.5rem;
  }
  .nav-toggle { display: block; }
  /*
    Full-viewport panel. Use vh-based height (not bottom:0 alone): any ancestor
    filter/backdrop-filter/transform turns fixed positioning into a header-sized
    containing block, which collapsed the old inset-bottom layout to ~content height.
    JS also moves [data-nav] onto document.body while this breakpoint is active.
  */
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    z-index: 205;
    margin: 0;
    background: var(--white);
    padding: 0.5rem 1.25rem max(6.5rem, calc(env(safe-area-inset-bottom, 0px) + 5.5rem));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms var(--ease), visibility 180ms;
  }
  .nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    width: 100%;
    justify-content: space-between;
    min-height: 3rem;
    padding: 0.85rem 0.35rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .nav__dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    padding: 0.15rem 0 0.55rem 0.35rem;
    background: var(--bg);
    min-width: 0;
  }
  /* Touch devices: accordion only via aria-expanded, never hover/focus-within. */
  .nav__group:hover .nav__dropdown,
  .nav__group:focus-within .nav__dropdown { display: none; }
  .nav__summary[aria-expanded="true"] + .nav__dropdown { display: block; }
  .nav__dropdown a {
    padding: 0.7rem 0.75rem;
    font-size: 1rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }
  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.25rem 0 0.5rem;
    border-bottom: 0;
  }
  .nav__mobile-actions .btn { width: 100%; justify-content: center; }
  body.nav-open .mobile-cta { display: none; }
}

@media (max-width: 22rem) {
  .brand__text strong { max-width: 8.5rem; }
}

/* Breadcrumbs ------------------------------------------------------------ */

.breadcrumbs { border-bottom: 1px solid var(--line-soft); background: var(--white); }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
  list-style: none; margin: 0; padding: 0.7rem 0;
  font-size: 0.85rem; color: var(--ink-faint);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-deep); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Hero ------------------------------------------------------------------- */

/* A single full-bleed dark plane. The room photograph is atmosphere only, held well
   under the text; the instrument itself is the visual anchor and stays crisp. */
.hero { position: relative; background: var(--brand-darker); overflow: hidden; }
.hero__backdrop {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(102deg, rgb(4 32 38 / 97%) 0%, rgb(4 32 38 / 92%) 42%, rgb(4 32 38 / 82%) 72%, rgb(4 32 38 / 76%) 100%),
    radial-gradient(70rem 40rem at 78% 25%, rgb(12 107 116 / 42%), transparent 70%),
    image-set(url("../assets/img/cleanroom-large-760.webp") type("image/webp"), url("../assets/img/cleanroom-large-760.jpg") type("image/jpeg"));
  background-size: cover, cover, cover;
  background-position: center, center, 50% 40%;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  min-height: min(74vh, 38rem);
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
@media (min-width: 60rem) {
  .hero__inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
}
.hero__stage { justify-self: center; max-width: 34rem; width: 100%; }
.hero__device {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 45%), 0 2px 0 rgb(255 255 255 / 12%);
}
.hero__caption {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgb(198 223 227 / 82%);
  max-width: 30rem;
}
.hero__panel { max-width: 38rem; color: var(--white); }
.hero__logo { width: var(--logo-hero-w, clamp(6rem, 11vw, 8.5rem)); height: auto; margin-bottom: 1rem; filter: drop-shadow(0 2px 12px rgb(0 0 0 / 55%)); }
.hero__brand {
  font: 700 clamp(1rem, 0.92rem + 0.45vw, 1.3rem)/1.2 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 0.8rem;
}
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 1.25rem + 3.1vw, 3.5rem); margin-bottom: 0.45em; }
.hero .lead { color: rgb(235 245 246 / 96%); max-width: 36rem; }
.hero .actions { margin-top: 1.85rem; }
.hero__note { margin-top: 1.1rem; font-size: 0.9rem; color: rgb(214 233 236 / 85%); }
.hero .btn--secondary { --btn-fg: var(--white); --btn-border: rgb(255 255 255 / 60%); }
.hero .btn--secondary:hover { --btn-bg: rgb(255 255 255 / 14%); --btn-fg: var(--white); --btn-border: var(--white); }

@media (min-width: 60rem) {
  .hero__panel { animation: riseIn 520ms var(--ease) both; }
  .hero__stage { animation: riseIn 620ms 120ms var(--ease) both; }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__panel, .hero__stage { animation: none !important; }
}

/* Page head -------------------------------------------------------------- */

.page-head {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-tint) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-head__inner { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-head__text { max-width: 44rem; }
.page-head h1 { margin-bottom: 0.4em; }
.page-head .lead { max-width: 54ch; }
.page-head--media .page-head__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 58rem) {
  .page-head--media .page-head__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .page-head--media .page-head__text { max-width: none; }
}
/* Natural aspect ratio: the source library mixes wide room photographs with tall
   product shots, and a forced ratio letterboxes one or crops the other. */
.page-head__media img {
  width: 100%;
  height: auto;
  max-height: 27rem;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  background: var(--white);
  padding: 0.5rem;
}

/* Strip ------------------------------------------------------------------ */

.strip { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.strip__list {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  list-style: none;
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
}
.strip__list li { display: flex; flex-direction: column; gap: 0.2rem; }
.strip__list strong { font: 700 1.0625rem/1.25 var(--font-display); letter-spacing: -0.01em; }
.strip__list span { font-size: 0.9rem; line-height: 1.45; color: var(--ink-muted); }

/* Status pair ------------------------------------------------------------ */

.status-pair {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.status__label { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; margin-bottom: 0.75rem; font-size: 0.95rem; }
.dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; flex: none; }
.dot--ok { background: var(--signal-ok); box-shadow: 0 0 0 3px var(--signal-ok-soft); }
.dot--alert { background: var(--signal-alert); box-shadow: 0 0 0 3px var(--signal-alert-soft); }
.status__media {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 0.9rem;
}
.status__media img { width: 100%; border-radius: var(--radius-sm); }
.status p:last-child { color: var(--ink-muted); font-size: 0.97rem; }

/* Pathways --------------------------------------------------------------- */

.pathway-grid {
  display: grid;
  gap: 1rem;
  /* 21rem keeps this at three columns on desktop, which divides the nine solutions
     evenly instead of leaving a ragged final row. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}
.pathway {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.35rem 1.4rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), border-color 160ms var(--ease);
}
.pathway:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); border-left-color: var(--brand-deep); color: inherit; }
.pathway :is(h2, h3) { margin: 0; font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); }
.pathway p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }
.pathway__go { margin-top: auto; padding-top: 0.7rem; font: 600 0.85rem/1 var(--font-body); color: var(--brand); }
.pathway__go::after { content: " \2192"; }

/* Steps ------------------------------------------------------------------ */

.steps {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step { counter-increment: step; border-top: 2px solid var(--brand-soft); padding-top: 1rem; }
.step h3 { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.4rem; }
.step h3::before {
  content: counter(step);
  font: 600 0.8rem/1.6rem var(--font-mono);
  width: 1.6rem; height: 1.6rem;
  flex: none;
  text-align: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-darker);
}
.step p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }
.steps--compact .step { border-top-color: var(--line); }

/* Split ------------------------------------------------------------------ */

.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 58rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse .split__text { order: 2; }
}
.split__text > h2:first-child { margin-top: 0; }
.split__media { display: grid; gap: 1rem; align-content: start; }

.figure { margin: 0; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.figure img { width: 100%; }
.figure figcaption { padding: 0.7rem 0.9rem; font-size: 0.875rem; line-height: 1.4; color: var(--ink-muted); border-top: 1px solid var(--line-soft); background: var(--bg); }

.gallery { display: grid; gap: 1rem; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.gallery--half { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }

/* Compare ---------------------------------------------------------------- */

.compare { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-top: 1.75rem; }
.compare__col { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.compare__col h3 { margin-bottom: 0.75rem; }
.compare__col ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.45rem; font-size: 0.95rem; }
.compare__col--ours { border-top: 3px solid var(--brand); }
.compare__col:not(.compare__col--ours) { background: transparent; color: var(--ink-muted); border-top: 3px solid var(--line); }

/* Facts ------------------------------------------------------------------ */

.fact-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.fact { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.25rem; }
.fact strong { display: block; font: 700 1.9rem/1 var(--font-display); color: var(--brand-deep); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.fact span { font-size: 0.92rem; line-height: 1.45; color: var(--ink-muted); }

/* Lists ------------------------------------------------------------------ */

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.checks--grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 0.7rem 2rem; }
.checks li { position: relative; padding-left: 1.65rem; font-size: 0.97rem; line-height: 1.5; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 0.42em;
  width: 0.62rem; height: 0.34rem;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-list li {
  padding: 0.35rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Tables ----------------------------------------------------------------- */

.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--white); }
table.price { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 40rem; }
table.price caption { text-align: left; padding: 0.9rem 1rem 0; font-weight: 600; }
table.price th, table.price td { padding: 0.75rem 1rem; text-align: left; vertical-align: middle; }
table.price thead th { font: 600 0.76rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); background: var(--bg); border-bottom: 1px solid var(--line); }
table.price tbody tr + tr { border-top: 1px solid var(--line-soft); }
table.price tbody th { font-weight: 600; white-space: nowrap; }
table.price code { color: var(--brand-deep); font-size: 0.92rem; }
table.price td.num, table.price th.num { font-family: var(--font-mono); white-space: nowrap; }
table.price .price__thumb,
table.price .price__thumb-h { width: 4.75rem; padding-right: 0.35rem; }
table.price .price__thumb picture {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  background: var(--bg);
  border: 1px solid var(--line-soft);
}
table.price .price__thumb img,
table.price .price__img {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  background: var(--bg);
}
table.price .price__buy { white-space: nowrap; width: 1%; }
.paypal-cart, .paypal-view-cart { display: inline-block; margin: 0; }
.btn--paypal {
  --btn-bg: #ffc439;
  --btn-fg: #003087;
  --btn-border: #ffc439;
  font-size: 0.85rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.85rem;
  font-weight: 700;
}
.btn--paypal:hover {
  --btn-bg: #f5b800;
  --btn-fg: #003087;
  --btn-border: #f5b800;
}
.paypal-view-cart { margin-top: 0.75rem; }
.paypal-note { margin-top: 0.65rem; font-size: 0.92rem; color: var(--ink-muted); max-width: 40rem; }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.anchor-nav a {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink-muted);
  background: var(--white);
}
.anchor-nav a:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-tint); }

/* Specs ------------------------------------------------------------------ */

.specs-grid { display: grid; gap: 0 clamp(1.5rem, 4vw, 3rem); margin: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr)); }
.specs-grid > div { display: grid; grid-template-columns: minmax(8rem, 11rem) 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line-soft); }
.specs-grid dt { font-weight: 600; }
.specs-grid dd { margin: 0; color: var(--ink-muted); }
@media (max-width: 40rem) {
  .specs-grid > div { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* Doc list --------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.filters label { font-weight: 600; font-size: 0.9rem; }
.filters select, .filters input[type="search"] {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  min-height: 2.6rem;
}
.filters input[type="search"] { flex: 1 1 12rem; min-width: 0; }
.filters__count { margin: 0; margin-inline-start: auto; font-size: 0.85rem; color: var(--ink-faint); }

.doc-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.doc-row { display: flex; align-items: center; gap: 1rem; padding-right: 1rem; }
.doc-row + .doc-row { border-top: 1px solid var(--line-soft); }
.doc-row:hover { background: var(--brand-tint); }
.doc-row[hidden] { display: none; }
.doc-row__link { flex: 1 1 auto; display: block; padding: 0.85rem 0 0.85rem 1rem; text-decoration: none; color: inherit; min-width: 0; }
.doc-row__title { display: block; font-weight: 600; color: var(--link); }
.doc-row__link:hover .doc-row__title { text-decoration: underline; }
.doc-row__desc { display: block; font-size: 0.9rem; color: var(--ink-muted); line-height: 1.4; margin-top: 0.15rem; }
.doc-row__type { flex: 0 0 auto; font-size: 0.8rem; color: var(--ink-faint); white-space: nowrap; }
.doc-row__ext { flex: 0 0 auto; font: 600 0.68rem/1 var(--font-mono); letter-spacing: 0.06em; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 3px; padding: 0.25rem 0.35rem; }
.doc-row--flag { background: var(--brand-tint); }
.badge { display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.5rem; border-radius: 100px; background: var(--brand); color: var(--white); font: 600 0.7rem/1.5 var(--font-body); vertical-align: 0.12em; }

@media (max-width: 40rem) {
  .doc-row { flex-wrap: wrap; padding-bottom: 0.7rem; }
  .doc-row__link { flex-basis: 100%; padding-bottom: 0.3rem; }
  .doc-row__type { margin-left: 1rem; }
}

.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.link-list li { position: relative; padding-left: 1.1rem; font-size: 0.97rem; line-height: 1.45; }
.link-list li::before { content: "\203A"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.link-list .doc-row__type { display: block; font-size: 0.8rem; color: var(--ink-faint); }

.related { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.related h2 { font-size: 1.1rem; margin-bottom: 0.9rem; }

/* Accordion -------------------------------------------------------------- */

.accordion { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.accordion__item + .accordion__item { border-top: 1px solid var(--line-soft); }
.accordion__item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font: 600 1.02rem/1.4 var(--font-body);
  list-style: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: "";
  flex: none;
  width: 0.6rem; height: 0.6rem;
  margin-top: 0.4rem;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 160ms var(--ease);
}
.accordion__item[open] summary::after { transform: rotate(-135deg); }
.accordion__item summary:hover { background: var(--brand-tint); }
.accordion__body { padding: 0 1.25rem 1.3rem; max-width: 70ch; }
.accordion__body p { font-size: 0.99rem; color: var(--ink-muted); }

/* Video ------------------------------------------------------------------ */

.video-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.video-single { max-width: 46rem; }
.video h3 { margin: 0.9rem 0 0.35rem; }
.video p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1416;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.video__frame video, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Forms ------------------------------------------------------------------ */

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font: inherit;
  width: 100%;
  padding: 0.65rem 0.8rem;
  min-height: 2.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  outline: none;
}
.hp { position: absolute; left: -9999px; }

/* Radio and checkbox restyled so controls match the rest of the system. */
.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-size: 0.97rem;
  line-height: 1.4;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease);
}
.choice:hover { border-color: var(--brand); }
.choice input[type="radio"], .choice input[type="checkbox"] {
  appearance: none;
  flex: none;
  width: 1.2rem; height: 1.2rem;
  margin: 0.08rem 0 0;
  border: 1.5px solid var(--ink-faint);
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: border-color 120ms var(--ease), background-color 120ms var(--ease);
}
.choice input[type="radio"] { border-radius: 50%; }
.choice input[type="checkbox"] { border-radius: 3px; }
.choice input:checked { background: var(--brand); border-color: var(--brand); }
.choice input[type="radio"]::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--white); transform: scale(0); transition: transform 120ms var(--ease); }
.choice input[type="radio"]:checked::before { transform: scale(1); }
.choice input[type="checkbox"]::before {
  content: "";
  width: 0.62rem; height: 0.32rem;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) scale(0);
  margin-top: -0.16rem;
  transition: transform 120ms var(--ease);
}
.choice input[type="checkbox"]:checked::before { transform: rotate(-45deg) scale(1); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.choice input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice strong { font-weight: 700; }
.choice--inline { align-items: center; justify-content: space-between; }
.choice--inline input[type="number"] {
  appearance: auto;
  width: 5rem; min-height: 2.5rem;
  font: inherit;
  padding: 0.35rem 0.5rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
}

fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; }
fieldset:last-of-type { margin-bottom: 0; }
legend { font-weight: 700; font-size: 0.95rem; padding: 0; margin-bottom: 0.6rem; }
fieldset > .choice + .choice { margin-top: 0.5rem; }

/* CTA band --------------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(60rem 30rem at 85% 0%, rgb(255 255 255 / 9%), transparent 60%),
    linear-gradient(118deg, var(--brand-darker) 0%, var(--brand-deep) 55%, var(--brand) 100%);
  color: var(--white);
}
.cta-band__inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
@media (min-width: 54rem) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; }
  .cta-band .actions { justify-content: flex-end; margin-top: 0; }
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4em; }
.cta-band p { color: rgb(226 241 243 / 94%); margin: 0; max-width: 48ch; }
.cta-band__phone { color: rgb(226 241 243 / 94%); font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.2em; }
.cta-band__phone:hover { color: var(--white); }

/* Footer ----------------------------------------------------------------- */

.site-footer { background: var(--ink); color: rgb(225 238 241 / 90%); padding-top: clamp(2.75rem, 5vw, 4rem); }
.footer-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  padding-bottom: 2.5rem;
}
@media (min-width: 62rem) { .footer-brand { max-width: 20rem; } }
.footer-brand img { width: var(--logo-footer-w, 8.5rem); height: auto; margin-bottom: 0.75rem; }
.footer-brand__name {
  font: 700 1rem/1.25 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.9rem;
}
.footer-brand__name span { display: block; font: 400 0.78rem/1.3 var(--font-body); color: rgb(176 203 210 / 88%); letter-spacing: 0; }
.footer-brand p { font-size: 0.92rem; line-height: 1.5; color: rgb(203 222 227 / 85%); }
.site-footer h2 { font: 600 0.76rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgb(163 194 201 / 92%); margin-bottom: 0.95rem; }
.site-footer ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: rgb(228 241 244 / 94%); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; font-size: 0.9rem; color: rgb(193 215 221 / 84%); line-height: 1.5; }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  padding-block: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.875rem;
  color: rgb(184 208 214 / 82%);
}
.footer-meta a { font-size: inherit; }

/* Mobile CTA ------------------------------------------------------------- */

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 0.6rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 97%);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(115%);
  transition: transform 240ms var(--ease);
}
.mobile-cta .btn { flex: 1; }
.mobile-cta .btn--secondary { background: var(--white); }
@media (max-width: 48rem) {
  .mobile-cta { display: flex; }
  .mobile-cta[data-visible] { transform: none; }
  .site-footer { padding-bottom: 4.75rem; }
}
