.landing-page { scroll-padding-top: 5.75rem; }
.landing .button-large { min-height: 3.4rem; border-radius: 1rem; font-size: 1.025rem; }

.landing .nav-pill {
  --ring: var(--cobalt-light);
  position: relative;
  gap: .2rem;
  padding: .375rem .5rem;
}
.landing .nav-pill > .brand { padding-inline: .15rem .25rem; }
.landing .nav-cta { margin-left: .2rem; }
.nav-links { display: flex; gap: .12rem; }
.nav-menu { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  margin-top: -4.125rem;
  padding: 4.125rem 0 1.5rem;
}
.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 14%, transparent 100%);
  pointer-events: none;
}
.hero-sky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: .48;
}
:root.landing-page[data-theme="dark"] .hero-sky img { opacity: .09; }
.hero-sky::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--background), transparent 83%);
  content: "";
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 1fr);
  align-items: center;
  gap: clamp(1.6rem, 4.4vw, 4.5rem);
  padding-top: clamp(2.5rem, 5.2vw, 4.75rem);
}
.hero-header {
  display: grid;
  justify-items: start;
  gap: 1.15rem;
}
.hero-network {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .8rem;
  border: 1px solid var(--border);
  border-radius: 99rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .045em;
}
.hero-header h1 {
  max-width: 17ch;
  font-size: clamp(2.45rem, .65rem + 4.5vw, 4.9rem);
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 32rem;
  font-size: clamp(1.075rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .45rem;
}
.hero-wallet-note { color: var(--muted-foreground); font-size: .9rem; }

.hero-stage {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 17.5rem);
}
.hero-stage::before {
  position: absolute;
  inset: 8% -44% -5%;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(39 75 219 / .4), rgb(89 123 255 / .21) 62%, transparent);
  filter: blur(30px);
  content: "";
}
:root.landing-page[data-theme="dark"] .hero-stage::before {
  background: radial-gradient(closest-side, rgb(59 98 246 / .47), rgb(90 124 255 / .25) 62%, transparent);
}
.hero-phone {
  display: block;
  padding: .52rem;
  border: 1px solid #393635;
  border-radius: 2.2rem;
  background: #121111;
  box-shadow: 0 25px 50px -17px rgb(18 17 17 / .48), inset 0 1px 0 rgb(255 255 255 / .12);
  transition: translate .28s var(--ease), box-shadow .28s var(--ease);
}
.hero-phone:hover { translate: 0 -3px; box-shadow: 0 28px 55px -17px rgb(18 17 17 / .56); }
.hero-phone:focus-visible { outline-color: var(--accent-foreground); }
.phone-screen {
  display: grid;
  gap: .875rem;
  padding: 1.125rem;
  border-radius: 1.65rem;
  background: var(--card);
  color: var(--foreground);
  text-align: left;
}
.ps-bar, .ps-price-row, .ps-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.ps-bar { padding-inline: .1rem; font-size: .95rem; }
.ps-status, .ps-token, .ps-accepted { display: inline-flex; align-items: center; gap: .3rem; }
.ps-status { font-size: .72rem; color: var(--muted-foreground); }
.ps-cover {
  display: grid;
  gap: .2rem;
  padding: 1.25rem .95rem;
  border-radius: .85rem;
  background:
    repeating-radial-gradient(ellipse at 96% 24%, transparent 0 14px, rgb(216 226 255 / .12) 15px 16px, transparent 17px 26px),
    radial-gradient(ellipse 95% 160% at 96% -8%, #4161f0, #233a92 48%, #15214c 88%);
  color: #fff;
}
.ps-cover strong { font-size: 1.35rem; font-weight: 600; letter-spacing: -.025em; }
.ps-cover > span { font-size: .75rem; }
.ps-price-box {
  display: grid;
  gap: .45rem;
  padding: 1.05rem .95rem;
  border-radius: .85rem;
  background: var(--muted);
  font-size: .75rem;
}
.ps-kicker {
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.ps-amount { font-size: 2.15rem; line-height: 1; }
.ps-token {
  padding: .28rem .47rem;
  border-radius: 99rem;
  background: var(--card);
  font-weight: 600;
}
.ps-offers { display: grid; gap: .14rem; padding-inline: .1rem; }
.ps-offers > .ps-kicker { padding-block: .05rem .25rem; color: var(--muted-foreground); }
.ps-offer {
  padding-block: .55rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
}
.ps-accepted { color: var(--accent-foreground); font-weight: 600; }
.ps-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3rem;
  padding: .3rem .55rem;
  border-radius: .8rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: .875rem;
  font-weight: 600;
}

.agent-search {
  position: relative;
  isolation: isolate;
  overflow: clip;
  margin-top: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(.75rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--muted);
  box-shadow: var(--shadow-float);
}
.agent-search::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/agent-field.webp") center / cover;
  content: "";
}
:root[data-theme="dark"] .agent-search::before { opacity: .1; }
.agent-search-header {
  display: grid;
  justify-items: center;
  gap: .75rem;
  text-align: center;
}
.agent-search-header h2 { max-width: 23ch; font-weight: 400; text-wrap: balance; }
.agent-search > p { max-width: 56ch; margin: .85rem auto 0; text-align: center; }

