:root {
  --public-header-height: 72px;
  --public-ink: #102039;
  --public-muted: #60728c;
  --public-blue: #1468e8;
  --public-line: #d7e1ee;
  --public-surface: #ffffff;
}

html {
  container-name: public-page;
  container-type: inline-size;
  scroll-padding-top: calc(var(--public-header-height) + 18px);
}

body.landing-page {
  padding-top: var(--public-header-height);
}

body.landing-page:is(.about-page, .public-lead-page, .legal-page-shell, .not-found-page) {
  padding-top: 0;
}

body.landing-page.is-demo-open {
  overflow: hidden;
}

.public-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--public-header-height);
  border-bottom: 1px solid rgba(16, 32, 57, 0.11);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(16, 32, 57, 0.05);
  backdrop-filter: blur(14px);
}

.public-header__bar {
  width: min(100% - 40px, 1440px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
}

.public-header__logo {
  min-width: 112px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.public-header__logo img {
  width: 112px;
  height: auto;
}

.public-header__nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto;
}

.public-header__nav a,
.public-header__login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 7px;
  color: #40516a;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.public-header__nav a:hover,
.public-header__login:hover {
  background: #f1f5fa;
  color: var(--public-ink);
}

.public-header__actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.public-header__language {
  margin: 0 3px 0 0;
}

.public-header__language .language-switcher,
.public-header__language .language-switcher__label,
.public-header__language .language-switcher__select,
.public-header__language .language-switcher__compact,
.public-header__language .language-switcher__trigger {
  height: 44px;
}

.public-header__language .language-switcher__select {
  min-height: 44px;
}

.public-header__language .language-switcher__menu {
  max-height: 44px;
  padding-top: 44px;
}

.public-header__language .language-switcher__compact.is-open .language-switcher__menu {
  max-height: 151px;
}

.public-header__trial,
.public-hero__cta,
.product-demo__trial {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--public-blue);
  color: #fff;
  font-weight: 700;
}

.public-header__trial {
  padding: 0 18px;
  font-size: 14px;
  white-space: nowrap;
}

.public-header__menu,
.public-header__mobile {
  display: none;
}

.public-header a:focus-visible,
.public-header button:focus-visible,
.public-hero a:focus-visible,
.product-demo button:focus-visible,
.product-demo a:focus-visible {
  outline: 3px solid rgba(20, 104, 232, 0.34);
  outline-offset: 3px;
}

.public-hero {
  position: relative;
  min-height: min(700px, calc(100vh - var(--public-header-height) - 24px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 54px 0 48px;
  border-bottom: 1px solid #e0e8f2;
  background:
    linear-gradient(rgba(221, 231, 244, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 231, 244, 0.55) 1px, transparent 1px),
    #f6f9fd;
  background-size: 48px 48px;
}

.public-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 249, 253, 0.98) 0 31%, rgba(246, 249, 253, 0.72) 46%, rgba(246, 249, 253, 0.12) 100%);
  content: "";
  pointer-events: none;
}

.public-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 56px, 1440px);
  display: grid;
  grid-template-columns: minmax(390px, 0.43fr) minmax(560px, 0.57fr);
  align-items: center;
  gap: clamp(34px, 5vw, 84px);
  margin: 0 auto;
}

.public-hero__copy {
  max-width: 590px;
}

.public-hero__eyebrow {
  margin: 0 0 18px;
  color: #426080;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.public-hero h1 {
  margin: 0;
  color: var(--public-ink);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.04;
  text-wrap: balance;
}

.public-hero__lead {
  max-width: 59ch;
  margin: 24px 0 0;
  color: #52657f;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.62;
}

.public-hero__cta {
  gap: 10px;
  margin-top: 28px;
  padding: 0 22px;
  box-shadow: 0 10px 22px rgba(20, 104, 232, 0.2);
}

.public-hero__cta:hover,
.public-header__trial:hover,
.product-demo__trial:hover {
  background: #095bcf;
}

.public-hero__cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.public-hero__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.public-hero__proofs li {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #d5e0ed;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: #425772;
  font-size: 12px;
  font-weight: 650;
}

