/* Gerak Luu, temporary static site (gerakluu.com).
   Brand tokens: documents/05-brand/brand.v1.LATEST.md. No JavaScript, no
   third-party requests: fonts are self-hosted (OFL, see assets/fonts). */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --lime: #D8FF3E;
  --lime-press: #C4EB2A;
  --ink: #0B0F14;
  --mark: #111827;

  /* light (brand "token cerah") */
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --raised: #EEF0F3;
  --line: #E2E5EA;
  --text: #0B0F14;
  --text-2: #5B6472;
  --accent: #5C7300;
  --pill: rgba(92, 115, 0, 0.12);
  --shadow: 0 1px 2px rgba(11, 15, 20, 0.04), 0 8px 24px rgba(11, 15, 20, 0.06);

  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1120px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0F14;
    --surface: #151A21;
    --raised: #1C222B;
    --line: #2A313C;
    --text: #FFFFFF;
    --text-2: #9AA3B0;
    --accent: #D8FF3E;
    --pill: rgba(216, 255, 62, 0.14);
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; z-index: 10;
}
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-family: var(--font-head); font-weight: 800; letter-spacing: 0.02em; font-size: 1.05rem; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center;
}
.nav a:hover { background: var(--raised); }
.nav a[aria-current="page"] { background: var(--pill); color: var(--accent); }
.nav .lang {
  border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em; padding: 8px 12px;
}
@media (max-width: 560px) {
  .site-header .wrap { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand span { font-size: 0.92rem; }
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 0.88rem; }
  .nav .lang { margin-left: 4px; padding: 6px 10px; }
}
@media (max-width: 340px) {
  .brand span { display: none; }
}

/* ---------- hero (landing) ---------- */
.hero { padding: 20px 0 8px; }
.hero-card {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #1A2410 0%, #0B0F14 55%) #0B0F14;
  color: #FFFFFF; border-radius: var(--radius-lg);
  padding: 44px 24px 0;
  display: grid; gap: 36px;
}
@media (prefers-color-scheme: dark) { .hero-card { border: 1px solid #1C222B; } }
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--lime); background: rgba(216, 255, 62, 0.12); border: 1px solid rgba(216, 255, 62, 0.25);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.hero h1 { font-size: clamp(2.4rem, 8.5vw, 4.4rem); font-weight: 800; margin: 20px 0 16px; }
.hero h1 .lime { color: var(--lime); display: block; }
.hero p.lead { color: #C9D0DA; font-size: 1.15rem; max-width: 34rem; margin: 0 0 28px; }
.soon {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--lime); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  padding: 14px 22px; border-radius: 16px;
}
.soon svg { width: 22px; height: 22px; }
.hero-note { color: #9AA3B0; font-size: 0.92rem; margin: 14px 0 0; }

.phone-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 560;
  border-radius: 40px 40px 0 0; border: 8px solid #222934; border-bottom: 0;
  background: #0E141B; overflow: hidden;
  box-shadow: 0 -20px 80px rgba(216, 255, 62, 0.12);
}
.phone .map { position: absolute; inset: 0; width: 100%; height: 100%; }
.ui-turn {
  position: absolute; top: 34px; left: 12px; right: 12px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(11, 15, 20, 0.86); border: 1px solid #2A313C; border-radius: 18px; padding: 12px 14px;
}
.ui-turn svg { width: 30px; height: 30px; flex: none; }
.ui-turn b { font-family: var(--font-head); font-size: 1.35rem; display: block; line-height: 1.1; }
.ui-turn small { color: #C9D0DA; font-size: 0.8rem; }
.ui-speed {
  position: absolute; top: 112px; right: 14px; width: 54px; height: 54px; border-radius: 50%;
  background: #FFFFFF; color: var(--ink); border: 5px solid #EF4444;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
}
.ui-eta {
  position: absolute; left: 12px; right: 12px; bottom: 14px;
  background: rgba(11, 15, 20, 0.88); border: 1px solid #2A313C; border-radius: 18px; padding: 12px 16px;
}
.ui-eta b { font-family: var(--font-head); color: var(--lime); font-size: 1.35rem; }
.ui-eta span { color: #C9D0DA; font-size: 0.82rem; margin-left: 6px; }
.ui-eta .bar { height: 4px; border-radius: 2px; background: #2A313C; margin-top: 8px; overflow: hidden; }
.ui-eta .bar i { display: block; width: 38%; height: 100%; background: var(--lime); }

@media (min-width: 880px) {
  .hero-card { grid-template-columns: 1.15fr 1fr; padding: 64px 56px 0; align-items: end; }
  .hero-copy { padding-bottom: 64px; }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section + .section { padding-top: 16px; }
.section-head { max-width: 40rem; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 700; }
.section-head p { color: var(--text-2); margin: 12px 0 0; }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.12rem; font-weight: 700; margin: 14px 0 6px; }
.card p { color: var(--text-2); margin: 0; font-size: 0.98rem; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--pill); color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }

.band {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 24px; display: grid; gap: 20px; box-shadow: var(--shadow);
}
.band h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.band p { color: var(--text-2); margin: 8px 0 0; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.band li { display: flex; gap: 10px; align-items: flex-start; }
.band li svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 4px; }
@media (min-width: 880px) { .band { grid-template-columns: 1fr 1fr; padding: 44px; align-items: center; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px;
  border-radius: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line); color: var(--text); background: var(--surface);
}
.btn:hover { background: var(--raised); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- documents (privacy, support, terms) ---------- */
.doc { padding: 40px 0 72px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; }
.doc .meta { color: var(--text-2); margin: 10px 0 28px; font-size: 0.95rem; }
.doc h2 {
  font-size: 1.35rem; font-weight: 700; margin: 44px 0 12px; padding-top: 8px;
  scroll-margin-top: 16px;
}
.doc h3 { font-size: 1.06rem; font-weight: 700; margin: 26px 0 8px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--accent); }
.doc strong { font-weight: 650; }

.summary {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--lime);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow);
}
.summary h2 { margin: 0 0 8px; font-size: 1.1rem; padding: 0; }
.summary ul { margin: 0; }

.toc {
  margin: 24px 0 8px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--raised);
}
.toc h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin: 0 0 8px; padding: 0; }
.toc ol { margin: 0; columns: 2 240px; column-gap: 28px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-head); font-weight: 600; background: var(--raised); }
tr:last-child td { border-bottom: 0; }

.callout {
  background: var(--pill); border-radius: 14px; padding: 14px 18px; margin: 16px 0;
}
.callout p { margin: 0; }

.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 12px 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
}

details.faq {
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin: 10px 0; padding: 0 18px;
}
details.faq summary {
  cursor: pointer; font-weight: 600; padding: 14px 0; list-style-position: outside;
}
details.faq[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 4px; }
details.faq p { margin: 10px 0 14px; color: var(--text-2); }

.ph { background: rgba(245, 158, 11, 0.18); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--text-2); font-size: 0.92rem; }
.site-footer .wrap { display: grid; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- 404 ---------- */
.notfound { padding: 96px 0; text-align: center; }
.notfound h1 { font-size: clamp(3rem, 12vw, 6rem); color: var(--accent); font-weight: 800; }
.notfound p { color: var(--text-2); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