.agent-diagram {
  --tile-size: clamp(2.125rem, 5vw, 3.5rem);
  --tile-radius: clamp(.8rem, 1.8vw, 1.4rem);
  --tile-gap: clamp(.4rem, 1vw, .75rem);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  max-width: 48rem;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0;
}
.agent-connections {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  fill: none;
  pointer-events: none;
}
.agent-track { stroke: color-mix(in srgb, var(--foreground) 13%, transparent); stroke-width: 1.5; }
.agent-signal { display: none; }
.agent-clients, .agent-outcomes {
  display: grid;
  gap: var(--tile-gap);
  padding: 0;
  list-style: none;
}
.agent-clients { grid-template-columns: repeat(2, var(--tile-size)); justify-self: start; }
.agent-tile, .agent-hub-mark {
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--tile-radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.agent-tile { width: var(--tile-size); height: var(--tile-size); }
.agent-clients .agent-tile { background: #fff; color: var(--ink); }
.agent-logo { width: 54%; height: 54%; object-fit: contain; }
.agent-hub { position: relative; margin-bottom: 1.125rem; }
.agent-hub-mark {
  width: clamp(2.875rem, 7.2vw, 4.25rem);
  aspect-ratio: 1;
  padding: clamp(.2rem, .65vw, .375rem);
  border-radius: calc(var(--tile-radius) + .125rem);
  box-shadow: var(--shadow-float);
}
.agent-hub-mark img { width: 100%; height: auto; }
.agent-hub-label {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  width: max-content;
  transform: translateX(-50%);
  font-size: clamp(.55rem, 1.1vw, .6875rem);
}
.agent-outcomes { justify-self: end; padding-inline-start: .375rem; }
.agent-outcomes li {
  display: grid;
  grid-template-columns: var(--tile-size) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.375rem, 1vw, .625rem);
  font-size: clamp(.75rem, 1.5vw, .875rem);
  font-weight: 500;
  line-height: 1.2;
}
.agent-outcomes .agent-tile { color: var(--accent-foreground); font-size: clamp(.925rem, 2.2vw, 1.4rem); }
.agent-outcomes li:nth-child(2) .agent-tile { color: var(--pending); }
.agent-outcomes li:nth-child(3) .agent-tile { color: var(--success); }

.agent-connect {
  display: grid;
  justify-items: center;
  gap: .55rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}
.agent-copy { border-radius: 99rem; }
.agent-connect-note { color: var(--muted-foreground); font-size: .875rem; text-wrap: balance; }
.agent-url {
  width: min(100%, 25rem);
  padding: .5rem .75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font: .8rem var(--font-mono);
}

@media (prefers-reduced-motion: no-preference) {
  .agent-signal {
    display: block;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 11 110;
    animation: agent-signal-travel 7s linear infinite;
  }
  @keyframes agent-signal-travel {
    from { stroke-dashoffset: 11; }
    65%, to { stroke-dashoffset: -100; }
  }
}

.proof-section { margin-top: clamp(2.5rem, 5.5vw, 4.5rem); }
.proof-summary {
  max-width: 50rem;
  margin-top: .75rem;
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.proof-summary .text-mono { color: var(--foreground); font-size: .88em; white-space: nowrap; }
.proof-grid, .how-steps, .next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.proof-grid { margin-top: 1.65rem; }
.proof-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  height: 100%;
  min-height: 13rem;
  padding: clamp(1.2rem, 2.6vw, 1.55rem);
  border-radius: 1.5rem;
  color: #fff;
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .25), var(--shadow-card);
  transition: translate .28s var(--ease), box-shadow .28s var(--ease);
}
.proof-purchase { color: var(--ink); }
.proof-check-in { background: linear-gradient(225deg, #236339, #10472b); }
.proof-card:hover { translate: 0 -3px; box-shadow: inset 0 1px 1px rgb(255 255 255 / .25), var(--shadow-float); }
.proof-card:focus-visible { outline: 3px solid var(--accent-foreground); outline-offset: 4px; }
.proof-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  font-weight: 600;
  line-height: 1.22;
}
.proof-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 50%;
  background: #fffaf5;
  color: var(--ink);
}
.proof-icon img { object-fit: contain; }
.proof-card-body { display: grid; align-content: start; gap: .35rem; }
.proof-value { font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
.proof-caption { font-size: .95rem; line-height: 1.5; }
.proof-card-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .4rem;
  padding-top: .75rem;
  border-top: 1px solid color-mix(in srgb, currentColor 34%, transparent);
  font-size: .83rem;
  font-weight: 600;
}
.proof-card-link > .icon { margin-left: auto; }
.proof-note { margin-top: 1.25rem; font-size: .925rem; }
.proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.35rem;
  margin-top: .35rem;
  padding: 0;
  list-style: none;
}
.proof-links a, .how-link { min-height: 2.75rem; color: var(--accent-foreground); font-size: .925rem; }

