/* Theme palettes mirror the application src/theme/light.json and dark.json.
   Static HTML uses the app's MUI visual language without a runtime dependency. */
:root {
  color-scheme: light;
  --primary: #518bb5;
  --primary-light: #67b5ec;
  --primary-dark: #2e5e83;
  --secondary: #e27923;
  --secondary-light: #f2a766;
  --secondary-dark: #b65f18;
  --text: #4a5565;
  --text-secondary: #66758a;
  --background: #ffffff;
  --divider: #e1e7ef;
  --success: #6fc59f;
  --tint: #f5f8fb;
  --blue-tint: #eaf2f8;
  --orange-tint: #fff3e8;
  --radius: 14px;
  --font: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  --selection-bg: #d9eaf6;
  --header-bg: rgba(255, 255, 255, 0.97);
  --button-hover: #254f70;
  --hero-end: #f3f7fa;
  --preview-border: #d4e0e9;
  --preview-bar: #fafcfd;
  --window-dot: #d9e2e9;
  --preview-bg: #fbfcfe;
  --row-divider: #edf1f5;
  --success-bg: #e9f6ef;
  --success-text: #2d6a4d;
  --orange-text: #995019;
  --neutral-bg: #eff2f5;
  --tabs-bg: #f1f5f8;
  --surface-hover: #e5edf4;
  --selected-border: #dce5ec;
  --panel-end: #f7fafc;
  --connector: #b4c8d7;
  --check-color: #397a59;
  --demo-footer-bg: #eff5fa;
  --timeline-marker: #c7d4df;
  --integration-blue-bg: #edf4fc;
  --integration-blue-text: #245fa0;
  --integration-green-bg: #eff3ed;
  --integration-green-text: #506344;
  --integration-dat-bg: #eef2f7;
  --integration-dat-text: #3c5680;
  --accounting-border: #ecd9c9;
  --accounting-bg: #fffcf9;
  --contact-border: #d4e3ef;
  --paper: #ffffff;
  --link: var(--primary-dark);
  --button-bg: var(--primary-dark);
  --on-primary: #ffffff;
  --warning-text: var(--secondary-dark);
  --map-land: #f5f8fa;
  --map-grid: #e3eaf0;
  --map-road: #d8e3eb;
  --map-water: #d9eaf4;
}

/* Light is the default, even when the operating system uses dark mode. */
@media screen {
  :root[data-theme='dark'] {
    color-scheme: dark;
    --primary: #67b5ec;
    --primary-light: #7fd3f4;
    --primary-dark: #518bb5;
    --secondary-light: #f0a35c;
    --text: #e6edf6;
    --text-secondary: #aab6c5;
    --background: #172038;
    --paper: #172038;
    --divider: #26324a;
    --success: #86d6b6;
    --tint: #131c30;
    --blue-tint: #223850;
    --orange-tint: #493526;
    --link: #7fd3f4;
    --button-bg: #67b5ec;
    --on-primary: #0f172a;
    --warning-text: #f0a35c;
    --map-land: #111b2f;
    --map-grid: #26354f;
    --map-road: #32425c;
    --map-water: #203a55;
    --selection-bg: #284963;
    --header-bg: rgba(23, 32, 56, 0.97);
    --button-hover: #7fd3f4;
    --hero-end: #1a2b44;
    --preview-border: #35435e;
    --preview-bar: #1b2941;
    --window-dot: #43536c;
    --preview-bg: #131d32;
    --row-divider: #26324a;
    --success-bg: #203e3a;
    --success-text: #86d6b6;
    --orange-text: #f0a35c;
    --neutral-bg: #29344a;
    --tabs-bg: #121b2e;
    --surface-hover: #253650;
    --selected-border: #425c77;
    --panel-end: #1b2a42;
    --connector: #526984;
    --check-color: #86d6b6;
    --demo-footer-bg: #213550;
    --timeline-marker: #71839b;
    --integration-blue-bg: #223c58;
    --integration-blue-text: #7fd3f4;
    --integration-green-bg: #253e38;
    --integration-green-text: #a9d9b5;
    --integration-dat-bg: #2b3651;
    --integration-dat-text: #adc8ed;
    --accounting-border: #5d4739;
    --accounting-bg: #252735;
    --contact-border: #354b66;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  vertical-align: middle;
}
img {
  max-width: 100%;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
}
::selection {
  background: var(--selection-bg);
  color: var(--link);
}
:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 5px;
}
.container {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--link);
  border: 2px solid var(--primary);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--divider);
}
.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.9px;
  line-height: 1.15;
}
.brand-accent {
  color: var(--primary);
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.35px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--text-secondary);
}
.brand img {
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 33px;
  font-size: 14px;
  font-weight: 500;
}
.main-nav > a:not(.button) {
  padding-block: 12px;
}
.main-nav > a:not(.button):hover {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--button-bg);
  border: 1px solid var(--button-bg);
  border-radius: var(--radius);
  color: var(--on-primary);
  min-height: 54px;
  padding: 13px 23px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.button:hover {
  background: var(--button-hover);
  box-shadow: 0 4px 12px #2e5e8322;
  transform: translateY(-1px);
}
.button-small {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
}
.button .icon {
  width: 19px;
}

