/* Maestro ONE — maestrone.id
   Satu stylesheet untuk landing page dan halaman legal.
   Semua warna lewat token di :root agar mode terang & gelap konsisten. */

:root {
  --brand: #0b4fd6;
  --brand-600: #0840c4;
  --brand-400: #2d86f5;
  --brand-300: #5cb0ff;
  --hero-bg:
    radial-gradient(900px 520px at 50% 6%, rgba(90, 170, 255, .55), transparent 65%),
    linear-gradient(180deg, #0f5ce8 0%, #0a4bd0 38%, #083aa8 72%, #062c82 100%);
  --band-bg: linear-gradient(120deg, #1667ee 0%, #0b4fd6 45%, #07348f 100%);

  --bg: #ffffff;
  --bg-soft: #f3f6fd;
  --surface: #ffffff;
  --surface-2: #f7f9fe;
  --border: #e3e9f5;
  --text: #0d1b3e;
  --text-2: #4b5a78;
  --text-3: #8391ac;
  --icon-bg: #eaf1ff;
  --icon-fg: #0b4fd6;
  --wm-1: #1553d8;
  --wm-2: #4ea3ff;
  --banner-2: #d9e7ff;
  --device: #0b1220;
  --device-base: linear-gradient(180deg, #dfe4ee, #9aa4b7);
  --pill-ok-bg: #dcfce7; --pill-ok-fg: #15803d;
  --pill-wait-bg: #fef3c7; --pill-wait-fg: #a16207;
  --pill-go-bg: #e6efff; --pill-go-fg: #0b4fd6;
  --note-bg: #eef4ff; --note-border: #d3e2ff;
  --shadow-sm: 0 1px 2px rgba(13, 27, 62, .05), 0 1px 3px rgba(13, 27, 62, .05);
  --shadow: 0 12px 32px -14px rgba(11, 79, 214, .28), 0 4px 10px -6px rgba(13, 27, 62, .08);
  --shadow-lg: 0 40px 80px -30px rgba(3, 20, 70, .55);

  --radius: 18px;
  --maxw: 1200px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hero-bg:
      radial-gradient(900px 520px at 50% 6%, rgba(50, 125, 255, .38), transparent 65%),
      linear-gradient(180deg, #0a3fb8 0%, #08318f 40%, #061f5c 78%, #070e1f 100%);
    --band-bg: linear-gradient(120deg, #0d47c0 0%, #0a3596 50%, #061f5c 100%);
    --bg: #070e1f;
    --bg-soft: #0a1328;
    --surface: #101b33;
    --surface-2: #0d172c;
    --border: #1e2b49;
    --text: #e9effc;
    --text-2: #a9b5cf;
    --text-3: #7886a3;
    --icon-bg: #14254a;
    --icon-fg: #8ec5ff;
    --wm-1: #eef3ff;
    --wm-2: #5cb0ff;
    --banner-2: #16305e;
    --device: #02050c;
    --device-base: linear-gradient(180deg, #3a4356, #1b2130);
    --pill-ok-bg: #0f3a24; --pill-ok-fg: #6ee7a0;
    --pill-wait-bg: #3a2c0c; --pill-wait-fg: #fcd34d;
    --pill-go-bg: #14254a; --pill-go-fg: #8ec5ff;
    --note-bg: #0f1c38; --note-border: #1f3566;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 12px 32px -14px rgba(0, 0, 0, .7);
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --hero-bg:
    radial-gradient(900px 520px at 50% 6%, rgba(50, 125, 255, .38), transparent 65%),
    linear-gradient(180deg, #0a3fb8 0%, #08318f 40%, #061f5c 78%, #070e1f 100%);
  --band-bg: linear-gradient(120deg, #0d47c0 0%, #0a3596 50%, #061f5c 100%);
  --bg: #070e1f;
  --bg-soft: #0a1328;
  --surface: #101b33;
  --surface-2: #0d172c;
  --border: #1e2b49;
  --text: #e9effc;
  --text-2: #a9b5cf;
  --text-3: #7886a3;
  --icon-bg: #14254a;
  --icon-fg: #8ec5ff;
  --wm-1: #eef3ff;
  --wm-2: #5cb0ff;
  --banner-2: #16305e;
  --device: #02050c;
  --device-base: linear-gradient(180deg, #3a4356, #1b2130);
  --pill-ok-bg: #0f3a24; --pill-ok-fg: #6ee7a0;
  --pill-wait-bg: #3a2c0c; --pill-wait-fg: #fcd34d;
  --pill-go-bg: #14254a; --pill-go-fg: #8ec5ff;
  --note-bg: #0f1c38; --note-border: #1f3566;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 12px 32px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .25s, color .25s;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-400); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; }
h3, h4 { font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color .25s, border-color .25s;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { width: 42px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: .02em; color: var(--wm-1); white-space: nowrap; }
.brand-name span { color: var(--wm-2); }
.logo-on-dark { display: none; }
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block; }
}
.nav-links { display: none; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-2); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--brand-400); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--brand-300); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
.mobile-menu { display: none; border-top: 1px solid var(--border); background: var(--bg); padding: 8px 16px 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 4px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 920px) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-menu, .mobile-menu.open { display: none; }
}

/* Header di atas hero biru (landing page): transparan, teks putih */
.site-header.on-hero { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.on-hero .brand-name { color: #fff; }
.site-header.on-hero .brand-name span { color: var(--brand-300); }
.site-header.on-hero .logo-on-light { display: none; }
.site-header.on-hero .logo-on-dark { display: block; }
.site-header.on-hero .nav-links a { color: rgba(255, 255, 255, .86); }
.site-header.on-hero .nav-links a:hover { color: #fff; }
.site-header.on-hero .icon-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); color: #fff; }
.site-header.on-hero .mobile-menu { background: var(--bg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; font-family: var(--font-body);
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s, background-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 79, 214, .6); }
.btn-primary:hover { background: var(--brand-600); }

.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; min-width: 176px;
  background: #fff; color: #0d1b3e; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .6);
  text-decoration: none !important; transition: transform .15s; box-shadow: 0 10px 24px -12px rgba(0, 10, 50, .5);
}
.store:hover { transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .7; line-height: 1.2; }
.store strong { display: block; font-size: 16px; line-height: 1.2; }
.store[aria-disabled="true"] { cursor: default; }
.store .soon { font-size: 10px; font-weight: 700; background: var(--brand); color: #fff; padding: 2px 6px; border-radius: 6px; margin-left: 4px; vertical-align: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -69px; padding-top: 120px; background: var(--hero-bg); color: #fff; text-align: center; }
.hero-deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .container { position: relative; }
.hero-side {
  display: none; position: absolute; top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .32em; line-height: 2.1;
  text-transform: uppercase; color: rgba(255, 255, 255, .82); text-align: left; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .45);
}
.hero-side::after { content: ""; display: block; width: 26px; height: 1px; background: rgba(255, 255, 255, .6); margin-top: 16px; }
.hero-side.l { left: 28px; }
.hero-side.r { right: 28px; }
@media (min-width: 1180px) { .hero-side { display: block; } }
.hero-mark { width: clamp(130px, 24vw, 290px); margin: 0 auto 8px; filter: drop-shadow(0 18px 30px rgba(0, 20, 90, .35)); }
.hero h1 { color: #fff; font-size: clamp(40px, 8.4vw, 96px); letter-spacing: .01em; line-height: 1.05; margin: 0 0 18px; }
.hero h1 span { color: var(--brand-300); }
.hero-tag { font-family: var(--font-head); font-weight: 300; font-size: clamp(14px, 2.3vw, 26px); letter-spacing: .5em; margin: 0 0 22px; padding-left: .5em; line-height: 1.7; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: rgba(255, 255, 255, .9); max-width: 620px; margin: 0 auto 30px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 52px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 12px; max-width: 920px; margin: 0 auto; list-style: none; padding: 0; }
@media (min-width: 820px) { .tiles { grid-template-columns: repeat(8, 1fr); } }
.tile { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.tile span.box {
  width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 24px -14px rgba(0, 10, 60, .7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tile svg { width: 28px; height: 28px; color: #fff; }

/* Devices */
.devices { position: relative; max-width: 1040px; margin: 64px auto 0; padding: 0 16% 0 0; }
.laptop { position: relative; }
.lid { background: var(--device); border-radius: 18px 18px 6px 6px; padding: 1.4% 1.4% 1.6%; box-shadow: var(--shadow-lg); }
.lid .screen { border-radius: 8px; overflow: hidden; container-type: inline-size; }
.base { height: clamp(10px, 1.6vw, 18px); background: var(--device-base); border-radius: 0 0 20px 20px; width: 112%; margin-left: -6%; position: relative; }
.base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 14%; height: 45%; background: rgba(0, 0, 0, .18); border-radius: 0 0 10px 10px; }
.devices .phone { position: absolute; right: 0; bottom: -4%; width: 22%; }

.phone { --pr: 34px; background: var(--device); border-radius: var(--pr); padding: 7px; box-shadow: var(--shadow-lg); }
.devices .phone { --pr: clamp(18px, 3.2vw, 34px); padding: clamp(4px, .6vw, 7px); }
.pscreen { border-radius: calc(var(--pr) - 6px); overflow: hidden; container-type: inline-size; background: var(--bg-soft); color: var(--text); aspect-ratio: 9 / 19.5; display: flex; flex-direction: column; text-align: left; }

/* Values */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding: 72px 0 64px; text-align: left; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(4, 1fr); gap: 0; } .value + .value { border-left: 1px solid rgba(255, 255, 255, .22); } }
.value { display: flex; gap: 14px; align-items: flex-start; padding: 0 22px; }
.value svg { width: 34px; height: 34px; flex: none; color: #fff; opacity: .95; }
.value b { display: block; font-size: 17px; color: #fff; }
.value span { font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.45; display: block; }
@media (max-width: 899px) { .value { padding: 0; } }
.hero-foot { display: none; justify-content: space-between; align-items: flex-end; padding: 0 0 36px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-align: left; }
.hero-foot div + div { text-align: left; border-left: 1px solid rgba(255, 255, 255, .4); padding-left: 16px; }
@media (min-width: 900px) { .hero-foot { display: flex; } }

/* ---------- Laptop UI (skala mengikuti lebar layar lewat cqw) ---------- */
.l-ui { font-size: 1.28cqw; display: grid; grid-template-columns: 15em 1fr; aspect-ratio: 16 / 10; background: var(--bg-soft); color: var(--text); text-align: left; line-height: 1.35; }
.l-side { background: linear-gradient(180deg, #1d64ea, #0b3fb3); color: #fff; padding: 1.6em 1em; display: flex; flex-direction: column; gap: .25em; }
.l-logo { display: flex; flex-direction: column; align-items: center; gap: .35em; margin-bottom: 1.4em; text-align: center; }
.l-logo img { width: 4.4em; }
.l-logo b { font-family: var(--font-head); font-weight: 800; font-size: 1.15em; letter-spacing: .02em; }
.l-logo b span { color: #8ec5ff; }
.l-logo small { font-size: .5em; letter-spacing: .22em; opacity: .8; }
.l-nav { display: flex; align-items: center; gap: .7em; padding: .6em .8em; border-radius: .6em; font-size: .92em; color: rgba(255, 255, 255, .9); }
.l-nav.on { background: #2f7bff; box-shadow: 0 .4em 1em -.4em rgba(0, 0, 0, .4); color: #fff; font-weight: 700; }
.l-nav svg { width: 1.3em; height: 1.3em; }
.l-main { padding: 1.3em 1.7em; display: flex; flex-direction: column; gap: 1em; min-width: 0; }
.l-top { display: flex; align-items: center; gap: 1em; }
.l-search { flex: 1; max-width: 26em; background: var(--surface); border: 1px solid var(--border); border-radius: .7em; padding: .6em .9em; color: var(--text-3); font-size: .85em; display: flex; gap: .6em; align-items: center; }
.l-search svg { width: 1.2em; height: 1.2em; }
.l-user { margin-left: auto; display: flex; align-items: center; gap: .6em; font-size: .85em; }
.l-user .av { width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #8ec5ff, #2d86f5); color: #fff; display: grid; place-items: center; font-weight: 800; }
.l-user small { display: block; color: var(--text-3); font-size: .8em; }
.l-banner { position: relative; overflow: hidden; border-radius: 1em; padding: 1.3em 1.6em; background: linear-gradient(90deg, var(--surface) 35%, var(--banner-2)); border: 1px solid var(--border); }
.l-banner small { color: var(--text-2); font-size: .95em; }
.l-banner strong { display: block; font-size: 1.9em; font-family: var(--font-head); font-weight: 800; margin: .1em 0; }
.l-banner em { font-style: normal; color: var(--text-2); font-size: .9em; }
.l-banner em b { color: var(--brand-400); }
.l-banner svg { position: absolute; right: 1em; bottom: 0; height: 115%; width: auto; }
.l-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.l-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: .9em; padding: .9em 1em; display: grid; grid-template-columns: auto 1fr; gap: .2em .8em; align-items: center; }
.l-kpi .ic { grid-row: span 3; width: 2.6em; height: 2.6em; border-radius: .7em; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.l-kpi .ic svg { width: 1.4em; height: 1.4em; }
.l-kpi small { color: var(--text-3); font-size: .78em; }
.l-kpi strong { font-size: 1.55em; line-height: 1.1; }
.l-kpi em { font-style: normal; font-size: .72em; color: #16a34a; font-weight: 700; }
.l-row { display: grid; grid-template-columns: 1.55fr 1fr; gap: .8em; flex: 1; min-height: 0; }
.l-card { background: var(--surface); border: 1px solid var(--border); border-radius: .9em; padding: .9em 1.1em; display: flex; flex-direction: column; min-height: 0; }
.l-card h5 { margin: 0 0 .5em; font-size: .95em; display: flex; justify-content: space-between; color: var(--text); }
.l-card h5 span { font-weight: 500; color: var(--text-3); font-size: .85em; }
.l-card svg.chart { flex: 1; width: 100%; height: auto; min-height: 0; }
.bar-row { display: grid; grid-template-columns: 6.5em 1fr 2.4em; align-items: center; gap: .6em; font-size: .78em; padding: .28em 0; color: var(--text-2); }
.bar-row i { height: .55em; border-radius: 1em; background: var(--border); position: relative; overflow: hidden; }
.bar-row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); border-radius: 1em; }
.bar-row b { text-align: right; color: var(--text); }

/* ---------- Phone UI ---------- */
.p-ui { font-size: 4.6cqw; display: flex; flex-direction: column; height: 100%; line-height: 1.3; }
.p-status { display: flex; align-items: center; justify-content: space-between; padding: .9em 1.4em .5em; font-size: .78em; font-weight: 700; }
.p-status i { width: 30%; height: 1.7em; border-radius: 1em; background: var(--device); }
.p-status .sig { display: flex; gap: .25em; align-items: flex-end; }
.p-status .sig span { width: .25em; background: var(--text); border-radius: .1em; }
.p-body { flex: 1; padding: .5em 1.1em .8em; display: flex; flex-direction: column; gap: .75em; overflow: hidden; }
.p-head { display: flex; justify-content: space-between; align-items: center; }
.p-head svg { width: 1.3em; height: 1.3em; color: var(--text); }
.p-head .av { width: 2em; height: 2em; border-radius: 50%; background: linear-gradient(135deg, #8ec5ff, #2d86f5); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8em; }
.p-greet small { display: block; font-size: .85em; color: var(--text-2); }
.p-greet strong { display: block; font-size: 1.35em; line-height: 1.2; }
.p-title { font-size: 1.4em; font-weight: 800; }
.p-search { background: var(--surface); border: 1px solid var(--border); border-radius: .8em; padding: .6em .8em; color: var(--text-3); font-size: .82em; display: flex; gap: .5em; align-items: center; }
.p-search svg { width: 1.1em; height: 1.1em; }
.p-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.p-tile { background: var(--surface); border: 1px solid var(--border); border-radius: .9em; padding: .75em .8em; }
.p-tile .ic { width: 1.9em; height: 1.9em; border-radius: .55em; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); margin-bottom: .45em; }
.p-tile .ic svg { width: 1.1em; height: 1.1em; }
.p-tile strong { display: block; font-size: 1.2em; line-height: 1.1; }
.p-tile small { color: var(--text-3); font-size: .72em; }
.p-card { background: var(--surface); border: 1px solid var(--border); border-radius: .9em; padding: .75em .85em; }
.p-card .row { display: flex; justify-content: space-between; align-items: baseline; font-size: .78em; color: var(--text-2); }
.p-card .big { font-size: 1.35em; font-weight: 800; margin: .15em 0 .2em; display: flex; justify-content: space-between; align-items: baseline; }
.p-card .big em { font-style: normal; font-size: .55em; color: #16a34a; }
.p-tabs { display: flex; gap: .4em; font-size: .75em; }
.p-tabs span { flex: 1; text-align: center; padding: .45em .2em; border-radius: .6em; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-weight: 600; }
.p-tabs span.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.p-item { display: flex; gap: .65em; align-items: center; padding: .6em .1em; border-bottom: 1px solid var(--border); }
.p-item:last-child { border-bottom: 0; }
.p-item .ic { flex: none; width: 2.1em; height: 2.1em; border-radius: .6em; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.p-item .ic svg { width: 1.15em; height: 1.15em; }
.p-item div { flex: 1; min-width: 0; }
.p-item b { display: block; font-size: .8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-item small { display: block; font-size: .68em; color: var(--text-3); }
.p-item .pill { font-size: .6em; }
.p-item .dot { width: .45em; height: .45em; border-radius: 50%; background: var(--brand-400); flex: none; }
.p-nav { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--border); padding: .55em .3em 1.1em; }
.p-nav span { display: flex; flex-direction: column; align-items: center; gap: .2em; font-size: .55em; color: var(--text-3); font-weight: 600; }
.p-nav span.on { color: var(--brand-400); }
.p-nav svg { width: 2em; height: 2em; }
.p-mods { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.p-mod { background: var(--surface); border: 1px solid var(--border); border-radius: .9em; padding: .9em .5em .8em; text-align: center; }
.p-mod .ic { width: 2.3em; height: 2.3em; margin: 0 auto .45em; border-radius: .7em; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.p-mod .ic svg { width: 1.3em; height: 1.3em; }
.p-mod b { display: block; font-size: .85em; }
.p-mod small { display: block; font-size: .6em; color: var(--text-3); line-height: 1.25; margin-top: .15em; }
.p-map { position: relative; height: 9em; border-radius: .9em; overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0/1.6em 1.6em, linear-gradient(0deg, var(--border) 1px, transparent 1px) 0 0/1.6em 1.6em, var(--surface-2); }
.p-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.pill { font-size: 11px; font-weight: 700; padding: .25em .7em; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--pill-ok-bg); color: var(--pill-ok-fg); }
.pill.wait { background: var(--pill-wait-bg); color: var(--pill-wait-fg); }
.pill.go { background: var(--pill-go-bg); color: var(--pill-go-fg); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
@media (min-width: 980px) { .section { padding: 112px 0; } }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; font-weight: 700; color: var(--brand-400); font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 44px); }
.section-head p { color: var(--text-2); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s, background-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--icon-bg); color: var(--icon-fg); margin-bottom: 18px; }
.card .icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 18px; margin-bottom: 4px; }
.card .sub { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; margin: 0; }
.mod .icon { background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.mod:hover { border-color: color-mix(in srgb, var(--c) 40%, var(--border)); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.chips span { font-size: 14px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; }

/* Showcase phones */
.phones { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 36px; margin: 0 -16px; scrollbar-width: none; }
.phones::-webkit-scrollbar { display: none; }
.phones .phone { flex: 0 0 min(270px, 74vw); scroll-snap-align: center; }
@media (min-width: 980px) { .phones { justify-content: center; overflow: visible; } .phones .phone:nth-child(2) { transform: translateY(-24px); } }

/* Split */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1.05fr 1fr; gap: 80px; } }
.split h2 { font-size: clamp(26px, 3.6vw, 40px); }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--text-2); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--text-2); }
.checks li svg { flex: none; width: 22px; height: 22px; color: var(--brand-400); margin-top: 2px; }
.checks li b { color: var(--text); }
.split-visual { display: flex; justify-content: center; }
.split-visual .phone { width: min(280px, 72vw); }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .platforms { grid-template-columns: repeat(5, 1fr); } }
.platform { text-align: center; padding: 24px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.platform svg { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--icon-fg); }
.platform b { display: block; }
.platform small { color: var(--text-3); }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--brand-400); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); margin: 0 0 18px; }

/* CTA band */
.band { position: relative; overflow: hidden; border-radius: 28px; background: var(--band-bg); color: #fff; box-shadow: var(--shadow-lg); display: grid; }
@media (min-width: 900px) { .band { grid-template-columns: 1.2fr 1fr; } }
.band-text { position: relative; z-index: 1; padding: 44px 26px 0; }
@media (min-width: 720px) { .band-text { padding: 64px 56px; } }
.band-text > small { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .75); display: block; margin-bottom: 18px; }
.band h2 { color: #fff; font-weight: 300; font-style: italic; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin-bottom: 0; }
.band hr { width: 44px; border: 0; border-top: 1px solid rgba(255, 255, 255, .6); margin: 22px 0; }
.band p { color: rgba(255, 255, 255, .88); font-size: 17px; max-width: 460px; margin-bottom: 26px; }
.band .row-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band-art { position: relative; min-height: 280px; }
.band-art svg { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; }
.band-art span { position: absolute; right: 28px; bottom: 26px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .9); border-left: 1px solid rgba(255, 255, 255, .6); padding: 6px 14px; line-height: 1.9; z-index: 1; background: rgba(6, 28, 96, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 0 8px 8px 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg); color: var(--text-2); font-size: 15px; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.foot-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 880px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-grid > :first-child { grid-column: auto; } }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--text-2); }
.foot-grid a:hover { color: var(--brand-400); }
.foot-about small { display: block; margin-top: 14px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-3); }
.foot-about p { max-width: 340px; margin-top: 12px; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: var(--text-3); }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--hero-bg); color: #fff; padding: 52px 0 44px; }
.legal-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 46px); margin-bottom: 10px; }
.legal-hero p { color: rgba(255, 255, 255, .86); margin: 0; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.crumbs a { color: rgba(255, 255, 255, .88); }
.legal-wrap { display: grid; gap: 40px; padding-top: 44px; padding-bottom: 80px; }
.legal-wrap > * { min-width: 0; }
@media (min-width: 1000px) { .legal-wrap { grid-template-columns: 260px 1fr; gap: 64px; } }
.toc { align-self: start; font-size: 14px; }
@media (min-width: 1000px) { .toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; } }
.toc details { border: 1px solid var(--border); border-radius: 14px; padding: 4px 16px; background: var(--surface); }
.toc summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.toc ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.toc a { color: var(--text-2); }
.toc a:hover { color: var(--brand-400); }
.prose { max-width: 760px; font-size: 16px; }
.prose h2 { font-family: var(--font-body); font-weight: 800; font-size: 22px; margin: 44px 0 14px; padding-top: 8px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--brand-400); }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.prose th { background: var(--bg-soft); color: var(--text); font-weight: 700; }
.note { border: 1px solid var(--note-border); background: var(--note-bg); border-radius: 14px; padding: 16px 18px; margin: 0 0 24px; color: var(--text-2); font-size: 15px; }
.note strong { color: var(--text); }

/* Forms */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm); margin: 10px 0 28px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; color: var(--text); }
.field .hint { font-size: 13px; color: var(--text-3); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-300); box-shadow: 0 0 0 3px var(--icon-bg); }
.field textarea { min-height: 100px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.form-msg { font-size: 14px; color: var(--text-2); display: none; }
.form-msg.show { display: block; }

.contact-grid { display: grid; gap: 14px; margin: 10px 0 28px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.contact .icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--icon-bg); color: var(--icon-fg); flex: none; }
.contact .icon svg { width: 20px; height: 20px; }
.contact b { display: block; color: var(--text); }
.contact span { font-size: 14px; color: var(--text-2); }

.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.center-page img { width: 110px; margin: 0 auto 26px; }
.center-page h1 { font-size: clamp(30px, 5vw, 46px); }
.center-page p { color: var(--text-2); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Dibuka dari WebView aplikasi (?embed=1): sembunyikan chrome situs */
.embed .site-header, .embed .site-footer, .embed .crumbs, .embed .toc { display: none; }
.embed .legal-hero { padding: 24px 0 20px; }
.embed .legal-wrap { padding-top: 24px; grid-template-columns: 1fr; }
