/* =========================================================
   Digital Solution Studio — style.css
   Design system: LOCKED (lihat master prompt §19–§22)
   ========================================================= */

/* ===== TOKENS ===== */
:root {
  /* Color — light */
  --color-bg: #F6F6F4;
  --color-bg-alt: #EEEEEB;
  --color-surface: #FFFFFF;
  --color-surface-2: #FAFAF9;
  --color-text: #15171C;
  --color-text-2: #3B404A;
  --color-muted: #626873;
  --color-border: #E2E2DE;
  --color-border-strong: #CDCDC7;
  --color-accent: #0B7A6E;
  --color-accent-strong: #075F56;
  --color-accent-soft: rgba(11,122,110,.09);
  --grid-line: rgba(21,23,28,.055);
  --nav-bg: rgba(246,246,244,.78);

  /* Alias (bukan warna baru — memetakan token yang sudah ada) */
  --color-on-accent: var(--color-surface);
  --label-color: var(--color-accent);

  /* Warna yang ditentukan spesifik oleh brief (§29, §30) */
  --panel-dark: #15171C;
  --cream-1: #F7F4EC;
  --cream-2: #ECE7DC;

  /* Shape & depth */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(21,23,28,.04), 0 10px 28px -14px rgba(21,23,28,.16);
  --shadow-lg: 0 1px 2px rgba(21,23,28,.04), 0 30px 60px -28px rgba(21,23,28,.28);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 72px;
  --section-pad: clamp(88px, 11vw, 144px);

  /* Type */
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);

  color-scheme: light;
}

/* Token gelap — dipakai oleh [data-theme="dark"] dan panel yang selalu gelap */
[data-theme="dark"] {
  --color-bg: #101216;
  --color-bg-alt: #15181D;
  --color-surface: #181B21;
  --color-surface-2: #1C2027;
  --color-text: #ECEEF1;
  --color-text-2: #C3C8D0;
  --color-muted: #959CA7;
  --color-border: #262A32;
  --color-border-strong: #363B45;
  --color-accent: #3CC8B4;
  --color-accent-strong: #74DACB;
  --color-accent-soft: rgba(60,200,180,.12);
  --nav-bg: rgba(16,18,22,.74);
  /* Tidak didefinisikan di brief untuk dark mode; diturunkan dari --color-text dark */
  --grid-line: rgba(236,238,241,.05);
  --color-on-accent: var(--color-bg);
  color-scheme: dark;
}

/* Fallback tanpa JavaScript: ikuti preferensi sistem */
@media (prefers-color-scheme: dark) {
  html:not(.js) {
    --color-bg: #101216; --color-bg-alt: #15181D; --color-surface: #181B21; --color-surface-2: #1C2027;
    --color-text: #ECEEF1; --color-text-2: #C3C8D0; --color-muted: #959CA7;
    --color-border: #262A32; --color-border-strong: #363B45;
    --color-accent: #3CC8B4; --color-accent-strong: #74DACB; --color-accent-soft: rgba(60,200,180,.12);
    --nav-bg: rgba(16,18,22,.74); --grid-line: rgba(236,238,241,.05); --color-on-accent: #101216;
    color-scheme: dark;
  }
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

html.is-locked, html.is-locked body { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
svg { overflow: visible; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.3rem + 4.6vw, 4.6rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.15rem); letter-spacing: -0.04em; }
h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.03em; }

strong { font-weight: 600; }

::selection { background: var(--color-accent-soft); color: var(--color-text); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.ico {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 500;
  text-decoration: none;
  translate: 0 -160%;
  transition: translate .2s var(--ease);
}
.skip-link:focus { translate: 0 0; }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-pad);
}
.section--alt {
  background: var(--color-bg-alt);
  --label-color: var(--color-accent-strong); /* kontras AA di atas bg-alt */
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--label-color);
}
.label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.head-note {
  max-width: 58ch;
  color: var(--color-muted);
  font-size: 1.0625rem;
}
.head-note strong { color: var(--color-text-2); }

.head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.head-split h2 { max-width: 18ch; }

.head-stack { max-width: 720px; margin-bottom: clamp(40px, 5vw, 56px); }
.head-stack h2 { margin-bottom: 18px; }

.head-center {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 64px);
  text-align: center;
  display: grid;
  justify-items: center;
}
.head-center h2 { margin-bottom: 18px; }

.text-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
}
.text-link:hover { color: var(--color-accent-strong); }
.section--alt .text-link { color: var(--color-accent-strong); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-align: center;
  background: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .ico { width: 18px; height: 18px; }
.btn .ico-arrow { transition: translate .25s var(--ease); }
.btn:hover .ico-arrow { translate: 3px 0; }

.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }

.btn--ink { background: var(--color-text); color: var(--color-bg); }
.btn--ink:hover { background: var(--color-text-2); }

.btn--accent { background: var(--color-accent); color: var(--color-on-accent); }
.btn--accent:hover { background: var(--color-accent-strong); }

.btn--ghost { border-color: var(--color-border-strong); color: var(--color-text); }
.btn--ghost:hover { background: var(--color-surface); border-color: var(--color-text-2); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { background: var(--color-surface); border-color: var(--color-border-strong); }
.icon-btn .ico { width: 18px; height: 18px; }

/* ===== NAVBAR ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: var(--color-bg); }
}
.nav.is-scrolled { border-bottom-color: var(--color-border); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--color-text);
}
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark .bm-bg { fill: var(--color-text); }
.brand-mark .bm-line { stroke: var(--color-bg); stroke-width: 2.4; stroke-linecap: round; }
.brand-mark .bm-accent { stroke: var(--color-accent); stroke-width: 2.4; stroke-linecap: round; }

.nav-links { margin-inline: auto; }
.nav-links ul {
  display: flex;
  gap: 2px;
  list-style: none;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
}
.nav-links a {
  display: block;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text-2);
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a[aria-current="true"] {
  color: var(--color-text);
  background: var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-border), 0 1px 2px rgba(21,23,28,.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.nav-links + .nav-actions { margin-left: 0; }

.theme-toggle .ico-sun,
[data-theme="dark"] .theme-toggle .ico-moon,
.mmenu-foot [data-theme-toggle] .ico-sun,
[data-theme="dark"] .mmenu-foot [data-theme-toggle] .ico-moon { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun,
[data-theme="dark"] .mmenu-foot [data-theme-toggle] .ico-sun { display: block; }

.nav-burger { display: none; }

.nav-progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--color-accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll, 0));
  pointer-events: none;
}

/* ===== MOBILE MENU ===== */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  translate: 0 -8px;
  transition: opacity .25s var(--ease), translate .3s var(--ease);
}
.mmenu[hidden] { display: none; }
.mmenu.is-open { opacity: 1; translate: 0 0; }

