:root {
  --black: #202020;
  --orange: #ff6b03;
  --muted: #6e6e6e;
  --line: #bababa;
  --soft: #f5f5f5;
  --white: #ffffff;
  --green: #d3f6e3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--black);
  font-family: Inter, Arial, sans-serif;
  background: var(--white);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .site-header.nav-intro {
    animation: nav-shell-arrive 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .site-header.nav-intro::after {
    animation: nav-accent-sweep 980ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
  }

  .site-header.nav-intro .brand {
    animation: nav-logo-arrive 760ms cubic-bezier(0.16, 1, 0.3, 1) 90ms both;
  }

  .site-header.nav-intro .nav-links a {
    animation: nav-item-arrive 560ms cubic-bezier(0.16, 1, 0.3, 1) var(--nav-intro-delay) both;
  }

  .site-header.nav-intro .nav-links a::after {
    animation: nav-link-spark 520ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--nav-intro-delay) + 170ms) both;
  }

  .site-header.nav-intro .nav-actions .btn {
    animation: nav-item-arrive 560ms cubic-bezier(0.16, 1, 0.3, 1) var(--nav-intro-delay) both;
  }

  .site-header.nav-intro .nav-actions .btn-dark {
    animation:
      nav-item-arrive 560ms cubic-bezier(0.16, 1, 0.3, 1) var(--nav-intro-delay) both,
      nav-cta-glow 700ms ease-out 840ms both;
  }

  .site-header.nav-intro .menu-toggle {
    animation: nav-item-arrive 560ms cubic-bezier(0.16, 1, 0.3, 1) 260ms both;
  }

  .site-header.nav-intro .menu-toggle span {
    animation: nav-toggle-flash 720ms ease-out 360ms both;
  }

  .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
      opacity 720ms ease,
      transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .reveal-left {
    transform: translateX(-34px);
  }

  .reveal-right {
    transform: translateX(34px);
  }

  .reveal-fade {
    transform: none;
  }

  .reveal.is-visible,
  .reveal-left.is-visible,
  .reveal-right.is-visible,
  .reveal-fade.is-visible {
    opacity: 1;
    transform: translate(0, 0);
  }

  @keyframes nav-shell-arrive {
    from {
      opacity: 0.6;
      transform: translateY(-18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes nav-logo-arrive {
    0% {
      opacity: 0;
      transform: translateX(-20px) rotate(-2deg) scale(0.92);
    }

    72% {
      opacity: 1;
      transform: translateX(3px) rotate(0.4deg) scale(1.015);
    }

    100% {
      opacity: 1;
      transform: translateX(0) rotate(0) scale(1);
    }
  }

  @keyframes nav-item-arrive {
    from {
      opacity: 0;
      transform: translateY(-13px) scale(0.96);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes nav-accent-sweep {
    0% {
      opacity: 0;
      transform: scaleX(0);
    }

    16% {
      opacity: 1;
    }

    76% {
      opacity: 1;
      transform: scaleX(1);
    }

    100% {
      opacity: 0;
      transform: scaleX(1);
    }
  }

  @keyframes nav-link-spark {
    0% {
      opacity: 0;
      transform: translateX(-50%) scaleX(0);
    }

    48% {
      opacity: 1;
      transform: translateX(-50%) scaleX(1);
    }

    100% {
      opacity: 0;
      transform: translateX(-50%) scaleX(0.35);
    }
  }

  @keyframes nav-cta-glow {
    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(255, 107, 3, 0);
    }

    42% {
      box-shadow: 0 0 0 7px rgba(255, 107, 3, 0.22);
    }
  }

  @keyframes nav-toggle-flash {
    0%,
    100% {
      background: var(--black);
    }

    45% {
      background: var(--orange);
    }
  }
}

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

  .site-header,
  .nav,
  .brand-logo-horizontal,
  .contact-modal,
  .contact-modal::backdrop {
    transition: none !important;
  }
}

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

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

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

.shell {
  width: min(100% - 48px, 1344px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 22%, #ff9c5a 50%, var(--orange) 78%, transparent 100%);
  opacity: 0;
  transform: scaleX(0.18);
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.site-header:not(.is-scrolled)::after {
  opacity: 0.42;
  transform: scaleX(0.72);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(32, 32, 32, 0.08);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: min-height 220ms ease;
}

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

.brand-logo {
  display: block;
  height: auto;
  flex: 0 0 auto;
}

.brand-logo-horizontal {
  width: 250px;
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled .nav {
  min-height: 64px;
}

.site-header.is-scrolled .brand-logo-horizontal {
  width: 206px;
}

.brand-logo-stacked {
  width: 180px;
}

.nav-links,
.nav-actions,
.button-row {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 48px;
  font-weight: 700;
  font-size: 16px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  pointer-events: none;
}

.nav-links a:nth-child(1) {
  --nav-intro-delay: 190ms;
}

.nav-links a:nth-child(2) {
  --nav-intro-delay: 260ms;
}

.nav-links a:nth-child(3) {
  --nav-intro-delay: 330ms;
}

.nav-links a:nth-child(4) {
  --nav-intro-delay: 400ms;
}

.nav-actions .btn:nth-child(1) {
  --nav-intro-delay: 480ms;
}

.nav-actions .btn:nth-child(2) {
  --nav-intro-delay: 560ms;
}

.nav-actions,
.button-row {
  gap: 16px;
}

.btn {
  border: 2px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.35;
  white-space: nowrap;
}

.btn-small {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 16px;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-outline {
  border-color: var(--black);
}

.btn-light-outline {
  border-color: var(--white);
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 60px 0 40px;
  overflow: hidden;
}

.hero-grid {
  min-height: 484px;
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(560px, 713px);
  align-items: center;
  gap: 56px;
}

.hero-copy h1,
.marketplace h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1.26;
  font-weight: 600;
}

.hero-copy h1 {
  max-width: 680px;
}

.hero-copy h1 span,
.section-title h2 span,
.feature-list h2 span,
.marketplace h2 span,
.testimonials h2 span {
  color: var(--orange);
}

.hero-copy p {
  max-width: 582px;
  margin: 24px 0 32px;
  font-size: 20px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 424px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px -44px 0 -40px;
  background-image: url("assets/dot-pattern.png");
  background-size: 32px 32px;
  z-index: -2;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 92%;
  height: 70%;
  border-radius: 20px;
  background: #cce7ff;
  z-index: -1;
}

.dashboard {
  position: absolute;
  right: 30px;
  top: 30px;
  width: min(632px, 92%);
  padding: 24px;
  border-radius: 16px 16px 0 0;
  background: var(--white);
  box-shadow: 0 4px 46px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.dashboard::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.dashboard-top,
.trip-card > div,
.inventory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-top strong {
  font-size: 20px;
}

.dashboard-top span,
.dashboard-top b {
  font-size: 14px;
  color: var(--muted);
}

.dashboard-top b {
  display: inline-block;
  margin-left: 8px;
  color: var(--black);
  background: var(--soft);
  padding: 8px 12px;
  border-radius: 6px;
}

.skeleton-bars {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.skeleton-bars i {
  display: block;
  height: 14px;
  border-radius: 4px;
  background: var(--soft);
}

.skeleton-bars i:nth-child(1) {
  width: 120px;
}

.skeleton-bars i:nth-child(2) {
  width: 60px;
}

.skeleton-bars i:nth-child(3) {
  width: 79px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  font-weight: 800;
  background: rgba(245, 245, 245, 0.65);
}

tr.highlight td {
  background: #ffe400;
  font-weight: 800;
}

.trip-card {
  position: absolute;
  left: 0;
  bottom: -16px;
  width: min(398px, 80%);
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.trip-card p {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.trip-card span,
.trip-card button {
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  font-weight: 800;
  background: var(--soft);
}

.trip-card button {
  background: var(--black);
  color: var(--white);
}

.client-logos {
  padding: 80px 24px 60px;
  text-align: center;
}

.client-logos p,
.integration-logos > p:first-child {
  margin: 0 0 24px;
  font-size: 16px;
}

.logo-strip,
.integration-list {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 28px;
  font-size: 28px;
  font-weight: 800;
}

.logo-strip > span {
  min-height: 56px;
  display: grid;
  place-items: center;
}

.section-muted {
  background: var(--soft);
}

.steps {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin: 0 auto 60px;
}

.section-title h2,
.feature-list h2,
.pricing h2,
.final-cta h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.26;
  font-weight: 650;
}

.section-title p {
  margin: 20px 0 0;
  font-size: 20px;
  line-height: 1.6;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  min-height: 400px;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.icon {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
}

.icon .bi {
  display: block;
  line-height: 1;
}

.icon-purple {
  background: #f1e6ff;
  color: #8054c8;
}

.icon-blue {
  background: #cae5fd;
  color: #226a9d;
}

.icon-green {
  background: #d3f6e3;
  color: #287b52;
}

.icon-yellow {
  background: rgba(255, 228, 0, 0.5);
  color: #8a7b00;
}

.icon-orange {
  background: #ffe5d6;
  color: #d45a16;
}

.icon-pink {
  background: rgba(251, 132, 167, 0.3);
  color: #c9346a;
}

.icon-indigo {
  background: rgba(87, 87, 248, 0.15);
  color: #5757f8;
}

.step-card h3,
.feature-list button,
.price-card h3,
.powerups h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.33;
  font-weight: 650;
}

.step-card p,
.feature-list small,
.price-card p,
.powerups p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.quote-block {
  max-width: 946px;
  margin: 80px auto 0;
  text-align: center;
}

.quote-block::before {
  content: "\"";
  display: block;
  font-size: 54px;
  line-height: 0.5;
  font-weight: 800;
}

.quote-block blockquote {
  margin: 28px 0;
  font-family: Lora, Georgia, serif;
  font-size: 32px;
  line-height: 1.44;
  font-style: italic;
}

.quote-block figcaption,
.testimonial-track footer {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.quote-block img,
.testimonial-track img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.quote-block span,
.testimonial-track span {
  display: grid;
  gap: 2px;
}

.quote-block b,
.testimonial-track span {
  font-weight: 800;
}

.quote-block span {
  color: var(--muted);
}

.quote-block b {
  color: var(--black);
}

.marketplace {
  min-height: 678px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.marketplace img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.62;
}

.marketplace::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(32, 32, 32, 0), var(--black));
}

.marketplace-copy {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding-bottom: 60px;
}

.marketplace-copy h2,
.marketplace-copy p {
  max-width: 486px;
}

.marketplace-copy p {
  font-size: 20px;
  line-height: 1.6;
}

.features {
  padding: 80px 0;
}

.feature-panel {
  background: var(--soft);
  border-radius: 20px;
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 475px 1fr;
  align-items: center;
  gap: 80px;
}

.feature-list h2 {
  max-width: 460px;
  margin-bottom: 40px;
}

.feature-list button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  color: rgba(32, 32, 32, 0.5);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.feature-list button.active {
  color: var(--black);
}

.feature-list small {
  display: block;
  color: var(--black);
}

.inventory-preview {
  border-radius: 24px;
  background: var(--green);
  min-height: 547px;
  padding: 84px 0 42px 60px;
  overflow: hidden;
}

.inventory-card {
  width: 632px;
  padding: 24px;
  border-radius: 16px 16px 0 16px;
  background: var(--white);
  box-shadow: 0 4px 46px rgba(0, 0, 0, 0.06);
}

.inventory-head {
  margin-bottom: 24px;
}

.inventory-head b {
  text-decoration: underline;
}

.inventory-head span {
  color: var(--line);
  font-size: 20px;
  font-weight: 700;
}

.inventory-head button {
  border: 0;
  border-radius: 6px;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  padding: 10px 16px;
}

.inventory-card table {
  font-size: 12px;
}

.inventory-card th,
.inventory-card td {
  padding: 10px 12px;
}

.integration-logos {
  margin-top: 72px;
  text-align: center;
}

.integration-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100% - 48px, 760px);
  gap: 20px;
  font-size: 18px;
}

.integration-item {
  min-height: 84px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.integration-item img {
  display: block;
  max-width: 100%;
  height: auto;
}

.integration-item-stripe img {
  width: 116px;
}

.integration-item-docusign img {
  width: 140px;
}

.integration-item-twilio img {
  width: 150px;
}

.integration-logos .integration-note {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.pricing {
  padding: 0 0 80px;
  position: relative;
  overflow: hidden;
}

.tabs {
  width: max-content;
  margin: -28px auto 60px;
  padding: 6px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  position: relative;
  background: var(--soft);
}

.tabs::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 2);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 2px 1px rgba(220, 218, 217, 0.5);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tabs[data-active="flat"]::before {
  transform: translateX(100%);
}

.tabs button {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
}

.tabs button.active {
  color: var(--black);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 400px));
  justify-content: center;
  gap: 24px;
}

.price-card {
  position: relative;
  min-height: 216px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.price-card.featured {
  border: 2px solid #000;
  box-shadow: 0 2px 1px rgba(220, 218, 217, 0.5);
}

.price-card > span {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  background: #000;
  color: var(--white);
  font-weight: 800;
}

.price-card strong {
  display: block;
  margin-top: 18px;
  font-size: 54px;
  line-height: 1.15;
}

.price-card small {
  font-size: 16px;
  font-weight: 700;
}

.included {
  width: min(100%, 940px);
  margin: 60px auto 0;
  text-align: center;
}

.included h3 {
  font-size: 24px;
  margin: 0 0 24px;
}

.included ul {
  margin: 0;
  padding: 24px;
  border-radius: 24px;
  background: var(--soft);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 28px;
  text-align: left;
  list-style: none;
}

.included li {
  position: relative;
  padding-left: 34px;
  font-weight: 650;
  line-height: 1.5;
}

.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3fc45f;
}

.included li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pricing-cta {
  margin: 40px auto 0;
  max-width: 740px;
  text-align: center;
}

.pricing-cta p {
  color: var(--muted);
  line-height: 1.62;
}

.powerups {
  position: relative;
  margin-top: 60px;
  text-align: center;
}

.powerups::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -80px;
  height: 280px;
  background-image: url("assets/dot-pattern.png");
  background-size: 32px 32px;
  z-index: -1;
}

.powerup-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 334px));
  justify-content: center;
  gap: 32px;
}

