@font-face {
  font-family: "Pryor Geist Ultra";
  src: url("/assets/fonts/geist-ultrablack.otf") format("opentype");
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f4f4;
  --paper-rgb: 244, 244, 244;
  --raised: #fbfbf8;
  --ink: #261923;
  --ink-rgb: 38, 25, 35;
  --lime: #e5f00b;
  --lime-rgb: 229, 240, 11;
  /* Palette lock: human states use approved Aubergine Ink, never the retired plum. */
  --human: var(--ink);
  --human-wash: rgba(var(--ink-rgb), .08);
  --human-wash-rgb: 38, 25, 35;
  --muted: #645f61;
  --display: "Pryor Geist Ultra", "Arial Black", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;
  --spring: cubic-bezier(.16, 1, .3, 1);
  --flow-ease: cubic-bezier(.45, 0, .55, 1);
  --header-h: 88px;
  --background-loop: 42s;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

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

::selection {
  background: var(--ink);
  color: var(--paper);
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 12px;
  padding: 10px 13px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font: 11px/1 var(--mono);
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .2s ease;
}

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

/* Incumbent Pryor liquid-glass navigation */
.nav-scroll-sentinel {
  position: absolute;
  top: calc(var(--header-h) + 10px);
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 80;
  inset: 14px 0 auto;
  padding: 0 clamp(18px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nav-glass {
  position: relative;
  width: min(1560px, 100%);
  min-height: 68px;
  padding: 9px 9px 9px 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 220px 110px at 2% -10%, rgba(var(--lime-rgb), .16), rgba(var(--lime-rgb), .06) 46%, transparent 74%),
    rgba(248, 248, 245, .24);
  box-shadow: inset 0 -1px 0 rgba(var(--ink-rgb), .06);
  backdrop-filter: blur(14px) saturate(132%);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
  pointer-events: auto;
}

.nav-glass::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 112px 34px at 7% 0, rgba(255, 255, 255, .78), transparent 72%),
    linear-gradient(112deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .08) 30%, transparent 52% 76%, rgba(255, 255, 255, .2));
  pointer-events: none;
  opacity: .48;
  transition: opacity .3s ease;
  content: "";
}

@media (min-width: 761px) {
  .site-header.is-compact .nav-glass {
    width: min(1160px, calc(100% - 24px));
    min-height: 60px;
    padding: 7px 7px 7px 13px;
    border-radius: 16px;
    background:
      radial-gradient(ellipse 190px 104px at 2% -10%, rgba(var(--lime-rgb), .3), rgba(var(--lime-rgb), .12) 46%, transparent 74%),
      radial-gradient(ellipse 132px 84px at 15% 126%, rgba(var(--lime-rgb), .14), transparent 72%),
      rgba(248, 248, 245, .56);
    box-shadow:
      0 16px 40px rgba(var(--ink-rgb), .09),
      inset 0 -1px 0 rgba(var(--ink-rgb), .08);
    backdrop-filter: blur(26px) saturate(158%);
    -webkit-backdrop-filter: blur(26px) saturate(158%);
    animation: nav-compact-settle .42s var(--spring) both;
  }

  .site-header.is-compact .nav-glass::before {
    opacity: 1;
  }

  .site-header.is-compact .brand img {
    width: 138px;
  }

  .site-header.is-compact .nav-cta {
    min-height: 46px;
  }
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}

