:root {
  --container: 1160px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 10px 26px rgba(16, 36, 72, 0.08);
  --shadow-md: 0 20px 48px rgba(16, 36, 72, 0.12);
  --shadow-lg: 0 30px 70px rgba(16, 36, 72, 0.16);
  --border-soft: 1px solid rgba(14, 43, 84, 0.12);
  --border-strong: 1px solid rgba(14, 43, 84, 0.2);
  --text-strong: #0d2342;
  --text-body: #324d70;
  --text-muted: #5b7497;
  --surface: #ffffff;
  --surface-muted: #f4f8fc;
  --brand: #0b66d1;
  --brand-ink: #0b3265;
  --accent: #13a275;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text-body);
  line-height: 1.58;
  background:
    radial-gradient(
      700px circle at 12% 8%,
      rgba(97, 183, 255, 0.14),
      transparent 60%
    ),
    radial-gradient(
      640px circle at 92% 28%,
      rgba(87, 229, 178, 0.12),
      transparent 58%
    ),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 45%, #f7fbff 100%);
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(19, 162, 117, 0.35);
  outline-offset: 2px;
  border-radius: 8px;
}

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

h1,
h2,
h3 {
  color: var(--text-strong);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.65rem, 2.9vw, 2.5rem);
  max-width: 20ch;
}

h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.77rem;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 254, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-soft);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
}

.wordmark img {
  display: block;
  width: 150px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.top-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  border-radius: 999px;
  font-weight: 700;
  border: var(--border-soft);
  padding: 0.72rem 1.2rem;
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    background-color 190ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(130deg, #084ea6, #0f62c9);
  border-color: transparent;
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--brand-ink);
}

