:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #596274;
  --line: #d9dee8;
  --navy: #111c32;
  --teal: #0f766e;
  --cyan: #0e7490;
  --amber: #c47a1c;
  --red: #b44545;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.1);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 251, 0.92);
  border-bottom: 1px solid rgba(217, 222, 232, 0.75);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: clamp(132px, 15vw, 210px);
  height: 68px;
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #30394b;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  max-width: 680px;
}

.product-copy {
  max-width: 740px;
}

.eyebrow,
.tag {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-text,
.section-heading p,
.audience p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: #0b5f59;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--navy);
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--teal);
  font-weight: 800;
}

.software-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.software-logo-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.software-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.software-logo strong,
.software-logo small {
  display: block;
}

.software-logo strong {
  font-size: 1.2rem;
}

.software-logo small {
  color: var(--muted);
  font-weight: 700;
}

.product-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-panel-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.product-panel-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--line);
}

.product-dashboard {
  display: grid;
  grid-template-columns: 28% 1fr;
  min-height: 420px;
}

.dashboard-sidebar {
  background:
    linear-gradient(180deg, rgba(17, 28, 50, 0.96), rgba(15, 118, 110, 0.88)),
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(255, 255, 255, 0.1) 36px 37px);
}

.dashboard-main {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: clamp(20px, 4vw, 34px);
  background: #f8fafc;
}

.dashboard-bar,
.dashboard-stats span,
.dashboard-table span {
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
}

.dashboard-bar {
  width: 68%;
  height: 34px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-stats span {
  height: 96px;
}

.dashboard-table {
  display: grid;
  gap: 10px;
}

.dashboard-table span {
  height: 46px;
}

.hero-media {
  width: 100%;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(17, 28, 50, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.08) 34px 35px);
  box-shadow: var(--shadow);
}

.video-frame.has-video {
  background: #05070b;
}

.video-frame video {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
}

.video-frame.has-video video {
  opacity: 1;
  pointer-events: auto;
}

.video-actions {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-action {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(17, 28, 50, 0.82);
  color: #ffffff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.video-action:hover,
.video-action:focus-visible {
  background: rgba(15, 118, 110, 0.92);
}

.video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 32px;
  color: #ffffff;
  text-align: center;
}

.video-placeholder span {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.78;
}

.video-placeholder strong {
  max-width: 520px;
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  line-height: 1;
}

.intro-band,
.section,
.site-footer {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.intro-band div {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: var(--surface);
}

.intro-band strong {
  color: var(--navy);
}

.intro-band span {
  color: var(--muted);
}

.section {
  padding-top: clamp(72px, 10vw, 124px);
  padding-bottom: clamp(72px, 10vw, 124px);
}

.section.tinted {
  background: #eef5f4;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.section-heading.compact {
  margin-bottom: 0;
}

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

.service-card,
.demo-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card {
  padding: 28px;
}

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

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: #e3f4f2;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.demo-card {
  overflow: hidden;
}

.demo-preview {
  min-height: 190px;
  border-bottom: 1px solid var(--line);
}

.access-preview {
  background:
    linear-gradient(90deg, rgba(17, 28, 50, 0.92) 0 36%, transparent 36%),
    linear-gradient(135deg, #d7ecea, #f6fbfa);
}

.warehouse-preview {
  background:
    linear-gradient(90deg, rgba(196, 122, 28, 0.9) 0 18%, transparent 18% 22%, rgba(14, 116, 144, 0.84) 22% 46%, transparent 46%),
    linear-gradient(135deg, #f8efe3, #ecf8fb);
}

.archive-preview {
  background:
    repeating-linear-gradient(0deg, rgba(17, 28, 50, 0.12) 0 1px, transparent 1px 28px),
    linear-gradient(135deg, #eef2ff, #fff8ed);
}

.demo-content {
  padding: 24px;
}

.demo-content a {
  color: var(--teal);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
}

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

.process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--red);
  font-weight: 900;
}

.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--navy);
  color: #ffffff;
}

.audience .eyebrow {
  color: #7dd3c7;
}

.audience p {
  color: #d8deea;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--navy);
  color: #ffffff;
}

.product-cta .eyebrow {
  color: #7dd3c7;
}

.product-cta p {
  max-width: 760px;
  color: #d8deea;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-details a {
  color: var(--teal);
  font-weight: 900;
}

.contact-details span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #30394b;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.form-feedback {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-feedback--ok {
  color: #22c55e;
}

.form-feedback--err {
  color: #ef4444;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .hero,
  .product-hero,
  .split,
  .audience,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-hero {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 76px;
  }

  .brand-mark {
    width: clamp(118px, 42vw, 168px);
    height: 58px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 14px 0;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.75rem);
  }

  .intro-band,
  .service-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .intro-band {
    padding-left: 0;
    padding-right: 0;
  }

  .process-list li {
    grid-template-columns: 46px 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .product-dashboard {
    grid-template-columns: 1fr;
    min-height: 320px;
  }

  .dashboard-sidebar {
    min-height: 78px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .product-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
