:root {
  color-scheme: dark light;
  --ink: #111315;
  --ink-2: #1a1d1f;
  --paper: #f7f8f4;
  --paper-2: #eef1ec;
  --muted: #aeb6b0;
  --muted-dark: #5b635f;
  --line: rgba(17, 19, 21, .12);
  --line-dark: rgba(247, 248, 244, .16);
  --cyan: #00d7ff;
  --green: #a8ff60;
  --amber: #ffb547;
  --coral: #ff6f61;
  --radius: 8px;
  --shadow: 0 26px 70px rgba(0, 0, 0, .28);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(17, 19, 21, .72);
  border-bottom: 1px solid rgba(247, 248, 244, .1);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand span,
.footer-brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.header-login {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--radius);
  color: rgba(247, 248, 244, .78);
  text-decoration: none;
  font-size: 14px;
}

.header-login {
  display: none;
  background: rgba(168, 255, 96, .14);
  color: var(--green);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-login:hover,
.header-login:focus-visible {
  background: rgba(247, 248, 244, .1);
  color: var(--paper);
  outline: 0;
}

.site-nav .nav-login {
  background: rgba(168, 255, 96, .14);
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 104px clamp(18px, 5vw, 72px) 58px;
  border-bottom: 1px solid var(--line-dark);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("../img/agentic-commerce-dashboard.jpg");
  background-repeat: no-repeat;
  background-position: 67% center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17,19,21,.97) 0%, rgba(17,19,21,.86) 28%, rgba(17,19,21,.42) 62%, rgba(17,19,21,.22) 100%),
    linear-gradient(0deg, rgba(17,19,21,.82) 0%, rgba(17,19,21,.12) 42%, rgba(17,19,21,.4) 100%);
}

.hero-inner {
  width: min(650px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(54px, 9vw, 112px);
  line-height: .9;
  font-weight: 900;
}

.hero-lede {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(247, 248, 244, .86);
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero-actions,
.access-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
  background: var(--paper);
}

button.button {
  font: inherit;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #0d150e;
}

.button.secondary {
  background: rgba(247, 248, 244, .08);
  border-color: rgba(247, 248, 244, .22);
  color: var(--paper);
}

.hero-actions .hero-jump {
  min-height: 44px;
  padding: 0 15px;
  font-size: 15px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.proof-strip {
  margin-top: 34px;
  max-width: min(820px, 92vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  pointer-events: none;
}

.proof-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: proof-scroll 72s linear infinite;
}

.proof-track > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(247, 248, 244, .72);
  color: rgba(17, 19, 21, .82);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 21, .08);
}

.material-symbols-outlined {
  color: rgba(17, 19, 21, .64);
  font-size: 18px;
  line-height: 1;
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 20;
}

