:root {
  --page: #f6f8fb;
  --paper: #ffffff;
  --paper-soft: #fbfaf6;
  --ink: #08111f;
  --ink-soft: #1c2737;
  --muted: #5a6472;
  --line: #d8dee8;
  --line-strong: #b9c3d2;
  --blue: #075e9c;
  --blue-strong: #064c7e;
  --green: #2f6b57;
  --copper: #a95a22;
  --gold: #d9a441;
  --slate: #142033;
  --slate-soft: #1d2b42;
  --shadow: 0 22px 60px rgba(8, 17, 31, 0.11);
  --shadow-small: 0 12px 32px rgba(8, 17, 31, 0.08);
  --focus: 0 0 0 4px rgba(7, 94, 156, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0, var(--page) 460px),
    var(--page);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", "IBM Plex Sans", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--copper);
}

a:focus-visible,
button:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  min-height: 72px;
  padding: 0.75rem 3.5rem;
  border-bottom: 1px solid rgba(185, 195, 210, 0.72);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}

.brand img {
  width: 152px;
  height: auto;
}

.brand span {
  display: inline;
  max-width: 18ch;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  padding-left: 0.9rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.35rem 0.72rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link.active {
  border-color: transparent;
  background: transparent;
  color: var(--blue);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  min-height: 2.65rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 0.35rem 0.85rem;
}

main {
  min-height: 68vh;
}

.home-hero,
.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 4rem;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 5.8rem 5rem 4.6rem;
  background:
    linear-gradient(90deg, rgba(7, 94, 156, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 248, 251, 0.96)),
    linear-gradient(90deg, rgba(8, 17, 31, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 17, 31, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 76px 76px, 76px 76px;
}

.page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  padding-top: 4.6rem;
  padding-bottom: 4rem;
}

.contact-hero {
  grid-template-columns: minmax(0, 1fr);
}

.contact-hero .hero-copy {
  max-width: 760px;
}

.home-hero-copy,
.hero-copy {
  position: relative;
  z-index: 1;
}

.home-hero h1,
.page-hero h1,
.section-heading h2,
.split-band h2,
.prose h2,
.prose h3,
.prose h4 {
  margin: 0;
  color: var(--ink);
  font-family: "Constantia", "Cambria", Georgia, serif;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.06;
}

.home-hero h1 {
  max-width: 13ch;
  font-size: 5rem;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: 3.6rem;
}

.home-hero p,
.page-hero p {
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.45rem;
}

.hero-actions:empty {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.72rem 1.1rem;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--blue-strong);
  border-color: var(--blue-strong);
  color: #ffffff;
}

.button.secondary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.button.secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.button.ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--blue);
  background: #ffffff;
  color: var(--blue);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 760px;
  margin-top: 2.3rem;
}

.hero-kpis span {
  display: grid;
  gap: 0.18rem;
  min-height: 5.2rem;
  border: 1px solid rgba(185, 195, 210, 0.85);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.85rem;
}

.hero-kpis strong {
  color: var(--ink);
  font-family: "Constantia", "Cambria", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.home-hero-showcase,
.hero-visual {
  position: relative;
  border: 1px solid rgba(185, 195, 210, 0.92);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-hero-showcase {
  align-self: center;
  min-height: 0;
  padding: 1rem;
}

.showcase-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 0.2rem 0.15rem 0.9rem;
  text-transform: uppercase;
}

.showcase-stage {
  position: relative;
  height: 340px;
  margin: 1.1rem 0 1rem;
}

.showcase-main,
.showcase-float {
  position: absolute;
  border: 1px solid rgba(185, 195, 210, 0.92);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-small);
  object-fit: contain;
}

.showcase-main {
  left: 0;
  bottom: 0;
  width: 86%;
  height: 76%;
  padding: 0.7rem;
}

.showcase-float {
  width: 44%;
  height: 42%;
  padding: 0.55rem;
}

.showcase-float.top {
  top: 0;
  right: 0;
}

.showcase-float.bottom {
  right: 2.5rem;
  bottom: 0.75rem;
  width: 38%;
  height: 35%;
}

.showcase-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.showcase-metrics div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--slate);
  color: rgba(255, 255, 255, 0.72);
  padding: 0.9rem;
}

.showcase-metrics strong,
.showcase-metrics span {
  display: block;
}

.showcase-metrics strong {
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.showcase-metrics span {
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero-visual {
  padding: 1rem;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) - 2px);
  background: #f1f4f8;
  object-fit: contain;
  padding: 0.65rem;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--slate);
  color: rgba(255, 255, 255, 0.74);
  padding: 0 5rem;
}

.workflow-strip div {
  min-height: 170px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem 1.5rem;
}

.workflow-strip div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-strip span,
.workflow-strip strong {
  display: block;
}

.workflow-strip span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 0.75rem;
}

.workflow-strip strong {
  color: #ffffff;
  font-size: 1.12rem;
  line-height: 1.22;
}

.workflow-strip p {
  margin: 0.65rem 0 0;
  max-width: 34ch;
}

.section,
.content-shell,
.split-band {
  padding: 5rem;
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  max-width: 940px;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.split-band h2 {
  font-size: 3.2rem;
}

.section-heading p:not(.eyebrow),
.split-band p {
  max-width: 70ch;
  color: var(--muted);
  margin: 0;
}

.product-grid,
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
}

.mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(8, 17, 31, 0.03);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-small);
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  display: block;
  min-height: 186px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(7, 94, 156, 0.09), transparent 54%),
    #f3f6fa;
  text-decoration: none;
}

.product-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 1rem;
}

.product-badge {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
  padding: 0.42rem 0.52rem;
  text-transform: uppercase;
}