.hero {
  padding: var(--space-16) 0 var(--space-12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: var(--space-4);
  max-width: 15ch;
}

.lead {
  margin: 0 0 var(--space-6);
  font-size: 1.06rem;
  max-width: 54ch;
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.trust-note {
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 0.93rem;
}

.proof-note {
  margin-top: 0.35rem;
  color: #3d5f8d;
  font-size: 0.88rem;
}

.hero-visual {
  min-height: 440px;
  position: relative;
}

.halo {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -20px;
  top: -22px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(78, 199, 255, 0.42),
    rgba(19, 162, 117, 0.2) 62%,
    transparent 72%
  );
  filter: blur(12px);
}

.ui-window {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ui-window-bar {
  padding: var(--space-4);
  border-bottom: var(--border-soft);
  display: flex;
  gap: var(--space-2);
}

.ui-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfdef4;
}

.ui-shell {
  height: calc(100% - 49px);
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
}

.ui-nav {
  background: #f5f9ff;
  border-right: var(--border-soft);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.ui-nav-item {
  padding: 0.52rem 0.72rem;
  border-radius: 999px;
  background: #eaf1fd;
  color: #48658e;
  font-size: 0.78rem;
}

.ui-nav-item.active {
  background: #d7e6ff;
  color: #163f7b;
  font-weight: 700;
}

.ui-main {
  padding: var(--space-6);
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.ui-row {
  border: var(--border-soft);
  border-radius: var(--radius-md);
  background: #fff;
  padding: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.ui-row p {
  font-size: 0.86rem;
  color: var(--text-body);
}

.ui-row strong {
  font-size: 0.82rem;
  color: var(--brand-ink);
}

.ui-row.muted {
  min-height: 64px;
  background: linear-gradient(90deg, #edf4ff, #f7fbff);
}

.ui-overlay {
  position: absolute;
  right: -16px;
  bottom: 22px;
  max-width: 230px;
  background: #fff;
  border-radius: var(--radius-md);
  border: var(--border-soft);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
}

.overlay-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--brand);
  font-weight: 700;
}

.overlay-main {
  margin: var(--space-2) 0;
  font-size: 0.95rem;
  color: var(--text-strong);
  font-weight: 700;
}

.overlay-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.trust-band {
  padding: var(--space-8) 0;
  border-top: var(--border-soft);
  border-bottom: var(--border-soft);
  background: rgba(255, 255, 255, 0.66);
}

.trust-title {
  text-align: center;
  margin-bottom: var(--space-5);
  color: var(--text-body);
}

.logo-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.logo-pills span {
  border-radius: 999px;
  border: var(--border-soft);
  padding: 0.5rem 0.88rem;
  background: #fff;
  font-size: 0.82rem;
  color: #4b6388;
}

.features,
.how,
.faq,
.final-cta {
  padding: var(--space-16) 0;
}

.section-head {
  margin-bottom: var(--space-10);
}

.feature {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: var(--space-10);
  align-items: center;
  margin-bottom: var(--space-16);
}

.feature-right .feature-copy {
  order: 2;
}

.feature-right .feature-visual {
  order: 1;
}

.feature-copy p {
  margin: var(--space-4) 0;
}

.feature-copy ul {
  margin: 0;
  padding-left: 1.12rem;
}

.feature-copy li {
  margin-bottom: 0.42rem;
}

.feature-visual {
  min-height: 252px;
  background: #fff;
  border: var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

.cards-visual {
  display: grid;
  gap: var(--space-3);
  background: linear-gradient(180deg, #fbfdff, #f4f8ff);
}

.how {
  border-top: var(--border-soft);
  border-bottom: var(--border-soft);
  background: rgba(255, 255, 255, 0.6);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.step {
  padding: var(--space-6);
  border: var(--border-soft);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dbebff;
  color: #153f79;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  margin-bottom: var(--space-4);
}

.step p {
  margin-top: var(--space-3);
}

.final-cta-inner {
  border-radius: var(--radius-xl);
  border: var(--border-strong);
  box-shadow: var(--shadow-md);
  background: linear-gradient(140deg, #ffffff, #ecf5ff);
  padding: var(--space-10);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
}

.final-cta-inner p {
  margin-top: var(--space-3);
}

.site-footer {
  border-top: var(--border-soft);
  padding: var(--space-8) 0;
  background: rgba(252, 254, 255, 0.75);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-5);
}
.site-footer p {
  color: var(--text-body);
  font-size: 0.9rem;
}
.site-footer address {
  margin: 0;
  font-style: normal;
  color: var(--text-body);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: right;
}
.site-footer address strong {
  color: var(--text-strong);
  font-weight: 700;
}
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .feature-right .feature-copy,
  .feature-right .feature-visual {
    order: initial;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }

  .ui-overlay {
    right: 10px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .header-row {
    gap: var(--space-3);
  }

  .wordmark img {
    width: 122px;
  }

  .hero {
    padding-top: var(--space-10);
  }

  .top-nav {
    gap: var(--space-3);
  }

  .top-nav .btn-secondary {
    display: none;
  }

  .top-nav .btn-primary {
    padding: 0.58rem 0.88rem;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .features,
  .how,
  .faq,
  .final-cta {
    padding: var(--space-12) 0;
  }

  .final-cta-inner {
    padding: var(--space-8);
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer address {
    text-align: left;
  }
}

@media (max-width: 359px) {
  .top-nav .btn-primary {
    display: none;
  }
}

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

  .reveal,
  .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

.top-nav .btn-primary {
  color: #fff;
}
.top-nav .btn-secondary {
  color: var(--brand-ink);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.panel-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-strong);
}

.panel-chip {
  border-radius: 999px;
  border: 1px solid rgba(64, 120, 196, 0.28);
  background: #edf4ff;
  color: #2a568e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  white-space: nowrap;
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border: 1px solid rgba(64, 120, 196, 0.2);
  border-radius: 12px;
  padding: 0.55rem 0.72rem;
  background: linear-gradient(180deg, #ffffff 0%, #f0f6ff 100%);
}

.field-label {
  font-size: 0.75rem;
  color: #547095;
}

.field-value {
  font-size: 0.78rem;
  color: #173b6f;
  font-weight: 700;
}

.wide-row {
  min-height: 42px;
  justify-content: flex-start;
}

.panel-footer-bar {
  margin-top: var(--space-1);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9ddff 0%, #e4efff 55%, #c9f0e1 100%);
}

.comms-visual {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.chat-row {
  border: 1px solid rgba(64, 120, 196, 0.2);
  border-radius: 12px;
  padding: 0.55rem 0.72rem;
  max-width: 92%;
}

.chat-row.from-forwarder {
  background: #fff;
}

.chat-row.from-shipper {
  margin-left: auto;
  background: linear-gradient(180deg, #eef5ff 0%, #e8f1ff 100%);
  border-color: rgba(38, 102, 181, 0.32);
}

.chat-text {
  margin: 0;
  font-size: 0.76rem;
  color: #2c4f7e;
  line-height: 1.36;
}

.chat-time {
  margin: 0.26rem 0 0;
  font-size: 0.68rem;
  color: #7890ad;
}

.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border: 1px solid rgba(64, 120, 196, 0.24);
  border-radius: 12px;
  padding: 0.54rem 0.7rem;
  background: linear-gradient(90deg, #edf5ff 0%, #f7fbff 100%);
}

.doc-name {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1f4a80;
}

.doc-meta {
  margin: 0.14rem 0 0;
  font-size: 0.68rem;
  color: #6e88aa;
}

.doc-tag {
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.3rem;
  display: block;
  background: #dceaff;
  border: 1px solid rgba(64, 120, 196, 0.3);
  border-radius: 10px;
}

.comms-note {
  border-radius: 11px;
  border: 1px solid rgba(64, 120, 196, 0.22);
  background: linear-gradient(90deg, #ecf4ff 0%, #e9f8f2 100%);
  padding: 0.5rem 0.64rem;
}

.comms-note p {
  margin: 0;
  font-size: 0.73rem;
  color: #3f5f88;
  line-height: 1.35;
  font-weight: 700;
}
/* FAQ redesign */
.faq {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(245, 250, 255, 0.7) 100%
  );
}

.faq .section-head h2 {
  max-width: 24ch;
}

.faq-list {
  display: grid;
  gap: var(--space-3);
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(14, 43, 84, 0.14);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(16, 36, 72, 0.06);
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.faq-item:hover {
  transform: translateY(-1px);
  border-color: rgba(64, 120, 196, 0.3);
  box-shadow: 0 14px 26px rgba(16, 36, 72, 0.09);
}

.faq-item + .faq-item {
  border-top: 0;
}

.faq-trigger {
  position: relative;
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1rem;
  color: var(--text-strong);
  font: inherit;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-trigger::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(64, 120, 196, 0.35);
  background: #eef4ff;
  color: #2d5f9c;
  display: inline-grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.faq-trigger[aria-expanded="true"] {
  background: linear-gradient(180deg, #f7fbff 0%, #f3f8ff 100%);
}

.faq-trigger[aria-expanded="true"]::after {
  content: "-";
  background: #dfeeff;
  color: #174a87;
}

.faq-panel {
  padding: 0.2rem 1rem 1rem;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.faq-panel p {
  margin: 0;
  color: #4f6b8d;
  font-size: 0.9rem;
  line-height: 1.62;
  max-width: 72ch;
}

@media (max-width: 760px) {
  .faq-trigger {
    padding: 0.95rem 2.7rem 0.95rem 0.9rem;
    font-size: 0.94rem;
  }

  .faq-panel {
    padding: 0.1rem 0.9rem 0.9rem;
  }
}

/* Hero shipment visual aids */
.ui-shipment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.ui-shipment-meta span {
  font-size: 0.68rem;
  font-weight: 700;
  color: #2f5f97;
  border: 1px solid rgba(64, 120, 196, 0.26);
  background: #edf4ff;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.ui-route-badge {
  position: absolute;
  left: 18px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(64, 120, 196, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  padding: 0.36rem 0.58rem;
}

.route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2680e8;
}

.route-dot.end {
  background: #17b07d;
}

.route-line {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #9bbfeb;
}

.ui-route-badge p {
  margin: 0 0 0 0.2rem;
  font-size: 0.7rem;
  color: #4a678d;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .ui-route-badge {
    left: 14px;
    bottom: 10px;
  }
}
/* Verified forwarder profile visual */
.verified-visual {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.profile-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-3);
  border: 1px solid rgba(64, 120, 196, 0.22);
  border-radius: 12px;
  padding: 0.6rem 0.72rem;
  background: #fff;
}

.profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, #2a7fe4, #58a6ff);
  color: var(--text-strong);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.profile-name {
  margin: 0;
  font-size: 0.78rem;
  color: #163f73;
  font-weight: 700;
}

.profile-sub {
  margin: 0.14rem 0 0;
  font-size: 0.7rem;
  color: #6a86ab;
}

.profile-score {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1f578f;
  border: 1px solid rgba(64, 120, 196, 0.26);
  background: #edf4ff;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.verify-badge {
  font-size: 0.66rem;
  font-weight: 700;
  color: #0f6b4f;
  border: 1px solid rgba(16, 153, 108, 0.28);
  background: #e8f8f2;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

.check-list {
  display: grid;
  gap: 0.42rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  border: 1px solid rgba(64, 120, 196, 0.2);
  border-radius: 10px;
  background: #fff;
  padding: 0.5rem 0.62rem;
}

.check-item span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #18b07d;
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.check-item p {
  margin: 0;
  font-size: 0.72rem;
  color: #4f6c91;
  line-height: 1.34;
}
/* Trust visualization for verified-forwarder section */
.trust-visual {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.trust-stack {
  display: grid;
  gap: 0.45rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
  border: 1px solid rgba(64, 120, 196, 0.2);
  border-radius: 11px;
  background: #fff;
  padding: 0.54rem 0.68rem;
}

.trust-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1ab582;
  box-shadow: 0 0 0 3px rgba(26, 181, 130, 0.16);
  margin-top: 0.22rem;
  flex: 0 0 auto;
}

.trust-item p {
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.34;
  color: #4b6a91;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.trust-badges span {
  font-size: 0.66rem;
  font-weight: 700;
  color: #2f5f97;
  border: 1px solid rgba(64, 120, 196, 0.24);
  background: #edf4ff;
  border-radius: 999px;
  padding: 0.17rem 0.5rem;
}

.trust-visual-note {
  border: 1px solid rgba(64, 120, 196, 0.22);
  border-radius: 11px;
  background: linear-gradient(90deg, #ecf4ff 0%, #e9f8f2 100%);
  padding: 0.5rem 0.64rem;
}

.trust-visual-note p {
  margin: 0;
  font-size: 0.73rem;
  color: #3f5f88;
  line-height: 1.35;
  font-weight: 700;
}
