/* TruckTally public marketing homepage. Intentionally scoped away from the authenticated React app. */
html {
  overflow-x: clip;
}

.marketing-page {
  --marketing-brand: #147664;
  --marketing-brand-deep: #0c594c;
  --marketing-brand-dark: #083e36;
  --marketing-ink: #102821;
  --marketing-ink-soft: #29443c;
  --marketing-page: #f7f6f1;
  --marketing-surface: #ffffff;
  --marketing-surface-tinted: #edf4f0;
  --marketing-surface-warm: #f1f0e9;
  --marketing-muted: #5c6f68;
  --marketing-muted-light: #7a8983;
  --marketing-border: #d8e2dc;
  --marketing-border-strong: #c5d4cd;
  --marketing-warning: #b97926;
  --marketing-shadow-sm: 0 12px 28px rgba(20, 48, 39, 0.08);
  --marketing-shadow-md: 0 24px 70px rgba(17, 47, 38, 0.12);
  --marketing-shadow-lg: 0 38px 100px rgba(14, 47, 37, 0.18);
  --marketing-content: 1340px;
  --marketing-copy: 640px;
  --marketing-section-space: clamp(4.5rem, 8vw, 8rem);
  --marketing-radius-sm: 12px;
  --marketing-radius-md: 20px;
  --marketing-radius-lg: 30px;
  --marketing-transition: 180ms;
  --marketing-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Shared aliases keep the standalone legal pages and marketing base stylesheet compatible. */
  --ink: var(--marketing-ink);
  --muted: var(--marketing-muted);
  --soft: var(--marketing-surface-tinted);
  --wash: var(--marketing-page);
  --surface: var(--marketing-surface);
  --line: var(--marketing-border);
  --accent: var(--marketing-brand);
  --accent-dark: var(--marketing-brand-deep);
  --gold: var(--marketing-warning);
  --shadow: var(--marketing-shadow-sm);

  min-width: 320px;
  overflow-x: clip;
  color: var(--marketing-ink);
  background:
    radial-gradient(circle at 82% 7%, rgba(54, 144, 121, 0.12), transparent 34rem),
    radial-gradient(circle at 14% 14%, rgba(255, 255, 255, 0.95), transparent 34rem),
    linear-gradient(180deg, #f1f5f0 0, var(--marketing-page) 51rem, #ffffff 80rem);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.marketing-page a,
.marketing-page button {
  -webkit-tap-highlight-color: transparent;
}

.marketing-page a:focus-visible,
.marketing-page button:focus-visible {
  outline: 3px solid rgba(20, 118, 100, 0.35);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--marketing-brand-deep);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--marketing-transition) var(--marketing-ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Navigation */
.marketing-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: rgba(241, 245, 240, 0);
  transition:
    background var(--marketing-transition) ease,
    border-color var(--marketing-transition) ease,
    box-shadow var(--marketing-transition) ease,
    backdrop-filter var(--marketing-transition) ease;
}

.marketing-header.is-scrolled,
.marketing-header.menu-is-open {
  border-bottom-color: rgba(174, 195, 185, 0.72);
  background: rgba(249, 249, 245, 0.9);
  box-shadow: 0 10px 35px rgba(22, 55, 45, 0.07);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.marketing-header-inner {
  display: grid;
  width: min(calc(100% - 64px), var(--marketing-content));
  min-height: 82px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.5rem, 3.5vw, 4rem);
  margin: 0 auto;
}

.marketing-brand {
  gap: 11px;
  color: var(--marketing-ink);
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.marketing-brand-mark {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--marketing-brand-dark);
  box-shadow: 0 12px 28px rgba(8, 62, 54, 0.2);
}

.marketing-brand-mark svg {
  width: 26px;
  height: 26px;
}

.marketing-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.1vw, 2rem);
}

.marketing-nav a,
.marketing-login {
  position: relative;
  color: var(--marketing-ink-soft);
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
  transition: color var(--marketing-transition) ease;
}

.marketing-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--marketing-brand);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity var(--marketing-transition) ease,
    transform var(--marketing-transition) var(--marketing-ease);
}

.marketing-nav a:hover,
.marketing-login:hover {
  color: var(--marketing-brand-deep);
}

.marketing-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.marketing-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.marketing-nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--marketing-brand-deep);
  border-radius: 999px;
  color: #ffffff;
  background: var(--marketing-brand-deep);
  box-shadow: 0 12px 28px rgba(12, 89, 76, 0.18);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
  transition:
    background var(--marketing-transition) ease,
    border-color var(--marketing-transition) ease,
    box-shadow var(--marketing-transition) ease,
    transform var(--marketing-transition) var(--marketing-ease);
}

.marketing-nav-cta:hover {
  border-color: var(--marketing-brand-dark);
  color: #ffffff;
  background: var(--marketing-brand-dark);
  box-shadow: 0 16px 34px rgba(8, 62, 54, 0.24);
  transform: translateY(-2px);
}

.marketing-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--marketing-border);
  border-radius: 14px;
  color: var(--marketing-ink);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  transition:
    background var(--marketing-transition) ease,
    border-color var(--marketing-transition) ease;
}

.marketing-menu-toggle:hover {
  border-color: var(--marketing-border-strong);
  background: #ffffff;
}

.marketing-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--marketing-transition) var(--marketing-ease), opacity var(--marketing-transition) ease;
}

.marketing-menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.marketing-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.marketing-menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.marketing-mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--marketing-border);
  background: rgba(249, 249, 245, 0.97);
  box-shadow: 0 24px 44px rgba(19, 48, 39, 0.12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.marketing-mobile-menu[hidden] {
  display: none;
}

.marketing-mobile-menu-inner {
  display: grid;
  width: min(calc(100% - 40px), 720px);
  gap: 2px;
  margin: 0 auto;
  padding: 14px 0 22px;
}

.marketing-mobile-menu-inner > a,
.marketing-mobile-login {
  display: flex;
  min-height: 48px;
  align-items: center;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--marketing-ink-soft);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.marketing-mobile-menu-inner > a:hover,
.marketing-mobile-login:hover {
  color: var(--marketing-brand-deep);
  background: var(--marketing-surface-tinted);
}

.marketing-mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--marketing-border);
}

.marketing-mobile-login {
  justify-content: center;
  border: 1px solid var(--marketing-border);
  background: #ffffff;
}

/* Hero */
.marketing-main {
  width: min(calc(100% - 64px), var(--marketing-content));
  max-width: none;
  margin: 0 auto;
  padding: 0 0 84px;
}

.marketing-main::before {
  position: absolute;
  z-index: -1;
  top: 82px;
  right: 0;
  left: 0;
  height: min(76vw, 760px);
  background-image:
    linear-gradient(rgba(30, 92, 76, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 92, 76, 0.032) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), transparent 88%);
  pointer-events: none;
}

.marketing-page .hero-marketing {
  position: relative;
  display: grid;
  min-height: calc(100svh - 118px);
  align-items: center;
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
  gap: clamp(2rem, 4.2vw, 4.75rem);
  padding: clamp(3rem, 6vh, 5rem) 0 clamp(3rem, 5vh, 4rem);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.marketing-page .hero-copy {
  position: relative;
  z-index: 2;
  max-width: var(--marketing-copy);
}

.marketing-page .hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--marketing-brand-deep);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.marketing-page .hero-copy .eyebrow::before {
  width: 24px;
  height: 1px;
  background: var(--marketing-brand);
  content: "";
}

.marketing-page .hero h1 {
  max-width: 10.5ch;
  color: var(--marketing-ink);
  font-size: clamp(3.65rem, 5.35vw, 6rem);
  font-weight: 790;
  letter-spacing: -0.068em;
  line-height: 0.95;
  text-wrap: balance;
}

.marketing-page .hero-lede {
  max-width: 36rem;
  margin: 26px 0 0;
  color: var(--marketing-ink-soft);
  font-size: clamp(1.06rem, 1.42vw, 1.28rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 19px;
  font-size: 0.93rem;
  font-weight: 780;
  line-height: 1.1;
  text-decoration: none;
  transition:
    background var(--marketing-transition) ease,
    border-color var(--marketing-transition) ease,
    box-shadow var(--marketing-transition) ease,
    color var(--marketing-transition) ease,
    transform var(--marketing-transition) var(--marketing-ease);
}

.hero-cta-primary {
  border-color: var(--marketing-brand-deep);
  color: #ffffff;
  background: var(--marketing-brand-deep);
  box-shadow: 0 16px 34px rgba(12, 89, 76, 0.2);
}

.hero-cta-primary:hover {
  border-color: var(--marketing-brand-dark);
  color: #ffffff;
  background: var(--marketing-brand-dark);
  box-shadow: 0 20px 44px rgba(8, 62, 54, 0.26);
  transform: translateY(-3px);
}

.hero-cta-secondary {
  border-color: var(--marketing-border-strong);
  color: var(--marketing-ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(21, 53, 43, 0.05);
}

.hero-cta-secondary:hover {
  border-color: rgba(20, 118, 100, 0.42);
  color: var(--marketing-brand-deep);
  background: #ffffff;
  box-shadow: var(--marketing-shadow-sm);
  transform: translateY(-3px);
}

.hero-cta-arrow {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform var(--marketing-transition) var(--marketing-ease);
}

.hero-cta-primary:hover .hero-cta-arrow {
  transform: translateX(3px);
}

.hero-cta-secondary:hover .hero-cta-arrow {
  transform: translateY(3px);
}

.hero-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  align-items: center;
  margin: 18px 0 0;
  color: var(--marketing-muted);
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1.5;
}

.hero-trust-line span[aria-hidden="true"] {
  color: #9aa9a2;
}

.hero-store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}

.hero-store-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--marketing-muted);
  font-size: 0.78rem;
  font-weight: 720;
  text-decoration: none;
  transition:
    color var(--marketing-transition) ease,
    background var(--marketing-transition) ease;
}

.hero-store-links a:hover {
  color: var(--marketing-brand-deep);
  background: rgba(255, 255, 255, 0.78);
}

/* Product composition */
.product-showcase {
  --parallax-x: 0;
  --parallax-y: 0;
  position: relative;
  width: 100%;
  height: clamp(540px, 45vw, 680px);
  margin: 0;
  isolation: isolate;
  perspective: 1200px;
}

.product-showcase-glow {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: 0;
  bottom: 8%;
  left: 5%;
  border-radius: 48%;
  background:
    radial-gradient(circle at 60% 45%, rgba(62, 151, 128, 0.28), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(207, 228, 219, 0.22));
  filter: blur(8px);
  opacity: 0.9;
}

.product-layer {
  will-change: transform;
  transition:
    transform 480ms var(--marketing-ease),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.product-browser {
  position: absolute;
  z-index: 1;
  top: 7.5%;
  right: 1%;
  left: 0;
  height: 76%;
  overflow: hidden;
  border: 1px solid rgba(159, 184, 173, 0.8);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--marketing-shadow-lg);
  transform: translate3d(calc(var(--parallax-x) * 0.55px), calc(var(--parallax-y) * 0.55px), 0)
    rotateX(calc(var(--parallax-y) * -0.035deg)) rotateY(calc(var(--parallax-x) * 0.035deg));
  transform-origin: 60% 50%;
}

.product-showcase:hover .product-browser {
  border-color: rgba(119, 159, 142, 0.9);
  box-shadow: 0 42px 110px rgba(13, 51, 39, 0.21);
}

.product-browser-bar {
  display: grid;
  height: 46px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  border-bottom: 1px solid #e0e8e3;
  background: #f7f9f7;
  padding: 0 15px;
  color: #64746e;
  font-size: 0.64rem;
}

.product-browser-dots {
  display: flex;
  gap: 5px;
}

.product-browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c9d4cf;
}

.product-browser-dots span:first-child {
  background: #d7a778;
}

.product-browser-dots span:nth-child(2) {
  background: #d6c87a;
}

.product-browser-dots span:last-child {
  background: #75b59f;
}

.product-browser-title {
  display: inline-flex;
  min-width: 136px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #e0e8e3;
  border-radius: 999px;
  background: #ffffff;
  padding: 5px 12px;
  color: #365149;
  font-weight: 720;
}

.product-mini-mark {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #ffffff;
  background: var(--marketing-brand-dark);
  font-size: 0.43rem;
  font-weight: 850;
}

.product-browser-secure {
  justify-self: end;
  white-space: nowrap;
}

.product-app {
  display: grid;
  height: calc(100% - 46px);
  grid-template-columns: 21% 79%;
  background: #f4f7f5;
}

.product-sidebar {
  overflow: hidden;
  border-right: 1px solid #e1e8e4;
  background: #ffffff;
  padding: 17px 12px;
}

.product-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #15372e;
  font-size: 0.67rem;
}

.product-sidebar-brand > span {
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #ffffff;
  background: var(--marketing-brand-dark);
  font-size: 0.52rem;
  font-weight: 850;
}

.product-nav-group {
  display: grid;
  gap: 3px;
  margin-top: 18px;
}