.product-copy {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.2rem;
}

.product-copy h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.product-copy h3 a {
  color: var(--ink);
  text-decoration: none;
}

.product-summary,
.product-copy p {
  color: var(--muted);
  margin: 0;
}

.inline-links {
  margin-top: auto;
}

.inline-links a,
.text-action {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-bottom: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
}

.inline-links a:hover,
.text-action:hover {
  border-color: currentColor;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.split-band.alternate {
  background: var(--paper-soft);
}

.content-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.prose {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-small);
  padding: 3rem;
}

.prose h2 {
  margin: 2.35rem 0 0.85rem;
  font-size: 2.2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.45rem;
}

.prose h4 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1.12rem;
}

.prose p,
.prose li {
  color: #394252;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: #f3f6fa;
  color: var(--ink);
}

.prose pre {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f9fc;
  padding: 1rem;
}

.prose code {
  overflow-wrap: anywhere;
}

.media-frame {
  margin: 1.6rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f6fa;
  overflow: hidden;
}

.media-frame img,
.prose > img {
  width: 100%;
  object-fit: contain;
}

.media-frame figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
  padding: 0.85rem 1rem;
}

.contact-panel {
  display: grid;
  gap: 0.8rem;
  align-items: start;
  margin: 1.4rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f6fa;
  padding: 1rem;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  margin: 1.4rem 0 2.4rem;
}

.contact-name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-name-field {
  min-inline-size: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.contact-name-field legend {
  color: var(--ink);
  font-weight: 800;
  margin: 0 0 0.42rem;
  padding: 0;
}

.form-field {
  display: grid;
  gap: 0.42rem;
  color: var(--ink);
  font-weight: 800;
}

.form-field small,
.contact-consent {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.required-mark {
  color: #b42318;
}

.contact-form input:not([type="checkbox"]):not([type="file"]),
.contact-form textarea {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 0.62rem 0.75rem;
}

.contact-form textarea {
  min-height: 14rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-dropzone:focus-within {
  outline: 0;
  box-shadow: var(--focus);
}

.contact-upload {
  gap: 0.55rem;
}

.contact-dropzone {
  display: grid;
  place-items: center;
  min-height: 7rem;
  border: 1px dashed var(--line-strong);
  background: #ffffff;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 500;
  padding: 1.1rem;
  text-align: center;
}

.contact-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-dropzone.drag-over {
  border-color: var(--blue);
  color: var(--blue);
}

.contact-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
}

.contact-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.32rem;
}

.contact-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-status[data-state="success"] {
  color: var(--green);
  font-weight: 800;
}

.contact-status[data-state="error"] {
  color: #b42318;
  font-weight: 800;
}

.contact-form .button {
  justify-self: start;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.subscription-panel {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 94, 156, 0.08), transparent 58%),
    #f7f9fc;
  padding: 1.2rem;
}

.subscription-panel h2 {
  margin: 0;
  font-size: 1.45rem;
}

.subscription-panel p {
  margin: 0;
}

.subscribe-form {
  display: grid;
  gap: 0.75rem;
}

.subscribe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
}

.subscribe-form label {
  color: var(--ink);
  font-weight: 800;
}

.subscribe-form input[type="email"] {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 0.72rem 0.85rem;
}

.subscribe-form input[type="email"]:focus {
  outline: 0;
  box-shadow: var(--focus);
}

.subscribe-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.subscribe-note,
.subscribe-status {
  color: var(--muted);
  font-size: 0.92rem;
}

.subscribe-status[data-state="success"] {
  color: var(--green);
  font-weight: 800;
}

.subscribe-status[data-state="error"] {
  color: #b42318;
  font-weight: 800;
}

.subscribe-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(7, 94, 156, 0.22), transparent 48%),
    var(--slate);
  color: #ffffff;
  padding: 2.3rem 5rem;
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.site-footer a {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .site-header,
  .home-hero,
  .page-hero,
  .section,
  .content-shell,
  .split-band,
  .workflow-strip,
  .site-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .home-hero {
    gap: 2.5rem;
  }

  .home-hero h1 {
    font-size: 4.1rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
  }

  .site-nav.open {
    display: flex;
  }

  .home-hero,
  .page-hero,
  .split-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .page-hero {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .home-hero h1 {
    max-width: 12ch;
    font-size: 3.25rem;
  }

  .page-hero h1,
  .section-heading h2,
  .split-band h2 {
    font-size: 2.55rem;
  }

  .hero-kpis,
  .workflow-strip,
  .showcase-metrics {
    grid-template-columns: 1fr;
  }

  .workflow-strip {
    padding-top: 0;
    padding-bottom: 0;
  }

  .workflow-strip div,
  .workflow-strip div:last-child {
    min-height: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.4rem;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .home-hero,
  .page-hero,
  .section,
  .content-shell,
  .split-band,
  .workflow-strip,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand img {
    width: 130px;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .home-hero h1 {
    font-size: 2.55rem;
  }

  .page-hero h1,
  .section-heading h2,
  .split-band h2 {
    font-size: 2.1rem;
  }

  .home-hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .subscribe-row {
    grid-template-columns: 1fr;
  }

  .contact-name-row {
    grid-template-columns: 1fr;
  }

  .home-hero-showcase {
    min-height: auto;
  }

  .showcase-stage {
    height: 310px;
  }

  .showcase-main {
    width: 100%;
    height: 62%;
  }

  .showcase-float {
    width: 56%;
    height: 34%;
  }

  .showcase-float.bottom {
    right: 0.7rem;
    width: 48%;
  }

  .product-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .prose {
    padding: 1.2rem;
  }
}
