:root {
  --ink: #17201f;
  --muted: #5d6a66;
  --line: #d9e1df;
  --paper: #fbfcfb;
  --soft: #eef5f1;
  --teal: #0d756f;
  --green: #678b35;
  --red: #c64032;
  --amber: #d99b2b;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(23, 32, 31, 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.6;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(251, 252, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  width: min(280px, 48vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.main-nav a[aria-current="page"] {
  color: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
  min-height: calc(100vh - 88px);
}

.hero-content,
.page-hero,
.section {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero-content {
  width: auto;
  margin: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 58rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.product-definition {
  max-width: 58rem;
  margin: 1.4rem 0 0.75rem;
  padding-left: 1rem;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.55;
  border-left: 3px solid var(--teal);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

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

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

.hero-visual {
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: contain;
  background: var(--white);
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section-heading {
  max-width: 780px;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0.6rem 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.intro p {
  max-width: 870px;
  color: var(--muted);
  font-size: 1.15rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 310px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

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

.heritage-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  border-block: 1px solid var(--line);
}

.heritage-media {
  min-height: 390px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.heritage-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.heritage-copy p {
  max-width: 680px;
  color: var(--muted);
}

.split,
.proof,
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split {
  border-block: 1px solid var(--line);
}

.split img {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.text-link {
  font-weight: 800;
}

.proof {
  background: var(--soft);
  width: 100%;
  padding-inline: max(1rem, calc((100% - 1120px) / 2));
}

.proof-copy {
  max-width: 620px;
}

.proof-items {
  display: grid;
  gap: 1rem;
}

.proof-items div {
  display: grid;
  grid-template-columns: minmax(110px, 0.6fr) 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(23, 32, 31, 0.16);
}

.proof-items strong {
  color: var(--green);
  font-size: 1.55rem;
}

.page-hero {
  padding-block: clamp(3rem, 8vw, 7rem);
}

.page-hero.compact {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-logo {
  width: min(560px, 100%);
  margin-bottom: 2rem;
}

.check-list,
.compact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.compact-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.8rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before,
.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--amber);
}

.panel {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.panel.alt {
  background: #f6f2ea;
}

.panel-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.intelligence-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  border-block: 1px solid var(--line);
}

.intelligence-band p {
  max-width: 760px;
  color: var(--muted);
}

.partner-callout {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(13, 117, 111, 0.28);
  border-radius: 8px;
  background: var(--soft);
}

.partner-callout span {
  color: var(--muted);
  font-size: 0.9rem;
}

.partner-callout strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.solution-list {
  display: grid;
  gap: 1rem;
}

.solution-list article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution-list img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) 1fr;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
}

.image-band img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.references {
  border-top: 1px solid var(--line);
}

.reference-grid,
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.reference-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.reference-grid img,
.screenshot-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.reference-grid h3,
.reference-grid p {
  padding-inline: 1rem;
}

.reference-grid p {
  padding-bottom: 1rem;
  color: var(--muted);
}

.reference-category {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.reference-category-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.reference-category-heading img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.reference-category-heading h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

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

.project-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-height: 220px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.project-card:hover {
  border-color: rgba(13, 117, 111, 0.45);
  transform: translateY(-2px);
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--paper);
}

.project-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h4 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.project-highlight,
.reference-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.55rem;
  color: var(--teal);
  font-size: 0.86rem;
  line-height: 1.25;
  border: 1px solid rgba(13, 117, 111, 0.28);
  border-radius: 6px;
  background: var(--soft);
}

.reference-badge {
  margin-top: 1rem;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.reference-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.reference-hero h1 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.reference-hero img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.reference-detail {
  display: grid;
  gap: 1rem;
  max-width: 920px;
}

.reference-detail article {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.reference-detail h2 {
  font-size: 1.45rem;
}

.reference-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.reference-list li + li {
  margin-top: 0.45rem;
}

.reference-gallery {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.reference-gallery h2 {
  font-size: 1.45rem;
}

.reference-contact {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  border: 1px solid rgba(13, 117, 111, 0.28);
  border-radius: 8px;
  background: var(--soft);
}

.reference-contact h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.reference-contact p {
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.gallery-grid img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--paper);
}

.screenshots {
  border-top: 1px solid var(--line);
}

.screenshot-grid img {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.download-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
}

.download-area-card {
  display: grid;
  gap: 0.25rem;
  min-height: 150px;
  padding: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.download-area-card.primary {
  border-color: rgba(13, 117, 111, 0.45);
  background: var(--soft);
}

.download-area-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.download-area-card strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.download-area-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.download-section {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.download-section + .download-section {
  margin-top: 1.25rem;
}

.download-section.featured {
  border-color: rgba(13, 117, 111, 0.35);
  box-shadow: var(--shadow);
}

.download-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.download-section-heading p {
  max-width: 720px;
  color: var(--muted);
}

.download-section-heading img {
  width: min(320px, 40vw);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.download-list {
  display: grid;
  gap: 0.75rem;
}

.download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.download-item h3 {
  margin-top: 0;
}

.download-item p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.download-item span {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.download-empty {
  padding: 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
}

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

.contact-grid article {
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.contact-hero h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.contact-card,
.contact-options article {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin-bottom: 0.25rem;
}

.contact-role {
  margin-top: 0;
  color: var(--muted);
}

.contact-card a {
  font-size: 1.2rem;
  font-weight: 800;
}

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

.legal-text {
  max-width: 860px;
}

.legal-text h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero,
  .feature-grid,
  .heritage-band,
  .split,
  .proof,
  .two-column,
  .image-band,
  .contact-grid,
  .contact-hero,
  .contact-options,
  .download-overview,
  .download-item,
  .intelligence-band,
  .reference-hero,
  .project-grid,
  .project-card,
  .gallery-grid,
  .reference-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.2rem;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 280px;
  }

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

  .download-section-heading {
    display: grid;
  }

  .download-section-heading img {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 220px;
  }

  .main-nav {
    gap: 0.8rem 1rem;
  }

  .button {
    width: 100%;
  }

  .solution-list article {
    grid-template-columns: 1fr;
  }

  .reference-category-heading {
    grid-template-columns: 1fr;
  }

  .proof-items div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