.powerup-grid article {
  min-height: 260px;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.powerup-grid .icon {
  margin-bottom: 32px;
}

.powerup-grid b {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--soft);
}

.testimonials {
  padding: 80px 0 60px;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  width: max-content;
  transform: translateX(-116px);
}

.testimonial-track article {
  width: 468px;
  min-height: 300px;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-track b {
  font-size: 42px;
  line-height: 0.7;
}

.testimonial-track p {
  font-size: 16px;
  line-height: 1.62;
}

.testimonial-track small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 400;
}

.faq {
  padding: 60px 0 72px;
}

.faq .section-title {
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

details {
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--white);
}

summary {
  position: relative;
  padding: 24px 64px 24px 24px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.faq-answer p {
  margin: 0 0 16px;
  padding: 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.faq-answer li + li {
  margin-top: 10px;
}

.final-cta {
  margin-top: 0;
  padding: 64px 0;
  position: relative;
  background: linear-gradient(to bottom, var(--soft) 0 50%, var(--white) 50% 100%);
}

.cta-panel {
  width: min(100% - 48px, 1100px);
  padding: 48px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 221px;
  gap: 60px;
  align-items: center;
  background: var(--black);
  color: var(--white);
}

.cta-panel p {
  margin: 20px 0 0;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.6;
}

.cta-panel > div:last-child {
  display: grid;
  gap: 16px;
}

.footer {
  padding: 60px 0 48px;
}

.footer-grid {
  width: min(100% - 48px, 1100px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 150px 210px 210px;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  width: max-content;
}

.footer p,
.footer a {
  font-size: 16px;
  line-height: 1.62;
}

.footer p {
  max-width: 364px;
}

.footer h3 {
  margin: 0 0 20px;
  font-size: 20px;
}

.footer-grid > div:not(:first-child) {
  display: grid;
  gap: 8px;
}

.footer-grid a[href^="mailto"] {
  text-decoration: underline;
}

.footer-contact-button {
  width: max-content;
  margin-top: 8px;
  cursor: pointer;
  font-family: inherit;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  border: 0;
  border-radius: 24px;
  padding: 0;
  color: var(--black);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(24, 24, 24, 0.28);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 240ms ease,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.contact-modal.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-modal.is-closing {
  pointer-events: none;
}

.contact-modal::backdrop {
  background: rgba(20, 20, 20, 0);
  backdrop-filter: blur(0);
  transition:
    background 280ms ease,
    backdrop-filter 320ms ease;
}

.contact-modal.is-open::backdrop {
  background: rgba(20, 20, 20, 0.68);
  backdrop-filter: blur(5px);
}

.contact-modal-card {
  position: relative;
  padding: 42px;
}

.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--soft);
  cursor: pointer;
  font: inherit;
  font-size: 29px;
  line-height: 1;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  background: #e8e8e8;
}

.contact-modal-heading {
  max-width: 560px;
  padding-right: 36px;
}

.contact-modal-eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-modal h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
}

.contact-modal-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #303030;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--black);
  background: var(--white);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 3, 0.16);
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.contact-form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.contact-form-footer .btn {
  flex: 0 0 auto;
  cursor: pointer;
  font-family: inherit;
}

