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

.hero--product {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}

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

.hero--product .hero__grid {
  display: grid;
  gap: 3.5rem;
  /* Top, not centre: the buyer page's left column is taller (three-field form), so
     centring put its card lower than the homepage's. */
  align-items: start;
}

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

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

.hero--product .hero__sub {
  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(--rule);
  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);
}

.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: 1.4em;
}

/* 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, a little less air. */
.hero--buyers {
  background: none;
}

.hero--buyers h1 {
  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, then the text across the rest of the container. */
@media (min-width: 800px) {
  .tiers__list > div {
    grid-template-columns: 12rem minmax(0, 1fr);
  }
}

.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 list under the hero: an even grid, static. */
.agents {
  padding: 4.5rem 0 5rem;
  border-top: 1px solid var(--rule);
}

.agents__label {
  margin: 0 0 1.5rem;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.agents__group {
  margin: 0 0 1rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
}

.agents__list + .agents__group {
  margin-top: 2.25rem;
}

.agents__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 0.9rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agents__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  font: 500 13px/1.3 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-70);
  white-space: nowrap;
}

.agent-logo {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}

.agent-logo--mono {
  -webkit-mask: none;
  mask: none;
  background: none;
  border: 1.5px solid currentColor;
  font: 600 10px/13px var(--mono);
  font-style: normal;
  text-align: center;
  text-transform: uppercase;
}





.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 {
  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);
}

/* Waitlist sign-in: GitHub or Google instead of an email field. */
.signup--oauth .signup__lead {
  margin: 0 0 0.7rem;
  font: 600 12px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.signup__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.signup__buttons .btn { flex: 1 1 12rem; justify-content: center; }
