:root {
  --bg: #f6f9f8; --card: #ffffff; --text: #13221f; --muted-t: #51655f; --line: #dbe6e2;
  --accent: #0f766e; --accent-2: #0b5d57; --accent-soft: #e0f2ee; --on-accent: #fff; --shadow: 0 12px 32px -20px rgba(15, 60, 55, .45);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1311; --card: #121e1c; --text: #e6efed; --muted-t: #9bb0aa; --line: #223634; --accent: #2dd4bf; --accent-2: #14b8a6; --accent-soft: #12332f; --on-accent: #04302b; --shadow: 0 12px 32px -20px rgba(0, 0, 0, .7); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; text-decoration: none; border: 1px solid var(--accent); cursor: pointer; transition: background .2s, transform .15s; }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn.small { padding: 8px 18px; }
.push { margin-left: auto; }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 80; display: flex; align-items: center; gap: 14px; padding: 10px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; min-width: 0; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand img { border-radius: 8px; flex: none; }
.inline-nav { display: none; gap: 2px; margin-left: 18px; }
.inline-nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted-t); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.inline-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.burger { display: block; position: relative; z-index: 80; flex: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 0; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu { position: fixed; z-index: 70; top: 0; bottom: 0; left: 0; width: min(300px, 84vw); display: flex; flex-direction: column; gap: 2px; padding: 76px 12px 20px; overflow-y: auto; background: var(--card); box-shadow: 0 0 40px rgba(0, 0, 0, .35); transform: translateX(-105%); visibility: hidden; transition: transform .28s ease, visibility .28s; }
.menu.open { transform: none; visibility: visible; }
.menu a { padding: 12px 14px; border-radius: 10px; color: var(--muted-t); text-decoration: none; font-weight: 500; }
.menu a:hover { color: var(--text); background: var(--accent-soft); }
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .45); }
body.no-scroll { overflow: hidden; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 60px); align-items: center; max-width: 1180px; margin: 0 auto; padding: 108px clamp(16px, 5vw, 48px) 64px; }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; }
.lead { margin: 18px 0 26px; color: var(--muted-t); font-size: clamp(16px, 1.6vw, 18px); max-width: 58ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-t); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.hero-media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--accent-soft), var(--card)); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-weight: 600; font-size: 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.hero-fallback img { border-radius: 22px; opacity: .9; }

/* seksi */
.sec { padding: clamp(48px, 7vw, 84px) clamp(16px, 5vw, 48px); max-width: 1180px; margin: 0 auto; }
.sec.alt { max-width: none; background: color-mix(in srgb, var(--accent-soft) 50%, var(--bg)); border-block: 1px solid var(--line); }
.sec.alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 34px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); }
.sec-head p:not(.kicker) { color: var(--muted-t); margin-top: 10px; }
.profile-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.profile-grid article { padding: 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.profile-grid h3 { margin-bottom: 8px; color: var(--accent); font-size: 17px; }
.profile-grid p { color: var(--muted-t); }
.profile-grid ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted-t); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.fcard { padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.fcard h3 { font-size: 17px; margin-bottom: 6px; }
.fcard p { color: var(--muted-t); font-size: 14.5px; }
.fcard img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.fcard .ph, .slide .ph { display: none; }

/* carousel */
.carousel { position: relative; max-width: 1100px; margin: 0 auto; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; scrollbar-width: thin; }
.slide { flex: 0 0 min(310px, 82%); scroll-snap-align: start; border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.slide img { width: 100%; height: 176px; object-fit: cover; background: var(--accent-soft); }
.slide .sb { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.slide small { color: var(--accent); font-weight: 600; }
.slide h3 { font-size: 17px; }
.slide p { color: var(--muted-t); font-size: 14.5px; }
.slide .btn { justify-self: start; margin-top: 4px; }
.carousel .nav { position: absolute; top: 80px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.carousel .prev { left: -10px; } .carousel .next { right: -10px; }
.news-dlg { max-width: min(680px, 94vw); border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--text); padding: 22px; }
.news-dlg::backdrop { background: rgba(0, 0, 0, .55); }
.news-dlg img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 10px; }
.news-dlg article { display: grid; gap: 10px; }
.muted { color: var(--muted-t); }

/* layanan */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role { padding: 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.role h3 { font-size: 19px; margin-bottom: 12px; }
.role ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.role li { padding-left: 22px; position: relative; color: var(--muted-t); font-size: 15px; }
.role li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.trans { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 20px 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.trans h3 { font-size: 18px; margin-bottom: 4px; }
.trans p { color: var(--muted-t); font-size: 14.5px; max-width: 60ch; }

/* footer */
.foot { background: var(--card); border-top: 1px solid var(--line); padding: 44px clamp(16px, 5vw, 48px) 20px; color: var(--muted-t); font-size: 14.5px; }
.foot-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1.4fr 1fr 1fr; gap: 28px; }
.foot h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 12px; }
.foot-id .brand { margin-bottom: 10px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.clist .k { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.clist a { text-decoration: none; }
.clist a:hover { text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.soc { padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-size: 13.5px; color: var(--text); }
.soc:hover { border-color: var(--accent); color: var(--accent); }
.foot-bar { max-width: 1100px; margin: 28px auto 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; }
.powered b { letter-spacing: .06em; }

@media (min-width: 1000px) { .inline-nav { display: flex; } }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 92px; }
  .hero-media { order: -1; aspect-ratio: 16 / 9; }
  .roles { grid-template-columns: 1fr; }
  .trans { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .brand span { white-space: normal; font-size: 13.5px; line-height: 1.2; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.app-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.app-card h3 { margin: 0; }
.app-card .muted { flex: 1; margin: 0; }
.app-id { margin-top: 14px; }

.app-act { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.app-card .app-id { margin: 0; font-size: .8rem; }
