/* maclawran.ca — xChk, a product of Maclawran LLC. House style: the one-sheet tokens. */
:root {
  --ink: #1f2823; --ink-soft: #48544d; --muted: #67746c; --line: #d5dcd5;
  --surface: #f2f4f0; --surface-2: #eaeeea; --paper: #ffffff;
  --accent: #1c7a52; --accent-soft: #e2efe8; --logo-box: #3a4844;
  --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Avenir Next', Seravek, 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; font-size: 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand-box { display: inline-flex; align-items: center; background: var(--logo-box); border-radius: 6px; padding: 7px 12px; }
.brand-box img { height: 22px; width: auto; display: block; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 14.5px; }
.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 14.5px; border: 1px solid var(--accent); color: var(--accent); background: var(--paper); }
.btn.primary { background: var(--accent); color: #fff; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }

/* hero */
.hero { background: linear-gradient(180deg, var(--surface) 0, var(--paper) 100%); padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.kicker { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
h1 { font-family: Charter, Georgia, 'Times New Roman', serif; font-weight: 500; font-size: clamp(34px, 5vw, 50px); line-height: 1.12; letter-spacing: -.01em; max-width: 18ch; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 62ch; margin: 22px 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-family: Charter, Georgia, serif; font-weight: 500; font-size: 30px; line-height: 1.2; margin-bottom: 10px; }
h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.sub { color: var(--ink-soft); max-width: 66ch; margin-bottom: 28px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding: 18px 18px 18px 58px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.stat b { display: block; font-size: 26px; font-family: Charter, Georgia, serif; font-weight: 500; }
.stat span { color: var(--muted); font-size: 14px; }
.quote { font-family: Charter, Georgia, serif; font-size: 22px; line-height: 1.4; color: var(--ink); max-width: 46ch; border-left: 3px solid var(--accent); padding-left: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* prose pages */
.prose { max-width: 74ch; padding: 48px 0 64px; }
.prose h1 { font-size: 36px; margin-bottom: 8px; }
.prose .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.prose h2 { font-size: 24px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose .callout { background: var(--accent-soft); border: 1px solid #bcd8c9; border-radius: 10px; padding: 16px 18px; margin: 18px 0; color: var(--ink); }
.prose .sample { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 10px 0 16px; color: var(--ink); white-space: pre-wrap; }
.prose .optin { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: var(--paper); margin: 12px 0 18px; }
.prose .optin label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.prose .optin input { margin-top: 4px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0 18px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--surface); padding: 34px 0; font-size: 13.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; }
footer .fnav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--ink-soft); }

@media (max-width: 720px) {
  .nav .hide-m { display: none; }
  .hero { padding: 48px 0 40px; }
  .top .wrap { gap: 14px; }
}
