:root {
  --bg: #f7fafe;
  --surface: #ffffff;
  --surface-soft: #f2f7fd;
  --text: #25384d;
  --heading: #18497a;
  --muted: #65768a;
  --line: #dbe4ef;
  --blue: #1e88e5;
  --blue-deep: #0f4f88;
  --green: #35ac39;
  --orange: #ff6a13;
  --purple: #7b20b7;
  --red: #d64045;
  --haulage: #43586f;
  --shadow: 0 20px 55px rgba(24, 73, 122, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(30, 136, 229, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

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

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

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

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
}

.nav-shell,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

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

.systems-logo {
  width: 100%;
  object-fit: contain;
}

.systems-logo-header {
  width: 250px;
}

.systems-logo-footer {
  width: 240px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--surface-soft);
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  margin-left: 0.45rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  box-shadow: 0 14px 30px rgba(24, 73, 122, 0.14);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  color: #ffffff;
  background: linear-gradient(135deg, #0d4ecc 0%, #1e88e5 100%);
}

.hero,
.page-hero {
  padding: 5.4rem 0 2.4rem;
}

.hero-grid,
.form-layout,
.split-callout {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 1.75rem;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy,
.page-hero p,
.section-heading p,
.info-card p,
.module-card p,
.detail-card p,
.pricing-card p,
.split-callout p,
.site-footer p,
.small-note,
.metric-card span {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow,
.panel-label,
.plan-name,
.tag,
.module-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow,
.panel-label,
.plan-name {
  background: rgba(30, 136, 229, 0.1);
  color: var(--blue-deep);
}

.tag,
.module-chip {
  background: rgba(24, 73, 122, 0.08);
  color: var(--heading);
}

.tag.waste,
.module-chip.waste {
  background: rgba(53, 172, 57, 0.12);
  color: #238628;
}

.tag.policy,
.module-chip.policy {
  background: rgba(30, 136, 229, 0.12);
  color: #126bb8;
}

.tag.hire,
.module-chip.hire {
  background: rgba(255, 106, 19, 0.13);
  color: #d85a11;
}

.tag.quote,
.module-chip.quote {
  background: rgba(123, 32, 183, 0.12);
  color: #6d1ba1;
}

.tag.invoice,
.module-chip.invoice {
  background: rgba(214, 64, 69, 0.12);
  color: #b73136;
}

.tag.haulage,
.module-chip.haulage {
  background: rgba(67, 88, 111, 0.13);
  color: #43586f;
}

.button-row,
.centered-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button-row {
  margin-top: 1.35rem;
}

.centered-action {
  justify-content: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  box-shadow: var(--shadow);
}

.button-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--line);
}

.module-button {
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.module-button.module-button-waste {
  background: linear-gradient(135deg, #238628 0%, var(--green) 100%);
}

.module-button.module-button-policy {
  background: linear-gradient(135deg, #126bb8 0%, var(--blue) 100%);
}

.module-button.module-button-hire {
  background: linear-gradient(135deg, #d85a11 0%, var(--orange) 100%);
}

.module-button.module-button-quote {
  background: linear-gradient(135deg, #6d1ba1 0%, var(--purple) 100%);
}

.module-button.module-button-haulage {
  background: linear-gradient(135deg, #43586f 0%, #5d748f 100%);
}

.module-button.module-button-invoice {
  background: linear-gradient(135deg, #b73136 0%, var(--red) 100%);
}

.hero-panel,
.info-card,
.module-card,
.detail-card,
.pricing-card,
.form-card,
.metric-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(219, 228, 239, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel,
.info-card,
.module-card,
.detail-card,
.pricing-card,
.form-card,
.metric-card {
  padding: 1.65rem;
}

.hero-panel {
  padding: 2rem;
}

.hero-panel .systems-logo {
  max-width: 360px;
  margin-bottom: 1.25rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.8;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.compatibility-box {
  display: grid;
  gap: 1.5rem;
  padding: 1.85rem 2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(219, 228, 239, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.compatibility-box-inline {
  margin: 0 0 1.35rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.compatibility-box-inline .compatibility-copy {
  max-width: none;
}

.compatibility-box-inline .compatibility-copy h2 {
  font-size: 1.45rem;
}

.compatibility-box-inline .compatibility-copy p:last-child {
  margin-bottom: 0;
}

.compatibility-copy {
  max-width: 720px;
}

.compatibility-copy h2 {
  margin: 0 0 0.65rem;
  color: var(--heading);
  letter-spacing: -0.04em;
}

.compatibility-copy p:last-child {
  margin-bottom: 0;
}

.compatibility-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.compat-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 92px;
  padding: 1rem 1.1rem;
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafe 100%);
}

.compat-xero .xero-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #12b5ea;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.compat-sage span {
  color: #00dc64;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.compat-quickbooks .qb-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2ca01c;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-transform: lowercase;
}

.compat-quickbooks .qb-word {
  color: #2ca01c;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.compat-freeagent .fa-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #00a5e3;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
}

.compat-freeagent .fa-word {
  color: #2a4666;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.metric-card {
  border-radius: var(--radius-md);
}

.metric-card strong,
.info-card h3,
.module-card h3,
.detail-card h2,
.pricing-card h2,
.form-card h2,
.split-callout h2,
.section-heading h2,
.hero-panel h2 {
  display: block;
  margin: 0 0 0.65rem;
  color: var(--heading);
  letter-spacing: -0.04em;
}

.section {
  padding: 2.8rem 0 4rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(242, 247, 253, 0.3), rgba(242, 247, 253, 0.88));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.card-grid,
.pricing-grid {
  display: grid;
  gap: 1.4rem;
}

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

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.module-grid,
.module-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
  align-items: stretch;
}

.module-grid > *,
.module-detail-grid > * {
  flex: 1 1 300px;
  max-width: 350px;
}

.module-card,
.detail-card,
.pricing-card,
.info-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card .feature-list {
  margin-bottom: 0;
}

.module-card .button,
.detail-card .button,
.pricing-card .button {
  margin-top: auto;
  width: 100%;
}

.pricing-card h2 {
  min-height: 3.25rem;
}

.pricing-card .plan-copy {
  min-height: 5.5rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  max-width: 1020px;
  margin: 0 auto;
}

.pricing-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #edf5fd 100%);
  transform: translateY(-8px);
}

.price-note {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-summary {
  margin-top: 1.5rem;
}

.pricing-summary-shell {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 1.5rem;
  align-items: center;
}

.pricing-summary-card h3 {
  margin-top: 0;
}

.pricing-summary-actions {
  justify-items: stretch;
}

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

.policy-card {
  border-top: 4px solid var(--blue);
}

.hire-card {
  border-top: 4px solid var(--orange);
}

.quote-card {
  border-top: 4px solid var(--purple);
}

.invoice-card {
  border-top: 4px solid var(--red);
}

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

.module-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 1.15rem;
}

.module-detail-grid #policytrail .module-logo {
  margin-bottom: 0.95rem;
  transform: translateY(-4px);
}

.split-callout {
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  align-items: center;
  padding: 2.15rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stacked-actions {
  display: grid;
  gap: 1rem;
}

.centered-actions {
  justify-items: center;
  align-content: center;
}

.callout-list {
  margin: 0.75rem 0 1rem;
}

.form-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.form-layout-landscape {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  max-width: 1080px;
  margin: 0 auto;
  gap: 1.4rem;
}

.form-stack-landscape {
  display: grid;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
}

.form-card-main {
  padding: 1.85rem;
  display: grid;
  gap: 0.9rem;
}

.form-intro-copy {
  margin: -0.1rem 0 0.7rem;
}

.lead-form {
  display: grid;
  gap: 0.8rem;
}

.lead-form-landscape {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1rem;
}

.field-group {
  display: grid;
  gap: 0.42rem;
  align-content: start;
}

.field-span-2 {
  grid-column: 1 / -1;
}

.form-submit-row {
  padding-top: 0.45rem;
}

.form-submit-row .button {
  min-width: 220px;
}

.booking-callout {
  margin-bottom: 1.5rem;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.booking-callout .button-row {
  margin-top: 1rem;
}

.booking-callout .small-note {
  margin-top: 0.85rem;
}

.calendly-panel {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.calendly-embed-wrapper {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(24, 73, 122, 0.08);
}

.calendly-panel .small-note {
  margin: 0;
}

.lead-form label {
  font-weight: 600;
  color: var(--heading);
}

.module-checkbox-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.module-checkbox-group legend {
  margin-bottom: 0.65rem;
  font-weight: 600;
  color: var(--heading);
}

.module-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.module-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font-weight: 600;
}

.module-checkbox input {
  width: 18px !important;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  accent-color: var(--blue);
}

@media (max-width: 900px) {
  .module-checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
  background: #ffffff;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(30, 136, 229, 0.18);
  border-color: var(--blue);
}

.sidebar-card {
  position: sticky;
  top: 6rem;
}

.contact-side-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-height: 100%;
}

.contact-support-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  padding: 1.5rem 1.85rem;
  gap: 1.1rem 1.4rem;
}

.contact-support-card > h3 {
  grid-column: 1 / -1;
  margin: 0;
}

.contact-support-card .contact-side-block {
  padding-top: 0;
  padding-left: 1.4rem;
  border-top: 0;
  border-left: 1px solid var(--line);
}

.contact-support-card > .small-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.contact-side-card h3 {
  margin: 0;
}

.contact-side-block {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(219, 228, 239, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 250, 254, 0.96));
}

.site-footer .footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
  gap: 2rem;
}

.footer-brand .systems-logo {
  margin-bottom: 0.8rem;
}

.footer-brand {
  max-width: 620px;
}

.footer-brand p {
  margin: 0;
}

.footer-brand p + p {
  margin-top: 1.2rem;
}

.footer-module-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem 1.2rem;
  margin-top: 1rem;
  align-items: center;
}

.footer-module-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.2rem 0.35rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-module-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-module-link img {
  width: auto;
  max-width: 100%;
  max-height: 24px;
  object-fit: contain;
}

.footer-meta {
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 0.85rem 1.5rem;
  align-content: start;
  justify-items: start;
  color: var(--muted);
}

.footer-links a {
  font-weight: 500;
}

.footer-call-row {
  margin: 0.2rem 0 0.65rem;
  color: var(--heading);
  font-weight: 600;
}

.footer-call-row a {
  color: var(--blue-deep);
}

.legal-copy {
  display: grid;
  gap: 1rem;
  max-width: 860px;
}

.legal-copy h2 {
  margin: 1rem 0 0.35rem;
  color: var(--heading);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 1.75rem;
  align-items: start;
}

.product-copy h3 {
  margin: 1.5rem 0 0.75rem;
  color: var(--heading);
}

.compact-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.compact-benefits .feature-list {
  margin-bottom: 0;
}

.product-note {
  margin-top: 1.25rem;
  font-weight: 600;
}

.product-visual {
  position: sticky;
  top: 6rem;
}

.mockup-row,
.mockup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: #2e985a;
  color: #ffffff;
  font-weight: 700;
}

.status-pill.secondary {
  background: rgba(46, 152, 90, 0.12);
  color: #237848;
}

.wtn-mockup {
  overflow: hidden;
  border: 1px solid rgba(22, 55, 98, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, #eef3fa 0%, #dde9f8 100%);
  box-shadow: 0 28px 70px rgba(24, 73, 122, 0.12);
}

.wtn-preview-frame {
  max-width: 760px;
  margin-left: auto;
}

.wtn-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  color: #ffffff;
  background: linear-gradient(180deg, #30486f 0%, #3d5b8c 100%);
}

.wtn-topbar img {
  width: 120px;
}

.wtn-topnav {
  display: flex;
  gap: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.wtn-topnav .active {
  color: #ffffff;
}

.wtn-canvas {
  padding: 1rem;
}

.wtn-card {
  padding: 1rem;
  border: 1px solid #d7e1ed;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(24, 73, 122, 0.06);
}

.wtn-header-row,
.wtn-title-row,
.wtn-brand-row,
.wtn-audit-row,
.wtn-bottom-brand,
.wtn-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wtn-logo-box {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: #f3f6fb;
  border: 1px solid #e2e8f2;
}

.wtn-logo-box img,
.wtn-brand-row img,
.wtn-bottom-brand img {
  width: min(100%, 190px);
}

.wtn-status-group,
.wtn-date-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wtn-title-row {
  padding: 1rem 0;
  margin-top: 0.9rem;
  border-top: 1px solid #e7edf5;
  border-bottom: 1px solid #e7edf5;
}

.wtn-title-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.7rem;
  color: #1d3151;
  letter-spacing: -0.04em;
}

.wtn-title-row p,
.wtn-subline,
.wtn-audit-row,
.wtn-complete-copy {
  margin: 0;
  color: #607792;
}

.wtn-subline {
  margin: 0.9rem 0 1rem;
  font-size: 0.95rem;
}

.wtn-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid #d8e1ee;
  border-radius: 14px 14px 0 0;
  background: #f5f8fc;
}

.wtn-tabs span {
  padding: 0.75rem 0.85rem;
  text-align: center;
  font-weight: 600;
  color: #607792;
}

.wtn-tabs .active {
  background: rgba(53, 172, 57, 0.16);
  color: #237848;
}

.wtn-panel {
  border: 1px solid #d8e1ee;
  border-top: 0;
  background: #ffffff;
}

.wtn-brand-row {
  padding: 1rem;
}

.compliance-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.95rem;
  border: 1px solid #d9e8dc;
  border-radius: 10px;
  color: #237848;
  background: #fbfefb;
  font-weight: 600;
}

.wtn-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #e7edf5;
}

.wtn-col {
  padding: 1rem;
}

.wtn-col + .wtn-col {
  border-left: 1px solid #e7edf5;
}

.wtn-col h4 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  color: #1d3151;
}

.wtn-col p {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}

.wtn-data-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid #e7edf5;
  border-bottom: 1px solid #e7edf5;
  color: #5f7694;
  font-size: 0.94rem;
}