.theme-chooser {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--tint);
  flex-shrink: 0;
}
.theme-chooser button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}
.theme-chooser button:hover {
  background: var(--surface-hover);
  color: var(--text);
}
.theme-chooser button[aria-pressed='true'] {
  background: var(--paper);
  border-color: var(--selected-border);
  color: var(--link);
}
.theme-chooser .icon {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
}
.eyebrow {
  color: var(--link);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.blue {
  background: var(--primary);
}
.hero {
  padding-block: 80px 68px;
  position: relative;
  background: linear-gradient(112deg, var(--paper) 48%, var(--hero-end) 100%);
}
.hero-layout {
  display: grid;
  grid-template-columns: 0.87fr 1.13fr;
  align-items: center;
  gap: 48px;
}
.hero h1 {
  font-size: clamp(48px, 4.65vw, 68px);
  font-weight: 700;
  letter-spacing: -2.8px;
  line-height: 1.035;
}
.hero h1 > span {
  color: var(--primary);
}
.hero-description {
  color: var(--text-secondary);
  max-width: 460px;
  font-size: 17px;
  line-height: 1.8;
  margin-top: 26px;
}
.hero-description strong {
  font-weight: 600;
  color: var(--text);
}
.button-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 29px;
}
.text-link {
  color: var(--link);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.text-link span {
  display: inline-block;
  margin-left: 6px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 23px;
}
.hero-note .icon {
  width: 17px;
  height: 17px;
  color: var(--primary);
}
.hero-preview {
  min-width: 0;
}
.preview-window {
  background: var(--paper);
  border: 1px solid var(--preview-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 22px 65px -26px #2e5e8340,
    0 4px 18px #2e5e8307;
}
.preview-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 16px;
  font-size: 9px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--divider);
  background: var(--preview-bar);
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--window-dot);
}
.window-dots span:first-child {
  background: var(--secondary-light);
}
.preview-tag {
  margin-left: auto;
  letter-spacing: 0.8px;
  font-size: 8px;
}
.preview-shell {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
}
.preview-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 19px 7px;
  border-right: 1px solid var(--divider);
}
.preview-sidebar > img {
  margin-bottom: 11px;
}
.preview-sidebar > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  color: var(--text-secondary);
}
.preview-sidebar .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
}
.preview-sidebar .sidebar-selected {
  background: var(--blue-tint);
  color: var(--primary);
}
.preview-content {
  padding: 22px 20px 20px;
  background: var(--preview-bg);
}
.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.overline {
  font-size: 8px;
  letter-spacing: 1.15px;
  color: var(--text-secondary);
  font-weight: 500;
}
.preview-heading h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  font-weight: 600;
  margin-top: 4px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-tint);
  color: var(--link);
  font-size: 10px;
  font-weight: 600;
}
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.preview-stats > div {
  background: var(--paper);
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 11px 12px;
}
.preview-stats span {
  color: var(--text-secondary);
  font-size: 9px;
}
.preview-stats strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 27px;
  line-height: 1.5;
  font-weight: 600;
}
.preview-stats strong .icon {
  width: 20px;
  color: var(--primary);
}
.preview-stats small {
  display: block;
  font-size: 8px;
  color: var(--text-secondary);
}
.preview-stats .attention-value,
.preview-stats .attention-value .icon {
  color: var(--warning-text);
}
.route-map {
  border: 1px solid var(--divider);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}