.public-hero__proofs li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #209b7b;
  box-shadow: 0 0 0 3px rgba(32, 155, 123, 0.12);
  content: "";
}

.hero-workflow {
  min-width: 0;
}

.workflow-demo {
  --workflow-progress: 0%;
  --workflow-van-position: 4%;
  min-width: 0;
  color: var(--public-ink);
}

.workflow-demo__panel {
  min-height: 490px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 102px;
  overflow: hidden;
  border: 1px solid #bfcde0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(24, 51, 84, 0.15), 0 4px 12px rgba(24, 51, 84, 0.08);
}

.workflow-demo__heading {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 18px;
  border-bottom: 1px solid #dce5ef;
  background: #fbfdff;
}

.workflow-demo__heading span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 5px;
  background: #eaf2ff;
  color: #1769e9;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-demo__heading h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #132742;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-demo__viewport {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  background:
    linear-gradient(rgba(215, 226, 239, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 226, 239, 0.5) 1px, transparent 1px),
    #f5f8fc;
  background-size: 32px 32px;
}

.workflow-demo__step {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px 26px;
}

.workflow-demo__step[hidden] {
  display: none;
}

.workflow-demo__step.is-active > :first-child {
  animation: workflow-step-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes workflow-step-enter {
  from { transform: translateY(8px); }
  to { transform: translateY(0); }
}

.workflow-demo__description {
  max-width: 58ch;
  margin: 0 auto;
  color: #5a6e89;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
  text-align: center;
}

.workflow-upload {
  width: min(100%, 470px);
  min-height: 142px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin: 0 auto;
  padding: 24px;
  border: 1px dashed #8eb4ea;
  border-radius: 7px;
  background: #fff;
}

.workflow-upload__icon,
.workflow-recognition__icon,
.workflow-complete__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #1769e9;
  color: #fff;
}

.workflow-upload__icon svg,
.workflow-recognition__icon svg,
.workflow-complete__icon svg,
.workflow-order__route svg,
.workflow-invoice__action svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.workflow-upload strong,
.workflow-upload small {
  display: block;
}

.workflow-upload strong {
  overflow: hidden;
  color: #152943;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-upload small {
  margin-top: 5px;
  color: #5d7089;
  font-size: 11px;
}

.workflow-upload__state {
  padding: 6px 8px;
  border-radius: 5px;
  background: #fff0ef;
  color: #8f2826;
  font-size: 11px;
  font-weight: 800;
}

.workflow-recognition {
  width: min(100%, 590px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #c4d2e3;
  border-radius: 7px;
  background: #fff;
}

.workflow-recognition__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-bottom: 1px solid #e0e7f0;
}

.workflow-recognition__icon {
  width: 32px;
  height: 32px;
  background: #e9f2ff;
  color: #1769e9;
}

.workflow-recognition__icon svg {
  width: 18px;
  height: 18px;
}

.workflow-recognition__summary strong {
  color: #08765b;
  font-size: 12px;
}

.workflow-recognition__summary small {
  padding: 4px 7px;
  border-radius: 5px;
  background: #fff4e4;
  color: #9a5b08;
  font-size: 10px;
  font-weight: 750;
}

.workflow-recognition__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.workflow-recognition__fields > div {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  padding: 8px 30px 8px 12px;
  border-right: 1px solid #e5ebf3;
  border-bottom: 1px solid #e5ebf3;
}

