/* ============================================================================
   Symphony18 — Marketing/Demo Site  ·  site.css
   Human Capital Suite di atas Odoo 18 Community · self-contained, 0 request eksternal.

   DAFTAR KOMPONEN REUSABLE (untuk agent pengisi halaman demo)
   ----------------------------------------------------------------------------
   LAYOUT
     .site            wrapper halaman (background gradient brand-soft)
     .shell           container lebar (min(1180px, 100% - 40px), auto margin)
     .section         blok vertikal (padding atas/bawah)
     .section.tint    varian ber-latar surface (border atas/bawah)
     .section-inner   = .shell (alias di dalam section)
     .section-head    header section (kicker + judul + deskripsi)
     .kicker          label uppercase kecil warna brand
     .section-title   judul H2 section
   NAVIGASI
     .nav .nav-inner .brand .brand-mark .brand-copy
     .nav-links       daftar link tengah (a:hover/.active)
     .nav-actions     tombol kanan
     .nav-toggle      tombol hamburger (mobile, di-handle site.js)
   TOMBOL & CHIP
     .btn             tombol dasar (outline)
     .btn.btn-primary tombol brand solid
     .btn.btn-accent  tombol accent teal (CTA sekunder)
     .btn.btn-ghost   tombol transparan (mis. di atas latar gelap)
     .chip            pil kecil (fitur) · .chip.accent .chip.amber .chip.green ...
     .badge           label status (mis. .badge.green "Aktif")
   HERO
     .hero .hero-shell(2 kolom) .hero-copy .hero-cta .hero-metrics .metric
     .hero-card       kartu preview produk (head + body)
     .hero-card-head .hero-card-body
   GRID DOMAIN (homepage #modul & halaman demo "Kapabilitas")
     .grid .grid-2 .grid-3 .grid-4   (responsive → 1 kolom di mobile)
     .domain-card     ikon + judul + desc + chips + link. Warna per :nth-child
                      memakai token *-soft otomatis (lihat blok .domain-card .d-ico)
   FEATURE ROW (teks + preview UI berselang-seling)
     .feature-row     2 kolom, .feature-row.reverse membalik urutan
     .feature-copy    teks kiri/kanan
     .feature-media   panel preview UI (mock Odoo non-qweb)
   PREVIEW UI (mock ala Odoo, murni HTML/CSS)
     .ui-card .ui-head .ui-title .ui-body
     .ui-table        tabel data ala list view (masked untuk data sensitif)
     .ui-kv           baris label/nilai
     .ui-form .ui-field .ui-input   mock form
     .ui-stat         kartu statistik kecil
     .avatar          bulat, isi <svg class="face"><use href="#fcN"/></svg>
     .masked .maskbadge  data sensitif (NIP/NPWP/gaji) ditutup
   STEP / JOURNEY
     .steps .step .step-number
   FOOTER
     .footer .footer-grid  (kolom Produk/Solusi/Perusahaan + entitas)
   ----------------------------------------------------------------------------
   Font: system stack (tanpa CDN). Ikon: SVG inline. Avatar: sprite #fc1..#fc6.
   ========================================================================== */

