* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #17212b;
  background: #eef0f2;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

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

.style-panel[hidden] {
  display: none;
}

.preview-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 8px clamp(16px, 4vw, 44px);
  color: #fff;
  background: #111417;
  border-bottom: 1px solid #343a40;
}

.shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.shell-brand span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #fff;
  background: #d92d20;
}

.preview-shell nav {
  display: flex;
  gap: 6px;
}

.shell-tab {
  min-height: 36px;
  padding: 6px 14px;
  color: #cbd5e1;
  background: transparent;
  border: 1px solid #475569;
  border-radius: 4px;
  cursor: pointer;
}

.shell-tab:hover,
.shell-tab:focus-visible {
  color: #fff;
  border-color: #94a3b8;
}

.shell-tab.active {
  color: #111417;
  background: #fff;
  border-color: #fff;
  font-weight: 700;
}

.x-topbar,
.l-topbar,
.d-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 clamp(16px, 4vw, 44px);
  font-size: 12px;
}

.x-topbar div,
.d-topbar div,
.l-topbar div {
  display: flex;
  gap: 18px;
}

.x-topbar span,
.x-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.x-topbar {
  color: #0f5c63;
  background: #e8f4f4;
}

.x-header,
.d-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(16px, 4vw, 44px);
}

.x-header {
  background: #fff;
  border-bottom: 1px solid #dce3e8;
}

.x-brand {
  color: #0b3c5d;
  font-size: 22px;
  font-weight: 800;
}

.x-brand span {
  color: #16a394;
}

.x-header nav,
.d-header nav,
.l-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 20px;
  font-size: 14px;
  font-weight: 600;
}

.x-header a:not(.x-button):hover,
.d-header a:not(.d-cta):hover {
  color: #147d84;
}

.x-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.x-button-primary {
  color: #fff;
  background: #0d7d7d;
}

.x-button-primary:hover {
  background: #0a6565;
}

.x-button-outline {
  color: #0b3c5d;
  border-color: #9eb1bf;
}

.x-button-outline:hover {
  color: #0d7d7d;
  border-color: #0d7d7d;
}

.x-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 52%);
  gap: 42px;
  align-items: center;
  min-height: 490px;
  padding: 58px clamp(16px, 4vw, 44px) 72px;
  background: #fff;
}

.x-hero-copy p:first-child {
  margin: 0 0 10px;
  color: #0d7d7d;
  font-size: 13px;
  font-weight: 800;
}

.x-hero h1 {
  max-width: 650px;
  margin: 0 0 16px;
  color: #123047;
  font-size: 48px;
  line-height: 1.08;
}

.x-hero-copy > p:not(:first-child) {
  max-width: 590px;
  margin: 0 0 25px;
  color: #536270;
  font-size: 17px;
}

.x-hero-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.x-hero figure {
  position: relative;
  margin: 0;
}

.x-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.x-hero figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 13px;
  color: #fff;
  background: rgba(16, 38, 53, 0.9);
  border-radius: 4px;
  font-size: 13px;
}

.x-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #123047;
}

.x-stats div {
  min-height: 100px;
  padding: 20px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.12);
}

.x-stats strong {
  display: block;
  font-size: 26px;
}

.x-stats span {
  color: #b8c8d5;
  font-size: 13px;
}

.x-section,
.x-process,
.d-products,
.d-specs,
.d-industries {
  padding: 70px clamp(16px, 4vw, 44px);
}

.x-section {
  background: #fff;
}

.x-section-head {
  max-width: 700px;
  margin-bottom: 34px;
}

.x-section-head p {
  margin: 0 0 7px;
  color: #0d7d7d;
  font-size: 13px;
  font-weight: 800;
}

.x-section h2,
.x-process h2,
.x-quote h2,
.l-products h2,
.l-applications h2,
.l-industries h2,
.l-resources h2,
.d-products h2,
.d-automation h2,
.d-specs h2,
.d-industries h2 {
  margin: 0;
  line-height: 1.15;
}

.x-section h2,
.x-process h2,
.x-quote h2 {
  color: #123047;
  font-size: 34px;
}

.x-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #dce3e8;
  border: 1px solid #dce3e8;
}

.x-grid article {
  min-height: 205px;
  padding: 25px;
  background: #fff;
}

.x-grid article:hover {
  background: #f6fbfb;
}

.x-grid svg {
  width: 25px;
  height: 25px;
  color: #0d7d7d;
}

