:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #16202e;
  --muted: #566274;
  --line: #d9dee7;
  --navy: #1e3a5f;
  --accent: #5b5fd6;
  --accent-2: #764ba2;
  --band: #eef1f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1520;
    --surface: #161e2b;
    --text: #e6eaf1;
    --muted: #9aa6b8;
    --line: #2a3546;
    --navy: #9dbbe3;
    --accent: #8f93ff;
    --accent-2: #b48be0;
    --band: #131b27;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang="en"] .id, html[lang="id"] .en { display: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, system-ui, sans-serif;
}
h1, h2, h3, h4 { font-family: Poppins, Inter, sans-serif; line-height: 1.25; margin: 0 0 .6em; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.logo { background: #1e3a5f; color: #fff; font: 700 12px Poppins, sans-serif; padding: 6px 7px; border-radius: 8px; letter-spacing: .5px; }
nav { display: flex; align-items: center; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }
#lang { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px; padding: 4px 10px; font: 600 13px Inter, sans-serif; cursor: pointer; }

.hero { padding: 88px 0 72px; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(30px, 5vw, 50px); max-width: 860px; }
.lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 760px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; text-decoration: none; padding: 12px 20px; border-radius: 10px; font-weight: 600; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

section h2 { font-size: clamp(24px, 3.4vw, 32px); margin-top: 8px; }
#work { padding: 24px 16px 72px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.case h3 { font-size: 20px; }
.case p { margin: 0 0 12px; }
.tag { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.stack-line { color: var(--muted); font-size: 14px; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 14px !important; }
.note { color: var(--muted); font-size: 13px; font-style: italic; }
.points { margin: 0 0 4px; padding-left: 20px; }
.points li { margin-bottom: 6px; }

.featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: center; margin-bottom: 20px; }
.featured h3 { font-size: 24px; }
.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { color: var(--muted); font-size: 13px; text-align: center; }
.box { fill: var(--band); stroke: var(--line); stroke-width: 1.5; }
.box.accent { stroke: var(--accent); }
.t { fill: var(--text); text-anchor: middle; font-family: Inter, sans-serif; }
.t.b { font-size: 13px; font-weight: 600; }
.t.s { font-size: 11px; fill: var(--muted); }
.ln { stroke: var(--muted); stroke-width: 1.5; fill: none; }
.fill-line { fill: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.chips div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.chips h4 { font-size: 15px; margin-bottom: 4px; }
.chips p { margin: 0; color: var(--muted); font-size: 14px; }

.contact { padding: 64px 16px; text-align: center; }
.contact p { color: var(--muted); max-width: 640px; margin: 0 auto 22px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.foot a { color: var(--muted); }

@media (max-width: 820px) {
  .featured, .grid { grid-template-columns: 1fr; }
  nav { gap: 12px; }
  nav a { font-size: 14px; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 420px) {
  .brand span:last-child { display: none; }
}
