/* quote-build 400237a4a35f9e47: generated by scripts/build-quote.mjs from styles.css (purged for the instant quote page) + instant-quote.css. Edit those, then run "npm run build:quote". */
:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-secondary: #0f172a;
  --color-accent: #10b981;
  --color-accent-light: #34d399;
  --color-accent-dark: #047857; /* white text passes AA on this green */
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-text-lighter: #94a3b8;
  --color-background: #ffffff;
  --color-background-alt: #f8fafc;
  --color-background-dark: #0f172a;
  --color-border: #e2e8f0;
  --color-canada: #dc2626;
  --font-heading: "Urbanist", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  --gradient-premium: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
p {
  color: var(--color-text-light);
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.section {
  padding: 4rem 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}
.btn--primary:hover,
.btn--white:hover {
  transform: translateY(-2px);
}
.btn--primary:hover {
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}
.btn--secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-border);
}
.btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--secondary-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn--secondary-light:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}
.btn--white {
  background: white;
  color: var(--color-secondary);
}
.btn--white:hover {
  box-shadow: var(--shadow-lg);
}
.btn--large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes slideInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header__logo img {
  width: 50px;
  height: 50px;
}
.header__logo-text {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header__nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}
.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}
.header__nav-link:hover::after {
  width: 100%;
}
.header__nav-link:hover {
  color: var(--color-primary);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  position: relative;
}
.header__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
  transition: all var(--transition-base);
  transform-origin: center;
}
.header__mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.header__mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 1024px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    max-height: 75vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    align-content: start;
    padding: 5rem 1.25rem 1.25rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 1001;
    overflow-y: auto;
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
    backdrop-filter: blur(10px);
  }
  .header__nav.is-open {
    transform: translateX(0);
    animation: slideInRight 0.3s ease-out;
  }
  @keyframes slideInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  .header__nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-secondary);
    background: white;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  .header__nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-base);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  }
  .header__nav-link:hover,
  .header__nav-link:active {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(16, 185, 129, 0.04) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
  }
  .header__nav-link:hover::before {
    transform: scaleY(1);
  }
  .header__nav-link::after {
    content: '→';
    font-size: 1rem;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-6px);
    transition: all var(--transition-base);
    color: var(--color-primary);
  }
  .header__nav-link:hover::after {
    opacity: 1;
    transform: translateX(2px);
  }
  .header__actions {
    display: none;
  }
  .header__mobile-toggle {
    display: flex;
  }
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
  }
  body.menu-open {
    overflow: hidden;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
@media (max-width: 480px) {
  .header__nav {
    max-width: 100%;
    padding: 5rem 1rem 1rem;
    gap: 0.625rem;
  }
  .header__nav-link {
    padding: 0.875rem 0.75rem;
    font-size: 0.875rem;
  }
}
@media (max-width: 640px) {
  /* Hide decorative stats card on mobile to prevent blocking images */
}
.services {
  padding: 6rem 0;
  background: var(--color-background-alt);
}
.process {
  padding: 6rem 0;
  background: var(--color-background-dark);
  color: white;
}
/* Dark process band: keep body copy light (the shared header/step rules use the light-background grey) */
/* In-copy links to the instant quote (home and location pages) */
.footer {
  background: var(--color-secondary);
  color: white;
  padding-top: 4rem;
}
.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand {
  max-width: 300px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer__logo img {
  width: 50px;
  height: 50px;
}
.footer__logo-text {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.footer__tagline {
  color: var(--color-text-lighter);
  margin-bottom: 1.5rem;
}
.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: white;
  transition: all var(--transition-fast);
}
.footer__social-link:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}
.footer__social-link svg {
  width: 20px;
  height: 20px;
}
.footer__address-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding: 1rem 1.125rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: var(--color-text-lighter);
  overflow: hidden;
  transition: transform var(--transition-base), background var(--transition-base),
    border-color var(--transition-base), box-shadow var(--transition-base),
    color var(--transition-base);
}
.footer__address-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.footer__address-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(37, 99, 235, 0.12);
  color: white;
}
.footer__address-card:hover::before {
  transform: scaleX(1);
}
.footer__address-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-primary-light);
  transition: transform var(--transition-base), background var(--transition-base),
    color var(--transition-base);
}
.footer__address-card:hover .footer__address-icon {
  transform: scale(1.08) translateY(-1px);
  background: rgba(37, 99, 235, 0.35);
  color: white;
}
.footer__address-icon svg {
  width: 18px;
  height: 18px;
}
.footer__address-text {
  font-size: 0.875rem;
  line-height: 1.55;
  font-style: normal;
}
@media (prefers-reduced-motion: reduce) {
  .footer__address-card,
  .footer__address-card::before,
  .footer__address-icon {
    transition: none;
  }
  .footer__address-card:hover {
    transform: none;
  }
  .footer__address-card:hover .footer__address-icon {
    transform: none;
  }
}
.footer__column h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__link {
  color: var(--color-text-lighter);
  transition: color var(--transition-fast);
}
.footer__link:hover {
  color: white;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--color-text-lighter);
}
.footer__bottom p {
  color: inherit;
}
@media (max-width: 1024px) {
  .footer__main {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__brand {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .footer__main {
    grid-template-columns: 1fr;
  }
  .footer__brand {
    grid-column: span 1;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
@media (max-width: 768px) {
  /* Adjust specs card on mobile to ensure it doesn't block image */
  /* Left-align breadcrumb and tech badge on mobile */
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}
.breadcrumb a {
  color: var(--color-primary);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.comparison {
  padding: 5rem 0;
  background: var(--color-background);
}

/* Light variant for parts grid inside what-we-build--alt */
.quote-tool__iframe {
  width: 100%;
  min-height: 700px;
  height: auto;
  border: none;
  display: block;
  transition: height 0.3s ease;
}
@media (max-width: 768px) {
  .quote-tool__iframe {
    min-height: 600px;
  }
}

/* ========================================
   Industry Pages - Additional Styles
   ======================================== */

/* Section Tag */

/* Applications List */

/* Process Section */


/* Intro Section */

/* Applications Section with Image */

/* CAD Callout */

/* Quote Section with Image */

/* Parts Grid Features Variant */

/* What We Build Alt Background */

/* Temporary closure notice (instant quote & contact) */

/* ===== SLS service page (photo-led, full-bleed) ===== */

/* Spec strip overlapping hero */

/* Section header compact */

/* Inline links in location page cards are underlined, not just coloured */

/* Hidden from view, still read by screen readers */

/* Links inside section intros are underlined, not just coloured */

/* Gallery grid */

/* Material + process */

/* Finishing & colour */

/* Compare */

/* FAQ accordion */

/* Comparison table row links */

/* Link to the dyeing blog post */

/* ===== SLA service page (resin library) ===== */
/* Studio hero: no photo, a tray of resin samples is the visual */

/* Job selector: pick what the part has to do, see the resin */
@keyframes ma-pop {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

/* Full resin library: filters + cards */
@keyframes ma-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* Surface roughness chart (dark finishing panel) */

/* ===== 3D printing services hub (photo-led, expanding process columns) =====
   Scoped to main.pc-page. Reuses .ma-sh, .ma-compare and .ma-faq from the SLS page. */

/* First screen */

/* Expanding photo columns */
/* Details reveal: animates height with the 0fr -> 1fr grid trick */
/* Readability: a solid backing fades in behind the text when a column opens */
/* The whole card links to its process page; an arrow badge shows once it's open */

/* How it works: one example order, day by day */

/* Specs, folded away for the people who want them */

/* Condensed page: smaller section headings than the site default */

/* Short laptop screens: keep columns tall enough for the details */
@media (min-width: 1025px) and (max-height: 760px) {
  /* Short screens: hide the "best for" line while a column is open */
}

@media (max-width: 1024px) {
  /* Tablets and phones: swipeable cards; tap one to open its details */
}
/* Proof strip at the top of "How it works" */

/* ===== 3D scanning service page (original -> scan -> new piece) =====
   Scoped to main.sc-page. Reuses .ma-hero/.ma-studio, .ma-strip, .ma-sh,
   .ma-finder, .ma-tile and .ma-faq from the SLS and SLA pages. */

/* Hero visual: one object as a deck of cards. Position 0 is the front card,
   1 waits on the right, 2 on the left. */
/* Auto-advance: the active step's bar fills and the deck moves on when the
   animation ends. Hover, focus or scrolling away pauses it; a click stops it. */
@keyframes sc-fill {
  to {
    width: 100%;
  }
}

/* Highlights card overlapping the hero, in place of a spec strip */

/* Job picker: photos instead of resin samples */
/* Original / 3D scan side by side in a picker panel */
/* Scans on a dark studio background: show the whole piece */

/* Big projects & proven results: dark band, photo mosaic + side panel */
/* Client logos, knocked out to white on the dark band */
/* Pure-black source art inverts to full white; dim it to match the raster logos */

/* ===== FDM service page (proven jobs, material ladders, compare-all chart) ===== */
/* ===== FDM service page: shared bits (reuses the .ma-* system in styles.css) ===== */

/* Hero: full-bleed photo of a real batch, text on the left */
/* Spec strip sits between the hero and the dark proof band */

/* Dark band: same navy as the hero, blue accents only */

/* What FDM is best at: real jobs on the dark band */

/* Materials: good / better / best by need */

/* Materials view switch: simple picker <-> full table */

/* Colours in stock */

/* How it works: photo + four steps (reuses the SLS process layout) */

/* Design considerations: infill demo + design limits */

/* ===== Instant quote page (loaded after styles.css) =====
   Base styles come from /styles.css; everything below is new. Motion is transform/opacity/
   stroke-dashoffset only, loops pause off screen, and reduced motion shows final frames. */
@font-face {
  font-family: "Urbanist Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Roboto Bold");
  font-weight: 700 900;
  size-adjust: 96.21%;
  ascent-override: 98.75%;
  descent-override: 25.99%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Urbanist Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Roboto");
  font-weight: 400 600;
  size-adjust: 100.21%;
  ascent-override: 94.8%;
  descent-override: 24.95%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Roboto");
  font-weight: 400 500;
  size-adjust: 104.21%;
  ascent-override: 95.19%;
  descent-override: 29.75%;
  line-gap-override: 0%;
}
:root {
  --font-heading: "Urbanist", "Urbanist Fallback", sans-serif;
  --font-body: "DM Sans", "DM Sans Fallback", sans-serif;
  interpolate-size: allow-keywords;
  --ink: #0f172a;
  --night: #0b1224;
  --paper: #fbfcfe;
  --hair: #dfe5ee;
  --dl: rgba(148, 163, 184, 0.16);
  --blue: #2563eb;
  --fdm: #2563eb;
  --sla: #0d9488;
  --sls: #d97706;
  --metal: #7c3aed;
  --fdm-l: #60a5fa;
  --sla-l: #2dd4bf;
  --sls-l: #fbbf24;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --hh: 83px;
}
html {
  scroll-padding-top: calc(var(--hh) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  background: var(--paper);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- shared motion ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-roll] {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
  white-space: pre;
}
[data-roll] > span {
  display: inline-block;
}
.js [data-roll].is-split > span {
  transform: translateY(110%);
}
.js [data-roll].is-split.is-in > span {
  transform: none;
  transition: transform 0.75s var(--ease-out);
  transition-delay: calc(var(--c) * 45ms + var(--d, 0ms));
}
.is-away,
.is-away *,
.is-away *::before,
.is-away *::after {
  animation-play-state: paused !important;
}
@keyframes qb-draw {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes qb-fade {
  from {
    opacity: 0;
  }
}
@keyframes qb-fillin {
  from {
    fill-opacity: 0;
  }
}
@keyframes qb-rise {
  from {
    opacity: 0.01;
    transform: translateY(12px);
  }
}

/* drafting sheet: hairline box with corner ticks */
.qb-sheet {
  position: relative;
  background: #fff;
  border: 1px solid var(--hair);
}
.qb-sheet::after {
  content: "";
  position: absolute;
  inset: -5px;
  pointer-events: none;
  --t: var(--ink);
  background:
    linear-gradient(var(--t), var(--t)) 0 0 / 11px 1px,
    linear-gradient(var(--t), var(--t)) 0 0 / 1px 11px,
    linear-gradient(var(--t), var(--t)) 100% 0 / 11px 1px,
    linear-gradient(var(--t), var(--t)) 100% 0 / 1px 11px,
    linear-gradient(var(--t), var(--t)) 0 100% / 11px 1px,
    linear-gradient(var(--t), var(--t)) 0 100% / 1px 11px,
    linear-gradient(var(--t), var(--t)) 100% 100% / 11px 1px,
    linear-gradient(var(--t), var(--t)) 100% 100% / 1px 11px;
  background-repeat: no-repeat;
  opacity: 0.55;
}

/* ---------- type ---------- */
.qb-sh {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  font: 600 0.74rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.qb-sh__n {
  color: var(--blue);
}
.qb-sh__rule {
  flex: 1;
  height: 1px;
  background: var(--hair);
  transform-origin: left;
}
.js [data-reveal] .qb-sh__rule {
  transform: scaleX(0);
}
.js [data-reveal].is-in .qb-sh__rule {
  transform: none;
  transition: transform 1.3s var(--ease) 0.2s;
}
.qb-h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.7rem);
  line-height: 1.07;
  letter-spacing: -0.022em;
  margin-bottom: 0.8rem;
}
.qb-h2--sm {
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
}
.qb-p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text-light);
}
.qb-p b {
  color: var(--ink);
  font-weight: 600;
}
.qb-link {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.qb-link:hover {
  text-decoration-thickness: 2px;
}
.qb-head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 1rem 3.5rem;
  align-items: end;
  margin-bottom: 2.25rem;
}
.qb-head .qb-h2 {
  margin-bottom: 0;
}
.qb-sec {
  padding: 4.25rem 0;
}
.qb-sec--w {
  background: #fff;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

/* Everything under the quote tool is skipped by style, layout and paint until it nears the viewport. Without this the
   whole 2,000-element page is laid out before first paint, which put FCP at 2-4 s on a slow phone. The sizes are
   placeholders for the content box (the section minus its padding and borders). Each is measured at the ends of a width
   range and interpolated on the viewport width, so it stays close to the real height; "auto" remembers the real height
   once a section has rendered. */
#prices,
#pricing,
#files,
#materials,
#faq,
#reviews,
.qb-band {
  content-visibility: auto;
}
@media (max-width: 412px) {
  #prices { contain-intrinsic-block-size: auto calc(4270px + (100vw - 360px) * 4.808); }
  #pricing { contain-intrinsic-block-size: auto calc(2373px + (100vw - 360px) * -1.346); }
  #files { contain-intrinsic-block-size: auto calc(1647px + (100vw - 360px) * -1.058); }
  #materials { contain-intrinsic-block-size: auto calc(2351px + (100vw - 360px) * -0.885); }
  #faq { contain-intrinsic-block-size: auto calc(1007px + (100vw - 360px) * -2.096); }
  #reviews { contain-intrinsic-block-size: auto calc(1891px + (100vw - 360px) * -2.808); }
  .qb-band { contain-intrinsic-block-size: auto calc(696px + (100vw - 360px) * -1.577); }
}
@media (min-width: 413px) and (max-width: 600px) {
  #prices { contain-intrinsic-block-size: auto calc(4520px + (100vw - 412px) * 5.186); }
  #pricing { contain-intrinsic-block-size: auto calc(2303px + (100vw - 412px) * 0.468); }
  #files { contain-intrinsic-block-size: auto calc(1592px + (100vw - 412px) * -1.181); }
  #materials { contain-intrinsic-block-size: auto calc(2305px + (100vw - 412px) * -0.989); }
  #faq { contain-intrinsic-block-size: auto calc(898px + (100vw - 412px) * -0.463); }
  #reviews { contain-intrinsic-block-size: auto calc(1745px + (100vw - 412px) * -2.085); }
  .qb-band { contain-intrinsic-block-size: auto calc(614px + (100vw - 412px) * -0.622); }
}
@media (min-width: 601px) and (max-width: 720px) {
  #prices { contain-intrinsic-block-size: auto calc(5501px + (100vw - 601px) * 5.395); }
  #pricing { contain-intrinsic-block-size: auto calc(2393px + (100vw - 601px) * 1.244); }
  #files { contain-intrinsic-block-size: auto calc(1370px + (100vw - 601px) * -0.378); }
  #materials { contain-intrinsic-block-size: auto calc(2119px + (100vw - 601px) * -0.504); }
  #faq { contain-intrinsic-block-size: auto calc(811px + (100vw - 601px) * -0.210); }
  #reviews { contain-intrinsic-block-size: auto calc(1353px + (100vw - 601px) * -0.882); }
  .qb-band { contain-intrinsic-block-size: auto calc(497px + (100vw - 601px) * -0.210); }
}
@media (min-width: 721px) and (max-width: 900px) {
  #prices { contain-intrinsic-block-size: auto calc(2582px + (100vw - 721px) * 1.346); }
  #pricing { contain-intrinsic-block-size: auto calc(1751px + (100vw - 721px) * 0.106); }
  #files { contain-intrinsic-block-size: auto calc(1330px + (100vw - 721px) * 0.201); }
  #materials { contain-intrinsic-block-size: auto calc(1318px + (100vw - 721px) * -0.106); }
  #faq { contain-intrinsic-block-size: auto calc(764px + (100vw - 721px) * -0.704); }
  #reviews { contain-intrinsic-block-size: auto calc(1200px + (100vw - 721px) * -0.743); }
  .qb-band { contain-intrinsic-block-size: auto calc(361px + (100vw - 721px) * 0.006); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  #prices { contain-intrinsic-block-size: auto calc(2823px + (100vw - 900px) * 1.460); }
  #pricing { contain-intrinsic-block-size: auto calc(1770px + (100vw - 900px) * 0.670); }
  #files { contain-intrinsic-block-size: auto calc(1366px + (100vw - 900px) * 0.405); }
  #materials { contain-intrinsic-block-size: auto calc(1299px + (100vw - 900px) * -0.200); }
  #faq { contain-intrinsic-block-size: auto calc(638px + (100vw - 900px) * -0.210); }
  #reviews { contain-intrinsic-block-size: auto calc(1067px + (100vw - 900px) * -0.235); }
  .qb-band { contain-intrinsic-block-size: auto calc(362px + (100vw - 900px) * -0.070); }
}
@media (min-width: 1101px) {
  #prices { contain-intrinsic-block-size: auto 1756px; }
  #pricing { contain-intrinsic-block-size: auto 969px; }
  #files { contain-intrinsic-block-size: auto 728px; }
  #materials { contain-intrinsic-block-size: auto 733px; }
  #faq { contain-intrinsic-block-size: auto 559px; }
  #reviews { contain-intrinsic-block-size: auto 726px; }
  .qb-band { contain-intrinsic-block-size: auto 192px; }
}

/* ---------- isometric drawings (light) ---------- */
.qb-iso .w {
  fill: var(--f);
  stroke: var(--f);
  stroke-width: 0.7;
  stroke-linejoin: round;
}
.qb-iso .s0 { --f: color-mix(in srgb, var(--pc, var(--blue)) 5%, #fff); }
.qb-iso .s1 { --f: color-mix(in srgb, var(--pc, var(--blue)) 10%, #fff); }
.qb-iso .s2 { --f: color-mix(in srgb, var(--pc, var(--blue)) 16%, #fff); }
.qb-iso .s3 { --f: color-mix(in srgb, var(--pc, var(--blue)) 25%, #fff); }
.qb-iso .s4 { --f: color-mix(in srgb, var(--pc, var(--blue)) 34%, #fff); }
.qb-iso .t {
  fill: color-mix(in srgb, var(--pc, var(--blue)) 4%, #fff);
  stroke: var(--ink);
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.qb-iso .e {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qb-iso .th {
  stroke: color-mix(in srgb, var(--pc, var(--blue)) 60%, var(--ink));
  stroke-width: 1.3;
}
.qb-iso .dm path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1;
}
.qb-iso .dm circle {
  fill: var(--blue);
}
.qb-iso .dm text {
  font: 600 10px var(--mono);
  fill: var(--blue);
}

/* ---------- hero ---------- */
.qb-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--hh) + 2.6rem) 0 6.25rem;
  background:
    radial-gradient(42% 60% at 78% 42%, rgba(37, 99, 235, 0.1), transparent 70%),
    radial-gradient(30% 40% at 6% 0%, rgba(16, 185, 129, 0.07), transparent 70%),
    var(--paper);
}
.qb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.022) 1px, transparent 1px);
  background-size:
    60px 60px,
    60px 60px,
    12px 12px,
    12px 12px;
  -webkit-mask-image: radial-gradient(75% 85% at 68% 45%, #000 15%, transparent 78%);
  mask-image: radial-gradient(75% 85% at 68% 45%, #000 15%, transparent 78%);
}
.container.qb-hero__wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.qb-crumb {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
  font-size: 0.86rem;
  color: var(--color-text-light);
}
.qb-crumb a {
  color: var(--blue);
}
.qb-crumb a:hover {
  text-decoration: underline;
}
.qb-h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.95rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.028em;
  margin: 0 0 1.1rem;
}
.qb-h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.qb-lead {
  font-size: clamp(1.04rem, 1.2vw, 1.15rem);
  line-height: 1.62;
  max-width: 32em;
}
.qb-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.7rem 0 1.6rem;
}
.qb-spec {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin: 0;
}
.qb-spec div {
  padding: 0.75rem 1.4rem 0.75rem 0;
  margin-right: 1.4rem;
  border-right: 1px solid var(--hair);
}
.qb-spec div:last-child {
  border-right: 0;
  margin-right: 0;
}
.qb-spec dt {
  font: 600 0.66rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-lighter);
  margin-bottom: 0.4rem;
}
.qb-spec dd {
  margin: 0;
  font: 700 0.95rem/1.2 var(--font-heading);
  color: var(--ink);
}
.qb-hero__copy > * {
  animation: qb-rise 0.8s var(--ease) both;
}
.qb-hero__copy > .qb-h1 {
  animation: none;
}
.qb-hero__copy > :nth-child(3) {
  animation-delay: 0.08s;
}
.qb-hero__copy > :nth-child(4) {
  animation-delay: 0.16s;
}
.qb-hero__copy > :nth-child(5) {
  animation-delay: 0.24s;
}

/* ---------- hero: quote sampler ---------- */
.qa-live {
  --pc: var(--fdm-l);
  position: relative;
  margin: 0;
  border-radius: 18px;
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(37, 99, 235, 0.35), transparent 70%),
    var(--night);
  border: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow:
    0 40px 80px -36px rgba(11, 18, 36, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  color: #e2e8f0;
  animation: qa-pop 0.9s var(--ease-out) 0.12s both;
}
@keyframes qa-pop {
  from {
    opacity: 0.01;
    transform: translateY(14px) scale(0.985);
  }
}
.qa-live__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.95rem;
  border-bottom: 1px solid var(--dl);
  font: 600 0.76rem/1 var(--mono);
  color: #94a3b8;
}
.qa-live__bar > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.28);
}
.qa-live__file {
  margin-left: 0.35rem;
  color: #e2e8f0;
  white-space: nowrap;
}
.qa-live__file::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 2px;
  background: var(--pc);
  transition: background 0.4s;
}
.qa-live__file::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #e2e8f0;
  animation: qa-caret 1.05s steps(1) infinite;
}
@keyframes qa-caret {
  50% {
    opacity: 0;
  }
}
.qa-live__dots {
  display: flex;
  gap: 0.15rem;
  margin-left: auto;
}
.qa-live__dots button {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.qa-live__dots button::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.4);
  transition:
    background 0.3s,
    transform 0.3s var(--ease-out);
}
.qa-live__dots button[aria-pressed="true"]::before {
  background: var(--pc);
  transform: scale(1.35);
}
.qa-live__dots button:focus-visible {
  outline: 2px solid #93c5fd;
}
.qa-live__stage {
  position: relative;
  height: clamp(220px, 21vw, 290px);
  margin: 0.7rem 0.7rem 0;
  border-radius: 12px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px) 0 0 / 100% 20px,
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px) 0 0 / 20px 100%,
    rgba(2, 6, 23, 0.4);
  border: 1px solid var(--dl);
  overflow: hidden;
}
.qa-draw {
  position: absolute;
  inset: 0.4rem 0.4rem 0.4rem 33%;
  width: auto;
  height: calc(100% - 0.8rem);
}
.qa-draw g[data-shape] {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.qa-draw g[data-shape].is-on {
  opacity: 1;
}
.qa-draw .w {
  fill: var(--f);
  stroke: var(--f);
  stroke-width: 0.7;
  stroke-linejoin: round;
}
.qa-draw .s0 { --f: color-mix(in oklab, var(--pc) 40%, #0d1530); }
.qa-draw .s1 { --f: color-mix(in oklab, var(--pc) 31%, #0d1530); }
.qa-draw .s2 { --f: color-mix(in oklab, var(--pc) 23%, #0d1530); }
.qa-draw .s3 { --f: color-mix(in oklab, var(--pc) 16%, #0d1530); }
.qa-draw .s4 { --f: color-mix(in oklab, var(--pc) 10%, #0d1530); }
.qa-draw .t {
  fill: color-mix(in oklab, var(--pc) 48%, #0d1530);
  stroke: #e2e8f0;
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.qa-draw .e {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qa-draw .th {
  stroke: var(--pc);
}
.qa-draw .dm path {
  fill: none;
  stroke: var(--pc);
  stroke-width: 1;
}
.qa-draw .dm circle {
  fill: var(--pc);
}
.qa-draw .dm text {
  font: 600 10px var(--mono);
  fill: #e2e8f0;
}
.qa-draw .is-on .e,
.qa-draw .is-on .t {
  animation: qb-draw 0.95s var(--ease) both;
}
.qa-draw .is-on .t {
  animation:
    qb-draw 0.95s var(--ease) both,
    qb-fillin 0.5s ease 0.7s both;
}
.qa-draw .is-on .w {
  animation: qb-fade 0.5s ease 0.55s both;
}
.qa-draw .is-on .dms {
  animation: qb-fade 0.4s ease 1.05s both;
}
.qa-draw .is-on .dm path {
  animation: qb-draw 0.6s var(--ease) 1.05s both;
}
.qa-live__scan {
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(96, 165, 250, 0.12) 80%, rgba(147, 197, 253, 0.55) 100%);
  transform: translateY(-101%);
  pointer-events: none;
}
.qa-live.is-run .qa-live__scan {
  animation: qa-scan 1.4s var(--ease) both;
}
@keyframes qa-scan {
  to {
    transform: translateY(240%);
  }
}
.qa-live__checks {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  display: grid;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font: 600 0.72rem/1.2 var(--mono);
  color: #cbd5e1;
}
.qa-live__checks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.qa-live__checks li::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}
.qa-live.is-run .qa-live__checks li {
  animation: qa-tick 0.45s var(--ease-out) both;
  animation-delay: calc(1.25s + var(--i) * 0.2s);
}
@keyframes qa-tick {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
}
.qa-live__prog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--pc);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0.8;
}
.qa-live.is-run.is-auto .qa-live__prog {
  animation: qa-prog 5.6s linear both;
}
@keyframes qa-prog {
  to {
    transform: scaleX(1);
  }
}
.qa-live__rows {
  display: grid;
  grid-template-columns: 0.7fr 1.35fr 1.35fr 0.5fr;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0.95rem 1.1rem 0.25rem;
}
.qa-live__rows dt {
  font: 600 0.66rem/1 var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.35rem;
}
.qa-live__rows dd {
  margin: 0;
  color: #e2e8f0;
  font: 600 0.88rem/1.25 var(--font-heading);
}
.qa-live__rows dd.is-swap {
  animation: qa-swap 0.5s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms + 0.9s);
}
@keyframes qa-swap {
  from {
    opacity: 0.01;
    transform: translateY(8px);
  }
}
.qa-live__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.7rem 0.7rem 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid var(--dl);
}
.qa-live__total small {
  display: block;
  font: 600 0.66rem/1 var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.4rem;
}
.qa-live__price {
  font: 700 clamp(1.7rem, 2.6vw, 2.15rem) / 1 var(--mono);
  color: #fff;
  letter-spacing: -0.02em;
}
.qa-live__lead {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  font: 600 0.78rem/1 var(--font-heading);
  white-space: nowrap;
}
.qa-live figcaption {
  padding: 0.65rem 1.1rem 0.8rem;
  font-size: 0.74rem;
  color: #64748b;
}

/* how it works strip */
.container.qa-steps-wrap {
  position: relative;
  margin-top: 2.6rem;
  padding-top: 0;
  padding-bottom: 0;
}
.qa-steps__h {
  font: 600 0.74rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.qa-steps {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: st;
}
.qa-steps::before {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: 15px;
  height: 1px;
  background: var(--hair);
}
.qa-steps::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 46px;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, #60a5fa 60%, #2563eb);
  filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.45));
  animation: qa-packet 6s linear infinite;
}
@keyframes qa-packet {
  from {
    transform: translateX(-46px);
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  94% {
    opacity: 1;
  }
  to {
    transform: translateX(100cqw);
    opacity: 0;
  }
}
.qa-steps li {
  position: relative;
  counter-increment: st;
  padding-top: 2.75rem;
}
.qa-steps li::before {
  content: counter(st);
  position: absolute;
  top: 0;
  left: 0;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hair);
  color: var(--color-text-light);
  font: 700 0.8rem/1 var(--mono);
  animation: qa-ping 6s linear infinite;
  animation-delay: calc(var(--i) * 1.5s + 0.05s);
}
@keyframes qa-ping {
  0%,
  16%,
  to {
    border-color: var(--hair);
    box-shadow: none;
    color: var(--color-text-light);
    background: #fff;
  }
  3% {
    border-color: var(--blue);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
    color: #fff;
    background: var(--blue);
  }
}
.qa-steps b {
  display: block;
  font: 700 1rem/1.2 var(--font-heading);
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.qa-steps span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--color-text-light);
}

/* ---------- quote tool window ---------- */
.qa-tool {
  position: relative;
  z-index: 2;
  margin-top: -3.75rem;
  padding-bottom: 1.25rem;
}
.qa-window {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow:
    0 50px 100px -45px rgba(11, 18, 36, 0.45),
    0 2px 8px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.qa-window__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.8rem 1.1rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  font: 600 0.82rem/1.2 var(--font-heading);
  color: var(--color-text-light);
}
.qa-window__dots {
  display: flex;
  gap: 6px;
}
.qa-window__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}
.qa-window__title {
  color: var(--color-secondary);
}
.qa-window__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.qa-window__meta span {
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: 0.74rem;
}
.qa-window__open {
  margin-left: auto;
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qa-window iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ---------- 01 prices: drawing cards ---------- */
.qb-parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.qb-part {
  --p: var(--fdm);
  display: flex;
  flex-direction: column;
  padding: 0 0 0.9rem;
  transition:
    border-color 0.3s,
    box-shadow 0.4s,
    transform 0.4s var(--ease-out);
}
.qb-part:hover {
  border-color: color-mix(in srgb, var(--p) 45%, #fff);
  box-shadow: 0 24px 50px -36px color-mix(in srgb, var(--p) 70%, #000);
  transform: translateY(-3px);
}
.qb-part__hd {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--hair);
}
.qb-part__no {
  font: 700 0.72rem/1 var(--mono);
  color: var(--color-text-lighter);
}
.qb-part__hd h3 {
  flex: 1;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0;
}
.qb-chip {
  padding: 0.28rem 0.45rem;
  border-radius: 5px;
  background: color-mix(in srgb, var(--c, var(--p)) 10%, #fff);
  color: var(--c, var(--p));
  font: 700 0.68rem/1 var(--mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.qb-part__draw {
  position: relative;
  aspect-ratio: 320 / 200;
  margin: 0.6rem 0.6rem 0;
  background:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px) 0 0 / 100% 16px,
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px) 0 0 / 16px 100%,
    #fcfdff;
}
.qb-part__draw svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.qb-part .qb-iso {
  --pc: var(--p);
}
.js .qb-part .qb-iso .e,
.js .qb-part .qb-iso .t {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .qb-part .qb-iso .t {
  fill-opacity: 0;
}
.js .qb-part .qb-iso .w,
.js .qb-part .qb-iso .dms {
  opacity: 0;
}
.js .qb-part.is-in .qb-iso .e,
.js .qb-part.is-in .qb-iso .t {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s var(--ease) 0.15s;
}
.js .qb-part.is-in .qb-iso .t {
  fill-opacity: 1;
  transition:
    stroke-dashoffset 1.1s var(--ease) 0.15s,
    fill-opacity 0.5s ease 0.9s;
}
.js .qb-part.is-in .qb-iso .w {
  opacity: 1;
  transition: opacity 0.5s ease 0.75s;
}
.js .qb-part.is-in .qb-iso .dms {
  opacity: 1;
  transition: opacity 0.5s ease 1.15s;
}
.qb-part__spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0.65rem 1rem 0.5rem;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.qb-part__spec div {
  padding: 0.5rem 0;
}
.qb-part__spec div + div {
  padding-left: 0.8rem;
  border-left: 1px solid var(--hair);
}
.qb-part__spec dt {
  font: 600 0.62rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-lighter);
  margin-bottom: 0.3rem;
}
.qb-part__spec dd {
  margin: 0;
  font: 600 0.84rem/1.2 var(--mono);
  color: var(--ink);
}
.qb-qs {
  list-style: none;
  margin: 0.35rem 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}
.qb-qs li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.75rem;
  align-items: baseline;
  font-size: 0.8rem;
  color: var(--color-text);
}
.qb-qs li b {
  font: 700 0.92rem/1 var(--mono);
  color: var(--ink);
}
.qb-qs li.is-batch b {
  color: var(--c, var(--p));
}
.qb-qs li i {
  grid-column: 1 / -1;
  position: relative;
  height: 5px;
  border-radius: 3px;
  background: #eef2f7;
}
.qb-qs li i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: 3px;
  background: var(--c, var(--p));
  transform-origin: left;
}
.js .qb-qs li i::before {
  transform: scaleX(0);
}
.js .is-in .qb-qs li i::before {
  transform: none;
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--k, 0) * 120ms + 0.9s);
}
.qb-under {
  margin-top: 1.4rem;
  font-size: 0.86rem;
}
.qb-table {
  margin-top: 1rem;
  border-top: 1px solid var(--hair);
}
.qb-table summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 0;
  cursor: pointer;
  list-style: none;
  font: 600 0.9rem/1 var(--font-heading);
  color: #1d4ed8;
}
.qb-table summary::-webkit-details-marker {
  display: none;
}
.qb-table summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  font: 700 0.9rem/1 var(--mono);
  transition: transform 0.4s var(--ease-out);
}
.qb-table[open] summary::before {
  transform: rotate(45deg);
}
.qb-table::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.5s var(--ease),
    content-visibility 0.5s allow-discrete;
}
.qb-table[open]::details-content {
  block-size: auto;
}
.qb-table__scroll {
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.qb-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.qb-table caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}
.qb-table th,
.qb-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--hair);
  font-weight: 400;
}
.qb-table thead th {
  font: 600 0.66rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.qb-table tbody th {
  font-weight: 600;
  color: var(--ink);
}
.qb-table td.n {
  font-family: var(--mono);
  white-space: nowrap;
}

/* ---------- 02 pricing: one card per process ---------- */
.qb-procs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.qb-proc {
  --c: var(--fdm);
  display: flex;
  flex-direction: column;
}
.qb-proc[data-p="sla"] {
  --c: var(--sla);
}
.qb-proc[data-p="sls"] {
  --c: var(--sls);
}
.qb-proc__hd {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 1rem 1.15rem 0.85rem;
  border-bottom: 1px solid var(--hair);
}
.qb-proc__hd::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: var(--c);
  transform-origin: left;
}
.js .qb-proc .qb-proc__hd::before {
  transform: scaleX(0);
}
.js .qb-proc.is-in .qb-proc__hd::before {
  transform: none;
  transition: transform 1s var(--ease) 0.2s;
}
.qb-proc__hd h3 {
  flex: 1;
  font-size: 1.15rem;
  margin: 0;
}
.qb-proc__hd h3 a:hover {
  color: var(--c);
}
.qb-rush {
  font: 600 0.72rem/1 var(--mono);
  color: var(--color-text-light);
}
.qb-rush b {
  color: var(--c);
}
.qb-dia {
  position: relative;
  margin: 0.75rem 0.75rem 0;
  aspect-ratio: 300 / 170;
  background:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px) 0 0 / 100% 16px,
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px) 0 0 / 16px 100%,
    #fcfdff;
}
.qb-dia > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.qb-dia text {
  font: 600 9.5px var(--mono);
  fill: var(--color-text-light);
}
.qb-dia .lbl {
  fill: var(--ink);
}
.qb-dia .ld {
  fill: none;
  stroke: var(--color-text-lighter);
  stroke-width: 0.8;
}
.qb-pay {
  list-style: none;
  margin: 0.9rem 1.15rem 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.qb-pay li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text);
}
.qb-pay li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c);
}
.qb-pay small {
  display: block;
  color: var(--color-text-light);
  font-size: 0.8rem;
}
.qb-pay:last-child {
  margin-bottom: 1.15rem;
}