.how-wrap, .next-section, .disclosure-section, .demo-banner, .landing-footer { margin-top: clamp(3.5rem, 7.25vw, 6rem); }
.how-chapter {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-float);
}
.how-chapter > p { margin-top: .5rem; }
.how-steps { gap: 1.5rem; margin-top: clamp(1.5rem, 3vw, 2.3rem); }
.how-steps > li {
  display: grid;
  align-content: start;
  gap: .6rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 250 245 / .22);
}
.how-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: .3rem;
  border-radius: .75rem;
  color: #fff;
}
.how-steps h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.how-steps p { color: var(--muted-foreground); }
.how-link { justify-self: start; }
.how-link:not(:hover) { text-decoration: underline; text-underline-offset: .2em; }

.next-grid { margin-top: 1.35rem; }
.next-card {
  display: grid;
  align-content: start;
  height: 100%;
  gap: .5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: border-color .2s var(--ease);
}
.next-card > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-weight: 600;
  line-height: 1.3;
}
.next-card .icon { color: var(--accent-foreground); }
.next-card p { color: var(--muted-foreground); font-size: .95rem; }
.next-card:hover { border-color: var(--brand-border); }
.next-card:hover > span { color: var(--accent-foreground); }

.disclosure-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(1.35rem, 5vw, 4rem);
}
.disclosure-list { display: grid; }
.disclosure-list details { border-bottom: 1px solid var(--border); }
.disclosure-list details:first-child { border-top: 1px solid var(--border); }
.disclosure-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem .2rem;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
}
.disclosure-list summary:is(:hover, :focus-visible) { color: var(--accent-foreground); }
.disclosure-list summary::-webkit-details-marker { display: none; }
.disclosure-list summary .icon { color: var(--muted-foreground); transition: rotate .22s var(--ease); }
.disclosure-list details[open] summary .icon { rotate: 180deg; color: var(--accent-foreground); }
.disclosure-list p {
  max-width: 42rem;
  padding: 0 .25rem 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}
.disclosure-list a { color: var(--foreground); text-decoration: underline; text-underline-offset: .2em; }

@media (prefers-reduced-motion: no-preference) {
  .disclosure-list details[open] > p { animation: landing-reveal .24s var(--ease) both; }

  @supports selector(details::details-content) and (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
    .disclosure-list { interpolate-size: allow-keywords; }
    .disclosure-list details[open] > p { animation: none; }
    .disclosure-list details::details-content {
      block-size: 0;
      overflow: clip;
      opacity: 0;
      transition: block-size .34s var(--ease), opacity .24s ease, content-visibility .34s allow-discrete;
    }
    .disclosure-list details[open]::details-content { block-size: auto; opacity: 1; }
  }
}