.brand img {
  width: 154px;
  height: auto;
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-link,
.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 730;
  line-height: 1;
  letter-spacing: -.006em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link {
  padding: 0 12px;
  color: rgba(var(--ink-rgb), .7);
  transition: color .2s ease, background-color .2s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(var(--lime-rgb), .28);
}

.nav-cta {
  position: relative;
  z-index: 1;
  /* With the section links parked, the middle column is empty; pinning the
     CTA to the last column keeps it flush right instead of drifting centre. */
  grid-column: 3;
  min-height: 48px;
  padding: 0 19px;
  gap: 9px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 7px 20px rgba(var(--ink-rgb), .14), inset 0 0 0 1px rgba(255, 255, 255, .12);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: -.015em;
  transition: transform .22s var(--spring), box-shadow .22s ease;
}

.nav-cta span:last-child,
.button span:last-child {
  color: var(--lime);
  transition: transform .22s var(--spring);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(var(--ink-rgb), .15);
}

.nav-cta:hover span:last-child,
.button:hover span:last-child {
  transform: translateX(2px);
}

.brand:focus-visible,
.nav-link:focus-visible,
.nav-cta:focus-visible,
.hero button:focus-visible,
.hero input:focus-visible,
.hero a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Pryor shell with the prior Amigo-faithful split */
.hero {
  position: relative;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 34px) clamp(24px, 2.5vw, 48px) 52px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

.hero-grid {
  width: min(100%, 1560px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(460px, 520px) minmax(800px, 900px);
  justify-content: center;
  align-items: center;
  gap: clamp(44px, 3.1vw, 60px);
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  max-width: 520px;
  font-size: clamp(64px, 4.05vw, 72px);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy h1 > span {
  display: block;
  white-space: nowrap;
}

.hero-copy h1 > span + span {
  margin-top: .065em;
}

.hero-copy h1 > span:last-child {
  font-size: .84em;
}

.xx-mark {
  position: relative;
  display: inline-flex;
  isolation: isolate;
  margin: 0 .04em;
  padding: .015em .055em .025em;
  border-radius: 2px;
  background: var(--ink);
  color: var(--lime);
  box-shadow: .035em .035em 0 rgba(var(--ink-rgb), .13);
  font: inherit;
  letter-spacing: inherit;
  line-height: .82;
  vertical-align: baseline;
  transform: rotate(-1deg) translateY(.015em);
}

.xx-mark i {
  position: relative;
  z-index: 1;
  font: inherit;
  font-style: normal;
}

.hero-copy > p {
  max-width: 540px;
  margin: 26px 0 0;
  color: rgba(var(--ink-rgb), .7);
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.48;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 29px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.scan-form {
  display: flex;
  align-items: stretch;
  gap: 5px;
}

.scan-form input {
  width: clamp(190px, 17vw, 242px);
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(var(--ink-rgb), .29);
  border-radius: 2px;
  outline: 0;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .015em;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.scan-form input::placeholder {
  color: rgba(var(--ink-rgb), .67);
  opacity: 1;
}

.scan-form input:focus {
  border-color: rgba(var(--ink-rgb), .76);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 0 0 3px rgba(var(--ink-rgb), .1);
}

.button {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 7px 20px rgba(var(--ink-rgb), .14), inset 0 0 0 1px rgba(255, 255, 255, .12);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: -.015em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--spring), box-shadow .22s ease;
}

.control-note {
  max-width: 420px;
  margin: 2px 0 0;
  color: rgba(var(--ink-rgb), .64);
  font: 10.5px/1.25 var(--mono);
  letter-spacing: .005em;
}

.founder-link {
  min-height: 34px;
  padding: 1px 5px 1px 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: color .22s ease, transform .28s var(--spring);
}

.founder-avatar {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border: 1px solid rgba(var(--ink-rgb), .24);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  transition: border-color .24s ease, box-shadow .24s ease, transform .3s var(--spring);
}

.founder-arrow {
  color: rgba(var(--ink-rgb), .72);
  transition: color .22s ease, transform .28s var(--spring);
}

.founder-link:hover {
  transform: translateY(-1px);
}

.founder-link:hover .founder-avatar {
  border-color: rgba(var(--ink-rgb), .62);
  box-shadow: 0 3px 11px rgba(var(--ink-rgb), .14);
  transform: scale(1.055);
}

.founder-link:hover .founder-arrow {
  color: var(--ink);
  transform: translate(2px, -2px);
}

/* Amigo-faithful cinematic flow */
.hero-visual {
  position: relative;
  width: min(900px, 100%);
  max-width: 900px;
  justify-self: start;
  aspect-ratio: 1344 / 638;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
  background: #1c161a;
  color: var(--paper);
}

.hero-visual::after {
  position: absolute;
  z-index: 20;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .11), inset 0 -1px 0 rgba(0, 0, 0, .3);
  pointer-events: none;
  content: "";
}

.backgrounds,
.background,
.background-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.backgrounds {
  z-index: -4;
  overflow: hidden;
}

.background {
  object-fit: cover;
  opacity: 0;
  filter: blur(28px) saturate(.7) brightness(.72) contrast(.94);
  transform: scale(1.14);
  will-change: opacity, transform;
}

.background-one {
  opacity: 1;
  object-position: 48% 46%;
  animation: background-one var(--background-loop) linear infinite;
}

.background-two {
  object-position: 50% 48%;
  animation: background-two var(--background-loop) linear infinite;
}

.background-three {
  object-position: 56% 50%;
  animation: background-three var(--background-loop) linear infinite;
}

.background-scrim {
  z-index: 3;
  display: block;
  background:
    radial-gradient(circle at 52% 48%, rgba(38, 25, 35, .05), rgba(24, 18, 22, .34) 86%),
    linear-gradient(90deg, rgba(31, 22, 29, .3), rgba(31, 22, 29, .08) 48%, rgba(31, 22, 29, .38)),
    rgba(38, 25, 35, .12);
}

.flow-line {
  position: absolute;
  z-index: 5;
  inset: 0;
  padding: 0 clamp(15px, 1.1vw, 20px);
  display: grid;
  grid-template-columns: 100px 18px 112px 18px minmax(190px, 280px) 230px;
  justify-content: center;
  align-items: center;
  gap: clamp(5px, .42vw, 7px);
}

.flow-node {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(6px, .65vw, 10px);
  color: var(--paper);
  opacity: 0;
  animation: node-reveal .9s var(--spring) forwards;
}

.source-node {
  animation-delay: .28s;
}

.agent-node {
  animation-delay: 1.16s;
}

.website-avatar,
.pryor-avatar {
  position: relative;
  width: clamp(22px, 1.55vw, 30px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .2);
}

.website-avatar {
  border: 1px solid rgba(244, 244, 244, .52);
  background: rgba(244, 244, 244, .82);
}

.website-avatar::before {
  width: 56%;
  height: 42%;
  border: 1px solid rgba(var(--ink-rgb), .7);
  border-radius: 1px;
  box-shadow: inset 0 3px 0 rgba(var(--ink-rgb), .14);
  content: "";
}

.website-avatar i {
  position: absolute;
  top: 28%;
  left: 30%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 4px 0 0 rgba(var(--ink-rgb), .3);
}

.pryor-avatar {
  background: rgba(var(--lime-rgb), .09);
  box-shadow:
    inset 0 0 0 1px rgba(var(--lime-rgb), .27),
    0 5px 18px rgba(0, 0, 0, .22),
    0 0 22px rgba(var(--lime-rgb), .08);
}

.pryor-avatar img {
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.node-label,
.end-labels {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .42);
}

.node-label strong,
.end-labels strong {
  color: rgba(var(--paper-rgb), .92);
  font: 780 clamp(10px, .6vw, 11px)/1.15 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.node-label strong > span {
  display: block;
}

.node-label strong {
  line-height: 1.08;
  white-space: normal;
}

.node-label > span,
.end-labels > span:not(.endpoint-category) {
  color: rgba(var(--paper-rgb), .5);
  font: 500 clamp(10px, .54vw, 10.5px)/1.2 var(--mono);
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .28s ease;
}

.end-labels > span.is-fading {
  opacity: 0;
}

.endpoint-category {
  color: rgba(var(--paper-rgb), .55);
  font: 650 clamp(7.5px, .48vw, 9px)/1.08 var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: normal;
}

.end-labels strong,
.end-labels > span:not(.endpoint-category) {
  white-space: nowrap;
}

.route-arrow,
.endpoint-arrow {
  position: relative;
  height: 14px;
  display: block;
  align-self: center;
  overflow: visible;
}

.route-arrow {
  width: 100%;
  min-width: 0;
  max-width: none;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  animation: arrow-reveal .85s var(--spring) forwards;
}

.arrow-one {
  animation-delay: .72s;
}

.arrow-two {
  animation-delay: 1.54s;
}

.route-arrow::before,
.endpoint-arrow::before {
  position: absolute;
  top: 50%;
  right: 1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--paper-rgb), .18), rgba(var(--paper-rgb), .58));
  transform: translateY(-50%);
  content: "";
}

.route-arrow::after,
.endpoint-arrow::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(var(--paper-rgb), .72);
  border-right: 1px solid rgba(var(--paper-rgb), .72);
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.capability-window {
  position: relative;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .82) 8%, #000 18% 82%, rgba(0, 0, 0, .82) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .82) 8%, #000 18% 82%, rgba(0, 0, 0, .82) 92%, transparent 100%);
  animation: soft-reveal 1.1s var(--spring) 1.86s forwards;
}