.mmenu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  border-bottom: 1px solid var(--color-border);
}
.mmenu-nav { padding-block: 16px; flex: 1; }
.mmenu-nav ul { list-style: none; }
.mmenu-nav li { border-bottom: 1px solid var(--color-border); }
.mmenu-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: clamp(1.4rem, 1rem + 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.mmenu-nav a[aria-current="true"] { color: var(--color-accent); }
.mmenu-nav a[aria-current="true"]::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.mmenu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 20px 32px;
}
.mmenu-foot .btn { flex: 1 1 180px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) clamp(80px, 9vw, 128px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 20%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 24px; max-width: 12ch; }
.hero-copy h1 .serif {
  display: inline-block;
  font-size: 1.1em;
  line-height: .9;
  color: var(--color-accent);
  padding-right: .06em;
}
.hero-lead {
  max-width: 50ch;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: var(--color-text-2);
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-for {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  max-width: 520px;
}
.hero-for-title { font-family: var(--font-mono); font-size: .78rem; color: var(--color-muted); }
.hero-for ul { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; }
.hero-for li { font-size: .92rem; color: var(--color-text-2); font-weight: 500; }

.hero-visual { position: relative; min-width: 0; }

/* ===== HERO WINDOW ===== */
.hw {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
[data-theme="dark"] .hw { border-color: var(--color-border-strong); }

.hw-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.hw-dots { display: flex; gap: 6px; }
.hw-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border-strong); }
.hw-url {
  flex: 1;
  min-width: 0;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--color-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hw-url [data-hw-path] { color: var(--color-text); }
.hw-pause {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text-2);
}
.hw-pause .ico { width: 14px; height: 14px; }
.hw-pause .ico-play { display: none; }
.hw-pause[aria-pressed="true"] .ico-play { display: block; }
.hw-pause[aria-pressed="true"] .ico-pause { display: none; }
.hw.is-static .hw-pause { display: none; }

.hw-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 10px 0;
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.hw-tabs::-webkit-scrollbar { display: none; }
.hw-tab {
  position: relative;
  flex: none;
  padding: 9px 14px 12px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: none;
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.hw-tab:hover { color: var(--color-text); }
.hw-tab[aria-selected="true"] { color: var(--color-text); }
.hw-tab:focus-visible { outline-offset: -2px; }
.hw-tab::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-border-strong);
  opacity: 0;
}
.hw-tab[aria-selected="true"]::after { opacity: 1; }
.hw-tab-progress {
  position: absolute;
  left: 10px; right: 10px; bottom: -1px;
  z-index: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.hw-tab[aria-selected="true"] .hw-tab-progress { transform: scaleX(var(--p, 0)); }
.hw.is-static .hw-tab[aria-selected="true"] .hw-tab-progress { transform: scaleX(1); }

.hw-body {
  display: grid;
  padding: 18px;
  background: var(--color-surface);
}
.hw-panel {
  grid-area: 1 / 1;
  min-width: 0;
  border-radius: var(--radius-sm);
  transition: opacity .35s var(--ease), translate .45s var(--ease);
}
.hw-panel:focus-visible { outline-offset: 4px; }
/* Semua panel ditumpuk agar tinggi jendela stabil; panel tidak aktif disembunyikan dari AT via visibility */
.js .hw-panel[hidden] {
  display: block;
  visibility: hidden;
  opacity: 0;
  translate: 0 6px;
}

.hw-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-2);
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--color-muted);
}
.hw-foot span { display: inline-flex; align-items: center; gap: 8px; }
.hw-live { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

/* ===== MOCKUP PRIMITIVES ===== */
.mk-bar {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--color-bg-alt);
}
[data-theme="dark"] .mk-bar { background: var(--color-border-strong); }
.mk-bar.is-strong { height: 9px; background: var(--color-text); opacity: .85; }
.w-10 { width: 10%; } .w-12 { width: 12%; } .w-14 { width: 14%; }
.w-40 { width: 40%; } .w-50 { width: 50%; } .w-60 { width: 60%; }
.w-70 { width: 70%; } .w-80 { width: 80%; } .w-90 { width: 90%; }

.mk-logo { width: 18px; height: 18px; border-radius: 6px; background: var(--color-text); flex: none; }
.mk-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
}
.mk-chip--ink { background: var(--color-text); color: var(--color-bg); }
.mk-chip--accent { background: var(--color-accent); color: var(--color-on-accent); }
.mk-chip--block { display: flex; width: 100%; padding-block: 9px; }
.mk-tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: .66rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.mk-fill-soft { fill: var(--color-surface-2); }
.mk-stroke { stroke: var(--color-border); stroke-width: 1; }
.mk-fill-surface { fill: var(--color-surface); }
.mk-fill-accent { fill: var(--color-accent); }
.mk-fill-accent-soft { fill: var(--color-accent-soft); }
.mk-line { stroke: var(--color-border-strong); stroke-width: 4; stroke-linecap: round; }
.mk-grid { stroke: var(--color-border); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }

/* Website panel */
.mk-site { display: grid; gap: 16px; }
.mk-site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.mk-site-nav .mk-bar { height: 6px; }
.mk-site-nav .mk-chip { margin-left: auto; padding: 4px 10px; }
.mk-site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.mk-site-copy { display: grid; gap: 8px; justify-items: start; }
.mk-site-copy .mk-bar { width: 100%; }
.mk-site-copy .mk-bar.w-60 { width: 60%; }
.mk-kicker { font-family: var(--font-mono); font-size: .66rem; color: var(--color-accent); }
.mk-title { font-size: clamp(1rem, .85rem + .6vw, 1.3rem); line-height: 1.15; letter-spacing: -0.03em; }
.mk-site-copy .mk-chip { margin-top: 6px; }
.mk-site-art { width: 100%; height: auto; }
.mk-site-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; }
.mk-site-cards li {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.mk-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--color-bg-alt); }
.mk-site-cards li:nth-child(2) .mk-thumb { background: var(--color-accent-soft); }
.mk-price { font-family: var(--font-mono); font-size: .68rem; color: var(--color-text-2); }

