/* Halaman publik: Splash, Tentang Kami, Cek Pesanan, Hasil Cek Pesanan */
body.pub {
  --bg: #f1f4fc; --ink: #181f3a; --muted: #6b7394; --label: #5d6585; --primary: #5f7bd8; --line: #e6eaf8;
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--ink);
}
.pub *, .pub *::before, .pub *::after { box-sizing: border-box; }
.pub h1, .pub h2, .pub h3, .pub p, .pub dl, .pub dd, .pub ol, .pub ul { margin: 0; padding: 0; }
.pub a { color: inherit; text-decoration: none; }
.pub :focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.pub [hidden] { display: none !important; }
.pub .card { background: #fff; border: 1px solid var(--line); border-radius: 20px; }

/* ---------- Splash ---------- */
body.splash { align-items: center; justify-content: center; background: #181f3a; color: #fff; }
.splash__brand { display: flex; align-items: center; gap: 18px; font-size: 44px; font-weight: 700; letter-spacing: -.5px; animation: splash-in .7s ease both; }
.splash__logo { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; }
@keyframes splash-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .splash__brand { animation: none; } }

/* ---------- Navbar & footer ---------- */
.pubbar { background: #fff; border-bottom: 1px solid var(--line); }
.pubbar__in { width: min(1268px, calc(100% - 48px)); margin: 0 auto; height: 78px; display: flex; align-items: center; gap: 28px; }
.pubbar__brand { display: flex; align-items: center; gap: 12px; margin-left: -14px; font-size: 17px; font-weight: 700; }
.pubbar__logo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.pubbar__nav { margin-left: auto; display: flex; gap: 28px; font-size: 13px; font-weight: 600; color: var(--label); }
.pubbar__nav a:hover { color: var(--ink); }
.pubbar__nav a[aria-current] { color: var(--primary); }
.pubbar__actions { display: flex; gap: 10px; }
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 26px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; }
.pbtn--outline:hover { border-color: var(--primary); }
.pbtn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.pbtn--primary:hover { filter: brightness(1.06); }
.pbtn--lg { height: 46px; padding: 0 44px; }
.pmain { flex: 1; width: min(1268px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 56px; }
.pubfoot { border-top: 1px solid var(--line); }
.pubfoot__in { width: min(1268px, calc(100% - 48px)); margin: 0 auto; padding: 16px 0 22px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.pubfoot strong { color: var(--ink); }
.pubfoot a:hover { color: var(--primary); }
.tagline { display: inline-block; padding: 5px 14px; border-radius: 999px; background: #e3eafb; color: #4466c8; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }

/* ---------- Tentang Kami ---------- */
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 28px; }
.about-hero h1 { margin: 14px 0 14px; font-size: 40px; line-height: 1.15; letter-spacing: -.6px; }
.about-hero p { max-width: 46ch; font-size: 14px; line-height: 1.7; color: var(--label); }
.about-hero .pbtn { margin-top: 24px; }
.about-art { display: grid; place-items: center; min-height: 240px; border-radius: 16px; background: #e9eefc; }
.about-art svg { width: min(100%, 360px); height: auto; }
.pub .h2 { margin: 34px 0 16px; font-size: 22px; font-weight: 700; letter-spacing: -.2px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 22px 24px 24px; }
.feat__ico { grid-row: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e3eafb; color: #4466c8; }
.feat h3 { font-size: 15px; font-weight: 700; }
.feat p { grid-column: 1 / -1; margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--label); }
.feat--svc { padding-block: 22px; }
.feat--svc p { grid-column: 2; margin-top: 0; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 22px 28px; border-radius: 18px; background: #e6ebfa; }
.cta-band h2 { font-size: 17px; font-weight: 700; }
.cta-band p { margin-top: 4px; font-size: 12.5px; color: var(--label); }

/* ---------- Cek Pesanan ---------- */
.check { display: grid; grid-template-columns: 1fr minmax(340px, 400px); gap: 64px; align-items: center; min-height: 560px; }
.check h1 { margin: 14px 0 14px; font-size: 46px; line-height: 1.12; letter-spacing: -.9px; max-width: 12ch; }
.check__lead { max-width: 44ch; font-size: 14px; line-height: 1.65; color: var(--label); }
.check__trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 26px; font-size: 12px; color: var(--label); }
.check__trust li { list-style: none; display: flex; align-items: center; gap: 8px; }
.check-form { padding: 26px 24px 22px; display: grid; gap: 16px; }
.check-form h2 { font-size: 18px; font-weight: 700; }
.pfld label { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 700; color: var(--label); }
.pfld__box { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); }
.pfld__box:focus-within { border-color: var(--primary); }
.pfld__box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; color: var(--ink); }
.pfld__box input::placeholder { color: #a3aac6; }
.check-form .pbtn { height: 46px; width: 100%; font-size: 14px; }
.check-form__foot { text-align: center; font-size: 12px; color: var(--label); }
.check-form__foot a { font-weight: 700; color: var(--primary); }
.check-err { padding: 10px 14px; border-radius: 10px; background: #fde6e9; color: #b3394b; font-size: 12.5px; }

/* ---------- Hasil Cek Pesanan ---------- */
.crumb { font-size: 11.5px; color: var(--label); }
.crumb a:hover { color: var(--primary); }
.result-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 22px; }
.result-head h1 { font-size: 30px; letter-spacing: -.4px; }
.result-head p { margin-top: 6px; font-size: 13px; color: var(--label); }
.result-grid { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.res-card { padding: 22px 22px 24px; }
.res-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.res-card__top h2 { font-size: 22px; letter-spacing: -.3px; }
.res-card__top p { margin-top: 4px; font-size: 12px; color: var(--label); }
.eta { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 12px; color: var(--label); }
.eta strong { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--ink); }
.pickup { padding: 22px; display: grid; gap: 14px; }
.pickup h2 { font-size: 17px; }
.pickup li { list-style: none; display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 12px; color: var(--label); }
.pickup li strong { display: block; font-size: 12.5px; color: var(--ink); }
.pickup .pbtn { width: 100%; height: 46px; }
.notfound { padding: 40px 28px; text-align: center; }
.notfound h2 { font-size: 20px; }
.notfound p { margin: 8px auto 20px; max-width: 46ch; font-size: 13px; line-height: 1.6; color: var(--label); }

@media (max-width: 900px) {
  .pubbar__nav { display: none; }
  .pubbar__actions { margin-left: auto; }
  .about-hero, .check, .result-grid { grid-template-columns: 1fr; }
  .check { gap: 32px; min-height: 0; }
  .check h1 { font-size: 36px; }
  .grid3 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
