/*
Theme Name: Demo Site
Description: A simple custom theme built on the Micropress base image.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: demo-site
*/

:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
}

*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.5; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0, var(--bg-soft) 28rem, #f8fafc 28rem);
  font-family: Inter, system-ui, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.shell { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.hero { color: #fff; padding: 5rem 0 4rem; }
.hero__inner { max-width: 48rem; }
.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: #93c5fd;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: .98;
}
.lede {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: #cbd5e1;
  font-size: 1.1rem;
}
.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .85rem 1.1rem;
  border-radius: .8rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.button:hover { background: var(--accent-strong); }
.content { padding: 0 0 4rem; }
.card {
  margin-top: -2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.card + .card { margin-top: 1.5rem; }
.card h2, .card h1 { margin-top: 0; }
.prose { color: var(--muted); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.footer {
  padding-bottom: 3rem;
  color: var(--muted);
  font-size: .95rem;
}