/* Dashboard panel */
.mk-dash { display: grid; gap: 14px; }
.mk-dash-head, .mk-board-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mk-dash-head strong, .mk-board-head strong { font-size: .95rem; letter-spacing: -0.02em; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mk-kpi {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface-2);
  min-width: 0;
}
.mk-kpi span { font-size: .7rem; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-kpi strong {
  font-family: var(--font-mono);
  font-size: clamp(.9rem, .8rem + .5vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mk-kpi:first-child strong { color: var(--color-accent); }
.mk-chart {
  padding: 12px 12px 8px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.mk-chart svg { width: 100%; height: 118px; }
.mk-area { fill: var(--color-accent-soft); }
.mk-path { fill: none; stroke: var(--color-accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mk-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--color-muted);
}
.hw-panel:not([hidden]) .mk-path { stroke-dasharray: 600; stroke-dashoffset: 0; animation: draw 1.4s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 600; } }

/* Data panel */
.mk-data { display: grid; gap: 14px; }
.mk-data-head { display: flex; align-items: center; gap: 10px; color: var(--color-muted); }
.mk-data-head .ico { width: 16px; height: 16px; }
.mk-file {
  padding: 5px 10px;
  border: 1px dashed var(--color-border-strong);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--color-text-2);
}
.mk-file--db { border-style: solid; border-color: var(--color-accent); color: var(--color-accent); background: var(--color-accent-soft); }
.mk-table-wrap { border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.mk-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.mk-table th {
  padding: 9px 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .68rem;
  color: var(--color-muted);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.mk-table td { padding: 9px 12px; border-bottom: 1px solid var(--color-border); white-space: nowrap; }
.mk-table tr:last-child td { border-bottom: 0; }
.mk-table tr.is-dup td { color: var(--color-muted); text-decoration: line-through; text-decoration-color: var(--color-border-strong); }
.mk-table tr.is-dup td:last-child { text-decoration: none; }
.mk-status {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .64rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-2);
}
.mk-status.is-ok { color: var(--color-accent); border-color: transparent; background: var(--color-accent-soft); }
.mk-status.is-dup { color: var(--color-muted); border-style: dashed; }

/* Automation panel */
.mk-flow { list-style: none; display: grid; gap: 10px; position: relative; padding: 4px 0; }
.mk-flow::before {
  content: "";
  position: absolute;
  left: 15px; top: 24px; bottom: 24px;
  width: 1px;
  background: var(--color-border-strong);
}
.mk-flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 8px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
}
.mk-flow li div { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: space-between; gap: 10px; }
.mk-flow strong { font-size: .86rem; font-weight: 500; letter-spacing: -0.01em; }
.mk-flow li span:not(.mk-flow-dot) { font-family: var(--font-mono); font-size: .66rem; color: var(--color-muted); white-space: nowrap; }
.mk-flow-dot {
  position: relative;
  z-index: 1;
  width: 16px; height: 16px;
  flex: none;
  margin-left: 0;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-surface);
}
.hw-panel:not([hidden]) .mk-flow-dot { animation: flow-on .5s var(--ease) both; }
.hw-panel:not([hidden]) .mk-flow li:nth-child(2) .mk-flow-dot { animation-delay: .5s; }
.hw-panel:not([hidden]) .mk-flow li:nth-child(3) .mk-flow-dot { animation-delay: 1s; }
.hw-panel:not([hidden]) .mk-flow li:nth-child(4) .mk-flow-dot { animation-delay: 1.5s; }
@keyframes flow-on {
  from { border-color: var(--color-border-strong); background: var(--color-surface); box-shadow: none; }
  to { border-color: var(--color-accent); background: var(--color-accent); box-shadow: 0 0 0 4px var(--color-accent-soft); }
}

/* ===== SERVICE CATEGORIES ===== */
.cats { border-top: 1px solid var(--color-border-strong); }
.cat {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 20px 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--color-border);
}
.cat-meta { display: grid; gap: 10px; align-content: start; }
.cat-code {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--color-border-strong);
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--color-text-2);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.cat:hover .cat-code { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.cat-for { font-family: var(--font-mono); font-size: .76rem; color: var(--color-muted); }
.cat-main h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.04em; margin-bottom: 10px; }
.cat-main p { color: var(--color-muted); max-width: 40ch; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; align-content: start; }
.tags li {
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  font-size: .88rem;
  color: var(--color-text-2);
}

/* ===== BENTO / FEATURED SERVICES ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.svc {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition-property: border-color, opacity, translate;
  transition-duration: .25s, .7s, .7s;
  transition-timing-function: var(--ease);
  transition-delay: 0s, var(--d, 0s), var(--d, 0s);
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--color-accent-soft), transparent 55%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.svc:hover { border-color: var(--color-border-strong); }
.svc:hover::before { opacity: 1; }

.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.svc-num { font-family: var(--font-mono); font-size: .8rem; color: var(--color-muted); }
.svc-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-accent);
}
.svc-icon .ico { width: 22px; height: 22px; }
.svc h3 { font-size: 1.25rem; }
.svc > p:not(.svc-case), .svc-content > p:not(.svc-case) { color: var(--color-muted); font-size: .96rem; }
.svc-case {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border-strong);
  font-size: .9rem;
  color: var(--color-text-2);
}
.svc-case span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--color-muted);
}
.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 0 2px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-accent);
  text-decoration: none;
}
.section--alt .svc-cta { color: var(--color-accent-strong); }
[data-theme="dark"] .section--alt .svc-cta { color: var(--color-accent); }
.svc-cta .ico { width: 16px; height: 16px; transition: translate .25s var(--ease); }
.svc-cta:hover .ico { translate: 3px 0; }
.svc-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

.svc--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
}
.svc-content { display: flex; flex-direction: column; gap: 12px; }
.svc--wide h3 { font-size: 1.6rem; letter-spacing: -0.04em; }
.svc-art {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--color-surface-2);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.mini-browser {
  position: absolute;
  left: 20px; top: 24px; right: 64px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mini-bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--color-border); }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-border-strong); }
.mini-body { display: grid; gap: 8px; padding: 14px; }
.mini-btn { display: block; width: 72px; height: 18px; border-radius: var(--radius-pill); background: var(--color-accent); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.mini-grid i { height: 38px; border-radius: 6px; background: var(--color-bg-alt); }
[data-theme="dark"] .mini-grid i { background: var(--color-border); }
.mini-phone {
  position: absolute;
  right: 18px; bottom: -24px;
  width: 104px;
  display: grid;
  gap: 7px;
  padding: 16px 10px 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.mini-phone-img { display: block; height: 56px; border-radius: 8px; background: var(--color-accent-soft); }
.mini-phone .mini-btn { width: 100%; }

.svc--custom { border-style: dashed; border-color: var(--color-border-strong); background: transparent; }

/* ===== HOW WE CAN HELP ===== */
.help-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.help-head {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  display: grid;
  justify-items: start;
  gap: 0;
}
.help-head h2 { margin-bottom: 18px; }
.help-head .head-note { margin-bottom: 28px; }

