:root {
  --accent: #087fbd;
  --accent-deep: #075f8e;
  --accent-soft: #e8f5fc;
  --ink: #08253e;
  --paper: #f4f7f9;
  --surface: #ffffff;
  --line: #c8d6e0;
  --muted: #526777;
  --focus: #9b3f00;
  --max: 1320px;
  --shadow: 0 14px 32px rgba(8, 55, 88, .09);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 Arial, sans-serif;
  overflow-wrap: anywhere;
}

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

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

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

:where(a, button, summary, input, select, textarea) {
  min-height: 44px;
}

:where(a, button, summary, input, select, textarea, [tabindex="0"]):focus-visible {
  outline: 3px solid #9b3f00;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #ffffff;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  min-width: 0;
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 99;
  top: -80px;
  left: 20px;
  padding: 10px 14px;
  border-radius: 0 0 6px 6px;
  background: var(--accent-deep);
  color: #ffffff;
}

.skip:focus {
  top: 0;
}

.utility {
  background: #061827;
  color: #d9e4ec;
  font-size: 13px;
}

.utility .container {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.utility strong {
  color: #ffffff;
}

.nav {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}

.nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

.button:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
}

.button.secondary {
  background: transparent;
  color: var(--accent-deep);
}

.product-detail-hero {
  padding: 26px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fbfe, #eef6fb);
}

.product-detail-title {
  margin: 0;
  padding: 8px 0 38px;
  text-align: center;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 560px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.product-detail-grid > *,
.form-layout > *,
.card-grid > * {
  min-width: 0;
}

.product-detail-main {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-detail-main img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  display: block;
  object-fit: contain;
  padding: 12px;
}

.product-detail-thumbs {
  max-width: 100%;
  display: flex;
  gap: 9px;
  margin-top: 12px;
  padding: 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}

.product-detail-thumb {
  width: 72px;
  height: 72px;
  min-width: 72px;
  padding: 3px;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #ffffff;
}

.product-detail-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.category-strip {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

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

.category-card {
  min-width: 0;
  min-height: 142px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 8px 22px rgba(8, 55, 88, .05);
}

.category-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.category-card b {
  font-size: 14px;
  line-height: 1.2;
}

.product-title-section {
  padding: 34px 0 8px;
  background: #ffffff;
  text-align: center;
}

.product-title-section h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.1;
}

.product-detail-copy h2,
.section h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.product-detail-copy p {
  margin: 0 0 12px;
  color: var(--muted);
}

.product-detail-specs {
  margin: 22px 0;
  border-top: 1px solid var(--line);
}

.product-detail-specs div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
}

.product-detail-specs dt,
.product-detail-specs dd {
  min-width: 0;
  margin: 0;
}

.product-detail-specs dt {
  font-weight: 700;
}

.product-detail-specs dd {
  color: var(--muted);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

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

.trust-item {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  color: var(--accent-deep);
  font-size: 16px;
}

.trust-item span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 64px 0;
  background: #ffffff;
}

.section.alt {
  background: var(--paper);
}

.section-heading {
  max-width: 1040px;
  margin-bottom: 26px;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 9px !important;
  color: var(--accent-deep) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.principle-copy {
  max-width: 920px;
  display: grid;
  gap: 14px;
}

.principle-copy p {
  margin: 0;
  color: var(--muted);
}

.content-block {
  max-width: none;
}

.content-block p {
  max-width: 1100px;
  color: var(--muted);
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 20px;
}

.image-pair figure,
.wide-image {
  margin: 0;
}

.image-pair img,
.wide-image img,
.line-image-grid img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.image-pair img {
  aspect-ratio: 2 / 1;
  object-fit: contain;
  padding: 10px;
}

.list-section {
  margin-top: 34px;
}

.list-section h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: start;
}

.option-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.option-panel h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

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

.check-list li {
  position: relative;
  min-width: 0;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.detail-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(8, 55, 88, .05);
}

.detail-card img {
  grid-row: 1 / span 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  margin-bottom: 0;
  object-fit: contain;
  border-radius: 8px;
  background: #f7fbfd;
}

.detail-card h3 {
  grid-column: 2;
  margin: 0;
  font-size: 20px;
}

.detail-card p {
  grid-column: 2;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.application-grid,
.workflow-grid,
.selection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.workflow-grid {
  margin-top: 28px;
}

.card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(8, 55, 88, .05);
}

.card-index {
  width: 32px;
  height: 32px;
  display: grid;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
}

.card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
  scrollbar-gutter: stable;
}

.spec-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.spec-table caption {
  padding: 14px;
  text-align: left;
  color: var(--muted);
  font-size: 13px;
}

.spec-table th {
  padding: 15px;
  background: var(--ink);
  color: #ffffff;
  text-align: left;
  font-size: 12px;
}

.spec-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  font-family: monospace;
  font-size: 13px;
  white-space: nowrap;
}

.spec-table td:first-child {
  background: #f7fbfd;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.workflow-overview {
  max-width: 900px;
  color: var(--muted);
}