.wtn-section-label {
  display: inline-flex;
  margin: 0 0 0 1.25rem;
  padding: 0.55rem 0.9rem;
  background: #364f80;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wtn-two-col.detailed {
  border-top: 0;
}

.wtn-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid #e7edf5;
  font-size: 0.94rem;
}

.wtn-line.plain {
  color: #1d3151;
}

.table-signature {
  color: #17253c;
  font-size: 1.75rem;
  line-height: 1;
  font-family: "Brush Script MT", "Segoe Script", cursive;
}

.wtn-proof-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid #e7edf5;
}

.wtn-proof-row p {
  margin: 0;
  font-size: 0.92rem;
}

.qr-box {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border: 1px solid #d2d9e5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.qr-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.88) 30%, transparent 30%) 0 0 / 8px 8px,
    linear-gradient(rgba(17, 17, 17, 0.88) 30%, transparent 30%) 0 0 / 8px 8px;
  opacity: 0.65;
}

.qr-finder {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 4px solid #111;
  background: #fff;
  z-index: 1;
}

.qr-finder::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #111;
}

.qr-finder-one {
  top: 6px;
  left: 6px;
}

.qr-finder-two {
  top: 6px;
  right: 6px;
}

.qr-finder-three {
  bottom: 6px;
  left: 6px;
}