.help-list { list-style: none; border-top: 1px solid var(--color-border-strong); }
.help-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "q link"
    "a a";
  gap: 14px 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}
.help-q { grid-area: q; }
.help-q h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); margin-bottom: 6px; }
.help-q p { color: var(--color-muted); font-size: .95rem; max-width: 52ch; }
.help-a { grid-area: a; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.help-arrow {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  margin-right: 4px;
}
.help-arrow .ico { width: 15px; height: 15px; }
.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-text);
}
.plus { font-family: var(--font-mono); color: var(--color-muted); font-size: .85rem; }
.help-link {
  grid-area: link;
  align-self: start;
  padding: 8px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.help-link:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }

/* ===== PROCESS ===== */
.steps {
  --node: 44px;
  --step-gap: 28px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--step-gap);
  list-style: none;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2);
  left: calc(var(--node) / 2);
  /* berakhir tepat di tengah node terakhir */
  right: calc((100% - 4 * var(--step-gap)) / 5 - var(--node) / 2);
  height: 1px;
  background: var(--color-border-strong);
}
.steps::after {
  background: var(--color-accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease) .2s;
}
.steps.is-drawn::after { transform: scaleX(1); }

.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node); height: var(--node);
  margin-bottom: 14px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-alt);
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--color-text);
  box-shadow: 0 0 0 6px var(--color-bg-alt);
}
.step:first-child .step-node { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.step-name { font-family: var(--font-mono); font-size: .78rem; color: var(--label-color); }
.step h3 { font-size: 1.15rem; }
.step > p:not(.step-name):not(.step-out) { color: var(--color-muted); font-size: .94rem; }
.step-out {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border-strong);
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-text-2);
}
.step-out span { display: block; font-family: var(--font-mono); font-size: .7rem; font-weight: 400; color: var(--color-muted); }

/* ===== WORK / EXAMPLE SOLUTIONS ===== */
.cases { display: grid; }
.case {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--color-border);
}
.case:first-child { border-top-color: var(--color-border-strong); }
.case:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.case:nth-child(even) .case-visual { order: -1; }
.case-text { display: grid; gap: 16px; justify-items: start; }
.case-text h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -0.04em; }
.case-text > p { color: var(--color-muted); max-width: 46ch; }

.case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.case-cat { font-family: var(--font-mono); font-size: .78rem; color: var(--color-muted); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  color: var(--color-text-2);
  line-height: 1.4;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }
.status--demo { border-color: transparent; background: var(--color-accent-soft); color: var(--color-accent-strong); }

.tech { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tech li {
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--color-bg-alt);
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--color-text-2);
}
[data-theme="dark"] .tech li { background: var(--color-surface-2); }

.case-visual { min-width: 0; }
.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 16px;
  align-items: center;
  padding: clamp(20px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--color-bg-alt);
  min-height: 320px;
  overflow: hidden;
}
.stage--center { grid-template-columns: auto minmax(0, 220px); justify-content: center; }

/* Mock: registration form + ticket */
.mk-form, .mk-ticket, .mk-board, .mk-doc, .mk-search, .mk-bubble {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.mk-form { display: grid; gap: 10px; padding: 18px; }
.mk-form-title { font-size: .95rem; letter-spacing: -0.02em; margin-bottom: 2px; }
.mk-field { display: grid; gap: 3px; }
.mk-field em { font-style: normal; font-size: .68rem; color: var(--color-muted); }
.mk-field b {
  display: block;
  padding: 7px 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 400;
  background: var(--color-surface-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-form .mk-chip { margin-top: 4px; }
.mk-ticket { display: grid; gap: 12px; justify-items: center; padding: 16px; rotate: 3deg; }
.mk-ticket-top { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; }
.mk-ok { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 500; color: var(--color-accent); }
.mk-ok .ico { width: 14px; height: 14px; stroke-width: 2; }
.mk-qr { width: 100%; max-width: 128px; height: auto; fill: var(--color-text); }
.mk-ticket-id { font-family: var(--font-mono); font-size: .72rem; color: var(--color-muted); }

/* Mock: phone catalog */
.mk-phone {
  position: relative;
  width: 210px;
  display: grid;
  gap: 12px;
  padding: 28px 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}
.mk-phone-notch { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 56px; height: 6px; border-radius: 6px; background: var(--color-border); }
.mk-phone-head { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.mk-phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-phone-grid span { display: grid; gap: 3px; padding: 6px; border: 1px solid var(--color-border); border-radius: 10px; }
.mk-phone-grid i { display: block; aspect-ratio: 1; border-radius: 7px; background: var(--color-bg-alt); }
[data-theme="dark"] .mk-phone-grid i { background: var(--color-border); }
.mk-phone-grid span:nth-child(4) { border-color: var(--color-accent); }
.mk-phone-grid span:nth-child(4) i { background: var(--color-accent-soft); }
.mk-phone-grid b { font-size: .68rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-phone-grid em { font-style: normal; font-family: var(--font-mono); font-size: .62rem; color: var(--color-muted); }
.mk-bubble {
  padding: 12px 14px;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--color-text-2);
  border-radius: 16px 16px 16px 4px;
}
.mk-bubble b { color: var(--color-text); font-weight: 600; }
.mk-bubble-label { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: .64rem; color: var(--color-accent); }

/* Mock: dashboard board */
.mk-board { grid-column: 1 / -1; display: flex; overflow: hidden; }
.mk-board-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px 12px;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface-2);
}
.mk-board-side i { display: block; width: 18px; height: 6px; border-radius: 4px; background: var(--color-border-strong); }
.mk-board-side i.is-on { background: var(--color-accent); }
.mk-board-side .mk-logo { margin-bottom: 8px; }
.mk-board-main { flex: 1; min-width: 0; display: grid; gap: 14px; padding: 16px; }
.mk-kpis--sm .mk-kpi { padding: 10px; }
.mk-bars { width: 100%; height: 110px; }
.mk-bars rect { fill: var(--color-border-strong); }
[data-theme="dark"] .mk-bars rect { fill: var(--color-border-strong); }
.mk-bars rect.is-accent { fill: var(--color-accent); }

/* Mock: archive */
.mk-archive { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.mk-doc { position: relative; display: grid; gap: 9px; padding: 22px 18px; overflow: hidden; rotate: -2deg; }
.mk-doc .mk-bar { height: 6px; }
.mk-doc .mk-bar.is-strong { margin-bottom: 6px; }
.mk-bar.is-hit { background: var(--color-accent-soft); box-shadow: 0 0 0 3px var(--color-accent-soft); }
[data-theme="dark"] .mk-bar.is-hit { background: var(--color-accent); opacity: .5; }
.mk-scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
  opacity: .7;
  animation: scan 3.2s var(--ease) infinite alternate;
}
@keyframes scan { from { translate: 0 8px; } to { translate: 0 170px; } }
.mk-search { padding: 14px; display: grid; gap: 10px; }
.mk-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--color-accent);
  border-radius: 10px;
  font-size: .78rem;
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.mk-search-box .ico { width: 15px; height: 15px; color: var(--color-muted); }
.mk-search ul { list-style: none; display: grid; }
.mk-search li { display: grid; gap: 1px; padding: 8px 4px; border-bottom: 1px solid var(--color-border); }
.mk-search li:last-child { border-bottom: 0; }
.mk-search b { font-size: .76rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-search em { font-style: normal; font-family: var(--font-mono); font-size: .64rem; color: var(--color-muted); }

/* Compact example cases */
.cases-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--color-border);
}
.mini-case {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 20px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}
.mini-case h3 { margin: 10px 0 6px; font-size: 1.2rem; }
.mini-case p { color: var(--color-muted); font-size: .94rem; }
.mini-case .btn { grid-column: 2; justify-self: start; }

