/* self-hosted fonts (no requests to Google) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   weldXpert — product page
   graphite + steel + the logo's blue
   ========================================================================== */

:root {
  --bg: #101017;
  --bg-2: #16161f;
  --bg-3: #1d1d29;
  --line: rgba(232, 234, 240, 0.09);
  --line-2: rgba(232, 234, 240, 0.16);
  --text: #eceef3;
  --muted: #a3a6b4;
  --blue: #6aaeea;
  --accent: #6aaeea;
  --accent-2: #a9d1f5;
  --accent-deep: #2a77bb;
  --steel: #e9ebef;
  --steel-2: #dcdfe5;
  --ink: #15151d;
  --ink-muted: #545868;
  --ink-line: rgba(21, 21, 29, 0.12);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --label: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --top-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.05;
}

em {
  font-style: normal;
  color: var(--accent);
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* technical-drawing corner ticks */
.ticks {
  position: relative;
}

.ticks::before,
.ticks::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.85;
}

.ticks::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.ticks::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

/* --------------------------------------------------------------------------
   Buttons, kicker, headings
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 600;
  font-size: 16px;
  font-stretch: 110%;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-primary {
  background: var(--accent);
  color: #0d1520;
  box-shadow: 0 10px 30px -14px rgba(106, 174, 234, 0.9);
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-family: var(--label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::after {
  content: "";
  flex: 0 0 60px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.kn {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.h2 {
  max-width: 17em;
  overflow-wrap: break-word;
  font-size: clamp(34px, 4.6vw, 62px);
  font-stretch: 118%;
  letter-spacing: -0.035em;
}

.sub {
  max-width: 34em;
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.sec {
  position: relative;
  padding: clamp(88px, 11vw, 150px) 0;
}

.sec-dark {
  background: var(--bg);
}

.sec-steel {
  background: var(--steel);
  color: var(--ink);
}

.sec-steel .sub,
.sec-steel .kicker {
  color: var(--ink-muted);
}

.sec-steel em {
  color: var(--accent-deep);
}

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

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--top-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.top.scrolled {
  background: rgba(16, 16, 23, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 1px 0 var(--line);
}

.top-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand img {
  width: auto;
  height: 22px;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: flex;
  gap: 2px;
  font-family: var(--label);
  font-weight: 600;
  font-size: 12px;
}

.lang a {
  padding: 6px 7px;
  color: var(--muted);
  text-decoration: none;
}

.lang a[aria-current] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}

.nav-open .burger span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .burger span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--top-h) + 56px) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.9);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 16, 23, 0.95) 0%, rgba(16, 16, 23, 0.8) 45%, rgba(16, 16, 23, 0.35) 100%),
    linear-gradient(120deg, rgba(42, 119, 187, 0) 40%, rgba(42, 119, 187, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(16, 16, 23, 0) 30%);
}

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy > * {
  max-width: 760px;
}

/* the keyword H1 sits in the small eyebrow line above the big slogan */
h1.eyebrow {
  max-width: 46em;
  line-height: 1.45;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-family: var(--label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(106, 174, 234, 0.2), 0 0 18px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}

.hero .hero-slogan {
  margin: 0;
  font-size: clamp(44px, 6.6vw, 96px);
  font-stretch: 120%;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero .hero-slogan em {
  display: block;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 33em;
  margin: 28px 0 36px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: #c7c9d3;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
  background: linear-gradient(var(--line-2), var(--line-2)) top / 100% 1px no-repeat;
  background-origin: content-box;
  background-clip: content-box;
}

.hero-specs div {
  padding: 22px 20px 30px 0;
}

.hero-specs div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-specs b {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-stretch: 120%;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-specs span {
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Why
   -------------------------------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 64px;
}

.why-card {
  padding: 40px 30px 38px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.why-card h3 {
  margin-bottom: 14px;
  font-size: 24px;
  font-stretch: 112%;
  letter-spacing: -0.02em;
}

.why-card p {
  margin: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Quoting
   -------------------------------------------------------------------------- */

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.quote .sub {
  margin-top: 26px;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15.5px;
}

.checks li {
  position: relative;
  padding: 12px 0 0 26px;
  border-top: 1px solid var(--ink-line);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent-deep);
  transform: rotate(45deg);
}

.screen {
  position: relative;
  margin: 0;
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(21, 21, 29, 0.55);
}

.screen video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: #0b0b10;
}

/* on hover the recording grows to the left over the text, like an overlay */
@media (hover: hover) and (min-width: 961px) {
  .quote-grid {
    position: relative;
  }

  .screen {
    z-index: 2;
    transform-origin: right center;
    transition: scale 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }

  .screen:hover,
  .screen:focus-within {
    scale: 1.55;
    box-shadow: 0 60px 120px -30px rgba(21, 21, 29, 0.7);
  }

  .screen .sound-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 16, 23, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.sound-btn[aria-pressed="true"] {
  background: var(--accent);
  color: #0d1520;
}

.stat-badge {
    transition: opacity 0.3s;
  }

  .screen:hover .stat-badge,
  .screen:focus-within .stat-badge {
    opacity: 0;
  }

  .quote-copy {
    transition: opacity 0.6s var(--ease);
  }

  .quote-grid:has(.screen:hover) .quote-copy {
    opacity: 0.25;
  }
}

.stat-badge {
  position: absolute;
  left: -28px;
  bottom: -28px;
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 20px 40px -16px rgba(42, 119, 187, 0.7);
}

.stat-badge b {
  font-size: 38px;
  font-stretch: 120%;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-badge span {
  margin-top: 6px;
  font-family: var(--label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Flow
   -------------------------------------------------------------------------- */

.line-wrap {
  position: relative;
  padding-top: 44px;
}

.line {
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-2);
}

.beam i {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px var(--accent);
}

.beam i::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px 4px var(--accent-2);
}

.line li {
  position: relative;
  padding-right: 22px;
}

.line li::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--line-2);
  background: var(--bg);
  transform: rotate(45deg);
  transition: border-color 0.3s, background 0.3s;
}

.line li.lit::before {
  border-color: var(--accent);
  background: var(--accent);
}

.st-n {
  font-family: var(--label);
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
}

.line h3 {
  margin: 10px 0 10px;
  font-size: 21px;
  font-stretch: 112%;
}

.line p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Modules explorer
   -------------------------------------------------------------------------- */

.modules {
  background: var(--steel-2);
}

.explorer {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border: 1px solid var(--ink-line);
  background: var(--steel);
}

.tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink-line);
}