.scan-button {
  padding: 0.6rem 0.9rem;
  border: 1px solid #d2d9e5;
  border-radius: 10px;
  background: #f7f9fc;
  color: #4f6380;
  font: inherit;
  font-size: 0.92rem;
}

.wtn-audit-row {
  padding: 0.8rem 1rem;
  border-top: 1px solid #e7edf5;
  font-size: 0.94rem;
}

.wtn-bottom-brand {
  padding: 0.9rem 1rem;
  border-top: 1px solid #e7edf5;
  background: #f5f8fc;
}

.wtn-complete-copy {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 1.02rem;
  color: #304867;
}

.wtn-actions {
  justify-content: center;
  margin-top: 1rem;
}

.generated-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(53, 172, 57, 0.14);
  color: #237848;
  font-weight: 700;
  font-size: 0.92rem;
}

.mockup-row p,
.mockup-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .form-layout,
  .product-layout,
  .split-callout,
  .pricing-grid,
  .three-up {
    grid-template-columns: 1fr;
  }

  .pricing-summary-card {
    grid-template-columns: 1fr;
  }

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

  .site-footer .footer-shell {
    grid-template-columns: 1fr;
  }

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

  .pricing-card.featured {
    transform: none;
  }

  .sidebar-card {
    position: static;
  }

  .product-visual {
    position: static;
  }

  .wtn-header-row,
  .wtn-title-row,
  .wtn-brand-row,
  .wtn-date-status,
  .wtn-data-strip,
  .wtn-proof-row,
  .wtn-audit-row,
  .wtn-bottom-brand,
  .wtn-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .wtn-two-col {
    grid-template-columns: 1fr;
  }

  .wtn-col + .wtn-col {
    border-left: 0;
    border-top: 1px solid #e7edf5;
  }
}