/* ===== TECHNOLOGY & WORKFLOW ===== */
.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none;
}
.section--grid > .container { position: relative; }

.pipe {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding-top: 28px;
}
/* Rel + titik yang bergerak di atas pipeline */
.pipe::before {
  content: "";
  position: absolute;
  top: 6px; left: 8.33%; right: 8.33%;
  height: 1px;
  background: var(--color-border-strong);
}
.pipe::after {
  content: "";
  position: absolute;
  top: 3px; left: 8.33%;
  width: 7px; height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
  animation: travel 9s linear infinite;
}
@keyframes travel { from { left: 8.33%; } to { left: 91.67%; } }

.pipe-node {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 20px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.pipe-node::before {
  content: "";
  position: absolute;
  top: -25px; left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-strong);
}
.pipe-node::after {
  content: "";
  position: absolute;
  top: -16px; left: 50%;
  width: 1px; height: 16px;
  background: var(--color-border-strong);
}
.pipe-key { font-family: var(--font-mono); font-size: .7rem; color: var(--label-color); text-transform: uppercase; letter-spacing: .03em; }
.pipe-node strong { font-size: 1.05rem; letter-spacing: -0.02em; }
.pipe-node span:last-child { font-size: .86rem; color: var(--color-muted); line-height: 1.5; }

.stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 48px;
}
.stack-title { font-size: .9rem; color: var(--color-muted); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; }
.badges li {
  padding: 4px 10px;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  background: var(--color-surface);
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--color-text-2);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.about-copy h2 { margin-bottom: 24px; max-width: 16ch; }
.about-copy > p:not(.label) { max-width: 58ch; color: var(--color-text-2); font-size: 1.0625rem; margin-bottom: 16px; }
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  margin-top: 40px;
}
.principle { padding-top: 16px; border-top: 1px solid var(--color-border-strong); }
.principle dt { font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.principle dd { font-size: .94rem; color: var(--color-muted); }

.about-card { display: grid; justify-items: center; gap: 20px; }

/* Business card — kartu nama 3D: foil, kilau, pantulan, klik untuk membalik */
.bcard {
  --rx: 0deg; --ry: 0deg; --flip: 0deg;
  --fx: 24%; --fy: 12%;          /* posisi pointer (untuk kilau); default = cahaya dari kiri atas */
  --sx: 0; --sy: 0;              /* offset bayangan lantai */
  --glare: .45;                  /* kekuatan kilau saat diam */
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .09 0 0 0 0 .11 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --foil: linear-gradient(110deg,
    #959CA7 0%, #ECEEF1 14%, #F7F4EC 24%, #74DACB 36%, #3CC8B4 44%,
    #ECEEF1 56%, #ECE7DC 66%, #959CA7 76%, #74DACB 88%, #ECEEF1 100%);
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 85 / 55;
  perspective: 1200px;
  container-type: inline-size;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bcard-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip)));
  transition: transform .8s var(--ease), scale .45s var(--ease);
}
.bcard.is-tilting .bcard-inner { transition: transform .12s linear, scale .45s var(--ease); }
/* Saat membalik, animasi flip selalu penuh walau pointer sedang di atas kartu */
.bcard.is-flipping .bcard-inner { transition: transform .8s var(--ease), scale .45s var(--ease); }
.bcard.is-lifting .bcard-inner { scale: 1.045; }
.bcard.is-flipped { --flip: 180deg; }

/* Bayangan di "lantai" — bergeser berlawanan arah tilt */
.bcard-shadow {
  position: absolute;
  left: 9%; right: 9%;
  bottom: -9%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(21,23,28,.34), rgba(21,23,28,.12) 55%, transparent);
  filter: blur(12px);
  translate: calc(var(--sx) * 1px) calc(var(--sy) * 1px);
  transition: translate .5s var(--ease), scale .45s var(--ease), opacity .45s var(--ease);
  pointer-events: none;
}
[data-theme="dark"] .bcard-shadow { background: radial-gradient(closest-side, rgba(0,0,0,.7), rgba(0,0,0,.3) 55%, transparent); }
.bcard.is-tilting .bcard-shadow { transition: translate .12s linear, scale .45s var(--ease), opacity .45s var(--ease); }
.bcard.is-lifting .bcard-shadow { scale: .9; opacity: .6; }

.bcard-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 7cqi 7cqi 6cqi;
  border-radius: 4.2cqi;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 1px 1px rgba(21,23,28,.08),
    0 2px 4px rgba(21,23,28,.06),
    0 18px 36px -18px rgba(21,23,28,.35);
}
[data-theme="dark"] .bcard-face { box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 22px 44px -18px rgba(0,0,0,.8); }

/* Tepi kartu berkilau di sisi yang dekat pointer */
.bcard-face::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background:
    radial-gradient(45% 70% at var(--fx) var(--fy), rgba(255,255,255,.7), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(255,255,255,.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: calc(var(--glare) + .25);
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
/* Pantulan cahaya (glare) + pita holografik yang bergerak mengikuti pointer */
.bcard-face::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--fx) var(--fy), rgba(255,255,255,.3) 0%, rgba(255,255,255,.1) 14%, rgba(255,255,255,.03) 32%, transparent 48%),
    linear-gradient(115deg, transparent 28%, rgba(116,218,203,.22) 40%, rgba(247,244,236,.26) 48%, rgba(60,200,180,.18) 56%, transparent 68%);
  background-size: 100% 100%, 260% 260%;
  background-position: 0 0, calc(100% - var(--fx)) calc(100% - var(--fy));
  mix-blend-mode: screen;
  opacity: var(--glare);
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.bcard.is-tilting { --glare: 1; }

