/* Acme site styles. Copied to dist/styles.css by build.mjs. */
:root {
    --bg: #fbfaf7;
    --surface: #ffffff;
    --text: #1f2430;
    --muted: #5b6372;
    --border: #e6e3dc;
    --accent: #3d5afe;
    --accent-hover: #2840d6;
    --accent-soft: #eef0ff;
    --radius: 12px;
    --measure: 44rem;
  }
  
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #14161c;
      --surface: #1c1f27;
      --text: #eceef3;
      --muted: #9aa2b1;
      --border: #2b2f3a;
      --accent: #8c9eff;
      --accent-hover: #b0bcff;
      --accent-soft: #232842;
    }
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  
  a {
    color: var(--accent);
    text-underline-offset: 0.2em;
  }
  a:hover {
    color: var(--accent-hover);
  }
  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
  }
  
  /* Header */
  .site-header {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
  }
  .site-header .inner {
    max-width: var(--measure);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .brand {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
  }
  .brand::before {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-right: 0.45em;
    border-radius: 50%;
    background: var(--accent);
  }
  nav {
    display: flex;
    gap: 0.25rem;
  }
  nav a {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    text-transform: capitalize;
    font-size: 0.95rem;
    font-weight: 500;
  }
  nav a:hover {
    color: var(--text);
    background: var(--accent-soft);
  }
  
  /* Content */
  main {
    max-width: var(--measure);
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
  }
  
  h1,
  h2,
  h3 {
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 750;
  }
  h1 {
    font-size: clamp(2.2rem, 6vw, 3.25rem);
    margin: 0 0 1rem;
  }
  h1 + p {
    font-size: 1.2rem;
    color: var(--muted);
  }
  h2 {
    font-size: 1.5rem;
    margin: 3rem 0 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }
  h3 {
    font-size: 1.15rem;
    margin: 2rem 0 0.5rem;
  }
  p {
    margin: 0 0 1.1rem;
  }
  strong {
    font-weight: 650;
  }
  code {
    font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--accent-soft);
    padding: 0.15em 0.4em;
    border-radius: 6px;
  }
  
  /* Lists as cards */
  ul {
    list-style: none;
    margin: 1rem 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
  }
  li {
    position: relative;
    padding: 0.7rem 1rem 0.7rem 2.6rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 0.7rem;
    color: var(--accent);
    font-weight: 700;
  }
  
  /* Call-to-action links: a paragraph that starts with a link */
  main p > a:first-child:not(:last-child) {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }
  main p > a:first-child:not(:last-child):hover {
    background: var(--accent-hover);
    color: #fff;
  }
  
  @media (max-width: 30rem) {
    body {
      font-size: 16px;
    }
    main {
      padding-top: 2rem;
    }
  }
  