/* LMKN — Lintas Media Kreasi Nusantara
   Mobile-first, native-app feel, dark/light, motion-respect. */
:root {
  --bg: #ffffff;
  --bg-elev: #fafafa;
  --bg-glass: rgba(255,255,255,.78);
  --fg: #0a0a0a;
  --fg-soft: #2a2a2a;
  --muted: #5a5a5a;
  --muted-2: #8a8a8a;
  --line: #ececec;
  --line-strong: #d4d4d4;
  --accent: #ff5722;
  --accent-2: #ff8a65;
  --accent-soft: #fff3ef;
  --grad-1: #ff5722;
  --grad-2: #ff2d92;
  --grad-3: #5b21b6;
  --warn-bg: #fef3c7;
  --warn-fg: #78350f;
  --warn-bd: #fbbf24;
  --ok: #16a34a;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.03);
  --shadow-md: 0 6px 24px -6px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.18);
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --header-h: 56px;
  --bottom-nav-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-elev: #141414;
    --bg-glass: rgba(10,10,10,.72);
    --fg: #fafafa;
    --fg-soft: #e5e5e5;
    --muted: #a3a3a3;
    --muted-2: #707070;
    --line: #232323;
    --line-strong: #2e2e2e;
    --accent: #ff7a4a;
    --accent-2: #ffa07a;
    --accent-soft: #2a1a14;
    --warn-bg: #3a2e10;
    --warn-fg: #fde68a;
    --warn-bd: #a16207;
  }
}
[data-theme="light"]{color-scheme:light}
[data-theme="dark"]{color-scheme:dark;
  --bg:#0a0a0a;--bg-elev:#141414;--bg-glass:rgba(10,10,10,.72);--fg:#fafafa;--fg-soft:#e5e5e5;
  --muted:#a3a3a3;--muted-2:#707070;--line:#232323;--line-strong:#2e2e2e;--accent:#ff7a4a;
  --accent-2:#ffa07a;--accent-soft:#2a1a14;--warn-bg:#3a2e10;--warn-fg:#fde68a;--warn-bd:#a16207;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent }
html, body { margin:0; padding:0; background: var(--bg); color: var(--fg); }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
}
@media (min-width: 760px) { body { padding-bottom: 0; } }
::selection { background: var(--accent); color: #fff; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

/* ========== Header (glassmorphism) ========== */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: var(--safe-top);
}
.site-header .wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; letter-spacing: -.01em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 4px 12px -4px rgba(255,87,34,.5);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 15px; }
.brand-text small { font-size: 11px; color: var(--muted); font-weight: 400; }
.nav-desktop { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav-desktop a {
  color: var(--fg); padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  transition: background .15s;
}
.nav-desktop a:hover { background: var(--bg-elev); text-decoration: none; }
.nav-desktop .lang {
  border: 1px solid var(--line-strong); padding: 6px 12px; font-size: 13px; color: var(--muted);
}
.theme-toggle {
  margin-left: 8px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--fg);
  display: grid; place-items: center; transition: all .15s;
}
.theme-toggle:hover { background: var(--bg-elev); }
.theme-toggle svg { width: 18px; height: 18px; }
.menu-btn {
  margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--fg); display: none; align-items: center; justify-content: center;
}
@media (max-width: 759px) {
  .nav-desktop { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ========== Bottom nav (mobile native feel) ========== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--bg-glass); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  padding: 6px 0 calc(6px + var(--safe-bottom));
  display: none;
}
.bottom-nav-wrap {
  max-width: 600px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 4px; color: var(--muted); font-size: 11px; gap: 4px; min-height: 52px;
  border-radius: 12px; transition: all .12s;
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--accent); }
.bottom-nav a:active { background: var(--bg-elev); transform: scale(.96); }
@media (max-width: 759px) { .bottom-nav { display: block; } }

/* ========== Drawer (mobile menu) ========== */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 88%; max-width: 360px; z-index: 51;
  background: var(--bg); padding: calc(var(--safe-top) + 18px) 22px 22px;
  transform: translateX(100%); transition: transform .25s ease-out;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
.drawer header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer header strong { font-size: 18px; }
.drawer .close { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--fg); }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a {
  padding: 14px 14px; font-size: 16px; color: var(--fg); border-radius: 12px; font-weight: 500;
  display: flex; align-items: center; gap: 12px;
}
.drawer nav a:hover, .drawer nav a:active { background: var(--bg-elev); text-decoration: none; }
.drawer nav .meta { color: var(--muted); font-size: 12px; padding: 8px 14px; text-transform: uppercase; letter-spacing: .08em; }