@keyframes proof-scroll {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.intro-band,
.section {
  padding: clamp(62px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.intro-band {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.section-head,
.ai-layout,
.api-band,
.service-grid,
.app-section,
.access-inner,
.site-footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-grid,
.api-band,
.service-grid,
.app-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.intro-grid h2,
.section-head h2,
.api-copy h2,
.service-copy h2,
.app-copy h2,
.access h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.intro-grid p,
.section-head p,
.api-copy p,
.service-copy p,
.app-copy p,
.access p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 18px;
}

.intro-grid > p {
  font-size: clamp(18px, 2.2vw, 24px);
}

.light {
  background: #fbfcf8;
  color: var(--ink);
}

.dark {
  background: #17191a;
  color: var(--paper);
}

.section-head {
  max-width: var(--max);
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-head > p {
  max-width: 760px;
  margin-top: 20px;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.section-head.split p {
  color: rgba(247, 248, 244, .72);
}

.capability-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability-card,
.service-card,
.agent-panel,
.agent-points article {
  border-radius: var(--radius);
}

.capability-card {
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 19, 21, .06);
}

.card-number {
  display: block;
  color: var(--coral);
  font-size: 46px;
  font-weight: 900;
  line-height: .9;
}

.capability-card h3,
.service-card h3,
.agent-points h3 {
  margin: 36px 0 12px;
  font-size: 23px;
  line-height: 1.1;
}

.capability-card h3 {
  margin-top: 28px;
}

.capability-card p,
.service-card li,
.agent-points p {
  margin: 0;
  color: var(--muted-dark);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.agent-panel {
  width: min(100%, 430px);
  justify-self: start;
  border: 1px solid var(--line-dark);
  background: #101b25;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(247, 248, 244, .82);
}

.panel-top strong {
  margin-left: auto;
  color: var(--green);
  font-size: 13px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(168, 255, 96, .12);
}

.chat-window {
  height: 430px;
  overflow: hidden;
  scroll-behavior: auto;
}

.chat-stream {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  align-content: start;
  transition: opacity .34s ease, transform .34s ease;
}

.chat-stream.is-resetting {
  opacity: 0;
  transform: translateY(-8px);
}

.bubble {
  max-width: 86%;
  margin: 0;
  padding: 13px 15px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.48;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .42s ease, transform .42s ease;
}

.bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bubble.user {
  justify-self: end;
  background: rgba(0, 215, 255, .14);
  border: 1px solid rgba(0, 215, 255, .26);
}

.bubble.ai {
  justify-self: start;
  background: rgba(247, 248, 244, .08);
  border: 1px solid rgba(247, 248, 244, .14);
  color: rgba(247, 248, 244, .88);
}

.bubble.typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: 54px;
  min-height: 42px;
}

.bubble.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(247, 248, 244, .72);
  animation: typing-dot 1s infinite ease-in-out;
}

.bubble.typing span:nth-child(2) {
  animation-delay: .15s;
}

.bubble.typing span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes typing-dot {
  0%, 80%, 100% {
    opacity: .32;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-track {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-stream,
  .bubble {
    transition: none;
  }

  .bubble.typing span {
    animation: none;
  }
}

.prompt-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line-dark);
}

.prompt-rail button {
  min-height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(247, 248, 244, .06);
  color: var(--paper);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.prompt-rail button:hover,
.prompt-rail button:focus-visible,
.prompt-rail button.is-active {
  background: rgba(168, 255, 96, .16);
  outline: 0;
}

.prompt-rail button.is-active {
  border-color: rgba(168, 255, 96, .42);
  color: var(--green);
}

.agent-points {
  display: grid;
  gap: 14px;
}

.agent-points article {
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(247, 248, 244, .06);
}

.agent-points h3 {
  margin-top: 0;
}

.agent-points p {
  color: rgba(247, 248, 244, .72);
}

.api-band {
  background: var(--ink);
  color: var(--paper);
}

.api-band p {
  color: rgba(247, 248, 244, .74);
}

.signal-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(247, 248, 244, .05);
}

.signal {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 248, 244, .12);
  border-radius: var(--radius);
  background: rgba(247, 248, 244, .06);
  color: rgba(247, 248, 244, .82);
  font-weight: 900;
  text-align: center;
}

.signal.active {
  background: rgba(168, 255, 96, .16);
  border-color: rgba(168, 255, 96, .3);
  color: #f8ffe9;
}

.service-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin-top: 0;
  color: var(--green);
}

.service-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.service-card li {
  color: rgba(247, 248, 244, .82);
}

.app-section {
  background: #ecefe8;
  color: var(--ink);
}

.app-visual {
  display: grid;
  gap: 12px;
  justify-self: center;
  width: min(430px, 100%);
}

.app-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  width: 100%;
  border-radius: 28px;
  background: #101112;
  box-shadow: 0 28px 70px rgba(17, 19, 21, .22);
}

.app-shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(.992);
  transition:
    opacity .36s ease,
    transform .36s ease;
}

.app-shot.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.app-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
}

.app-toggle-button {
  min-width: 92px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(17, 19, 21, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
  color: rgba(17, 19, 21, .72);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease;
}

.app-toggle-button:hover,
.app-toggle-button:focus-visible {
  border-color: rgba(17, 19, 21, .42);
  color: var(--ink);
}

.app-toggle-button:focus-visible {
  outline: 3px solid rgba(54, 174, 255, .45);
  outline-offset: 3px;
}

.app-toggle-button.is-active {
  border-color: rgba(151, 255, 81, .72);
  background: var(--green);
  color: #061006;
  transform: translateY(-1px);
}

.app-availability {
  margin: 0;
  color: rgba(17, 19, 21, .58);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.access {
  background: #101112;
  color: var(--paper);
}

.privacy-page {
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
}

.interest-page,
.interest-page .privacy-section {
  background: #101112;
  color: var(--paper);
}

.privacy-section {
  padding-top: clamp(118px, 14vw, 160px);
}

.privacy-inner {
  width: min(780px, 100%);
  margin: 0 auto;
}

.privacy-inner h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .95;
}

.privacy-inner p:not(.section-kicker) {
  margin: 24px 0 0;
  color: var(--muted-dark);
  font-size: clamp(18px, 2.3vw, 22px);
}

.interest-page .privacy-inner p:not(.section-kicker) {
  color: rgba(247, 248, 244, .76);
}

.status-home-link {
  margin-top: 12px;
}

.access-inner {
  max-width: 910px;
  text-align: center;
}

.access p {
  max-width: 820px;
  margin: 22px auto 0;
  color: rgba(247, 248, 244, .74);
}

.access-actions {
  justify-content: center;
}

.access-actions span {
  max-width: 410px;
  color: rgba(247, 248, 244, .62);
  font-size: 14px;
}

.interest-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}