/* Sapuan kilau diagonal (dipicu JS: hover, flip, dan sesekali saat terlihat) */
.bcard-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.bcard-sheen::before {
  content: "";
  position: absolute;
  top: -60%; bottom: -60%;
  left: -45%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1) 30%, rgba(255,255,255,.52) 50%, rgba(255,255,255,.1) 70%, transparent);
  rotate: 18deg;
  opacity: 0;
}
.bcard.is-shining .bcard-sheen::before { animation: bcard-sheen 1.25s cubic-bezier(.3,.6,.2,1) both; }
@keyframes bcard-sheen {
  0%   { translate: 0 0; opacity: 0; }
  12%  { opacity: 1; }
  100% { translate: 520% 0; opacity: 0; }
}

/* Foil: gradasi metalik yang bergeser mengikuti pointer */
.foil {
  background-image: var(--foil);
  background-size: 320% 100%;
  background-position: var(--fx) 50%;
  transition: background-position .6s var(--ease);
}
.bcard.is-tilting .foil { transition: background-position .12s linear; }
.bcard-serif.foil {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(60,200,180,.12));
}
/* Perangkat sentuh (tanpa pointer untuk kilau): foil bergerak pelan sendiri */
@media (hover: none) {
  .foil { animation: foil-drift 7s ease-in-out infinite alternate; }
  @keyframes foil-drift { from { background-position: 10% 50%; } to { background-position: 90% 50%; } }
}
@media (forced-colors: active) {
  .bcard-serif.foil { color: CanvasText; -webkit-text-fill-color: currentColor; background: none; filter: none; }
}

/* ---- Sisi depan ---- */
.bcard-front {
  /* Panel selalu gelap: pakai token dark mode */
  --color-text: #ECEEF1;
  --color-muted: #959CA7;
  --color-bg: #101216;
  --color-accent: #3CC8B4;
  color: var(--color-text);
  background:
    var(--grain-light),
    radial-gradient(90% 80% at 100% 0%, rgba(60,200,180,.16), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(247,244,236,.05), transparent 70%),
    linear-gradient(155deg, #1D2129 0%, var(--panel-dark) 52%, #101216 100%);
  border: 1px solid #2A2E36;
}
/* Pola guilloché halus seperti cetakan kartu premium */
.bcard-guilloche {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-radial-gradient(circle at 104% -8%, rgba(255,255,255,.055) 0 1px, transparent 1.2px 7px),
    repeating-radial-gradient(circle at 118% 12%, rgba(60,200,180,.05) 0 1px, transparent 1.2px 9px);
  -webkit-mask: radial-gradient(75% 95% at 100% 0%, #000 15%, transparent 72%);
  mask: radial-gradient(75% 95% at 100% 0%, #000 15%, transparent 72%);
  pointer-events: none;
}
.bcard-row { display: flex; align-items: center; gap: 2.6cqi; }
.bcard-emblem {
  display: grid;
  place-items: center;
  flex: none;
  width: 7.4cqi; height: 7.4cqi;
  min-width: 24px; min-height: 24px;
  border-radius: 2cqi;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.5);
}
.bcard-emblem svg { width: 100%; height: 100%; }
.bcard-emblem path { fill: none; stroke: var(--panel-dark); stroke-width: 2.6; stroke-linecap: round; }
.bcard-kicker {
  font-family: var(--font-mono);
  font-size: max(10px, 2.6cqi);
  color: #C3C8D0;
  letter-spacing: .04em;
}
.bcard-name { margin-top: auto; }
.bcard-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: max(38px, 14.5cqi);
  line-height: 1.05;
  letter-spacing: -0.005em;
  padding-right: .1em; /* ruang ekor huruf italic agar tidak terpotong clip */
  width: fit-content;
}
.bcard-line { display: block; width: 16cqi; height: 2px; margin: 3cqi 0 2.6cqi; border-radius: 2px; }
.bcard-role {
  font-size: max(11px, 2.9cqi);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C3C8D0;
}
.bcard-foot { margin-top: 4.5cqi; font-family: var(--font-mono); font-size: max(9.5px, 2.3cqi); color: var(--color-muted); }

/* ---- Sisi belakang (kertas krem) ---- */
.bcard-back {
  transform: rotateY(180deg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  column-gap: 4cqi;
  color: #15171C;
  background:
    var(--grain-dark),
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(135deg, var(--cream-1), var(--cream-2));
  border: 1px solid #DDD7CA;
}
.bcard-back::after { mix-blend-mode: soft-light; }
.bcard-back .bcard-sheen::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.1) 30%, rgba(255,255,255,.6) 50%, rgba(255,255,255,.1) 70%, transparent); }
.bcard-back-title {
  grid-column: 1; grid-row: 1;
  font-family: var(--font-mono);
  font-size: max(10px, 2.5cqi);
  letter-spacing: .04em;
  line-height: 1.2;
  color: #626873;
  margin-bottom: 3cqi;
}
/* Emblem timbul (blind emboss) */
.bcard-deboss {
  grid-column: 2; grid-row: 1;
  justify-self: end;
  width: 6.4cqi; height: 6.4cqi;
  min-width: 20px; min-height: 20px;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 -1px 0 rgba(21,23,28,.14));
}
.bcard-deboss rect { fill: var(--cream-2); }
.bcard-deboss path { fill: none; stroke: rgba(21,23,28,.16); stroke-width: 2.4; stroke-linecap: round; }
.bcard-contacts {
  grid-column: 1; grid-row: 2;
  list-style: none;
  display: grid;
  align-content: start;
  gap: 2cqi;
  min-width: 0;
  padding-bottom: 3cqi;
}
.bcard-contacts li { display: grid; gap: .4cqi; min-width: 0; line-height: 1.25; }
.bcard-contacts span { font-family: var(--font-mono); font-size: max(9px, 2.1cqi); color: #626873; }
.bcard-contacts a {
  font-size: max(11px, 3cqi);
  font-weight: 500;
  color: #15171C;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(255,255,255,.65); /* efek cetak letterpress */
}
.bcard-contacts a:hover { color: #075F56; text-decoration: underline; text-underline-offset: 3px; }
.bcard-contacts a:focus-visible { outline-color: #075F56; }
.bcard-back-mark {
  grid-column: 1; grid-row: 3;
  align-self: end;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: max(15px, 4.6cqi);
  line-height: 1;
  color: #075F56;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.bcard-qr {
  grid-column: 2; grid-row: 2 / 4;
  align-self: end;
  display: grid;
  justify-items: center;
  gap: 1cqi;
  width: 19cqi;
  min-width: 60px;
  padding: 1.4cqi 1.4cqi 1.1cqi;
  border-radius: 2cqi;
  background: var(--cream-1);
  box-shadow: inset 0 0 0 1px rgba(21,23,28,.1), 0 1px 0 rgba(255,255,255,.8);
}
.bcard-qr svg { width: 100%; height: auto; display: block; }
.bcard-qr path { fill: #15171C; }
.bcard-qr figcaption { font-family: var(--font-mono); font-size: max(8.5px, 1.9cqi); color: #626873; white-space: nowrap; }
.qr-cap-s { display: none; }
@container (max-width: 400px) {
  .qr-cap-l { display: none; }
  .qr-cap-s { display: inline; }
}

.bcard-flip .ico { width: 16px; height: 16px; }
.bcard-hint { margin-top: -10px; font-family: var(--font-mono); font-size: .75rem; color: var(--color-muted); }

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-head h2 { margin-bottom: 18px; }
.faq { border-top: 1px solid var(--color-border-strong); }
.faq-item { border-bottom: 1px solid var(--color-border-strong); }
.faq-item h3 { font-size: inherit; letter-spacing: normal; line-height: inherit; }
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--color-text);
}
.faq-q:hover { color: var(--color-accent-strong); }
[data-theme="dark"] .faq-q:hover { color: var(--color-accent); }
.faq-icon {
  position: relative;
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), rotate .3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.5px;
  margin: -.75px 0 0 -5.5px;
  background: currentColor;
  border-radius: 2px;
  transition: rotate .3s var(--ease);
}
.faq-icon::after { rotate: 90deg; }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.faq-q[aria-expanded="true"] .faq-icon::after { rotate: 0deg; }

.faq-a-inner p { padding: 0 48px 24px 0; color: var(--color-muted); max-width: 62ch; }
.js .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s var(--ease), visibility 0s linear .35s;
}
.js .faq-a-inner { overflow: hidden; min-height: 0; }
.js .faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .35s var(--ease), visibility 0s;
}

