/* GOA website: colours are the app's Material theme tokens (app/src/main/java/com/goa/ui/theme/Color.kt) */
:root {
  --primary: #c0533a;
  --on-primary: #ffffff;
  --secondary: #e8845a;
  --accent: #5c8a3c;
  --bg: #fdf6f0;
  --surface: #ffffff;
  --surface-variant: #f4e8df;
  --text: #2d2320;
  --text-muted: #584c47;
  --outline: #d8c7c0;
  --dos-bg: #1a1412;
  --dos-text: #e8845a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #ffb4a1;
    --on-primary: #5a1b0b;
    --secondary: #ffb598;
    --accent: #a1d780;
    --bg: #1a1412;
    --surface: #221a18;
    --surface-variant: #352b27;
    --text: #f7ede7;
    --text-muted: #d8c7c0;
    --outline: #453833;
    --dos-bg: #0d0a09;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--primary); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--outline);
  background: var(--surface);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand svg { width: 92px; height: 32px; }
.brand span { font-size: 14px; color: var(--text-muted); }
nav.site a { margin-left: 18px; text-decoration: none; font-weight: 600; color: var(--text-muted); }
nav.site a:first-child { margin-left: 0; }
nav.site a[aria-current="page"], nav.site a:hover { color: var(--primary); }

main { padding: 40px 0 64px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 20px; margin: 36px 0 8px; }
.updated { color: var(--text-muted); font-size: 15px; margin: 0 0 28px; }
.lede { font-size: 20px; color: var(--text-muted); margin: 0 0 28px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.hero { padding: 24px 0 8px; }
.cta {
  display: inline-block; background: var(--primary); color: var(--on-primary);
  padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.cta.secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); margin-left: 8px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 32px 0; }
.card {
  background: var(--surface-variant); border-radius: 16px; padding: 18px 20px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }

.dos {
  background: var(--dos-bg); color: var(--dos-text); border-radius: 12px;
  font: 15px/1.5 ui-monospace, "Cascadia Mono", Menlo, monospace;
  padding: 16px 18px; overflow-x: auto; margin: 24px 0;
}
.dos .ok { color: #a1d780; }

footer.site { border-top: 1px solid var(--outline); color: var(--text-muted); font-size: 14px; }
footer.site .wrap { padding: 24px 20px 40px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--text-muted); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  nav.site a { margin-left: 12px; }
  .cta.secondary { margin: 10px 0 0; }
}
