/* siraj-bio.css — tampilan halaman link-in-bio /siraj/ (mobile-first, 360px ke atas).
   Dimuat lewat <link> biasa: halaman ini memakai CSP ebook-checkout (style-src 'self'),
   jadi tidak ada style inline di markup dan tidak ada font/CDN baru.
   growth.css dibiarkan utuh (masih dipakai /gratis); halaman ini tidak memuatnya lagi.
   Header dan footer dirender ebook-checkout/inc/view.php dan tidak diubah, jadi ditata
   ulang lewat selektor body:has(.bio) supaya hanya berlaku di halaman ini. */

/* ================= Header (khusus halaman ini) ================= */
body:has(.bio) header.site > div {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  padding: 2px 8px;
}
body:has(.bio) header.site a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 7px;
  font-size: 12.5px;
  line-height: 1.15;
  white-space: nowrap;
  border-radius: 10px;
  color: #1e4aa3;
}
body:has(.bio) header.site a.logo {
  font-size: 17px;
  padding: 0 4px;
  margin-right: auto;
  color: #0e2d6c;
}
body:has(.bio) header.site a:hover { background: #eef4ff; color: #12417f; }
body:has(.bio) header.site a.back { display: none; }
body:has(.bio) header.site a:focus-visible { outline: 2px solid #1e4aa3; outline-offset: -2px; }
@media (min-width: 768px) {
  body:has(.bio) header.site > div { padding: 2px 16px; gap: 0 6px; }
  body:has(.bio) header.site a { font-size: 14px; padding: 0 10px; }
  body:has(.bio) header.site a.logo { font-size: 20px; padding: 0 10px 0 0; }
  body:has(.bio) header.site a.back { display: inline-flex; }
}

/* ================= Footer: target sentuh ================= */
body:has(.bio) footer p:nth-of-type(3) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  font-size: 0; /* pemisah "·" di antara tautan jadi tidak terlihat; tautan tetap 13px */
}
body:has(.bio) footer p:nth-of-type(3) a,
body:has(.bio) footer p:nth-of-type(4) a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 13px;
  border-radius: 10px;
  background: #eaeff7;
  color: #12417f;
  text-decoration: none;
}
body:has(.bio) footer p:nth-of-type(3) a:hover,
body:has(.bio) footer p:nth-of-type(4) a:hover { background: #dbe5f5; }

/* ================= Kerangka halaman ================= */
.bio {
  max-width: 1016px;
  margin: 0 auto;
}
body:has(.bio) main { padding: 12px 10px 6px; }
.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

/* ================= Hero profil ================= */
.bio-hero {
  background: linear-gradient(135deg, #0e2d6c 0%, #1e4aa3 100%);
  color: #fff;
  border-radius: 18px;
  padding: 14px 14px 15px;
  box-shadow: 0 10px 26px rgba(14, 45, 108, .18);
}
.bio-hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bio-ava {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .72);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bio-ava-mono {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  color: #0e2d6c;
}
.bio-ava-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bio-id { min-width: 0; }
.bio-name {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.01em;
  color: #fff;
}
.bio-role {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #cfe0ff;
}
.bio-bio {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #e2ebfb;
}
.bio-badge {
  list-style: none;
  margin: 11px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bio-badge li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #f3f7ff;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 6px 10px;
}
.bio-badge-i { flex: 0 0 auto; color: #ffd766; }

/* ================= Banner promo ================= */
.bio-promo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 10px 12px;
}
.bio-promo-ico {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffedd5;
  color: #9a3412;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bio-promo-txt { min-width: 0; }
.bio-promo-h {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  color: #9a3412;
}
.bio-promo-p {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #7c2d12;
}

/* ================= Bagian ================= */
.bio-sec { margin: 14px 0 0; }
.bio-sec-h {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #3d4c66;
}

/* ================= Kartu produk ================= */
.bio-prods {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
a.bio-prod {
  display: flex;
  align-items: stretch;
  gap: 11px;
  padding: 11px;
  background: #fff;
  border: 1px solid #d7dfec;
  border-radius: 16px;
  text-decoration: none;
  color: #0e2d6c;
}
.bio-cov {
  flex: 0 0 auto;
  align-self: center;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef4ff;
  color: #1e4aa3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bio-cov img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bio-prod-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
.bio-prod-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.bio-prod-t {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.28;
  color: #0e2d6c;
}
.bio-prod-d {
  font-size: 12.5px;
  line-height: 1.4;
  color: #4d5b73;
}
.bio-px {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
}
.bio-now {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: #0e2d6c;
}
.bio-was {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}
.bio-pill {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 999px;
  padding: 3px 8px;
  background: #eaf1fd;
  border: 1px solid #c9dcf7;
  color: #11407e;
}
.bio-pill--hemat {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
.bio-tag {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .04em;
  border-radius: 999px;
  padding: 3px 8px;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #14532d;
}
.bio-cta {
  margin-top: auto;
  display: block;
  height: 48px;
  line-height: 48px;
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  background: #1e4aa3;
  color: #fff;
}
a.bio-prod--free {
  border-color: #86efac;
  background: linear-gradient(180deg, #f4fdf7 0%, #fff 55%);
}
.bio-prod--free .bio-cov { background: #dcfce7; color: #15803d; }
.bio-prod--free .bio-cta { background: #15803d; }

/* ================= Kartu reseller ================= */
.bio-res {
  background: linear-gradient(160deg, #0e2d6c 0%, #123a75 55%, #0b2450 100%);
  border-radius: 18px;
  padding: 16px;
  color: #fff;
  box-shadow: 0 10px 26px rgba(14, 45, 108, .16);
}
.bio-res-h {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
}
.bio-res-d {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #dbe6fa;
}
.bio-res-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.bio-res-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #eef4ff;
}
.bio-res-list svg { flex: 0 0 auto; margin-top: 2px; color: #fbbf24; }
.bio-res-fine {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #bdcdea;
}
a.bio-res-cta {
  display: block;
  margin-top: 12px;
  height: 48px;
  line-height: 48px;
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  background: #fbbf24;
  color: #0b1b3a;
  text-decoration: none;
}

/* ================= Link lainnya ================= */
.bio-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
a.bio-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 84px;
  padding: 12px;
  background: #fff;
  border: 1px solid #d7dfec;
  border-radius: 14px;
  text-decoration: none;
  color: #0e2d6c;
}
.bio-link-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-bottom: 5px;
  border-radius: 10px;
  background: #eef4ff;
  color: #1e4aa3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bio-link-txt { min-width: 0; }
.bio-link-t {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}
.bio-link-d {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #4d5b73;
}
a.bio-link--wa {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}
a.bio-link--wa .bio-link-ico {
  margin-bottom: 0;
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
a.bio-link--wa .bio-link-d { color: #dcfce7; }

.bio-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #4d5b73;
  text-align: center;
}

/* ================= Hover, fokus, gerak ================= */
a.bio-prod:hover,
a.bio-link:hover {
  border-color: #1e4aa3;
  box-shadow: 0 6px 18px rgba(14, 45, 108, .10);
}
a.bio-prod--free:hover { border-color: #15803d; }
a.bio-link--wa:hover { background: #12662f; border-color: #12662f; }
a.bio-res-cta:hover { background: #f5c022; }
a.bio-prod:focus-visible,
a.bio-link:focus-visible,
a.bio-res-cta:focus-visible {
  outline: 3px solid #307FE2;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  a.bio-prod,
  a.bio-link,
  a.bio-res-cta,
  body:has(.bio) header.site a {
    transition: background-color .15s, border-color .15s, box-shadow .15s, color .15s;
  }
}

/* ================= Layar sedang ================= */
@media (min-width: 600px) {
  .bio-prods { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .bio-cov { width: 104px; height: 104px; }
}

/* ================= Desktop: hero sticky kiri, konten kanan ================= */
@media (min-width: 900px) {
  body:has(.bio) main { padding: 16px 16px 8px; }
  .bio-grid {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 20px;
  }
  .bio-col-a { position: sticky; top: 60px; }
  .bio-cov { width: 96px; height: 96px; }
  .bio-hero { padding: 18px 18px 20px; }
  .bio-ava { width: 92px; height: 92px; }
  .bio-ava-mono { font-size: 32px; }
  .bio-name { font-size: 25px; }
  .bio-role { font-size: 13.5px; }
  .bio-bio { font-size: 14px; }
  .bio-res { padding: 20px; }
  .bio-res-h { font-size: 21px; }
  .bio-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