.capability-window::after {
  content: none;
}

.capability-list {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: max-content;
  min-width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  transform: none;
}

.capability-list li {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: clamp(25px, 1.66vw, 32px);
  display: flex;
  align-items: center;
  color: rgba(var(--paper-rgb), .5);
  font-size: clamp(14px, 1.32vw, 22px);
  font-weight: 410;
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
  opacity: var(--row-opacity, .18);
  transform: translate3d(var(--row-shift, 0), calc(-50% + var(--row-y, 0px)), 0);
  transition:
    transform 640ms var(--spring),
    opacity 420ms ease,
    color 320ms ease,
    font-weight 320ms ease;
  will-change: opacity, transform;
}

.is-booting .capability-list li {
  transition: none;
}

.capability-list li.is-active {
  color: var(--paper);
  font-weight: 620;
  opacity: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .36);
}

/* Two separate output lanes, with no shared fork */
.delivery-lanes {
  width: 100%;
  min-width: 0;
  max-width: 238px;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 1.7vw, 28px);
  padding-block: 18px;
  opacity: 0;
  animation: soft-reveal 1.05s var(--spring) 2.24s forwards;
}

.delivery-lane {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  align-self: stretch;
  column-gap: 8px;
  row-gap: 10px;
  padding-block: 8px;
  opacity: .48;
  transition: opacity .55s ease;
}