.tabs button {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 22px;
  border: 0;
  border-bottom: 1px solid var(--ink-line);
  background: none;
  color: var(--ink-muted);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.tabs button:last-child {
  border-bottom: 0;
}

.tabs button:hover {
  color: var(--ink);
}

.tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--ink);
  box-shadow: inset 3px 0 0 var(--accent);
}

.panels {
  position: relative;
  min-height: 560px;
  background: var(--ink);
}

.panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  overflow: hidden;
  animation: panel-in 0.5s var(--ease);
}

.panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
  }
}

.panel-media {
  position: absolute;
  inset: 0;
}

.panel-media img,
.panel-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
}

.panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 16, 23, 0) 35%, rgba(16, 16, 23, 0.55) 100%);
}

.panel-copy {
  position: relative;
  width: 100%;
  max-width: var(--w, 600px);
  padding: 28px 30px 30px;
  border-top: 2px solid var(--accent);
  background: rgba(16, 16, 23, 0.44);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  color: var(--text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.panel-copy h3 {
  overflow-wrap: break-word;
  font-size: 28px;
  font-stretch: 115%;
  letter-spacing: -0.025em;
}

.panel-copy p {
  margin: 12px 0 20px;
  font-size: 16px;
  color: #c6c9d4;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 12px;
  border: 1px solid rgba(232, 234, 240, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  font-weight: 500;
  color: #e3e5ec;
}

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

.band {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.band video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

.band-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 16, 23, 0.92), rgba(16, 16, 23, 0.45));
}

.band-q {
  max-width: 15em;
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  font-stretch: 122%;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.band-q em {
  color: var(--accent-2);
}

.band-src {
  display: inline-block;
  margin-top: 30px;
  font-family: var(--label);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.band-src:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Integrations
   -------------------------------------------------------------------------- */

.int-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.int-col {
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.int-col h3 {
  font-size: 22px;
  font-stretch: 112%;
}

.int-col p {
  margin: 10px 0 26px;
  font-size: 15px;
  color: var(--muted);
}

.plates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plates li {
  position: relative;
  padding: 13px 8px 13px 26px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-size: 15px;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.plates li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
}

/* --------------------------------------------------------------------------
   Shop floor
   -------------------------------------------------------------------------- */

.floor {
  padding-top: 0;
}

.floor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.floor-media {
  position: relative;
  padding: 0 12% 18% 0;
}

.floor-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fm-b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52% !important;
  border: 6px solid var(--bg);
}

.floor .sub {
  margin-top: 24px;
}

.floor-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.floor-list li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.floor-list h3 {
  font-size: 20px;
  font-stretch: 112%;
}

.floor-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
}

.faq-list details {
  border-top: 1px solid var(--ink-line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--ink-line);
}

.faq-list summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.pm {
  position: relative;
  flex: 0 0 16px;
  height: 16px;
  margin-top: 5px;
}

.pm::before,
.pm::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
  background: var(--accent-deep);
  transition: transform 0.3s var(--ease);
}

.pm::after {
  transform: rotate(90deg);
}

details[open] .pm::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 40em;
  margin: -6px 0 24px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   CTA + footer
   -------------------------------------------------------------------------- */

.cta {
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(106, 174, 234, 0.16), transparent 65%),
    var(--bg);
}

