:root {
  --bg: #000;
  --tile: #161617;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --line: #2c2c2e;
  --nav: rgba(0, 0, 0, .72);
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2997ff; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, td { text-wrap: pretty; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 52px; font-size: 14px; }
.nav .brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.lang { margin-left: auto; display: flex; gap: 2px; }
.lang button { border: 0; background: none; cursor: pointer; padding: 4px 8px; border-radius: 6px; font: inherit; color: var(--muted); }
.lang button[aria-pressed="true"] { color: var(--text); font-weight: 600; }

/* buttons */
.pill {
  display: inline-block; text-decoration: none; border-radius: 980px;
  background: #fff; color: #000; font-weight: 600; padding: 14px 28px; font-size: 17px;
  transition: transform .15s ease;
}
.pill:hover { transform: scale(1.03); }
.pill-sm { padding: 5px 14px; font-size: 13px; }

/* hero */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .6) 62%, #000 100%);
}
.hero-text { position: relative; z-index: 1; text-align: center; padding: 0 0 72px; }
.hero .icon { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); max-width: 10em; margin: 0 auto; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero p { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #e8e8ed; margin: 18px auto 30px; max-width: 30em; }
.hero small { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; }

/* feature sections */
.feature { padding: 120px 0 0; display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; }
.feature.flip { grid-template-columns: 1.35fr 1fr; }
.feature.flip > div { order: 2; }
.feature h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.feature p { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); margin-top: 16px; }
.feature img { border-radius: 24px; width: 100%; }

/* bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 120px; }
.tile { position: relative; border-radius: 28px; overflow: hidden; background: var(--tile); min-height: 360px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .cap {
  position: relative; z-index: 1; padding: 32px 32px 80px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
}
.tile h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.tile .cap p { color: #d2d2d7; margin-top: 8px; font-size: 1.05rem; }
.tile.wide { grid-column: span 2; min-height: 400px; }
.tile.text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 28px; padding: 40px; }
.tile.text div b { display: block; font: 400 clamp(4rem, 9vw, 6.5rem)/1 var(--display); }
.tile.text div span { color: var(--muted); font-size: 1.1rem; }

/* closing */
.closing { text-align: center; padding: 140px 0 120px; }
.closing img { width: 110px; height: 110px; border-radius: 26px; margin: 0 auto 26px; }
.closing h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.closing p { color: var(--muted); font-size: 1.25rem; margin: 16px auto 32px; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 190px; padding: 10px 22px 11px;
  border-radius: 14px; border: 1px solid #3a3a3c; color: var(--text); text-decoration: none; text-align: left;
  transition: transform .15s ease;
}
.store small { font-size: 12px; color: var(--muted); }
.store b { font-size: 21px; font-weight: 600; line-height: 1.2; }
.store.live { background: #fff; border-color: #fff; color: #000; }
.store.live small { color: #48484a; }
.store.live:hover { transform: scale(1.03); }
.store.soon { opacity: .55; cursor: default; }

footer { border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer span { margin-right: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* reveal (only when JS runs) */
.js .rv { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* privacy */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); }
.legal .meta { color: var(--muted); margin: 10px 0 32px; }
.legal h2 { font: 600 1.25rem/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; margin: 34px 0 8px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 1.2em; margin: 8px 0; }
.legal li { margin: 4px 0; }
.legal p, .legal li, .legal td { color: #d2d2d7; }
.legal .summary { background: var(--tile); border-radius: 18px; padding: 20px 24px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; color: var(--text); }
.table-scroll { overflow-x: auto; }
[data-only] { display: none; }
html[lang="en"] [data-only="en"], html[lang="id"] [data-only="id"] { display: revert; }

@media (max-width: 734px) {
  body { font-size: 16px; }
  .nav .pill-sm { display: none; }
  .hero { min-height: 82vh; }
  .hero-text { padding-bottom: 48px; }
  .hero .icon { width: 68px; height: 68px; border-radius: 16px; }
  .feature, .feature.flip { padding-top: 80px; grid-template-columns: 1fr; gap: 28px; }
  .feature.flip > div { order: 0; }
  .feature img { border-radius: 18px; }
  .bento { grid-template-columns: 1fr; padding-top: 88px; gap: 14px; }
  .tile, .tile.wide { grid-column: auto; min-height: 300px; border-radius: 20px; }
  .tile .cap { padding: 24px 24px 64px; }
  .closing { padding: 100px 0 88px; }
  .stores { flex-direction: column; align-items: center; }
  /* tabel privasi jadi kartu bertumpuk */
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal tr:first-child { display: none; }
  .legal tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .legal td { border: 0; padding: 2px 0; }
  .legal td:first-child { color: var(--text); font-weight: 600; padding-bottom: 6px; }
  .legal td:nth-child(n+2)::before { color: var(--muted); }
  html[lang="en"] .legal td:nth-child(2)::before { content: "Why: "; }
  html[lang="en"] .legal td:nth-child(3)::before { content: "Who sees it: "; }
  html[lang="id"] .legal td:nth-child(2)::before { content: "Untuk apa: "; }
  html[lang="id"] .legal td:nth-child(3)::before { content: "Dibagikan ke: "; }
  .store { width: 100%; max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .pill { transition: none; }
}