/* ========== Container & typography ========== */
main.container { max-width: 760px; margin: 0 auto; padding: 28px 20px 40px; }
main.wide { max-width: 1200px; }
h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 12px; }
h2 { font-size: clamp(20px, 3.6vw, 26px); margin: 36px 0 14px; letter-spacing: -.015em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
h3 { font-size: clamp(17px, 2.6vw, 19px); margin: 22px 0 10px; }
p, li { color: var(--fg-soft); }
.lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); margin: 0 0 24px; line-height: 1.55; }
hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
.meta { color: var(--muted-2); font-size: 13px; }

/* ========== Notice / callout ========== */
.notice {
  background: var(--warn-bg); color: var(--warn-fg); border: 1px solid var(--warn-bd);
  padding: 14px 16px; border-radius: var(--radius-md); margin: 18px 0; font-size: 14px;
  line-height: 1.55;
}
.notice strong { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* ========== Card ========== */
.card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 16px 18px; margin: 12px 0;
}
.card-row { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 18px 0; }
@media (min-width: 720px) { .card-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-row.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card.feature { padding: 22px; transition: transform .2s, box-shadow .2s; }
.card.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card.feature .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 12px;
}
.card.feature .icon svg { width: 24px; height: 24px; }
.card.feature h3 { margin: 0 0 6px; font-size: 17px; }
.card.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ========== Hero ========== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 8vw, 80px) 20px clamp(48px, 10vw, 100px);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(255,87,34,.18), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(91,33,182,.18), transparent 55%),
              radial-gradient(700px 400px at 50% 110%, rgba(255,45,146,.14), transparent 60%);
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 880px) { .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.hero h1 { font-size: clamp(32px, 6.5vw, 56px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.03em; }
.hero h1 .grad {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2) 60%, var(--grad-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { font-size: clamp(16px, 2.4vw, 19px); margin-bottom: 22px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: transform .12s, box-shadow .15s, background .15s;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, var(--grad-1), var(--grad-2)); color: #fff; box-shadow: 0 8px 24px -8px rgba(255,87,34,.55); }
.btn.primary:hover { box-shadow: 0 12px 32px -8px rgba(255,87,34,.7); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--bg-elev); }
.hero-art {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #1a103a, #3d1054 50%, #6b1a3a);
  box-shadow: var(--shadow-lg);
}
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ========== Stats ========== */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 16px;
  text-align: center;
}
.stat .num { font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -.02em; color: var(--fg); }
.stat .label { font-size: 12px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ========== Sections ========== */
.section { padding: clamp(40px, 6vw, 72px) 20px; }
.section.alt { background: var(--bg-elev); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section h2 { border: none; padding: 0; font-size: clamp(24px, 4vw, 34px); letter-spacing: -.02em; margin: 0 0 8px; }
.section .sub { color: var(--muted); margin: 0 0 24px; font-size: 16px; }

/* ========== Tables (legal pages) ========== */
.t-meta { width: 100%; font-size: 14px; border-collapse: collapse; }
.t-meta td { padding: 10px 12px 10px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.t-meta td:first-child { color: var(--muted); width: 35%; }

/* ========== TOC sidebar (legal pages, desktop) ========== */
.legal-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 220px 1fr; } }
.toc { font-size: 14px; }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + 12px); align-self: start; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; } }
.toc strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--fg-soft); border-left: 2px solid transparent; }
.toc a:hover { background: var(--bg-elev); text-decoration: none; }
.toc a.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); }

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 40px 20px calc(60px + var(--safe-bottom));
  margin-top: 60px;
}
@media (max-width: 759px) { .site-footer { margin-bottom: var(--bottom-nav-h); } }
.site-footer .wrap { max-width: 1100px; margin: 0 auto; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-col h4 { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.foot-col a, .foot-col span { display: block; color: var(--fg-soft); font-size: 14px; padding: 4px 0; }
.foot-col a:hover { color: var(--accent); text-decoration: none; }
.foot-disclaimer { border-top: 1px dashed var(--line-strong); padding-top: 16px; margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.foot-disclaimer strong { display: block; color: var(--warn-fg); background: var(--warn-bg); border: 1px solid var(--warn-bd); padding: 4px 10px; border-radius: 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; display: inline-block; }
.foot-bottom { color: var(--muted-2); font-size: 12px; margin-top: 10px; }

/* ========== Animations ========== */
@keyframes float-1 { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes float-2 { 0%,100% { transform: translateY(0) } 50% { transform: translateY(8px) } }
.float-1 { animation: float-1 6s ease-in-out infinite; }
.float-2 { animation: float-2 7s ease-in-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(.8); opacity: 0 } 50% { opacity: .6 } 100% { transform: scale(1.6); opacity: 0 } }
.pulse-dot { position: absolute; border-radius: 50%; background: var(--accent); animation: pulse-ring 2.4s ease-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ========== Page hero (article pages) ========== */
.page-hero {
  margin: 0 0 28px; padding: 28px 0 8px; border-bottom: 1px solid var(--line);
}
.page-hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 14px;
}
.page-hero h1 { margin: 0 0 14px; }
.page-hero .lede { margin-bottom: 18px; color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }

/* ========== Layout with TOC (article pages) ========== */
.layout-with-toc { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1000px) {
  .layout-with-toc { grid-template-columns: 220px 1fr; }
  .layout-with-toc .toc { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 8px; }
}
.layout-with-toc .toc h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  margin: 0 0 10px;
}
.layout-with-toc .toc a {
  display: block; padding: 7px 12px; border-radius: 8px; color: var(--fg-soft); font-size: 14px;
  border-left: 2px solid transparent;
}
.layout-with-toc .toc a:hover { background: var(--bg-elev); text-decoration: none; }
.layout-with-toc .toc a.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); }
.layout-with-toc .article > section { padding: 8px 0 8px; scroll-margin-top: calc(var(--header-h) + 16px); }
.layout-with-toc .article h2 {
  margin-top: 28px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 3.4vw, 28px);
}
.layout-with-toc .article h3 { font-size: 17px; margin: 18px 0 8px; }