.product-nav-label {
  margin: 0 7px 4px;
  color: #97a59f;
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-nav-item {
  display: flex;
  min-height: 27px;
  align-items: center;
  gap: 7px;
  border-radius: 7px;
  padding: 5px 7px;
  color: #718079;
  font-size: 0.56rem;
  font-weight: 680;
  white-space: nowrap;
}

.product-nav-item i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #c4d0ca;
}

.product-nav-item-active {
  color: #155747;
  background: #e8f2ed;
}

.product-nav-item-active i {
  background: var(--marketing-brand);
}

.product-workspace {
  min-width: 0;
  overflow: hidden;
  padding: clamp(16px, 2.2vw, 28px);
}

.product-workspace-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.product-workspace-heading > div {
  display: grid;
  gap: 3px;
}

.product-kicker {
  color: #70817a;
  font-size: 0.54rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-workspace-heading strong {
  color: #15372e;
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  letter-spacing: -0.025em;
}

.product-workspace-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cee2d8;
  border-radius: 999px;
  color: #20624f;
  background: #edf7f2;
  padding: 5px 8px;
  font-size: 0.52rem;
  font-weight: 720;
  white-space: nowrap;
}

.product-workspace-badge i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #36a07f;
  box-shadow: 0 0 0 3px rgba(54, 160, 127, 0.12);
}

.product-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.product-summary-card {
  min-width: 0;
  border: 1px solid #dde6e1;
  border-radius: 10px;
  background: #ffffff;
  padding: 11px;
  box-shadow: 0 6px 14px rgba(24, 60, 48, 0.035);
}

.product-summary-card > span,
.product-summary-card > strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-summary-card > span {
  color: #7c8a84;
  font-size: 0.49rem;
  font-weight: 740;
  text-transform: uppercase;
}

.product-summary-card > strong {
  margin-top: 6px;
  color: #29473e;
  font-size: 0.62rem;
}

.product-summary-card-accent {
  border-color: #cde2d8;
  background: #eef7f2;
}

.product-progress {
  height: 3px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eeeb;
}

.product-progress i {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--marketing-brand), #5ca891);
}

.product-records-panel {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid #dce5e0;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(24, 60, 48, 0.04);
}

.product-panel-heading {
  display: flex;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e7ece9;
  padding: 10px 12px;
}

.product-panel-heading > div {
  display: grid;
  gap: 2px;
}

.product-panel-heading strong {
  color: #28453c;
  font-size: 0.64rem;
}

.product-panel-heading div span {
  color: #8b9893;
  font-size: 0.48rem;
}

.product-panel-heading > span {
  color: var(--marketing-brand-deep);
  font-size: 0.51rem;
  font-weight: 740;
}

.product-record-row {
  display: grid;
  min-height: 51px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  padding: 8px 12px;
  border-bottom: 1px solid #edf1ef;
}

.product-record-row:last-child {
  border-bottom: 0;
}

.product-record-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #386252;
  background: #e8f2ed;
  font-size: 0.55rem;
  font-weight: 820;
}

.product-record-icon-expense {
  color: #675d38;
  background: #f4f0df;
}

.product-record-icon-ifta {
  color: #345f6b;
  background: #e6f1f3;
}

.product-record-row > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.product-record-row > div strong,
.product-record-row > div span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-record-row > div strong {
  color: #315047;
  font-size: 0.58rem;
}

.product-record-row > div span {
  color: #8a9691;
  font-size: 0.48rem;
}

.product-status {
  min-width: 48px;
  border-radius: 999px;
  color: #6c7b75;
  background: #f0f3f1;
  padding: 4px 6px;
  font-size: 0.46rem;
  font-weight: 740;
  text-align: center;
}

.product-status-complete {
  color: #23654f;
  background: #e9f5ef;
}

.product-phone {
  position: absolute;
  z-index: 4;
  right: -1%;
  bottom: 0;
  width: clamp(190px, 28%, 248px);
  min-height: 61%;
  overflow: hidden;
  border: 5px solid #173a31;
  border-radius: 30px;
  background: #f6f8f6;
  box-shadow: 0 30px 70px rgba(14, 42, 34, 0.25);
  padding: 20px 12px 14px;
  transform: translate3d(calc(var(--parallax-x) * 1.1px), calc(var(--parallax-y) * 1.1px), 0)
    rotateY(calc(var(--parallax-x) * 0.06deg));
}

.product-showcase:hover .product-phone {
  box-shadow: 0 36px 82px rgba(14, 42, 34, 0.3);
}

.product-phone-top {
  position: absolute;
  top: 5px;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
}

.product-phone-top span {
  width: 52px;
  height: 11px;
  border-radius: 999px;
  background: #173a31;
}

.product-phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 1px 15px;
}

.product-phone-logo {
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--marketing-brand-dark);
  font-size: 0.52rem;
  font-weight: 850;
}

.product-phone-header > div {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.product-phone-header span,
.product-phone-card span,
.product-phone-readiness span,
.product-phone-section-label {
  color: #80908a;
  font-size: 0.48rem;
}

.product-phone-header strong,
.product-phone-card strong,
.product-phone-readiness strong {
  color: #25453b;
  font-size: 0.59rem;
  white-space: nowrap;
}

.product-phone-card {
  display: grid;
  min-height: 49px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  margin-top: 7px;
  border: 1px solid #dde6e1;
  border-radius: 11px;
  background: #ffffff;
  padding: 9px;
  box-shadow: 0 6px 16px rgba(23, 55, 45, 0.04);
}

.product-phone-card-primary {
  min-height: 62px;
  border-color: #c8e0d5;
  color: #ffffff;
  background: linear-gradient(145deg, #0f6958, #0b5145);
  box-shadow: 0 14px 28px rgba(12, 89, 76, 0.2);
}

.product-phone-card-primary span,
.product-phone-card-primary strong {
  color: #ffffff;
}

.product-phone-card > div {
  display: grid;
  gap: 1px;
}

.product-phone-card-icon {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #386555 !important;
  background: #eaf3ef;
  font-size: 0.68rem !important;
}

.product-phone-card-primary .product-phone-card-icon {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15);
}

.product-phone-section-label {
  margin: 14px 2px 1px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-phone-readiness {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  border-radius: 10px;
  background: #eaf3ef;
  padding: 9px;
}

.product-phone-readiness span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-phone-readiness i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #2b9475;
}

.product-float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  min-width: 178px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(181, 203, 193, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(16, 48, 38, 0.16);
  padding: 10px 12px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.product-float-card-receipt {
  bottom: 10%;
  left: -2.5%;
  transform: translate3d(calc(var(--parallax-x) * 1.2px), calc(var(--parallax-y) * 1.2px), 0);
}

.product-float-card-report {
  z-index: 3;
  top: 0;
  right: 18%;
  transform: translate3d(calc(var(--parallax-x) * 0.85px), calc(var(--parallax-y) * 0.85px), 0);
}

.product-float-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #ffffff;
  background: var(--marketing-brand);
  font-size: 0.7rem;
  font-weight: 840;
  box-shadow: 0 7px 15px rgba(20, 118, 100, 0.2);
}

.product-float-icon-report {
  color: #6d5b2f;
  background: #f1e8c8;
  box-shadow: none;
}

.product-float-card > div {
  display: grid;
  gap: 2px;
}

.product-float-card span:not(.product-float-icon) {
  color: #81908a;
  font-size: 0.51rem;
}

.product-float-card strong {
  color: #29493f;
  font-size: 0.61rem;
}

/* Short, one-time entrance sequence. Content remains visible without JavaScript. */
.marketing-page .hero-copy > *,
.marketing-page .product-showcase {
  animation: marketing-reveal 640ms var(--marketing-ease) both;
}

.marketing-page .hero-copy > :nth-child(1) { animation-delay: 40ms; }
.marketing-page .hero-copy > :nth-child(2) { animation-delay: 90ms; }
.marketing-page .hero-copy > :nth-child(3) { animation-delay: 150ms; }
.marketing-page .hero-copy > :nth-child(4) { animation-delay: 210ms; }
.marketing-page .hero-copy > :nth-child(5) { animation-delay: 260ms; }
.marketing-page .hero-copy > :nth-child(6) { animation-delay: 300ms; }
.marketing-page .product-showcase { animation-delay: 130ms; animation-duration: 780ms; }

@keyframes marketing-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Anchors land below the sticky navigation. */
.marketing-page #features,
.marketing-page #ifta,
.marketing-page #reports,
.marketing-page #how-it-works {
  scroll-margin-top: 104px;
}

.marketing-page .trust-strip {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .marketing-header-inner,
  .marketing-main {
    width: min(calc(100% - 48px), var(--marketing-content));
  }

  .marketing-page .hero-marketing {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: 2rem;
  }

  .marketing-page .hero h1 {
    font-size: clamp(3.35rem, 5.2vw, 5rem);
  }

  .product-showcase {
    height: clamp(510px, 47vw, 610px);
  }

  .product-float-card-receipt {
    left: 0;
  }
}

@media (max-width: 960px) {
  .marketing-nav,
  .marketing-login,
  .marketing-header-actions > .marketing-nav-cta {
    display: none;
  }

  .marketing-menu-toggle {
    display: flex;
  }

  .marketing-header-inner {
    min-height: 74px;
    grid-template-columns: auto 1fr auto;
  }

  .marketing-page .hero-marketing {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: clamp(4.5rem, 9vw, 6rem) 0 5rem;
  }

  .marketing-page .hero-copy {
    max-width: 740px;
  }

  .marketing-page .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.6rem, 9vw, 5.5rem);
  }

  .marketing-page .hero-lede {
    max-width: 42rem;
  }

  .product-showcase {
    width: min(100%, 820px);
    height: clamp(560px, 75vw, 650px);
    margin: 0 auto;
  }

  .product-browser {
    right: 0;
  }
}