.map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  font-size: 9px;
  border-bottom: 1px solid var(--divider);
}
.map-heading > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.map-heading > span:last-child {
  color: var(--text-secondary);
}
.map-heading .status-dot {
  width: 5px;
  height: 5px;
}
.route-map > svg {
  width: 100%;
  height: auto;
  display: block;
}
.preview-loads {
  margin-top: 13px;
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 10px 12px 0;
  background: var(--paper);
}
.preview-loads-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  padding-bottom: 8px;
}
.preview-loads-title > span {
  color: var(--text-secondary);
  font-size: 8px;
}
.load-row {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 1fr;
  align-items: center;
  gap: 5px;
  padding: 9px 0;
  border-top: 1px solid var(--row-divider);
  font-size: 9px;
}
.load-row .chip {
  justify-self: end;
  font-size: 8px;
  padding: 2px 7px;
}
.load-id {
  color: var(--link);
  font-weight: 500;
}
.route-arrow {
  color: var(--primary);
  padding-inline: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 7px;
  line-height: 1.6;
  white-space: nowrap;
}
.chip-blue {
  background: var(--blue-tint);
  color: var(--link);
}
.chip-green {
  background: var(--success-bg);
  color: var(--success-text);
}
.chip-orange {
  background: var(--orange-tint);
  color: var(--orange-text);
}
.chip-neutral {
  background: var(--neutral-bg);
  color: var(--text);
}
.hero-preview figcaption {
  margin-top: 20px;
  text-align: center;
  font-size: 11px;
  color: var(--text-secondary);
}
.caption-line {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--secondary);
  vertical-align: middle;
  margin-right: 6px;
}
.hero-preview figcaption small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
}
.coverage-strip {
  border-block: 1px solid var(--divider);
}
.coverage-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  font-size: 14px;
  font-weight: 500;
}
.coverage-inner .coverage-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  padding-right: 20px;
  border-right: 1px solid var(--divider);
}
.section {
  padding-block: 96px;
}
.section h2,
.contact-section h2 {
  font-size: clamp(32px, 3.2vw, 44px);
  letter-spacing: -1.5px;
  font-weight: 600;
  line-height: 1.12;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 70px;
  align-items: end;
  margin-bottom: 44px;
}
.section-heading > p {
  max-width: 420px;
  color: var(--text-secondary);
  font-size: 16px;
}
.section-heading .eyebrow {
  margin-bottom: 15px;
}
.platform-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 7px;
  background: var(--tabs-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.platform-tabs button {
  display: flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  padding: 15px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.18s;
}
.platform-tabs button:hover {
  background: var(--surface-hover);
}
.platform-tabs button[aria-selected='true'] {
  background: var(--paper);
  color: var(--link);
  border-color: var(--selected-border);
  box-shadow: 0 2px 5px #2e5e8308;
}
.platform-tabs .icon {
  width: 20px;
  height: 20px;
}
.platform-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  padding: 44px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: linear-gradient(105deg, var(--paper) 40%, var(--panel-end) 100%);
  min-height: 450px;
}
.platform-panel + .platform-panel {
  margin-top: 24px;
}
.tabs-enabled .platform-panel + .platform-panel {
  margin-top: 0;
}
.section-number {
  color: var(--link);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.panel-copy h3 {
  font-size: 31px;
  letter-spacing: -0.9px;
  font-weight: 600;
  margin-top: 13px;
}
.panel-copy > p {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-secondary);
}
.check-list {
  padding: 0;
  margin: 23px 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 11px;
  font-size: 13px;
  line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--link);
  font-weight: 600;
}
.panel-copy .text-link {
  font-size: 13px;
}
.workflow-demo {
  background: var(--paper);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 14px 38px -25px #2e5e8355;
  min-width: 0;
}
.demo-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}
.demo-title > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.demo-title .icon {
  width: 18px;
  color: var(--primary);
}
.demo-title .chip {
  font-size: 9px;
}
.demo-route {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-block: 30px;
}
.demo-route > span {
  color: var(--link);
  font-size: 31px;
  font-weight: 600;
  line-height: 1.2;
}
.demo-route small {
  display: block;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 400;
  margin-top: 6px;
}
.route-connector {
  position: relative;
  flex: 1;
  height: 1px;
  border-top: 1px dashed var(--connector);
  text-align: center;
}
.route-connector .icon {
  position: absolute;
  top: -13px;
  left: calc(50% - 18px);
  width: 36px;
  height: 26px;
  padding-inline: 5px;
  background: var(--paper);
  color: var(--primary);
}
.assignment-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-block: 14px;
  border-top: 1px solid var(--row-divider);
}
.assignment-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--primary);
}
.assignment-icon .icon {
  width: 18px;
}
.assignment-row > div {
  flex: 1;
}
.assignment-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.assignment-row > div > span {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 3px;
}
.check-icon {
  width: 16px;
  color: var(--check-color);
}
.demo-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  color: var(--link);
  background: var(--demo-footer-bg);
  font-size: 10px;
  line-height: 1.6;
}
.demo-footer .icon {
  width: 15px;
  height: 15px;
}
.demo-disclaimer {
  text-align: center;
  font-size: 9px;
  color: var(--text-secondary);
  margin-top: 12px;
}
.route-timeline {
  padding: 6px 0 2px 29px;
  margin-block: 24px;
  list-style: none;
}
.route-timeline li {
  position: relative;
  border-left: 1px solid var(--divider);
  padding: 0 0 25px 24px;
  font-size: 12px;
}
.route-timeline li:last-child {
  border: 0;
  padding-bottom: 0;
}
.route-timeline li::before {
  position: absolute;
  content: '';
  left: -5px;
  top: 3px;
  width: 9px;
  height: 9px;
  background: var(--timeline-marker);
  border: 2px solid var(--paper);
  outline: 1px solid var(--timeline-marker);
  border-radius: 50%;
}
.route-timeline li.complete::before {
  background: var(--check-color);
  outline-color: var(--check-color);
}
.route-timeline li.current::before {
  background: var(--primary);
  outline-color: var(--primary);
}
.route-timeline strong {
  display: block;
  font-weight: 500;
}
.route-timeline li > span {
  display: block;
  color: var(--text-secondary);
  font-size: 10px;
  margin-top: 4px;
}
.service-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-block: 29px 18px;
}
.service-summary h4 {
  font-size: 14px;
  margin-top: 4px;
}
.detail-list {
  margin: 0;
  font-size: 11px;
}
.detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--divider);
  padding-block: 15px;
}
.detail-list dt {
  color: var(--text-secondary);
}
.detail-list dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}
.invoice-example {
  margin-top: 25px;
}
.invoice-example h4 {
  font-size: 21px;
  margin: 6px 0 21px;
  font-weight: 500;
}
.section-tinted {
  background: var(--tint);
  border-block: 1px solid var(--divider);
}
.section-tinted .section-heading > p {
  color: var(--text);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.capability {
  padding: 28px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: start;
}
.feature-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-tint);
  color: var(--link);
  margin-bottom: 22px;
}
.feature-icon.orange {
  background: var(--orange-tint);
  color: var(--warning-text);
}
.capability h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.35px;
  margin-bottom: 13px;
}
.capability p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 22px;
}
.feature-detail {
  margin-top: auto;
  font-size: 11px;
  color: var(--link);
  padding-top: 17px;
  border-top: 1px solid var(--divider);
  width: 100%;
}
.center-heading {
  text-align: center;
}
.center-heading .eyebrow {
  justify-content: center;
}
.center-heading > p:last-child {
  color: var(--text-secondary);
  margin-top: 19px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
.step-number {
  display: block;
  color: var(--primary);
  font-size: 28px;
  font-weight: 500;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 18px;
  margin-bottom: 21px;
}
.steps li:first-child .step-number {
  color: var(--warning-text);
}
.steps h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 11px;
}
.steps p {
  font-size: 14px;
  color: var(--text-secondary);
}
.integrations-section {
  background: var(--tint);
  border-block: 1px solid var(--divider);
}
.integrations-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 110px;
  align-items: center;
}
.integrations-layout > div > p:not(.eyebrow) {
  color: var(--text);
  margin: 23px 0;
  max-width: 430px;
}
.integration-list article {
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--paper);
  margin-bottom: 12px;
}
.integration-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--integration-blue-bg);
  color: var(--integration-blue-text);
  font-size: 24px;
  font-weight: 700;
}
.integration-mark.factoring {
  background: var(--integration-green-bg);
  color: var(--integration-green-text);
}
.integration-mark.dat {
  background: var(--integration-dat-bg);
  color: var(--integration-dat-text);
}
.integration-list article > div {
  flex: 1;
}
.integration-list h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 7px;
}
.integration-list article p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.integrations-layout .integration-list .integration-note {
  font-size: 10px;
  line-height: 1.7;
  margin: 20px 0 0;
  max-width: none;
}
.accounting-section {
  padding-top: 64px;
}
.accounting-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 38px 42px;
  border: 1px solid var(--accounting-border);
  border-radius: var(--radius);
  border-left: 3px solid var(--secondary);
  background: var(--accounting-bg);
  align-items: center;
}
.accounting-card h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.25;
  margin-top: 15px;
}
.accounting-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 13px;
}
.accounting-card small {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 14px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.faq-layout > div > p:last-child {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
}
.faq-list {
  border-top: 1px solid var(--divider);
}
.faq-list details {
  border-bottom: 1px solid var(--divider);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  padding: 22px 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.15s;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list details[open] summary {
  color: var(--link);
}
.faq-list details > p {
  padding: 0 28px 23px 2px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}
.contact-section {
  padding-bottom: 80px;
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  background: var(--blue-tint);
  border: 1px solid var(--contact-border);
  border-radius: var(--radius);
  padding: 56px;
  position: relative;
}
.contact-card h2 {
  color: var(--link);
}
.contact-card > div > p:last-child {
  color: var(--text);
  margin-top: 20px;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.contact-actions .button {
  padding-inline: 29px;
}
.contact-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--link);
}
.contact-email:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-email .icon {
  width: 18px;
}
.contact-actions > span {
  font-size: 11px;
  color: var(--text);
  text-align: center;
}
.site-footer {
  border-top: 1px solid var(--divider);
  padding-block: 43px 22px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 35px;
}
.footer-top > p {
  color: var(--text-secondary);
  font-size: 12px;
}
.social-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
}
.social-links a:hover,
.footer-bottom a:hover {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.social-links span {
  color: var(--link);
}
.footer-bottom {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid var(--divider);
  padding-top: 22px;
  font-size: 11px;
  color: var(--text-secondary);
}
.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

/* Legal documents share the brand, navigation, and paper surfaces. */
.legal-content {
  max-width: 850px;
  padding-block: 68px 80px;
}
.page-header {
  padding-bottom: 35px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--divider);
}
.page-header h1 {
  font-size: clamp(36px, 5vw, 50px);
  letter-spacing: -1.4px;
  color: var(--link);
}
.last-updated {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 14px;
}
.policy-card {
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-bottom: 20px;
}
.policy-card h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.policy-card h3 {
  font-size: 18px;
  margin: 24px 0 12px;
}
.policy-card p,
.policy-card li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}
.policy-card p + p {
  margin-top: 14px;
}
.policy-card ul,
.policy-card ol {
  padding-left: 23px;
}
.policy-card li {
  margin-bottom: 8px;
}
.policy-card a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.policy-card .highlight,
.policy-card .contact-highlight,
.policy-card .important-note {
  background: var(--blue-tint);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 20px;
  margin-top: 20px;
}
.policy-card .warning {
  background: var(--orange-tint);
  border-left: 3px solid var(--secondary);
  padding: 20px;
  border-radius: 0 10px 10px 0;
}

