/*
 * The static guide pages (public/guides/*.html): the weekly pages Found writes, and the template it
 * copies (connect-claude-to-your-business.html). Plain CSS, because these pages are files Cloudflare
 * serves as they are, outside the Next app and its Tailwind build. The colours and type are
 * src/app/globals.css's: white paper, near-black ink, a blue accent, Playfair Display over Inter.
 */
:root {
  --cream: #f7f8fa;
  --ink: #101114;
  --ink-2: #23262c;
  --muted: #5d626b;
  --line: #e6e9ee;
  --accent: #2559df;
  --accent-strong: #1842ad;
  --accent-soft: #e8efff;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 84px; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin: 0 0 1rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }
p, li { text-wrap: pretty; color: var(--ink-2); }
ul, ol { padding-left: 1.4rem; }
li { margin: 0.35rem 0; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--cream); padding: 0.1em 0.35em; border-radius: 4px; }

::selection { background: var(--accent-soft); color: var(--accent-strong); }

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 16px; }

header.site {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}
header.site .wrap { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 12px; }
header.site .brand { color: var(--ink); text-decoration: none; font: 700 1.15rem/1 "Playfair Display", Georgia, serif; white-space: nowrap; }
header.site .brand span { font-weight: 400; color: var(--muted); }

.button {
  display: inline-block; border-radius: 999px; padding: 0.55rem 1.1rem;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
}
.button:hover { background: var(--accent-strong); color: #fff; }

main { padding: 2.5rem 0 3rem; }
main article { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
main article > p:first-of-type { font-size: 1.1rem; color: var(--ink-2); }

.cta {
  max-width: 46rem; margin: 3rem auto 0; padding: 1.5rem 16px;
  border-top: 1px solid var(--line);
}
.cta h2 { margin-top: 0.5rem; }

footer.site { border-top: 1px solid var(--line); padding: 2rem 0; font-size: 0.9rem; color: var(--muted); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 1rem; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--ink); }
