/* mungmeeapp.com: landing, privacy and terms. Same palette as the dashboard (public/styles.css). */
:root {
  --bg: #F5F7F2;
  --surface: #FFFFFF;
  --surface-2: #EEF2E8;
  --border: rgb(10 13 11 / 9%);
  --text: #0E1410;
  --text-muted: #5F6B63;
  --lime: #B4F03C;
  --ink: #0A0D0B;
  --link: #3F7A00;
  --hero-bg: #0E1410;
  --hero-text: #F2F5F0;
  --hero-muted: #9AA69E;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0D0B;
    --surface: #121815;
    --surface-2: #1A221D;
    --border: rgb(255 255 255 / 8%);
    --text: #F2F5F0;
    --text-muted: #8A968E;
    --link: #B4F03C;
    --hero-bg: #121815;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0D0B; --surface: #121815; --surface-2: #1A221D; --border: rgb(255 255 255 / 8%);
  --text: #F2F5F0; --text-muted: #8A968E; --link: #B4F03C; --hero-bg: #121815; color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Anuphan", "Plus Jakarta Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; }
.mark { width: 36px; height: 36px; border-radius: 10px; background: var(--lime); display: grid; place-items: center; flex: none; }
.mark svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 14px; font-size: 14px; }
.nav a { color: var(--text-muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

.hero { background: var(--hero-bg); color: var(--hero-text); border-radius: 24px; padding: 32px 22px; margin: 8px 0 24px; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; top: -120px; right: -90px; width: 260px; height: 260px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(180 240 60 / 28%), transparent); }
.hero h1 { margin: 0 0 8px; font-size: clamp(28px, 7vw, 40px); line-height: 1.2; letter-spacing: -0.01em; }
.hero p { margin: 0 0 20px; color: var(--hero-muted); max-width: 34em; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 700; text-decoration: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; }
.card h2, .card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.section-title { font-size: 20px; margin: 28px 0 12px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; }

/* Policy pages */
.doc { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px 18px; margin: 8px 0 24px; }
.doc h1 { font-size: 26px; line-height: 1.3; margin: 0 0 4px; }
.doc .meta { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }
.doc h2 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 15.5px; }
.doc ul { padding-left: 20px; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0; }
.table th, .table td { text-align: left; vertical-align: top; padding: 8px 6px; border-top: 1px solid var(--border); }
.table th { color: var(--text-muted); font-weight: 600; }
.scroll { overflow-x: auto; }
.note { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }

footer { color: var(--text-muted); font-size: 14px; padding: 8px 0 32px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
footer a { color: var(--text-muted); }

@media (min-width: 640px) {
  .hero { padding: 44px 36px; }
  .doc { padding: 32px 36px; }
}
.muted { color: var(--text-muted); }
code.cmd { font-family: inherit; font-weight: 600; color: var(--link); background: var(--surface-2); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.steps code.cmd { white-space: normal; }

.title-ic { width: 22px; height: 22px; vertical-align: -3px; margin-right: 8px; color: var(--text); }