.cta-in {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px 56px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-2);
}

.cta .h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

.cta .sub {
  grid-column: 1;
  margin: 0;
  font-size: 17px;
}

.cta .actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  flex-direction: column;
  align-items: flex-start;
}

.mail {
  font-size: 15px;
  color: var(--muted);
}

.social {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.social span {
  font-family: var(--label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}

.social a {
  text-decoration: none;
}

.social a:hover {
  color: var(--accent-2);
}

.foot {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: #0c0c12;
  font-size: 14.5px;
  color: var(--muted);
}

.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.foot-brand img {
  width: auto;
  height: 22px;
}

.foot-brand p {
  max-width: 24em;
  margin: 18px 0 0;
}

.foot-by {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.foot-by span {
  font-family: var(--label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot a,
.cookie-settings {
  color: var(--text);
  text-decoration: none;
}

.foot a:hover,
.cookie-settings:hover {
  color: var(--accent-2);
}

.foot-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.cookie-settings {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: min(420px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--accent);
  background: var(--bg-3);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.consent[hidden] {
  display: none;
}

.consent p {
  margin: 0 0 16px;
}

.consent b {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--text);
}

.consent a {
  color: var(--blue);
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.consent-actions .btn {
  flex: 1;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dot {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .nav a {
    padding: 8px 8px;
    font-size: 14px;
  }

  .explorer {
    grid-template-columns: minmax(0, 1fr);
  }

  .tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ink-line);
    scrollbar-width: none;
  }

  .tabs button {
    flex: 0 0 auto;
    border-bottom: 0;
    border-right: 1px solid var(--ink-line);
  }

  .tabs button[aria-selected="true"] {
    box-shadow: inset 0 -3px 0 var(--accent);
  }
}

@media (max-width: 960px) {
  :root {
    --top-h: 64px;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--top-h) 0 auto;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-open .top {
    background: var(--bg-2);
  }

  .top-actions {
    margin-left: auto;
  }

  .top-actions .btn {
    display: none;
  }

  .burger {
    margin-left: 0;
  }

  .quote-grid,
  .floor-grid,
  .faq-grid,
  .split-head {
    grid-template-columns: 1fr;
  }

  .split-head {
    gap: 22px;
    margin-bottom: 44px;
  }

  .hero-specs {
    grid-template-columns: 1fr 1fr;
  }

  .hero-specs div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-specs div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .why-grid,
  .int-grid {
    grid-template-columns: 1fr;
  }

  .line-wrap {
    padding: 0 0 0 36px;
  }

  .line {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .beam {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .beam i {
    inset: 0 0 auto 0;
    width: 100%;
    height: calc(var(--p, 0) * 100%);
  }

  .beam i::after {
    right: -4px;
    top: auto;
    bottom: -5px;
  }

  .line li::before {
    top: 6px;
    left: -37px;
  }

  .panels {
    min-height: 0;
  }

  .panel {
    position: relative;
    display: block;
    padding: 0 12px 12px;
  }

  .panel-media {
    position: relative;
    height: 240px;
    margin: 0 -12px;
  }

  .panel-copy {
    max-width: none;
    margin-top: -56px;
    padding: 22px 20px;
  }

  .cta-in {
    grid-template-columns: 1fr;
  }

  .cta .actions {
    grid-column: 1;
    grid-row: auto;
  }

  .stat-badge {
    left: 12px;
    bottom: -24px;
  }

  .foot-in {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  /* long German compounds: hyphenate only where the width is really short */
  .h2,
  .panel-copy h3 {
    -webkit-hyphens: auto;
    hyphens: auto;
  }

  .ticket dl {
    grid-template-columns: 1fr 1fr;
  }

  .ticket dl div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .ticket-total {
    min-width: 0;
  }

  .ticket-total b {
    font-size: 21px;
  }

  .checks,
  .plates {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .top-actions .btn {
    width: auto;
  }
}

/* ==========================================================================
   weldXpert additions
   ========================================================================== */

/* documents viewer */
.doc-screen {
  aspect-ratio: 4 / 3.2;
  padding: 14px;
  background: #fff;
  border-radius: 10px;
}

.doc-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s;
}

.doc-screen img.swap {
  opacity: 0;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.thumbs button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--ink-line);
  background: #fff;
  color: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.thumbs button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}

.thumbs button:hover,
.thumbs button[aria-pressed="true"] {
  border-color: var(--accent-deep);
  color: var(--ink);
}

.thumbs button[aria-pressed="true"] {
  box-shadow: inset 0 -3px 0 var(--accent-deep);
}

/* still photo in the band */
.band-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

/* references */
.ref-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.ref-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 28px;
  border: 1px solid var(--ink-line);
  background: #fff;
}

.ref-logos img {
  max-width: 100%;
  max-height: 84px;
  width: auto;
  height: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}

.ref-logos li:hover img {
  filter: none;
  opacity: 1;
}

.ref-logos li.on-dark {
  background: var(--ink);
}

.ref-logos li.on-dark img {
  filter: grayscale(1) brightness(1.4);
}

.ref-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}

/* security & support */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.sec-card {
  padding: 32px 30px 34px;
  background: var(--bg);
}

.sec-card h3 {
  position: relative;
  padding-left: 20px;
  font-size: 20px;
  font-stretch: 112%;
}

.sec-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.sec-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* contact */
.contact {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(106, 174, 234, 0.14), transparent 65%),
    var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.contact .sub {
  margin: 24px 0 30px;
}

.foot-mail {
  display: inline-block;
  margin-top: 10px;
}

.contact .social {
  margin-top: 30px;
}

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
}

.form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.form input,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form textarea {
  resize: vertical;
}

.form .btn {
  justify-self: start;
}

.form-hint {
  margin: -6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 961px) {
  .foot-in {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  }
}

.foot-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.foot-social span {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.foot-by {
  font-style: normal;
  line-height: 1.6;
}

.legal-note {
  font-size: 12px;
  opacity: 0.65;
}

/* legal pages */
.legal-head {
  padding: calc(var(--top-h) + 72px) 0 56px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(106, 174, 234, 0.16), transparent 65%),
    var(--bg);
}

.legal-head h1 {
  font-size: clamp(38px, 5vw, 68px);
  font-stretch: 118%;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.legal {
  padding-top: 72px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: calc(var(--top-h) + 24px);
}

.legal-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink-line);
}

.legal-aside a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-line);
  color: var(--ink-muted);
  font-weight: 600;
  text-decoration: none;
}

.legal-aside a:hover,
.legal-aside a[aria-current] {
  color: var(--ink);
}

.legal-aside a[aria-current] {
  box-shadow: inset 3px 0 0 var(--accent-deep);
  padding-left: 14px;
}

.legal-content {
  max-width: 780px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #2b2d38;
}

.legal-content h3 {
  margin: 48px 0 14px;
  font-size: 26px;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-content > h3:first-child {
  margin-top: 0;
}

.legal-content h4 {
  margin: 28px 0 8px;
  font-size: 18px;
  color: var(--ink);
}

.legal-content h3 + h4 {
  margin-top: 12px;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent-deep);
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-aside {
    position: static;
  }

  .sec-grid,
  .ref-logos {
    grid-template-columns: 1fr 1fr;
  }

  .thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sec-grid {
    grid-template-columns: 1fr;
  }

  .ref-logos li {
    height: 110px;
    padding: 18px;
  }
}

/* --------------------------------------------------------------------------
   Module + guide pages (tools/build_pages.py)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: calc(var(--top-h) + 64px) 0 72px;
  background:
    radial-gradient(700px 360px at 88% 0%, rgba(106, 174, 234, 0.18), transparent 65%),
    var(--bg);
}

.page-hero .wrap > * {
  max-width: 820px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  font-size: 13.5px;
  color: var(--muted);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--text);
}

.crumbs [aria-current] {
  color: var(--text);
}

.page-hero h1.eyebrow {
  margin-bottom: 22px;
}

.page-slogan {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 74px);
  font-stretch: 120%;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.page-slogan em {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-meta {
  margin: 28px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.article {
  padding-top: 80px;
}

.article-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.toc p {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.toc a {
  font-size: 15px;
}

.prose {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.75;
  color: #2b2d38;
}

.prose-sec + .prose-sec {
  margin-top: 64px;
}

.prose h2 {
  margin: 0 0 20px;
  scroll-margin-top: calc(var(--top-h) + 24px);
  font-size: clamp(28px, 3vw, 38px);
  font-stretch: 115%;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.prose h3 {
  margin: 32px 0 10px;
  font-size: 20px;
  color: var(--ink);
}

.prose p {
  margin: 0 0 16px;
}

.prose ol,
.prose ul:not(.checks) {
  margin: 0 0 20px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 10px;
}

.prose b {
  color: var(--ink);
}

.prose a {
  color: #1d5c94;
}

.prose .checks {
  margin: 8px 0 24px;
}

.shot {
  margin: 32px 0;
}

.shot img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  box-shadow: 0 30px 60px -30px rgba(21, 21, 29, 0.5);
}

.shot figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-muted);
}

.note {
  padding: 16px 20px;
  border-left: 3px solid var(--accent-deep);
  background: rgba(42, 119, 187, 0.07);
}

.go {
  margin: 0 0 8px;
}

.go a {
  font-weight: 600;
  text-decoration: none;
}

.go a:hover {
  text-decoration: underline;
}

.table-wrap {
  margin: 24px 0 28px;
  overflow-x: auto;
}

.prose table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.prose caption {
  margin-bottom: 10px;
  text-align: left;
  font-size: 14px;
  color: var(--ink-muted);
}

.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ink-line);
  text-align: left;
  vertical-align: top;
}

.prose thead th {
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

.prose tbody th {
  color: var(--ink);
}

.related .h2 {
  margin-bottom: 48px;
}

.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rel-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line-2);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.rel-card:hover {
  border-color: var(--accent);
  background: rgba(106, 174, 234, 0.06);
}

.rel-k {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.rel-card b {
  font-size: 22px;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rel-card span:last-child {
  font-size: 15.5px;
  color: var(--muted);
}

.panel-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
}

.panel-more:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .toc {
    position: static;
  }

  .rel-grid {
    grid-template-columns: 1fr;
  }
}

.faq .h2,
.prose h2 {
  -webkit-hyphens: auto;
  hyphens: auto;
}
