/* Halaman /devlabs/. Dipakai bersama site.css: hanya komponen yang tidak ada di sana
   (lembar test run, kartu bug, label hasil, daftar isi paket). Warna tetap dari site.css. */

:root {
  --pass: #276A42;
  --tint-pass: #D7EBDC;
  --fail: #B23A1E;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.mono {
  font-family: var(--mono);
  font-size: .84em;
  letter-spacing: 0;
  white-space: nowrap;
}

/* tautan Masuk di header, tetap tampil di layar kecil (top__nav disembunyikan di sana) */
.dl-login {
  margin-left: auto;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}

.top .btn--small {
  white-space: nowrap;
}

.hero h1.dl-h1 {
  max-width: 15ch;
}

.hero__hello.dl-hello {
  line-height: 1.25;
  margin-bottom: .4em;
}

/* nama produk di baris pembuka hero */
.dl-name {
  display: inline-block;
  font-family: var(--sans);
  font-size: .62em;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--tint-blue);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 1px 9px;
  margin-right: 6px;
  vertical-align: .18em;
  transform: rotate(-2deg);
}

/* ---------- lembar test run di hero ---------- */

.run__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  background: var(--ink);
  color: var(--sheet);
  padding: 15px 20px 13px;
}

.run__head strong {
  font-size: 1rem;
}

.run__head span {
  font-size: .8rem;
  opacity: .85;
  white-space: nowrap;
}

.run__body {
  padding: 6px 20px 14px;
}

.run__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4px 12px;
  margin: 0;
  padding: 10px 0;
  font-size: .9rem;
  line-height: 1.3;
  border-bottom: 1px dashed rgba(30, 36, 72, .18);
}

.run__row:last-child {
  border-bottom: 0;
}

.run__row .mono {
  color: var(--ink-soft);
}

.hasil {
  font-size: .74rem;
  font-weight: 800;
  padding: 3px 8px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
  white-space: nowrap;
}

.hasil--pass {
  color: var(--pass);
  background: var(--tint-pass);
}

.hasil--fail {
  color: var(--fail);
  background: var(--tint-orange);
}

.hasil--none {
  color: var(--ink-soft);
  background: var(--paper-2);
}

.hasil--ready {
  color: var(--blue-ink);
  background: var(--tint-blue);
}

/* kartu bug yang ditempel di bawah lembar test run */
.bug {
  margin: -6px 18px 0 34px;
}

.bug .sheet {
  background-color: var(--tint-yellow);
  padding: 16px 18px 18px;
}

.bug__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.bug__title {
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}

.bug__try {
  font-size: .85rem;
  margin: 0 0 8px;
}

.bug__try s {
  text-decoration-color: var(--fail);
  text-decoration-thickness: 2px;
}

.bug__reject {
  font-size: .85rem;
  line-height: 1.4;
  margin: 0;
  padding: 10px 12px;
  background: var(--sheet);
  border: 2px dashed var(--fail);
  border-radius: 6px;
}

.note--dl {
  margin-left: 6px;
}

/* ---------- alur: cap PASSED di langkah terakhir ---------- */

.stamp {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px 2px;
  font: 800 1.1rem/1.2 var(--sans);
  letter-spacing: .12em;
  color: #9FD8B1;
  border: 3px solid currentColor;
  border-radius: 6px;
  transform: rotate(-6deg);
}

/* ---------- paket gratis ---------- */

.price__list {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.price__list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.price__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .42em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}

.price__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 8px;
}

.price__actions .btn {
  margin-top: 0;
}

.price__more {
  font-size: .95rem;
  border-top: 2px dashed rgba(30, 36, 72, .18);
  margin: 26px 0 0;
  padding-top: 18px;
}

.lp-cta__alt {
  margin-top: 22px;
  font-size: .95rem;
}

@media (max-width: 760px) {
  .price__list {
    grid-template-columns: 1fr;
  }

  .bug {
    margin: -6px 10px 0 18px;
  }

  .dl-login {
    font-size: .9rem;
  }

  .top__inner {
    gap: 16px;
  }
}

@media (max-width: 400px) {
  .run__row {
    grid-template-columns: 1fr auto;
  }

  .run__row .mono {
    grid-column: 1 / -1;
  }
}
