/* Homepage only. Loaded after styles.css. Does not change other pages. */

.hero--product {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
  border-bottom: 2px solid var(--ink);
}

/* Animated mesh: two drifting emerald/cobalt glows. Transform-only motion
   so it composites instead of repainting. */
.mesh {
  display: none;
}

.mesh i {
  position: absolute;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
}

.mesh i:first-child {
  left: -14rem;
  top: -18rem;
  background: var(--earn);
  animation: drift-a 22s ease-in-out infinite alternate;
}

.mesh i:last-child {
  right: -16rem;
  top: -10rem;
  background: var(--cobalt);
  animation: drift-b 26s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(9rem, 6rem) scale(1.15); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1.1); }
  to { transform: translate(-8rem, 7rem) scale(0.95); }
}

.hero--product .hero__grid {
  position: relative;
}

.hero--product .hero__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero--product .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 5rem;
  }
}

.hero--product h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 6.4vw, 4.9rem);
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.hero--product .hero__sub {
  max-width: 36ch;
  margin-top: 1.75rem;
  font-size: var(--text-xl);
  line-height: var(--leading-normal);
  color: var(--ink-70);
}

.hero--product .hero__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.shot {
  background: var(--paper-2);
  color: var(--ink-70);
  border-radius: var(--radius-2xl);
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.shot__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-45);
}

.shot__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule);
}

.shot__bar i:nth-child(1) { background: color-mix(in srgb, var(--error) 70%, var(--rule)); }
.shot__bar i:nth-child(2) { background: color-mix(in srgb, var(--warn) 70%, var(--rule)); }
.shot__bar i:nth-child(3) { background: color-mix(in srgb, var(--earn) 70%, var(--rule)); }

/* Span waterfall: telemetry.dev-style rows. Type, name, duration bar,
   metrics. Status colors carry the outcome. */
.spans {
  display: flex;
  flex-direction: column;
  margin-top: 0.25rem;
  border-top: 1px solid var(--rule);
}

.span {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.62rem 0.1rem;
  border-bottom: 1px solid var(--rule);
}

.span__dot {
  width: 8px;
  height: 8px;
  margin-top: 0.32rem;
  border-radius: 50%;
  background: var(--cobalt);
}

.span--user .span__dot { background: var(--ink-45); }
.span--ok .span__dot { background: var(--earn); }
.span--err .span__dot { background: var(--error); }

.span__name {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.span__name span {
  color: var(--ink-45);
  font-weight: 500;
}

.span__bar {
  position: relative;
  height: 5px;
  margin-top: 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  overflow: hidden;
}

.span__bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x, 0%);
  width: var(--w, 20%);
  border-radius: var(--radius-sm);
  background: var(--cobalt);
}

.span--ok .span__bar i { background: var(--earn); }
.span--err .span__bar i { background: var(--error); }
.span--user .span__bar i { background: var(--ink-45); }

.span .metric {
  margin-top: 0.1rem;
}

.shot__skill {
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-lg);
  background: var(--green-soft);
  border: 1px dashed var(--green);
}

.shot__skill small {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font: 600 12px/1.3 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}

.shot__skill p {
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--ink);
  min-height: 2.6em;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: var(--earn);
  vertical-align: -2px;
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  to { visibility: hidden; }
}

/* The hero form. One row on wide screens: the field takes the width, the
   button keeps its own. Stacked under 600px, button full width for thumbs. */
.hero__form {
  margin-top: 2.25rem;
  max-width: 34rem;
}

.signup__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.signup__row .signup__field {
  flex: 1 1 14rem;
}

.signup__field {
  display: block;
}

.signup__field > span {
  display: block;
  margin-bottom: 0.45rem;
  font: 600 11px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-70);
}

.signup__field em {
  font-style: normal;
  font-weight: 400;
  color: var(--ink-45);
}

.signup input[type="email"],
.signup input[type="text"],
.signup textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.95rem;
  font: inherit;
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-lg);
}

.signup textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.signup input:focus-visible,
.signup textarea:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 1px;
  border-color: var(--cobalt);
}

.signup input::placeholder,
.signup textarea::placeholder {
  color: var(--ink-45);
}

.signup .btn {
  min-height: 3rem;
  white-space: nowrap;
}

.signup__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup__turnstile:empty {
  display: none;
}

.signup__turnstile {
  margin-top: 0.75rem;
}

.signup__status {
  margin: 0.6rem 0 0;
  min-height: 0;
}

.signup__status:empty {
  display: none;
}

.signup__fine {
  margin: 0.8rem 0 0;
  font-size: var(--text-sm);
  color: var(--ink-45);
}

.signup__fine a {
  color: var(--ink-70);
}

/* Buyer form: email and organization side by side, the need below, the
   button and the reply line on one row. */
.signup__grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 600px) {
  .signup__grid {
    grid-template-columns: 1fr 1fr;
  }

  .signup__field--wide {
    grid-column: 1 / -1;
  }
}