.x-grid h3,
.d-products h3,
.d-industries h3,
.l-industries h3 {
  margin: 13px 0 7px;
  font-size: 19px;
}

.x-grid p,
.d-products p,
.d-industries p,
.l-industries p {
  margin: 0;
  color: #5a6875;
  font-size: 14px;
}

.x-process {
  background: #f3f6f8;
}

.x-process p {
  margin: 0 0 7px;
  color: #0d7d7d;
  font-size: 13px;
  font-weight: 800;
}

.x-process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.x-process li {
  min-height: 160px;
  padding: 20px;
  background: #fff;
  border-top: 3px solid #0d7d7d;
}

.x-process strong {
  display: block;
  color: #98a7b3;
  font-size: 22px;
}

.x-process span {
  display: block;
  margin: 4px 0 5px;
  font-size: 17px;
}

.x-process p {
  margin: 0;
  color: #5a6875;
  font-size: 14px;
  font-weight: 400;
}

.x-quote {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  gap: 48px;
  padding: 72px clamp(16px, 4vw, 44px);
  background: #123047;
  color: #fff;
}

.x-quote p {
  color: #b8c8d5;
}

.x-quote form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 26px;
  background: #fff;
  border-radius: 6px;
  color: #123047;
}

.x-quote textarea {
  grid-column: 1 / -1;
}

.x-quote button {
  grid-column: 1 / -1;
}

.x-quote label {
  margin-bottom: -6px;
  font-size: 13px;
  font-weight: 700;
}

.x-quote input,
.x-quote textarea {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #b9c5ce;
  border-radius: 4px;
}

.x-footer,
.l-footer,
.d-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(16px, 4vw, 44px);
  font-size: 13px;
}

.x-footer {
  color: #fff;
  background: #0b2235;
}

.x-footer nav,
.l-footer nav,
.d-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.l-topbar {
  color: #c9c9c9;
  background: #171717;
}

.l-topbar a:hover {
  color: #fff;
}

.l-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(16px, 4vw, 44px);
  color: #fff;
  background: #202020;
  border-bottom: 3px solid #c32327;
}

.l-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 21px;
  font-weight: 800;
}

.l-brand svg {
  color: #c32327;
}

.l-header nav a:not(.l-cta):hover {
  color: #ee777a;
}

.l-cta {
  min-height: 42px;
  padding: 8px 16px;
  background: #c32327;
  border-radius: 3px;
}

.l-cta:hover {
  background: #a81d21;
}

.l-hero {
  position: relative;
  min-height: 535px;
  padding: 92px clamp(16px, 4vw, 44px) 118px;
  color: #fff;
  background: #171717;
}

.l-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.l-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 19, 0.77);
}

.l-hero > div {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.l-hero span {
  display: inline-block;
  padding: 6px 11px;
  background: #c32327;
  font-size: 12px;
  font-weight: 800;
}

.l-hero h1 {
  margin: 16px 0;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 48px;
  line-height: 1.08;
}

.l-hero p {
  max-width: 660px;
  margin: 0 0 27px;
  color: #e4e4e4;
  font-size: 17px;
}

.l-hero > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.l-hero a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 18px;
  border: 1px solid #fff;
  font-size: 13px;
  font-weight: 700;
}

.l-hero a:first-child {
  color: #fff;
  background: #c32327;
  border-color: #c32327;
}

.l-hero a:first-child:hover {
  background: #a81d21;
}

.l-products,
.l-resources {
  padding: 72px clamp(16px, 4vw, 44px);
  background: #fff;
}

.l-products > div:first-child,
.d-products > div:first-child,
.d-specs > div:last-child {
  margin-bottom: 32px;
}

.l-products span,
.l-applications span,
.l-industries span,
.l-resources span,
.d-products span,
.d-automation span,
.d-specs span,
.d-industries span {
  display: block;
  margin-bottom: 7px;
  color: #c32327;
  font-size: 13px;
  font-weight: 800;
}

.d-products span,
.d-automation span,
.d-specs span,
.d-industries span {
  color: #4f748b;
}

.l-products h2,
.l-applications h2,
.l-industries h2,
.l-resources h2 {
  color: #222;
  font-size: 34px;
}

.l-products > div:last-child,
.l-resources > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.l-products article,
.l-resources article {
  background: #fff;
}

.l-products img,
.l-resources img {
  width: 100%;
  aspect-ratio: 369 / 254;
  object-fit: cover;
}