@media (max-width: 640px) {
  .module-checkbox-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .module-checkbox {
    min-height: 46px;
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .module-checkbox-group legend {
    margin-bottom: 0.55rem;
  }

  .hero,
  .page-hero {
    padding-top: 4.5rem;
  }

  .compatibility-box {
    padding: 1.25rem;
  }

  .compatibility-logos {
    grid-template-columns: 1fr;
  }

  .compat-logo {
    justify-content: flex-start;
  }

  .pricing-summary-card {
    gap: 1rem;
  }

  .footer-module-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-shell,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .footer-shell {
    display: grid;
    gap: 1.5rem;
  }

  .systems-logo-header,
  .systems-logo-footer {
    width: 214px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .module-grid > *,
  .module-detail-grid > * {
    max-width: none;
  }

  .module-logo {
    max-width: 250px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .wtn-topbar,
  .mockup-row,
  .mockup-footer,
  .wtn-header-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .wtn-canvas {
    padding: 0.75rem;
  }

  .wtn-card {
    margin: 0;
    padding: 0.85rem;
  }

  .wtn-title-row h3 {
    font-size: 1.45rem;
  }

  .wtn-tabs {
    grid-template-columns: 1fr;
  }

  .button,
  .site-nav a {
    width: 100%;
  }

  .site-nav {
    width: 100%;
  }

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

.official-product-layout {
  align-items: start;
  gap: 2rem;
}

.official-copy-card {
  gap: 1.25rem;
}

.compact-benefits-tight {
  gap: 1.2rem;
}

.official-actions {
  margin-top: 0.6rem;
}

.official-visual {
  position: sticky;
  top: 7rem;
}

.official-document-shell {
  padding: 1.15rem;
  border: 1px solid #d7e3f0;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(53, 172, 57, 0.06), transparent 34%),
    linear-gradient(180deg, #f9fbfe 0%, #edf3fa 100%);
  box-shadow: 0 28px 60px rgba(27, 54, 93, 0.12);
}

.official-document-sheet {
  background: #fff;
  border: 1px solid #d2dce8;
  border-radius: 18px;
  padding: 1.35rem;
  color: #1f2f44;
  box-shadow: 0 16px 30px rgba(36, 60, 93, 0.08);
}

.official-document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dfe6ef;
}

.official-head-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.official-head-brand img {
  width: 152px;
  max-width: 100%;
  height: auto;
}

.official-head-brand strong,
.official-head-brand span {
  display: block;
}

.official-head-brand strong {
  font-size: 0.96rem;
}

.official-head-brand span,
.official-document-title p,
.official-key,
.official-document-foot span {
  color: #61738c;
}

.official-head-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.official-head-status span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(53, 172, 57, 0.12);
  color: #237848;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.official-document-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.9rem;
}

.official-document-title h3 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.05;
}

.official-document-title p {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
}

.official-table-block,
.official-party-block {
  margin-top: 0.85rem;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  overflow: hidden;
}

.official-table-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #435676;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.official-table-bar span {
  padding: 0.7rem 0.85rem;
}

.official-table-bar span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.official-table-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.official-table-item {
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem 0.85rem;
  min-height: 72px;
  border-top: 1px solid #e4eaf2;
}

.official-table-item:nth-child(even) {
  border-left: 1px solid #e4eaf2;
}

.official-key {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.official-val {
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.35;
}

.official-party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.official-party-card {
  padding: 0.95rem 0.95rem 1rem;
}

.official-party-card + .official-party-card {
  border-left: 1px solid #e4eaf2;
}

.official-party-card h4 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.official-party-card p {
  margin: 0;
  line-height: 1.45;
}

.official-party-meta {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e4eaf2;
  font-size: 0.92rem;
}

.official-affirmation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.95rem;
  padding: 0.95rem 0 0;
  border-top: 1px solid #dfe6ef;
}

.official-affirmation p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.official-qr {
  position: relative;
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  border: 1px solid #cfd8e5;
  background:
    linear-gradient(90deg, rgba(53, 66, 86, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(53, 66, 86, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 8px 8px;
  overflow: hidden;
}

.official-qr-finder,
.official-qr-module {
  position: absolute;
  display: block;
}

.official-qr-module {
  background: #111;
}

.official-qr-finder {
  width: 22px;
  height: 22px;
  border: 4px solid #111;
  background: #fff;
}

.official-qr-finder::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #111;
}

.official-qr-finder-a {
  top: 7px;
  left: 7px;
}

.official-qr-finder-b {
  top: 7px;
  right: 7px;
}

.official-qr-finder-c {
  bottom: 7px;
  left: 7px;
}

.official-qr-m1 {
  top: 41px;
  left: 55px;
  width: 7px;
  height: 7px;
}

.official-qr-m2 {
  top: 41px;
  left: 63px;
  width: 15px;
  height: 7px;
}

.official-qr-m3 {
  top: 49px;
  left: 47px;
  width: 7px;
  height: 7px;
}

.official-qr-m4 {
  top: 49px;
  left: 63px;
  width: 7px;
  height: 7px;
}

.official-qr-m5 {
  top: 57px;
  left: 55px;
  width: 15px;
  height: 7px;
}

.official-qr-m6 {
  top: 57px;
  left: 79px;
  width: 7px;
  height: 7px;
}

.official-qr-m7 {
  top: 65px;
  left: 47px;
  width: 7px;
  height: 7px;
}

.official-qr-m8 {
  top: 65px;
  left: 71px;
  width: 7px;
  height: 7px;
}

.official-qr-m9 {
  top: 73px;
  left: 55px;
  width: 7px;
  height: 7px;
}

.official-qr-m10 {
  top: 73px;
  left: 63px;
  width: 7px;
  height: 7px;
}

.official-qr-m11 {
  top: 73px;
  left: 79px;
  width: 7px;
  height: 7px;
}

.official-qr-m12 {
  top: 81px;
  left: 47px;
  width: 15px;
  height: 7px;
}

.official-qr-m13 {
  top: 81px;
  left: 71px;
  width: 7px;
  height: 7px;
}

.official-qr-m14 {
  top: 89px;
  left: 63px;
  width: 15px;
  height: 7px;
}

.official-document-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid #dfe6ef;
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .official-visual {
    position: static;
  }

  .official-document-head,
  .official-document-title,
  .official-affirmation,
  .official-document-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .official-document-shell {
    padding: 0.75rem;
    border-radius: 20px;
  }

  .official-document-sheet {
    padding: 1rem;
  }

  .official-head-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .official-table-bar,
  .official-table-grid,
  .official-party-grid {
    grid-template-columns: 1fr;
  }

  .official-table-bar span + span,
  .official-table-item:nth-child(even),
  .official-party-card + .official-party-card {
    border-left: 0;
  }

  .official-table-bar span + span,
  .official-party-card + .official-party-card {
    border-top: 1px solid #e4eaf2;
  }

  .official-document-title h3 {
    font-size: 1.55rem;
  }
}

.policy-product-layout {
  align-items: start;
}

.policy-copy-card {
  gap: 1.2rem;
}

.policy-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.25rem;
}

.policy-summary-card {
  padding: 1rem 1.05rem;
  border: 1px solid #d8e6f5;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fe 100%);
}

.policy-summary-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--heading);
}

.policy-summary-card p {
  margin: 0;
}

.policy-visual {
  top: 6.5rem;
}

.policy-ui-shell {
  overflow: hidden;
  border: 1px solid rgba(38, 70, 118, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, #edf3fb 0%, #dfe9f8 100%);
  box-shadow: 0 28px 70px rgba(24, 73, 122, 0.12);
}

.policy-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.2rem 0.5rem;
  background: linear-gradient(180deg, #31486f 0%, #415d8e 100%);
}

.policy-app-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.policy-search-pill {
  width: 160px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-app-mark img {
  width: 124px;
  height: auto;
}

.policy-app-icons {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.policy-app-icons span {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.8);
}

.policy-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3d3b1 0%, #f6e7d9 100%);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.policy-ui-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.35rem 1.2rem 0.9rem;
  background: linear-gradient(180deg, #31486f 0%, #415d8e 100%);
  color: #fff;
}

.policy-ui-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.policy-ui-nav span {
  padding-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
}

.policy-ui-nav .active {
  color: #fff;
  border-bottom: 3px solid #2d8ce7;
}

.policy-demo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #278c59 0%, #3ba66f 100%);
  color: #fff;
  font-weight: 700;
}

.policy-ui-body {
  padding: 1.4rem;
}

.policy-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.policy-greeting-copy {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #20324a;
}

.policy-greeting-copy strong {
  font-weight: 800;
}

.policy-greeting span {
  color: #5e718a;
}

.policy-greeting-hero {
  margin-bottom: 1.15rem;
}

.policy-top-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.policy-bell-chip {
  width: 42px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #d8e2ef;
  background: linear-gradient(180deg, #f6f9fd 0%, #eef4fb 100%);
}

.policy-compliance-ring {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 8px solid rgba(53, 172, 57, 0.16);
  border-right-color: #38a26b;
  border-top-color: #38a26b;
  background: #fff;
  text-align: center;
  box-shadow: inset 0 0 0 1px #d8e3ef;
}

.policy-compliance-ring strong {
  display: block;
  font-size: 2rem;
  color: #20324a;
  line-height: 1;
}

.policy-compliance-ring span {
  max-width: 72px;
  font-size: 0.72rem;
  line-height: 1.25;
}

.policy-dashboard-board {
  padding: 1.1rem;
  border: 1px solid #d8e3f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.policy-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.policy-stat-grid-board {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 132px;
  align-items: stretch;
}

.policy-stat-card,
.policy-panel,
.policy-training-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7e3f2;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(39, 68, 112, 0.08);
}

.policy-stat-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
}

