:root {
  color-scheme: light;
  --ink: #161816;
  --muted: #5c625d;
  --line: #dfe4dc;
  --paper: #f7f8f4;
  --white: #ffffff;
  --field: #fbfcf8;
  --green: #31584c;
  --teal: #2b7c82;
  --amber: #b07a2b;
  --dark: #20241f;
  --shadow: 0 20px 60px rgba(22, 24, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  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.5;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 3vw, 40px);
  background: rgba(247, 248, 244, 0.94);
  border-bottom: 1px solid rgba(22, 24, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
}

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

.brand span {
  width: 96px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: nowrap;
}

.main-nav a {
  padding: 9px 9px;
  color: #30352f;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  border-radius: 6px;
}

.main-nav a:hover {
  background: rgba(43, 124, 130, 0.1);
  color: var(--teal);
}

.main-nav .quote-link {
  margin-left: 4px;
  background: var(--ink);
  color: var(--white);
}

.main-nav .quote-link:hover {
  background: var(--teal);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero,
.page-hero,
.form-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.form-hero {
  grid-template-columns: minmax(0, 880px);
  min-height: auto;
  padding-bottom: 24px;
}

.hero-copy,
.page-hero > div,
.form-hero > div {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.form-hero p,
.section-intro p,
.cta-band p {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
}

.hero-actions,
.cta-actions,
.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
}

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

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

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

.button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-media,
.page-hero img {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img,
.page-hero img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 16px 18px;
  background: var(--white);
  color: var(--green);
  font-weight: 800;
}

.band,
.split-band,
.cta-band,
.form-section {
  padding: clamp(58px, 7vw, 104px) clamp(18px, 5vw, 72px);
}

.band.light {
  background: var(--white);
}

.section-intro {
  max-width: 860px;
  margin-bottom: 34px;
}

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

.capability-item {
  min-height: 116px;
  padding: 20px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.capability-item strong {
  display: block;
  font-size: 20px;
  line-height: 1.18;
}

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

.system-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.system-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.system-card > div {
  padding: 18px;
}

.model {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

dl {
  margin: 16px 0 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 10px;
  font-weight: 750;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--dark);
  color: var(--white);
}

.split-band p {
  color: rgba(255, 255, 255, 0.72);
}

.workflow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.workflow-list span {
  color: #9ed8d0;
  font-weight: 900;
}

.workflow-list strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 20px;
}

.workflow-list p {
  margin: 0;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: #e8efe8;
}

.cta-band > div:first-child {
  max-width: 850px;
}

.form-section {
  padding-top: 0;
}

.rfq-form {
  display: grid;
  gap: 18px;
  max-width: 1120px;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding: 0 8px;
  font-size: 20px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
}

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

label span {
  color: #30352f;
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid #cfd7ce;
  border-radius: 6px;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(43, 124, 130, 0.2);
  border-color: var(--teal);
}

.file-input small {
  color: var(--muted);
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-submit p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.site-footer img {
  width: 120px;
  filter: invert(1);
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 1320px) {
  .brand {
    min-width: 128px;
  }

  .brand span {
    display: none;
  }
}

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

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

  .hero-media img,
  .page-hero img {
    min-height: 360px;
  }

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

@media (max-width: 760px) {
  .brand span {
    display: none;
  }

  .hero,
  .page-hero,
  .form-hero {
    min-height: auto;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .capability-grid,
  .system-grid,
  .split-band,
  .cta-band,
  fieldset {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-actions,
  .cta-actions,
  .section-actions,
  .form-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
