:root {
  color-scheme: light;
  --ink: #071516;
  --text: #172523;
  --muted: #5b6a66;
  --subtle: #eef3ef;
  --paper: #f8fbf8;
  --surface: #ffffff;
  --surface-strong: #f1f7f4;
  --line: #dbe5df;
  --teal: #13a99b;
  --teal-dark: #08796f;
  --blue: #315d85;
  --amber: #d89328;
  --coral: #a74740;
  --shadow: 0 22px 70px rgba(7, 21, 22, 0.12);
  --soft-shadow: 0 12px 36px rgba(7, 21, 22, 0.08);
  --radius: 8px;
  --max-width: 1180px;
  --header-height: 74px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f6fbf8;
  --text: #e7efeb;
  --muted: #aab8b2;
  --subtle: #122321;
  --paper: #071516;
  --surface: #0c1c1a;
  --surface-strong: #102522;
  --line: #233a35;
  --teal: #38cbbd;
  --teal-dark: #13a99b;
  --blue: #7aa2c8;
  --amber: #f3b34c;
  --coral: #e18a80;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --soft-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px max(22px, calc((100vw - var(--max-width)) / 2));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 178px;
  height: 48px;
}

[data-theme="dark"] .brand img,
[data-theme="dark"] .footer-brand img {
  filter: invert(1) hue-rotate(165deg) saturate(0.9);
}

.brand-compact {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--subtle);
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: #ffffff;
  background: var(--ink);
}

[data-theme="dark"] .site-nav .nav-cta {
  color: #071516;
  background: var(--teal);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: #ffffff;
  background: var(--teal-dark);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.theme-toggle,
.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.theme-toggle:hover,
.nav-toggle:hover {
  border-color: var(--teal);
}

.theme-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.theme-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  top: -2px;
  width: 12px;
  height: 20px;
  background: var(--surface);
  border-radius: 50%;
  transition: transform 160ms ease, opacity 160ms ease;
}

[data-theme="dark"] .theme-icon::after {
  transform: translateX(8px);
  opacity: 0;
}

.nav-toggle {
  display: none;
  padding: 10px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(92vh - var(--header-height));
  display: grid;
  align-items: center;
  padding: 72px max(22px, calc((100vw - var(--max-width)) / 2)) 108px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 21, 22, 0.94) 0%, rgba(7, 21, 22, 0.78) 44%, rgba(7, 21, 22, 0.2) 100%),
    url("../images/wms-hero.png") center right / cover no-repeat;
  overflow: hidden;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: inherit;
  font-size: 4.65rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy,
.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-actions,
.button-row,
.metric-row,
.feature-pills,
.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

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

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-dark {
  color: #ffffff;
  background: #071516;
  border-color: #071516;
}

.button-dark:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span,
.feature-pills span,
.tag,
.topic-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.hero-badges span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-panel {
  align-self: stretch;
  display: grid;
  align-content: end;
}

.dashboard-card {
  padding: 18px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-top span,
.screen-meta span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-pill {
  color: #071516;
  background: #dff7f3;
  border: 1px solid #b7eee6;
  border-radius: var(--radius);
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

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

.dashboard-grid div,
.screen-stat,
.metric-row div {
  padding: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dashboard-grid strong,
.screen-stat strong,
.metric-row strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.1;
}

.dashboard-grid span,
.screen-stat span,
.metric-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.dashboard-flow {
  position: relative;
  height: 160px;
  margin-top: 12px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: var(--line);
}

.flow-node {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--teal);
  border: 3px solid var(--surface);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--teal) 16%, transparent);
}

.flow-node:nth-child(2) {
  left: 18%;
}

.flow-node:nth-child(3) {
  left: 42%;
}

.flow-node:nth-child(4) {
  left: 68%;
}