.demo-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-block-size: clamp(24rem, 40vw, 34.75rem);
  overflow: clip;
  padding: clamp(3rem, 7vw, 5.75rem) clamp(1rem, 4vw, 3rem);
  border: 1px solid rgb(255 250 245 / .08);
  border-radius: clamp(1.5rem, 3.2vw, 2.75rem);
  background:
    radial-gradient(ellipse 72% 86% at 50% 122%, var(--cobalt), color-mix(in srgb, var(--cobalt-deep) 68%, transparent) 58%, transparent 100%),
    var(--background);
  box-shadow: 0 26px 44px -23px rgb(18 17 17 / .72), var(--shadow-float);
}
.demo-banner-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.demo-banner-watermark {
  position: absolute;
  inset-block-start: 43%;
  inset-inline-start: 50%;
  width: clamp(22rem, 50vw, 43rem);
  height: auto;
  aspect-ratio: 1;
  translate: -50% 0;
  rotate: -14deg;
  stroke-width: .65;
  opacity: .085;
}
.demo-banner-art span {
  position: absolute;
  width: 2px;
  height: clamp(1.65rem, 4vw, 3.4rem);
  rotate: 21deg;
  border-radius: 99rem;
  background: linear-gradient(transparent, color-mix(in srgb, var(--cobalt-light) 26%, transparent));
}
.demo-banner-art span::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cobalt-light) 48%, transparent);
  content: "";
}
.demo-banner-art span:nth-of-type(1) { inset: -3% auto auto 5%; }
.demo-banner-art span:nth-of-type(2) { inset: 21% auto auto 12%; }
.demo-banner-art span:nth-of-type(3) { inset: 44% auto auto 9%; }
.demo-banner-art span:nth-of-type(4) { inset: 3% 17% auto auto; }
.demo-banner-art span:nth-of-type(5) { inset: 24% 10% auto auto; }
.demo-banner-art span:nth-of-type(6) { inset: 58% 6% auto auto; }
.demo-banner-content { display: grid; justify-items: center; gap: clamp(1rem, 2.4vw, 1.65rem); text-align: center; }
.demo-banner-icons { display: flex; align-items: center; gap: .65rem; color: var(--muted-foreground); }
.demo-banner-badge {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 2px solid var(--background);
  border-radius: 50%;
  background: var(--paper);
  color: var(--cobalt);
}
.demo-banner-badge + .demo-banner-badge { margin-inline-start: -1.2rem; }
.demo-banner-badge:last-child { color: #24653d; }
.demo-banner h2 {
  max-width: 18ch;
  font-size: clamp(2.125rem, 1.4rem + 3.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.demo-banner p { max-width: 42ch; color: #d9dffa; font-size: clamp(.95rem, 1.55vw, 1.1rem); line-height: 1.5; text-wrap: pretty; }
.demo-banner .button {
  --primary: var(--cobalt);
  --primary-hi: #486dff;
  --ring: var(--cobalt-light);
  border-radius: 99rem;
  font-weight: 600;
}

.landing-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 1.5rem;
  padding: 2.2rem 0 3rem;
  border-top: 1px solid var(--border);
}
.footer-brand-col, .footer-col { display: grid; justify-items: start; align-content: start; gap: .6rem; }
.footer-col h2 { margin-bottom: .2rem; }
.footer-col a, .footer-challenge { color: var(--muted-foreground); font-size: .9rem; }
.footer-col a:hover, .footer-challenge:hover { color: var(--foreground); text-decoration: underline; text-underline-offset: .2em; }
.footer-wallets { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }

@keyframes landing-reveal {
  from { opacity: 0; translate: 0 -.4rem; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-width: 52rem) {
  .landing .nav-pill { width: min(100%, 24rem); height: auto; }
  .landing .nav-pill > .brand { margin-right: auto; }
  .landing .nav-cta { display: none; }
  .landing .nav-pill .theme-toggle { width: 2.75rem; height: 2.75rem; }
  .nav-menu {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 2.75rem;
    padding: .25rem .7rem;
    border: 0;
    border-radius: 99rem;
    background: transparent;
    color: var(--paper);
    font-size: .95rem;
    font-weight: 600;
  }
  .nav-menu:hover, .nav-menu[aria-expanded="true"] { background: rgb(255 255 255 / .1); }
  .nav-menu > .icon { transition: rotate .22s var(--ease); }
  .nav-menu[aria-expanded="true"] > .icon { rotate: 180deg; }
  .nav-links {
    position: absolute;
    inset: calc(100% + .45rem) 0 auto;
    display: none;
    gap: .12rem;
    padding: .38rem;
    border: 1px solid rgb(255 255 255 / .14);
    border-radius: 1.25rem;
    background: var(--nav);
    box-shadow: var(--shadow-float);
  }
  .nav-menu[aria-expanded="true"] + .nav-links { display: grid; animation: landing-reveal .24s var(--ease) both; }
  .nav-links .nav-link { display: flex; align-items: center; min-height: 2.75rem; color: var(--paper); }
  .nav-links .nav-link:focus-visible { outline-offset: -2px; }

  .hero-sky::after { background: color-mix(in srgb, var(--background) 48%, transparent); }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-header { justify-items: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .how-steps, .disclosure-section { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .hero-layout { padding-top: 2rem; }
  .hero-header { gap: .9rem; }
  .hero-header h1 { font-size: clamp(2.2rem, 9.95vw, 3.35rem); }
  .hero-actions { display: grid; width: min(100%, 23rem); margin-top: .2rem; }
  .hero-actions .button { min-height: 3.125rem; padding-inline: .95rem; font-size: .975rem; }
  .proof-grid, .next-grid { grid-template-columns: 1fr; gap: .8rem; }
  .proof-grid { margin-top: 1.25rem; }
  .proof-card { min-height: 0; }
  .proof-links { column-gap: 1rem; row-gap: 0; }
  .landing-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (forced-colors: active) {
  .hero-phone, .proof-card, .demo-banner, .demo-banner .button { border: 1px solid ButtonText; }
  .proof-card:focus-visible { outline-color: Highlight; }
  .agent-track { stroke: GrayText; }
  .agent-signal { display: none; }
}