.l-products h3,
.l-resources h3 {
  margin: 15px 0 7px;
  font-size: 19px;
}

.l-products p,
.l-resources p {
  margin: 0;
  color: #5f5f5f;
  font-size: 14px;
}

.l-applications {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  gap: 48px;
  padding: 72px clamp(16px, 4vw, 44px);
  background: #1d1d1d;
  color: #fff;
}

.l-applications h2 {
  font-size: 34px;
}

.l-applications p {
  margin: 15px 0 23px;
  color: #d0d0d0;
}

.l-applications a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 9px 18px;
  background: #c32327;
  font-weight: 700;
}

.l-list {
  display: grid;
  gap: 1px;
  background: #4a4a4a;
}

.l-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 78px;
  padding: 14px 16px;
  background: #252525;
}

.l-list svg {
  color: #ff7679;
}

.l-industries {
  padding: 72px clamp(16px, 4vw, 44px);
  background: #f4f4f4;
}

.l-industries h2 {
  max-width: 640px;
}

.l-industries > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: #d5d5d5;
}

.l-industries article,
.d-products article,
.d-industries article {
  min-height: 190px;
  padding: 22px;
  background: #fff;
  border-top: 3px solid #c32327;
}

.d-products article,
.d-industries article {
  border-top-color: #4f748b;
}

.l-industries svg,
.d-products svg,
.d-industries svg {
  width: 25px;
  height: 25px;
  color: #c32327;
}

.d-products svg,
.d-industries svg {
  color: #4f748b;
}

.l-resources {
  background: #fff;
}

.l-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 150px;
  padding: 36px clamp(16px, 4vw, 44px);
  background: #c32327;
  color: #fff;
}

.l-contact h2 {
  margin: 0 0 6px;
  font-size: 30px;
}

.l-contact p {
  margin: 0;
}

.l-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  background: #171717;
  font-weight: 700;
  white-space: nowrap;
}

.l-footer {
  color: #c4c4c4;
  background: #171717;
}

.d-topbar {
  color: #fff;
  background: #38393a;
}

.d-topbar a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.d-topbar a:hover,
.d-topbar a:focus-visible {
  color: #ffd100;
}

.d-header {
  background: #fff;
  border-bottom: 4px solid #4f748b;
}

.d-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.d-brand img {
  width: 128px;
  height: 54px;
}

.d-cta {
  min-height: 42px;
  padding: 8px 16px;
  color: #38393a !important;
  background: #ffd100;
  border-radius: 3px;
}

.d-cta:hover {
  background: #e6bc00;
}

.d-hero {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  gap: 48px;
  align-items: center;
  min-height: 545px;
  padding: 68px clamp(16px, 4vw, 44px) 82px;
  color: #fff;
  background: #4f748b;
  position: relative;
  overflow: hidden;
}

.d-hero > div:not(.d-hero-mosaic),
.d-hero figure {
  position: relative;
  z-index: 1;
}

.d-hero-mosaic {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 58%;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 2px;
  pointer-events: none;
}

.d-hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.78) contrast(1.05);
}

.d-hero-mosaic::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(79, 116, 139, 0.96) 0%, rgba(79, 116, 139, 0.9) 42%, rgba(79, 116, 139, 0.72) 74%, rgba(79, 116, 139, 0.38) 100%);
  content: "";
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
}

.d-hero span {
  display: inline-block;
  padding: 6px 11px;
  background: #ffd100;
  color: #38393a;
  font-size: 12px;
  font-weight: 800;
}

.d-hero h1 {
  margin: 16px 0;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 46px;
  line-height: 1.1;
}

.d-hero p {
  max-width: 620px;
  margin: 0 0 25px;
  color: #eaf1f5;
  font-size: 17px;
}

.d-hero > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.d-hero a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 18px;
  border: 1px solid #fff;
  font-weight: 700;
}

.d-hero a:first-child {
  color: #38393a;
  background: #ffd100;
  border-color: #ffd100;
}

.d-hero dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 230px));
  gap: 12px;
  margin: 28px 0 0;
}

.d-hero dt {
  color: #d8e5ec;
  font-size: 13px;
}

.d-hero dd {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
}

.d-hero figure {
  position: relative;
  margin: 0;
}

.d-hero figure img {
  width: 100%;
  aspect-ratio: 369 / 254;
  object-fit: cover;
  border: 5px solid #fff;
}

.d-hero figure span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 12px;
  background: #38393a;
}

