/* Sepekan — situs. Warna & huruf sama dengan aplikasi (src/ui/theme). */
@font-face { font-family: 'Newsreader'; src: url('fonts/Newsreader_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('fonts/Newsreader_400Regular_Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/PlusJakartaSans_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/PlusJakartaSans_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --ground: #F5EDE0;
  --ground-top: #FAF4EA;
  --surface: #FCF8F1;
  --line: rgba(120, 98, 76, 0.16);
  --ink: #2E271F;
  --ink-2: #6B5C4C;
  --ink-3: #746452;
  --accent: #8A5A28;
  --accent-ink: #7A4F20;
  --accent-wash: rgba(138, 90, 40, 0.12);
  --olive: #5C6247;
  --past: rgba(120, 98, 76, 0.34);
  --future: rgba(120, 98, 76, 0.13);
  --on-accent: #FFFCF6;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1F1B16;
    --ground-top: #26211B;
    --surface: #2B251F;
    --line: rgba(236, 224, 204, 0.12);
    --ink: #F1E9DC;
    --ink-2: #C9BBA6;
    --ink-3: #B3A48F;
    --accent: #D39A5C;
    --accent-ink: #E0AE76;
    --accent-wash: rgba(211, 154, 92, 0.14);
    --olive: #8C9670;
    --past: rgba(236, 224, 204, 0.26);
    --future: rgba(236, 224, 204, 0.09);
    --on-accent: #1F1B16;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--ground-top), var(--ground) 40rem);
  background-color: var(--ground);
  color: var(--ink);
  font: 500 17px/1.6 var(--sans);
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }

.wrap { max-width: 68rem; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 42rem; }

header.top { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font: 500 22px/1 var(--serif); color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav a { font-weight: 700; font-size: 15px; text-decoration: none; margin-left: 12px; padding-inline: 8px; }
/* area sentuh nyaman untuk tautan yang berdiri sendiri (nav, footer, merek) */
nav a, footer a, .brand { display: inline-flex; align-items: center; min-height: 44px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 34rem; }
.eyebrow { font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 40px 72px; }
.hero .copy { display: grid; gap: 22px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }

/* peta hidup */
.map { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: 0 18px 50px -24px rgba(46, 39, 31, 0.35); }
.map canvas { display: block; width: 100%; height: auto; }
.map-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.map-head strong { font: 500 1.9rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.map-form { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
.map-form input { width: 11.5rem; max-width: 100%; font: 700 16px var(--sans); color: var(--ink); background: var(--ground-top); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 44px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

a.cta {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 26px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 12px 30px -14px rgba(46, 39, 31, 0.6);
}
.catatan { font-size: 14px; color: var(--ink-3); max-width: 30rem; }

section { padding-block: 64px; }
section + section { border-top: 1px solid var(--line); }

.rhythm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.beat { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.beat .when { font: 700 13px/1 var(--sans); color: var(--accent-ink); }
.beat ul { margin: 4px 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: 16px; }
.beat li + li { margin-top: 4px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; margin-top: 32px; }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.feature .mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-wash); display: grid; place-items: center; }
.feature .mark span { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.feature .mark.olive span { background: var(--olive); }
.feature p { color: var(--ink-2); font-size: 16px; margin-top: 4px; }

.quote { font: italic 400 clamp(1.5rem, 3vw, 2.1rem)/1.3 var(--serif); max-width: 40rem; }
.quote + p { color: var(--ink-3); margin-top: 14px; }

.privacy { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.facts { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.facts b { display: block; }
.facts span { color: var(--ink-2); font-size: 16px; }

footer { padding-block: 36px 48px; color: var(--ink-3); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); }

/* halaman teks (privasi) */
.doc { padding-block: 24px 72px; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.45rem; margin-top: 40px; margin-bottom: 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2rem; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 12px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; }
.callout { background: var(--accent-wash); border-radius: 18px; padding: 18px 20px; color: var(--ink); margin-top: 18px; }

@media (max-width: 860px) {
  .hero, .privacy { grid-template-columns: 1fr; gap: 32px; }
  .rhythm { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  section { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Pengganti style inline (CSP `style-src 'self'` memblokir atribut style) — dipasang
   waktu sepekan.app dipasang di VPS 2026-09-20. Jangan balik ke style="..." di HTML. */
.legend i.k-isi { background: var(--olive); }
.legend i.k-lewat { background: var(--past); }
.legend i.k-kini { background: var(--accent); }
.legend i.k-depan { background: var(--future); }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
