:root {
  --ink: #101316;
  --graphite: #202832;
  --muted: #66717d;
  --line: rgba(16, 19, 22, 0.13);
  --paper: #f6f1e8;
  --cream: #fffaf0;
  --white: #ffffff;
  --green: #68e3a2;
  --acid: #d9ff66;
  --blue: #4d8dff;
  --coral: #ff8066;
  --violet: #8066ff;
  --shadow: 0 26px 80px rgba(16, 19, 22, 0.16);
  --radius: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(104, 227, 162, 0.30), transparent 30rem),
    radial-gradient(circle at 88% 6%, rgba(255, 128, 102, 0.22), transparent 28rem),
    linear-gradient(180deg, var(--paper), #f0ebdf 54%, #fbf6eb);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(16, 19, 22, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 22, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

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

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

.site {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 19, 22, 0.08);
  background: rgba(246, 241, 232, 0.78);
  backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--green);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.8rem;
  font-weight: 950;
}

.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 760;
}

.links a {
  padding: 10px 11px;
  border-radius: var(--radius);
}

.links a:hover,
.links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(16, 19, 22, 0.06);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 890;
  line-height: 1;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button.primary {
  background: var(--coral);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.button.small {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.hero {
  display: grid;
  min-height: calc(100svh - 76px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding: clamp(56px, 8vw, 100px) 0 64px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 880;
  text-transform: uppercase;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(104, 227, 162, 0.64);
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(104, 227, 162, 0); }
  100% { box-shadow: 0 0 0 0 rgba(104, 227, 162, 0); }
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  color: #3b5648;
}

.lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: #3d4650;
  font-size: clamp(1.08rem, 1.9vw, 1.35rem);
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 18px 60px rgba(16, 19, 22, 0.09);
}

.hero-metrics div {
  padding: 16px;
  background: rgba(255, 250, 240, 0.78);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.16rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

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

.phone {
  position: absolute;
  right: 0;
  top: 24px;
  width: min(360px, 82vw);
  border: 3px solid var(--ink);
  border-radius: 30px;
  background: #101316;
  box-shadow: var(--shadow), 12px 12px 0 var(--ink);
  overflow: hidden;
  transform: rotate(2deg);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
}

.screen {
  padding: 20px;
}

.store-card {
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--acid);
}

.store-avatar {
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--green), rgba(77, 141, 255, 0.8)),
    var(--green);
}

.store-card h2 {
  margin-bottom: 5px;
  font-size: 1.7rem;
}

.store-card p {
  margin-bottom: 0;
  color: #505b66;
}

.product-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.product-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.product-row span {
  color: rgba(255, 255, 255, 0.62);
}

.agent-panel {
  position: absolute;
  left: 0;
  bottom: 34px;
  width: min(350px, 78vw);
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow), 8px 8px 0 var(--ink);
}

.agent-panel h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.agent-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: #434c56;
  font-size: 0.94rem;
  font-weight: 720;
}

.agent-line strong {
  color: var(--ink);
}

.split-beam {
  position: absolute;
  left: 26%;
  top: 42%;
  width: 280px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--acid), var(--coral));
  box-shadow: 0 14px 40px rgba(16, 19, 22, 0.18);
  transform: rotate(-22deg);
}

.section {
  padding: clamp(70px, 10vw, 126px) 0;
}

.section.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 12%, rgba(104, 227, 162, 0.18), transparent 28rem),
    radial-gradient(circle at 78% 16%, rgba(128, 102, 255, 0.20), transparent 30rem),
    var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.54fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head h2,
.doc-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5.8vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p,
.wide-copy {
  margin-bottom: 0;
  color: #4c5662;
  font-size: 1.06rem;
  line-height: 1.66;
}

.dark .section-head p,
.dark .wide-copy {
  color: rgba(255, 255, 255, 0.72);
}

.dark .kicker {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--acid);
}

.feature-card .kicker {
  border-color: var(--line);
  background: rgba(16, 19, 22, 0.06);
  color: var(--ink);
}

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

.pill-card,
.feature-card,
.support-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.pill-card:hover,
.use-case:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

.pill-card {
  min-height: 220px;
  padding: 20px;
}

.pill-card:nth-child(2) { background: #e8fbf1; }
.pill-card:nth-child(3) { background: #fff3c9; }
.pill-card:nth-child(4) { background: #edf2ff; }

.pill-card strong {
  display: block;
  margin-bottom: 28px;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.pill-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.pill-card p,
.feature-card p,
.support-card p,
.support-card li {
  color: #48535f;
}

.product-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.feature-card {
  min-height: 420px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
}

.feature-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6.2vw, 6.8rem);
  line-height: 0.88;
  color: var(--ink);
}

.feature-card p {
  font-size: 1.1rem;
  line-height: 1.64;
}

.split-lab {
  min-height: 500px;
  padding: 26px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.money {
  width: min(250px, 100%);
  margin: 0 auto 26px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--acid);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  text-align: center;
}

.money span {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.money strong {
  display: block;
  margin-top: 4px;
  font-size: 1.7rem;
}

.distribution {
  display: grid;
  gap: 12px;
}

.distribution-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.distribution-row span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 780;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--acid));
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.use-case {
  min-height: 320px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.use-case:nth-child(2) { background: #e8fbf1; }
.use-case:nth-child(3) { background: #edf2ff; }

.use-case h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-list span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #4f5b66;
  font-size: 0.82rem;
  font-weight: 760;
}

.route-demo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.route-step {
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.route-step span {
  display: block;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 870;
}

.route-step strong {
  color: var(--white);
  font-size: 1.28rem;
}

.cta {
  padding: clamp(70px, 10vw, 120px) 0;
  background: var(--ink);
  color: var(--white);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(104, 227, 162, 0.14), transparent 54%),
    rgba(255, 255, 255, 0.06);
}

.cta h2 {
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 0.94;
}

.cta p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.doc-hero {
  padding: clamp(58px, 8vw, 96px) 0 28px;
}

.doc-hero h1 {
  margin: 0 0 18px;
}

.doc-hero .lead {
  margin-bottom: 16px;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 760;
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.33fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-bottom: 70px;
}

.toc,
.contact-panel {
  position: sticky;
  top: 98px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.toc strong,
.contact-panel strong {
  display: block;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
}

.toc a:hover {
  color: var(--ink);
}

.doc {
  padding: clamp(24px, 4vw, 42px);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

.doc h2 {
  margin: 34px 0 9px;
  font-size: 1.55rem;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc p,
.doc li {
  color: #34404a;
}

.doc ul {
  padding-left: 22px;
}

.notice {
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff3c9;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 70px;
}

.support-card {
  min-height: 270px;
  padding: 22px;
}

.support-card:nth-child(2) { background: #e8fbf1; }
.support-card:nth-child(3) { background: #edf2ff; }

.support-card h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 26px;
  align-items: end;
  padding: clamp(58px, 8vw, 96px) 0 34px;
}

.contact-panel p {
  color: #48535f;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(16, 19, 22, 0.12);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  font-weight: 760;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 950px) {
  .hero,
  .section-head,
  .product-split,
  .cta-panel,
  .contact-hero,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 610px;
  }

  .pill-grid,
  .route-demo {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-cases,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .toc,
  .contact-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, 1140px);
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .links {
    width: 100%;
    flex-wrap: wrap;
  }

  .links a {
    padding-left: 0;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-metrics,
  .pill-grid,
  .route-demo {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 660px;
  }

  .phone {
    right: 0;
    width: 100%;
    transform: none;
  }

  .agent-panel {
    left: 0;
    bottom: 0;
    width: 94%;
  }

  .split-beam {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}