/* Stop Busywork shared stylesheet.
   Used by / (index.html) and future /blog/ and /industries/ pages.
   Mobile-first. System fonts only (no downloads). No framework. */

:root {
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #e4ddd2;
  --paper: #f7f4ee;
  --card: #fffdf9;
  --accent: #8c3a1e;
  --accent-dark: #6e2c16;
  --tint: #f3e7df;
  --focus: #1c1915;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1040px;
  --text: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--accent-dark); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; }
a.tap { display: inline-flex; align-items: center; min-height: 44px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: var(--card);
  padding: 12px 16px; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--card); }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: var(--text); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 12px;
}
h1 { font-size: clamp(40px, 9vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(28px, 5vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 14px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px;
}
.brand {
  font-family: var(--serif); font-size: 21px; color: var(--ink);
  text-decoration: none; display: inline-flex; align-items: center; min-height: 44px;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px;
  color: var(--ink); text-decoration: none; font-size: 15px;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav .nav-wide { display: none; }
.site-nav .nav-email { font-size: 14px; color: var(--accent-dark); padding: 0 0 0 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 20px;
  font: 600 16px/1.2 var(--sans);
  text-align: center; text-decoration: none;
  border-radius: 6px; border: 2px solid var(--accent);
  background: var(--accent); color: #fffdf9; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fffdf9; }
.btn-secondary { background: transparent; color: var(--accent-dark); }
.btn-secondary:hover { background: var(--tint); color: var(--ink); border-color: var(--accent-dark); }
.btn[disabled] { opacity: 0.7; cursor: wait; }
.btn-small { min-height: 44px; padding: 8px 14px; font-size: 15px; }

/* Hero */
.hero { padding: 48px 0 40px; }
.kicker {
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.sub { font-size: 20px; color: var(--ink); max-width: 34em; margin: 0 0 24px; }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin: 0 0 14px; }
.cta-note { font-size: 15px; color: var(--muted); margin: 0; }

/* Sections */
.section { padding: 48px 0; border-top: 1px solid var(--line); }
.section-intro { color: var(--muted); font-size: 18px; max-width: 36em; margin-bottom: 24px; }

/* Use cases */
.cases { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.case {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 20px;
}
.case h3 { margin-bottom: 14px; }
.ba { margin: 0; }
.ba dt {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 4px;
}
.ba dd { margin: 0 0 14px; }
.ba dd:last-child { margin-bottom: 0; }
.ba .after-label { color: var(--accent-dark); }
.ba .after { border-left: 3px solid var(--accent); padding-left: 12px; }
.after-note { margin: 20px 0 0; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 4px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 16px 0 16px 56px; border-top: 1px solid var(--line);
}
.steps li:first-child { border-top: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--card);
  font: 600 16px/1 var(--sans);
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* What to expect */
.expect {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 20px; max-width: var(--text);
}
.expect ul { margin: 0; padding-left: 20px; }
.expect li { margin: 0 0 10px; }
.expect li:last-child { margin-bottom: 0; }

/* FAQ */
.faq { max-width: var(--text); }
.faq-item { padding: 18px 0; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-item h3 { font-size: 20px; margin-bottom: 6px; }
.faq-item p { margin: 0; }

/* Contact */
.contact-grid { display: grid; gap: 28px; }
.book-card {
  background: var(--ink); color: var(--card); border-radius: 8px; padding: 22px;
}
.book-card h3 { color: var(--card); }
.book-card p { color: #e9e3d8; }
.book-card .btn { background: var(--card); color: var(--ink); border-color: var(--card); width: 100%; }
.book-card .btn:hover { background: #efe8dc; border-color: #efe8dc; color: var(--ink); }
.book-card .email-line { margin: 16px 0 0; font-size: 15px; }
.book-card a:not(.btn) { color: var(--card); }
.book-card :focus-visible { outline-color: var(--card); }

form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field .hint { font-weight: 400; color: var(--muted); }
input, textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  background: var(--card);
  border: 1px solid #8f877b; border-radius: 6px;
  padding: 11px 12px; min-height: 48px; width: 100%;
}
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea { min-height: 132px; resize: vertical; }
.form-note { font-size: 15px; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#form-status {
  display: none; margin: 0;
  font-size: 16px; background: var(--card);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  padding: 12px 14px;
}
#form-status.show { display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 32px 0 40px; font-size: 15px; color: var(--muted); }
.footer-nav ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 8px 0 0; color: var(--ink); margin-right: 8px; }
.site-footer p { margin: 0 0 6px; }

/* Sticky mobile CTA (hidden on wide screens) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--card); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 14px rgba(28, 25, 21, 0.08);
  transition: transform 0.2s ease;
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-hidden { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
body.has-sticky { padding-bottom: 76px; }

/* Placeholder slots (templates only, never on live pages) */
.slot {
  border: 2px dashed #8a5a12; background: #fff6e4; color: #6b450c;
  padding: 12px 14px; border-radius: 6px; font-size: 15px;
}

/* Article (blog posts) */
.article { max-width: var(--text); }
.article .meta { color: var(--muted); font-size: 15px; }

/* Wider screens */
@media (min-width: 640px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; align-items: center; }

}
@media (min-width: 900px) {
  .site-nav .nav-wide { display: inline-flex; }
  .site-nav .nav-email { font-size: 15px; padding-left: 14px; }
}
@media (min-width: 800px) {
  body { font-size: 18px; }
  .hero { padding: 80px 0 64px; }
  .sub { font-size: 22px; }
  .section { padding: 72px 0; }
  .cases { grid-template-columns: 1fr 1fr; gap: 20px; }
  .case { padding: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps li { border-top: 0; padding: 56px 0 0; }
  .steps li::before { top: 0; }
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
  .book-card { position: sticky; top: 24px; }
  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
}

/* ---- Service pages (2026-10-09) ---- */
.intro { max-width: 36em; margin: 0 0 24px; }
.intro p { font-size: 19px; }
.prose { max-width: var(--text); }
.prose h2 { margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 0 0 6px; }
blockquote.example {
  margin: 0 0 14px; padding: 14px 18px;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 6px;
}
blockquote.example p { margin: 0; }
/* Inline text links: extra vertical hit area without changing the line layout. */
a.inline-link { padding: 11px 0; }
.service-cta { max-width: var(--text); position: static; }
.service-cta h2 { color: var(--card); }
.service-cta .email-line { margin: 10px 0 0; }
.other-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: var(--text); }
.other-link {
  display: flex; align-items: center; min-height: 52px; padding: 10px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.other-link::after { content: "\2192"; content: "\2192" / ""; margin-left: auto; padding-left: 12px; color: var(--accent); }
.other-link:hover { border-color: var(--accent); color: var(--accent-dark); }
.footer-services { border-top: 1px solid var(--line); padding-top: 8px; }

/* Homepage use-case headings link to their service page. */
.case h3 a {
  display: flex; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.case h3 a::after { content: "\2192"; content: "\2192" / ""; display: inline-block; margin-left: 8px; color: var(--accent); text-decoration: none; }
.case h3 a:hover { color: var(--accent-dark); }

/* ---- Blog posts (2026-10-16) ---- */
.prose ol { margin: 0 0 14px; padding-left: 22px; }
.table-wrap { overflow-x: auto; margin: 0 0 14px; }
.table-wrap table { border-collapse: collapse; font-size: 15px; min-width: 100%; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.table-wrap th { background: var(--card); }