.large-copy {
  margin-top: 26px;
  font-size: 20px;
}

.workflow-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 30px;
  padding-left: 22px;
  color: var(--muted);
}

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

.line-image-grid img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
  background: #ffffff;
}

.wide-image {
  max-width: 960px;
  margin: 28px auto 0;
}

.wide-image img {
  max-height: 620px;
  object-fit: contain;
}

.faq-grid,
.related-grid {
  display: grid;
  gap: 16px;
}

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

.faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(8, 55, 88, .05);
}

.faq summary {
  min-height: 58px;
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
}

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

.related-card {
  min-height: 150px;
  display: block;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(8, 55, 88, .05);
}

.related-card:hover {
  border-color: var(--accent);
}

.related-card h3 {
  margin: 0;
  font-size: 18px;
}

.related-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-zone {
  background: linear-gradient(125deg, #061827, #104d78);
  color: #ffffff;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: start;
}

.form-copy p {
  color: #d5e1e9;
}

.verification-note {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
}

.form-card {
  padding: 30px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

.form-card h3 {
  margin: 0;
  font-size: 22px;
}

.form-card > p {
  margin: 7px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafcfd;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-deep);
}

.form-card .button {
  width: 100%;
  margin-top: 14px;
}

.form-heading {
  margin-bottom: 28px;
  text-align: center;
}

.form-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
}

.form-heading p {
  margin: 8px 0 0;
  text-transform: uppercase;
}

.original-form {
  max-width: 900px;
  margin-inline: auto;
}

.related-zone {
  background: #ffffff;
}

.related-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.related-columns section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(8, 55, 88, .05);
}

.related-columns h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.related-columns ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.related-columns a:hover {
  color: var(--accent-deep);
}

.endpoint-status {
  margin: 13px 0 0 !important;
  padding: 11px 13px;
  border-radius: 6px;
  background: #fff3d9;
  color: #654900 !important;
}

.form-privacy {
  font-size: 12px !important;
  text-align: center;
}

.footer {
  padding: 48px 0 82px;
  background: #061827;
  color: #c7d4dd;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer h2 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
}

.footer p {
  max-width: 640px;
  margin: 7px 0 0;
}

.footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #8fd2f5;
  font-weight: 700;
}

.mobile-actions {
  display: none;
}

.mobile-actions a {
  min-width: 44px;
}

@media (max-width: 1024px) {
  .product-detail-grid,
  .form-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-card img,
  .detail-card h3,
  .detail-card p {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-grid,
  .application-grid,
  .workflow-grid,
  .selection-grid,
  .related-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .product-page-nav {
    position: static;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .utility .container {
    justify-content: center;
    text-align: center;
  }

  .utility span {
    display: none;
  }

  .nav-row {
    min-height: 64px;
  }

  .nav-links .button.secondary {
    display: none;
  }

  .product-detail-hero {
    padding: 26px 0 48px;
  }

  .product-detail-title {
    padding-bottom: 26px;
    font-size: 31px;
  }

  .product-detail-grid {
    gap: 28px;
  }

  .product-detail-main {
    min-height: 270px;
  }

  .product-page-nav-links {
    gap: 2px 12px;
    padding-block: 9px;
  }

  .section {
    padding: 62px 0;
  }

  .feature-grid,
  .application-grid,
  .detail-grid,
  .details-grid,
  .workflow-grid,
  .selection-grid,
  .support-grid,
  .faq-grid,
  .related-grid,
  .image-pair,
  .line-image-grid,
  .related-columns,
  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item {
    min-height: 72px;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .product-detail-specs div {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .option-panel {
    padding: 22px 18px;
  }

  .form-card {
    padding: 24px 18px;
  }

  .footer-row {
    display: block;
  }

  .mobile-actions {
    position: fixed;
    z-index: 45;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-top: 1px solid var(--line);
    background: #ffffff;
  }

  .mobile-actions a {
    min-height: 56px;
    display: grid;
    place-items: center;
    background: var(--accent-deep);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
  }
}

@media (max-width: 375px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand {
    font-size: 19px;
  }

  .nav-links .button {
    padding-inline: 12px;
  }

  .product-detail-title {
    font-size: 28px;
  }

  .product-detail-main {
    min-height: 230px;
  }

  .product-detail-specs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .section {
    padding: 52px 0;
  }

  .card,
  .form-card {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.mobile-menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--accent-deep);
  border-radius: 7px;
  background: #ffffff;
  color: var(--accent-deep);
  font-weight: 700;
}

.form-error {
  margin: 13px 0 0 !important;
  padding: 11px 13px;
  border-radius: 6px;
  background: #fde8e8;
  color: #7a1515 !important;
}

@media (max-width: 768px) {
  .js-enabled .nav-row {
    position: relative;
  }

  .js-enabled .mobile-menu-toggle {
    display: inline-flex;
  }

  .js-enabled .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .js-enabled .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .js-enabled .nav-links.is-open a,
  .js-enabled .nav-links.is-open .button.secondary {
    display: inline-flex;
    justify-content: center;
  }
}