.signup__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.signup__actions .signup__fine {
  margin: 0;
}

@media (max-width: 599px) {
  .signup .btn {
    width: 100%;
  }
}

/* Buyers hero: same grid, no mesh, a little less air. */
.hero--buyers {
  background: none;
}

.hero--buyers h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
}

.hero--buyers .hero__form {
  max-width: 40rem;
}

/* The provenance record: one trace's chain of custody, drawn as a record. */
.record {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: var(--radius-2xl);
  padding: 1.15rem 1.3rem 1.3rem;
  box-shadow: var(--shadow);
}

.record__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ink-45);
}

.record__state {
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.record__chain {
  list-style: none;
  margin: 0;
  padding: 0;
}

.record__chain li {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.record__chain li:last-child {
  border-bottom: 0;
  padding-bottom: 0.2rem;
}

.record__t {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ink-45);
  font-variant-numeric: tabular-nums;
  padding-top: 0.1rem;
}

.record__chain b {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.record__chain small {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--ink-70);
}

/* Tiers: a ruled definition list, the site's own list device. Not a sequence,
   so no numbers; not a card grid. */
.tiers {
  padding: 6rem 0 6.5rem;
  border-top: 1px solid var(--rule);
}

.tiers h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.tiers__lead {
  max-width: var(--w-text);
  margin-top: 1rem;
  font-size: var(--text-lg);
  color: var(--ink-70);
}

.tiers__list {
  margin: 2.5rem 0 0;
}

.tiers__list > div {
  display: grid;
  gap: 0.4rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule-dark);
}

.tiers__list > div:first-child {
  border-top: 2px solid var(--ink);
}

.tiers__list > div:last-child {
  border-bottom: 1px solid var(--rule-dark);
}

/* Name column plus text column add up to --w-text, so the tier text ends on
   the same edge as the lead above it. The rule under each row still spans. */
@media (min-width: 800px) {
  .tiers__list > div {
    grid-template-columns: 10rem minmax(0, calc(var(--w-text) - 12rem));
  }
}

.tiers__list dt {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tiers__list dd {
  margin: 0;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--ink-70);
}

.tiers__note {
  max-width: var(--w-text);
  margin-top: 2rem;
  font-size: var(--text-sm);
  color: var(--ink-45);
}

/* Steps: three across when there are three. */
@media (min-width: 800px) {
  .steps--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Close with the form beside the pitch on wide screens. */
@media (min-width: 900px) {
  .close--form .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 4.5rem;
    align-items: start;
  }
}

.close--form .signup {
  margin-top: 0.4rem;
}

.close--form .signup .btn {
  margin-top: 0;
}

/* Agent marquee: infinite strip between hero and jobs. */
.marquee {
  overflow: hidden;
  padding: 0 0 5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee span {
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-45);
  white-space: nowrap;
}

.marquee span b {
  color: var(--orange);
  font-weight: 600;
  margin-right: 0.5rem;
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 1.75rem)); }
}




.how--tight {
  padding: 0 0 7rem;
}

.how--tight h2 {
  margin-bottom: 2.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.how--tight .steps {
  display: grid;
  gap: 1.1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 800px) {
  .how--tight .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }
}

.how--tight .steps li {
  position: relative;
  padding-top: 0;
  border-top: none;
  counter-increment: step;
}

/* Tight rows: the two-digit mono numeral sits above the heading, in orange,
   as the reference draws its stage numbers. */
.how--tight .steps li::before {
  position: static;
  display: block;
  margin-bottom: 0.9rem;
  content: "0" counter(step);
  font: 600 12px/1 var(--mono);
  color: var(--orange);
}

.how--tight .steps h3 {
  margin: 0 0 0.6rem;
  font-size: var(--text-xl);
}


.how--tight .steps p {
  margin: 0;
  color: var(--ink-70);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

.how--tight .covers__note {
  margin-top: 1.4rem;
  max-width: var(--measure);
  color: var(--ink-45);
  font-size: var(--text-sm);
}

.pay {
  padding: 0 0 7rem;
}

.pay__card {
  padding: 2.75rem 3rem;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--earn) 7%, var(--paper-2)),
      var(--paper-2));
  border: 1px solid color-mix(in srgb, var(--earn) 32%, var(--rule));
}

.pay__card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.pay__card p {
  margin: 1rem 0 0;
  max-width: var(--measure);
  color: var(--ink-70);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.close--product {
  padding: 7rem 0;
}

.close--product h2 {
  max-width: 15ch;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.close--product p {
  max-width: var(--measure-lead);
  font-size: var(--text-lg);
}

.foot .foot__tag {
  color: var(--ink-45);
}

/* Buyer FAQ: the questions a procurement or research lead asks first. */
.faq {
  padding: 6rem 0 6.5rem;
  border-top: 1px solid var(--rule-dark);
}

.faq h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.faq .qa dd {
  color: var(--ink-70);
  max-width: var(--measure);
}

