/* Layout for the static pages. Colors, type and buttons come from /assets/site.css (the Nedura brand
   package, vendored by scripts/import_brand.py); this file only places things. */
@import url('/assets/site.css');

header, main, footer {
  max-width: 64rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--nedura-border);
}

/* Horizontal logo: at least 144 CSS px wide (brand guidelines). */
.logo { display: inline-flex; padding: .5rem 0; }
.logo img { display: block; width: 160px; height: auto; }

nav { display: flex; gap: 1.25rem; }
nav a { font-weight: 600; }

main { padding-top: 3rem; padding-bottom: 4rem; }

h1 { margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 3rem; }
p, li { max-width: 46rem; }

.lead { font-size: 1.2rem; color: var(--nedura-text-muted); }

.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.button--secondary { background: transparent; color: var(--nedura-link); border-color: var(--nedura-link); }
.button--secondary:hover { background: var(--nedura-surface); color: var(--nedura-link); border-color: var(--nedura-link); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.card { border-radius: .75rem; padding: 1.25rem 1.5rem; }
.card h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.card p { margin-bottom: 0; }
.card-icon { display: block; width: 32px; height: 32px; margin-bottom: .75rem; }

/* Lockups without a dark variant sit on a light plate, with clear space of at least a quarter of
   the symbol height on every side (brand guidelines). */
.logo-plate {
  display: inline-block;
  padding: 12px;
  margin-bottom: .75rem;
  border-radius: .5rem;
  background: #F6F8FB;
}
.logo-plate img { display: block; width: 200px; height: auto; }

footer {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--nedura-border);
  color: var(--nedura-text-muted);
  font-size: .9rem;
}
footer p { margin: .25rem 0; max-width: none; }

pre { white-space: pre-wrap; font-size: .875rem; }