.flow-node:nth-child(5) {
  left: 86%;
  background: var(--amber);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.signal-strip {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: -54px auto 0;
  padding: 0 22px;
}

.signal-strip div {
  min-height: 150px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.signal-strip div:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.signal-strip div:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.signal-strip span,
.roadmap-grid span,
.feature-card span,
.workflow-steps span,
.timeline span,
.pricing-card .plan-kicker,
.article-card span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.18rem;
}

.signal-strip p,
.card p,
.feature-card p,
.article-card p,
.roadmap-grid p,
.workflow-steps p,
.timeline p,
.pricing-card p,
.legal-body p,
.legal-body li {
  color: var(--muted);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 22px;
}

.section-narrow {
  max-width: 900px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.section-heading.center {
  justify-items: center;
  text-align: center;
}

.section-copy h2,
.section-heading h2,
.visual-copy h2,
.product-detail-copy h2,
.contact-panel h2,
.cta-band h2,
.timeline-section h2,
.blog-notes h2,
.legal-body h2 {
  margin: 0;
  max-width: 820px;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy p,
.visual-copy p,
.product-detail-copy p,
.contact-panel p,
.cta-band p,
.section-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-split,
.section-visual,
.product-detail,
.contact-layout,
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 48px;
  align-items: center;
}

.card-grid,
.feature-grid,
.article-grid,
.roadmap-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four,
.roadmap-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.three,
.article-grid,
.pricing-grid,
.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.feature-card,
.article-card,
.roadmap-grid article,
.pricing-card,
.faq-item,
.testimonial,
.contact-card,
.highlight-panel,
.stats-panel,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.card,
.feature-card,
.article-card,
.roadmap-grid article,
.pricing-card,
.faq-item,
.testimonial {
  min-height: 230px;
  padding: 24px;
}

.card h3,
.feature-card h2,
.article-card h2,
.roadmap-grid h3,
.pricing-card h3,
.faq-item h3,
.testimonial h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.25;
}

.card-kicker {
  display: inline-block;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link,
.card a,
.article-card a,
.footer-links a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
}

[data-theme="dark"] .text-link,
[data-theme="dark"] .card a,
[data-theme="dark"] .article-card a,
[data-theme="dark"] .footer-links a {
  color: var(--teal);
}

.text-link:hover,
.card a:hover,
.article-card a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.highlight-panel {
  padding: 30px;
}

.highlight-panel h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.28rem;
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 2px;
}

.page-hero {
  padding: 86px max(22px, calc((100vw - var(--max-width)) / 2)) 70px;
  color: var(--ink);
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--subtle) 96%, transparent) 0%, color-mix(in srgb, var(--paper) 98%, transparent) 100%);
}

.page-hero p {
  color: var(--muted);
}

.page-hero .button-row {
  margin-top: 28px;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px;
  gap: 1px;
  background: var(--line);
  overflow: hidden;
}

.stats-panel div {
  min-height: 132px;
  display: grid;
  align-content: center;
  padding: 18px;
  background: var(--surface);
}

.stats-panel strong {
  color: var(--teal-dark);
  font-size: 2rem;
}

.stats-panel span {
  color: var(--muted);
}

.product-figure {
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-figure img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

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

.screen-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.screen-dots {
  display: flex;
  gap: 6px;
}

.screen-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.screen-dots span:nth-child(1) {
  background: var(--coral);
}

.screen-dots span:nth-child(2) {
  background: var(--amber);
}

.screen-dots span:nth-child(3) {
  background: var(--teal);
}

.screen-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

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

.screen-map {
  min-height: 210px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 28px;
  gap: 7px;
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.screen-map span {
  background: color-mix(in srgb, var(--teal) 20%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--line));
  border-radius: 4px;
}

.screen-map span:nth-child(4n) {
  background: color-mix(in srgb, var(--amber) 30%, var(--surface));
  border-color: color-mix(in srgb, var(--amber) 45%, var(--line));
}

.screen-map span:nth-child(7n) {
  background: color-mix(in srgb, var(--blue) 22%, var(--surface));
  border-color: color-mix(in srgb, var(--blue) 40%, var(--line));
}

.video-shell {
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 21, 22, 0.36), rgba(7, 21, 22, 0.58)),
    url("../images/wms-hero.png") center / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.play-button {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid #071516;
  transform: translateX(3px);
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  min-height: 260px;
}

