@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --surface: #fffdf9;
  --ink: #1f1a16;
  --muted: #554c43;
  --line: #e2dbcf;
  --sogan: #7a4a1e;
  --kunyit: #d99a00;
  --kunyit-soft: #f6e3b0;
  --on-ink: #f7f4ee;
  --sanakku: #a8442a;
  --temu: #a12d63;
  --toko: #0d6f54;
  --laundry: #1c65a3;
  --sanakku-soft: #f5e2da;
  --temu-soft: #f5dfe9;
  --toko-soft: #dcefe7;
  --laundry-soft: #dfeaf5;
  --radius: 12px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16120f;
    --paper-2: #1d1814;
    --surface: #211b17;
    --ink: #efe8df;
    --muted: #ddd3c6;
    --line: #362d26;
    --sogan: #ebb68b;
    --kunyit: #f0b928;
    --kunyit-soft: #4a3a12;
    --on-ink: #16120f;
    --sanakku: #f5ad94;
    --temu: #f3a3c8;
    --toko: #6fd0ab;
    --laundry: #86bcef;
    --sanakku-soft: #3a241c;
    --temu-soft: #3a1f2c;
    --toko-soft: #17332a;
    --laundry-soft: #1b2b3b;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sogan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--kunyit); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0 0 1em; }

/* Language switching: English is the no-JS default. */
[data-l="id"] { display: none; }
html[lang="id"] [data-l="en"] { display: none; }
html[lang="id"] [data-l="id"] { display: revert; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.logo svg { width: 28px; height: 28px; }
.lg-bg { fill: var(--ink); }
.lg-ln { stroke: var(--paper); }
.lg-dot { fill: var(--kunyit); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.lang button {
  font: inherit; font-size: 13px; font-weight: 700; border: 0; background: transparent; color: var(--muted);
  padding: 4px 9px; border-radius: 6px; cursor: pointer; min-height: 32px;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.lang button:active { transform: scale(.96); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
}

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 22px; }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--kunyit-soft) 62%); color: inherit; padding: 0 .04em; }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 33em; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 12px 18px; border-radius: 10px; min-height: 48px; background: var(--ink); color: var(--on-ink);
  transition: transform 120ms var(--ease), background-color 160ms var(--ease);
}
.btn:hover { background: color-mix(in srgb, var(--ink) 86%, var(--sogan)); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 18px; height: 18px; }
.text-link { font-weight: 650; }

/* Status board */
.board { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 22px 16px; }
.board-title { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.board table { width: 100%; border-collapse: collapse; font-size: 15px; }
.board th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.board th.stage-h { text-align: right; }
.board td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.board tr:last-child td { border-bottom: 0; }
.board .app { font-weight: 700; }
.board .app small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.pips { display: flex; gap: 4px; justify-content: flex-end; }
.pips i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }
.pips i.on { background: var(--ink); }
.stage { display: block; text-align: right; font-size: 13px; font-weight: 650; margin-top: 5px; }
.board-note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }

@media (max-width: 880px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Sections */
section { scroll-margin-top: 64px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Products */
#products { padding: 48px 0 72px; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 820px) { .products { grid-template-columns: 1fr; } }
.card {
  --c: var(--ink); --cs: var(--paper-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; scroll-margin-top: 80px;
}
.card.sanakku { --c: var(--sanakku); --cs: var(--sanakku-soft); }
.card.temu { --c: var(--temu); --cs: var(--temu-soft); }
.card.toko { --c: var(--toko); --cs: var(--toko-soft); }
.card.laundry { --c: var(--laundry); --cs: var(--laundry-soft); }
.card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cs); color: var(--c); display: grid; place-items: center; flex: none; }
.icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.card .kind { font-size: 14px; color: var(--muted); font-weight: 600; }
.card > p { color: var(--muted); }
.features { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.features li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; }
.features li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--c); }
.features li.next { color: var(--muted); }
.features li.next::before { background: transparent; border: 1.5px dashed var(--muted); }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.card-foot .status { font-weight: 700; color: var(--c); }
.card-foot .meta { color: var(--muted); }

/* AI roadmap */
#ai { padding: 0 0 72px; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-col { --c: var(--ink); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 22px 24px; }
.ai-col.toko { --c: var(--toko); }
.ai-col.laundry { --c: var(--laundry); }
.ai-col h3 { font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--c); margin-bottom: 12px; }
.ai-item + .ai-item { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ai-item h4 { font-size: 18px; font-weight: 750; margin: 0 0 4px; letter-spacing: -0.01em; }
.ai-item p { color: var(--muted); font-size: 15.5px; margin: 0; }
.ai-rule { margin: 18px 0 0; max-width: 46em; font-size: 16px; font-weight: 600; }

/* Habits */
.alt { background: var(--paper-2); border-block: 1px solid var(--line); }
#approach { padding: 64px 0; }
.habits { list-style: none; padding: 0; margin: 0; counter-reset: h; border-top: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.habits li { counter-increment: h; display: grid; grid-template-columns: 64px minmax(180px, 1fr) 2fr; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.habits li::before { content: counter(h, decimal-leading-zero); font-weight: 800; font-size: 15px; color: var(--sogan); font-variant-numeric: tabular-nums; }
.habits h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.015em; margin: 0; }
.habits p { color: var(--muted); margin: 0; }
@media (max-width: 720px) { .habits li { grid-template-columns: 44px 1fr; } .habits p { grid-column: 2; } }

/* About */
#about { padding: 80px 0 56px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 24px; } }
.facts { border-top: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); margin: 0; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* Contact */
#contact { padding: 16px 0 24px; }
.contact { border-top: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; }
.contact h2 { font-size: 15px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact p { margin: 0; color: var(--muted); max-width: 30em; }
.contact .big { font-size: clamp(26px, 4.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); text-decoration-color: var(--kunyit); text-decoration-thickness: 3px; text-underline-offset: 6px; word-break: break-word; }
.contact .big:hover { color: var(--sogan); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14.5px; margin-top: 56px; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* Legal / document pages */
.doc { padding: 48px 0 24px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.doc h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-top: 2em; scroll-margin-top: 80px; }
.doc h3 { font-size: 18px; font-weight: 750; margin-top: 1.4em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: .45em; }
.doc .note { border-left: 0; background: var(--paper-2); border-radius: 10px; padding: 14px 18px; font-size: 15.5px; margin: 0 0 24px; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; margin: 0 !important; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-weight: 800; color: var(--sogan); font-variant-numeric: tabular-nums; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font-size: 96px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--sogan); }
.hero h1 .pn { margin-left: -0.12em; }
