:root {
  --ink: #0f2238;         /* navy */
  --paper: #f2f5f9;       /* cool white */
  --rule: #cfd8e3;
  --muted: #52657a;
  --accent: #e4512a;      /* 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: #e6edf5; --paper: #0c1420; --rule: #263447; --muted: #93a3b6; --accent: #ff7a52; }
}
* { 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; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
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-top: 5px solid var(--accent); 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; color: var(--ink); }
.brand svg { height: 64px; width: auto; display: block; }
.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-top: 4px solid var(--rule); padding: 1.25rem 0 0; background: none; }
.tier h3 { margin-top: 0; }
.tier .price { font-family: var(--mono); color: var(--muted); }
.tier.featured { border-top-color: var(--accent); }
.tier .spinner { display: block; width: 64px; height: 64px; margin: .25rem auto 0; }
@media (prefers-color-scheme: dark) { .tier .spinner { filter: invert(.92) hue-rotate(180deg); } }

.btn { display: inline-block; padding: .75rem 1.25rem; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 0; font-weight: 600; }
.btn:hover { background: var(--accent); color: #fff; }
.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; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-logo { color: var(--ink); display: inline-flex; }
.footer-logo svg { height: 56px; width: auto; display: block; }
.site-footer p { margin: 0; }

/* Hand-numbered process list (so a step number can be struck through) */
ol.process { list-style: none; padding-left: 0; max-width: 42rem; }
ol.process li { display: flex; gap: .6rem; margin: .5rem 0; }
ol.process .num { flex: 0 0 3.2rem; font-family: var(--mono); color: var(--muted); white-space: nowrap; }
ol.process .num s { color: var(--accent); text-decoration-thickness: 2px; }

/* Partnerships: the empty logo slot */
.partners { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.25rem 0 2rem; }
.partner-slot { display: grid; place-items: center; width: 16rem; max-width: 100%; height: 6rem; border: 2px dashed var(--rule); color: var(--muted); font-family: var(--mono); font-size: .9rem; }