.delivery-lane.is-live {
  opacity: 1;
}

.lane-human {
  row-gap: 14px;
}

.endpoint-arrow {
  grid-column: 1;
  grid-row: 2;
  width: 14px;
  justify-self: end;
}

.lane-agent .endpoint-arrow::before {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(var(--paper-rgb), .12), rgba(var(--paper-rgb), .58));
}

.lane-agent .endpoint-arrow::after {
  border-color: rgba(var(--paper-rgb), .72);
}

.lane-human .endpoint-arrow::before {
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--paper-rgb), .12), rgba(var(--paper-rgb), .58));
}

.lane-human .endpoint-arrow::after {
  border-color: rgba(var(--paper-rgb), .72);
}

.endpoint-arrow::before {
  display: none;
}

.endpoint-arrow::after {
  right: 4px;
}

.end-node {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  width: 100%;
  height: 56px;
  min-width: 0;
  isolation: isolate;
}

.delivery-lane > .endpoint-category {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: start;
}

.endpoint-category {
  min-height: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 9px;
  line-height: 1.05;
  white-space: nowrap;
}

.delivery-lane.is-arriving .end-node {
  animation: endpoint-arrival .76s var(--spring);
}

.end-badge {
  position: relative;
  width: 46px;
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.profile-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  opacity: 0;
  transform: translate3d(-9px, 0, 0) scale(.98);
  pointer-events: none;
  will-change: opacity, transform;
}

