:root {
  --ink: #141a24;
  --paper: #f7f6f2;
  --rule: #d9d6cc;
  --muted: #5d6673;
  --accent: #b5352b;      /* the colour of a struck-through four */
  --accent-ink: #ffffff;
  --max: 64rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #ece9e1; --paper: #15181e; --rule: #2d323b; --muted: #9aa3ae; --accent: #e0574b; }
}
* { box-sizing: border-box; }
html { font: 17px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 2rem 0 1rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
p, li { max-width: 42rem; }
code { font-family: var(--mono); font-size: .92em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.site-header nav { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .95rem; }
.site-header nav a { text-decoration: none; color: var(--muted); padding: .25rem 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); border-color: var(--accent); }

main { flex: 1; padding-bottom: 4rem; }
.hero { padding: 3.5rem 0 1rem; border-bottom: 1px solid var(--rule); margin-bottom: 1rem; }
.hero h1 { margin-top: 0; font-size: clamp(2.4rem, 7vw, 4.25rem); max-width: 50rem; }
.hero .sub { font-size: 1.25rem; color: var(--muted); max-width: 40rem; }

/* Service tiers: use a markdown table or the .tiers grid via raw HTML */
.tiers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 2rem 0; }
.tier { border: 1px solid var(--rule); border-radius: 6px; padding: 1.25rem; background: color-mix(in srgb, var(--paper) 92%, var(--ink) 8%); }
.tier h3 { margin-top: 0; }
.tier .price { font-family: var(--mono); color: var(--muted); }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }

.btn { display: inline-block; padding: .7rem 1.1rem; background: var(--accent); color: var(--accent-ink); text-decoration: none; border-radius: 4px; font-weight: 600; }
.btn:hover { filter: brightness(1.08); }
.todo { background: #ffe9a8; color: #3a2d00; padding: .1em .35em; border-radius: 3px; font-family: var(--mono); font-size: .85em; }

table { border-collapse: collapse; width: 100%; max-width: 48rem; margin: 1.5rem 0; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; }

.site-footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem; }
.site-footer .wrap { padding-top: 1.25rem; padding-bottom: 1.25rem; }