.policy-stat-card strong {
  font-size: 1.45rem;
  line-height: 1.1;
  color: #22364f;
}

.policy-stat-card p {
  margin: 0;
  color: #627690;
}

.policy-stat-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.policy-stat-dot.signed {
  background: #39a56e;
}

.policy-stat-dot.pending {
  background: #e2aa34;
}

.policy-stat-dot.alert {
  background: #cc5262;
}

.policy-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 1rem;
}

.policy-column-left,
.policy-column-right {
  display: grid;
  gap: 1rem;
}

.policy-panel {
  padding: 1rem 1.1rem;
}

.policy-panel-wide {
  min-width: 0;
}

.policy-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e1e9f3;
}

.policy-panel-head h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #22364f;
}

.policy-panel-head span {
  color: #6a7f99;
  font-size: 0.88rem;
  font-weight: 600;
}

.policy-list {
  display: grid;
}

.policy-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #edf2f8;
}

.policy-list-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-list-row strong,
.policy-alert-stack strong,
.policy-mini-list strong,
.policy-training-card strong {
  display: block;
  color: #22364f;
  font-size: 0.96rem;
}

.policy-list-row span,
.policy-alert-stack p,
.policy-mini-list span,
.policy-training-card span {
  color: #667b94;
}

.policy-list-row em {
  color: #7487a0;
  font-style: normal;
  white-space: nowrap;
}

.policy-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.policy-status.urgent {
  background: rgba(212, 75, 94, 0.14);
  color: #b6384d;
}

.policy-status.overdue {
  background: rgba(232, 177, 63, 0.18);
  color: #996b10;
}

.policy-status.due {
  background: rgba(244, 197, 116, 0.22);
  color: #8a6312;
}

.policy-status.warning {
  background: rgba(110, 174, 163, 0.22);
  color: #2f6c63;
}

.policy-status.ontime {
  background: rgba(94, 179, 153, 0.18);
  color: #277062;
}

.policy-alert-stack,
.policy-mini-list {
  display: grid;
  gap: 0.9rem;
}

.policy-alert-stack article,
.policy-mini-list div {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #edf2f8;
}

.policy-alert-stack article:last-child,
.policy-mini-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-alert-stack p,
.policy-mini-list span,
.policy-training-card span {
  margin: 0.2rem 0 0;
}

.policy-training-panel {
  padding: 1rem 1.1rem;
}

.policy-training-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.policy-training-card {
  display: grid;
  gap: 0.55rem;
}

.policy-training-image {
  min-height: 132px;
  border-radius: 16px;
  border: 1px solid #d8e3ef;
  background-size: cover;
  background-position: center;
}

.policy-training-image.safety {
  background:
    linear-gradient(135deg, rgba(18, 107, 184, 0.16), rgba(56, 150, 225, 0.08)),
    linear-gradient(120deg, #e9eef5 15%, #f6d54c 15%, #f6d54c 35%, #39485c 35%, #39485c 56%, #f6f8fb 56%, #f6f8fb 100%);
}

.policy-training-image.fire {
  background:
    radial-gradient(circle at 58% 46%, rgba(255, 255, 255, 0.45) 0 12%, transparent 13%),
    linear-gradient(135deg, rgba(224, 80, 68, 0.18), rgba(242, 165, 68, 0.08)),
    linear-gradient(115deg, #e7edf4 0%, #f8a23d 32%, #d65145 58%, #edf2f7 58%, #edf2f7 100%);
}

.policy-training-card.text-only {
  padding: 1rem;
  border: 1px solid #d7e3f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fe 100%);
}

.policy-panel-links .policy-mini-list {
  gap: 0.8rem;
}

@media (max-width: 960px) {
  .policy-summary-grid,
  .policy-stat-grid,
  .policy-dashboard-grid,
  .policy-training-grid {
    grid-template-columns: 1fr;
  }

  .policy-app-top,
  .policy-ui-topbar,
  .policy-greeting,
  .policy-panel-head,
  .policy-list-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .policy-app-top,
  .policy-ui-topbar {
    justify-items: start;
    align-items: flex-start;
  }

  .policy-ui-nav {
    justify-content: flex-start;
  }

  .policy-stat-grid-board {
    grid-template-columns: 1fr;
  }

  .policy-list-row em {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .policy-ui-body,
  .policy-panel,
  .policy-training-panel {
    padding: 0.9rem;
  }

  .policy-ui-topbar {
    padding: 0.9rem;
  }

  .policy-greeting-copy {
    font-size: 1.3rem;
  }

  .policy-compliance-ring {
    width: 98px;
    height: 98px;
  }

  .policy-stat-card strong {
    font-size: 1.25rem;
  }
}

.policy-intro-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.85rem;
  gap: 1.2rem;
}

.policy-page-combined {
  align-items: stretch;
}

.policy-intro-lead {
  max-width: 760px;
}

.policy-intro-benefits {
  width: 100%;
  margin-top: 0.1rem;
}

.policy-screen-section {
  padding-top: 0.35rem;
}

.policy-screen-shell {
  width: 100%;
  margin: 0.2rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(38, 70, 118, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, #edf3fb 0%, #dfe9f8 100%);
  box-shadow: 0 28px 70px rgba(24, 73, 122, 0.12);
}

.policy-screen-actions-row {
  justify-content: center;
  margin-top: 1.35rem;
}

.policy-screen-top {
  background: linear-gradient(180deg, #31486f 0%, #415d8e 100%);
}

.policy-screen-toprow {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 1.1rem;
  padding: 0.75rem 1.25rem 0.5rem;
}

.policy-screen-search {
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-screen-brand {
  width: 126px;
  height: auto;
}

.policy-screen-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.policy-screen-icons span {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.82);
}

.policy-screen-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3d3b1 0%, #f6e7d9 100%);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.policy-screen-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 1.8rem;
  padding: 0.35rem 1.25rem 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
}

.policy-screen-nav .active {
  color: #fff;
  border-bottom: 3px solid #2d8ce7;
  padding-bottom: 0.45rem;
}

.policy-screen-body {
  padding: 1.25rem;
}

.policy-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.policy-screen-header h2 {
  margin: 0;
  color: #20324a;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.policy-screen-header h2 strong {
  font-weight: 800;
}

.policy-screen-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.policy-screen-square {
  width: 42px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #d8e2ef;
  background: linear-gradient(180deg, #f6f9fd 0%, #eef4fb 100%);
}

.policy-screen-card {
  padding: 1rem;
  border: 1px solid #d8e3f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.93);
}

.policy-screen-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 132px;
  gap: 0.9rem;
  align-items: stretch;
  margin-bottom: 0.9rem;
}

.policy-stat-box,
.policy-screen-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7e3f2;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(39, 68, 112, 0.08);
}

.policy-stat-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  min-height: 118px;
}

.policy-stat-box strong {
  display: block;
  color: #22364f;
  font-size: 1.42rem;
  line-height: 1.1;
}

.policy-stat-box span {
  color: #627690;
}

.policy-screen-ring {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  justify-self: center;
  border-radius: 50%;
  border: 8px solid rgba(53, 172, 57, 0.16);
  border-right-color: #38a26b;
  border-top-color: #38a26b;
  background: #fff;
  box-shadow: inset 0 0 0 1px #d8e3ef;
}

.policy-screen-ring strong {
  color: #20324a;
  font-size: 2rem;
  line-height: 1;
}

.policy-screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(280px, 0.78fr);
  gap: 0.95rem;
}

