/* Demo portal: same work-site palette and type as the HR demo (steel navy, white sheets,
   one signal-orange accent) so the portal and the demos read as one product family. */
@font-face { font-family: 'Public Sans'; src: url('/font/publicsans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/font/publicsans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/font/publicsans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --baja: #17293a;
  --baja-2: #213a50;
  --baja-teks: #b7c4d1;
  --aksen: #d9480f;
  --aksen-tekan: #b93c0b;
  --kertas: #f3f4f2;
  --putih: #fff;
  --garis: #dde1e4;
  --garis-kuat: #c5ccd2;
  --teks: #1b2530;
  --teks-2: #56636f;
  --r: 8px;
  --r-kecil: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; font-family: 'Public Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.55; color: var(--teks); background: var(--kertas); font-variant-numeric: tabular-nums; }
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }

.ikon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bingkai { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

/* Header */
.kepala { background: var(--baja); color: #fff; padding-top: env(safe-area-inset-top); }
.kepala-isi { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.merek { font-weight: 600; font-size: 17px; text-decoration: none; letter-spacing: -0.01em; }
.merek span { color: var(--aksen); }
.hubungi-kecil { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r-kecil); font-weight: 500; font-size: 14px; text-decoration: none; transition: background-color .15s, border-color .15s; }
.hubungi-kecil:hover { background: var(--baja-2); border-color: rgba(255, 255, 255, .4); }

/* Opening band continues the navy header so the title sits on the same chrome */
main { flex: 1; }
.pembuka { padding: 36px 0 40px; color: #fff; background: var(--baja); box-shadow: 0 0 0 100vmax var(--baja); -webkit-clip-path: inset(0 -100vmax); clip-path: inset(0 -100vmax); }
.mini { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teks-2); }
.pembuka .mini { color: var(--baja-teks); }
.pembuka h1 { margin-top: 10px; font-size: clamp(28px, 6vw, 44px); line-height: 1.15; max-width: 18ch; }
.lead { margin-top: 14px; max-width: 56ch; color: var(--baja-teks); font-size: 16px; }

/* Demo list */
.daftar-demo { position: relative; z-index: 0; display: grid; gap: 16px; margin-top: 28px; }
.demo { display: flex; flex-direction: column; gap: 18px; padding: 22px; background: var(--putih); border: 1px solid var(--garis); border-radius: var(--r); }
.demo-ikon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-kecil); background: var(--baja); color: #fff; }
.demo-ikon .ikon { width: 24px; height: 24px; }
.utama-demo .demo-ikon { background: var(--aksen); }
.demo-isi { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.demo-isi h2 { font-size: 20px; line-height: 1.3; }
.demo-isi p { color: var(--teks-2); }
.poin { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.poin li { position: relative; padding-left: 18px; }
.poin li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--aksen); }
.demo-kaki { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--garis); }
.akses { font-size: 13.5px; color: var(--teks-2); }
.akses b { color: var(--teks); font-weight: 600; }

.tombol { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-kecil); border: 1px solid var(--aksen); background: var(--aksen); color: #fff; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, transform .1s; }
.tombol:hover { background: var(--aksen-tekan); border-color: var(--aksen-tekan); }
.tombol:active { transform: translateY(1px); }
.tombol:focus-visible, .hubungi-kecil:focus-visible, .merek:focus-visible { outline: 2px solid var(--aksen); outline-offset: 2px; }
.tombol .ikon { width: 17px; height: 17px; }
.tombol.garis { background: var(--putih); border-color: var(--garis-kuat); color: var(--teks); }
.tombol.garis:hover { background: var(--kertas); border-color: var(--teks-2); }
.tombol.garis-terang { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.tombol.garis-terang:hover { background: var(--baja-2); }

/* Closing contact band */
.penutup { display: flex; flex-direction: column; gap: 18px; margin: 32px 0 0; padding: 26px 22px; background: var(--baja); color: #fff; border-radius: var(--r); }
.penutup h2 { font-size: 20px; }
.penutup p { margin-top: 6px; color: var(--baja-teks); }
.penutup-aksi { display: flex; flex-wrap: wrap; gap: 10px; }
.penutup-aksi .tombol { white-space: normal; text-align: center; }

.kaki { padding-top: 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); font-size: 13px; color: var(--teks-2); }

@media (max-width: 420px) {
  .demo-kaki .tombol, .penutup-aksi .tombol { width: 100%; }
}

/* Two columns once a card can hold its text comfortably; the featured demo spans the full row */
@media (min-width: 760px) {
  .pembuka { padding: 56px 0 64px; }
  .daftar-demo { grid-template-columns: 1fr 1fr; margin-top: -28px; }
  .utama-demo { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; row-gap: 18px; padding: 28px; }
  .utama-demo .demo-kaki { grid-column: 2; }
  .utama-demo .poin { justify-content: start; gap: 6px 28px; }
  .penutup { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; }
  .penutup-aksi { flex: none; }
}

@media (min-width: 1100px) {
  .utama-demo .poin { grid-auto-flow: row; grid-template-columns: repeat(3, auto); }
}