/* FDM: infill toggle */
.qb-fdm-top {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  top: 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
.qb-seg {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--hair);
}
.qb-seg button {
  position: relative;
  z-index: 1;
  width: 3.4rem;
  padding: 0.35rem 0;
  border-radius: 6px;
  font: 700 0.76rem/1 var(--mono);
  color: var(--color-text-light);
  transition: color 0.3s;
}
.qb-seg button[aria-pressed="true"] {
  color: #fff;
}
.qb-seg::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 3.4rem;
  height: calc(100% - 6px);
  border-radius: 6px;
  background: var(--fdm);
  transition: transform 0.45s var(--ease-out);
}
.qb-infill[data-v="60"] .qb-seg::after {
  transform: translateX(100%);
}
.qb-infill__ref {
  margin-right: 0.4rem;
  font: 600 0.66rem/1 var(--mono);
  color: var(--color-text-lighter);
}
.qb-infill__price {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--hair);
  font: 700 0.95rem/1 var(--mono);
  color: var(--ink);
}
.qb-infill__price em {
  font-style: normal;
  font-size: 0.7rem;
  color: #b45309;
  margin-left: 0.3rem;
  transition: opacity 0.3s;
}
.qb-infill[data-v="20"] .qb-infill__price em {
  opacity: 0;
}
.qb-infill .ix {
  transition: opacity 0.55s ease;
}
.qb-infill[data-v="20"] .ix-60,
.qb-infill[data-v="60"] .ix-20 {
  opacity: 0;
}

