/* luadch-ng site - matches the navy + black + white logo aesthetic.
   No animations, no gradients, single accent colour. */

:root {
  --navy:   #1a2b6b;
  --text:   #1a1a1a;
  --muted:  #555;
  --bg:     #ffffff;
  --code-bg:#f4f4f4;
  --border: #e2e2e2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { text-decoration: none; }

header {
  text-align: center;
  margin-bottom: 3rem;
}
header img { display: block; margin: 0 auto; max-width: 160px; height: auto; }
header h1 {
  font-size: 1.75rem;
  margin-top: 1rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}
header .tagline {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 1.05rem;
}
header .badges {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
header .badges a { display: inline-flex; }

main section { margin-bottom: 2.5rem; }

main h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
  font-weight: 600;
}

main p { margin-bottom: 0.75rem; }

main ul {
  list-style: disc;
  padding-left: 1.4rem;
}
main li { margin-bottom: 0.4rem; }

pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  padding: 0.9rem 1rem;
  overflow-x: auto;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}
p code, li code {
  background: var(--code-bg);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}
pre code { background: transparent; padding: 0; font-size: inherit; }

footer {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 480px) {
  body { padding: 1.5rem 1rem 3rem; }
  header img { max-width: 120px; }
  header h1 { font-size: 1.5rem; }
}