.profile-face.is-front {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.profile-face.is-front.is-entering {
  animation: profile-enter .62s var(--spring) .18s both;
}

.profile-face.is-exiting {
  animation: profile-exit .42s var(--spring) both;
}

.end-labels {
  gap: 4px;
  min-width: 0;
}

.end-labels strong {
  font: 780 10.5px/1.02 var(--mono);
  letter-spacing: .045em;
  white-space: nowrap;
}

.profile-domain {
  display: flex !important;
  align-items: center;
  gap: 0;
  color: rgba(var(--paper-rgb), .66) !important;
  font: 550 9.5px/1 var(--mono) !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.profile-source {
  color: rgba(var(--paper-rgb), .6) !important;
  font: 660 8px/1 var(--mono) !important;
  letter-spacing: .085em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.lane-agent .end-badge {
  overflow: hidden;
  border-radius: 50%;
  background: rgba(var(--paper-rgb), .86);
  box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .16), 0 7px 20px rgba(0, 0, 0, .3);
}

.lane-agent .end-badge img {
  position: absolute;
  inset: 20%;
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.lane-human .end-badge {
  border-radius: 50%;
  background: var(--human-wash);
  box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .18), 0 7px 20px rgba(0, 0, 0, .3);
}

.lane-human .end-badge > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.02);
}

.company-chip {
  position: absolute;
  z-index: 4;
  right: -4px;
  bottom: -4px;
  width: clamp(16px, 1.1vw, 19px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--company-color, var(--human));
  color: var(--paper);
  box-shadow: 0 0 0 2px rgba(20, 11, 18, .9), 0 3px 8px rgba(0, 0, 0, .4);
  font: 800 clamp(7px, .5vw, 8.5px)/1 var(--mono);
  transition: background-color .45s ease;
}

.company-chip svg {
  width: 72%;
  height: 72%;
}

.company-chip path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.motion-toggle {
  position: absolute;
  z-index: 30;
  right: 12px;
  bottom: 12px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(var(--paper-rgb), .24);
  border-radius: 4px;
  background: rgba(var(--ink-rgb), .5);
  color: var(--paper);
  font: 650 9px/1 var(--mono);
  letter-spacing: .035em;
  opacity: 0;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: opacity .2s ease, background-color .2s ease;
}

.hero-visual:hover .motion-toggle,
.motion-toggle:focus-visible {
  opacity: 1;
}

.motion-toggle:focus-visible {
  outline: 2px solid var(--lime) !important;
  outline-offset: 3px !important;
}

.motion-paused .background {
  animation-play-state: paused !important;
}

@keyframes background-one {
  0%, 27% { opacity: 1; transform: scale(1.14) translate3d(0, 0, 0); }
  34%, 94% { opacity: 0; transform: scale(1.17) translate3d(-.8%, .4%, 0); }
  100% { opacity: 1; transform: scale(1.14) translate3d(0, 0, 0); }
}

@keyframes background-two {
  0%, 26% { opacity: 0; transform: scale(1.16) translate3d(.8%, 0, 0); }
  34%, 60% { opacity: 1; transform: scale(1.14) translate3d(0, -.3%, 0); }
  68%, 100% { opacity: 0; transform: scale(1.17) translate3d(-.5%, .3%, 0); }
}

@keyframes background-three {
  0%, 59% { opacity: 0; transform: scale(1.15) translate3d(-.5%, 0, 0); }
  67%, 94% { opacity: 1; transform: scale(1.18) translate3d(.5%, -.4%, 0); }
  100% { opacity: 0; transform: scale(1.15) translate3d(0, 0, 0); }
}