.d-products {
  background: #fff;
}

.d-products > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d6dde2;
  border: 1px solid #d6dde2;
}

#products > div:last-child {
  grid-template-columns: repeat(3, 1fr);
}

.d-products h2,
.d-automation h2,
.d-specs h2,
.d-industries h2 {
  color: #38393a;
  font-size: 34px;
}

.d-products > div:first-child {
  max-width: 700px;
}

.d-process-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 22px;
  background: #fff;
  border-top: 3px solid #4f748b;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.d-process-card:hover,
.d-process-card:focus-visible {
  border-top-color: #ffd100;
  transform: translateY(-3px);
}

.d-process-card svg {
  width: 25px;
  height: 25px;
  color: #4f748b;
}

.d-process-card h3 {
  margin: 13px 0 7px;
  color: #38393a;
  font-size: 19px;
}

.d-process-card p {
  margin: 0;
  color: #536270;
  font-size: 15px;
}

.d-evidence {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: center;
  padding: 72px clamp(16px, 4vw, 44px);
  background: #edf2f5;
}

.d-evidence figure {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.d-evidence video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #17212b;
  border: 5px solid #fff;
  box-shadow: 0 18px 42px rgba(23, 33, 43, 0.16);
}

.d-evidence figure span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 7px 12px;
  color: #fff;
  background: #38393a;
  font-size: 13px;
}

.d-evidence > div > span {
  display: block;
  margin-bottom: 7px;
  color: #4f748b;
  font-size: 13px;
  font-weight: 800;
}

.d-evidence h2 {
  margin: 0 0 14px;
  color: #38393a;
  font-size: 34px;
  line-height: 1.15;
}

.d-evidence p {
  margin: 0;
  color: #536270;
  font-size: 16px;
}

.d-evidence dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

.d-evidence dl div {
  padding: 14px;
  background: #fff;
  border-left: 3px solid #ffd100;
}

.d-evidence dt {
  color: #536270;
  font-size: 13px;
}

.d-evidence dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.d-evidence-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.d-evidence-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 9px 18px;
  border: 1px solid #4f748b;
  color: #38393a;
  font-weight: 700;
}

.d-evidence-actions a:first-child {
  color: #fff;
  background: #4f748b;
}

.d-evidence-actions a:hover {
  border-color: #ffd100;
}

.d-automation {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 46px;
  align-items: center;
  padding: 72px clamp(16px, 4vw, 44px);
  background: #edf2f5;
}

.d-automation img {
  width: 100%;
  aspect-ratio: 369 / 254;
  object-fit: cover;
  border: 5px solid #fff;
}

.d-automation p {
  color: #536270;
}

.d-automation ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 230px));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.d-automation li {
  min-height: 44px;
  padding: 10px 13px;
  background: #fff;
  border-left: 3px solid #ffd100;
  font-weight: 700;
}

.d-specs {
  background: #fff;
}

.d-specs > span,
.d-industries > span {
  margin-bottom: 7px;
}

.d-specs h2,
.d-industries h2 {
  margin-bottom: 28px;
}

.d-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #cbd5dc;
}

.d-specs table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.d-specs th,
.d-specs td {
  padding: 14px 16px;
  border-bottom: 1px solid #dbe3e8;
  text-align: left;
}

.d-specs th {
  color: #fff;
  background: #4f748b;
}

.d-specs tr:nth-child(even) td {
  background: #f4f8fa;
}

.d-industries {
  background: #edf2f5;
}

.d-industries > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #cbd5dc;
}

.d-quote {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  gap: 48px;
  padding: 72px clamp(16px, 4vw, 44px);
  background: #38393a;
  color: #fff;
}

.d-quote p {
  color: #d7d7d7;
}

.d-quote form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 26px;
  background: #fff;
  color: #38393a;
  border-radius: 5px;
}

.d-quote label {
  margin-bottom: -6px;
  font-size: 13px;
  font-weight: 700;
}

.d-quote input,
.d-quote select {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #a9b5bc;
  border-radius: 3px;
}

.d-quote button {
  grid-column: 1 / -1;
  min-height: 46px;
  color: #38393a;
  background: #ffd100;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.d-quote button:hover {
  background: #e6bc00;
}

.d-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #cbd5dc;
  border-top: 1px solid #cbd5dc;
}