/* ===== CTA PANEL ===== */
.section--cta { padding-block: var(--section-pad) 0; }
.cta-panel {
  /* Panel selalu gelap: pakai token dark mode */
  --color-text: #ECEEF1;
  --color-text-2: #C3C8D0;
  --color-muted: #959CA7;
  --color-border: #262A32;
  --color-border-strong: #363B45;
  --color-surface: #181B21;
  --color-accent: #3CC8B4;
  --color-accent-strong: #74DACB;
  --color-accent-soft: rgba(60,200,180,.12);
  --color-on-accent: #101216;
  --grid-line: rgba(236,238,241,.05);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 88px);
  border-radius: var(--radius-lg);
  background: var(--panel-dark);
  color: var(--color-text);
  border: 1px solid #262A32;
}
.cta-grid {
  position: absolute;
  inset: -48px;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 80% 20%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 90% at 80% 20%, #000 30%, transparent 80%);
  animation: grid-drift 24s linear infinite;
}
@keyframes grid-drift { to { translate: 48px 48px; } }
.cta-glow {
  position: absolute;
  z-index: -1;
  width: 520px; height: 520px;
  right: -140px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60,200,180,.22), transparent 65%);
  pointer-events: none;
}
.cta-content { max-width: 640px; }
.cta-content h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); margin-bottom: 20px; color: #FFFFFF; }
.cta-content p { font-size: 1.125rem; color: var(--color-text-2); max-width: 46ch; margin-bottom: 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-panel .btn--ghost { border-color: #363B45; color: var(--color-text); }
.cta-panel .btn--ghost:hover { background: #1C2027; border-color: #959CA7; }

/* ===== CONTACT / FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-info .head-note { margin-bottom: 36px; }

.channels { list-style: none; border-top: 1px solid var(--color-border); }
.channels li { border-bottom: 1px solid var(--color-border); }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  text-decoration: none;
  transition: background-color .2s var(--ease);
}
.channel-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-accent);
}
.channel-icon .ico { width: 19px; height: 19px; }
.channel-text { display: grid; min-width: 0; flex: 1; }
.channel-name { font-family: var(--font-mono); font-size: .74rem; color: var(--color-muted); }
.channel-value { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.channel-go { width: 18px; height: 18px; color: var(--color-muted); transition: translate .25s var(--ease), color .2s var(--ease); }
.channel:hover .channel-go { translate: 2px -2px; color: var(--color-accent); }
.channel:hover .channel-value { text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .92rem; font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-muted); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
  background: var(--color-surface);
}
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--color-muted);
  border-bottom: 1.5px solid var(--color-muted);
  rotate: 45deg;
  pointer-events: none;
}
.field select.is-prefilled { border-color: var(--color-accent); box-shadow: 0 0 0 4px var(--color-accent-soft); }

.field-hint { font-size: .86rem; color: var(--color-muted); }
.field-hint:empty { display: none; }
#f-project-hint { color: var(--color-accent-strong); }
[data-theme="dark"] #f-project-hint { color: var(--color-accent); }

/* Status error — design system tidak memiliki warna error; gunakan ink + ikon + tebal border */
.field [aria-invalid="true"] {
  border-color: var(--color-text);
  box-shadow: inset 0 0 0 1px var(--color-text);
}
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-text);
}
.field-error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 18px; height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
}
.field-error[hidden] { display: none; }

.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.form-actions .btn { flex: 1 1 200px; }
.form-status { font-size: .92rem; font-weight: 500; color: var(--color-text-2); }
.form-status:empty { display: none; }
.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: .86rem;
  color: var(--color-muted);
}
.form-note .ico { width: 16px; height: 16px; margin-top: 3px; }