:root {
  /* Palet Symphony (WAJIB) */
  --brand:#33327A; --brand2:#4A47B0; --brand-strong:#26255C;
  --accent:#12A5A0; --accent-strong:#0E7C79; --accent-soft:#E3F6F5;
  --ink:#1B1C2E; --muted:#6B6D82; --line:#E4E6EF;
  --bg:#F4F5F9; --surface:#fff; --surface-2:#EEF0F7; --brand-soft:#ECEBF7;
  --amber:#D9962B; --amber-soft:#FBF0DA;
  --coral:#D14B3D; --coral-soft:#FBE7E4;
  --blue:#2F6BBA; --blue-soft:#E7F0FB;
  --violet:#6F5BB8; --violet-soft:#EFEBFA;
  --green:#1F9D62; --green-soft:#E4F5EC;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, ui-sans-serif, sans-serif;
  --radius: 12px;
  --radius-sm: 9px;
  --shadow: 0 16px 40px -18px rgba(27,28,46,.28);
  --shadow-soft: 0 8px 22px -14px rgba(27,28,46,.20);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.site {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 12% -6%, rgba(74,71,176,.10), transparent 40%),
    radial-gradient(900px 560px at 92% 4%, rgba(18,165,160,.09), transparent 42%),
    var(--bg);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Shell / Section ---------- */
.shell,
.section-inner,
.nav-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 58px 0; }
.section.tint {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section.dark {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #fff;
}

.section-head { max-width: 720px; margin-bottom: 26px; }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-block;
  color: var(--brand2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section.dark .kicker { color: #A9E9E6; }

.section-title {
  margin: 8px 0 0;
  color: var(--brand-strong);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.section.dark .section-title { color: #fff; }

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.section.dark .section-head p { color: #D6D5EE; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(120deg, var(--brand), var(--brand2));
  color: #fff;
  box-shadow: 0 6px 24px -16px rgba(27,28,46,.6);
}
.nav-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.26);
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.02em;
  flex: none;
}
.brand-copy strong { display: block; font-size: 16px; line-height: 1.05; }
.brand-copy span { display: block; margin-top: 2px; font-size: 11.5px; color: #CFCEEC; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex: 1; justify-content: center;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #E4E3F5; font-size: 14px; font-weight: 650;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12);
  color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--brand-strong);
  font-size: 14px; font-weight: 750;
  cursor: pointer; white-space: nowrap;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.btn:hover { transform: translateY(-1px); }
.btn.btn-primary {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}
.btn.btn-primary:hover { background: var(--brand-strong); }
.btn.btn-accent {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}
.btn.btn-accent:hover { background: var(--accent-strong); }
.btn.btn-ghost {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.10);
  color: #fff;
}
.btn.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn.btn-lg { min-height: 50px; padding: 0 22px; font-size: 15px; }

/* On gradient nav: base .btn should read as light-on-dark */
.nav .btn:not(.btn-primary):not(.btn-accent) {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
  color: #fff;
}
.nav .btn:not(.btn-primary):not(.btn-accent):hover { background: rgba(255,255,255,.2); }

/* ---------- Chips & badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px; font-weight: 700;
}
.chip.accent { background: var(--accent-soft); color: var(--accent-strong); }
.chip.brand  { background: var(--brand-soft);  color: var(--brand-strong); }
.chip.amber  { background: var(--amber-soft);  color: #A96C14; }
.chip.coral  { background: var(--coral-soft);  color: #A6382D; }
.chip.blue   { background: var(--blue-soft);   color: #23528F; }
.chip.violet { background: var(--violet-soft); color: #514196; }
.chip.green  { background: var(--green-soft);  color: #157348; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

.badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
  font-size: 11.5px; font-weight: 750;
}
.badge.green { background: var(--green-soft); color: #157348; }
.badge.amber { background: var(--amber-soft); color: #A96C14; }
.badge.coral { background: var(--coral-soft); color: #A6382D; }

/* ---------- Hero ---------- */
.hero { padding: 46px 0 8px; }
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 30px;
  align-items: center;
}
.hero-copy h1 {
  margin: 14px 0 0;
  color: var(--brand-strong);
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.hero-copy .lede {
  margin: 16px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 30px;
  max-width: 620px;
}
.metric {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
}
.metric strong { display: block; color: var(--brand-strong); font-size: 20px; letter-spacing: -.01em; }
.metric span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.32; }

/* hero preview card */
.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card-head {
  padding: 14px 16px;
  background: linear-gradient(120deg, var(--brand), var(--brand2));
  color: #fff;
}
.hero-card-head small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #CFCEEC; }
.hero-card-head strong { display: block; margin-top: 3px; font-size: 17px; }
.hero-card-body { padding: 14px 16px; display: grid; gap: 10px; }

/* ---------- Trust bar ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.trust-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 26px;
  padding: 18px 0;
}
.trust-inner .t-item { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13.5px; font-weight: 650; }
.trust-inner .t-item strong { color: var(--brand-strong); font-size: 17px; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ---------- Domain card ---------- */
.domain-card {
  display: flex; flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.domain-card:hover {
  transform: translateY(-3px);
  border-color: rgba(74,71,176,.4);
  box-shadow: var(--shadow);
}
.d-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: var(--brand-soft); color: var(--brand-strong);
}
.d-ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; }
/* warna per posisi (soft tokens) */
.grid > .domain-card:nth-child(8n+1) .d-ico { background: var(--brand-soft);  color: var(--brand-strong); }
.grid > .domain-card:nth-child(8n+2) .d-ico { background: var(--accent-soft);  color: var(--accent-strong); }
.grid > .domain-card:nth-child(8n+3) .d-ico { background: var(--blue-soft);    color: #23528F; }
.grid > .domain-card:nth-child(8n+4) .d-ico { background: var(--green-soft);   color: #157348; }
.grid > .domain-card:nth-child(8n+5) .d-ico { background: var(--violet-soft);  color: #514196; }
.grid > .domain-card:nth-child(8n+6) .d-ico { background: var(--amber-soft);   color: #A96C14; }
.grid > .domain-card:nth-child(8n+7) .d-ico { background: var(--coral-soft);   color: #A6382D; }
.grid > .domain-card:nth-child(8n+8) .d-ico { background: var(--surface-2);    color: var(--brand-strong); }

.domain-card h3 { margin: 0; color: var(--brand-strong); font-size: 18px; letter-spacing: -.01em; }
.domain-card p { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.domain-card .chip-row { margin-top: 13px; }
.domain-card .card-link {
  margin-top: auto; padding-top: 14px;
  color: var(--accent-strong); font-size: 13.5px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 6px;
}
.domain-card:hover .card-link { gap: 9px; }

/* ---------- Feature row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 34px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 44px; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy h3 {
  margin: 10px 0 0;
  color: var(--brand-strong);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.14; letter-spacing: -.01em;
}
.feature-copy p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.62; }
.feature-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.feature-list li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink); font-size: 14px; }
.feature-list li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: var(--accent-strong); fill: none; stroke-width: 2; }
.feature-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ---------- Preview UI (mock Odoo, non-qweb) ---------- */
.ui-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.ui-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.ui-title { display: flex; align-items: center; gap: 9px; color: var(--brand-strong); font-size: 14px; font-weight: 800; }
.ui-title .dotmark { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.ui-body { padding: 14px 15px; }

.ui-tabs { display: flex; gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ui-tabs span {
  padding: 6px 11px; border-radius: var(--radius-sm);
  font-size: 12.5px; font-weight: 750; color: var(--muted);
}
.ui-tabs span.on { background: var(--brand-soft); color: var(--brand-strong); }

.ui-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ui-table th {
  text-align: left; padding: 8px 10px;
  font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); font-weight: 800;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.ui-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-table .cell-lead { display: flex; align-items: center; gap: 9px; }
.ui-table .cell-lead strong { display: block; font-size: 12.5px; color: var(--brand-strong); }
.ui-table .cell-lead span { display: block; font-size: 11px; color: var(--muted); }

.ui-kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13px; }
.ui-kv + .ui-kv { border-top: 1px dashed var(--line); }
.ui-kv .k { color: var(--muted); }
.ui-kv .v { font-weight: 700; text-align: right; }
.ui-kv .v.neg { color: var(--coral); }

.ui-form { display: grid; gap: 12px; }
.ui-field { display: grid; gap: 5px; }
.ui-field .lbl { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 750; }
.ui-input {
  min-height: 40px; padding: 8px 11px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font-size: 13px;
  display: flex; align-items: center; justify-content: space-between;
}
.ui-input.focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ui-input.ph { color: var(--muted); }
.ui-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.ui-stat {
  padding: 12px 13px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.ui-stat .k { font-size: 11px; color: var(--muted); font-weight: 700; }
.ui-stat .v { font-size: 20px; font-weight: 800; color: var(--brand-strong); margin-top: 3px; letter-spacing: -.01em; }
.ui-stat .v small { font-size: 11px; font-weight: 600; color: var(--muted); }
.ui-statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }

.ui-progress { height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.ui-progress i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }

/* Avatar (isi dengan sprite #fc1..#fc6) */
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; flex: none; color: #fff; font-weight: 700; font-size: 13px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
}
.avatar.sm { width: 30px; height: 30px; }
.avatar.lg { width: 56px; height: 56px; }
.avatar .face { width: 100%; height: 100%; display: block; }

/* Data sensitif */
.masked { letter-spacing: .12em; font-weight: 700; }
.maskbadge {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 700;
  color: var(--muted); background: var(--surface-2);
  padding: 2px 7px; border-radius: 6px;
}

/* ---------- Steps / journey ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
}
.step {
  position: relative;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.step-number {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, var(--brand), var(--brand2));
  color: #fff; font-weight: 800; font-size: 13px;
}
.step strong { display: block; margin-top: 13px; color: var(--brand-strong); font-size: 15px; }
.step span { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

/* ---------- Mockup CTA (phone frames) ---------- */
.mock-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 34px 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand2));
  color: #fff;
  box-shadow: var(--shadow);
}
.mock-shell h2 { margin: 10px 0 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -.01em; }
.mock-shell p { margin: 12px 0 0; max-width: 560px; color: #D6D5EE; line-height: 1.6; }
.mock-shell .kicker { color: #A9E9E6; }
.phone-mini-row { display: flex; gap: 16px; }
.phone-mini {
  width: 148px; height: 300px;
  background: var(--ink);
  border-radius: 26px; padding: 6px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.5);
  flex: none;
}
.phone-mini .screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 21px; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-mini .pm-bar { height: 46px; background: linear-gradient(120deg, var(--brand), var(--brand2)); }
.phone-mini .pm-body { flex: 1; padding: 9px; display: grid; gap: 7px; align-content: start; }
.phone-mini .pm-tile { border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.phone-mini .pm-tile.h1 { height: 46px; }
.phone-mini .pm-tile.h2 { height: 30px; }
.phone-mini .pm-tile.accent { background: var(--accent-soft); border-color: transparent; }

/* ---------- CTA closer ---------- */
.cta-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 26px; align-items: center;
  padding: 40px 48px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-strong), var(--accent-strong));
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-shell h2 { margin: 10px 0 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -.01em; }
.cta-shell p { margin: 12px 0 0; max-width: 560px; color: #E4F5F4; line-height: 1.6; }
.cta-shell .kicker { color: #BFF0ED; }
.cta-actions { display: grid; gap: 10px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 40px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
}
.footer .f-brand strong { display: flex; align-items: center; gap: 10px; color: var(--brand-strong); font-size: 17px; }
.footer .f-brand .brand-mark { background: var(--brand-soft); border-color: var(--line); color: var(--brand-strong); }
.footer .f-brand p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 340px; }
.footer h4 { margin: 0 0 12px; color: var(--brand-strong); font-size: 14px; }
.footer a, .footer .f-note { display: block; margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.footer a:hover { color: var(--brand-strong); }
.footer-base {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--muted); font-size: 12.5px;
}
.footer-base .entities { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-base .entities span {
  padding: 3px 9px; border-radius: 999px;
  background: var(--surface-2); font-weight: 650;
}

/* ---------- Demo page: mini hero ---------- */
.page-hero {
  padding: 46px 0 8px;
}
.page-hero .breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.page-hero .breadcrumb a:hover { color: var(--brand-strong); }
.page-hero h1 {
  margin: 8px 0 0;
  color: var(--brand-strong);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1; letter-spacing: -.02em;
}
.page-hero .lede { margin: 14px 0 0; max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-metrics { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-row { grid-template-columns: 1fr; gap: 22px; }
  .feature-row.reverse .feature-copy { order: 0; }
  .steps { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mock-shell, .cta-shell { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ============================================================================
   HOMEPAGE v2 — komponen portal-hibrida & interaktif (tambahan, non-destruktif)
   ============================================================================ */

/* --- Pemilih entitas (nav) --- */
.entity-select { position: relative; }
.entity-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 12px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12); color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.entity-btn:hover { background: rgba(255,255,255,.2); }
.entity-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.entity-btn .ent-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.entity-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 230px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: none; z-index: 60;
}
.entity-menu.open { display: block; }
.entity-menu button {
  display: block; width: 100%;
  padding: 9px 10px; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--ink); font-size: 13px; font-weight: 700;
  text-align: left; cursor: pointer;
}
.entity-menu button:hover { background: var(--surface-2); }
.entity-menu button[aria-checked="true"] { color: var(--brand-strong); background: var(--brand-soft); }
.entity-menu button small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; margin-top: 2px; }

/* --- Kartu peran / mitra (portal grid) --- */
.role-card {
  display: flex; flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-soft);
  color: var(--ink);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.role-card:hover { transform: translateY(-3px); border-color: rgba(74,71,176,.4); box-shadow: var(--shadow); }
.role-ico {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: var(--radius-sm); margin-bottom: 13px;
  background: var(--brand-soft); color: var(--brand-strong);
}
.role-ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.role-card h3 { margin: 0; color: var(--brand-strong); font-size: 17px; letter-spacing: -.01em; }
.role-card p { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.role-card .role-link {
  margin-top: auto; padding-top: 14px;
  color: var(--accent-strong); font-size: 13.5px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 6px;
}
.role-card:hover .role-link { gap: 9px; }
.role-grid > .role-card:nth-child(5n+1) .role-ico { background: var(--brand-soft);  color: var(--brand-strong); }
.role-grid > .role-card:nth-child(5n+2) .role-ico { background: var(--accent-soft);  color: var(--accent-strong); }
.role-grid > .role-card:nth-child(5n+3) .role-ico { background: var(--blue-soft);    color: #23528F; }
.role-grid > .role-card:nth-child(5n+4) .role-ico { background: var(--violet-soft);  color: #514196; }
.role-grid > .role-card:nth-child(5n+5) .role-ico { background: var(--green-soft);   color: #157348; }

/* --- Kartu layanan mandiri (ESS) --- */
.svc-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-soft);
  color: var(--ink);
  transition: transform .16s ease, border-color .16s ease;
}
.svc-card:hover { transform: translateY(-2px); border-color: rgba(74,71,176,.4); }
.svc-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-strong); }
.svc-ico svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.svc-card strong { display: block; font-size: 14px; color: var(--brand-strong); }
.svc-card > span > span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.svc-grid > .svc-card:nth-child(4n+2) .svc-ico { background: var(--brand-soft);  color: var(--brand-strong); }
.svc-grid > .svc-card:nth-child(4n+3) .svc-ico { background: var(--blue-soft);   color: #23528F; }
.svc-grid > .svc-card:nth-child(4n+4) .svc-ico { background: var(--violet-soft); color: #514196; }

/* --- Absensi geser (slide-to-check-in) --- */
.slide-track {
  position: relative; height: 60px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  overflow: hidden; user-select: none; touch-action: pan-y;
}
.slide-fill {
  position: absolute; top: 0; left: 0; bottom: 0; width: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
}
.slide-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 750; color: var(--muted); pointer-events: none; z-index: 1;
}
.slide-thumb {
  position: absolute; top: 4px; left: 4px; width: 52px; height: 52px;
  border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; cursor: grab; z-index: 2;
  box-shadow: var(--shadow-soft); touch-action: none;
}
.slide-thumb:active { cursor: grabbing; }
.slide-thumb svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.slide-track.done { border-color: transparent; background: var(--green); }
.slide-track.done .slide-fill { background: var(--green); width: 100% !important; }
.slide-track.done .slide-label { color: #fff; }
.slide-track.done .slide-thumb { background: var(--surface); color: var(--green); }

/* --- Mini chat AI ber-guardrail --- */
.chat { display: grid; gap: 12px; }
.chat-log { display: grid; gap: 10px; max-height: 300px; overflow-y: auto; }
.chat-bubble { padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; max-width: 92%; }
.chat-bubble.user { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.ai { justify-self: start; background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-source {
  margin-top: 8px; padding: 8px 10px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted); line-height: 1.5;
}
.chat-source strong { color: var(--brand-strong); font-weight: 800; }
.chat-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.conf-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 750; background: var(--green-soft); color: #157348; }
.conf-badge.mid { background: var(--amber-soft); color: #A96C14; }
.hil-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 750; background: var(--violet-soft); color: #514196; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-suggest button {
  padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 650; cursor: pointer;
}
.chat-suggest button:hover { border-color: var(--accent); color: var(--accent-strong); }
.chat-form { display: flex; gap: 8px; }
.chat-form input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 13px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font-size: 13.5px;
}
.chat-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.chat-form .btn { flex: none; padding: 0 14px; }

/* --- Direktori pegawai --- */
.dir-search { position: relative; display: block; max-width: 460px; margin-bottom: 20px; }
.dir-search input {
  width: 100%; min-height: 46px; padding: 8px 14px 8px 42px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); font-size: 14px;
}
.dir-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.dir-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2; pointer-events: none; }
.person-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.person-card .pc-meta { min-width: 0; }
.person-card strong { display: block; font-size: 14px; color: var(--brand-strong); }
.person-card .pc-meta span { display: block; font-size: 12px; color: var(--muted); }
.dir-empty { color: var(--muted); font-size: 14px; padding: 10px 2px; }

@media (max-width: 720px) {
  .shell, .section-inner, .nav-inner { width: min(100% - 24px, var(--maxw)); }
  .section { padding: 40px 0; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-inner { justify-content: flex-start; gap: 12px 20px; }
  .mock-shell, .cta-shell { padding: 28px 22px; }
  .phone-mini-row { justify-content: center; }
  /* mobile nav drawer */
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 10px 16px 16px;
    background: var(--brand);
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .nav-links.open a { padding: 11px 12px; }
  .nav { position: sticky; }
  .entity-select { display: none; }
  .steps { grid-template-columns: 1fr !important; }
}


/* ---- Brand logo (soundwave mark) ---- */
.brand-mark.brand-logo{background:transparent;border-color:transparent;padding:0}
.brand-mark.brand-logo img{width:100%;height:100%;display:block;border-radius:var(--radius-sm)}
.footer .f-brand .brand-mark.brand-logo{background:transparent;border-color:transparent}
