:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #eef2f8;
  --text: #162033;
  --muted: #5a677d;
  --line: #d8e0ec;
  --brand: #0f4c81;
  --brand-strong: #0b365b;
  --accent: #f59e0b;
  --shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --site-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-strong);
}

img {
  max-width: 100%;
  height: auto;
}

.site-width {
  width: min(calc(100% - 32px), var(--site-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 249, 252, 0.9);
  border-bottom: 1px solid rgba(216, 224, 236, 0.9);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}

.brand-copy strong {
  display: block;
  font-size: 18px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: var(--surface);
  color: var(--text);
}

.header-search {
  display: flex;
  gap: 10px;
  min-width: min(100%, 360px);
}

.header-search input,
.search-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
}

.header-search input:focus,
.search-form input:focus {
  outline: 2px solid rgba(15, 76, 129, 0.18);
  border-color: var(--brand);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.button:hover,
button.button:hover {
  transform: translateY(-1px);
}

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

.button.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.button.ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(15, 76, 129, 0.18);
}

.page-shell {
  padding: 34px 0 64px;
}

.hero {
  background: radial-gradient(circle at top left, rgba(15, 76, 129, 0.12), transparent 40%), var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.hero-grid,
.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.09);
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero h1,
.section-heading h2,
.page-title {
  margin: 14px 0 10px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
}

.cta-row,
.fact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.fact-pill {
  border: 1px solid var(--line);
  background: var(--surface-muted);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
}

.search-form {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.section {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading p,
.card p,
.section p,
.page-copy p,
.site-footer p {
  color: var(--muted);
}

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

.card,
.document-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.document-card {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.document-preview {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  margin-bottom: 12px;
}

.document-preview img {
  display: block;
  width: 100%;
}

.document-link {
  font-weight: 700;
}

.document-link-inline {
  display: inline-flex;
  min-height: 180px;
  align-items: center;
}

.product-gallery {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}

.main-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.main-media img {
  display: block;
  max-height: 340px;
  object-fit: contain;
}

.thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.thumb-row button {
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}

.thumb-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-prose > :first-child,
.page-copy > :first-child {
  margin-top: 0;
}

.content-prose h2,
.content-prose h3,
.page-copy h2,
.page-copy h3 {
  margin-top: 1.75em;
}

.content-prose p,
.content-prose li {
  color: var(--text);
}

.note-box {
  border-left: 4px solid var(--accent);
  background: #fff7ed;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  width: 220px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 24px;
}

.site-footer h2,
.site-footer h3 {
  margin-top: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 10px;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .site-header.is-open .site-nav,
  .site-header.is-open .header-search {
    display: flex;
  }

  .header-bar {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
  }

  .header-search {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .product-hero,
  .footer-grid,
  .footer-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding-top: 20px;
  }

  .hero,
  .section {
    padding: 20px;
  }

  .search-form,
  .cta-row {
    flex-direction: column;
  }

  .button,
  button.button {
    width: 100%;
  }
}