.policy-screen-main,
.policy-screen-side {
  display: grid;
  gap: 0.95rem;
}

.policy-screen-panel {
  padding: 0.95rem 1rem;
}

.policy-screen-panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e1e9f3;
}

.policy-screen-panelhead h3 {
  margin: 0;
  color: #22364f;
  font-size: 0.98rem;
}

.policy-screen-panelhead span {
  color: #6a7f99;
  font-size: 0.88rem;
  font-weight: 600;
}

.policy-screen-list,
.policy-screen-sideitems {
  display: grid;
}

.policy-screen-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid #edf2f8;
}

.policy-screen-row:last-child,
.policy-screen-sideitems article:last-child {
  border-bottom: 0;
}

.policy-screen-row strong,
.policy-screen-sideitems strong,
.policy-screen-trainingcard strong {
  display: block;
  color: #22364f;
  font-size: 0.96rem;
}

.policy-screen-row span,
.policy-screen-sideitems span {
  color: #667b94;
}

.policy-screen-row em {
  color: #7487a0;
  font-style: normal;
  white-space: nowrap;
}

.policy-screen-sideitems article {
  display: grid;
  gap: 0.25rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid #edf2f8;
}

.policy-screen-training {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.policy-screen-trainingcard {
  display: grid;
  gap: 0.55rem;
}

.policy-screen-trainingcard .policy-training-image {
  min-height: 118px;
}

@media (max-width: 960px) {
  .policy-intro-benefits,
  .policy-screen-toprow,
  .policy-screen-header,
  .policy-screen-panelhead,
  .policy-screen-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .policy-screen-toprow {
    justify-items: start;
  }

  .policy-screen-nav {
    justify-content: flex-start;
  }

  .policy-screen-stats,
  .policy-screen-grid,
  .policy-screen-training {
    grid-template-columns: 1fr;
  }

  .policy-screen-actions-row {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .policy-screen-actions-row .button {
    width: 100%;
  }

  .policy-screen-row em {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .policy-intro-card {
    padding: 1.2rem;
  }

  .policy-screen-body,
  .policy-screen-card,
  .policy-screen-panel {
    padding: 0.9rem;
  }

  .policy-screen-toprow,
  .policy-screen-nav {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .policy-screen-header h2 {
    font-size: 1.3rem;
  }

  .policy-screen-shell {
    border-radius: 22px;
  }

  .policy-screen-ring {
    width: 98px;
    height: 98px;
  }

  .policy-stat-box strong {
    font-size: 1.22rem;
  }
}

.hire-screen-nav .active {
  border-bottom-color: #f4a43b;
}

.hire-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.hire-stat-box {
  min-height: 108px;
}

.hire-stat-box.available {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.hire-stat-box.onhire {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.98), rgba(255, 244, 233, 0.98));
}

.hire-stat-box.dueback {
  background: linear-gradient(180deg, rgba(242, 248, 255, 0.98), rgba(237, 245, 255, 0.98));
}

.hire-stat-box.workshop {
  background: linear-gradient(180deg, rgba(255, 246, 246, 0.98), rgba(255, 239, 239, 0.98));
}

.hire-stat-box.ready {
  background: linear-gradient(180deg, rgba(244, 253, 247, 0.98), rgba(239, 251, 244, 0.98));
}

.hire-screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 0.95rem;
}

.hire-row strong,
.hire-booking-row strong {
  font-size: 0.95rem;
}

.dueback-chip {
  background: rgba(111, 157, 233, 0.18);
  color: #3465b7;
}

.ready-chip {
  background: rgba(93, 186, 131, 0.18);
  color: #347a54;
}

.workshop-chip {
  background: rgba(244, 164, 59, 0.18);
  color: #b46713;
}

.hire-activity-notes {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #edf2f8;
}

.hire-activity-notes p {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
}

.hire-activity-notes span {
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: #6f9de9;
  flex: 0 0 auto;
}

.hire-activity-notes p:nth-child(2) span {
  background: #f4a43b;
}

.hire-activity-notes p:nth-child(3) span,
.hire-activity-notes p:nth-child(4) span {
  background: #79b98a;
}

.hire-booking-board {
  display: grid;
  gap: 0.65rem;
}

.hire-booking-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  text-align: center;
  color: #647991;
}

.hire-booking-days .active {
  color: #22364f;
  font-weight: 700;
}

.hire-booking-row {
  display: grid;
  gap: 0.45rem;
}

.hire-bar {
  height: 38px;
  border-radius: 8px;
}

.hire-bar.orange {
  background: linear-gradient(90deg, rgba(247, 183, 97, 0.26), rgba(255, 227, 193, 0.5));
}

.hire-bar.blue {
  background: linear-gradient(90deg, rgba(154, 192, 245, 0.28), rgba(189, 214, 249, 0.52));
}

.hire-bar.mixed {
  background: linear-gradient(90deg, rgba(194, 211, 235, 0.4) 0 72%, rgba(243, 196, 196, 0.38) 72% 100%);
}

.hire-bar.sand {
  background: linear-gradient(90deg, rgba(231, 215, 175, 0.42) 0 58%, rgba(247, 224, 171, 0.32) 58% 100%);
}

@media (max-width: 960px) {
  .hire-stat-grid,
  .hire-screen-grid {
    grid-template-columns: 1fr;
  }
}

.quote-screen-shell {
  background: linear-gradient(180deg, #f2eefb 0%, #e8e2f5 100%);
}

.invoice-screen-shell {
  background: linear-gradient(180deg, #fbefef 0%, #f8e1e1 100%);
}

.invoice-screen-head {
  border-bottom: 1px solid #ecd0d0;
  background: rgba(255, 255, 255, 0.76);
}

.invoice-side-nav {
  border-right: 1px solid #ecd6d6;
}

.invoice-screen-shell .quote-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(180px, 1.25fr);
}

.invoice-screen-shell .quote-stat-card {
  min-height: 116px;
}

.invoice-screen-shell .quote-stat-value {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.invoice-screen-shell .quote-stat-value strong {
  font-size: 1.15em;
  line-height: 1.05;
}

.quote-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid #dcd2ee;
  background: rgba(255, 255, 255, 0.7);
}

.quote-screen-head h3 {
  margin: 0;
  color: #2e2451;
  font-size: 2rem;
}

.quote-screen-head p {
  margin: 0.25rem 0 0;
  color: #685d86;
}

.quote-screen-head-icons {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.quote-screen-head-icons span {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #7a6b98;
}

.quote-screen-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.quote-side-nav {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.2rem 1rem;
  border-right: 1px solid #ddd4ee;
  background: rgba(255, 255, 255, 0.56);
}

.quote-side-nav a,
.quote-side-group span {
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
}

.quote-side-nav a {
  color: #3b315a;
  font-weight: 600;
}

.quote-side-nav a.active {
  background: rgba(123, 32, 183, 0.12);
  color: #5d2393;
}

.quote-side-group {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ddd4ee;
}

.quote-side-group span {
  color: #776a96;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quote-side-group .active-sub {
  background: rgba(123, 32, 183, 0.12);
  color: #5d2393;
}

.quote-main {
  padding: 1.1rem;
}

.quote-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.95rem;
}

.quote-stat-card {
  min-height: 108px;
}

.quote-stat-value strong {
  color: #6b35b5;
}

.quote-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.82fr);
  gap: 0.95rem;
}