.contact-form-footer .btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form-status.is-success {
  color: #14723d;
  font-weight: 700;
}

.contact-form-status.is-error {
  color: #b42318;
  font-weight: 700;
}

.contact-form-status:empty {
  display: none;
}

.legal-page {
  min-height: calc(100vh - 80px);
  padding: 64px 0 96px;
  background: var(--soft);
}

.legal-shell {
  width: min(100% - 48px, 960px);
  margin-inline: auto;
}

.legal-hero {
  margin-bottom: 32px;
}

.legal-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.08;
}

.legal-hero > p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-card {
  padding: 48px;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.legal-summary {
  margin: 0 0 36px;
  padding: 20px 24px;
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: #fff6ef;
  line-height: 1.7;
}

.legal-toc {
  margin-bottom: 40px;
  padding: 24px;
  border-radius: 14px;
  background: var(--soft);
}

.legal-toc h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 40px;
}

.legal-toc li {
  margin: 8px 0;
  break-inside: avoid;
}

.legal-toc a,
.legal-section a {
  color: #ad4700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section {
  scroll-margin-top: 110px;
  padding-top: 8px;
}

.legal-section + .legal-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}

.legal-section h2 {
  margin: 0 0 16px;
  font-size: 27px;
  line-height: 1.3;
}

