@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/manrope-400.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/manrope-500.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/manrope-700.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./assets/fonts/manrope-800.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/space-grotesk-400.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/space-grotesk-500.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/space-grotesk-700.ttf") format("truetype");
}

:root {
  --bg: #f7fafc;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --paper-soft: #eef5f9;
  --panel: var(--paper);
  --panel-strong: var(--paper-strong);
  --panel-soft: var(--paper-soft);
  --ink: #0c2234;
  --text: var(--ink);
  --muted: #486173;
  --line: rgba(15, 65, 88, 0.16);
  --line-strong: rgba(15, 65, 88, 0.28);
  --brand: #0f7898;
  --brand-strong: #0a1f31;
  --accent: #0f7898;
  --accent-strong: #00a9d4;
  --warm: #f4b63b;
  --danger: #b54343;
  --shadow: 0 18px 48px rgba(20, 53, 74, 0.12);
  --radius: 18px;
  --radius-lg: 34px;
  --radius-md: 22px;
  --max: 1520px;
  --site-background: #fff8ea url("./assets/images/optimized/sfondo-sito-setec.png") center top / cover fixed no-repeat;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--site-background);
}

body {
  overflow-x: clip;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--site-background);
}

body::before,
body::after {
  content: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 4px;
}

main:focus {
  outline: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell,
main,
footer,
header {
  position: relative;
  z-index: 1;
  background: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border: 1px solid var(--warm);
  border-radius: 999px;
  color: #041018;
  background: var(--warm);
  box-shadow: var(--shadow);
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(calc(100% - 64px), var(--max));
  min-height: 68px;
  margin: 14px auto 0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-logo {
  width: 52px;
  height: 48px;
  object-fit: contain;
}

.brand-name {
  max-width: 190px;
  overflow: hidden;
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(15, 65, 88, 0.04);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.nav a:hover {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(15, 65, 88, 0.08);
}

.nav a[aria-current="page"] {
  border-color: rgba(244, 182, 59, 0.7);
  color: var(--ink);
  background: rgba(244, 182, 59, 0.18);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #041018;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: var(--shadow);
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  text-align: center;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button:focus-visible,
.language-option:focus-visible {
  outline-offset: 3px;
}

.button-secondary,
.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.button-info-light {
  color: #083044;
  border-color: rgba(15, 120, 152, 0.22);
  background: linear-gradient(135deg, #dff7ff, #bdeefa);
  box-shadow: 0 14px 34px rgba(15, 120, 152, 0.14);
}

.button-info-light:hover {
  border-color: rgba(15, 120, 152, 0.36);
  background: linear-gradient(135deg, #e9fbff, #c9f3fb);
}

.button-small {
  min-height: 40px;
  padding-inline: 13px;
  font-size: 0.86rem;
}

.language-dock {
  flex: 0 0 auto;
  margin-left: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 30px;
  padding: 0 6px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.language-option.is-active {
  color: #041018;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.language-flag {
  position: relative;
  inline-size: 18px;
  block-size: 13px;
  min-width: 18px;
  min-height: 13px;
  display: inline-block;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(5, 24, 38, 0.24);
  border-radius: 2px;
  color-scheme: light;
  background-color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  forced-color-adjust: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.language-flag::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background: var(--flag-background, #ffffff);
}

.language-flag-it {
  --flag-background: linear-gradient(90deg, #009246 0 33.333%, #ffffff 33.333% 66.666%, #ce2b37 66.666% 100%);
}

.language-flag-fr {
  --flag-background: linear-gradient(90deg, #0055a4 0 33.333%, #ffffff 33.333% 66.666%, #ef4135 66.666% 100%);
}

.language-flag-es {
  --flag-background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.language-flag-gb {
  --flag-background:
    linear-gradient(27deg, transparent 0 43%, #ffffff 43% 48%, #c8102e 48% 52%, #ffffff 52% 57%, transparent 57% 100%),
    linear-gradient(153deg, transparent 0 43%, #ffffff 43% 48%, #c8102e 48% 52%, #ffffff 52% 57%, transparent 57% 100%),
    linear-gradient(90deg, transparent 0 38%, #ffffff 38% 44%, #c8102e 44% 56%, #ffffff 56% 62%, transparent 62% 100%),
    linear-gradient(180deg, transparent 0 32%, #ffffff 32% 40%, #c8102e 40% 60%, #ffffff 60% 68%, transparent 68% 100%),
    #012169;
}

.language-label {
  line-height: 1;
}

.section {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 58px 0;
}

section[id] {
  scroll-margin-top: 120px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 16px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 50px;
}

.hero-slider-layout {
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding-top: 34px;
}

.hero-copy-centered {
  justify-items: center;
  text-align: center;
}

.hero-copy-centered h1 {
  max-width: 100%;
}

.hero-copy-centered .hero-subtitle {
  max-width: 820px;
}

.hero-visual-wide {
  width: 100%;
}

.hero-after {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.hero-after .hero-actions,
.hero-after .chip-list {
  justify-content: center;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 16px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 42px;
}

.software-hero-centered {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  padding-bottom: 24px;
}

.software-hero-centered .page-hero-copy {
  justify-items: center;
  width: min(100%, 980px);
}

.software-hero-centered .hero-subtitle {
  max-width: 860px;
}

.software-hero-centered .hero-actions {
  justify-content: center;
}

.hero-copy,
.page-hero-copy,
.section-head {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.page-hero-copy,
.page-hero-media,
.product-feature,
.product-feature-media {
  min-width: 0;
}

.hero-copy > *,
.page-hero-copy > *,
.section-head > * {
  max-width: 100%;
  min-width: 0;
}

.eyebrow,
.hero-kicker,
.card-label,
.button,
h1,
h2,
h3,
figcaption,
.footer-kicker,
.language-option {
  font-family: "Space Grotesk", "Manrope", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.eyebrow,
.button,
h1,
h2,
h3,
.footer-kicker,
.solution-code {
  font-family: inherit;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 12ch;
  color: var(--brand-strong);
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 25ch;
  color: var(--brand-strong);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  color: var(--brand-strong);
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-subtitle,
.lead,
.section-head p,
.ribbon-card span,
.support-card p,
.module-overview-card li,
.module-overview-card p,
.list-panel li,
.footer p,
.footer li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.story-panel a,
.contact-card a,
.module-overview-card a {
  text-decoration: underline;
  text-decoration-color: rgba(15, 120, 152, 0.45);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.story-panel a:hover,
.contact-card a:hover,
.module-overview-card a:hover {
  text-decoration-color: currentColor;
}

.hero-subtitle {
  max-width: 620px;
  font-size: 1rem;
}

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

.chip-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(15, 65, 88, 0.04);
  font-size: 0.9rem;
  font-weight: 800;
}

.chip-link-list li {
  padding: 0;
  overflow: hidden;
}

.chip-link-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.chip-link-list a:hover {
  color: var(--brand-strong);
  background: rgba(15, 120, 152, 0.08);
  transform: translateY(-1px);
}

.chip-link-list a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}

.hero-visual {
  min-width: 0;
}

.hero-visual-wide {
  min-width: 0;
}

.page-hero-media,
.detail-card,
.cta-panel,
.product-feature,
.download-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.page-hero-media {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.page-hero-media-cover {
  padding: 0;
}

.page-hero-media-cover img {
  max-height: none;
  object-fit: cover;
  border: 0;
  border-radius: var(--radius-md);
}

.identity-board {
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 18% 20%, rgba(15, 120, 152, 0.08), transparent 34%),
    linear-gradient(135deg, #ffffff, #f4f8fb),
    var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.identity-logo-wrap {
  width: min(245px, 54vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.identity-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.identity-lines {
  display: grid;
  gap: 10px;
}

.identity-lines span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 120, 152, 0.12), rgba(15, 120, 152, 0.28), rgba(244, 182, 59, 0.22));
}

.identity-lines span:nth-child(2) {
  width: 78%;
}

.identity-lines span:nth-child(3) {
  width: 92%;
}

.identity-lines span:nth-child(4) {
  width: 66%;
}

.identity-products,
.ribbon,
.solution-grid,
.support-grid,
.module-overview-grid,
.empty-layout {
  display: grid;
  gap: 14px;
}

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

.identity-products span {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(15, 65, 88, 0.04);
  font-weight: 800;
  text-align: center;
}

.legacy-slideshow,
.story-panel,
.company-image-card,
.service-card,
.project-card,
.hardware-feature,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.legacy-slideshow {
  position: relative;
  height: clamp(620px, 44vw, 780px);
  min-height: 620px;
  overflow: hidden;
  background: #ffffff;
}

.legacy-slide,
.solution-card img,
.service-card img,
.project-card img,
.hardware-feature img,
.company-image-card img {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.legacy-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1.1s ease;
  background: transparent;
}

.legacy-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.legacy-slide::after {
  content: none;
}

.solution-card img,
.service-card img,
.project-card img,
.hardware-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-slide img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  object-position: center;
  transform: scale(0.995);
  transition: transform 5s ease;
}

.legacy-slide.is-active img {
  transform: scale(1);
}

.legacy-slide-laser,
.legacy-slide-laser img {
  background: #080b0c;
}

.legacy-slide-laser img,
.legacy-slide-laser.is-active img {
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.legacy-slide-service img,
.legacy-slide-service.is-active img {
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.legacy-slide-service .legacy-slide-caption {
  display: none;
}

.legacy-slide-caption {
  position: absolute;
  right: 32px;
  bottom: 34px;
  z-index: 2;
  width: min(470px, calc(100% - 64px));
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(15, 65, 88, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.legacy-slide-caption span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legacy-slide-caption strong {
  color: #0a1f31;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.legacy-slide-progress {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 4px;
  background: rgba(15, 65, 88, 0.12);
}

.legacy-slide-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--warm), var(--accent));
}

.legacy-slideshow.is-running .legacy-slide-progress span {
  animation: slide-progress var(--slide-duration, 5s) linear forwards;
}

.legacy-slide-dots {
  position: absolute;
  left: 26px;
  bottom: 30px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(250px, calc(100% - 52px));
}

.legacy-slide-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(15, 65, 88, 0.42);
  border-radius: 999px;
  background: rgba(15, 65, 88, 0.18);
  cursor: pointer;
}

.legacy-slide-dots button.is-active {
  width: 32px;
  border-color: var(--warm);
  background: var(--warm);
}

.company-image-card strong {
  color: var(--ink);
}

.company-image-card span {
  color: var(--muted);
  line-height: 1.55;
}

@keyframes slide-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.ribbon {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 24px;
  padding-bottom: 24px;
}

.ribbon-card,
.empty-panel,
.solution-card,
.module-overview-card,
.support-card,
.list-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.ribbon-card {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.ribbon-card strong {
  color: var(--ink);
}

.section-head {
  max-width: 850px;
  margin-bottom: 24px;
}

.section-head-wide {
  max-width: 980px;
}

.section-tight {
  padding-top: 24px;
  padding-bottom: 36px;
}

.empty-layout,
.module-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 14px;
}

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

.company-profile-panel {
  width: 100%;
  gap: 24px;
}

.company-profile-block {
  display: grid;
  gap: 12px;
}

.company-profile-block h3 {
  margin: 0;
}

.company-profile-block ul {
  display: grid;
  gap: 10px;
}

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

.empty-panel,
.solution-card,
.module-overview-card,
.support-card,
.list-panel {
  padding: 24px;
}

.solution-card,
.module-overview-card,
.support-card {
  display: grid;
  gap: 13px;
}

.story-panel,
.company-image-card,
.service-card,
.hardware-feature,
.contact-card,
.detail-card,
.cta-panel,
.download-card {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 24px;
}

.story-panel p,
.story-panel li,
.service-card p,
.contact-card li,
.hardware-feature p,
.solution-card p,
.solution-card li,
.contact-card p,
.detail-card p,
.detail-card li,
.download-card p,
.download-card li,
.product-feature p,
.product-feature li,
.cta-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.story-panel ul,
.solution-card ul,
.contact-card ul,
.detail-card ul,
.download-card ul,
.product-feature ul {
  margin: 0;
  padding-left: 18px;
}

.company-image-card {
  align-content: start;
}

.company-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.solution-image-link,
.software-image-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.solution-image-link img,
.software-image-link img {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: cover;
}

a.solution-image-link:hover,
a.software-image-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 34px rgba(20, 53, 74, 0.16);
}

.solution-image-link:focus-visible,
.software-image-link:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 4px;
}

.solution-code {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #041018;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  font-weight: 800;
}

.empty-lines {
  display: grid;
  gap: 9px;
}

.empty-lines span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 120, 152, 0.1), rgba(15, 120, 152, 0.22), rgba(244, 182, 59, 0.18));
}

.empty-lines span:nth-child(2) {
  width: 78%;
}

.empty-lines span:nth-child(3) {
  width: 55%;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card img {
  aspect-ratio: 16 / 10;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  margin: 0;
  overflow: hidden;
}

.project-card img {
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
}

.project-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 800;
}

.hardware-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 14px;
}

.hardware-compact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hardware-compact-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.hardware-compact-content > p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.5;
}

.hardware-compact-content h3 {
  max-width: 760px;
}

.hardware-compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hardware-compact-list div {
  display: grid;
  gap: 5px;
  min-height: 98px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 65, 88, 0.035);
}

.hardware-compact-list h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.hardware-compact-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.38;
}

.hardware-compact-media {
  min-width: 0;
}

.hardware-compact-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  max-height: 330px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 15%, rgba(15, 120, 152, 0.08), transparent 34%),
    #ffffff;
}

.hardware-feature {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  align-items: center;
}

.hardware-feature img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 10px;
  background:
    radial-gradient(circle at 20% 15%, rgba(15, 120, 152, 0.08), transparent 34%),
    #ffffff;
}

.hardware-list,
.contact-layout {
  display: grid;
  gap: 14px;
}

.contact-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-section .section-head {
  width: min(100%, 980px);
  margin-inline: auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  gap: 16px;
}

.contact-section .form-card {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  color: #102235;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.08);
}

.request-form,
.form-grid {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-full {
  grid-column: 1 / -1;
}

.field span {
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 124px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(171, 198, 216, 0.72);
}

.checkbox-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-field input {
  margin-top: 4px;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.puzzle-captcha-contact {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 18, 30, 0.46);
  backdrop-filter: blur(11px);
}

.puzzle-captcha-contact[hidden] {
  display: none;
}

.puzzle-captcha-dialog {
  width: min(100%, 420px);
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 80px rgba(5, 19, 32, 0.34);
}

.puzzle-captcha-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.puzzle-captcha-head strong {
  color: #102235;
}

.puzzle-captcha-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.puzzle-captcha-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(42, 90, 126, 0.18);
  border-radius: 999px;
  background: rgba(241, 247, 251, 0.92);
  color: #31516b;
  font: 900 1rem / 1 "Space Grotesk", sans-serif;
  cursor: pointer;
}

.puzzle-captcha-contact p {
  margin: 0;
  color: #e45126;
  font-size: 0.86rem;
  text-align: center;
}

.puzzle-captcha-board {
  --puzzle-target: 100px;
  position: relative;
  width: 100%;
  height: 150px;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 132, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(233, 245, 252, 0.28), rgba(255, 255, 255, 0.14)),
    var(--puzzle-image) center / cover no-repeat,
    repeating-linear-gradient(0deg, rgba(13, 51, 80, 0.1) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(13, 51, 80, 0.1) 0 1px, transparent 1px 12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.puzzle-captcha-gap,
.puzzle-captcha-piece {
  position: absolute;
  top: 58px;
  width: 54px;
  height: 54px;
  border-radius: 14px 19px 14px 19px;
}

.puzzle-captcha-gap {
  left: var(--puzzle-target);
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: rgba(5, 18, 30, 0.22);
  box-shadow: inset 0 0 0 999px rgba(5, 18, 30, 0.14), 0 10px 24px rgba(4, 18, 30, 0.24);
}

.puzzle-captcha-piece {
  left: 12px;
  background-image:
    linear-gradient(135deg, rgba(233, 245, 252, 0.28), rgba(255, 255, 255, 0.14)),
    var(--puzzle-image);
  background-repeat: no-repeat;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 22px rgba(9, 42, 62, 0.34);
  transition: box-shadow 0.18s ease;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.puzzle-captcha-piece:active {
  cursor: grabbing;
}

.puzzle-captcha-piece::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  pointer-events: none;
}

.puzzle-captcha-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  margin-bottom: 12px;
  padding: 0 16px 0 60px;
  overflow: hidden;
  border: 1px solid rgba(42, 90, 126, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, #f8fbff, #eef7ff);
  color: #1658ff;
  font-weight: 900;
  text-align: center;
}

.puzzle-captcha-slider {
  position: absolute;
  left: 12px;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ffffff;
  color: #1658ff;
  box-shadow: 0 8px 22px rgba(22, 88, 255, 0.12);
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transform: translateY(-50%);
}

.puzzle-captcha-slider:active {
  cursor: grabbing;
}

.puzzle-captcha-slider:focus-visible {
  outline: 3px solid rgba(37, 199, 241, 0.42);
  outline-offset: 3px;
}

.puzzle-captcha-slider-wrap strong {
  position: relative;
  z-index: 1;
  width: 100%;
  font-size: 0.92rem;
}

.puzzle-captcha-contact.is-solved {
  background: rgba(4, 18, 30, 0.36);
}

.puzzle-captcha-contact.is-solved .puzzle-captcha-piece {
  box-shadow: 0 0 0 4px rgba(25, 140, 91, 0.18), 0 14px 26px rgba(9, 42, 62, 0.28);
}

.puzzle-captcha-contact.is-error {
  background: rgba(4, 18, 30, 0.5);
}

.puzzle-captcha-contact.is-error .puzzle-captcha-dialog {
  box-shadow: 0 30px 80px rgba(5, 19, 32, 0.34), 0 0 0 2px rgba(228, 81, 38, 0.16);
}

.form-status {
  min-height: 24px;
  margin: 0;
}

.form-status.is-success {
  color: #0d8b65;
}

.form-status.is-error {
  color: #b42318;
  font-weight: 800;
}

.contact-section .form-card .field span,
.contact-section .form-card .checkbox-field span,
.contact-section .form-card .form-status {
  color: rgba(16, 34, 53, 0.74);
}

.contact-section .form-card .field input,
.contact-section .form-card .field select,
.contact-section .form-card .field textarea {
  border-color: rgba(16, 34, 53, 0.14);
  background: rgba(255, 255, 255, 0.97);
  color: #102235;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-section .form-card .field input::placeholder,
.contact-section .form-card .field textarea::placeholder {
  color: rgba(16, 34, 53, 0.44);
}

.contact-section .form-card .button {
  box-shadow: none;
}

.detail-grid,
.download-list {
  display: grid;
  gap: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.services-grid + .services-grid {
  margin-top: 16px;
}

.services-grid-feature {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.detail-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card {
  align-content: start;
}

.service-detail-card {
  display: grid;
  grid-template-rows: auto auto minmax(96px, auto) 1fr;
  gap: 12px;
  height: 100%;
  align-content: stretch;
}

.service-detail-card img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 12px;
}

.service-detail-card-no-image {
  grid-template-rows: auto minmax(96px, auto) 1fr;
}

.service-detail-card h2,
.service-detail-card p,
.service-detail-card ul {
  margin-top: 0;
}

.service-detail-card p {
  min-height: 96px;
}

.service-detail-card ul {
  align-self: start;
}

.service-detail-card > .button {
  align-self: end;
  justify-self: start;
  margin-top: auto;
}

.pdf-library-hero .hero-subtitle {
  max-width: 760px;
}

.pdf-library-section {
  padding-top: 10px;
}

.example-pdf-mobile-shell {
  display: none;
}

.example-pdf-browser {
  display: grid;
  grid-template-columns: minmax(250px, 0.33fr) minmax(0, 1fr);
  min-height: 720px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.example-pdf-sidebar {
  max-height: 720px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border-right: 1px solid var(--line);
  background: #f7fafc;
}

.example-pdf-select {
  width: 100%;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(15, 65, 88, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.example-pdf-select:hover,
.example-pdf-select.is-active {
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(16, 34, 53, 0.12);
  transform: translateY(-1px);
}

.example-pdf-select:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 2px;
}

.example-pdf-select img {
  width: 86px;
  height: 62px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.example-pdf-select span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  line-height: 1.25;
}

.example-pdf-stage {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  background: #ffffff;
}

.example-pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.example-pdf-toolbar h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.example-pdf-toolbar a {
  flex: 0 0 auto;
  color: var(--brand-strong);
  font-weight: 900;
  text-decoration: none;
}

.example-pdf-toolbar a:hover {
  color: var(--brand);
}

.example-pdf-mobile-preview {
  display: none;
}

.example-pdf-viewer,
.example-pdf-mobile-document-frame {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
  background: #ffffff;
}

.example-pdf-mobile-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.software-card {
  display: flex;
  flex-direction: column;
  align-content: stretch;
}

.software-card > h2,
.software-card > p,
.software-card > ul {
  margin-top: 0;
}

.software-card > .button {
  margin-top: auto;
  align-self: flex-start;
  justify-self: start;
}

.software-compat-note {
  min-height: 56px;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.software-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 241, 248, 0.92)),
    rgba(255, 255, 255, 0.92);
}

.software-logo-card img {
  width: min(100%, 360px);
  height: 100%;
  object-fit: contain;
}

.hardware-card img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 10px;
}

.hardware-overview-section {
  padding-top: 8px;
}

.hardware-overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hardware-overview-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.hardware-overview-copy h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.hardware-overview-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.hardware-overview-columns div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 65, 88, 0.035);
}

.hardware-overview-columns h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.hardware-overview-columns ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hardware-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.hardware-grid .hardware-card {
  grid-template-rows: 150px minmax(3rem, auto) 1fr;
  gap: 10px;
  height: 100%;
  padding: 14px;
  align-content: stretch;
}

.hardware-grid .hardware-card img {
  width: 100%;
  height: 150px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}

.hardware-grid .hardware-card h2 {
  align-self: stretch;
  height: 3.6rem;
  display: grid;
  place-items: center;
  font-size: clamp(1.18rem, 1.5vw, 1.55rem);
  line-height: 1.08;
  text-align: center;
}

.hardware-grid .hardware-card p {
  align-self: start;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hardware-grid .hardware-card-empty {
  min-height: 276px;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 28px rgba(20, 53, 74, 0.08);
}

.cta-panel {
  align-items: start;
  max-width: 860px;
}

.software-support-panel {
  width: min(100%, 620px);
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 28px);
  justify-items: center;
  text-align: center;
}

.software-support-panel p:not(.eyebrow) {
  max-width: 520px;
}

.software-support-button {
  min-width: min(100%, 260px);
  margin-top: 4px;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 20px;
  align-items: center;
  padding: 24px;
}

.product-feature-media {
  display: grid;
  gap: 12px;
}

.product-feature-media img,
.media-gallery img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.product-feature-media img {
  object-fit: contain;
  padding: 12px;
}

.product-feature-media .logo-strip {
  max-height: 92px;
  background: rgba(255, 255, 255, 0.92);
}

.zwcad-page-hero {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  padding-top: 34px;
  padding-bottom: 26px;
}

.zwcad-page-hero .page-hero-media {
  min-height: 380px;
  padding: 10px;
}

.zwcad-page-hero .page-hero-media img {
  max-height: 470px;
  border-radius: 16px;
}

.zwcad-summary-section {
  padding-top: 10px;
  padding-bottom: 20px;
}

.zwcad-summary-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.zwcad-summary-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.zwcad-summary-copy h2 {
  max-width: 760px;
}

.zwcad-summary-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.zwcad-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.zwcad-summary-list div {
  display: grid;
  gap: 7px;
  min-height: 148px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 65, 88, 0.035);
}

.zwcad-summary-list h3 {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.zwcad-summary-list p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.zwcad-offer-feature {
  align-items: start;
  margin-bottom: 14px;
}

.zwcad-compact-offer {
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 16px;
  padding: 18px;
}

.zwcad-compact-offer h2 {
  max-width: 620px;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

.zwcad-offer-feature .note {
  margin-top: 8px;
  padding-left: 12px;
  border-left: 3px solid var(--warm);
}

.compact-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.compact-check-list li {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(15, 65, 88, 0.04);
  font-weight: 800;
}

.zwcad-offer-media {
  align-content: start;
}

.zwcad-offer-media img {
  aspect-ratio: 16 / 7.8;
  padding: 0;
  object-fit: cover;
}

.zwcad-offer-media figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.zwcad-benefits-grid {
  margin-top: 14px;
}

.video-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.zwcad-video-library-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.video-library-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(20, 53, 74, 0.1);
}

.video-library-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 9px 12px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(4, 18, 32, 0.94), rgba(9, 42, 66, 0.9)),
    #092a42;
}

.video-library-thumb img {
  width: min(128px, 70%);
  height: auto;
  object-fit: contain;
}

.video-library-copy {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.video-library-copy h3 {
  margin: 0;
  min-height: 40px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  line-height: 1.28;
  text-align: center;
}

.video-library-copy video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #02070c;
  object-fit: contain;
}

#video-zwcad .section-head {
  margin-bottom: 14px;
}

.zwcad-video-head {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.zwcad-video-head h2 {
  max-width: 100%;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.zwcad-video-head p {
  max-width: 760px;
}

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

.media-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
}

.download-list {
  grid-template-columns: repeat(2, minmax(260px, 430px));
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}

.download-page-main {
  padding-bottom: clamp(120px, 14vh, 210px);
}

.download-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 12px;
  height: 100%;
  padding: 18px;
}

.download-card h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.download-card ul {
  align-self: start;
}

.download-card .download-action,
.download-card .status-pill {
  align-self: end;
  justify-self: stretch;
}

.download-action {
  justify-self: end;
  min-width: min(100%, 310px);
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 203, 89, 0.5);
  border-radius: 18px;
  color: #041018;
  background: linear-gradient(135deg, var(--warm), #ffe49a);
  box-shadow: var(--shadow);
  font-weight: 800;
  text-decoration: none;
}

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

.download-action span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-action strong {
  overflow-wrap: anywhere;
  font-size: 0.94rem;
  line-height: 1.25;
}

.download-action small {
  color: rgba(4, 16, 24, 0.72);
  font-size: 0.82rem;
}

.download-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.download-spotlight > div {
  display: grid;
  gap: 14px;
}

.download-action-large {
  min-height: 118px;
  align-content: center;
}

.status-pill {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(15, 65, 88, 0.04);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.support-card a,
.module-overview-card a,
.list-panel a,
.footer a,
.contact-card a,
.detail-card a,
.download-card a,
.product-feature a {
  color: var(--ink);
  font-weight: 800;
}

.download-card .download-action,
.product-feature .download-action,
.download-spotlight .download-action {
  color: #041018;
  text-decoration: none;
}

.module-overview-card ul,
.list-panel ul,
.footer ul {
  margin: 0;
  padding-left: 18px;
}

.legal-hero {
  padding-bottom: 24px;
}

.footer {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto 36px;
  padding: 0 0 24px;
  --ink: #eef7ff;
  --text: #eef7ff;
  --muted: #c5d7e5;
  --line: rgba(129, 215, 255, 0.22);
  --brand-strong: #ffffff;
  --accent: #9deaff;
  --shadow: 0 24px 70px rgba(5, 17, 29, 0.26);
}

.footer-panel {
  display: grid;
  gap: 22px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(9, 25, 40, 0.96), rgba(8, 19, 31, 0.94)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  gap: 22px;
  align-items: start;
}

.footer-panel-home {
  gap: 18px;
  width: min(100%, 1080px);
  padding: 22px;
}

.footer-grid-home {
  grid-template-columns: 0.74fr 1.16fr 0.5fr;
  gap: 10px;
  align-items: start;
}

.footer-brand,
.footer-col {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  text-align: left;
}

.footer-brand-mark {
  width: min(160px, 62%);
  min-height: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-brand-mark img {
  width: 100%;
  max-height: 112px;
  height: auto;
  object-fit: contain;
}

.footer-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand h3,
.footer-col h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.footer-brand p,
.footer-col p,
.footer-col li,
.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.footer .footer-company-list,
.footer .footer-legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  width: 100%;
}

.footer-company-col h3 {
  padding-left: 0;
}

.footer-company-col {
  justify-self: end;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

.footer-legal-col {
  justify-self: end;
  width: 100%;
  max-width: 180px;
}

.footer-company-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  text-align: left;
}

.footer-company-label {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

.footer-company-value {
  min-width: 0;
  word-break: normal;
  white-space: nowrap;
}

.footer a,
.footer a:hover,
.footer a:focus {
  text-decoration: none;
}

.footer a {
  border-radius: 10px;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.footer a:hover {
  color: var(--brand-strong);
  background: rgba(92, 225, 255, 0.08);
  box-shadow: 0 0 0 6px rgba(92, 225, 255, 0.08);
}

.footer-legal-list {
  justify-items: start;
  align-items: start;
}

.footer-legal-list a {
  display: inline-flex;
  padding: 4px 0;
  text-align: left;
}

.footer-legal-partner {
  margin-top: 8px;
  justify-self: start;
}

.footer-partner-chip {
  min-height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(129, 215, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-partner-chip img {
  max-height: 68px;
  width: auto;
  object-fit: contain;
}

.footer-bottom {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(129, 215, 255, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 auto;
  }

  .language-dock {
    order: 2;
    margin-left: auto;
    justify-content: flex-end;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .topbar-actions {
    order: 2;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero-slider-layout {
    padding-top: 42px;
  }

  .page-hero,
  .zwcad-summary-panel,
  .product-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .identity-board {
    min-height: 360px;
  }

  .ribbon,
  .empty-layout,
  .company-layout,
  .hardware-overview-panel,
  .support-grid,
  .service-grid,
  .project-gallery,
  .hardware-layout,
  .hardware-compact-card,
  .contact-layout,
  .download-spotlight,
  .download-card,
  .module-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .legacy-slideshow,
  .identity-board {
    min-height: 0;
  }

  .legacy-slideshow {
    aspect-ratio: 16 / 8;
  }

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

  .hardware-compact-media {
    order: -1;
  }

  .hardware-compact-media img {
    max-height: 300px;
  }

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

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

  .detail-grid,
  .detail-grid-three,
  .media-gallery,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .zwcad-summary-list div {
    min-height: 0;
  }

  .hardware-grid .hardware-card {
    grid-template-rows: 140px minmax(3rem, auto) 1fr;
  }

  .hardware-grid .hardware-card img {
    height: 140px;
  }

  .hardware-grid .hardware-card-empty {
    min-height: 210px;
  }

  .video-library-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .example-pdf-browser {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .example-pdf-sidebar {
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .example-pdf-viewer {
    min-height: 560px;
  }

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

  .footer-company-list li {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .footer-company-col,
  .footer-legal-col {
    max-width: none;
    justify-self: stretch;
    margin-left: 0;
  }

  .footer-company-col h3 {
    padding-left: 0;
  }

  .footer-company-value {
    white-space: normal;
  }

  .footer-brand,
  .footer-col,
  .footer-legal-list {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .section {
    width: min(calc(100% - 32px), var(--max));
    padding: 44px 0;
  }

  .topbar {
    width: min(calc(100% - 26px), var(--max));
    top: 8px;
    padding: 7px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    max-width: 178px;
    font-size: 0.95rem;
  }

  .topbar-actions {
    display: none;
  }

  .language-switcher {
    width: auto;
  }

  .language-option {
    flex: 1 1 0;
    padding-inline: 5px;
  }

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

  .hardware-compact-list div {
    min-height: 0;
  }

  .hardware-compact-media img {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }

  h1 {
    font-size: clamp(2.4rem, 15vw, 3.6rem);
    overflow-wrap: break-word;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  h2 {
    font-size: clamp(1.8rem, 12vw, 2.7rem);
  }

  .hero {
    gap: 28px;
  }

  .hero-slider-layout {
    gap: 18px;
    padding-top: 28px;
  }

  .page-hero-media {
    min-height: 220px;
    padding: 10px;
  }

  .identity-board {
    min-height: 280px;
    gap: 14px;
    padding: 14px;
  }

  .identity-logo-wrap {
    width: min(158px, 46vw);
    padding: 14px;
  }

  .identity-lines {
    display: none;
  }

  .identity-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .identity-products span {
    min-height: 46px;
  }

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

  .compact-check-list,
  .video-library-grid,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .puzzle-captcha-dialog {
    padding: 14px;
  }

  .puzzle-captcha-board {
    height: 136px;
  }

  .video-library-grid {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .video-library-thumb {
    min-height: 70px;
    padding: 10px 14px;
  }

  .video-library-thumb img {
    width: min(112px, 44%);
  }

  .video-library-copy {
    padding: 13px 14px 14px;
  }

  .video-library-copy h3 {
    min-height: 34px;
    font-size: 0.92rem;
  }

  .company-layout,
  .services-grid,
  .service-grid,
  .project-gallery,
  .contact-layout,
  .download-list,
  .detail-grid,
  .detail-grid-three,
  .media-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-list {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .download-page-main {
    padding-bottom: 70px;
  }

  .hardware-grid {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .hardware-grid .hardware-card {
    grid-template-rows: 132px auto auto;
  }

  .hardware-grid .hardware-card img {
    height: 132px;
  }

  .hardware-grid .hardware-card-empty {
    min-height: 132px;
  }

  .hardware-grid .hardware-card h2 {
    height: auto;
    font-size: clamp(1.5rem, 10vw, 2rem);
  }

  .legacy-slideshow {
    width: 100%;
    height: clamp(340px, 88vw, 430px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .legacy-slide-caption {
    right: 14px;
    bottom: 58px;
    width: calc(100% - 28px);
    padding: 14px;
  }

  .legacy-slide-dots {
    left: 14px;
    bottom: 18px;
    width: calc(100% - 28px);
  }

  .story-panel,
  .company-image-card,
  .service-card,
  .hardware-feature,
  .hardware-compact-card,
  .contact-card,
  .contact-section .form-card,
  .empty-panel,
  .solution-card,
  .module-overview-card,
  .support-card,
  .list-panel,
  .detail-card,
  .cta-panel,
  .download-card,
  .product-feature {
    padding: 18px;
  }

  .status-pill {
    justify-self: start;
  }

  .download-action {
    justify-self: stretch;
    min-width: 0;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .example-pdf-mobile-shell {
    display: block;
    margin-bottom: 16px;
  }

  .example-pdf-mobile-document,
  .example-pdf-browser {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .example-pdf-mobile-document-frame {
    min-height: 420px;
  }

  .example-pdf-browser {
    display: block;
  }

  .example-pdf-sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .example-pdf-select {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 78px;
  }

  .example-pdf-select img {
    width: 78px;
    height: 56px;
  }

  .example-pdf-stage {
    display: grid;
  }

  .example-pdf-stage .example-pdf-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .example-pdf-mobile-preview {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .example-pdf-mobile-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
  }

  .example-pdf-mobile-thumb {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    display: block;
    padding: 10px;
  }

  .example-pdf-viewer {
    display: none;
  }

  .footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .footer-panel {
    width: min(100%, 96%);
    padding: 20px 16px;
    border-radius: 22px;
  }

  .footer-panel-home {
    width: min(100%, 94%);
    padding: 18px 14px;
  }

  .footer-brand-mark {
    width: min(142px, 58%);
  }

  .footer-brand h3,
  .footer-col h3 {
    font-size: 0.96rem;
  }

  .footer-brand p,
  .footer-col p,
  .footer-col li,
  .footer-bottom p {
    font-size: 0.88rem;
  }

  .footer-company-list li {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
  }

  .footer-company-label,
  .footer-company-value {
    text-align: left;
    white-space: normal;
  }

}

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

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

  .legacy-slide,
  .legacy-slide img {
    transition: none;
  }

  .legacy-slideshow.is-running .legacy-slide-progress span {
    animation: none;
    width: 100%;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