@media (max-width: 680px) {
  .marketing-header-inner,
  .marketing-main {
    width: calc(100% - 36px);
  }

  .marketing-header-inner {
    min-height: 68px;
  }

  .marketing-brand-mark {
    width: 36px;
    height: 36px;
  }

  .marketing-menu-toggle {
    width: 44px;
    height: 44px;
  }

  .marketing-mobile-menu-inner {
    width: calc(100% - 36px);
  }

  .marketing-page .hero-marketing {
    gap: 2.9rem;
    padding: 3.6rem 0 4.5rem;
  }

  .marketing-page .hero-copy .eyebrow {
    margin-bottom: 16px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .marketing-page .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(3.05rem, 14.5vw, 4rem);
    letter-spacing: -0.06em;
    line-height: 0.97;
  }

  .marketing-page .hero-lede {
    margin-top: 21px;
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 27px;
  }

  .hero-cta {
    width: 100%;
    min-height: 52px;
  }

  .hero-trust-line {
    max-width: 330px;
    margin-top: 16px;
    font-size: 0.78rem;
  }

  .hero-store-links {
    margin-left: -8px;
  }

  .product-showcase {
    height: 470px;
  }

  .product-browser {
    top: 0;
    height: 330px;
    border-radius: 15px;
  }

  .product-browser-bar {
    height: 39px;
    padding: 0 10px;
  }

  .product-browser-secure {
    display: none;
  }

  .product-browser-title {
    min-width: 116px;
    padding: 4px 9px;
  }

  .product-app {
    height: calc(100% - 39px);
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    display: none;
  }

  .product-workspace {
    padding: 13px;
  }

  .product-workspace-heading strong {
    font-size: 0.9rem;
  }

  .product-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
  }

  .product-summary-card:nth-child(3) {
    display: none;
  }

  .product-records-panel {
    margin-top: 9px;
  }

  .product-panel-heading {
    min-height: 42px;
    padding: 8px 10px;
  }

  .product-panel-heading div span {
    display: none;
  }

  .product-record-row {
    min-height: 45px;
    padding: 6px 9px;
  }

  .product-phone {
    right: -1px;
    bottom: 0;
    width: 158px;
    min-height: 310px;
    border-width: 4px;
    border-radius: 25px;
    padding: 18px 9px 10px;
  }

  .product-phone-header {
    margin-bottom: 10px;
  }

  .product-phone-header strong {
    line-height: 1.15;
    white-space: normal;
  }

  .product-phone-card {
    min-height: 43px;
    gap: 6px;
    padding: 7px;
  }

  .product-phone-card-primary {
    min-height: 53px;
  }

  .product-phone-card-icon {
    width: 22px;
    height: 22px;
  }

  .product-phone-section-label {
    margin-top: 10px;
  }

  .product-phone-readiness {
    margin-top: 7px;
    padding: 7px;
  }

  .product-float-card {
    min-width: 157px;
    padding: 8px 9px;
  }

  .product-float-card-receipt {
    bottom: 8%;
    left: 0;
  }

  .product-float-card-report {
    top: 312px;
    right: auto;
    left: 0;
  }

  .product-float-icon {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 390px) {
  .marketing-page .hero h1 {
    font-size: 3rem;
  }

  .marketing-mobile-actions {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    height: 450px;
  }

  .product-browser {
    height: 310px;
  }

  .product-float-card-report {
    top: 292px;
  }

  .product-phone {
    width: 150px;
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-page {
    scroll-behavior: auto;
  }

  .marketing-page *,
  .marketing-page *::before,
  .marketing-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .product-browser,
  .product-phone,
  .product-float-card {
    transform: none !important;
  }
}

/* Shared support and legal pages */
.public-info-page {
  background:
    radial-gradient(circle at 84% 4%, rgba(54, 144, 121, 0.12), transparent 30rem),
    linear-gradient(180deg, #f0f5f0 0, var(--marketing-page) 36rem, #f7f6f1 100%);
}

.public-info-main {
  width: min(calc(100% - 64px), 1220px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(6rem, 10vw, 9rem);
}

.public-page-intro {
  max-width: 820px;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.public-page-intro .eyebrow,
.public-section-heading .eyebrow,
.company-panel .eyebrow {
  margin-bottom: 16px;
  color: var(--marketing-brand-deep);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.public-page-intro h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--marketing-ink);
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.public-page-lede {
  max-width: 680px;
  margin: 25px 0 0;
  color: var(--marketing-ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.public-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  color: var(--marketing-muted);
  font-size: 0.85rem;
}

.public-page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.public-page-meta strong {
  color: var(--marketing-ink);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.27fr) minmax(0, 0.73fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.policy-toc-inner {
  position: sticky;
  top: 112px;
  border-left: 1px solid var(--marketing-border-strong);
  padding: 4px 0 4px 20px;
}

.policy-toc h2 {
  margin: 0 0 15px;
  color: var(--marketing-muted-light);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.policy-toc nav {
  display: grid;
  gap: 2px;
}

.policy-toc a {
  display: block;
  margin-left: -21px;
  border-left: 2px solid transparent;
  padding: 7px 0 7px 19px;
  color: var(--marketing-muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.policy-toc a:hover,
.policy-toc a:focus-visible {
  border-left-color: var(--marketing-brand);
  color: var(--marketing-brand-deep);
}

.policy-document {
  min-width: 0;
  border: 1px solid var(--marketing-border);
  border-radius: var(--marketing-radius-lg);
  padding: clamp(2rem, 5vw, 4.5rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(17, 47, 38, 0.1);
}

.policy-document > p:first-child {
  margin-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--marketing-border);
  color: var(--marketing-ink-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.policy-document section {
  scroll-margin-top: 112px;
}

.policy-document section + section {
  margin-top: clamp(2.8rem, 5vw, 4.5rem);
  padding-top: clamp(2.8rem, 5vw, 4.5rem);
  border-top: 1px solid var(--marketing-border);
}

.policy-document h2 {
  margin: 0 0 18px;
  color: var(--marketing-ink);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.policy-document p,
.policy-document li {
  max-width: 72ch;
  color: #40554e;
  font-size: 0.96rem;
  line-height: 1.82;
}

.policy-document p {
  margin: 0 0 1.25rem;
}

.policy-document ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.35rem;
}

.policy-document li::marker {
  color: var(--marketing-brand);
}

.policy-document a,
.company-details a {
  color: var(--marketing-brand-deep);
  font-weight: 700;
  text-decoration-color: rgba(12, 89, 76, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.policy-document a:hover,
.company-details a:hover {
  text-decoration-color: currentColor;
}

.policy-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 2rem;
  border: 1px solid #d9d8cc;
  border-radius: var(--marketing-radius-md);
  padding: 22px;
  background: var(--marketing-surface-warm);
}

.policy-action-label {
  margin: 0 0 7px !important;
  color: var(--marketing-brand-deep) !important;
  font-size: 0.64rem !important;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-action h3 {
  margin: 0;
  color: var(--marketing-ink);
  font-size: 1.12rem;
}

.policy-action h3 + p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.policy-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.public-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.78rem;
  font-weight: 760 !important;
  text-decoration: none !important;
}

.public-button-secondary {
  border-color: var(--marketing-border-strong);
  color: var(--marketing-ink) !important;
  background: #ffffff;
}

.public-button-danger {
  border-color: #e0b9ac;
  color: #7b3125 !important;
  background: #fff8f5;
}

.policy-operator-note {
  color: var(--marketing-muted-light) !important;
  font-size: 0.84rem !important;
}

.public-contact-intro {
  max-width: 900px;
}

.public-info-section + .public-info-section,
.company-panel {
  margin-top: clamp(5rem, 9vw, 8.5rem);
}

.public-section-heading {
  display: grid;
  grid-template-columns: minmax(100px, 0.3fr) minmax(0, 0.7fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.public-section-heading .eyebrow {
  margin: 0 0 5px;
}

.public-section-heading h2,
.company-panel h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--marketing-ink);
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

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

.contact-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--marketing-border);
  border-radius: var(--marketing-radius-lg);
  padding: clamp(1.7rem, 4vw, 2.7rem);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--marketing-shadow-sm);
}

.contact-card::after {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(54, 144, 121, 0.08);
  content: "";
}

.contact-card-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #ffffff;
  background: var(--marketing-brand-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-card-label {
  margin: 28px 0 10px;
  color: var(--marketing-brand-deep);
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-card h3 {
  max-width: 18ch;
  margin: 0;
  color: var(--marketing-ink);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.contact-card > p:not(.contact-card-label) {
  max-width: 43ch;
  margin: 17px 0 27px;
  color: var(--marketing-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.contact-card > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  color: var(--marketing-brand-deep);
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  font-weight: 760;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  display: grid;
  min-width: 0;
  min-height: 170px;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 20px;
  border: 1px solid var(--marketing-border);
  border-radius: var(--marketing-radius-md);
  padding: 22px;
  color: var(--marketing-ink);
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--marketing-ease);
}

.resource-card:hover {
  border-color: var(--marketing-border-strong);
  box-shadow: var(--marketing-shadow-sm);
  transform: translateY(-3px);
}

.resource-card-index {
  color: var(--marketing-muted-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.resource-card > span:nth-child(2) {
  display: grid;
  align-self: end;
  gap: 7px;
}

.resource-card strong {
  font-size: 1.04rem;
}

.resource-card small {
  color: var(--marketing-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.resource-card i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: var(--marketing-brand);
  font-style: normal;
}

.resource-card-danger i {
  color: #a34b3c;
}

.company-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(3rem, 8vw, 7rem);
  border: 1px solid rgba(128, 162, 151, 0.28);
  border-radius: var(--marketing-radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  color: #d5e5e0;
  background:
    radial-gradient(circle at 100% 0, rgba(78, 164, 139, 0.22), transparent 24rem),
    var(--marketing-brand-dark);
  box-shadow: var(--marketing-shadow-md);
}

.company-panel .eyebrow {
  color: #86c4b2;
}

.company-panel h2 {
  max-width: 13ch;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.company-panel > div > p:last-child {
  max-width: 52ch;
  margin: 21px 0 0;
  color: #a7c2ba;
  font-size: 0.88rem;
  line-height: 1.7;
}

.company-details {
  display: grid;
  gap: 0;
  align-self: center;
  margin: 0;
}

.company-details div {
  display: grid;
  grid-template-columns: minmax(105px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid rgba(184, 215, 205, 0.14);
  padding: 17px 0;
}

.company-details dt {
  color: #789c91;
  font-size: 0.66rem;
  font-weight: 790;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-details dd {
  margin: 0;
  color: #d8e5e1;
  font-size: 0.82rem;
  line-height: 1.55;
}

.company-details a {
  color: #ffffff;
}

@media (max-width: 960px) {
  .public-info-main {
    padding-top: 4.5rem;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .policy-toc-inner {
    position: static;
    border: 1px solid var(--marketing-border);
    border-radius: var(--marketing-radius-md);
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
  }

  .policy-toc nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px 14px;
  }

  .policy-toc a {
    margin: 0;
    border: 0;
    padding: 5px 0;
  }

  .public-section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .resource-card {
    min-height: 125px;
  }

  .company-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .public-info-main {
    width: calc(100% - 36px);
    padding: 3.6rem 0 5.5rem;
  }

  .public-page-intro h1 {
    font-size: clamp(3.1rem, 15vw, 4.2rem);
  }

  .public-page-lede {
    font-size: 1rem;
    line-height: 1.6;
  }

  .public-page-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .policy-document {
    border-radius: 22px;
    padding: 26px 20px;
  }

  .policy-document p,
  .policy-document li {
    font-size: 0.93rem;
    line-height: 1.75;
  }

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

  .policy-action-links {
    justify-content: flex-start;
  }

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

  .contact-card {
    border-radius: 22px;
  }

  .company-panel {
    border-radius: 22px;
  }

  .company-details div {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (max-width: 390px) {
  .policy-toc nav {
    grid-template-columns: 1fr;
  }

  .policy-action-links,
  .public-button {
    width: 100%;
  }
}

/* Phase 2: connected receipt-to-report product story. */
.marketing-page #how-it-works,
.marketing-page #ifta {
  scroll-margin-top: 102px;
}

.workflow-bridge {
  position: relative;
  margin: 0 0 clamp(5rem, 9vw, 8.5rem);
  padding: 24px 0;
  border-top: 1px solid var(--marketing-border);
  border-bottom: 1px solid var(--marketing-border);
}

.workflow-bridge ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-bridge ol::before {
  position: absolute;
  top: 12px;
  right: 8.4%;
  left: 8.4%;
  height: 1px;
  background: var(--marketing-border-strong);
  content: "";
}

.workflow-bridge li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 8px;
  color: var(--marketing-muted);
  font-size: clamp(0.69rem, 0.85vw, 0.79rem);
  line-height: 1.35;
  text-align: center;
}

.workflow-bridge li span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--marketing-border-strong);
  border-radius: 999px;
  color: var(--marketing-muted-light);
  background: var(--marketing-page);
  font-size: 0.53rem;
  font-weight: 820;
}

.workflow-bridge li strong {
  max-width: 13ch;
  font-weight: 690;
}

.marketing-js .workflow-bridge li {
  opacity: 0.42;
  transform: translateY(5px);
  transition:
    color 360ms ease,
    opacity 360ms ease,
    transform 440ms var(--marketing-ease);
}

.marketing-js .workflow-bridge.is-visible li {
  color: var(--marketing-ink-soft);
  opacity: 1;
  transform: translateY(0);
}

.marketing-js .workflow-bridge.is-visible li:nth-child(2) { transition-delay: 60ms; }
.marketing-js .workflow-bridge.is-visible li:nth-child(3) { transition-delay: 120ms; }
.marketing-js .workflow-bridge.is-visible li:nth-child(4) { transition-delay: 180ms; }
.marketing-js .workflow-bridge.is-visible li:nth-child(5) { transition-delay: 240ms; }
.marketing-js .workflow-bridge.is-visible li:nth-child(6) { transition-delay: 300ms; }

.product-story {
  position: relative;
  padding-bottom: clamp(5.5rem, 9vw, 9rem);
}

.product-story::before {
  position: absolute;
  z-index: -1;
  top: 7rem;
  right: -14vw;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(73, 153, 131, 0.1), rgba(73, 153, 131, 0) 69%);
  content: "";
  pointer-events: none;
}

.product-story-heading {
  display: grid;
  max-width: 810px;
  gap: 0;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.product-story-heading h2,
.ifta-showcase-heading h2 {
  margin: 0;
  color: var(--marketing-ink);
  font-size: clamp(2.75rem, 5.2vw, 5.3rem);
  font-weight: 775;
  letter-spacing: -0.058em;
  line-height: 0.98;
  text-wrap: balance;
}

.product-story-heading > p:last-child {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--marketing-muted);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.65;
}

.product-story-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(330px, 0.39fr) minmax(0, 0.61fr);
  gap: clamp(2.75rem, 6vw, 6.75rem);
}

.workflow-narrative {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-step {
  position: relative;
  display: grid;
  min-height: clamp(490px, 64vh, 610px);
  align-content: center;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  padding: 56px 0;
}

.workflow-step::after {
  position: absolute;
  top: 50%;
  right: -12px;
  width: 5px;
  height: 52px;
  border-radius: 999px;
  background: var(--marketing-brand);
  content: "";
  opacity: 0;
  transform: translateY(-50%) scaleY(0.4);
  transform-origin: center;
  transition:
    opacity 260ms ease,
    transform 420ms var(--marketing-ease);
}

.workflow-step-number {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--marketing-border);
  border-radius: 13px;
  color: var(--marketing-muted-light);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 820;
  transition:
    color 260ms ease,
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.workflow-step-copy {
  max-width: 410px;
  opacity: 1;
  transform: translateY(8px);
  transition:
    opacity 360ms ease,
    transform 440ms var(--marketing-ease);
}

.workflow-step:not(.is-active) h3 {
  color: #50655e;
  font-weight: 710;
}

.workflow-step-label {
  display: block;
  margin-bottom: 17px;
  color: var(--marketing-brand-deep);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-step h3 {
  margin: 0;
  color: var(--marketing-ink);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 755;
  letter-spacing: -0.047em;
  line-height: 1.04;
  text-wrap: balance;
}

.workflow-step p {
  margin: 18px 0 0;
  color: var(--marketing-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.workflow-step.is-active::after {
  opacity: 1;
  transform: translateY(-50%) scaleY(1);
}

.workflow-step.is-active .workflow-step-number {
  border-color: var(--marketing-brand-deep);
  color: #ffffff;
  background: var(--marketing-brand-deep);
  box-shadow: 0 12px 26px rgba(12, 89, 76, 0.2);
}

.workflow-step.is-active .workflow-step-copy {
  opacity: 1;
  transform: translateY(0);
}

.workflow-mobile-visual {
  display: none;
}

.workflow-sticky {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.workflow-progress {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  margin: 0 4px 13px;
  color: var(--marketing-muted);
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-progress strong {
  color: var(--marketing-brand-deep);
  font-size: 0.64rem;
}

.workflow-progress-track {
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--marketing-border);
}

.workflow-progress-track i {
  display: block;
  width: var(--workflow-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--marketing-brand);
  transition: width 520ms var(--marketing-ease);
}

.workflow-product {
  position: relative;
  width: 100%;
  height: clamp(540px, 64vh, 620px);
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(160, 184, 173, 0.9);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 34px 86px rgba(12, 50, 39, 0.16);
}

.workflow-browser-bar {
  display: grid;
  height: 47px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  border-bottom: 1px solid #dce6e1;
  background: #f6f8f6;
  padding: 0 15px;
  color: #788780;
  font-size: 0.57rem;
  font-weight: 680;
}

.workflow-browser-bar > span {
  justify-self: end;
}

.workflow-browser-dots {
  display: flex;
  gap: 5px;
}

.workflow-browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c4d0ca;
}

.workflow-browser-dots span:first-child { background: #d6a572; }
.workflow-browser-dots span:nth-child(2) { background: #d9c66d; }
.workflow-browser-dots span:last-child { background: #6fb096; }

.workflow-browser-location {
  display: inline-flex;
  min-width: 158px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #dfe7e3;
  border-radius: 999px;
  background: #ffffff;
  padding: 5px 12px;
}

.workflow-browser-location i,
.ifta-dashboard-topbar i {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #ffffff;
  background: var(--marketing-brand-dark);
  font-size: 0.43rem;
  font-style: normal;
  font-weight: 850;
}

.workflow-product-body {
  display: grid;
  height: calc(100% - 47px);
  grid-template-columns: 54px minmax(0, 1fr);
  background: #f3f6f4;
}

.workflow-app-rail {
  display: flex;
  align-items: center;
  border-right: 1px solid #dfe7e3;
  background: #ffffff;
  padding: 13px 9px;
  flex-direction: column;
  gap: 11px;
}

.workflow-rail-brand,
.workflow-rail-item {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.6rem;
  font-weight: 820;
}

.workflow-rail-brand {
  margin-bottom: 10px;
  color: #ffffff;
  background: var(--marketing-brand-dark);
}

.workflow-rail-item {
  position: relative;
  color: #829089;
  background: #f2f5f3;
  transition:
    color 300ms ease,
    background 300ms ease,
    transform 380ms var(--marketing-ease);
}

.workflow-rail-item::before {
  position: absolute;
  left: -10px;
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: var(--marketing-brand);
  content: "";
  opacity: 0;
}

.workflow-product[data-stage="receipt"] [data-rail-stage="receipt"],
.workflow-product[data-stage="expense"] [data-rail-stage="expense"],
.workflow-product[data-stage="trip"] [data-rail-stage="trip"],
.workflow-product[data-stage="ifta"] [data-rail-stage="ifta"],
.workflow-product[data-stage="export"] [data-rail-stage="export"] {
  color: var(--marketing-brand-deep);
  background: #e4f0eb;
  transform: translateX(2px);
}

.workflow-product[data-stage="receipt"] [data-rail-stage="receipt"]::before,
.workflow-product[data-stage="expense"] [data-rail-stage="expense"]::before,
.workflow-product[data-stage="trip"] [data-rail-stage="trip"]::before,
.workflow-product[data-stage="ifta"] [data-rail-stage="ifta"]::before,
.workflow-product[data-stage="export"] [data-rail-stage="export"]::before {
  opacity: 1;
}

.workflow-workspace {
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto minmax(0, 1fr);
  padding: clamp(17px, 2.2vw, 27px);
}

.workflow-workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.workflow-workspace-header > div {
  display: grid;
  gap: 3px;
}

.workflow-workspace-header > div span {
  color: #75857e;
  font-size: 0.55rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.workflow-workspace-header > div strong {
  color: #193a31;
  font-size: clamp(0.92rem, 1.35vw, 1.2rem);
  letter-spacing: -0.025em;
}

.workflow-live-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cde1d7;
  border-radius: 999px;
  color: #25614f;
  background: #eaf4ef;
  padding: 6px 9px;
  font-size: 0.51rem;
  white-space: nowrap;
}

.workflow-live-status i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #319272;
  box-shadow: 0 0 0 3px rgba(49, 146, 114, 0.12);
}

.workflow-live-status b {
  font-weight: 750;
}

.workflow-flow-map {
  position: relative;
  display: grid;
  align-items: start;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 22px 0 18px;
}

.workflow-flow-line {
  position: absolute;
  top: 10px;
  right: 9%;
  left: 9%;
  height: 2px;
  overflow: hidden;
  background: #d6e0db;
}

.workflow-flow-line i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--marketing-brand-deep), #4da48b);
  transition: width 520ms var(--marketing-ease);
}

.workflow-product[data-stage="expense"] .workflow-flow-line i { width: 25%; }
.workflow-product[data-stage="trip"] .workflow-flow-line i { width: 50%; }
.workflow-product[data-stage="ifta"] .workflow-flow-line i { width: 75%; }
.workflow-product[data-stage="export"] .workflow-flow-line i { width: 100%; }

.workflow-flow-map > span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #83918b;
  font-size: 0.49rem;
  font-weight: 700;
  transition: color 300ms ease;
}

.workflow-flow-map > span b {
  display: flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2ded8;
  border-radius: 999px;
  color: #7d8d86;
  background: #f3f6f4;
  font-size: 0.45rem;
  transition:
    color 300ms ease,
    background 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.workflow-product[data-stage="receipt"] [data-flow-stage="receipt"],
.workflow-product[data-stage="expense"] [data-flow-stage="expense"],
.workflow-product[data-stage="trip"] [data-flow-stage="trip"],
.workflow-product[data-stage="ifta"] [data-flow-stage="ifta"],
.workflow-product[data-stage="export"] [data-flow-stage="export"] {
  color: var(--marketing-brand-deep);
}

.workflow-product[data-stage="receipt"] [data-flow-stage="receipt"] b,
.workflow-product[data-stage="expense"] [data-flow-stage="expense"] b,
.workflow-product[data-stage="trip"] [data-flow-stage="trip"] b,
.workflow-product[data-stage="ifta"] [data-flow-stage="ifta"] b,
.workflow-product[data-stage="export"] [data-flow-stage="export"] b {
  border-color: var(--marketing-brand-deep);
  color: #ffffff;
  background: var(--marketing-brand-deep);
  box-shadow: 0 5px 12px rgba(12, 89, 76, 0.2);
}

.workflow-stage-window {
  position: relative;
  min-height: 0;
}

.workflow-stage-panel {
  position: absolute;
  inset: 0;
  display: grid;
  min-width: 0;
  align-content: stretch;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 180ms ease,
    transform 480ms var(--marketing-ease);
}

.workflow-stage-panel[data-workflow-panel="receipt"] {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.workflow-product[data-stage="expense"] .workflow-stage-panel,
.workflow-product[data-stage="trip"] .workflow-stage-panel,
.workflow-product[data-stage="ifta"] .workflow-stage-panel,
.workflow-product[data-stage="export"] .workflow-stage-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.985);
}

.workflow-product[data-stage="expense"] [data-workflow-panel="expense"],
.workflow-product[data-stage="trip"] [data-workflow-panel="trip"],
.workflow-product[data-stage="ifta"] [data-workflow-panel="ifta"],
.workflow-product[data-stage="export"] [data-workflow-panel="export"] {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.receipt-stage {
  grid-template-columns: minmax(135px, 0.36fr) minmax(0, 0.64fr);
  gap: 15px;
}

.receipt-preview-card,
.stage-detail-card,
.trip-overview-card,
.workflow-ifta-table,
.export-card,
.export-note {
  border: 1px solid #d9e3de;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 9px 22px rgba(22, 57, 46, 0.045);
}

.receipt-preview-card {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  overflow: hidden;
  padding: 12px 14px 16px;
  color: #53645d;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 16px, rgba(67, 99, 87, 0.035) 17px),
    #fffefa;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.receipt-preview-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #8a9892;
  font-size: 0.48rem;
}

.receipt-preview-header i {
  display: flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #ffffff;
  background: #1a4b3e;
  font-size: 0.46rem;
  font-style: normal;
}

.receipt-preview-card > strong {
  color: #283e36;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
}

.receipt-preview-card > b {
  color: #627169;
  font-size: 0.53rem;
  letter-spacing: 0.12em;
}

.receipt-preview-card > span:not(.receipt-scan-line),
.receipt-preview-card > small {
  font-size: 0.49rem;
  font-weight: 650;
}

.receipt-preview-card > div:not(.receipt-preview-header) {
  width: 72%;
  height: 1px;
  margin: 4px 0;
  background: #cfd9d4;
}

.receipt-preview-card > em {
  margin-top: 5px;
  color: #153e33;
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 850;
}

.receipt-scan-line {
  position: absolute;
  right: 10px;
  left: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 118, 100, 0.78), transparent);
  box-shadow: 0 0 8px rgba(20, 118, 100, 0.34);
}

.product-story.is-in-view .workflow-product[data-stage="receipt"] .receipt-scan-line {
  animation: receipt-scan 2.6s ease-in-out infinite;
}

@keyframes receipt-scan {
  0%, 100% { top: 28%; opacity: 0.25; }
  50% { top: 79%; opacity: 0.9; }
}

.stage-detail-card,
.trip-overview-card {
  min-width: 0;
  padding: clamp(13px, 1.65vw, 20px);
}

.stage-card-heading,
.workflow-ifta-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e3e9e6;
}

.stage-card-heading > div,
.workflow-ifta-heading > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.stage-card-heading span,
.workflow-ifta-heading span,
.export-stage-intro > span {
  color: #81908a;
  font-size: 0.51rem;
  font-weight: 730;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stage-card-heading strong,
.workflow-ifta-heading strong {
  overflow: hidden;
  color: #27483e;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-card-heading > i,
.workflow-ifta-heading > i {
  border-radius: 999px;
  color: #21634e;
  background: #e7f3ed;
  padding: 5px 8px;
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.stage-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 13px 0 0;
}

.stage-field-grid > div {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 1px solid #e1e8e4;
  border-radius: 8px;
  background: #f8faf8;
  padding: 8px 9px;
}

.stage-field-grid dt,
.trip-meta dt {
  color: #89968f;
  font-size: 0.47rem;
  font-weight: 700;
}

.stage-field-grid dd,
.trip-meta dd {
  overflow: hidden;
  margin: 0;
  color: #294a40;
  font-size: 0.57rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-review-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 0 0;
  color: #6f7f78;
  font-size: 0.49rem;
  line-height: 1.45;
}

.stage-review-note span {
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #ffffff;
  background: var(--marketing-brand);
  font-size: 0.5rem;
}

.stage-detail-card-wide {
  width: min(100%, 490px);
  align-self: center;
  justify-self: center;
}

.linked-receipt {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid #cee0d7;
  border-radius: 9px;
  background: #edf6f1;
  padding: 9px 10px;
}

.linked-receipt-icon {
  display: inline-flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--marketing-brand-deep);
  background: #d9ebe3;
  font-size: 0.57rem;
  font-weight: 830;
}

.linked-receipt > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.linked-receipt > div span,
.linked-receipt > div strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.linked-receipt > div span {
  color: #769087;
  font-size: 0.48rem;
}

.linked-receipt > div strong,
.linked-receipt > i {
  color: #285344;
  font-size: 0.55rem;
  font-weight: 750;
}

.linked-receipt > i {
  font-style: normal;
  white-space: nowrap;
}

.trip-overview-card {
  width: min(100%, 520px);
  align-self: center;
  justify-self: center;
}

.trip-route {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 0.58fr minmax(0, 1fr);
  gap: 12px;
  margin-top: 21px;
}

.trip-route > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.trip-route > div:last-child {
  justify-items: end;
  text-align: right;
}

.trip-route > div i {
  width: 10px;
  height: 10px;
  border: 3px solid #cae1d7;
  border-radius: 999px;
  background: var(--marketing-brand);
}

.trip-route > div:last-child i {
  background: var(--marketing-brand-dark);
}

.trip-route > div span {
  color: #87958f;
  font-size: 0.48rem;
}

.trip-route > div strong {
  overflow: hidden;
  color: #284a40;
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trip-route > b {
  position: relative;
  display: block;
  height: 2px;
  background: repeating-linear-gradient(90deg, #73ab98 0 8px, transparent 8px 13px);
}

.trip-route > b::after {
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--marketing-brand);
  border-right: 2px solid var(--marketing-brand);
  content: "";
  transform: rotate(45deg);
}

.trip-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 21px 0 0;
}

.trip-meta > div {
  display: grid;
  min-width: 0;
  gap: 4px;
  border-radius: 8px;
  background: #f4f7f5;
  padding: 8px;
}

.linked-trip-expense {
  margin-top: 11px;
}

.ifta-stage {
  display: block;
}

.workflow-ifta-heading {
  border-bottom: 0;
  padding-bottom: 10px;
}

.workflow-ifta-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 5px;
}

.workflow-ifta-metrics > div {
  display: grid;
  min-width: 0;
  gap: 5px;
  border: 1px solid #dce6e1;
  border-radius: 9px;
  background: #ffffff;
  padding: 9px;
}

.workflow-ifta-metrics span {
  overflow: hidden;
  color: #86938d;
  font-size: 0.45rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-ifta-metrics strong {
  color: #28483e;
  font-size: 0.62rem;
}

.workflow-ifta-table {
  overflow: hidden;
  margin-top: 9px;
}

.workflow-ifta-row {
  display: grid;
  min-height: 37px;
  align-items: center;
  grid-template-columns: minmax(118px, 1.4fr) repeat(3, minmax(58px, 0.8fr));
  gap: 7px;
  padding: 6px 9px;
  border-bottom: 1px solid #e8eeeb;
  color: #53675f;
  font-size: 0.48rem;
}

.workflow-ifta-row:last-child {
  border-bottom: 0;
}

.workflow-ifta-row > span:first-child {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-ifta-row i {
  display: inline-flex;
  width: 24px;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--marketing-brand-deep);
  background: #e5f0eb;
  font-size: 0.43rem;
  font-style: normal;
  font-weight: 820;
}

.workflow-ifta-row-head {
  min-height: 28px;
  color: #89968f;
  background: #f7f9f8;
  font-size: 0.43rem;
  font-weight: 740;
}

.export-stage {
  align-content: center;
  gap: 12px;
}

.export-stage-intro {
  text-align: center;
}

.export-stage-intro > strong {
  display: block;
  margin-top: 5px;
  color: #25473c;
  font-size: clamp(0.95rem, 1.4vw, 1.16rem);
}

.export-stage-intro p {
  margin: 6px 0 0;
  color: #7b8a84;
  font-size: 0.52rem;
}

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

.export-card {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
}

.export-card-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffffff;
  background: var(--marketing-brand-deep);
  font-size: 0.68rem;
  font-weight: 840;
}

.export-card-icon-warm {
  color: #6c5625;
  background: #eee2bb;
}

.export-card > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.export-card > div span,
.export-card > div small {
  overflow: hidden;
  color: #82908a;
  font-size: 0.46rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.export-card > div strong {
  color: #29493f;
  font-size: 0.65rem;
}

.export-card > i {
  grid-column: 1 / -1;
  border-radius: 7px;
  color: #23604e;
  background: #e7f3ed;
  padding: 6px 8px;
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 750;
  text-align: center;
}

.export-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
}

.export-note span {
  display: inline-flex;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--marketing-brand);
  font-size: 0.51rem;
}

.export-note p {
  margin: 0;
  color: #64776f;
  font-size: 0.49rem;
  line-height: 1.4;
}

/* Dedicated IFTA showcase. */
.ifta-showcase {
  position: relative;
  z-index: 0;
  padding: clamp(5.5rem, 9vw, 8rem) 0;
  color: #ffffff;
  background: #0b352e;
  box-shadow: 0 0 0 100vmax #0b352e;
  clip-path: inset(0 -100vmax);
}

.ifta-showcase::before,
.ifta-showcase::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.ifta-showcase::before {
  top: -16rem;
  right: -14rem;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, rgba(62, 161, 132, 0.27), rgba(62, 161, 132, 0) 69%);
}

.ifta-showcase::after {
  bottom: -22rem;
  left: -17rem;
  width: 44rem;
  height: 44rem;
  background: radial-gradient(circle, rgba(162, 132, 61, 0.11), rgba(162, 132, 61, 0) 69%);
}

.ifta-showcase-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  gap: clamp(2rem, 6vw, 7rem);
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.ifta-showcase-heading .eyebrow {
  color: #83c8b1;
}

.ifta-showcase-heading h2 {
  max-width: 9.5ch;
  color: #f4f8f5;
}

.ifta-showcase-heading > p {
  max-width: 510px;
  margin: 0 0 4px;
  color: #b5c9c2;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.7;
}

.ifta-showcase-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(2.25rem, 5vw, 5.5rem);
}

.ifta-feature-list {
  display: grid;
  gap: 0;
}

.ifta-feature-list article {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(189, 218, 207, 0.14);
}

.ifta-feature-list article:first-child {
  padding-top: 0;
}

.ifta-feature-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ifta-feature-list article > span {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(129, 201, 177, 0.3);
  border-radius: 9px;
  color: #8ed0ba;
  background: rgba(69, 145, 121, 0.1);
  font-size: 0.52rem;
  font-weight: 810;
}

.ifta-feature-list h3 {
  margin: 0;
  color: #edf6f2;
  font-size: 0.91rem;
  font-weight: 740;
}

.ifta-feature-list p {
  margin: 5px 0 0;
  color: #9fb8af;
  font-size: 0.8rem;
  line-height: 1.55;
}

.ifta-dashboard-shell {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(158, 198, 183, 0.29);
  border-radius: 20px;
  background: #f4f7f5;
  box-shadow: 0 36px 96px rgba(0, 15, 12, 0.34);
}

.ifta-dashboard-topbar {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #dce6e1;
  background: #fbfcfb;
  padding: 8px 15px;
  color: #52675f;
  font-size: 0.61rem;
  font-weight: 720;
}

.ifta-dashboard-topbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ifta-demo-label {
  border-radius: 999px;
  color: #7b8983;
  background: #eef2f0;
  padding: 5px 8px;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ifta-dashboard {
  padding: clamp(16px, 2.3vw, 28px);
  color: var(--marketing-ink);
}

.ifta-dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ifta-dashboard-heading > div:first-child {
  display: grid;
  gap: 3px;
}

.ifta-dashboard-heading span {
  color: #788981;
  font-size: 0.55rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ifta-dashboard-heading strong {
  color: #173a30;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.03em;
}

.ifta-dashboard-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ifta-dashboard-actions span,
.ifta-dashboard-actions i {
  border: 1px solid #d8e2dd;
  border-radius: 8px;
  background: #ffffff;
  padding: 7px 9px;
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 740;
  letter-spacing: 0;
  text-transform: none;
}

.ifta-dashboard-actions i {
  border-color: var(--marketing-brand-deep);
  color: #ffffff;
  background: var(--marketing-brand-deep);
}

.ifta-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 21px;
}

.ifta-dashboard-metrics > div {
  display: grid;
  min-width: 0;
  min-height: 87px;
  align-content: start;
  gap: 5px;
  border: 1px solid #dce5e1;
  border-radius: 10px;
  background: #ffffff;
  padding: 11px;
}

.ifta-dashboard-metrics span,
.ifta-dashboard-metrics small {
  overflow: hidden;
  color: #829089;
  font-size: 0.46rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ifta-dashboard-metrics strong {
  overflow: hidden;
  color: #25463c;
  font-size: clamp(0.67rem, 1vw, 0.85rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ifta-dashboard-metrics small {
  margin-top: auto;
  font-size: 0.42rem;
}

.ifta-dashboard-metric-total {
  border-color: #a9cfbf !important;
  background: #e7f3ed !important;
}

.ifta-jurisdiction-table {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid #dce5e1;
  border-radius: 11px;
  background: #ffffff;
}

.ifta-jurisdiction-row {
  display: grid;
  min-height: 47px;
  align-items: center;
  grid-template-columns: minmax(145px, 1.45fr) repeat(5, minmax(62px, 0.8fr));
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #e7ece9;
  color: #4a6158;
  font-size: 0.55rem;
}

.ifta-jurisdiction-row:last-child {
  border-bottom: 0;
}

.ifta-jurisdiction-row > span {
  min-width: 0;
}

.ifta-jurisdiction-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ifta-jurisdiction-row > span:last-child {
  color: #174f40;
  font-weight: 800;
}

.ifta-jurisdiction-row i {
  display: inline-flex;
  width: 28px;
  height: 27px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--marketing-brand-deep);
  background: #e7f1ed;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 840;
}

.ifta-jurisdiction-row b {
  overflow: hidden;
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ifta-jurisdiction-head {
  min-height: 34px;
  color: #89968f;
  background: #f6f8f7;
  font-size: 0.48rem;
  font-weight: 740;
}

.ifta-jurisdiction-head > span:last-child {
  color: #89968f;
}

.ifta-dashboard-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 13px;
  color: #63766e;
  font-size: 0.51rem;
  font-weight: 690;
}

.ifta-dashboard-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ifta-dashboard-footer span i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #2e9473;
}

.ifta-dashboard-footer strong {
  margin-left: auto;
  border-radius: 999px;
  color: #1c5f4b;
  background: #def0e8;
  padding: 6px 9px;
}

.ifta-dashboard-shell figcaption {
  border-top: 1px solid #dce6e1;
  color: #6f8079;
  background: #edf2ef;
  padding: 10px 16px;
  font-size: 0.49rem;
  line-height: 1.5;
  text-align: center;
}

.marketing-js .ifta-dashboard-shell {
  opacity: 0.58;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 720ms var(--marketing-ease);
}

.marketing-js .ifta-showcase.is-visible .ifta-dashboard-shell {
  opacity: 1;
  transform: translateY(0);
}

.marketing-js .ifta-showcase .ifta-jurisdiction-row:not(.ifta-jurisdiction-head) {
  opacity: 0.38;
  transform: translateX(8px);
  transition:
    opacity 420ms ease,
    transform 520ms var(--marketing-ease);
}

.marketing-js .ifta-showcase.is-visible .ifta-jurisdiction-row:not(.ifta-jurisdiction-head) {
  opacity: 1;
  transform: translateX(0);
}

.marketing-js .ifta-showcase.is-visible .ifta-jurisdiction-row:nth-child(2) { transition-delay: 160ms; }
.marketing-js .ifta-showcase.is-visible .ifta-jurisdiction-row:nth-child(3) { transition-delay: 220ms; }
.marketing-js .ifta-showcase.is-visible .ifta-jurisdiction-row:nth-child(4) { transition-delay: 280ms; }
.marketing-js .ifta-showcase.is-visible .ifta-jurisdiction-row:nth-child(5) { transition-delay: 340ms; }

@media (max-width: 1180px) {
  .product-story-layout {
    grid-template-columns: minmax(305px, 0.37fr) minmax(0, 0.63fr);
    gap: 3.2rem;
  }

  .workflow-workspace {
    padding: 17px;
  }

  .workflow-product {
    min-height: 530px;
  }

  .ifta-showcase-layout {
    grid-template-columns: minmax(215px, 0.25fr) minmax(0, 0.75fr);
    gap: 2.5rem;
  }

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

  .ifta-dashboard-metrics > div {
    min-height: 76px;
  }
}

@media (max-width: 960px) {
  .workflow-bridge {
    margin-bottom: 6rem;
  }

  .workflow-bridge ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .workflow-bridge ol::before {
    display: none;
  }

  .product-story-heading {
    margin-bottom: 3.5rem;
  }

  .product-story-layout {
    grid-template-columns: 1fr;
  }

  .workflow-narrative {
    gap: 18px;
  }

  .workflow-step {
    min-height: auto;
    align-content: start;
    padding: 34px 0 48px;
    border-bottom: 1px solid var(--marketing-border);
  }

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

  .workflow-step::after {
    top: 33px;
    right: auto;
    bottom: auto;
    left: 18px;
    width: 5px;
    height: 5px;
    transform: none;
  }

  .workflow-step-copy,
  .workflow-step.is-active .workflow-step-copy {
    max-width: none;
    opacity: 1;
    transform: none;
  }

  .workflow-step-number,
  .workflow-step.is-active .workflow-step-number {
    border-color: var(--marketing-border-strong);
    color: var(--marketing-brand-deep);
    background: #ffffff;
    box-shadow: none;
  }

  .workflow-mobile-visual {
    display: block;
    overflow: hidden;
    margin-top: 24px;
    border: 1px solid var(--marketing-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--marketing-shadow-sm);
    padding: 16px;
  }

  .workflow-sticky {
    display: none;
  }

  .mobile-record-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e9e5;
    color: #405b52;
    font-size: 0.76rem;
    font-weight: 760;
  }

  .mobile-record-topline i {
    border-radius: 999px;
    color: #24614f;
    background: #e9f4ef;
    padding: 5px 8px;
    font-size: 0.61rem;
    font-style: normal;
  }

  .mobile-receipt-sheet {
    display: grid;
    gap: 6px;
    margin: 15px auto 0;
    border: 1px solid #e1e5de;
    border-radius: 7px;
    background: #fffefa;
    padding: 17px;
    color: #68766f;
    font-size: 0.71rem;
  }

  .mobile-receipt-sheet strong {
    color: #29483e;
  }

  .mobile-receipt-sheet div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #d5deda;
  }

  .mobile-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 0;
  }

  .mobile-field-grid > div {
    display: grid;
    gap: 4px;
    border-radius: 9px;
    background: #f4f7f5;
    padding: 11px;
  }

  .mobile-field-grid dt {
    color: #83918b;
    font-size: 0.61rem;
  }

  .mobile-field-grid dd {
    overflow: hidden;
    margin: 0;
    color: #29483e;
    font-size: 0.73rem;
    font-weight: 730;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-route {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 0.45fr 1fr;
    gap: 12px;
    margin-top: 20px;
    color: #29483e;
    font-size: 0.74rem;
  }

  .mobile-route strong:last-child {
    text-align: right;
  }

  .mobile-route b {
    height: 2px;
    background: repeating-linear-gradient(90deg, #62a58e 0 7px, transparent 7px 11px);
  }

  .mobile-linked-record,
  .mobile-export-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    border-radius: 9px;
    color: #446158;
    background: #edf5f1;
    padding: 11px;
    font-size: 0.72rem;
  }

  .mobile-ifta-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .mobile-ifta-summary > div {
    display: grid;
    gap: 5px;
    border-radius: 9px;
    background: #f2f6f4;
    padding: 11px;
  }

  .mobile-ifta-summary span {
    color: #809089;
    font-size: 0.61rem;
  }

  .mobile-ifta-summary strong {
    color: #244a3e;
    font-size: 0.76rem;
  }

  .ifta-showcase-heading {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ifta-showcase-heading h2 {
    max-width: 11ch;
  }

  .ifta-showcase-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .ifta-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .ifta-feature-list article:nth-last-child(2) {
    border-bottom: 0;
  }

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

  .ifta-jurisdiction-row {
    grid-template-columns: minmax(130px, 1.3fr) repeat(3, minmax(55px, 0.7fr));
  }

  .ifta-jurisdiction-row > span:nth-child(4),
  .ifta-jurisdiction-row > span:nth-child(5) {
    display: none;
  }
}

@media (max-width: 680px) {
  .workflow-bridge {
    margin-bottom: 4.75rem;
    padding: 20px 0;
  }

  .workflow-bridge ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .workflow-bridge li {
    justify-items: start;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    text-align: left;
  }

  .workflow-bridge li strong {
    max-width: none;
  }

  .product-story {
    padding-bottom: 5rem;
  }

  .product-story-heading h2,
  .ifta-showcase-heading h2 {
    font-size: clamp(2.6rem, 13vw, 3.55rem);
  }

  .product-story-heading > p:last-child {
    margin-top: 19px;
    font-size: 0.98rem;
  }

  .workflow-narrative {
    gap: 0;
  }

  .workflow-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 29px 0 38px;
  }

  .workflow-step-number,
  .workflow-step.is-active .workflow-step-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.59rem;
  }

  .workflow-step::after {
    top: 27px;
    left: 15px;
  }

  .workflow-step-label {
    margin-bottom: 13px;
    font-size: 0.64rem;
  }

  .workflow-step h3 {
    font-size: clamp(1.75rem, 8.8vw, 2.35rem);
  }

  .workflow-step p {
    margin-top: 14px;
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .workflow-mobile-visual {
    margin-top: 20px;
    border-radius: 13px;
    padding: 13px;
  }

  .mobile-field-grid {
    grid-template-columns: 1fr;
  }

  .mobile-ifta-summary {
    grid-template-columns: 1fr;
  }

  .ifta-showcase {
    padding: 5rem 0;
  }

  .ifta-showcase-heading {
    margin-bottom: 3.5rem;
  }

  .ifta-showcase-heading > p {
    font-size: 0.98rem;
  }

  .ifta-feature-list {
    grid-template-columns: 1fr;
  }

  .ifta-feature-list article:nth-last-child(2) {
    border-bottom: 1px solid rgba(189, 218, 207, 0.14);
  }

  .ifta-dashboard-shell {
    border-radius: 15px;
  }

  .ifta-dashboard-topbar {
    min-height: 43px;
    padding: 7px 11px;
  }

  .ifta-dashboard {
    padding: 13px;
  }

  .ifta-dashboard-actions span {
    display: none;
  }

  .ifta-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 16px;
  }

  .ifta-dashboard-metrics > div {
    min-height: 77px;
  }

  .ifta-jurisdiction-table {
    display: grid;
    gap: 8px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .ifta-jurisdiction-head {
    display: none;
  }

  .ifta-jurisdiction-row {
    display: grid;
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
    border: 1px solid #dce5e1;
    border-radius: 10px;
    background: #ffffff;
    padding: 12px;
  }

  .ifta-jurisdiction-row.ifta-jurisdiction-head {
    display: none;
  }

  .ifta-jurisdiction-row > span,
  .ifta-jurisdiction-row > span:nth-child(4),
  .ifta-jurisdiction-row > span:nth-child(5) {
    display: grid;
    gap: 3px;
  }

  .ifta-jurisdiction-row > span::before {
    color: #8b9892;
    content: attr(data-label);
    font-size: 0.45rem;
    font-weight: 680;
  }

  .ifta-jurisdiction-row > span:first-child {
    display: flex;
    grid-column: 1 / -1;
    gap: 8px;
  }

  .ifta-jurisdiction-row > span:first-child::before {
    display: none;
  }

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

  .ifta-dashboard-footer strong {
    margin-left: 0;
  }
}

@media (max-width: 390px) {
  .workflow-bridge ol {
    grid-template-columns: 1fr;
    row-gap: 13px;
  }

  .mobile-record-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-route {
    gap: 7px;
    font-size: 0.65rem;
  }

  .ifta-demo-label {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ifta-dashboard-actions i {
    padding: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-bridge li,
  .workflow-step-copy,
  .ifta-dashboard-shell,
  .ifta-jurisdiction-row {
    opacity: 1 !important;
    transform: none !important;
  }

  .receipt-scan-line {
    display: none;
  }
}

/* Phase 3: feature overview, cross-platform showcase, conversion, FAQ, and footer. */
.marketing-page #features,
.marketing-page #reports,
.marketing-page #web-mobile,
.marketing-page #trial,
.marketing-page #faq {
  scroll-margin-top: 82px;
}

.phase-three-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 6vw, 7rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.75rem);
}

.phase-three-heading h2,
.platform-copy h2,
.trial-copy h2,
.faq-heading h2 {
  margin: 0;
  color: var(--marketing-ink);
  font-size: clamp(3rem, 5vw, 5.35rem);
  font-weight: 770;
  letter-spacing: -0.058em;
  line-height: 0.98;
  text-wrap: balance;
}

.phase-three-heading h2 {
  max-width: 13ch;
}

.phase-three-heading > p {
  max-width: 34rem;
  margin: 0 0 4px;
  color: var(--marketing-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.phase-three-reveal {
  opacity: 1;
  transform: none;
}

.marketing-js .phase-three-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 680ms var(--marketing-ease),
    transform 680ms var(--marketing-ease);
}

.marketing-js .phase-three-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bento feature overview */
.bento-section {
  padding: clamp(5.5rem, 10vw, 10rem) 0 clamp(6rem, 10vw, 9.5rem);
}

.bento-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: minmax(218px, auto);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--marketing-border);
  border-radius: var(--marketing-radius-md);
  color: var(--marketing-ink);
  background:
    radial-gradient(circle at 85% 0, rgba(92, 169, 145, 0.1), transparent 16rem),
    #ffffff;
  box-shadow: 0 18px 50px rgba(24, 57, 46, 0.065);
  padding: clamp(1.45rem, 2.2vw, 2rem);
  flex-direction: column;
  transition:
    border-color 220ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--marketing-ease);
}

.bento-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(50, 136, 111, 0.045));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .bento-card:hover {
    border-color: rgba(55, 130, 107, 0.42);
    box-shadow: 0 28px 70px rgba(19, 64, 50, 0.12);
    transform: translateY(-5px);
  }

  .bento-card:hover::after {
    opacity: 1;
  }
}

.bento-card-copy {
  position: relative;
  z-index: 2;
}

.bento-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--marketing-brand-deep);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.bento-kicker i {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 118, 100, 0.18);
  border-radius: 9px;
  background: rgba(20, 118, 100, 0.07);
  font-size: 0.57rem;
  font-style: normal;
}

.bento-card h3 {
  max-width: 21ch;
  margin: 15px 0 0;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 750;
  letter-spacing: -0.038em;
  line-height: 1.08;
  text-wrap: balance;
}

.bento-card p {
  max-width: 38rem;
  margin: 13px 0 0;
  color: var(--marketing-muted);
  font-size: 0.89rem;
  line-height: 1.58;
}

.bento-receipt {
  min-height: 540px;
  grid-column: span 7;
  grid-row: span 2;
}

.bento-trips,
.bento-fuel {
  min-height: 260px;
  grid-column: span 5;
}

.bento-expenses {
  min-height: 440px;
  grid-column: span 5;
  grid-row: span 2;
}

.bento-ifta {
  min-height: 440px;
  grid-column: span 7;
  grid-row: span 2;
}

.bento-reports {
  min-height: 345px;
  grid-column: span 7;
}

.bento-platforms {
  min-height: 345px;
  grid-column: span 5;
  background:
    radial-gradient(circle at 90% 10%, rgba(125, 189, 168, 0.18), transparent 18rem),
    var(--marketing-surface-tinted);
}

.bento-receipt-demo {
  position: relative;
  display: grid;
  min-height: 250px;
  align-items: end;
  grid-template-columns: minmax(135px, 0.72fr) minmax(210px, 1.28fr);
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
}

.bento-receipt-paper {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  max-width: 210px;
  min-height: 244px;
  justify-self: end;
  border: 1px solid #dfe2dc;
  border-radius: 9px 9px 5px 5px;
  color: #68756f;
  background:
    repeating-linear-gradient(180deg, transparent 0 24px, rgba(77, 99, 90, 0.035) 24px 25px),
    #fffef8;
  box-shadow: 0 15px 36px rgba(24, 52, 43, 0.11);
  padding: 20px;
  gap: 6px;
  transform: rotate(-1.5deg);
}

.bento-receipt-paper > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: var(--marketing-brand-deep);
  font-size: 0.57rem;
  font-style: normal;
  font-weight: 850;
}

.bento-receipt-paper strong {
  margin-top: 4px;
  color: #28473d;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.bento-receipt-paper span {
  font-size: 0.62rem;
}

.bento-receipt-paper b {
  margin-top: 9px;
  border-top: 1px dashed #bdc9c3;
  padding-top: 10px;
  color: #22463a;
  font-size: 1rem;
}

.bento-receipt-paper small {
  font-size: 0.52rem;
}

.bento-scan-line {
  position: absolute;
  z-index: 2;
  top: 16%;
  right: 8px;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #3eaa8e 18%, #8dd8c1 50%, #3eaa8e 82%, transparent);
  box-shadow: 0 0 13px rgba(49, 173, 139, 0.55);
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .bento-receipt:hover .bento-scan-line {
    animation: bento-scan-once 900ms ease-out both;
  }
}

@keyframes bento-scan-once {
  0% { opacity: 0; transform: translateY(0); }
  15% { opacity: 0.95; }
  80% { opacity: 0.95; }
  100% { opacity: 0; transform: translateY(185px); }
}

.bento-extraction-panel {
  align-self: end;
  border: 1px solid #dbe6e1;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(23, 58, 47, 0.1);
  padding: 15px;
}

.bento-extraction-panel > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #e4ece8;
  padding-bottom: 11px;
  color: #34564b;
  font-size: 0.66rem;
  font-weight: 780;
}

.bento-extraction-panel em {
  border-radius: 999px;
  color: #26664f;
  background: #e8f4ee;
  padding: 5px 7px;
  font-size: 0.49rem;
  font-style: normal;
}

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

.bento-extraction-panel dl > div {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  background: #f4f7f5;
  padding: 9px;
  transition: background 220ms ease;
}

.bento-receipt:hover .bento-extraction-panel dl > div {
  background: #edf6f1;
}

.bento-extraction-panel dt,
.bento-expense-demo dt,
.platform-browser-workspace dt,
.platform-phone dt {
  color: #81918a;
  font-size: 0.49rem;
}

.bento-extraction-panel dd,
.bento-expense-demo dd,
.platform-browser-workspace dd,
.platform-phone dd {
  overflow: hidden;
  margin: 0;
  color: #294b40;
  font-size: 0.61rem;
  font-weight: 730;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bento-trip-demo {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 0.7fr minmax(0, 1fr);
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.bento-trip-demo > div {
  display: grid;
  gap: 4px;
}

.bento-trip-demo > div:last-of-type {
  text-align: right;
}

.bento-trip-demo div span {
  color: #84928c;
  font-size: 0.52rem;
}

.bento-trip-demo div strong {
  color: #2c4d42;
  font-size: 0.69rem;
}

.bento-trip-demo > b {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  background: #d7e3de;
}

.bento-trip-demo > b i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #74b59f, var(--marketing-brand));
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 700ms var(--marketing-ease);
}

.bento-trips:hover .bento-trip-demo > b i {
  transform: scaleX(1);
}

.bento-trip-demo > small {
  display: flex;
  justify-content: space-between;
  grid-column: 1 / -1;
  border-top: 1px solid #e3eae7;
  margin-top: 5px;
  padding-top: 10px;
  color: #6d7e77;
  font-size: 0.52rem;
}

.bento-fuel-demo {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.bento-fuel-demo > div {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
}

.bento-fuel-demo span {
  color: #6f8079;
  font-size: 0.61rem;
}

.bento-fuel-demo strong {
  color: #294c40;
  font-size: 0.67rem;
}

.bento-fuel-demo i {
  position: relative;
  height: 5px;
  overflow: hidden;
  grid-column: 1 / -1;
  border-radius: 999px;
  background: #e2ebe7;
}

.bento-fuel-demo i::after {
  position: absolute;
  inset: 0;
  width: var(--meter);
  border-radius: inherit;
  background: linear-gradient(90deg, #7ab49f, var(--marketing-brand));
  content: "";
  transform: scaleX(0.7);
  transform-origin: left;
  transition: transform 520ms var(--marketing-ease);
}

.bento-fuel:hover .bento-fuel-demo i::after {
  transform: scaleX(1);
}

.bento-expense-demo {
  display: grid;
  gap: 14px;
  margin-top: auto;
  border: 1px solid #dce6e1;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(23, 57, 47, 0.08);
  padding: 16px;
}

.bento-record-heading,
.bento-record-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento-record-heading span {
  color: #416158;
  font-size: 0.64rem;
  font-weight: 740;
}

.bento-record-heading strong {
  color: #214a3d;
  font-size: 1.03rem;
}

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

.bento-expense-demo dl > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border-radius: 8px;
  background: #f4f7f5;
  padding: 10px;
}

.bento-record-status {
  border-top: 1px solid #e1e9e5;
  padding-top: 12px;
  color: #507268;
  font-size: 0.55rem;
}

.bento-ifta {
  color: #f4fbf8;
  background:
    radial-gradient(circle at 85% 10%, rgba(76, 174, 141, 0.22), transparent 18rem),
    linear-gradient(145deg, #0c3d35, #082e29);
  border-color: rgba(117, 178, 157, 0.25);
}

.bento-ifta .bento-kicker,
.bento-ifta h3 {
  color: #f4fbf8;
}

.bento-ifta .bento-kicker i {
  border-color: rgba(160, 223, 201, 0.2);
  background: rgba(191, 235, 220, 0.1);
}

.bento-ifta p {
  color: #bcd0c9;
}

.bento-ifta-demo {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.bento-ifta-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid rgba(194, 226, 215, 0.14);
  padding-bottom: 14px;
  color: #b9d0c8;
  font-size: 0.65rem;
}

.bento-ifta-summary strong {
  color: #ffffff;
  font-size: 1.35rem;
}

.bento-ifta-summary small {
  color: #98b5ab;
  font-size: 0.5rem;
  font-weight: 600;
}

.bento-ifta-row {
  display: grid;
  align-items: center;
  grid-template-columns: 1.5fr 0.8fr 0.7fr;
  gap: 12px;
  border-radius: 9px;
  padding: 8px 9px;
  color: #adc5bc;
  font-size: 0.58rem;
  transition: background 200ms ease;
}

.bento-ifta-row span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-ifta-row i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  color: #cff1e4;
  background: rgba(167, 222, 203, 0.11);
  font-size: 0.49rem;
  font-style: normal;
  font-weight: 800;
}

.bento-ifta-row strong {
  justify-self: end;
  color: #f2fbf8;
}

.bento-ifta:hover .bento-ifta-row {
  background: rgba(183, 229, 213, 0.065);
}

.bento-ifta:hover .bento-ifta-row:nth-child(3) { transition-delay: 70ms; }
.bento-ifta:hover .bento-ifta-row:nth-child(4) { transition-delay: 140ms; }

.bento-ifta-note {
  margin-top: 5px;
  color: #819f95;
  font-size: 0.49rem;
}

.bento-report-demo {
  display: grid;
  width: min(100%, 430px);
  gap: 9px;
  margin-top: auto;
  border: 1px solid #dbe5e0;
  border-radius: 14px 14px 5px 5px;
  background: #ffffff;
  box-shadow: 0 15px 34px rgba(24, 56, 46, 0.09);
  padding: 15px;
  transform: translateY(8px);
  transition: transform 300ms var(--marketing-ease);
}

.bento-reports:hover .bento-report-demo {
  transform: translateY(0);
}

.bento-report-demo > div,
.bento-report-demo > b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento-report-demo > div {
  border-bottom: 1px solid #e0e8e4;
  padding-bottom: 10px;
  color: #294b40;
  font-size: 0.65rem;
  font-weight: 760;
}

.bento-report-demo > div i {
  border-radius: 999px;
  color: #2b6955;
  background: #e8f3ee;
  padding: 4px 7px;
  font-size: 0.48rem;
  font-style: normal;
}

.bento-report-demo > b {
  color: #71817a;
  font-size: 0.54rem;
  font-weight: 600;
}

.bento-report-demo > b strong {
  color: #36725e;
}

.bento-report-demo > small {
  color: #7c8c86;
  font-size: 0.5rem;
}

.bento-platform-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}

.bento-platform-demo span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(20, 103, 86, 0.13);
  border-radius: 14px;
  color: var(--marketing-brand-deep);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 25px rgba(29, 70, 56, 0.07);
  font-size: 0.56rem;
  font-weight: 840;
}

.bento-platform-demo i {
  width: 18px;
  height: 1px;
  background: #9cbbb0;
}

/* Web and mobile */
.platform-section {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(340px, 0.78fr) minmax(500px, 1.22fr);
  gap: clamp(2.5rem, 4.6vw, 5.5rem);
  overflow: hidden;
  margin: 0 calc(clamp(0px, 2vw, 26px) * -1) clamp(6rem, 10vw, 9rem);
  border: 1px solid #d8e5df;
  border-radius: var(--marketing-radius-lg);
  background:
    radial-gradient(circle at 86% 13%, rgba(72, 164, 137, 0.16), transparent 25rem),
    linear-gradient(135deg, #eff6f2, #f7f8f3 68%);
  padding: clamp(3rem, 5.5vw, 6rem) clamp(1.5rem, 5vw, 5.5rem);
}

.platform-copy {
  position: relative;
  z-index: 3;
}

.platform-copy h2 {
  max-width: 9.5ch;
}

.platform-copy > p:not(.eyebrow) {
  max-width: 35rem;
  margin: 24px 0 0;
  color: var(--marketing-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.platform-strengths {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.platform-strengths > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 13px;
  border-top: 1px solid rgba(42, 97, 79, 0.13);
  padding-top: 13px;
}

.platform-strengths span {
  color: var(--marketing-brand-deep);
  font-size: 0.75rem;
  font-weight: 810;
}

.platform-strengths p {
  margin: 0;
  color: #5d7069;
  font-size: 0.76rem;
  line-height: 1.55;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.platform-web-cta,
.store-badge {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  transition:
    box-shadow 180ms ease,
    transform 180ms var(--marketing-ease);
}

.platform-web-cta {
  width: 100%;
  justify-content: space-between;
  border: 1px solid var(--marketing-brand-deep);
  color: #ffffff;
  background: var(--marketing-brand-deep);
  padding: 12px 17px;
  font-size: 0.84rem;
  font-weight: 790;
}

.platform-web-cta i {
  font-style: normal;
}

.store-badge {
  min-width: 142px;
  gap: 9px;
  border: 1px solid #1d2d28;
  color: #ffffff;
  background: #12251f;
  padding: 8px 13px;
}

.store-badge > i {
  font-size: 0.9rem;
  font-style: normal;
}

.store-badge > span {
  display: grid;
  font-size: 0.78rem;
  font-weight: 730;
  line-height: 1.05;
}

.store-badge small {
  font-size: 0.48rem;
  font-weight: 550;
}

.platform-web-cta:hover,
.store-badge:hover {
  color: #ffffff;
  box-shadow: 0 13px 28px rgba(18, 55, 43, 0.18);
  transform: translateY(-2px);
}

.platform-composition {
  position: relative;
  min-width: 0;
  min-height: 565px;
  margin: 0;
}

.platform-browser {
  position: absolute;
  top: 15px;
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 77, 61, 0.2);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 34px 80px rgba(13, 52, 40, 0.18);
}

.platform-browser-bar {
  display: grid;
  height: 44px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  border-bottom: 1px solid #e3ebe7;
  background: #f8faf8;
  padding: 0 15px;
  color: #687972;
  font-size: 0.54rem;
}

.platform-browser-bar > span {
  display: flex;
  gap: 5px;
}

.platform-browser-bar > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8c5c0;
}

.platform-browser-bar > span i:first-child { background: #cf9b7a; }
.platform-browser-bar > span i:nth-child(2) { background: #d7bf72; }
.platform-browser-bar > span i:last-child { background: #6eae96; }

.platform-browser-bar b {
  border: 1px solid #e0e8e4;
  border-radius: 999px;
  background: #ffffff;
  padding: 6px 22px;
  font-weight: 690;
}

.platform-browser-bar small {
  justify-self: end;
  font-size: 0.5rem;
}

.platform-browser-body {
  display: grid;
  min-height: 385px;
  grid-template-columns: 124px 1fr;
}

.platform-browser-body > aside {
  display: flex;
  gap: 11px;
  border-right: 1px solid #e4ebe8;
  background: #f5f8f6;
  padding: 18px 12px;
  flex-direction: column;
}

.platform-browser-body > aside strong {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  margin-bottom: 9px;
  border-radius: 9px;
  color: #ffffff;
  background: var(--marketing-brand-deep);
  font-size: 0.54rem;
}

.platform-browser-body > aside span {
  border-radius: 7px;
  color: #71817a;
  padding: 7px 8px;
  font-size: 0.54rem;
  font-weight: 650;
}

.platform-browser-body > aside span.is-active {
  color: #23604d;
  background: #e4f0ea;
}

.platform-browser-workspace {
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.platform-record-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform-record-title > span {
  display: grid;
  gap: 4px;
}

.platform-record-title small,
.platform-record-amount span,
.platform-record-amount small,
.platform-linked-record small {
  color: #84918c;
  font-size: 0.52rem;
}

.platform-record-title strong {
  color: #24483c;
  font-size: 1.12rem;
}

.platform-record-title > i {
  border-radius: 999px;
  color: #2c6a56;
  background: #e8f3ee;
  padding: 6px 9px;
  font-size: 0.49rem;
  font-style: normal;
  font-weight: 710;
}

.platform-record-amount {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  border-radius: 11px;
  background: #f2f6f4;
  padding: 14px;
}

.platform-record-amount strong {
  color: #1e493b;
  font-size: 1.45rem;
}

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

.platform-browser-workspace dl > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #e3eae7;
  border-radius: 9px;
  padding: 10px;
}

.platform-linked-record {
  display: grid;
  align-items: center;
  grid-template-columns: 29px 1fr auto;
  gap: 9px;
  margin-top: 10px;
  border: 1px solid #dfe8e4;
  border-radius: 10px;
  padding: 9px;
}

.platform-linked-record > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  color: #28705a;
  background: #e8f3ee;
  font-size: 0.63rem;
}

.platform-linked-record > div {
  display: grid;
  gap: 3px;
}

.platform-linked-record strong {
  color: #34564b;
  font-size: 0.59rem;
}

.platform-linked-record > i {
  color: #31725d;
  font-size: 0.5rem;
  font-style: normal;
}

.platform-phone {
  position: absolute;
  z-index: 2;
  right: -4px;
  bottom: 37px;
  display: flex;
  width: 190px;
  min-height: 352px;
  overflow: hidden;
  border: 5px solid #112b24;
  border-radius: 31px;
  color: #294a3f;
  background: #fbfdfb;
  box-shadow: 0 25px 55px rgba(11, 44, 34, 0.27);
  padding: 25px 14px 16px;
  flex-direction: column;
}

.platform-phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 58px;
  height: 13px;
  border-radius: 999px;
  background: #112b24;
  transform: translateX(-50%);
}

.platform-phone-label {
  margin-top: 10px;
  color: #7d8c86;
  font-size: 0.53rem;
}

.platform-phone > strong {
  margin-top: 4px;
  font-size: 0.85rem;
}

.platform-phone > b {
  margin-top: 16px;
  color: #174a39;
  font-size: 1.65rem;
}

.platform-phone > div:not(.platform-phone-notch) {
  display: grid;
  gap: 4px;
  margin-top: 15px;
  border-radius: 10px;
  background: #eff5f2;
  padding: 10px;
  font-size: 0.59rem;
}

.platform-phone > div small {
  color: #75867f;
  font-size: 0.48rem;
}

.platform-phone dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 8px 0 0;
}

.platform-phone dl > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #e0e9e5;
  border-radius: 8px;
  padding: 8px;
}

.platform-phone-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  border-radius: 999px;
  color: #2b6955;
  background: #e5f2ec;
  padding: 8px;
  font-size: 0.5rem;
}

.platform-phone-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b9777;
}

.platform-account-note {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 32px;
  display: grid;
  align-items: center;
  grid-template-columns: 35px 1fr;
  gap: 10px;
  border: 1px solid rgba(36, 92, 73, 0.15);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 17px 40px rgba(19, 58, 45, 0.15);
  padding: 11px 14px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.platform-account-note > i {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: var(--marketing-brand);
  font-size: 0.7rem;
  font-style: normal;
}

.platform-account-note > span {
  display: grid;
  gap: 3px;
  color: #2c5044;
  font-size: 0.6rem;
  font-weight: 760;
}

.platform-account-note small {
  color: #74867f;
  font-size: 0.49rem;
  font-weight: 560;
}

.platform-composition figcaption {
  position: absolute;
  right: 210px;
  bottom: 4px;
  left: 200px;
  color: #71827b;
  font-size: 0.52rem;
  line-height: 1.4;
  text-align: center;
}

/* Trial conversion */
.trial-section {
  position: relative;
  display: grid;
  overflow: hidden;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  margin-bottom: clamp(6rem, 10vw, 9rem);
  border: 1px solid rgba(139, 198, 178, 0.18);
  border-radius: var(--marketing-radius-lg);
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(18, 91, 76, 0.2), transparent 48%),
    #082f2a;
  box-shadow: 0 32px 80px rgba(10, 50, 42, 0.18);
  padding: clamp(3rem, 6vw, 6rem);
}

.trial-glow {
  position: absolute;
  top: -220px;
  right: -100px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 171, 140, 0.24), transparent 68%);
  pointer-events: none;
}

.trial-copy,
.trial-actions {
  position: relative;
  z-index: 1;
}

.trial-copy .eyebrow {
  color: #94d6c1;
}

.trial-copy h2 {
  max-width: 12ch;
  color: #ffffff;
}

.trial-copy > p:last-child {
  margin: 22px 0 0;
  color: #bed3cc;
  font-size: 1rem;
}

.trial-actions {
  display: flex;
  min-width: min(100%, 290px);
  align-items: center;
  flex-direction: column;
  gap: 12px;
}

.trial-actions a:first-child {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 999px;
  color: #0a3c31;
  background: #f5fbf8;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  padding: 13px 20px;
  font-size: 0.82rem;
  font-weight: 820;
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms var(--marketing-ease);
}

.trial-actions a:first-child:hover {
  color: #062f28;
  background: #ffffff;
  transform: translateY(-2px);
}

.trial-actions i {
  font-style: normal;
}

.trial-actions a:last-child {
  min-height: 44px;
  color: #d2e5df;
  padding: 11px 20px;
  font-size: 0.77rem;
  font-weight: 720;
  text-underline-offset: 4px;
}

.trial-actions a:last-child:hover {
  color: #ffffff;
}

/* FAQ */
.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(480px, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: 0 0 clamp(6rem, 11vw, 10rem);
}

.faq-heading {
  align-self: start;
  position: sticky;
  top: 122px;
}

.faq-heading h2 {
  max-width: 9.5ch;
}

.faq-heading > p:last-child {
  max-width: 29rem;
  margin: 23px 0 0;
  color: var(--marketing-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-list {
  border-top: 1px solid var(--marketing-border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--marketing-border-strong);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: grid;
  width: 100%;
  min-height: 76px;
  align-items: center;
  grid-template-columns: 1fr 26px;
  gap: 20px;
  border: 0;
  color: var(--marketing-ink);
  background: transparent;
  padding: 19px 2px;
  font: inherit;
  font-size: 1rem;
  font-weight: 730;
  text-align: left;
  cursor: pointer;
}

.faq-item button:hover {
  color: var(--marketing-brand-deep);
}

.faq-item button i {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid var(--marketing-border-strong);
  border-radius: 50%;
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--marketing-brand-deep);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 220ms var(--marketing-ease);
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open button i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows 260ms var(--marketing-ease),
    visibility 0ms;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 49rem;
  margin: 0;
  color: var(--marketing-muted);
  padding: 0 44px 24px 2px;
  font-size: 0.91rem;
  line-height: 1.68;
}

.marketing-js .faq-item:not(.is-open) .faq-answer {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 260ms var(--marketing-ease),
    visibility 0ms 260ms;
}

/* Professional footer */
.marketing-footer {
  color: #cadbd5;
  background:
    radial-gradient(circle at 12% 0, rgba(56, 136, 113, 0.16), transparent 29rem),
    #071f1c;
  padding: clamp(4rem, 7vw, 6.5rem) max(24px, calc((100vw - var(--marketing-content)) / 2));
}

.marketing-footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(600px, 1.35fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.marketing-footer-brand .marketing-brand {
  display: inline-flex;
  color: #ffffff;
}

.marketing-footer-brand .marketing-brand-mark {
  color: #0a473b;
  background: #dff2eb;
}

.marketing-footer-brand > p {
  max-width: 20rem;
  margin: 22px 0 0;
  color: #9bb2aa;
  font-size: 0.88rem;
  line-height: 1.65;
}

.marketing-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.marketing-footer-links > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
}

.marketing-footer-links h2 {
  margin: 0 0 5px;
  color: #6f8e84;
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.marketing-footer-links a {
  color: #c5d7d1;
  font-size: 0.76rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease;
}

.marketing-footer-links a:hover {
  color: #ffffff;
}

.marketing-footer-links a span {
  color: #6e9588;
}

.marketing-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(184, 215, 205, 0.12);
  padding-top: 24px;
}

.marketing-footer-bottom p {
  margin: 0;
  color: #779189;
  font-size: 0.68rem;
}

.marketing-footer-bottom > div {
  display: flex;
  gap: 18px;
}

.marketing-footer-bottom a {
  color: #9eb4ad;
  font-size: 0.68rem;
  text-decoration: none;
}

.marketing-footer-bottom a:hover {
  color: #ffffff;
}

/* Phase 3 responsive */
@media (max-width: 1180px) {
  .bento-receipt,
  .bento-reports {
    grid-column: span 7;
  }

  .bento-trips,
  .bento-fuel,
  .bento-platforms {
    grid-column: span 5;
  }

  .platform-section {
    grid-template-columns: minmax(310px, 0.75fr) minmax(430px, 1.25fr);
  }

  .platform-composition {
    min-height: 520px;
  }

  .platform-browser-body {
    grid-template-columns: 102px 1fr;
  }

  .platform-phone {
    width: 170px;
    min-height: 326px;
  }

  .marketing-footer-main {
    grid-template-columns: 220px 1fr;
    gap: 4rem;
  }
}

@media (max-width: 960px) {
  .phase-three-heading {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .phase-three-heading > p {
    max-width: 42rem;
  }

  .bento-grid {
    grid-auto-flow: row;
    grid-auto-rows: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-receipt,
  .bento-ifta,
  .bento-reports {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-trips,
  .bento-fuel {
    min-height: 310px;
    grid-column: span 1;
    grid-row: auto;
  }

  .bento-expenses,
  .bento-platforms {
    min-height: 310px;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-receipt {
    min-height: 510px;
  }

  .bento-ifta {
    min-height: 430px;
  }

  .platform-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .platform-copy {
    max-width: 690px;
  }

  .platform-copy h2 {
    max-width: 11ch;
  }

  .platform-composition {
    width: min(100%, 720px);
    min-height: 565px;
    margin: 0 auto;
  }

  .trial-section {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .trial-actions {
    align-items: flex-start;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .faq-heading {
    position: static;
  }

  .faq-heading h2 {
    max-width: 12ch;
  }

  .marketing-footer-main {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .marketing-footer-links {
    gap: 35px 24px;
  }

  .marketing-page #features,
  .marketing-page #reports,
  .marketing-page #web-mobile,
  .marketing-page #trial,
  .marketing-page #faq {
    scroll-margin-top: 75px;
  }
}

@media (max-width: 680px) {
  .phase-three-heading h2,
  .platform-copy h2,
  .trial-copy h2,
  .faq-heading h2 {
    font-size: clamp(2.55rem, 12.7vw, 3.55rem);
  }

  .bento-section {
    padding: 5rem 0 5.5rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bento-receipt,
  .bento-trips,
  .bento-fuel,
  .bento-expenses,
  .bento-ifta,
  .bento-reports,
  .bento-platforms {
    min-height: 0;
    grid-column: 1;
  }

  .bento-card {
    border-radius: 17px;
    padding: 21px;
  }

  .bento-card h3 {
    font-size: 1.55rem;
  }

  .bento-receipt-demo {
    min-height: 0;
    grid-template-columns: minmax(95px, 0.66fr) minmax(165px, 1.34fr);
  }

  .bento-receipt-paper {
    min-height: 218px;
    padding: 15px;
  }

  .bento-extraction-panel {
    padding: 11px;
  }

  .bento-extraction-panel > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .bento-extraction-panel dl {
    grid-template-columns: 1fr;
  }

  .bento-extraction-panel dl > div:nth-child(n + 4) {
    display: none;
  }

  .bento-trips,
  .bento-fuel,
  .bento-expenses,
  .bento-ifta,
  .bento-reports,
  .bento-platforms {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .bento-trip-demo,
  .bento-fuel-demo,
  .bento-expense-demo,
  .bento-ifta-demo,
  .bento-report-demo,
  .bento-platform-demo {
    margin-top: 28px;
  }

  .bento-ifta-row {
    grid-template-columns: 1.35fr 0.8fr 0.65fr;
    padding-right: 0;
    padding-left: 0;
  }

  .platform-section {
    gap: 3rem;
    margin-right: 0;
    margin-bottom: 5.5rem;
    margin-left: 0;
    border-radius: 20px;
    padding: 3rem 21px;
  }

  .platform-strengths > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .platform-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .platform-web-cta {
    grid-column: 1 / -1;
  }

  .store-badge {
    min-width: 0;
    padding: 8px 10px;
  }

  .platform-composition {
    min-height: 440px;
  }

  .platform-browser {
    top: 0;
    right: -8px;
    left: -8px;
    border-radius: 13px;
  }

  .platform-browser-bar {
    height: 36px;
    grid-template-columns: auto 1fr;
    padding: 0 9px;
  }

  .platform-browser-bar b {
    justify-self: end;
    padding: 4px 9px;
  }

  .platform-browser-bar small,
  .platform-browser-body > aside {
    display: none;
  }

  .platform-browser-body {
    min-height: 295px;
    grid-template-columns: 1fr;
  }

  .platform-browser-workspace {
    padding: 17px;
  }

  .platform-record-amount {
    margin-top: 15px;
  }

  .platform-phone {
    right: -4px;
    bottom: 38px;
    width: 143px;
    min-height: 278px;
    border-width: 4px;
    border-radius: 24px;
    padding: 20px 10px 11px;
  }

  .platform-phone-notch {
    top: 5px;
    width: 45px;
    height: 10px;
  }

  .platform-phone > b {
    margin-top: 10px;
    font-size: 1.3rem;
  }

  .platform-phone > div:not(.platform-phone-notch) {
    margin-top: 10px;
    padding: 8px;
  }

  .platform-phone dl {
    grid-template-columns: 1fr;
  }

  .platform-account-note {
    bottom: 9px;
    left: -4px;
    max-width: 196px;
    grid-template-columns: 30px 1fr;
    padding: 9px;
  }

  .platform-account-note > i {
    width: 30px;
    height: 30px;
  }

  .platform-composition figcaption {
    display: none;
  }

  .trial-section {
    gap: 2rem;
    margin-bottom: 5.5rem;
    border-radius: 20px;
    padding: 3.2rem 22px;
  }

  .trial-actions {
    width: 100%;
    min-width: 0;
  }

  .faq-section {
    gap: 2.5rem;
    padding-bottom: 5.5rem;
  }

  .faq-item button {
    min-height: 68px;
    grid-template-columns: 1fr 26px;
    font-size: 0.91rem;
  }

  .faq-answer p {
    padding-right: 4px;
    font-size: 0.87rem;
  }

  .marketing-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

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

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

  .marketing-page #features,
  .marketing-page #reports,
  .marketing-page #web-mobile,
  .marketing-page #trial,
  .marketing-page #faq {
    scroll-margin-top: 69px;
  }
}

@media (max-width: 390px) {
  .bento-receipt-demo {
    grid-template-columns: minmax(90px, 0.62fr) minmax(145px, 1.38fr);
    gap: 10px;
  }

  .bento-receipt-paper {
    min-height: 207px;
    padding: 13px;
  }

  .bento-extraction-panel {
    padding: 9px;
  }

  .bento-extraction-panel em {
    font-size: 0.43rem;
  }

  .bento-trip-demo > small {
    gap: 6px;
    flex-wrap: wrap;
  }

  .bento-ifta-row {
    gap: 6px;
    font-size: 0.51rem;
  }

  .platform-actions {
    grid-template-columns: 1fr;
  }

  .platform-web-cta {
    grid-column: 1;
  }

  .platform-record-title > i {
    display: none;
  }

  .marketing-footer-links {
    gap: 34px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phase-three-reveal,
  .marketing-js .phase-three-reveal,
  .marketing-js .phase-three-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .bento-scan-line {
    display: none;
  }

  .bento-card,
  .bento-trip-demo > b i,
  .bento-fuel-demo i::after,
  .bento-report-demo,
  .faq-answer {
    transition: none !important;
  }
}
