:root {
  color-scheme: light;
  --ink: #142126;
  --muted: #5f6d72;
  --line: #d8e1e3;
  --paper: #f7f9f8;
  --panel: #ffffff;
  --deep: #12333a;
  --teal: #0d7f79;
  --copper: #b76035;
  --steel: #e8eef0;
}

* {
  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.55;
}

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

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

.brand,
.nav,
.hero-actions,
.hero-metrics,
.application-list a,
.quote form {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--deep);
  color: #fff;
  font-size: 13px;
  border-radius: 6px;
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
}

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

.header-cta,
.primary-button,
.secondary-button,
.quote button {
  border-radius: 6px;
  font-weight: 720;
}

.header-cta {
  padding: 10px 14px;
  color: #fff;
  background: var(--deep);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding: clamp(44px, 8vw, 92px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background: #0d191d;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 20, 24, 0.92), rgba(9, 20, 24, 0.62) 42%, rgba(9, 20, 24, 0.12));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  padding: 13px 18px;
}

.primary-button {
  color: #fff;
  background: var(--teal);
}

.secondary-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 18px;
  margin: 46px 0 0;
}

.hero-metrics div {
  min-width: 150px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-metrics dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 4px 0 0;
  font-weight: 740;
}

.positioning,
.section,
.quote {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.positioning {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1.3fr);
  gap: 42px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.positioning p:not(.eyebrow),
.section-head p,
.product-spotlight p,
.quote p {
  color: var(--muted);
  font-size: 17px;
}

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

.product-grid,
.tech-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-grid article,
.tech-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 800;
}

.product-grid p,
.tech-grid p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.application-list {
  display: grid;
  gap: 10px;
}

.application-list a {
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.application-list span {
  max-width: 520px;
  color: var(--muted);
  text-align: right;
}

.tech-band {
  background: var(--deep);
  color: #fff;
}

.tech-band .eyebrow {
  color: #d99467;
}

.tech-band .section-head p,
.tech-band .tech-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.tech-grid article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.product-spotlight {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background: var(--panel);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  width: 40%;
  color: var(--muted);
  font-weight: 650;
}

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

.resource-grid div {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 740;
  text-align: center;
}

.quote {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
}

.quote form {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c8d3d6;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.quote button {
  min-height: 48px;
  color: #fff;
  background: var(--deep);
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status[data-state="success"] {
  color: #0f766e;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-login {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-bottom: 28px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-login button,
.leads-toolbar button {
  min-height: 44px;
  padding: 10px 14px;
  color: #fff;
  background: var(--deep);
  border: 0;
  border-radius: 6px;
  font-weight: 720;
  cursor: pointer;
}

.leads-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.lead-card {
  margin-bottom: 12px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-card__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.lead-card__head span,
.lead-card dt {
  color: var(--muted);
}

.lead-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.lead-card dt {
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.lead-card dd {
  margin: 2px 0 0;
}

.page-hero {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 760;
}

.list-section {
  display: grid;
  gap: 18px;
}

.list-section article,
.note-panel {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.list-section h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.list-section p,
.list-section li,
.note-panel p {
  color: var(--muted);
}

.list-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-page {
  max-width: 920px;
}

.legal-page h2 {
  margin-top: 26px;
  font-size: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep);
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

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

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

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

  .positioning,
  .split,
  .product-spotlight,
  .quote,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    padding: 9px 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 42px;
  }

  .product-grid,
  .tech-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .application-list a {
    display: grid;
    align-items: start;
  }

  .application-list span {
    text-align: left;
  }
}
