/* IDMP marketing site — minimal plain styling.
   No external fonts or CDNs: the CSP allows 'self' only. System font stack. */

:root {
  --bg: #ffffff;
  --fg: #1f2933;
  --muted: #52606d;
  --accent: #1d4ed8;
  --accent-fg: #ffffff;
  --surface: #f5f7fa;
  --border: #d9e2ec;
  --maxwidth: 60rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.5rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

main {
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

.hero {
  text-align: center;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.7rem 1.4rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
}

.button:hover,
.button:focus {
  background: #1e40af;
}

.feature-grid,
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature,
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.feature p,
.step p {
  color: var(--muted);
  margin: 0;
}

.site-footer {
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tagline {
  margin: 0.25rem 0 0;
}

@media (min-width: 40rem) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }
  h1 {
    font-size: 2.5rem;
  }
}