/* ===== FOOTER ===== */
.footer {
  margin-top: 0;
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { margin-top: 16px; max-width: 38ch; color: var(--color-muted); font-size: .94rem; }
.footer-title { font-family: var(--font-mono); font-size: .76rem; color: var(--color-muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; font-size: .94rem; color: var(--color-text-2); }
.footer-col a:hover { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--color-border);
  font-size: .86rem;
  color: var(--color-muted);
}
.footer .text-link { color: var(--color-accent-strong); }
[data-theme="dark"] .footer .text-link { color: var(--color-accent); }

/* ===== DIALOG ===== */
.dlg {
  width: min(720px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dlg::backdrop { background: rgba(16,18,22,.55); }
.dlg[open] { animation: dlg-in .3s var(--ease); }
@keyframes dlg-in { from { opacity: 0; translate: 0 12px; } }
.dlg-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 26px);
  max-height: calc(100dvh - 26px);
}
.dlg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 14px 28px;
  border-bottom: 1px solid var(--color-border);
}
.dlg-kicker { font-family: var(--font-mono); font-size: .76rem; color: var(--color-muted); }
.dlg-body { overflow-y: auto; padding: 28px; overscroll-behavior: contain; }
.dlg-body > * + * { margin-top: 12px; }
.dlg-cat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .78rem; color: var(--color-muted); }
.dlg-title { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.3rem); margin-bottom: 4px; }
.dlg-body p { color: var(--color-text-2); max-width: 60ch; }
.dlg-body h3 {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-muted);
}
.dlg-list { list-style: none; display: grid; gap: 8px; }
.dlg-list li { position: relative; padding-left: 26px; color: var(--color-text-2); }
.dlg-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .55em;
  width: 12px; height: 7px;
  border-left: 1.6px solid var(--color-accent);
  border-bottom: 1.6px solid var(--color-accent);
  rotate: -45deg;
}
.dlg-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-2);
}
.dlg-foot p { font-size: .86rem; color: var(--color-muted); }

/* ===== REVEAL ===== */
.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .7s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }
/* .svc punya transition sendiri (lihat BENTO) */
.js .svc.reveal { transition-property: border-color, opacity, translate; transition-duration: .25s, .7s, .8s; transition-delay: 0s, var(--d, 0s), var(--d, 0s); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  .nav-links a { padding: 7px 10px; font-size: .88rem; }
  .nav-inner { gap: 14px; }
  .pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .pipe::before, .pipe::after { display: none; }
  .pipe { padding-top: 0; }
  .pipe-node::before, .pipe-node::after { display: none; }
  .pipe-node { counter-increment: none; }
  .stage { grid-template-columns: 1fr; }
  .stage--center { grid-template-columns: auto minmax(0, 200px); }
  .mk-ticket { display: none; }
  .mk-form { max-width: 340px; width: 100%; justify-self: center; }
  .cat { grid-template-columns: minmax(0, 160px) minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px 32px; }
}

@media (max-width: 1023px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-grid; }
  .nav-links + .nav-actions { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-visual { max-width: 640px; }

  .head-split { grid-template-columns: 1fr; align-items: start; }

  .cat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .cat-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc--wide { grid-column: 1 / -1; }
  .svc--custom { grid-column: 1 / -1; }

  .help-grid, .faq-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .help-head, .faq-head { position: static; }

  /* Process: vertikal */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after {
    top: calc(var(--node) / 2);
    bottom: calc(var(--node) / 2);
    left: calc(var(--node) / 2);
    right: auto;
    width: 1px; height: auto;
  }
  .steps::after { transform-origin: 50% 0; transform: scaleY(0); }
  .steps.is-drawn::after { transform: scaleY(1); }
  .step { grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 20px; row-gap: 6px; padding-bottom: 32px; }
  .step:last-child { padding-bottom: 0; }
  .step > * { grid-column: 2; }
  .step-node { grid-column: 1; grid-row: 1 / span 5; margin-bottom: 0; }
  .step-out { max-width: 40ch; }

  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-visual { order: 0; }
  .case-visual { max-width: 640px; width: 100%; }

  .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-card { justify-items: start; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  h1 { font-size: clamp(2.35rem, 1.2rem + 6.4vw, 3.2rem); }
  .hero { padding-top: 40px; }
  .hero-actions .btn { flex: 1 1 200px; }
  .hw-body { padding: 14px; }
  .hw-foot span:last-child { display: none; }
  .mk-site-hero { grid-template-columns: 1fr; }
  .mk-site-art { display: none; }
  .mk-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mk-kpi { padding: 9px; }
  .mk-chart svg { height: 96px; }

  .cat { grid-template-columns: 1fr; padding: 28px 0; }

  .bento { grid-template-columns: 1fr; }
  .svc--wide { grid-template-columns: 1fr; padding: 24px; }
  .svc { padding: 24px; }
  .svc-art { min-height: 200px; }

  .help-item { grid-template-columns: 1fr; grid-template-areas: "q" "a" "link"; }
  .help-link { justify-self: start; }

  .stage { min-height: 0; }
  .stage--center { grid-template-columns: 1fr; justify-items: center; }
  .mk-bubble { max-width: 260px; }
  .mk-archive { grid-template-columns: 1fr; }
  .mk-doc { display: none; }
  .mk-board-side { display: none; }

  .cases-more { grid-template-columns: 1fr; }

  .pipe { grid-template-columns: 1fr; gap: 10px; }
  .pipe-node { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; padding: 16px; }
  .pipe-node .pipe-key { grid-row: 1 / span 2; align-self: start; padding-top: 3px; }

  .principles { grid-template-columns: 1fr; }
  .about-card { justify-items: stretch; }
  .bcard-flip { justify-self: start; }

  .faq-a-inner p { padding-right: 8px; }

  .cta-actions .btn { flex: 1 1 200px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 400px) {
  .brand-name { font-size: .95rem; }
  .nav-inner { gap: 10px; }
  .hw-bar { padding: 10px; gap: 8px; }
  .hw-dots { display: none; }
  .hw-tab { padding: 8px 10px 11px; font-size: .8rem; }
  .mk-kpi span { font-size: .64rem; }
  .mk-site-cards { gap: 6px; }
  .mk-site-cards li { padding: 6px; }
  .mk-table td, .mk-table th { padding: 8px 9px; }
  .mk-flow li span:not(.mk-flow-dot) { display: none; }
  .pipe-node { grid-template-columns: 1fr; }
  .pipe-node .pipe-key { grid-row: auto; padding-top: 0; }
  .mini-case { grid-template-columns: 1fr; }
  .mini-case .btn { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { translate: none; transition: opacity .2s linear; }
  .js .svc.reveal { transition: opacity .2s linear, border-color .2s linear; }
  .js .hw-panel[hidden] { translate: none; }
  .hw-panel { transition: opacity .15s linear; }
  .bcard-inner, .bcard.is-flipping .bcard-inner { transition: transform .01ms; }
  .bcard.is-lifting .bcard-inner { scale: 1; }
  .bcard-sheen { display: none; }
  .foil { animation: none !important; transition: none; }
  .steps::after { transition: none; }
  .pipe::after { display: none; }
  .mk-scan { display: none; }
  .cta-grid { animation: none; }
}