@media (min-width: 1440px) {
  .hero {
    padding-block: 94px 82px;
  }
  .hero-layout {
    gap: 64px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero {
    padding-block: 58px;
  }
  .hero-layout {
    gap: 28px;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .hero h1 {
    font-size: 51px;
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero .button-row {
    gap: 17px;
  }
  .hero .button {
    font-size: 13px;
    padding-inline: 17px;
  }
  .hero .text-link {
    font-size: 12px;
  }
  .preview-content {
    padding: 15px 12px;
  }
  .preview-heading h2 {
    font-size: 17px;
  }
  .preview-stats {
    gap: 7px;
  }
  .preview-stats > div {
    padding: 9px;
  }
  .preview-stats strong {
    font-size: 25px;
  }
  .preview-stats small {
    font-size: 7px;
  }
  .platform-panel {
    gap: 35px;
    padding: 32px;
  }
  .platform-tabs button {
    font-size: 12px;
    gap: 7px;
  }
  .capability {
    padding: 23px;
  }
  .capability h3 {
    font-size: 17px;
  }
  .integrations-layout,
  .faq-layout {
    gap: 55px;
  }
  .footer-top {
    flex-wrap: wrap;
  }
}
@media (max-width: 820px) {
  html {
    scroll-padding-top: 90px;
  }
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    min-height: 78px;
    gap: 20px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 1.15px;
  }
  .main-nav {
    gap: 18px;
    font-size: 12px;
  }
  .main-nav .button {
    font-size: 12px;
    padding-inline: 14px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .hero-copy {
    max-width: 610px;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-description {
    max-width: 550px;
    font-size: 17px;
  }
  .hero .button {
    font-size: 15px;
    padding-inline: 22px;
  }
  .hero .text-link {
    font-size: 14px;
  }
  .hero-preview {
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
  }
  .preview-content {
    padding: 22px;
  }
  .preview-heading h2 {
    font-size: 21px;
  }
  .preview-stats > div {
    padding: 12px;
  }
  .preview-stats span {
    font-size: 11px;
  }
  .preview-stats small {
    font-size: 9px;
  }
  .load-row {
    font-size: 11px;
  }
  .coverage-inner {
    justify-content: center;
    column-gap: 27px;
    row-gap: 13px;
    font-size: 13px;
  }
  .coverage-inner .coverage-label {
    flex-basis: 100%;
    border: 0;
    text-align: center;
    padding: 0;
  }
  .section {
    padding-block: 68px;
  }
  .section-heading {
    gap: 30px;
    align-items: start;
  }
  .section-heading > p {
    max-width: 300px;
    font-size: 14px;
  }
  .platform-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .platform-tabs button {
    font-size: 14px;
  }
  .platform-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px;
  }
  .panel-copy h3 br {
    display: none;
  }
  .workflow-demo {
    width: 100%;
    max-width: 540px;
    margin-inline: auto;
  }
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .integrations-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .integrations-layout > div > p:not(.eyebrow) {
    max-width: 590px;
  }
  .accounting-card {
    gap: 30px;
    padding: 30px;
  }
  .accounting-card h2 {
    font-size: 24px;
  }
  .faq-layout {
    gap: 35px;
    grid-template-columns: 0.7fr 1fr;
  }
  .faq-list summary {
    font-size: 14px;
  }
  .contact-card {
    padding: 35px;
    gap: 25px;
  }
  .contact-card .eyebrow {
    font-size: 9px;
  }
  .contact-card h2 {
    font-size: 34px;
  }
  .contact-actions .button {
    padding-inline: 18px;
    font-size: 13px;
  }
  .contact-email {
    font-size: 12px;
  }
  .contact-actions > span {
    font-size: 10px;
  }
  .footer-top {
    gap: 25px;
  }
}
@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 74px;
    gap: 0;
    padding-block: 13px;
  }
  .brand {
    font-size: 22px;
  }
  .main-nav {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-top: 15px;
  }
  .menu-toggle:not([hidden]) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: var(--tint);
    color: var(--link);
    border: 1px solid var(--divider);
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .menu-toggle span {
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.15s;
  }
  .menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }
  .nav-enhanced .main-nav {
    display: none;
  }
  .nav-enhanced .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 18px;
  }
  .nav-enhanced .main-nav > a:not(.button) {
    padding: 13px 5px;
    font-size: 15px;
    border-top: 1px solid var(--divider);
  }
  .nav-enhanced .main-nav .button {
    margin-top: 9px;
    font-size: 14px;
  }

  .theme-chooser {
    align-self: flex-start;
    margin-top: 16px;
  }
  .theme-chooser button {
    min-height: 40px;
    padding-inline: 17px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .hero {
    padding-block: 43px 37px;
  }
  .hero-layout {
    gap: 34px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
    margin-bottom: 21px;
  }
  .hero h1 {
    font-size: clamp(40px, 11.5vw, 64px);
    letter-spacing: -1.8px;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 23px;
  }
  .hero .button-row {
    gap: 18px;
    margin-top: 25px;
  }
  .hero .button {
    font-size: 14px;
    padding-inline: 18px;
    min-height: 50px;
  }
  .hero .text-link {
    font-size: 13px;
  }
  .hero-note {
    font-size: 10px;
    margin-top: 19px;
  }
  .preview-topbar {
    gap: 12px;
    padding: 10px 12px;
    font-size: 8px;
  }
  .preview-tag {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .preview-shell {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .preview-sidebar {
    padding: 13px 4px;
    gap: 8px;
  }
  .preview-sidebar > img {
    width: 27px;
    height: 27px;
    margin-bottom: 6px;
  }
  .preview-sidebar > span {
    width: 27px;
    height: 29px;
    border-radius: 8px;
  }
  .preview-sidebar .icon {
    width: 16px;
  }
  .preview-content {
    padding: 13px 9px;
  }
  .preview-heading {
    margin-bottom: 13px;
  }
  .preview-heading .overline {
    font-size: 6px;
    letter-spacing: 0.6px;
  }
  .preview-heading h2 {
    font-size: 15px;
  }
  .avatar {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }
  .preview-stats {
    gap: 5px;
    margin-bottom: 9px;
  }
  .preview-stats > div {
    padding: 7px 6px;
    border-radius: 7px;
  }
  .preview-stats span {
    font-size: 7px;
  }
  .preview-stats strong {
    font-size: 23px;
  }
  .preview-stats strong .icon {
    width: 14px;
  }
  .preview-stats small {
    font-size: 6px;
  }
  .map-heading {
    font-size: 7px;
    padding: 8px;
  }
  .preview-loads {
    padding: 8px 7px 0;
    margin-top: 8px;
  }
  .preview-loads-title {
    font-size: 8px;
  }
  .preview-loads-title > span {
    font-size: 6px;
  }
  .load-row {
    font-size: 7px;
    grid-template-columns: 0.8fr 1.5fr 0.9fr;
    gap: 3px;
  }
  .load-row .chip {
    font-size: 6px;
    padding-inline: 5px;
  }
  .route-arrow {
    padding: 0;
  }
  .hero-preview figcaption {
    font-size: 9px;
    margin-top: 14px;
  }
  .hero-preview figcaption small {
    font-size: 8px;
  }
  .coverage-inner {
    padding-block: 20px;
    gap: 10px 23px;
    font-size: 12px;
  }
  .coverage-inner .coverage-label {
    font-size: 8px;
  }
  .section {
    padding-block: 56px;
  }
  .section h2,
  .contact-section h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
    margin-bottom: 15px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading > p {
    max-width: none;
    margin-top: 20px;
  }
  .platform-tabs {
    gap: 5px;
    padding: 5px;
    margin-bottom: 15px;
  }
  .platform-tabs button {
    font-size: 11px;
    gap: 6px;
    padding: 12px 5px;
  }
  .platform-tabs .icon {
    width: 17px;
    height: 17px;
  }
  .platform-panel {
    padding: 23px 18px;
    gap: 26px;
  }
  .panel-copy h3 {
    font-size: 27px;
  }
  .panel-copy > p {
    font-size: 14px;
  }
  .check-list li {
    font-size: 12px;
  }
  .panel-copy .text-link {
    font-size: 12px;
  }
  .workflow-demo {
    padding: 15px;
  }
  .demo-title {
    font-size: 10px;
  }
  .demo-title .icon {
    width: 15px;
  }
  .demo-title .chip {
    font-size: 8px;
    padding: 3px 7px;
  }
  .demo-route {
    padding-block: 25px;
  }
  .demo-route > span {
    font-size: 28px;
  }
  .assignment-row {
    gap: 8px;
  }
  .assignment-row strong {
    font-size: 11px;
  }
  .assignment-row > div > span {
    font-size: 9px;
  }
  .assignment-icon {
    width: 30px;
    height: 30px;
  }
  .demo-footer {
    font-size: 9px;
    padding: 10px;
  }
  .demo-disclaimer {
    font-size: 8px;
  }
  .detail-list {
    font-size: 10px;
  }
  .service-summary h4 {
    font-size: 12px;
  }
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .capability {
    padding: 24px;
  }
  .feature-icon {
    margin-bottom: 18px;
  }
  .capability h3 {
    font-size: 19px;
  }
  .capability p {
    margin-bottom: 19px;
  }
  .feature-detail {
    font-size: 11px;
  }
  .center-heading {
    text-align: left;
  }
  .center-heading .eyebrow {
    justify-content: start;
  }
  .center-heading > p:last-child {
    font-size: 14px;
  }
  .desktop-break {
    display: none;
  }
  .steps {
    gap: 25px 20px;
    margin-top: 30px;
  }
  .step-number {
    font-size: 25px;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }
  .steps h3 {
    font-size: 15px;
    line-height: 1.3;
  }
  .steps p {
    font-size: 12px;
  }
  .integrations-layout {
    gap: 28px;
  }
  .integrations-layout > div > p:not(.eyebrow) {
    font-size: 14px;
  }
  .integration-list article {
    gap: 12px;
    padding: 17px 14px;
  }
  .integration-mark {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }
  .integration-list article .chip {
    font-size: 9px;
    padding-inline: 6px;
  }
  .integration-list h3 {
    font-size: 16px;
  }
  .integration-list article p {
    font-size: 11px;
  }
  .accounting-section {
    padding-top: 40px;
  }
  .accounting-card {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 20px;
  }
  .accounting-card h2 {
    font-size: 25px;
  }
  .accounting-card .text-link {
    font-size: 13px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .faq-list summary {
    padding-block: 19px;
    font-size: 15px;
  }
  .contact-section {
    padding-bottom: 44px;
  }
  .contact-card {
    grid-template-columns: 1fr;
    gap: 29px;
    padding: 29px 23px;
  }
  .contact-actions {
    align-items: flex-start;
    gap: 16px;
  }
  .contact-actions .button {
    font-size: 14px;
  }
  .contact-email {
    font-size: 14px;
  }
  .contact-actions > span {
    text-align: left;
  }
  .site-footer {
    padding-block: 30px 24px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 25px;
  }
  .footer-top > p {
    font-size: 13px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    font-size: 10px;
  }
  .footer-bottom > div {
    gap: 20px;
  }
  .legal-content {
    padding-block: 42px;
  }
  .policy-card {
    padding: 24px 20px;
  }
  .policy-card h2 {
    font-size: 22px;
  }
  .policy-card p,
  .policy-card li {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .platform-tabs,
  .skip-link {
    display: none !important;
  }
  .container {
    width: 100%;
  }
  .section,
  .hero {
    padding-block: 25px;
  }
  .platform-panel[hidden] {
    display: grid !important;
  }
  .platform-panel {
    margin-block: 20px !important;
  }
  .hero-layout,
  .platform-panel,
  .integrations-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .preview-window {
    box-shadow: none;
  }
  .policy-card,
  .capability,
  .platform-panel {
    break-inside: avoid;
  }
}