.workflow {
  padding-top: 40px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.workflow-steps div {
  min-height: 210px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.workflow-steps strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline h3 {
  margin: 10px 0 8px;
  color: var(--ink);
}

.pricing-card {
  display: grid;
  gap: 16px;
}

.pricing-card.featured {
  border-color: color-mix(in srgb, var(--teal) 48%, var(--line));
  box-shadow: var(--shadow);
}

.price {
  color: var(--ink);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.pricing-card .check-list {
  margin-top: 4px;
}

.faq-item {
  min-height: auto;
  box-shadow: none;
}

.faq-item details {
  display: grid;
  gap: 10px;
}

.faq-item summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-layout {
  align-items: start;
}

.contact-panel {
  padding: 30px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--teal) 24%, transparent);
  border-color: var(--teal);
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 22px;
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
}

[data-theme="dark"] .contact-card a {
  color: var(--teal);
}

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

.contact-card.accent {
  color: #ffffff;
  background: #071516;
  border-color: #071516;
}

.contact-card.accent p {
  color: rgba(255, 255, 255, 0.78);
}

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

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

.testimonial strong {
  color: var(--ink);
}

.article-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.article-card a {
  margin-top: auto;
}

.legal-body {
  display: grid;
  gap: 28px;
}

.legal-body section {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-body h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.cta-band {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 0 auto 90px;
  padding: 36px 22px;
  color: #ffffff;
  background: #071516;
  border-radius: var(--radius);
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: grid;
  gap: 28px;
  padding: 44px max(22px, calc((100vw - var(--max-width)) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: #071516;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 42px;
}

.footer-brand {
  align-items: flex-start;
  color: #ffffff;
}

.footer-brand img {
  width: 178px;
  height: 48px;
  filter: invert(1) hue-rotate(165deg) saturate(0.9);
}

.footer-brand p,
.footer-meta {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer-links h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 0.92rem;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-meta {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .brand img {
    width: 158px;
  }

  .site-nav a {
    padding-inline: 8px;
    font-size: 0.88rem;
  }

  .hero-shell,
  .section-split,
  .section-visual,
  .product-detail,
  .contact-layout,
  .media-split {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: none;
  }

  .signal-strip,
  .card-grid.four,
  .roadmap-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-panel,
  .timeline,
  .workflow-steps,
  .testimonial-grid,
  .pricing-grid,
  .faq-grid,
  .article-grid,
  .card-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.4rem;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 10px 18px;
  }

  .brand img {
    width: 138px;
  }

  .header-tools {
    grid-column: 2;
  }

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

  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    width: 100%;
    justify-self: stretch;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 18px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.98rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: calc(86vh - 66px);
    padding: 68px 18px 88px;
    background:
      linear-gradient(180deg, rgba(7, 21, 22, 0.94) 0%, rgba(7, 21, 22, 0.78) 64%, rgba(7, 21, 22, 0.48) 100%),
      url("../images/wms-hero.png") center / cover no-repeat;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.72rem;
  }

  .hero-copy,
  .page-hero p {
    font-size: 1rem;
  }

  .page-hero {
    padding: 62px 18px 48px;
  }

  .signal-strip,
  .card-grid.four,
  .card-grid.three,
  .article-grid,
  .roadmap-grid,
  .feature-grid,
  .stats-panel,
  .timeline,
  .workflow-steps,
  .testimonial-grid,
  .pricing-grid,
  .faq-grid,
  .contact-form,
  .screen-stats,
  .footer-main,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin: 0;
    padding: 0;
  }

  .signal-strip div,
  .signal-strip div:first-child,
  .signal-strip div:last-child {
    border-radius: 0;
    box-shadow: none;
  }

  .section {
    padding: 64px 18px;
  }

  .section-copy h2,
  .section-heading h2,
  .visual-copy h2,
  .product-detail-copy h2,
  .contact-panel h2,
  .cta-band h2,
  .timeline-section h2,
  .blog-notes h2 {
    font-size: 2.08rem;
  }

  .product-figure,
  .product-figure img {
    min-height: 270px;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .cta-band {
    grid-template-columns: 1fr;
    margin: 0 18px 64px;
  }

  .site-footer {
    padding: 36px 18px;
  }
}

@media (max-width: 460px) {
  .brand img {
    display: none;
  }

  .brand .brand-compact {
    display: block;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.32rem;
  }

  .button {
    width: 100%;
  }

  .contact-panel,
  .highlight-panel,
  .card,
  .feature-card,
  .article-card,
  .roadmap-grid article,
  .pricing-card,
  .faq-item,
  .testimonial {
    padding: 20px;
  }
}
