:root { --ink: #1d2330; --muted: #6b7280; --brand: #1f3a5f; --gold: #c19a3e; --line: #e7e3da; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.6 Inter, system-ui, 'Segoe UI', sans-serif; color: var(--ink); background: #f4f2ee; }
a { color: var(--brand); }
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 28px 20px 120px;
  background: radial-gradient(900px 500px at 110% -10%, rgba(214, 178, 94, .45), transparent 60%), radial-gradient(700px 400px at -10% 120%, rgba(214, 178, 94, .25), transparent 60%), linear-gradient(140deg, #0f2440, #1f3a5f 60%, #2b5080);
}
.hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.nav { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.brand .mk { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #d6b25e, #b08530); display: grid; place-items: center; }
.brand .mk svg { width: 20px; height: 20px; }
.brand small { display: block; font-weight: 400; color: #b9c7da; font-size: 12px; }
.nav a.adm { color: #e6edf6; text-decoration: none; font-size: 13.5px; border: 1px solid rgba(255, 255, 255, .25); padding: 7px 14px; border-radius: 999px; }
.nav a.adm:hover { background: rgba(255, 255, 255, .08); }
.hero-in { max-width: 760px; margin: 70px auto 0; text-align: center; position: relative; z-index: 1; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 5vw, 48px); margin: 0 0 12px; line-height: 1.15; }
.hero p { color: #cbd6e4; margin: 0 auto 30px; max-width: 560px; }
.search { display: flex; gap: 8px; background: #fff; padding: 7px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); max-width: 600px; margin: 0 auto; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; padding: 0 14px; color: var(--ink); background: transparent; }
.search button { border: 0; background: linear-gradient(135deg, #d6b25e, #b08530); color: #fff; font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 11px; cursor: pointer; white-space: nowrap; }
.msg { margin-top: 14px; color: #ffd6d6; min-height: 24px; }
.wrap { max-width: 1080px; margin: -80px auto 0; padding: 0 20px 60px; position: relative; z-index: 2; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 30px rgba(16, 24, 40, .07); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding: 26px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: #fbf3df; color: #a77a1c; display: grid; place-items: center; margin-bottom: 12px; }
.step .n svg { width: 20px; height: 20px; }
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 20px; }

/* verifikasi */
.status { display: flex; gap: 18px; align-items: center; padding: 24px 26px; border-radius: 18px 18px 0 0; }
.status .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.status .ic svg { width: 30px; height: 30px; }
.status h2 { margin: 0; font-size: 21px; }
.status p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.status.ok { background: linear-gradient(90deg, #e9f8ee, #fff); }
.status.ok .ic { background: #15803d; color: #fff; box-shadow: 0 8px 20px rgba(21, 128, 61, .3); }
.status.ok h2 { color: #14532d; }
.status.bad { background: linear-gradient(90deg, #fdecec, #fff); }
.status.bad .ic { background: #b91c1c; color: #fff; }
.status.bad h2 { color: #7f1d1d; }
.details { display: grid; grid-template-columns: 1.05fr 1.6fr; border-top: 1px solid var(--line); }
.info { padding: 22px 26px; border-right: 1px solid var(--line); }
.info dl { margin: 0; }
.info dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; margin-top: 14px; }
.info dt:first-child { margin-top: 0; }
.info dd { margin: 2px 0 0; font-weight: 600; }
.info dd.mono { font-family: ui-monospace, Consolas, monospace; font-weight: 500; }
.pv { padding: 22px; background: repeating-conic-gradient(#efece5 0 25%, #f7f5f0 0 50%) 50% / 22px 22px; border-radius: 0 0 18px 0; }
.pv .cert-frame { box-shadow: 0 16px 40px rgba(0, 0, 0, .2); border-radius: 3px; }
.btns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--ink); }
.btn svg { width: 17px; height: 17px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn:disabled { opacity: .6; }
.seal { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #faf7ef; border: 1px dashed #e2d3a8; font-size: 12.5px; color: #6b5a2e; }
.loading { padding: 60px; text-align: center; color: var(--muted); }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .details { grid-template-columns: 1fr; }
  .info { border-right: 0; border-bottom: 1px solid var(--line); }
  .pv { border-radius: 0 0 18px 18px; padding: 14px; }
  .search button { padding: 12px 14px; }
}
