/* Colors and type from the Mannicode logo brand guide */
:root {
  color-scheme: dark;
  --bg: #1E1E1E;
  --surface: #262626;
  --text: #E7E7E7;
  --muted: #B4B4B4;
  --border: #555555;
  --purple: #7A63FF;
  --cyan: #74E0EF;
  --magenta: #EF75FD;
}

body {
  margin: 0;
  padding: 0 1rem 2rem;
  background: var(--bg);
  color: var(--text);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

header,
main,
footer {
  max-width: 44rem;
  margin: 0 auto;
}

a {
  color: var(--cyan);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--magenta);
}

h1,
h2 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.25rem;
  margin-top: 2.5rem;
}

h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 1.25rem;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 32px;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

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

header nav a:hover,
header nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  padding: 1rem 0;
}

.hero h1 {
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.15rem;
}

.product {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--purple);
  border-radius: 6px;
}

.product h3 {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.product p {
  margin: 0;
}

.consent {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-left: 4px solid var(--cyan);
  border-radius: 6px;
}

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