/* ========== Grid utility ========== */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 16px 0; }
@media (min-width: 720px) {
  .grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ========== Article tables ========== */
.ttable { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0; display: block; overflow-x: auto; }
.ttable thead th {
  text-align: left; background: var(--bg-elev); color: var(--muted);
  font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  padding: 10px 12px; border-bottom: 1px solid var(--line-strong);
}
.ttable tbody td {
  padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.ttable tbody tr:last-child td { border-bottom: none; }

/* ========== Steps (numbered) ========== */
ol.steps { list-style: none; padding: 0; counter-reset: step; margin: 18px 0; }
ol.steps > li {
  position: relative; padding: 18px 18px 18px 64px; margin: 0 0 14px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-md);
  counter-increment: step;
}
ol.steps > li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 12px -4px rgba(255,87,34,.5);
}
ol.steps > li h3 { margin: 0 0 8px; font-size: 16px; }
ol.steps > li p { margin: 0; font-size: 14px; color: var(--fg-soft); }

/* ========== Callout (article asides) ========== */
.callout {
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  padding: 14px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-size: 14px;
}
.callout.warn {
  background: var(--warn-bg); border-color: var(--warn-bd); color: var(--warn-fg);
}
.callout strong { display: block; margin-bottom: 4px; }

/* ========== Checklist ========== */
.checklist { display: grid; gap: 8px; margin: 14px 0; }
.checklist label {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 14px; cursor: pointer;
  transition: background .12s;
}
.checklist label:hover { background: var(--accent-soft); }
.checklist input[type="checkbox"] { margin-top: 3px; accent-color: var(--accent); }

/* ========== Details/summary (FAQ) ========== */
details {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; margin: 8px 0;
}
details summary {
  cursor: pointer; font-weight: 600; color: var(--fg);
  padding: 4px 0; list-style: none; position: relative; padding-right: 28px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; position: absolute; right: 4px; top: 4px;
  font-size: 20px; color: var(--muted); transition: transform .15s;
}
details[open] summary::after { content: "−"; }
details p { margin: 8px 0 0; font-size: 14px; color: var(--fg-soft); }

/* ========== End-of-page CTA block ========== */
.cta-end {
  margin: 36px 0 18px; padding: 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid var(--line);
}
.cta-end h2 { border: none; margin: 0 0 8px; padding: 0; }
.cta-end .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cta-end .btn {
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--fg);
  padding: 10px 18px; font-size: 14px;
}