.d-contact-item {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  min-height: 104px;
  padding: 24px clamp(16px, 4vw, 44px);
  color: #38393a;
  background: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.d-contact-item svg {
  grid-row: 1 / span 2;
  width: 25px;
  height: 25px;
  color: #4f748b;
}

.d-contact-item span {
  color: #4f748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.d-contact-item strong {
  font-size: 17px;
  line-height: 1.3;
}

.d-contact-item:hover {
  color: #147d84;
  background: #edf2f5;
}

.d-contact-item:hover svg,
.d-contact-item:hover span {
  color: #147d84;
}

.d-footer {
  color: #fff;
  background: #222324;
}

.d-footer-logo {
  flex: 0 0 auto;
  width: 128px;
  height: 54px;
}

.d-article {
  padding: 64px clamp(16px, 4vw, 44px) 78px;
  background: #fff;
}

.d-article-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.d-article-shell > * {
  min-width: 0;
}

.d-article-toc {
  position: sticky;
  top: 24px;
  padding: 22px;
  background: #edf2f5;
  border-top: 3px solid #ffd100;
}

.d-article-toc span {
  display: block;
  margin-bottom: 12px;
  color: #4f748b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.d-article-toc nav {
  display: grid;
  gap: 10px;
}

.d-article-toc a {
  color: #536270;
  font-size: 14px;
  font-weight: 600;
}

.d-article-toc a:hover {
  color: #38393a;
}

.d-article-body > section {
  padding: 30px 0;
  border-bottom: 1px solid #d6dde2;
}

.d-article-body > section:first-of-type {
  padding-top: 0;
}

.d-article-body > section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.d-article-body h2 {
  margin: 0 0 12px;
  color: #38393a;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 30px;
  line-height: 1.16;
}

.d-article-body h3 {
  margin: 24px 0 8px;
  color: #38393a;
  font-size: 21px;
}

.d-article-body p,
.d-article-body li {
  color: #536270;
  font-size: 16px;
}

.d-article-lede {
  margin: 0 0 28px;
  padding-left: 16px;
  color: #38393a !important;
  border-left: 4px solid #ffd100;
  font-size: 19px;
}

.d-article-table {
  max-width: 100%;
  overflow-x: auto;
  margin: 20px 0 24px;
  border: 1px solid #cbd5dc;
}

.d-article-figure {
  margin: 26px 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cbd5dc;
}

.d-article-figure img {
  width: 100%;
  height: auto;
}

.d-article-figure figcaption {
  padding: 12px 16px;
  color: #536270;
  border-top: 1px solid #d6dde2;
  font-size: 14px;
}

.d-article-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.d-article-figure-grid .d-article-figure {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.d-article-figure-grid .d-article-figure img {
  flex: 1;
  object-fit: cover;
}

.d-article-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.d-article-table th,
.d-article-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #dbe3e8;
  color: #536270;
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}

.d-article-table th {
  color: #fff;
  background: #4f748b;
}

.d-article-table tr:nth-child(even) td {
  background: #f4f8fa;
}

.d-callout {
  margin: 20px 0 0;
  padding: 18px 20px;
  background: #edf2f5;
  border-left: 4px solid #ffd100;
}

.d-article-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.d-article-list li {
  margin-top: 10px;
  padding-left: 18px;
}

.d-article-list li::before {
  content: "■";
  color: #4f748b;
  font-size: 9px;
}

.d-cost-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}

.d-cost-chain span {
  padding: 9px 11px;
  color: #38393a;
  background: #edf2f5;
  border-left: 3px solid #ffd100;
  font-size: 13px;
  font-weight: 700;
}

.d-mistake-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: #cbd5dc;
  border: 1px solid #cbd5dc;
}

.d-mistake-grid article {
  padding: 20px;
  background: #fff;
}

.d-mistake-grid h3 {
  margin: 0 0 7px;
}

.d-mistake-grid p {
  margin: 0;
  font-size: 15px;
}

.d-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  gap: 44px;
  align-items: center;
  padding: 56px clamp(16px, 4vw, 44px);
  color: #fff;
  background: #4f748b;
}

.d-page-hero span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 11px;
  color: #38393a;
  background: #ffd100;
  font-size: 12px;
  font-weight: 800;
}

.d-page-hero h1 {
  margin: 0 0 12px;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.12;
}

.d-page-hero p {
  max-width: 620px;
  margin: 0;
  color: #eaf1f5;
  font-size: 17px;
}

.d-page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 5px solid #fff;
}

.d-product-grid,
.d-resource-grid,
.d-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.d-product-card,
.d-resource-card,
.d-trust-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d6dde2;
}