.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 19px;
}

.legal-section p,
.legal-section li {
  font-size: 16px;
  line-height: 1.75;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section ul {
  margin: 10px 0 16px;
  padding-left: 24px;
}

.legal-section address {
  font-style: normal;
  line-height: 1.75;
}

.booking-page {
  background: var(--soft);
  min-height: calc(100vh - 80px);
  padding: 60px 0 80px;
}

.booking-hero {
  width: min(100% - 48px, 1100px);
}

.booking-hero .section-title {
  margin-bottom: 32px;
}

.booking-hero h1 {
  margin: 0;
  font-size: 54px;
  line-height: 68px;
}

.booking-widget {
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}


@media (max-width: 1180px) {
  .hero-grid,
  .feature-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

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

  .dashboard {
    right: 0;
  }

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

  .feature-panel {
    padding: 48px;
  }

  .inventory-preview {
    padding-left: 32px;
  }

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

@media (max-width: 920px) {
  .nav {
    min-height: 72px;
  }

  .brand-logo-horizontal {
    width: 200px;
  }

  .site-header.is-scrolled .nav {
    min-height: 60px;
  }

  .site-header.is-scrolled .brand-logo-horizontal {
    width: 168px;
  }

  .menu-toggle {
    display: grid;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 12px;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .site-header.menu-open .nav-links {
    display: grid;
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    gap: 0;
    padding: 12px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  }

  .site-header.is-scrolled.menu-open .nav-links {
    top: 60px;
  }

  .site-header.menu-open .nav-links a {
    padding: 16px;
  }

  .hero-copy h1,
  .marketplace h2 {
    font-size: 42px;
  }

  .section-title h2,
  .feature-list h2,
  .pricing h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .logo-strip,
  .included ul,
  .faq-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo-strip {
    gap: 10px;
    font-size: 22px;
  }

  .hero {
    padding-top: 40px;
  }

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

  .dashboard {
    width: 100%;
    padding: 16px;
    overflow-x: auto;
  }

  .trip-card {
    bottom: 0;
  }

  .step-grid,
  .pricing-grid,
  .powerup-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 270px;
  }

  .quote-block blockquote {
    font-size: 24px;
  }

  .marketplace {
    min-height: 560px;
  }

  .feature-panel {
    width: min(100% - 24px, 1344px);
    padding: 32px 24px;
  }

  .inventory-preview {
    min-height: auto;
    padding: 24px;
  }

  .inventory-card {
    width: 100%;
    overflow-x: auto;
  }

  .testimonial-track {
    width: auto;
    overflow-x: auto;
    transform: none;
    padding-inline: 24px;
    scroll-snap-type: x mandatory;
  }

  .testimonial-track article {
    flex: 0 0 min(86vw, 420px);
    scroll-snap-align: start;
  }

  .cta-panel {
    gap: 32px;
  }

}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 40px, 1344px);
  }

  .site-header {
    position: sticky;
  }

  .nav {
    min-height: 64px;
    width: 100%;
    padding: 8px 16px;
    gap: 12px;
  }

  .brand-logo-horizontal {
    width: 200px;
  }

  .site-header.is-scrolled .nav {
    min-height: 56px;
  }

  .site-header.is-scrolled .brand-logo-horizontal {
    width: 164px;
  }

  .menu-toggle {
    padding: 0;
    width: 24px;
    height: 24px;
    align-content: center;
    justify-content: center;
    gap: 5px;
  }

  .menu-toggle span {
    width: 20px;
  }

  .site-header.menu-open .nav-links {
    top: 64px;
    left: 16px;
    right: 16px;
  }

  .site-header.is-scrolled.menu-open .nav-links {
    top: 56px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding: 9px 24px;
    font-size: 16px;
    white-space: normal;
    text-align: center;
  }

  .hero {
    padding: 24px 0 40px;
  }

  .hero-grid {
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
  }

  .hero-copy {
    width: min(100% - 40px, 350px);
    margin-inline: auto;
    text-align: center;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 36px;
    line-height: 44px;
  }

  .marketplace h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .hero-copy p,
  .marketplace-copy p,
  .cta-panel p {
    font-size: 18px;
    line-height: 26px;
  }

  .hero-copy p {
    margin: 20px 0 24px;
  }

  .hero-visual {
    display: block;
    width: min(calc(100% - 32px), 390px);
    min-height: 380px;
    margin-inline: auto;
    overflow: visible;
  }

  .hero-visual::before {
    inset: -12px -16px 8px;
    width: auto;
    height: auto;
  }

  .hero-visual::after {
    left: 10px;
    right: -8px;
    top: 62px;
    bottom: auto;
    width: auto;
    height: 248px;
  }

  .dashboard {
    left: 0;
    right: 0;
    top: 28px;
    width: 100%;
    padding: 14px;
    border-radius: 13px 13px 0 0;
    box-shadow: 0 3px 38px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .dashboard-top strong {
    font-size: 15px;
  }

  .dashboard-top span,
  .dashboard-top b {
    font-size: 10px;
  }

  .dashboard-top b {
    margin-left: 4px;
    padding: 5px 7px;
    border-radius: 5px;
  }

  .skeleton-bars {
    margin: 14px 0;
    gap: 8px;
  }

  .skeleton-bars i {
    height: 11px;
  }

  .dashboard table {
    width: 100%;
    table-layout: fixed;
    font-size: 9px;
  }

  .dashboard th,
  .dashboard td {
    padding: 9px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dashboard th:nth-child(2),
  .dashboard td:nth-child(2),
  .dashboard th:nth-child(5),
  .dashboard td:nth-child(5) {
    display: none;
  }

  .dashboard th:nth-child(1) {
    width: 39%;
  }

  .dashboard th:nth-child(3) {
    width: 29%;
  }

  .dashboard th:nth-child(4) {
    width: 32%;
  }

  .trip-card {
    left: 12px;
    right: 12px;
    bottom: 0;
    width: auto;
    padding: 14px;
  }

  .trip-card > div:last-child {
    gap: 8px;
  }

  .trip-card > div:last-child strong {
    min-width: 0;
    font-size: 12px;
  }

  .client-logos {
    padding: 56px 20px;
  }

  .client-logos p,
  .integration-logos > p:first-child {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 22px;
  }

  .logo-strip {
    width: 350px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 18px;
    font-size: 18px;
  }

  .logo-strip span {
    min-height: 56px;
  }

  .steps {
    padding: 40px 0;
  }

  .features,
  .testimonials {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title h2,
  .feature-list h2,
  .pricing h2,
  .final-cta h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .section-title p {
    margin-top: 16px;
    font-size: 18px;
    line-height: 26px;
  }

  .step-grid {
    gap: 12px;
  }

  .step-card {
    min-height: 252px;
    padding: 20px;
    gap: 38px;
  }

  .icon {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }

  .step-card h3,
  .feature-list button,
  .price-card h3,
  .powerups h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .step-card p,
  .feature-list small,
  .price-card p,
  .powerups p {
    font-size: 14px;
    line-height: 22px;
  }

  .quote-block {
    margin-top: 40px;
  }

  .quote-block::before {
    font-size: 36px;
  }

  .quote-block blockquote {
    margin: 20px 0;
    font-size: 20px;
    line-height: 30px;
  }

  .quote-block figcaption {
    gap: 12px;
  }

  .quote-block img {
    width: 40px;
    height: 40px;
  }

  .marketplace {
    min-height: 478px;
    align-items: center;
  }

  .marketplace img {
    object-position: 52% center;
  }

  .marketplace-copy {
    padding-bottom: 0;
  }

  .marketplace-copy h2,
  .marketplace-copy p {
    max-width: 320px;
  }

  .marketplace-copy p {
    margin-top: 24px;
  }

  .feature-panel {
    width: 100%;
    border-radius: 0;
    padding: 40px 20px;
    gap: 32px;
  }

  .feature-list h2 {
    margin-bottom: 24px;
  }

  .feature-list button {
    font-size: 18px;
    line-height: 26px;
    padding: 14px 0;
  }

  .inventory-preview {
    width: 100%;
    min-height: 314px;
    border-radius: 16px;
    padding: 40px 0 32px 24px;
  }

  .inventory-card {
    width: 420px;
    padding: 16px;
    border-radius: 12px 12px 0 12px;
  }

  .inventory-head {
    margin-bottom: 16px;
  }

  .inventory-head span {
    font-size: 14px;
  }

  .inventory-head button {
    padding: 7px 10px;
    font-size: 11px;
  }

  .inventory-card table {
    font-size: 9px;
  }

  .inventory-card th,
  .inventory-card td {
    padding: 7px 8px;
  }

  .integration-logos {
    margin-top: 40px;
    padding: 0 20px;
  }

  .integration-list {
    width: min(100%, 280px);
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 16px;
  }

  .integration-item {
    min-height: 84px;
  }

  th,
  td {
    padding: 10px;
  }

  .pricing {
    padding: 40px 0;
  }

  .tabs {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: -12px auto 32px;
    justify-content: center;
  }

  .tabs button {
    padding: 10px 14px;
    font-size: 12px;
    white-space: nowrap;
  }

  .pricing-grid,
  .powerup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    margin-inline: 0;
    padding: 18px 0 4px;
    overflow: visible;
  }

  .testimonial-track::-webkit-scrollbar {
    display: none;
  }

  .price-card {
    width: 100%;
    min-width: 0;
    min-height: 182px;
    padding: 20px;
  }

  .price-card strong {
    margin-top: 12px;
    font-size: 42px;
    line-height: 48px;
  }

  .price-card small {
    font-size: 13px;
  }

  .price-card > span {
    top: -15px;
    font-size: 12px;
  }

  .included {
    margin-top: 32px;
  }

  .included h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .included ul {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
    border-radius: 16px;
  }

  .included li {
    font-size: 14px;
    line-height: 22px;
  }

  .pricing-cta {
    margin-top: 28px;
  }

  .pricing-cta p {
    font-size: 13px;
    line-height: 20px;
  }

  .powerups {
    margin-top: 40px;
  }

  .powerups h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .powerup-grid article {
    width: 100%;
    min-width: 0;
    min-height: 246px;
    padding: 20px;
  }

  .powerup-grid .icon {
    margin-bottom: 24px;
  }

  .testimonials .section-title {
    width: min(100% - 40px, 350px);
  }

  .testimonial-track {
    gap: 12px;
    padding-inline: 20px;
  }

  .testimonial-track article {
    flex-basis: 320px;
    min-height: 296px;
    padding: 20px;
  }

  .testimonial-track img {
    width: 40px;
    height: 40px;
  }

  .faq {
    padding: 40px 0 48px;
  }

  .faq .section-title {
    margin-bottom: 32px;
  }

  .faq .section-title p {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .faq-grid {
    gap: 8px;
  }

  details {
    margin-bottom: 8px;
    border-radius: 16px;
  }

  summary {
    min-height: 74px;
    padding: 16px 56px 16px 16px;
    font-size: 18px;
    line-height: 26px;
  }

  summary::after {
    right: 16px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    font-size: 24px;
  }

  details[open] summary {
    color: var(--orange);
  }

  details p {
    padding: 0 16px 16px;
    font-size: 16px;
    line-height: 26px;
    color: var(--black);
  }

  .faq-answer {
    padding: 0 16px 16px;
    color: var(--black);
    font-size: 16px;
    line-height: 26px;
  }

  .final-cta {
    margin-top: 0;
    padding: 48px 0;
  }

  .cta-panel {
    width: 100%;
    padding: 40px 24px 48px;
    border-radius: 0;
    gap: 24px;
  }

  .cta-panel h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .cta-panel p {
    margin-top: 16px;
  }

  .footer {
    padding: 40px 0;
  }

  .footer-grid {
    width: min(100% - 40px, 350px);
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    width: 168px;
  }

  .footer-brand .brand-logo-stacked {
    width: 100%;
  }

  .footer-grid > div:first-child p {
    width: 100%;
  }

  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3) {
    width: calc(50% - 10px);
  }

  .footer-grid > div:nth-child(4) {
    width: 100%;
  }

  .footer-grid {
    display: flex;
    flex-wrap: wrap;
  }

  .booking-page {
    min-height: calc(100vh - 56px);
    padding: 40px 0;
  }

  .booking-hero {
    width: min(100% - 40px, 350px);
  }

  .booking-hero h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .booking-widget {
    margin-inline: -20px;
    border-radius: 0;
  }

  .legal-page {
    min-height: calc(100vh - 56px);
    padding: 40px 0 64px;
  }

  .legal-shell {
    width: min(100% - 32px, 960px);
  }

  .legal-hero h1 {
    font-size: 38px;
  }

  .legal-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .legal-toc ol {
    columns: 1;
  }

  .contact-modal {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .contact-modal-card {
    padding: 32px 20px 24px;
  }

  .contact-modal-close {
    top: 12px;
    right: 12px;
  }

  .contact-modal-heading {
    padding-right: 38px;
  }

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

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

  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .contact-form-footer .btn {
    justify-content: center;
    width: 100%;
  }

}