.quote-opportunity-list {
  display: grid;
}

.quote-opportunity-list article {
  display: grid;
  gap: 0.38rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #ebe4f5;
}

.quote-opportunity-list article:last-child {
  border-bottom: 0;
}

.quote-opportunity-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.quote-opportunity-top strong {
  display: block;
  color: #2e2451;
  font-size: 0.98rem;
}

.quote-opportunity-top span,
.quote-opportunity-list p {
  margin: 0.2rem 0 0;
  color: #6f648d;
}

.quote-opportunity-top b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  background: rgba(123, 32, 183, 0.12);
  color: #6d1ba1;
}

.quote-status-win {
  background: rgba(83, 176, 114, 0.18) !important;
  color: #357a4f !important;
}

.quote-status-awaiting {
  background: rgba(233, 196, 132, 0.22) !important;
  color: #8b6213 !important;
}

.quote-status-accepted {
  background: rgba(118, 202, 147, 0.2) !important;
  color: #2d7a4c !important;
}

.quote-status-pending {
  background: rgba(160, 132, 224, 0.18) !important;
  color: #6942a8 !important;
}

.quote-credit-box {
  display: grid;
  gap: 0.7rem;
}

.quote-credit-box strong {
  color: #2e2451;
}

.quote-credit-box p {
  margin: 0;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #ebe4f5;
  color: #6f648d;
}

.quote-credit-box p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (max-width: 960px) {
  .quote-screen-layout,
  .quote-stat-grid,
  .quote-content-grid {
    grid-template-columns: 1fr;
  }

  .quote-side-nav {
    border-right: 0;
    border-bottom: 1px solid #ddd4ee;
  }
}

@media (max-width: 640px) {
  .quote-screen-head,
  .quote-main {
    padding: 0.9rem;
  }

  .quote-screen-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-screen-head h3 {
    font-size: 1.55rem;
  }
}

.haulage-screen-shell {
  background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 100%);
}

.haulage-screen-head {
  border-bottom: 1px solid #d7e0ea;
  background: rgba(255, 255, 255, 0.82);
}

.haulage-screen-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem 0.85rem;
}

.haulage-screen-brand {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.haulage-screen-icons {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.haulage-screen-icons span {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #61748c;
}

.haulage-screen-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.8rem;
  padding: 0 1.3rem 0.95rem;
  color: #334861;
  font-weight: 600;
}

.haulage-screen-nav .active {
  color: #0f5aa5;
  border-bottom: 3px solid #0f5aa5;
  padding-bottom: 0.45rem;
}

.haulage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.haulage-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid #d6e0ea;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #334861;
  font-weight: 600;
}

.haulage-toolbar-actions {
  display: flex;
  gap: 0.7rem;
}

.haulage-board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.haulage-column {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid #d4dde7;
  background: rgba(255, 255, 255, 0.62);
}

.haulage-column header {
  margin: -0.75rem -0.75rem 0;
  padding: 0.75rem 0.9rem;
  color: #ffffff;
  font-weight: 700;
  border-radius: 14px 14px 0 0;
}

.haulage-column.planned header {
  background: #0f5aa5;
}

.haulage-column.allocated header {
  background: #389a3d;
}

.haulage-column.inprogress header {
  background: #e67e14;
}

.haulage-column.completed header {
  background: #4a5e75;
}

.haulage-job-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid #d8e1eb;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(39, 68, 112, 0.08);
}

.haulage-job-card strong {
  color: #24364d;
  font-size: 0.98rem;
}

.haulage-job-card p,
.haulage-job-card span {
  margin: 0;
  color: #5f7189;
}

.haulage-job-card.invoice-ready {
  border-color: #cfe0d6;
}

@media (max-width: 960px) {
  .haulage-toolbar,
  .haulage-toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .haulage-board-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-support-card {
    grid-template-columns: 1fr;
  }

  .contact-support-card .contact-side-block {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
  }
}

@media (max-width: 640px) {
  .haulage-screen-brandrow,
  .haulage-screen-nav {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .haulage-screen-brandrow,
  .haulage-screen-nav,
  .haulage-toolbar-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .haulage-board-grid {
    grid-template-columns: 1fr;
  }

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

  .field-span-2 {
    grid-column: auto;
  }
}

.trail-chatbot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: grid;
  justify-items: end;
  gap: 0.7rem;
}

