:root {
  --ink: #17212b;
  --muted: #596776;
  --line: #d8e0e6;
  --paper: #f7f8f5;
  --white: #ffffff;
  --steel: #546777;
  --green: #186a5d;
  --teal: #0d8a8a;
  --amber: #c9862d;
  --red: #b94d3e;
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 224, 230, 0.8);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  border-radius: 4px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 4px;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.nav a:hover {
  background: rgba(24, 106, 93, 0.08);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.header-cta {
  font-size: 14px;
  background: var(--ink);
  color: var(--white);
}

.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 6vw;
  min-height: calc(100vh - 72px);
  padding: 7vw 5vw 5vw;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.82), rgba(247,248,245,0.48)),
    radial-gradient(circle at 15% 20%, rgba(201,134,45,0.15), transparent 32%),
    linear-gradient(135deg, #eef2ef, #f7f8f5 45%, #e8eef0);
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

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

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

.hero-lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 36px 0 0;
}

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-metrics dt {
  font-size: 24px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  padding: 24px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(216, 224, 230, 0.8);
  box-shadow: var(--shadow);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.trust-strip span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid rgba(255,255,255,0.18);
  text-align: center;
  font-weight: 700;
}

.section {
  padding: 92px 5vw;
}

.intro,
.split,
.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 7vw;
  align-items: start;
}

.intro p:last-child,
.split > div:first-child p,
.cta-section p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  background: var(--white);
}

.product-grid .section-heading {
  grid-column: 1 / -1;
}

.product-card {
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.card-index {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--teal);
  font-weight: 800;
}

.product-card p,
.application-list p,
.process p {
  color: var(--muted);
}

.product-card ul {
  padding-left: 18px;
  margin: 22px 0 0;
}

.product-card li + li {
  margin-top: 8px;
}

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

.application-list > div {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.spec-band {
  background: #e8eef0;
}

.spec-table {
  border: 1px solid var(--line);
  background: var(--white);
}

.spec-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
  border-bottom: 0;
}

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

.process {
  background: var(--white);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.process li span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--amber);
  font-weight: 800;
}

.blog-preview {
  background: #f7f8f5;
}

.authority-chain {
  background: var(--white);
}

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

.authority-grid article {
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.authority-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--amber);
  font-weight: 800;
}

.authority-grid p {
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.blog-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.blog-card span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-card h3 a:hover {
  color: var(--green);
}

.blog-card p {
  color: var(--muted);
}

.article {
  max-width: 900px;
  margin: 0 auto;
  padding: 86px 5vw;
}

.article h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.article p,
.article li {
  color: var(--muted);
  font-size: 18px;
}

.article h2 {
  margin-top: 44px;
  font-size: clamp(28px, 4vw, 42px);
}

.pillar-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.pillar-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pillar-toc strong {
  margin-bottom: 6px;
}

.pillar-toc a {
  color: var(--muted);
  font-size: 14px;
}

.pillar-toc a:hover,
.pillar-content a:hover,
.product-card a:hover {
  color: var(--green);
}

.pillar-content {
  max-width: 900px;
}

.pillar-content section {
  padding: 0 0 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.pillar-content p,
.pillar-content li {
  color: var(--muted);
  font-size: 18px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.mini-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  counter-reset: flow;
}

.flow span {
  position: relative;
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
  text-align: center;
}

.flow span::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  top: 10px;
  left: 12px;
  color: var(--amber);
  font-size: 12px;
}

.article-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.article-cta p {
  color: #c9d3dc;
}

.cta-section {
  padding: 92px 5vw;
  background: var(--ink);
  color: var(--white);
}

.cta-section .eyebrow {
  color: #f0b15f;
}

.cta-section p {
  color: #c9d3dc;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #e9eef2;
  font-size: 14px;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 4px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 42px 5vw;
  background: #101820;
  color: #c9d3dc;
  font-size: 14px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin-top: 9px;
  color: #c9d3dc;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .hero,
  .intro,
  .split,
  .cta-section,
  .pillar-layout {
    grid-template-columns: 1fr;
  }

  .pillar-toc {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .product-grid,
  .authority-grid,
  .blog-grid,
  .process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 0 18px;
  }

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

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero,
  .section,
  .cta-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-metrics,
  .authority-grid,
  .blog-grid,
  .product-grid,
  .process ol,
  .trust-strip,
  .spec-table div {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding: 12px;
  }

  .product-card {
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