.workflow-recognition__fields > div:nth-child(even) { border-right: 0; }
.workflow-recognition__fields > div:nth-last-child(-n + 2) { border-bottom: 0; }
.workflow-recognition__fields dt { grid-column: 1 / -1; color: #72839a; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.workflow-recognition__fields dd { margin: 0; overflow: hidden; color: #152943; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.workflow-recognition__fields span { position: absolute; top: 50%; right: 11px; color: #148567; font-size: 12px; font-weight: 850; transform: translateY(-50%); }
.workflow-recognition__fields .needs-review span { color: #c2750b; }

.workflow-order {
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  gap: 10px;
  margin: 0 auto;
}

.workflow-order__main,
.workflow-route-card,
.workflow-load-plan {
  border: 1px solid #c7d4e3;
  border-radius: 7px;
  background: #fff;
}

.workflow-order__main {
  padding: 12px;
}

.workflow-order__main > strong {
  display: inline-flex;
  margin: 10px 0;
  padding: 5px 8px;
  border-radius: 5px;
  background: #e5f6ef;
  color: #08765b;
  font-size: 10px;
}

.workflow-order__route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: #152943;
  font-size: 14px;
  font-weight: 800;
}

.workflow-order__route svg { width: 22px; color: #1769e9; }

.workflow-order dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.workflow-order dl div { min-width: 0; }
.workflow-order dt { color: #74859b; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.workflow-order dd { margin: 2px 0 0; overflow: hidden; color: #243951; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.workflow-order__tools { display: grid; gap: 10px; }

.workflow-route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
}

.workflow-route-card span { color: #60738d; font-size: 10px; font-weight: 650; }
.workflow-route-card strong { color: #1769e9; font-size: 13px; }

.workflow-load-plan {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 10px;
  padding: 9px 10px;
}

.workflow-load-plan__labels { display: flex; gap: 5px; }
.workflow-load-plan__labels span { padding: 3px 5px; border: 1px solid #c9d8ea; border-radius: 4px; color: #46617f; font-size: 8px; font-weight: 800; }
.workflow-load-plan__body { grid-column: 1 / -1; aspect-ratio: 2.35 / 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 6px; border: 2px solid #456788; background: #edf4fb; }
.workflow-load-plan__body i { display: block; border: 1px solid #2e72d1; background: #8fbcf5; }
.workflow-load-plan > strong { grid-column: 1 / -1; color: #08765b; font-size: 9px; text-align: center; }

.workflow-invoice {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0 auto;
}

.workflow-invoice__action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 7px;
  background: #1769e9;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
}

.workflow-invoice__action svg { width: 19px; }
.workflow-invoice__paper { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; padding: 16px; border: 1px solid #c1cfdf; border-radius: 7px; background: #fff; box-shadow: 0 9px 22px rgba(24, 51, 84, 0.1); }
.workflow-invoice__paper > span { width: 42px; height: 42px; display: grid; grid-row: 1 / 3; place-items: center; border-radius: 6px; background: #e9f2ff; color: #1769e9; font-size: 12px; font-weight: 850; }
.workflow-invoice__paper small,
.workflow-invoice__paper strong { display: block; }
.workflow-invoice__paper small { color: #74859a; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.workflow-invoice__paper strong { margin-top: 2px; color: #182d48; font-size: 11px; }
.workflow-invoice__total { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 9px; border-top: 1px solid #e1e8f0; }
.workflow-invoice__total strong { color: #1769e9; font-size: 15px; }

.workflow-complete {
  width: min(100%, 500px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 13px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid #acdaca;
  border-radius: 7px;
  background: #fff;
}

.workflow-complete__icon { background: #159374; }
.workflow-complete small,
.workflow-complete strong { display: block; }
.workflow-complete small { color: #5d7089; font-size: 10px; }
.workflow-complete strong { margin-top: 2px; color: #0b6e56; font-size: 17px; }
.workflow-complete ul { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 4px 0 0; padding: 0; list-style: none; }
.workflow-complete li { display: flex; align-items: center; gap: 7px; padding: 8px 9px; border-radius: 5px; background: #eaf7f2; color: #176f59; font-size: 10px; font-weight: 700; }
.workflow-complete li span { font-weight: 900; }
.workflow-complete .product-demo__trial { grid-column: 1 / -1; display: none; margin-top: 4px; }

.workflow-demo__timeline {
  position: relative;
  padding: 36px 0 12px;
  border-top: 1px solid #e0e7f0;
  background: #fff;
}

.workflow-demo__track {
  position: absolute;
  top: 30px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: #cdd9e7;
}

.workflow-demo__track span {
  width: var(--workflow-progress);
  height: 100%;
  display: block;
  background: #1769e9;
  transition: width var(--workflow-van-travel-duration, 1320ms) cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-demo__van {
  position: absolute;
  z-index: 2;
  top: -56px;
  left: var(--workflow-van-position);
  width: 128px;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 4px 3px rgba(28, 54, 82, 0.2));
  will-change: left;
  transition: left var(--workflow-van-travel-duration, 1320ms) cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-demo__timeline ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-demo__timeline li {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #5d7089;
  text-align: center;
}

.workflow-demo__marker-state {
  position: relative;
  z-index: 3;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 2px solid #cbd8e7;
  border-radius: 50%;
  background: #fff;
  color: #647892;
  font-size: 8px;
  font-weight: 850;
}

.workflow-demo__timeline strong {
  overflow: hidden;
  font-size: 9px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-demo__timeline li.is-current { color: #1769e9; }
.workflow-demo__timeline li.is-complete { color: #158367; }
.workflow-demo__timeline li.is-current .workflow-demo__marker-state { border-color: #1769e9; color: #1769e9; box-shadow: 0 0 0 4px #e7f0ff; }
.workflow-demo__timeline li.is-complete .workflow-demo__marker-state { border-color: #159374; background: #159374; color: #fff; }

.product-demo {
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #c7d5e5;
  border-radius: 8px;
  background: #fff;
  color: var(--public-ink);
  box-shadow: 0 30px 90px rgba(10, 31, 59, 0.28);
}

.product-demo::backdrop {
  background: rgba(8, 20, 37, 0.62);
}

.product-demo__shell {
  max-height: calc(100dvh - 32px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.product-demo__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--public-line);
}

.product-demo__kicker {
  margin: 0 0 5px;
  color: #1b69d5;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.product-demo h2,
.product-demo h3,
.product-demo p { margin-top: 0; }
.product-demo h2 { margin-bottom: 5px; font-size: 24px; line-height: 1.2; }
.product-demo__header p:last-child { margin-bottom: 0; color: var(--public-muted); }

.product-demo__close {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--public-line);
  border-radius: 7px;
  background: #fff;
  color: #334862;
  cursor: pointer;
}

.product-demo__close svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.product-demo__stage {
  min-height: 0;
  overflow: auto;
  padding: 18px;
  background: #f5f8fc;
}

.workflow-demo--modal {
  width: min(100%, 880px);
  margin: 0 auto;
}

.workflow-demo--modal .workflow-demo__panel { min-height: 520px; box-shadow: none; }
.workflow-demo--modal .workflow-demo__viewport { min-height: 336px; }
.workflow-demo--modal .workflow-demo__heading h3 { font-size: 20px; }
.workflow-demo--modal .workflow-demo__description { font-size: 13px; }
.workflow-demo--modal .workflow-complete .product-demo__trial { display: inline-flex; }

.product-demo__trial {
  min-height: 46px;
  margin-top: 8px;
  padding: 0 17px;
  text-align: center;
}

.product-demo__footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  border-top: 1px solid var(--public-line);
}

.product-demo__footer p { margin: 0; color: #61738c; font-size: 13px; font-weight: 650; }
.product-demo__controls { display: flex; justify-content: flex-end; gap: 7px; }
.product-demo__controls button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #c9d5e4;
  border-radius: 6px;
  background: #fff;
  color: #314660;
  font-weight: 650;
  cursor: pointer;
}

.product-demo__controls button:disabled { opacity: 0.45; cursor: default; }
.product-demo__controls .product-demo__next { border-color: #1468e8; background: #1468e8; color: #fff; }

@container public-page (max-width: 1120px) {
  .public-header__bar { gap: 10px; }
  .public-header__nav a { padding-inline: 8px; font-size: 13px; }
  .public-header__login { display: none; }
  .public-hero__inner { grid-template-columns: minmax(350px, 0.42fr) minmax(500px, 0.58fr); gap: 28px; }
  .public-hero h1 { font-size: 44px; }
}

@media (max-width: 1023px) {
  :root { --public-header-height: 64px; }
  .public-header__bar { width: calc(100% - 24px); gap: 8px; }
  .public-header__logo { min-width: 92px; }
  .public-header__logo img { width: 92px; }
  .public-header__nav,
  .public-header__actions .public-header__language--desktop,
  .public-header__login { display: none; }
  .public-header__actions { margin-left: auto; }
  .public-header__trial { min-height: 44px; padding: 0 12px; font-size: 12px; }
  .public-header__menu {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid #d2ddea;
    border-radius: 7px;
    background: #fff;
    color: #203650;
  }
  .public-header__menu span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 180ms ease, opacity 140ms ease; }
  .public-header__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .public-header__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .public-header__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .public-header__mobile {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    padding: 10px 16px 16px;
    border-bottom: 1px solid #cad7e6;
    background: #fff;
    box-shadow: 0 18px 30px rgba(15, 35, 63, 0.14);
  }
  .public-header__mobile:not([hidden]) { display: grid; gap: 12px; }
  .public-header__mobile nav { display: grid; }
  .public-header__mobile nav a { min-height: 46px; display: flex; align-items: center; padding: 0 10px; border-bottom: 1px solid #edf1f6; color: #263c58; font-weight: 650; }
  .public-header__language--mobile { display: flex; min-height: 44px; margin: 0; }
}

@media (min-width: 810px) and (max-width: 1023px) {
  .public-hero { min-height: 0; padding: 42px 0 50px; }
  .public-hero__inner { width: min(100% - 48px, 880px); grid-template-columns: 1fr; gap: 30px; }
  .public-hero__copy { max-width: 690px; text-align: center; margin: 0 auto; }
  .public-hero__eyebrow { margin-bottom: 12px; }
  .public-hero h1 { font-size: 43px; }
  .public-hero__lead { margin-inline: auto; }
  .public-hero__proofs { justify-content: center; }
  .hero-workflow { width: min(100%, 820px); margin: 0 auto; }
}

@media (max-width: 809px) {
  .public-hero { min-height: 0; padding: 38px 0 30px; }
  .public-hero::before { background: rgba(246, 249, 253, 0.84); }
  .public-hero__inner { width: min(100% - 32px, 720px); grid-template-columns: 1fr; gap: 30px; }
  .public-hero__copy { max-width: 640px; }
  .public-hero h1 { font-size: 38px; line-height: 1.08; }
  .public-hero__lead { margin-top: 18px; font-size: 16px; line-height: 1.55; }
  .public-hero__cta { width: 100%; margin-top: 22px; }
  .public-hero__proofs { margin-top: 16px; }
  .hero-workflow { padding: 0 0 16px; }
  .product-demo { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .product-demo__shell { max-height: calc(100dvh - 16px); }
  .product-demo__header { padding: 18px; }
  .product-demo h2 { font-size: 21px; }
  .product-demo__stage { min-height: 0; padding: 12px; }
  .product-demo__footer { flex-wrap: wrap; padding: 10px 18px; }
  .product-demo__controls { width: 100%; justify-content: stretch; }
  .product-demo__controls button { flex: 1 1 auto; padding-inline: 8px; font-size: 13px; }
}

@container public-page (max-width: 430px) {
  .public-header__trial { max-width: 134px; line-height: 1.1; text-align: center; }
  .public-hero { padding-top: 30px; }
  .public-hero__inner { width: calc(100% - 28px); gap: 24px; }
  .public-hero__eyebrow { margin-bottom: 12px; font-size: 10px; }
  .public-hero h1 { font-size: 34px; }
  .public-hero__lead { font-size: 15px; }
  .public-hero__proofs { gap: 6px; }
  .public-hero__proofs li { min-height: 30px; font-size: 10px; }
  .workflow-demo__panel { min-height: 454px; grid-template-rows: auto minmax(0, 1fr) 92px; }
  .workflow-demo__heading { min-height: 58px; padding: 10px 12px; }
  .workflow-demo__heading h3 { font-size: 15px; }
  .workflow-demo__heading span { font-size: 8px; }
  .workflow-demo__viewport { min-height: 302px; }
  .workflow-demo__step { gap: 8px; padding: 14px 12px 44px; }
  .workflow-demo__description { font-size: 10px; }
  .workflow-upload { min-height: 126px; grid-template-columns: auto minmax(0, 1fr); gap: 11px; padding: 17px; }
  .workflow-upload__icon { width: 42px; height: 42px; }
  .workflow-upload__state { grid-column: 1 / -1; justify-self: start; }
  .workflow-recognition__summary { grid-template-columns: auto minmax(0, 1fr); padding: 8px 9px; }
  .workflow-recognition__summary small { grid-column: 2; justify-self: start; }
  .workflow-recognition__fields > div { padding: 7px 25px 7px 8px; }
  .workflow-recognition__fields dd { font-size: 9px; }
  .workflow-order { grid-template-columns: 1fr; gap: 7px; }
  .workflow-order__main { padding: 9px; }
  .workflow-order__route { font-size: 11px; }
  .workflow-order__tools { grid-template-columns: 0.72fr 1.28fr; gap: 7px; }
  .workflow-route-card { padding: 7px 8px; }
  .workflow-route-card strong { font-size: 11px; }
  .workflow-load-plan { padding: 6px 7px; }
  .workflow-load-plan__body { aspect-ratio: 3.2 / 1; padding: 4px; }
  .workflow-invoice { grid-template-columns: 1fr; gap: 8px; }
  .workflow-invoice__action { min-height: 40px; }
  .workflow-invoice__paper { padding: 11px; }
  .workflow-complete { padding: 14px; }
  .workflow-complete strong { font-size: 14px; }
  .workflow-complete ul { grid-template-columns: 1fr; }
  .workflow-demo__timeline { padding: 33px 0 9px; }
  .workflow-demo__track { top: 27px; right: 10%; left: 10%; }
  .workflow-demo__van { top: -22px; width: 74px; }
  .workflow-demo__marker-state { width: 19px; height: 19px; }
  .workflow-demo__timeline strong { font-size: 8px; }
  .workflow-demo--modal .workflow-demo__panel { min-height: 454px; }
  .workflow-demo--modal .workflow-demo__viewport { min-height: 302px; }
}

@container public-page (max-width: 359px) {
  .public-header__logo img { width: 82px; }
  .public-header__trial { max-width: 116px; padding-inline: 8px; font-size: 11px; }
  .public-hero h1 { font-size: 31px; }
}

@media (max-height: 480px) and (orientation: landscape) {
  .product-demo__header {
    align-items: center;
    padding: 7px 10px;
  }

  .product-demo__kicker,
  .product-demo__header p:last-child { display: none; }

  .product-demo h2 { margin: 0; font-size: 17px; }
  .product-demo__stage { padding: 8px; }
  .product-demo__footer {
    min-height: 58px;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 6px 10px;
  }
  .product-demo__footer p { min-width: 74px; font-size: 11px; }
  .product-demo__controls { width: auto; flex: 1 1 auto; }
  .product-demo__controls button { min-width: 44px; }
  .workflow-demo--modal .workflow-demo__panel {
    min-height: 0;
    grid-template-rows: 44px minmax(143px, 1fr);
  }
  .workflow-demo--modal .workflow-demo__heading {
    min-height: 44px;
    padding: 6px 10px;
  }
  .workflow-demo--modal .workflow-demo__heading h3 { font-size: 15px; }
  .workflow-demo--modal .workflow-demo__viewport {
    min-height: 143px;
    overflow: auto;
  }
  .workflow-demo--modal .workflow-demo__step {
    position: relative;
    min-height: 143px;
    padding: 8px 12px;
  }
  .workflow-demo--modal .workflow-demo__description,
  .workflow-demo--modal .workflow-demo__timeline { display: none; }
  .workflow-demo--modal .workflow-upload {
    min-height: 102px;
    padding: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-demo__step.is-active > :first-child { animation: none; }
  .workflow-demo__track span,
  .workflow-demo__van { transition: none; }
  .public-header__menu span { transition: none; }
}
