/* belomaps.com — the same paper language as the app: cream paper, black ink outlines, hard shadows. */
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --ink: #111; --cream: #fff8e7; --paper: #fdfbf7; --yellow: #ffe156;
  --coral: #ff6b6b; --blue: #89cff0; --mint: #a8f0d4; --muted: #5b564c;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.65 "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
}
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
.top nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

.card {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 22px;
  box-shadow: 5px 5px 0 var(--ink); padding: 28px;
}
.hero { text-align: center; padding: 36px 24px 32px; margin-top: 8px; }
.hero img { width: 148px; height: 148px; }
.hero h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.2; margin: 18px 0 10px; font-weight: 800; }
.hero p { margin: 0 auto; max-width: 520px; color: var(--muted); }
.badge {
  display: inline-block; margin-top: 20px; padding: 10px 18px; font-weight: 800; font-size: 15px;
  background: var(--yellow); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink);
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 28px 0; }
.feature { border: 3px solid var(--ink); border-radius: 18px; padding: 18px; box-shadow: 4px 4px 0 var(--ink); }
.feature h2 { font-size: 18px; margin: 0 0 6px; font-weight: 800; }
.feature p { margin: 0; font-size: 15px; }
.f1 { background: var(--yellow); } .f2 { background: var(--blue); } .f3 { background: var(--mint); } .f4 { background: #ffd3d3; }

.doc h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.25; margin: 0 0 4px; font-weight: 800; }
.doc .date { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; font-weight: 800; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; border: 2px solid var(--ink); padding: 8px 10px; }
.doc th { background: var(--yellow); }
.table-scroll { overflow-x: auto; }

footer { text-align: center; font-size: 14px; color: var(--muted); padding: 28px 0 40px; }
footer a { margin: 0 8px; }

@media (max-width: 520px) {
  .card { padding: 20px; box-shadow: 4px 4px 0 var(--ink); }
  .top { flex-direction: column; align-items: flex-start; }
}
