:root {
  --ink: #17202a;
  --muted: #5d6975;
  --line: #d9e0e6;
  --surface: #f5f7f8;
  --soft: #eef3f4;
  --steel: #dfe6ea;
  --brand: #b93424;
  --brand-dark: #8f271d;
  --navy: #0d2e57;
  --white: #ffffff;
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--brand);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px 12px;
  font: inherit;
  font-weight: 800;
}

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 10px 18px 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 6vw, 88px) clamp(18px, 5vw, 80px) clamp(28px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.92) 52%, rgba(240, 244, 245, 0.9) 100%),
    var(--surface);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.feature-list p,
.use-case-grid p,
.faq-list p,
.site-footer span {
  color: var(--muted);
}

.hero-text {
  max-width: 590px;
  margin-bottom: 26px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--brand);
}

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

.button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  padding: 18px 18px 18px 0;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-strip dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.hero-media {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-media video {
  width: 100%;
  max-height: 690px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--steel);
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 80px);
}

.section.muted {
  background: var(--surface);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.machine-photo {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.feature-list div {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.use-case-grid article {
  min-height: 190px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.spec-table {
  width: min(100%, 1040px);
  border-top: 2px solid var(--navy);
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.spec-table span {
  color: var(--muted);
  font-weight: 800;
}

.faq-list {
  max-width: 960px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
}

.faq-list p {
  max-width: 760px;
  margin: 12px 0 0;
}

.rfq {
  background: var(--navy);
  color: var(--white);
}

.rfq .section-heading p {
  color: rgba(255, 255, 255, 0.75);
}

.rfq-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
}

.rfq-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.rfq-form textarea {
  resize: vertical;
}

.rfq-form input::placeholder,
.rfq-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.rfq-form select option {
  color: var(--ink);
}

.wide {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-nav.open {
    display: block;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-media {
    align-self: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .brand span {
    font-size: 15px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 17px;
  }

  .proof-strip,
  .spec-table div,
  .rfq-form {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .use-case-grid article {
    min-height: 150px;
  }
}
