:root {
  --paper: #f6f8fb;
  --surface: #ffffff;
  --mist: #e8edf2;
  --line: #c7cfd8;
  --ink: #111518;
  --muted: #59636a;
  --coal: #172026;
  --steel: #2f6f8f;
  --blue: #1f5f7a;
  --blue-hover: #174b62;
  --sky: #8fc6da;
  --green: #437c55;
  --danger: #b54848;
  --shadow: 0 24px 80px rgba(17, 21, 24, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(246, 248, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  flex: 1 1 640px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-summary,
.site-nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
}

.nav-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

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

.nav-summary::marker {
  content: "";
}

.nav-summary::after {
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown[open] .nav-summary::after {
  transform: translateY(1px) rotate(225deg);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.nav-summary:hover,
.nav-summary:focus-visible,
.nav-summary.is-current,
.nav-dropdown[open] .nav-summary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.nav-summary:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  gap: 2px;
  min-width: 288px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-dropdown:not([open]) .nav-menu {
  display: none;
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-menu-label {
  display: block;
  padding: 10px 12px 4px;
  color: var(--coal);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu a.nav-menu-child {
  padding-left: 28px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  color: var(--ink);
  background: rgba(47, 111, 143, 0.08);
}

.hero {
  min-height: clamp(360px, 48vh, 500px);
  display: flex;
  align-items: center;
  padding: 56px 32px;
}

.hero-home {
  color: #fff;
  background: var(--coal);
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero h1,
.page-intro h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
  line-height: 0.96;
  font-weight: 820;
}

.hero-home h1 {
  font-size: clamp(2.2rem, 5.8vw, 4.8rem);
}

.lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: inherit;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.86);
}

.kicker {
  margin: 0 0 12px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.hero .kicker {
  color: var(--sky);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 760;
  text-decoration: none;
}

.button-primary {
  background: var(--blue);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--blue-hover);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.button-outline {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.button-outline:hover {
  background: #ffffff;
}

.section,
.page-intro,
.article-shell {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.directory-section {
  padding-top: 52px;
}

.page-intro {
  padding: 88px 0 48px;
}

.page-intro .lede {
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.two-column h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.02;
}

.section-heading p:last-child,
.text-stack p,
.contact-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.directory-section .section-heading {
  display: block;
  max-width: 680px;
  margin-bottom: 28px;
}

.directory-section .section-heading h2 {
  margin-bottom: 10px;
}

.machine-gallery-section {
  padding-bottom: 60px;
}

.machine-gallery-section .section-heading {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: 6px 56px;
}

.machine-gallery-section .section-heading .kicker,
.machine-gallery-section .section-heading h2 {
  grid-column: 1;
}

.machine-gallery-section .section-heading h2 {
  max-width: 680px;
}

.machine-gallery-section .section-heading p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 420px;
  margin-bottom: 4px;
}

.machine-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}

.machine-gallery-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(23, 32, 38, 0.02), rgba(23, 32, 38, 0.76)),
    var(--gallery-image),
    linear-gradient(135deg, #d2dae2 0%, #7f909a 48%, #26343c 100%);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(17, 21, 24, 0.12);
}

.machine-gallery-tile-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 496px;
}

.machine-gallery-tile figcaption {
  width: 100%;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 21, 24, 0), rgba(17, 21, 24, 0.82));
}

.machine-gallery-tile strong,
.machine-gallery-tile span {
  display: block;
}

.machine-gallery-tile strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.machine-gallery-tile span {
  max-width: 440px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.directory-list,
.industry-list {
  border-top: 1px solid var(--line);
}

.directory-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 108px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.directory-row:hover {
  background: rgba(47, 111, 143, 0.07);
}

.row-action {
  color: var(--steel);
  font-size: 0.84rem;
  font-weight: 760;
}

.directory-row strong {
  display: block;
  font-size: 1.24rem;
  line-height: 1.2;
}

.directory-row small {
  display: block;
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  border-top: 1px solid var(--line);
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-link {
  width: max-content;
  color: var(--steel);
  font-weight: 760;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.section-subnav-compact {
  width: 100%;
  margin: 0 0 34px;
}

.section-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: var(--steel);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.section-subnav a:hover,
.section-subnav a:focus-visible,
.section-subnav a[aria-current="page"] {
  color: var(--ink);
  background: #ffffff;
}

.media-band {
  padding-top: 0;
}

.media-band img,
.media-band video {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.industry-list div {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.industry-list h2,
.capability-grid h2,
.contact-layout h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.industry-list p,
.capability-grid p {
  margin: 0;
  color: var(--muted);
}

.product-copy .industry-list {
  margin-top: 34px;
}

.product-copy .industry-list h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.product-copy .industry-list p {
  margin: 0;
  font-size: 1rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  border-top: 1px solid var(--line);
}

.capability-grid article {
  min-height: 160px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
}

.contact-panel span:first-child {
  color: var(--ink);
  font-weight: 780;
}

.contact-panel a {
  color: var(--steel);
  font-weight: 720;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--steel);
  font-weight: 720;
}

.article-shell {
  padding: 48px 0 88px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--steel);
  font-weight: 760;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.product-copy {
  max-width: 940px;
}

.product-copy h1 {
  max-width: 860px;
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
}

.product-copy h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.06;
}

.product-copy h3 {
  margin: 34px 0 10px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.product-copy p,
.product-copy li,
.product-copy blockquote {
  color: var(--muted);
  font-size: 1.04rem;
}

.product-copy > p {
  max-width: 760px;
}

.product-copy blockquote {
  margin: 0 0 30px;
  padding: 18px 22px;
  border-left: 4px solid var(--steel);
  background: rgba(255, 255, 255, 0.56);
}

.product-copy blockquote p {
  margin: 0;
  color: var(--ink);
}

.product-copy ul {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.product-copy ol {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.product-copy code {
  padding: 2px 5px;
  background: var(--mist);
  color: var(--coal);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.94em;
}

.product-copy a {
  color: var(--steel);
  font-weight: 720;
}

.product-copy .button-primary {
  color: #ffffff;
}

.product-copy .button-outline {
  color: var(--ink);
}

.product-copy table {
  width: min(100%, 860px);
  margin: 18px 0 10px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.product-copy th,
.product-copy td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.product-copy th {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 820;
  text-transform: uppercase;
}

.product-copy tr:last-child td {
  border-bottom: 0;
}

.product-copy figure {
  margin: 28px 0;
}

.product-copy figure img,
.product-copy video {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--coal);
  box-shadow: var(--shadow);
}

.product-copy figcaption,
.caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.media-block {
  margin: 34px 0 42px;
}

.machine-detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: 44px;
  align-items: start;
}

.machine-detail-intro .product-actions {
  margin-bottom: 0;
}

.machine-photo {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(23, 32, 38, 0.02), rgba(23, 32, 38, 0.76)),
    var(--photo-image),
    linear-gradient(135deg, #d2dae2 0%, #7f909a 48%, #26343c 100%);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.machine-photo::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  content: "";
  pointer-events: none;
}

.machine-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 18px;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(180deg, rgba(17, 21, 24, 0), rgba(17, 21, 24, 0.86));
}

.machine-photo figcaption strong,
.machine-photo figcaption span {
  display: block;
}

.machine-photo figcaption strong {
  color: #fff;
  font-size: 1.05rem;
}

.machine-photo figcaption span {
  max-width: 360px;
  margin-top: 4px;
  font-size: 0.9rem;
}

.machine-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 940px;
  margin: 30px 0 10px;
}

.machine-photo-grid .machine-photo {
  min-height: 260px;
  box-shadow: 0 18px 54px rgba(17, 21, 24, 0.12);
}

.product-copy figure.plain-photo img {
  width: auto;
  max-width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.machine-scope-list {
  display: grid;
  gap: 0;
  max-width: 860px;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}

.machine-scope-list div {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.machine-scope-list h3 {
  margin: 0;
  font-size: 1.08rem;
}

.machine-scope-list p {
  margin: 0;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.resource-list {
  list-style: square;
}

.video-embed {
  width: min(100%, 860px);
  margin: 30px 0 10px;
  aspect-ratio: 16 / 9;
  background: var(--coal);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 8px;
}

.screenshot-grid figure {
  margin: 0;
}

.rapidturn-gallery {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.rapidturn-gallery a,
.featured-screenshot a {
  display: block;
}

.rapidturn-gallery img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.email-image {
  width: min(100%, 360px);
  margin-top: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-facts div {
  min-height: 128px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.product-facts dt {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.product-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 740;
}

.callout-strip {
  margin: 44px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.callout-strip p {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 720;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
  }

  .site-nav {
    flex: 0 1 auto;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }

  .nav-summary,
  .site-nav a {
    padding: 7px 8px;
  }

  .nav-menu {
    position: static;
    min-width: min(100%, 320px);
    margin-top: 6px;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
    padding: 44px 20px;
  }

  .section,
  .page-intro,
  .article-shell,
  .section-subnav {
    width: min(100% - 40px, 1120px);
  }

  .page-intro {
    padding: 56px 0 36px;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading,
  .two-column,
  .contact-layout,
  .capability-grid,
  .industry-list div,
  .machine-detail-intro,
  .machine-scope-list div {
    grid-template-columns: 1fr;
  }

  .directory-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .screenshot-grid,
  .machine-gallery,
  .machine-photo-grid,
  .product-facts {
    grid-template-columns: 1fr;
  }

  .machine-gallery-tile,
  .machine-gallery-tile-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .machine-gallery-section .section-heading .kicker,
  .machine-gallery-section .section-heading h2,
  .machine-gallery-section .section-heading p:last-child {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
  }
}

@media (max-width: 460px) {
  .hero h1,
  .page-intro h1,
  .product-copy h1 {
    font-size: 2.35rem;
  }

  .brand {
    white-space: normal;
  }

  .button {
    width: 100%;
  }

  .directory-row {
    min-height: 0;
  }
}