/* SLA: part grows down from the build plate */
.sla-sup line {
  stroke: var(--sla);
  stroke-width: 1.2;
}
.js .qb-proc .sla-sup line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .qb-proc.is-in .sla-sup line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.6s var(--ease) calc(0.3s + var(--k, 0) * 60ms);
}
.sla-part {
  transform-box: fill-box;
  transform-origin: top;
}
.js .qb-proc .sla-part {
  clip-path: inset(0 0 100% 0);
}
.js .qb-proc.is-in .sla-part {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.6s steps(12, end) 1s;
}

/* SLS: parts settle into the powder, then the wrap draws round one of them */
.sls-p {
  transform-box: fill-box;
  transform-origin: center;
}
.js .qb-proc .sls-p {
  opacity: 0;
  transform: translateY(-8px);
}
.js .qb-proc.is-in .sls-p {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s ease,
    transform 0.6s var(--ease-out);
  transition-delay: calc(0.3s + var(--k, 0) * 90ms);
}
.sls-wrap {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
}
.js .qb-proc .sls-wrap {
  opacity: 0;
}
.js .qb-proc.is-in .sls-wrap {
  opacity: 1;
  transition: opacity 0.6s ease 1.3s;
}

/* on every order */
.qb-order {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
  border: 1px solid var(--hair);
  background: #fff;
}
.qb-order > div {
  padding: 1rem 1.15rem;
}
.qb-order > div + div {
  border-left: 1px solid var(--hair);
}
.qb-order b {
  display: block;
  font: 800 1.55rem/1 var(--font-heading);
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.qb-order > div > span {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--color-text-light);
}
.qb-order__h {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  font: 600 0.74rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.qb-tips {
  margin-top: 2.5rem;
}
.qb-tips h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.qb-tips ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.qb-tips li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-light);
}
.qb-tips li b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.qb-check {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.qb-check rect {
  fill: #ecfdf5;
  stroke: #34d399;
}
.qb-check path {
  fill: none;
  stroke: #047857;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .qb-check path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .is-in .qb-check path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.45s var(--ease);
  transition-delay: calc(var(--k) * 160ms + 0.3s);
}

/* ---------- 03 files ---------- */
.qb-files {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.qb-checks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}
.qb-checks li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1.1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--hair);
}
.qb-checks h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.qb-checks p {
  font-size: 0.9rem;
  line-height: 1.55;
}
.qb-ico {
  width: 76px;
  height: 76px;
  border: 1px solid var(--hair);
  background:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px) 0 0 / 100% 10px,
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px) 0 0 / 10px 100%,
    #fcfdff;
}
.qb-ico .s {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.qb-ico .b {
  fill: rgba(37, 99, 235, 0.1);
  stroke: var(--blue);
  stroke-width: 1.6;
}
.qb-ico .r {
  fill: none;
  stroke: #dc2626;
  stroke-width: 1.4;
  stroke-dasharray: 3 2;
}
.qb-ico text {
  font: 700 9px var(--mono);
  fill: var(--blue);
}
.js .qb-ico .s,
.js .qb-ico .b {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .is-in .qb-ico .s,
.js .is-in .qb-ico .b {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s var(--ease);
  transition-delay: calc(var(--k, 0) * 200ms + 0.25s);
}
.qb-vol {
  margin: 0;
  padding: 0;
}
.qb-vol__hd {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--hair);
  font: 600 0.72rem/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.qb-vol__hd b {
  color: var(--ink);
}
.qb-vol__stage {
  position: relative;
  aspect-ratio: 360 / 200;
  background:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px) 0 0 / 100% 16px,
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px) 0 0 / 16px 100%,
    #fcfdff;
}
.qb-vol__stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bv--fdm { --pc: var(--fdm); }
.bv--sla { --pc: var(--sla); }
.bv--sls { --pc: var(--sls); }
.bv .t,
.bv .e {
  stroke: color-mix(in srgb, var(--pc) 75%, var(--ink));
}
.bv-n {
  font: 700 10px var(--mono);
  fill: var(--pc);
  letter-spacing: 0.06em;
}
.js .qb-vol .bv .e,
.js .qb-vol .bv .t {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .qb-vol .bv .t {
  fill-opacity: 0;
}
.js .qb-vol .bv .w,
.js .qb-vol .bv-n {
  opacity: 0;
}
.js .qb-vol.is-in .bv .e,
.js .qb-vol.is-in .bv .t {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s var(--ease) calc(0.25s + var(--k) * 0.35s);
}
.js .qb-vol.is-in .bv .t {
  fill-opacity: 1;
  transition:
    stroke-dashoffset 1.1s var(--ease) calc(0.25s + var(--k) * 0.35s),
    fill-opacity 0.5s ease calc(1s + var(--k) * 0.35s);
}
.js .qb-vol.is-in .bv .w,
.js .qb-vol.is-in .bv-n {
  opacity: 1;
  transition: opacity 0.5s ease calc(0.9s + var(--k) * 0.35s);
}
.qb-vol table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  border-top: 1px solid var(--hair);
}
.qb-vol caption {
  padding: 0.8rem 1rem 0.2rem;
  text-align: left;
  font: 700 0.95rem/1.3 var(--font-heading);
  color: var(--ink);
}
.qb-vol th,
.qb-vol td {
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--hair);
  font-weight: 400;
  vertical-align: top;
}
.qb-vol thead th {
  font: 600 0.64rem/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.qb-vol tbody tr:last-child > * {
  border-bottom: 0;
}
.qb-vol tbody th a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: 700 0.9rem/1 var(--font-heading);
  color: var(--ink);
}
.qb-vol tbody th a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1.5px solid var(--c);
  background: color-mix(in srgb, var(--c) 15%, #fff);
}
.qb-vol tbody th a:hover {
  color: var(--c);
}
.qb-vol td {
  font: 500 0.8rem/1.35 var(--mono);
  color: var(--color-text);
}
.qb-vol td small {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--color-text-light);
}
.qb-note {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ---------- 04 materials by process ---------- */
.qb-mats {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.qb-mcol {
  --c: var(--fdm);
  padding-bottom: 0.4rem;
}
.qb-mcol[data-p="sla"] {
  --c: var(--sla);
}
.qb-mcol[data-p="sls"] {
  --c: var(--sls);
}
.qb-mcol[data-p="metal"] {
  --c: var(--metal);
  margin-top: 1.25rem;
  background: transparent;
  border-style: dashed;
}
.qb-mcol__hd {
  position: relative;
  padding: 1rem 1.1rem 0.9rem;
  border-bottom: 1px solid var(--hair);
}
.qb-mcol__hd::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: var(--c);
  transform-origin: left;
}
.js .qb-mcol .qb-mcol__hd::before {
  transform: scaleX(0);
}
.js .qb-mcol.is-in .qb-mcol__hd::before {
  transform: none;
  transition: transform 1s var(--ease) 0.2s;
}
.qb-mcol__top {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.qb-mcol__top h3 {
  flex: 1;
  font-size: 1.15rem;
  margin: 0;
}
.qb-mcol__top h3 a:hover {
  color: var(--c);
}
.qb-mcol__n {
  font: 800 1.9rem/1 var(--font-heading);
  color: var(--c);
}
.qb-mcol__for {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  line-height: 1.45;
}
.qb-mcol__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}
.qb-mcol__meta span {
  padding: 0.25rem 0.45rem;
  border-radius: 5px;
  background: color-mix(in srgb, var(--c) 8%, #fff);
  color: color-mix(in srgb, var(--c) 80%, #000);
  font: 600 0.7rem/1.1 var(--mono);
}
.qb-mlist {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}
.qb-mcol[data-p="fdm"] .qb-mlist {
  columns: 2;
  column-gap: 0;
}
.qb-mgroup {
  padding: 0.55rem 1.1rem 0.15rem;
  font: 600 0.62rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-lighter);
  break-after: avoid;
}
.qb-mlist li:not(.qb-mgroup) {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.32rem 1.1rem;
  font-size: 0.88rem;
  color: var(--color-text);
  break-inside: avoid;
  transition:
    background 0.25s,
    color 0.25s;
}
.qb-mlist li:not(.qb-mgroup):hover {
  background: color-mix(in srgb, var(--c) 7%, #fff);
  color: var(--ink);
}
.qb-mlist li:not(.qb-mgroup)::before {
  content: attr(data-n);
  flex: 0 0 auto;
  width: 1.9rem;
  font: 600 0.66rem/1 var(--mono);
  color: var(--c);
}
.qb-mlist small {
  font-size: 0.72rem;
  color: var(--color-text-light);
}
.js .qb-mcol .qb-mlist li:not(.qb-mgroup) {
  opacity: 0;
  transform: translateX(-6px);
}
.js .qb-mcol.is-in .qb-mlist li:not(.qb-mgroup) {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.45s ease,
    transform 0.5s var(--ease-out),
    background 0.25s;
  transition-delay: calc(var(--k, 0) * 35ms + 0.3s);
}
.qb-mcol__foot {
  padding: 0.4rem 1.1rem 0.4rem;
  font-size: 0.8rem;
  line-height: 1.45;
}
.qb-more {
  display: inline-flex;
  gap: 0.35rem;
  margin: 0.3rem 1.1rem 0.4rem;
  font: 600 0.85rem/1.2 var(--font-heading);
  color: var(--c);
}
.qb-more::after {
  content: "→";
  transition: transform 0.3s var(--ease-out);
}
.qb-more:hover::after {
  transform: translateX(4px);
}

/* ---------- FAQ ---------- */
.qb-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  border-top: 1px solid var(--hair);
}
.qb-q {
  border-bottom: 1px solid var(--hair);
}
.qb-q summary {
  display: grid;
  grid-template-columns: 2.6rem 1fr 24px;
  align-items: center;
  gap: 0.4rem;
  padding: 0.95rem 0;
  cursor: pointer;
  list-style: none;
}
.qb-q summary::-webkit-details-marker {
  display: none;
}
.qb-q__n {
  font: 600 0.72rem/1 var(--mono);
  color: var(--blue);
}
.qb-q summary h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
  transition: color 0.3s;
}
.qb-q summary:hover h3 {
  color: #1d4ed8;
}
.qb-q summary i {
  position: relative;
  width: 24px;
  height: 24px;
}
.qb-q summary i::before,
.qb-q summary i::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-out);
}
.qb-q summary i::after {
  transform: rotate(90deg);
}
.qb-q[open] summary i::after {
  transform: rotate(0deg);
}
.qb-q[open] summary i::before {
  transform: rotate(180deg);
}
.qb-q::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.45s var(--ease),
    content-visibility 0.45s allow-discrete;
}
.qb-q[open]::details-content {
  block-size: auto;
}
.qb-q__a {
  padding: 0 0 1rem 3rem;
}
.qb-q__a p {
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ---------- reviews ---------- */
.qb-rating {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.1rem 0.9rem;
  justify-self: end;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--hair);
  background: #fff;
  transition: border-color 0.3s;
}
.qb-rating:hover {
  border-color: #fcd34d;
}
.qb-rating > b {
  grid-row: 1 / 3;
  font: 800 2.4rem/1 var(--font-heading);
  color: var(--ink);
}
.qb-rating > span:last-child {
  font-size: 0.84rem;
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qb-stars {
  font-size: 1.15rem;
  letter-spacing: 3px;
  line-height: 1;
  background: linear-gradient(90deg, #f59e0b 50%, #e2e8f0 50%) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.js [data-reveal] .qb-stars {
  background-position: 100% 0;
}
.js [data-reveal].is-in .qb-stars {
  background-position: 0 0;
  transition: background-position 1.2s var(--ease) 0.3s;
}
.qb-rvws {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.qb-rvw {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.3rem 1.35rem 1.15rem;
}
.qb-rvw--lg {
  grid-row: span 2;
}
.qb-rvw--wide {
  grid-column: 2 / 4;
}
.qb-rvw .qb-stars {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.qb-rvw blockquote {
  margin: 0 0 1rem;
}
.qb-rvw blockquote p {
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.65;
}
.qb-rvw--lg blockquote p {
  font-size: 1.04rem;
  line-height: 1.7;
}
.qb-rvw figcaption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hair);
  font-size: 0.84rem;
  color: var(--color-text-light);
}
.qb-rvw figcaption b {
  color: var(--ink);
}
.qb-av {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--a, var(--blue)) 14%, #fff);
  color: var(--a, var(--blue));
  font: 700 0.8rem/1 var(--font-heading);
}

/* closing band */
.qb-band {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(120deg, #1d4ed8, #2563eb 55%, #0ea5e9);
  color: #fff;
}
.qb-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.container.qb-band__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1.75rem 3rem;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.qb-band p {
  color: #dbeafe;
  font-size: 1rem;
}
.qb-band strong {
  display: block;
  font: 800 clamp(1.4rem, 2.6vw, 2rem) / 1.15 var(--font-heading);
  color: #fff;
  margin-bottom: 0.3rem;
}
.qb-band__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.qb-routes h2 {
  font: 700 0.78rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
  margin-bottom: 0.7rem;
}
.qb-routes ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.qb-routes li a {
  position: relative;
  display: grid;
  gap: 0.25rem;
  height: 100%;
  padding: 0.9rem 1rem 2.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition:
    background 0.3s,
    transform 0.35s var(--ease-out);
}
.qb-routes li a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}
.qb-routes li a::after {
  content: "→";
  position: absolute;
  left: 1rem;
  bottom: 0.7rem;
  transition: transform 0.35s var(--ease-out);
}
.qb-routes li a:hover::after {
  transform: translateX(4px);
}
.qb-routes li b {
  font: 700 0.98rem/1.25 var(--font-heading);
}
.qb-routes li span {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #dbeafe;
}
.qb-routes__more {
  margin-top: 0.8rem;
  font-size: 0.86rem;
}
.qb-routes__more a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* floating upload button once the tool has scrolled away */
.qb-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.15rem 0.8rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 0.92rem/1 var(--font-heading);
  box-shadow: 0 16px 34px -14px rgba(15, 23, 42, 0.65);
  transform: translateY(140%);
  opacity: 0;
  transition:
    transform 0.55s var(--ease-out),
    opacity 0.35s ease;
}
.qb-fab.is-on {
  transform: none;
  opacity: 1;
}
.qb-fab::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.qb-fab:hover {
  background: #1e293b;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .container.qb-hero__wrap,
  .qb-head,
  .qb-files,
  .container.qb-band__in {
    grid-template-columns: 1fr;
  }
  .qa-live {
    max-width: 640px;
  }
  .qb-rating {
    justify-self: start;
  }
  .qb-parts,
  .qb-tips ul {
    grid-template-columns: 1fr 1fr;
  }
  .qb-procs {
    grid-template-columns: 1fr 1fr;
  }
  .qb-procs > [data-p="sls"] {
    grid-column: 1 / -1;
  }
  .qb-order {
    grid-template-columns: 1fr 1fr;
  }
  .qb-order > div:nth-child(3) {
    border-left: 0;
  }
  .qb-order > div:nth-child(n + 3) {
    border-top: 1px solid var(--hair);
  }
  .qb-mats {
    grid-template-columns: 1fr 1fr;
  }
  .qb-mats > [data-p="fdm"] {
    grid-column: 1 / -1;
  }
  .qb-rvws {
    grid-template-columns: 1fr 1fr;
  }
  .qb-rvw--lg {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .qb-rvw--wide {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .qb-hero {
    padding: calc(var(--hh) + 1.6rem) 0 5rem;
  }
  .qb-spec {
    grid-template-columns: 1fr 1fr;
  }
  .qb-spec div {
    margin-right: 0;
    padding-right: 0.8rem;
    border-right: 0;
  }
  .qb-spec div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--hair);
  }
  .qa-live__stage {
    display: none;
  }
  .qa-live__rows {
    grid-template-columns: 1fr 1fr;
  }
  .qa-live__total {
    flex-wrap: wrap;
  }
  .qa-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .qa-steps::before,
  .qa-steps::after {
    display: none;
  }
  .qa-steps li {
    padding: 0 0 0 2.6rem;
  }
  .qa-steps li::before {
    width: 28px;
    height: 28px;
    animation: none;
  }
  .qa-steps span {
    font-size: 0.8rem;
  }
  .qa-tool {
    margin-top: -3rem;
  }
  .qa-window__meta {
    display: none;
  }
  .qb-sec {
    padding: 3.25rem 0;
  }
  .qb-parts,
  .qb-procs,
  .qb-tips ul,
  .qb-mats,
  .qb-faq,
  .qb-rvws,
  .qb-routes ul {
    grid-template-columns: 1fr;
  }
  .qb-procs > [data-p="sls"],
  .qb-rvw--lg,
  .qb-rvw--wide {
    grid-column: auto;
  }
  .qb-order {
    grid-template-columns: 1fr 1fr;
  }
  .qb-order b {
    font-size: 1.3rem;
  }
  .qb-mcol[data-p="fdm"] .qb-mlist {
    columns: 1;
  }
  .qb-checks li {
    grid-template-columns: 60px 1fr;
    gap: 0.9rem;
  }
  .qb-ico {
    width: 60px;
    height: 60px;
  }
  .qb-q__a {
    padding-left: 0;
  }
  .qb-routes li a {
    padding-bottom: 0.9rem;
    padding-right: 2.5rem;
  }
  .qb-routes li a::after {
    left: auto;
    right: 1rem;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
  .qb-routes li a:hover::after {
    transform: translate(4px, -50%);
  }
  .qb-fab {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .qa-steps::after {
    display: none;
  }
}