@keyframes node-reveal {
  from { opacity: 0; transform: translate3d(-9px, 0, 0); filter: blur(6px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

@keyframes arrow-reveal {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes soft-reveal {
  from { opacity: 0; filter: blur(9px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes nav-compact-settle {
  from { opacity: .78; transform: translate3d(0, -5px, 0) scale(.99); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes endpoint-arrival {
  0% { opacity: .24; transform: translate3d(0, 6px, 0) scale(.96); }
  56% { opacity: 1; transform: translate3d(0, -1px, 0) scale(1.01); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes profile-enter {
  0% { opacity: 0; transform: translate3d(-9px, 0, 0) scale(.98); }
  66% { opacity: 1; transform: translate3d(-1px, 0, 0) scale(1.012); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes profile-exit {
  0% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(9px, 0, 0) scale(.98); }
}

@media (max-width: 1480px) and (min-width: 1361px) {
  .hero-grid {
    grid-template-columns: minmax(450px, 500px) minmax(760px, 840px);
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(60px, 4.25vw, 64px);
  }

  .hero-copy > p {
    font-size: clamp(15px, 1.24vw, 17px);
  }

  .scan-form input {
    width: clamp(170px, 15vw, 214px);
  }
  .flow-line {
    grid-template-columns: 96px 16px 106px 16px minmax(178px, 260px) 228px;
    justify-content: center;
    padding-inline: 14px;
    gap: 5px;
  }

  .capability-list li {
    font-size: clamp(13px, 1.1vw, 17px);
  }
}

@media (max-width: 1360px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 52px);
    padding-bottom: 64px;
  }

  .hero-grid {
    width: min(100%, 1160px);
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 900px;
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(56px, 5.4vw, 68px);
  }

  .hero-copy > p {
    max-width: 690px;
    font-size: clamp(17px, 2vw, 19px);
  }

  .hero-actions {
    align-items: center;
  }

  .hero-visual {
    width: min(900px, 100%);
    max-width: 900px;
    margin: 0 auto;
    justify-self: center;
  }
}

@media (min-width: 761px) and (max-width: 920px) {
  .flow-line {
    grid-template-columns: 86px 14px 96px 14px minmax(145px, 1fr) 224px;
    padding-inline: 12px;
    gap: 4px;
  }

  .website-avatar,
  .pryor-avatar {
    width: 25px;
  }

  .node-label strong {
    font-size: 9px;
  }

  .capability-list li {
    font-size: clamp(13px, 2vw, 17px);
  }

  .end-labels strong {
    font-size: 9.5px;
  }

  .profile-domain {
    font-size: 8.5px !important;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  .site-header {
    inset: max(8px, env(safe-area-inset-top)) 0 auto;
    padding-inline: max(12px, env(safe-area-inset-left));
  }

  .nav-glass {
    min-height: 52px;
    padding: 4px 4px 4px 9px;
    grid-template-columns: auto 1fr auto;
    gap: 6px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(var(--ink-rgb), .1), inset 0 -1px 0 rgba(var(--ink-rgb), .07);
  }

  .brand img {
    width: 116px;
  }

  .site-nav {
    display: none;
  }

  .nav-cta {
    grid-column: 3;
    min-height: 44px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero {
    padding: calc(var(--header-h) + 42px) 16px 48px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-copy h1 {
    max-width: 520px;
    font-size: clamp(37px, 10.6vw, 50px);
  }

  .hero-copy > p {
    max-width: 560px;
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    width: min(100%, 430px);
    margin-top: 25px;
  }

  .scan-form {
    width: 100%;
    flex-direction: column;
  }

  .scan-form input,
  .scan-form .button {
    width: 100%;
  }

  .control-note {
    text-align: center;
  }

  .hero-visual {
    width: min(540px, 100%);
    min-height: 760px;
    aspect-ratio: auto;
    border-radius: 22px;
  }

  .background {
    filter: blur(24px) saturate(.68) brightness(.68) contrast(.94);
    transform: scale(1.18);
  }

  .flow-line {
    position: relative;
    inset: auto;
    min-height: 760px;
    padding: 72px 20px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .flow-node {
    flex: 0 0 auto;
    min-width: 0;
  }

  .source-node,
  .agent-node {
    width: min(230px, 76%);
    justify-content: flex-start;
  }

  .website-avatar,
  .pryor-avatar {
    width: 34px;
  }

  .node-label strong,
  .end-labels strong {
    font-size: 10px;
  }

  .node-label > span,
  .end-labels > span:not(.endpoint-category) {
    font-size: 10px;
  }

  .route-arrow {
    width: 14px;
    min-width: 0;
    max-width: none;
    height: 22px;
    flex: 0 0 22px;
    transform: scaleY(0);
    transform-origin: top center;
  }

  .route-arrow::before,
  .endpoint-arrow::before {
    top: 0;
    right: auto;
    bottom: 1px;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(var(--paper-rgb), .18), rgba(var(--paper-rgb), .58));
    transform: translateX(-50%);
  }

  .route-arrow::after,
  .endpoint-arrow::after {
    top: auto;
    right: auto;
    bottom: 1px;
    left: 50%;
    width: 6px;
    height: 6px;
    border: 0;
    border-right: 1px solid rgba(var(--paper-rgb), .72);
    border-bottom: 1px solid rgba(var(--paper-rgb), .72);
    transform: translateX(-50%) rotate(45deg);
  }

  .route-arrow {
    animation-name: arrow-down-reveal;
  }

  .capability-window {
    align-self: auto;
    width: 100%;
    min-width: 0;
    height: 248px;
    flex: 0 0 248px;
    text-align: center;
  }

  .capability-window::after {
    display: none;
  }

  .capability-list {
    width: 100%;
  }

  .capability-list li {
    height: 36px;
    justify-content: center;
    font-size: clamp(17px, 5.2vw, 23px);
  }

  .delivery-lanes {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    align-self: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    max-width: 500px;
    gap: clamp(12px, 4vw, 24px);
    padding-block: 18px;
  }

  .delivery-lane {
    width: min(48%, 220px);
    align-self: stretch;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 18px auto auto;
    justify-items: center;
    align-content: start;
    column-gap: 0;
    row-gap: 7px;
    padding-block: 8px;
  }

  .endpoint-arrow {
    grid-column: 1;
    grid-row: 1;
    width: 14px;
    height: 18px;
    justify-self: center;
  }

  .lane-agent .endpoint-arrow::before {
    width: 1px;
    height: auto;
    border: 0;
    background: linear-gradient(180deg, rgba(var(--paper-rgb), .12), rgba(var(--paper-rgb), .58));
  }

  .lane-agent .endpoint-arrow::after {
    border-right-color: rgba(var(--paper-rgb), .72);
    border-bottom-color: rgba(var(--paper-rgb), .72);
  }

  .lane-human .endpoint-arrow::before {
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(var(--paper-rgb), .12), rgba(var(--paper-rgb), .58));
  }

  .lane-human .endpoint-arrow::after {
    border-right-color: rgba(var(--paper-rgb), .72);
    border-bottom-color: rgba(var(--paper-rgb), .72);
  }

  .end-node {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    height: 58px;
    text-align: left;
  }

  .profile-face {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
  }

  .end-badge {
    width: 40px;
  }

  .end-labels {
    width: auto;
    align-items: flex-start;
    gap: 3px;
    text-align: left;
  }

  .end-labels strong {
    font-size: 8.5px;
    letter-spacing: .025em;
  }

  .profile-domain {
    font-size: 7.8px !important;
  }

  .profile-source {
    font-size: 7px !important;
  }

  .endpoint-category {
    font-size: 8px;
  }

  .delivery-lane > .endpoint-category {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    justify-self: center;
    text-align: left;
  }

  .motion-toggle {
    top: 14px;
    right: 14px;
    bottom: auto;
    opacity: .82;
  }
}

@media (hover: none), (pointer: coarse) {
  .motion-toggle {
    opacity: .82;
  }
}

@media (max-width: 380px) {
  .brand img {
    width: 104px;
  }

  .nav-cta {
    padding: 0 11px;
    font-size: 10px;
  }

  .hero {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-visual,
  .flow-line {
    min-height: 720px;
  }

  .flow-line {
    padding-right: 14px;
    padding-left: 14px;
  }

  .delivery-lanes {
    gap: 8px;
  }

  .delivery-lane {
    width: calc(50% - 4px);
  }

  .end-badge {
    width: 36px;
  }

  .end-labels strong {
    font-size: 7.6px;
  }

  .profile-domain {
    font-size: 7px !important;
  }
}

@keyframes arrow-down-reveal {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

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

  .background-one {
    opacity: 1;
  }

  .background-two,
  .background-three {
    opacity: 0;
  }

  .flow-node,
  .route-arrow,
  .capability-window,
  .delivery-lanes {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .motion-toggle {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav-glass {
    background: var(--raised);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .background-scrim {
    background: rgba(38, 25, 35, .68);
  }

  .motion-toggle {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  .nav-glass,
  .hero-visual,
  .scan-form input,
  .button,
  .nav-cta {
    border: 1px solid CanvasText;
  }
}