.d-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid #d6dde2;
}

.d-product-card > div,
.d-resource-card,
.d-trust-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.d-product-card h3,
.d-resource-card h3,
.d-trust-card h3 {
  margin: 0 0 8px;
  color: #38393a;
  font-size: 20px;
}

.d-product-card p,
.d-resource-card p,
.d-trust-card p {
  margin: 0;
  color: #536270;
  font-size: 15px;
}

.d-product-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.d-product-card li {
  position: relative;
  margin-top: 8px;
  padding-left: 18px;
  color: #536270;
  font-size: 14px;
}

.d-product-card li::before {
  position: absolute;
  left: 0;
  color: #4f748b;
  content: "■";
  font-size: 8px;
  line-height: 19px;
}

.d-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  color: #38393a;
  font-weight: 800;
}

.d-card-link::after {
  content: "→";
}

.d-resource-card .d-source,
.d-trust-card .d-source {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #4f748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.d-source-logo {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6dde2;
  border-radius: 3px;
}

.d-source-logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.d-section-soft {
  background: #edf2f5;
}

.d-section-white {
  background: #fff;
}

.d-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.d-section-head h2 {
  margin: 7px 0 10px;
  color: #38393a;
  font-size: 34px;
  line-height: 1.15;
}

.d-section-head p {
  margin: 0;
  color: #536270;
  font-size: 16px;
}

.d-section-cta {
  margin: 26px 0 0;
}

.d-section-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 9px 20px;
  color: #38393a;
  background: #fff;
  border: 1px solid #38393a;
  font-weight: 700;
}

.d-section-cta a:hover {
  color: #147d84;
  border-color: #147d84;
}

.d-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #cbd5dc;
  border: 1px solid #cbd5dc;
}

.d-check-grid article {
  min-height: 230px;
  padding: 24px;
  background: #fff;
}

.d-check-grid svg {
  width: 24px;
  height: 24px;
  color: #4f748b;
}

.d-check-grid h3 {
  margin: 13px 0 7px;
  color: #38393a;
  font-size: 19px;
}

.d-check-grid p {
  margin: 0;
  color: #536270;
  font-size: 15px;
}

.d-note {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 18px 20px;
  background: #fff;
  border-left: 4px solid #ffd100;
  color: #536270;
}

.d-category-browser {
  padding: 72px clamp(16px, 4vw, 44px);
  background: #fff;
}

.d-category-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.d-category-head span {
  display: block;
  margin-bottom: 7px;
  color: #4f748b;
  font-size: 13px;
  font-weight: 800;
}

.d-category-head h2 {
  max-width: 760px;
  margin: 0 0 10px;
  color: #38393a;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
}

.d-category-head p {
  max-width: 700px;
  margin: 0;
  color: #536270;
  font-size: 16px;
}

.d-category-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 46px;
  padding: 9px 20px;
  color: #38393a;
  background: #ffd100;
  border: 1px solid #ffd100;
  font-weight: 800;
}

.d-category-head a:hover,
.d-category-head a:focus-visible {
  color: #147d84;
}

.d-category-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.d-category-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: #fff;
  border: 1px solid #d6dde2;
  border-top: 4px solid #4f748b;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.d-category-card img {
  flex: 0 0 auto;
  width: 100%;
  height: 210px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.d-category-card strong {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 64px;
  padding: 12px 15px;
  color: #38393a;
  font-size: 16px;
  line-height: 1.25;
}

.d-category-card:hover,
.d-category-card:focus-visible {
  box-shadow: 0 10px 24px rgba(31, 48, 61, 0.12);
  transform: translateY(-2px);
}

.d-category-card.is-active {
  border-top-color: #ffd100;
  box-shadow: 0 12px 28px rgba(31, 48, 61, 0.14);
}

.d-category-details {
  margin-top: 28px;
  background: #edf2f5;
  border: 1px solid #d6dde2;
}

.d-category-panel {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  align-items: stretch;
  min-height: 390px;
}

.d-category-panel[hidden] {
  display: none;
}

.d-category-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d-category-panel > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
}

.d-category-panel span {
  color: #4f748b;
  font-size: 13px;
  font-weight: 800;
}

.d-category-panel h3 {
  margin: 8px 0 12px;
  color: #38393a;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
}

.d-category-panel p {
  max-width: 620px;
  margin: 0;
  color: #536270;
  font-size: 16px;
}

