/* Greelz public site — minimal deliverability landing */
:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --text: #e8eef5;
  --muted: #8b9bb0;
  --accent: #3d9a6e;
  --border: #2e3f52;
  --maxw: 44rem;
  --font: "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.wrap {
  max-width: calc(var(--maxw) + 2rem);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand a {
  color: var(--text);
}

.brand a:hover {
  color: var(--accent);
}

nav.top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

nav.top ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.9rem;
}

nav.top a {
  color: var(--muted);
}

nav.top a:hover {
  color: var(--accent);
}

main {
  padding: 2rem 0 4rem;
}

main .wrap {
  max-width: var(--maxw);
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}

p,
li {
  color: var(--muted);
}

p.intro {
  color: var(--text);
  font-size: 1.05rem;
}

ul.plain li {
  margin-bottom: 0.35rem;
}

.meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: rgba(61, 154, 110, 0.08);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  margin: 1.25rem 0;
}

footer.site {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: auto;
  padding: 1.5rem 0;
}

footer.site .footgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
}

footer.site .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}

footer.site .links a {
  color: var(--muted);
}

@media (max-width: 520px) {
  html {
    font-size: 16px;
  }
}