.interest-modal[hidden] {
  display: none;
}

.interest-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 14, .72);
  backdrop-filter: blur(14px);
  opacity: 0;
  animation: modal-fade .18s ease-out forwards;
}

.interest-dialog {
  position: relative;
  width: min(390px, 100%);
  padding: 24px;
  border: 1px solid rgba(168, 255, 96, .28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(24, 34, 40, .96), rgba(14, 17, 19, .98)),
    #111315;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
  transform: translateY(12px) scale(.96);
  opacity: 0;
  animation: modal-rise .24s cubic-bezier(.2, .8, .2, 1) .04s forwards;
}

.interest-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(247, 248, 244, .12);
  border-radius: 999px;
  background: rgba(247, 248, 244, .08);
  color: rgba(247, 248, 244, .78);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}

.interest-close:hover,
.interest-close:focus-visible {
  background: rgba(247, 248, 244, .14);
  color: #fff;
  outline: 0;
}

.interest-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.interest-dialog h2 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.05;
}

.interest-dialog p {
  margin: 14px 0 0;
  color: rgba(247, 248, 244, .72);
}

.interest-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.interest-form label {
  color: rgba(247, 248, 244, .82);
  font-size: 13px;
  font-weight: 800;
}

.interest-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(247, 248, 244, .18);
  border-radius: var(--radius);
  background: rgba(247, 248, 244, .08);
  color: #fff;
  font: inherit;
  padding: 0 13px;
}

.interest-form input[type="email"]:focus {
  border-color: var(--green);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(168, 255, 96, .16);
}

.interest-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.interest-form .button {
  width: 100%;
  margin-top: 2px;
}

.interest-status {
  min-height: 21px;
  margin: 0;
  color: rgba(247, 248, 244, .72);
  font-size: 13px;
}

.interest-status.is-success {
  color: var(--green);
}

.interest-status.is-error {
  color: #ffb8b0;
}

.interest-form.is-sending .button {
  opacity: .74;
}

@keyframes modal-fade {
  to {
    opacity: 1;
  }
}

@keyframes modal-rise {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--paper);
  color: var(--ink);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted-dark);
}

.footer-link {
  margin-left: 12px;
  color: #6f766f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.back-to-top {
  min-height: 34px;
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #d8ddd5;
  border-radius: var(--radius);
  background: #ecefeb;
  color: #737a73;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  text-decoration: none;
}

.back-to-top:hover {
  border-color: #c9d0c6;
  background: #e3e8df;
  color: var(--ink);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.footer-note {
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .site-nav {
    display: none;
  }

  .header-login {
    display: inline-flex;
    margin-left: auto;
  }

  .hero {
    min-height: 88svh;
    padding-top: 92px;
  }

  .hero-media {
    background-position: 65% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17,19,21,.97) 0%, rgba(17,19,21,.84) 58%, rgba(17,19,21,.55) 100%),
      linear-gradient(0deg, rgba(17,19,21,.84) 0%, rgba(17,19,21,.28) 50%, rgba(17,19,21,.5) 100%);
  }

  .intro-grid,
  .section-head.split,
  .ai-layout,
  .api-band,
  .service-grid,
  .app-section {
    grid-template-columns: 1fr;
  }

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

  .agent-panel {
    width: min(100%, 500px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span {
    max-width: 160px;
    white-space: normal;
    line-height: 1.05;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    flex: 1 1 145px;
    width: auto;
    padding: 0 12px;
  }

  .hero-actions .hero-jump {
    flex-basis: 128px;
    font-size: 14px;
  }

  .proof-strip {
    margin-top: 22px;
    max-width: 100%;
    padding-bottom: 3px;
  }

  .proof-track {
    animation-duration: 50s;
  }

  .access-actions .button {
    width: 100%;
  }

  .interest-dialog {
    width: min(100%, 360px);
    padding: 22px;
  }

  .interest-dialog h2 {
    font-size: 24px;
  }

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

  .capability-card {
    min-height: 0;
  }

  .agent-panel {
    width: 100%;
  }

  .chat-window {
    height: 390px;
  }

  .prompt-rail {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    display: block;
  }

  .back-to-top,
  .footer-note {
    display: inline-flex;
    margin-top: 18px;
    text-align: left;
  }
}