.d-category-panel ul {
  max-width: 620px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.d-category-panel li {
  position: relative;
  margin-top: 9px;
  padding-left: 18px;
  color: #536270;
  font-size: 15px;
}

.d-category-panel li::before {
  position: absolute;
  left: 0;
  color: #4f748b;
  content: "■";
  font-size: 8px;
  line-height: 20px;
}

.d-category-panel a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 46px;
  margin-top: 26px;
  padding: 9px 20px;
  color: #fff;
  background: #4f748b;
  border: 1px solid #4f748b;
  font-weight: 700;
}

.d-category-panel a:hover,
.d-category-panel a:focus-visible {
  background: #147d84;
  border-color: #147d84;
}

@media (max-width: 1100px) {
  .x-grid,
  .l-products > div:last-child,
  .l-resources > div:last-child,
  .d-products > div:last-child,
  .d-industries > div,
  .d-product-grid,
  .d-resource-grid,
  .d-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .d-category-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .d-category-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .d-category-panel img {
    aspect-ratio: 16 / 10;
  }

  .d-category-card img {
    height: 180px;
  }

  .l-industries > div {
    grid-template-columns: repeat(2, 1fr);
  }

  #products > div:last-child {
    grid-template-columns: repeat(2, 1fr);
  }

  #products article:last-child {
    grid-column: span 2;
  }

  .d-article-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .d-article-toc {
    position: static;
  }

  .d-article-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
  }

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

  .d-evidence {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .d-evidence figure {
    order: -1;
  }

  .x-process ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .x-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .preview-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .x-topbar,
  .l-topbar,
  .d-topbar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .x-topbar div,
  .l-topbar div,
  .d-topbar div {
    flex: none;
  }

  .x-header,
  .l-header,
  .d-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: 0;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .x-header nav,
  .l-header nav,
  .d-header nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .x-hero,
  .x-quote,
  .l-applications,
  .d-hero,
  .d-page-hero,
  .d-automation,
  .d-quote {
    grid-template-columns: 1fr;
  }

  .x-hero,
  .d-hero {
    min-height: 0;
  }

  .x-hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .x-hero h1,
  .l-hero h1,
  .d-hero h1 {
    font-size: 34px;
  }

  .l-hero,
  .d-hero {
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .d-hero figure {
    order: -1;
  }

  .d-hero-mosaic {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .d-hero-mosaic img {
    opacity: 0.2;
  }

  .d-hero-mosaic::after {
    background: linear-gradient(180deg, rgba(79, 116, 139, 0.94) 0%, rgba(79, 116, 139, 0.86) 58%, rgba(79, 116, 139, 0.7) 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  }

  .x-quote,
  .l-contact,
  .d-quote {
    align-items: flex-start;
    flex-direction: column;
  }

  .l-contact {
    display: grid;
    grid-template-columns: 1fr;
  }

  .l-contact a {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .d-topbar {
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: 0;
    padding: 7px 16px;
    row-gap: 4px;
  }

  .d-topbar div:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
  }

  .d-topbar div:last-child {
    width: 100%;
    justify-content: space-between;
  }

  .x-grid,
  .l-products > div:last-child,
  .l-resources > div:last-child,
  .d-products > div:last-child,
  .d-industries > div,
  .d-product-grid,
  .d-resource-grid,
  .d-trust-grid,
  .d-check-grid,
  .d-category-nav,
  .l-industries > div,
  .x-process ol,
  .x-stats,
  .x-quote form,
  .d-quote form {
    grid-template-columns: 1fr;
  }

  .d-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .d-category-card img {
    height: 150px;
  }

  .d-category-card strong {
    min-height: 54px;
    padding: 10px 12px;
    font-size: 14px;
  }

  #products > div:last-child {
    grid-template-columns: 1fr;
  }

  #products article:last-child {
    grid-column: auto;
  }

  .d-article-toc nav {
    grid-template-columns: 1fr;
  }

  .d-contact-strip {
    grid-template-columns: 1fr;
  }

  .d-article-figure-grid {
    grid-template-columns: 1fr;
  }

  .d-article-body h2 {
    font-size: 26px;
  }

  .d-article-body h3 {
    font-size: 19px;
  }

  .d-mistake-grid {
    grid-template-columns: 1fr;
  }

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

  .d-evidence-actions a {
    width: 100%;
    justify-content: center;
  }

  .x-section,
  .x-process,
  .x-quote,
  .l-products,
  .l-applications,
  .l-industries,
  .l-resources,
  .d-products,
  .d-page-hero,
  .d-section-soft,
  .d-section-white,
  .d-automation,
  .d-specs,
  .d-industries,
  .d-quote {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .x-section h2,
  .x-process h2,
  .x-quote h2,
  .l-products h2,
  .l-applications h2,
  .l-industries h2,
  .l-resources h2,
  .d-products h2,
  .d-category-head h2,
  .d-automation h2,
  .d-specs h2,
  .d-industries h2 {
    font-size: 28px;
  }

  .x-hero-copy > div,
  .l-hero > div > div,
  .d-hero > div > div {
    align-items: stretch;
    flex-direction: column;
  }

  .x-hero a,
  .l-hero a,
  .d-hero a {
    width: 100%;
  }

  .x-footer,
  .l-footer,
  .d-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .shell-tab {
    padding: 6px 10px;
  }
}

.d-video-library {
  padding-right: clamp(16px, 4vw, 44px);
  padding-left: clamp(16px, 4vw, 44px);
}

.d-video-controls {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(180px, 1fr) minmax(150px, 0.7fr);
  gap: 12px;
  margin-top: 28px;
}

.d-video-controls label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.d-video-controls input,
.d-video-controls select {
  min-height: 46px;
  padding: 10px 12px;
  color: #17212b;
  background: #fff;
  border: 1px solid #cbd5dc;
  border-radius: 4px;
}

.d-video-controls input:focus-visible,
.d-video-controls select:focus-visible,
.d-video-card button:focus-visible,
.d-video-more button:focus-visible,
.d-video-modal header button:focus-visible {
  outline: 3px solid #4f748b;
  outline-offset: 2px;
}

.d-video-result-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 18px;
  color: #536270;
  font-size: 14px;
}

.d-video-result-bar strong {
  color: #38393a;
  font-size: 16px;
}

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

.d-video-card {
  display: flex;
  min-height: 210px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d6dde2;
  border-top: 3px solid #4f748b;
}

.d-video-card > div {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.d-video-card span {
  color: #4f748b;
  font-size: 12px;
  font-weight: 800;
}

.d-video-card h3 {
  margin: 7px 0 12px;
  color: #38393a;
  font-size: 18px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.d-video-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.d-video-card dt {
  color: #718091;
  font-size: 12px;
}

.d-video-card dd {
  margin: 0;
  color: #38393a;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.d-video-card button,
.d-video-more button,
.d-video-modal header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.d-video-card button {
  min-height: 42px;
  margin-top: auto;
  padding: 9px 14px;
  color: #fff;
  background: #38393a;
  border: 0;
  font-weight: 700;
}

.d-video-card button:hover,
.d-video-card button:focus-visible {
  background: #4f748b;
}

.d-video-card svg {
  width: 17px;
  height: 17px;
}

.d-video-empty {
  margin: 0;
  padding: 28px;
  color: #536270;
  background: #fff;
  border: 1px dashed #cbd5dc;
  text-align: center;
}

.d-video-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

#video-more[hidden] {
  display: none;
}

.d-video-more button {
  min-height: 46px;
  padding: 10px 20px;
  color: #38393a;
  background: #ffd100;
  border: 0;
  font-weight: 800;
}

.d-video-more svg {
  width: 18px;
  height: 18px;
}

.d-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 32, 0.82);
}

.d-video-modal[hidden] {
  display: none;
}

.d-video-modal > div {
  display: grid;
  width: min(1120px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
}

.d-video-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid #d6dde2;
}

.d-video-modal h2 {
  margin: 0 0 5px;
  color: #38393a;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.d-video-modal p {
  margin: 0;
  color: #536270;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.d-video-modal header button {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #38393a;
  border: 0;
}

.d-video-modal header button:hover,
.d-video-modal header button:focus-visible {
  background: #4f748b;
}

.d-video-modal video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 130px);
  aspect-ratio: 16 / 9;
  background: #111417;
}

@media (max-width: 1100px) {
  .d-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .d-video-controls {
    grid-template-columns: 1fr;
  }

  .d-video-grid {
    grid-template-columns: 1fr;
  }

  .d-video-result-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .d-video-modal {
    align-items: stretch;
    padding: 12px;
  }

  .d-video-modal > div {
    max-height: calc(100vh - 24px);
  }

  .d-video-modal video {
    max-height: calc(100vh - 145px);
  }
}
