/*
 * DSD product site
 * Styles for the Linea V2 dispatch operating system.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/inter-400-a25c1a08.woff2") format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/inter-500-05e3e52a.woff2") format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/inter-600-409b21ea.woff2") format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/inter-700-a25c1a08.woff2") format('woff2');
}

:root {
  --ink: #122033;
  --ink-strong: #08111f;
  --muted: #566477;
  --muted-strong: #38465a;
  --page: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #edf5f7;
  --line: #d8e1ea;
  --line-strong: #b8c6d6;
  --brand: #155eef;
  --brand-hover: #0f49c6;
  --teal: #087f8c;
  --coral: #d95a44;
  --amber: #b76e16;
  --green: #12805c;
  --red: #c7352c;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.08);
  --shadow-md: 0 10px 24px rgb(15 23 42 / 0.12);
  --shadow-lg: 0 24px 70px rgb(8 17 31 / 0.24);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --content-max: 1180px;
  --content-narrow: 820px;
  --header-height: 72px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

.marketing-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.marketing-main {
  min-height: calc(100vh - var(--header-height));
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-hover);
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

svg {
  display: block;
}

.marketing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgb(255 255 255 / 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.marketing-header__container {
  max-width: var(--content-max);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.marketing-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.marketing-header__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--ink-strong);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.marketing-header__brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.marketing-header__logo-text {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
}

.marketing-header__logo-subtitle {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.marketing-nav {
  display: none;
}

.marketing-nav__list {
  display: flex;
  gap: 28px;
  align-items: center;
}

.marketing-nav__link {
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 600;
}

.marketing-nav__link:hover {
  color: var(--ink);
}

.marketing-header__cta {
  display: none;
}

.marketing-header__mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
}

.marketing-header__hamburger,
.marketing-header__hamburger::before,
.marketing-header__hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.marketing-header__hamburger {
  position: relative;
}

.marketing-header__hamburger::before,
.marketing-header__hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.marketing-header__hamburger::before {
  top: -7px;
}

.marketing-header__hamburger::after {
  top: 7px;
}

.marketing-nav__mobile-cta {
  margin-top: 28px;
}

@media (min-width: 820px) {
  .marketing-nav,
  .marketing-header__cta {
    display: block;
  }

  .marketing-header__mobile-toggle,
  .marketing-nav__mobile-cta {
    display: none;
  }
}

@media (max-width: 819px) {
  .marketing-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: block;
    padding: 26px 24px 32px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .marketing-nav.is-open {
    transform: translateY(0);
  }

  .marketing-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  border-color: rgb(255 255 255 / 0.38);
}

.btn-secondary:hover {
  background: rgb(255 255 255 / 0.2);
  color: var(--white);
  border-color: rgb(255 255 255 / 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-strong);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}

.btn-lg {
  min-height: 50px;
  padding: 15px 22px;
  font-size: 1rem;
}

.btn-with-icon {
  gap: 9px;
}

.hero {
  position: relative;
  min-height: calc(72svh - var(--header-height));
  padding: 54px 24px 38px;
  background-color: var(--ink-strong);
  background-image: linear-gradient(90deg, rgb(8 17 31 / 0.88), rgb(8 17 31 / 0.72)), var(--hero-image);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero__container {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.hero__copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: #7bd0d7;
}

.hero__title {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: 2.35rem;
  line-height: 1.05;
  font-weight: 800;
}

.hero__subtitle {
  max-width: 660px;
  margin-bottom: 24px;
  color: rgb(255 255 255 / 0.84);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
}

.hero__proof div {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.08);
}

.hero__proof dt {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 0.9rem;
}

.hero__proof dd {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.78rem;
}

.dispatch-preview {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: var(--radius-lg);
  background: rgb(246 248 251 / 0.96);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dispatch-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.dispatch-preview__label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.dispatch-preview__header strong {
  display: block;
  margin-top: 2px;
}

.dispatch-preview__status {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: #e8f6ef;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.dispatch-preview__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  padding: 14px;
}

.preview-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.preview-panel--queue {
  grid-row: span 2;
}

.preview-panel__title {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-job {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.preview-job:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.preview-job__priority {
  display: inline-flex;
  justify-content: center;
  padding: 4px 7px;
  border-radius: var(--radius-sm);
  background: #e8f6ef;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
}

.preview-job--urgent .preview-job__priority {
  background: #fdebea;
  color: var(--red);
}

.preview-job--warning .preview-job__priority {
  background: #fff3df;
  color: var(--amber);
}

.preview-job strong,
.tech-chip strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.25;
}

.preview-job span:last-child,
.tech-chip span:last-child,
.preview-panel p {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.route-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.route-line span {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-chip__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 0.82rem;
}

.approval-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.approval-actions span {
  flex: 1;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--page);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.logo-band {
  padding: 18px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.logo-band__container {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.logo-band span,
.service-grid div {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  padding: 76px 24px;
}

.section--white {
  background: var(--surface);
}

.section--tint {
  background: var(--page);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__container,
.page-hero__container,
.contact-hero__container,
.contact-section__container,
.cta-section__container,
.marketing-footer__container {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__container--narrow {
  max-width: var(--content-narrow);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 34px;
}

.section-heading h2,
.cta-section__title {
  color: var(--ink-strong);
  font-size: 2rem;
  line-height: 1.16;
  font-weight: 800;
}

.section-heading p:not(.eyebrow),
.cta-section__subtitle {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: end;
}

.section-heading--split > p {
  max-width: 520px;
}

.insight-grid,
.role-grid,
.dispatch-team-grid,
.risk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.insight-card,
.role-card,
.dispatch-team-card,
.feature-panel,
.risk-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.insight-card h3,
.role-card h3,
.dispatch-team-card h3,
.feature-panel h2,
.risk-card h3 {
  margin-top: 18px;
  color: var(--ink-strong);
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 800;
}

.insight-card p,
.role-card p,
.dispatch-team-card p,
.feature-panel p,
.risk-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #e9efff;
  color: var(--brand);
}

.icon-box--teal {
  background: #e4f5f6;
  color: var(--teal);
}

.icon-box--coral {
  background: #fdecea;
  color: var(--coral);
}

.icon-box--amber {
  background: #fff3df;
  color: var(--amber);
}

.icon-box--light {
  background: rgb(255 255 255 / 0.14);
  color: var(--white);
}

.loop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.loop-step {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.loop-step:last-child {
  border-bottom: 0;
}

.loop-step span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.loop-step h3 {
  color: var(--ink-strong);
  font-size: 1.16rem;
}

.loop-step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-hero {
  padding: 74px 24px 58px;
  background: var(--ink-strong);
  color: var(--white);
}

.page-hero__container {
  max-width: var(--content-narrow);
}

.page-hero .eyebrow {
  color: #7bd0d7;
}

.page-hero__title,
.contact-hero h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 800;
}

.page-hero__subtitle,
.contact-hero p {
  margin-top: 18px;
  color: rgb(255 255 255 / 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature-panel--dark {
  background: var(--ink-strong);
  color: var(--white);
  border-color: var(--ink-strong);
}

.feature-panel--dark h2,
.feature-panel--dark p {
  color: var(--white);
}

.feature-panel--dark p {
  opacity: 0.78;
}

.check-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 600;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

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

.app-surfaces {
  border-bottom: 1px solid var(--line);
}

.surface-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.surface-jump-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--page);
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.surface-jump-nav a:hover {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.app-surface-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.app-surface-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.app-surface-card__header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.app-surface-card__header span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.app-surface-card h3 {
  margin-top: 2px;
  color: var(--ink-strong);
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 800;
}

.app-surface-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.app-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.app-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--page);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.app-link-list a:hover {
  border-color: var(--brand);
  background: #edf3ff;
  color: var(--brand);
}

.app-surface-card--dark {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: var(--white);
}

.app-surface-card--dark h3,
.app-surface-card--dark .app-surface-card__header span,
.app-surface-card--dark p {
  color: var(--white);
}

.app-surface-card--dark .app-surface-card__header span,
.app-surface-card--dark p {
  opacity: 0.76;
}

.app-surface-card--dark .app-link-list a {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.18);
  color: var(--white);
}

.app-surface-card--dark .app-link-list a:hover {
  background: rgb(255 255 255 / 0.18);
  border-color: rgb(255 255 255 / 0.34);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.timeline-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ink-strong);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.timeline-step h2 {
  color: var(--ink-strong);
  font-size: 1.2rem;
  line-height: 1.25;
}

.timeline-step p {
  margin-top: 10px;
  color: var(--muted);
}

.risk-card {
  border-top: 4px solid var(--green);
}

.risk-card--medium {
  border-top-color: var(--amber);
}

.risk-card--high {
  border-top-color: var(--coral);
}

.stat-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.stat-strip div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--page);
}

.stat-strip strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1.1rem;
}

.stat-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-hero {
  padding: 64px 24px 42px;
  background: var(--ink-strong);
  color: var(--white);
}

.contact-hero__container {
  max-width: var(--content-narrow);
}

.contact-section {
  padding: 58px 24px 76px;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.contact-form-wrapper,
.contact-info,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper {
  padding: 24px;
}

.contact-callout {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--page);
  color: var(--muted-strong);
}

.contact-callout a {
  display: block;
  margin-top: 2px;
  font-weight: 800;
}

.contact-form__title,
.contact-info__title {
  color: var(--ink-strong);
  font-size: 1.32rem;
  line-height: 1.25;
  font-weight: 800;
}

.contact-form {
  margin-top: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.form-control::placeholder {
  color: #8a96a6;
}

.form-control:focus {
  outline: 3px solid rgb(21 94 239 / 0.16);
  border-color: var(--brand);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-group--half {
  margin-bottom: 0;
}

.form-help-text,
.form-microcopy {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-help-text {
  margin: 8px 0 18px;
}

.form-actions .btn-primary {
  width: 100%;
}

.form-microcopy {
  margin-top: 12px;
  text-align: center;
}

.contact-info {
  padding: 24px;
}

.contact-info__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.contact-info__item h3,
.contact-card h3 {
  color: var(--ink-strong);
  font-size: 1rem;
}

.contact-info__item p,
.contact-card address {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-card {
  margin-top: 22px;
  padding: 18px;
  background: var(--page);
}

.contact-card a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
}

.cta-section {
  padding: 72px 24px;
  background: var(--ink-strong);
  color: var(--white);
  text-align: center;
}

.cta-section__container {
  max-width: var(--content-narrow);
}

.cta-section__title {
  color: var(--white);
}

.cta-section__subtitle {
  color: rgb(255 255 255 / 0.75);
  margin-bottom: 28px;
}

.marketing-footer {
  padding: 52px 24px 38px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.marketing-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.marketing-footer__heading {
  margin-bottom: 12px;
  color: var(--ink-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.marketing-footer__text,
.marketing-footer__links,
.marketing-footer__address,
.marketing-footer__copyright {
  color: var(--muted);
  font-size: 0.92rem;
}

.marketing-footer__links {
  display: grid;
  gap: 7px;
}

.marketing-footer__links a {
  color: var(--muted-strong);
}

.marketing-footer__bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.marketing-alert {
  max-width: var(--content-max);
  margin: 16px auto;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
}

.marketing-alert--success {
  background: #e8f6ef;
  color: var(--green);
  border: 1px solid #acd8c7;
}

.marketing-alert--error {
  background: #fdebea;
  color: var(--red);
  border: 1px solid #f0b5ae;
}

.mobile-cta-bar {
  display: none;
}

@media (min-width: 680px) {
  .hero__title {
    font-size: 2.95rem;
  }

  .section-heading h2,
  .cta-section__title {
    font-size: 2.45rem;
  }

  .page-hero__title,
  .contact-hero h1 {
    font-size: 3.1rem;
  }

  .insight-grid,
  .role-grid,
  .dispatch-team-grid,
  .risk-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .loop-step {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .loop-step:last-child {
    border-right: 0;
  }

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

  .feature-panel--large,
  .feature-panel--dark {
    grid-column: span 2;
  }

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

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

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .stat-strip,
  .marketing-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .hero {
    padding-top: 60px;
    padding-bottom: 42px;
  }

  .hero__container {
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  }

  .hero__title {
    font-size: 3.55rem;
  }

  .section-heading--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  }

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

  .feature-panel--large {
    grid-column: span 2;
  }

  .feature-panel--dark {
    grid-column: span 1;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    align-items: start;
  }

  .app-surface-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .app-surface-card {
    grid-column: span 3;
  }

  .app-surface-card:first-child,
  .app-surface-card--dark {
    grid-column: span 6;
  }

  .marketing-footer__grid {
    grid-template-columns: 1.3fr 0.8fr 1fr 0.8fr;
  }
}

@media (max-width: 679px) {
  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .dispatch-preview__grid {
    grid-template-columns: 1fr;
  }

  .preview-panel--queue {
    grid-row: auto;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    gap: 10px;
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 22px rgb(15 23 42 / 0.12);
  }

  .mobile-cta-bar__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 800;
  }

  .mobile-cta-bar__btn--call {
    color: var(--ink);
    background: var(--page);
    border: 1px solid var(--line);
  }

  .mobile-cta-bar__btn--demo {
    color: var(--white);
    background: var(--brand);
  }

  .marketing-body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