.trail-chatbot-agent-cta {
  display: grid;
  gap: 0.12rem;
  min-width: 238px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(219, 228, 239, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(24, 73, 122, 0.14);
  text-align: left;
}

.trail-chatbot-agent-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.trail-chatbot-agent-cta strong {
  color: var(--heading);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.trail-chatbot-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 58px;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f4f88 0%, #1e88e5 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(24, 73, 122, 0.24);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.trail-chatbot-bubble-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.trail-chatbot-window {
  width: min(420px, calc(100vw - 24px));
  max-height: min(760px, calc(100vh - 92px));
  margin-bottom: 0.9rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(219, 228, 239, 0.95);
  border-radius: 24px;
  box-shadow: 0 26px 56px rgba(24, 73, 122, 0.2);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.trail-chatbot-window[hidden] {
  display: none !important;
}

.trail-chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border-bottom: 1px solid #dbe4ef;
  position: sticky;
  top: 0;
  z-index: 1;
}

.trail-chatbot-header h2 {
  margin: 0.15rem 0 0;
  color: var(--heading);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.trail-chatbot-kicker {
  margin: 0;
  color: #667b94;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trail-chatbot-header-actions {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
}

.trail-chatbot-human,
.trail-chatbot-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}

.trail-chatbot-close {
  width: 34px;
  padding: 0;
  cursor: pointer;
}

.trail-chatbot-body {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  min-height: 0;
  overflow: auto;
}

.trail-chatbot-messages {
  display: grid;
  gap: 0.75rem;
  max-height: 320px;
  overflow-y: auto;
}

.trail-chatbot-message {
  max-width: 92%;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  line-height: 1.55;
  box-shadow: 0 10px 18px rgba(24, 73, 122, 0.06);
}

.trail-chatbot-message p {
  margin: 0;
}

.trail-chatbot-message p + p {
  margin-top: 0.5rem;
}

.trail-chatbot-message.assistant {
  justify-self: start;
  background: #f5f9ff;
  border: 1px solid #d9e7f6;
}

.trail-chatbot-message.user {
  justify-self: end;
  background: linear-gradient(135deg, #0f4f88 0%, #1e88e5 100%);
  color: #ffffff;
}

.trail-chatbot-message a {
  color: inherit;
  text-decoration: underline;
}

.trail-chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trail-chatbot-chip {
  padding: 0.6rem 0.8rem;
  border: 1px solid #d7e2ef;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.trail-chatbot-footer {
  display: grid;
  gap: 0.8rem;
  padding: 0 1.2rem 1.2rem;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #dbe4ef;
}

.trail-chatbot-label {
  display: none;
}

.trail-chatbot-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.trail-chatbot-input-row input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
}

.trail-chatbot-send {
  min-width: 84px;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f4f88 0%, #1e88e5 100%);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.trail-chatbot-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.trail-chatbot-footer-links a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .trail-chatbot-window {
    width: min(390px, calc(100vw - 24px));
  }
}

@media (max-width: 640px) {
  .trail-chatbot {
    right: 12px;
    left: auto;
    bottom: 12px;
  }

  .trail-chatbot-agent-cta {
    display: none;
  }

  .trail-chatbot-bubble {
    margin-left: auto;
    min-height: 52px;
    padding: 0.75rem 1rem;
    gap: 0.55rem;
  }

  .trail-chatbot-window {
    width: min(350px, calc(100vw - 16px));
    max-height: min(72vh, calc(100vh - 84px));
    margin-bottom: 0.7rem;
  }

  .trail-chatbot-header,
  .trail-chatbot-input-row {
    grid-template-columns: 1fr;
  }

  .trail-chatbot-header {
    display: grid;
  }

  .trail-chatbot-header-actions {
    justify-items: start;
  }

  .trail-chatbot-messages {
    max-height: min(230px, 32vh);
  }

  .trail-chatbot-header,
  .trail-chatbot-body,
  .trail-chatbot-footer {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .trail-chatbot-human {
    display: none;
  }
}

.site-nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(219, 228, 239, 0.95);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(24, 73, 122, 0.08);
  cursor: pointer;
}

.site-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--heading);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.trail-chatbot-agent-cta {
  display: none;
}

@media (max-width: 900px) {
  .nav-shell {
    position: relative;
    flex-wrap: wrap;
  }

  .systems-logo-header {
    width: 210px;
  }

  .site-nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding: 0.85rem;
    border: 1px solid rgba(219, 228, 239, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 42px rgba(24, 73, 122, 0.12);
  }

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

  .site-nav a,
  .site-nav .nav-cta {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .site-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .site-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .site-header {
    backdrop-filter: none;
  }

  .nav-shell {
    flex-wrap: nowrap;
    align-items: center;
    padding: 0.7rem 0;
  }

  .brand-logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .systems-logo-header {
    width: 170px;
    max-width: 100%;
  }

  .site-nav-toggle {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin-left: 0.75rem;
    border-radius: 12px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    z-index: 30;
  }

  .page-hero,
  .hero {
    padding-top: 3.4rem;
  }
}

@media (max-width: 900px) {
  .official-document-shell,
  .policy-screen-shell,
  .quote-screen-shell,
  .haulage-screen-shell {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .official-document-sheet {
    min-width: 760px;
  }

  .policy-screen-top,
  .policy-screen-body {
    min-width: 920px;
  }

  .quote-screen-head,
  .quote-screen-layout {
    min-width: 980px;
  }

  .haulage-screen-head,
  .haulage-screen-body {
    min-width: 1040px;
  }
}

@media (max-width: 900px) {
  .policy-intro-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-screen-toprow {
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    align-items: center;
    justify-items: stretch;
  }

  .policy-screen-header,
  .policy-screen-panelhead {
    flex-direction: row;
    align-items: center;
  }

  .policy-screen-row {
    grid-template-columns: minmax(0, 1.2fr) auto auto;
    align-items: center;
  }

  .policy-screen-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 132px;
  }

  .policy-screen-grid {
    grid-template-columns: minmax(0, 1.52fr) minmax(280px, 0.78fr);
  }

  .policy-screen-training {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-screen-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .quote-stat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .invoice-screen-shell .quote-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(180px, 1.25fr);
  }

  .quote-content-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.82fr);
  }

  .haulage-toolbar,
  .haulage-toolbar-actions {
    flex-direction: row;
    align-items: center;
  }

  .haulage-board-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
