/* Main Street Business Help — shared stylesheet (from source.html design) */
:root {
  --bg: #F2F4EF;
  --surface: #FFFFFF;
  --ink: #1C2520;
  --muted: #56625A;
  --line: #CDD5CC;
  --accent: #2E6A4E;
  --brass: #A87618;
  --accent-ink: #FFFFFF;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131915; --surface: #1B231E; --ink: #E5EAE3; --muted: #9DAAA0;
    --line: #2F3A33; --accent: #71B892; --brass: #E2B65A; --accent-ink: #0F1511;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131915; --surface: #1B231E; --ink: #E5EAE3; --muted: #9DAAA0;
  --line: #2F3A33; --accent: #71B892; --brass: #E2B65A; --accent-ink: #0F1511;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  margin: 0; padding: 0;
}
img { max-width: 100%; }
.wrap {
  max-width: 64rem; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; text-wrap: balance; margin: 0; }
.eyebrow { font: 600 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* Top bar */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding-block: 1rem; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; }
.brand a { text-decoration: none; color: inherit; }
.brand span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.nav a {
  text-decoration: none; color: var(--ink); font: 500 .95rem/1 var(--body);
  padding: .45rem .65rem; border-radius: 4px;
}
.nav a:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.vet { font-size: .85rem; color: var(--muted); }

/* Hero */
.hero .wrap { padding-block: 3.5rem 3rem; display: grid; gap: 1.25rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); max-width: 14ch; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.15rem; max-width: 36rem; margin: 0; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.btn {
  display: inline-block; padding: .8rem 1.3rem; border-radius: 4px; text-decoration: none;
  font: 600 1rem/1 var(--body); border: 2px solid var(--accent);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.facts b { color: var(--ink); font-weight: 600; }

/* Sections */
section { padding-block: 3rem; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: .6rem; margin-bottom: 2rem; }
.sec-head h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); text-transform: uppercase; }
.sec-head p { margin: 0; color: var(--muted); max-width: 40rem; }
.board { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: .5rem 1.5rem; }
.board-head {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1.5rem; padding: .9rem 0 .6rem;
  font: 600 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid var(--ink);
}
.row { display: grid; grid-template-columns: 1fr auto auto; gap: .35rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.row:last-child { border-bottom: 0; }
.row h3 { font-size: 1.45rem; letter-spacing: .01em; scroll-margin-top: 4rem; }
.row .desc { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; max-width: 46rem; }
.usual, .mine { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.usual { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--muted); }
.mine { color: var(--brass); font-size: 1.1rem; }
.col-usual, .col-mine { text-align: right; }
.fine { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }

/* Home page cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1.25rem;
  text-decoration: none; color: inherit; display: grid; gap: .35rem; align-content: start;
}
.card:hover { border-color: var(--accent); }
.card h3 { font-size: 1.35rem; }
.card .price { font: 500 1.05rem/1.2 var(--mono); color: var(--brass); margin: 0; }
.card .price .was { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.card p:not(.price) { margin: 0; color: var(--muted); font-size: .95rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: grid; gap: .4rem; min-width: 0; }
.steps li::before { content: counter(s); font: 700 2.6rem/1 var(--display); color: var(--accent); }
.steps h3 { font-size: 1.35rem; text-transform: uppercase; }
.steps p { margin: 0; color: var(--muted); }

/* About */
.about .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2.5rem; align-items: start; }
.about h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); text-transform: uppercase; }
.about p { margin: 0 0 1rem; max-width: 38rem; }
.area { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.area span { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; font-size: .85rem; color: var(--muted); }

/* Contact */
.contact { background: var(--accent); color: var(--accent-ink); border-top: 0; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; }
.contact p { margin: .75rem 0 1.5rem; max-width: 34rem; opacity: .92; }
.lines { display: grid; gap: .75rem; max-width: 34rem; }
.line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
  border: 1px solid color-mix(in srgb, var(--accent-ink) 35%, transparent); border-radius: 4px; padding: .75rem 1rem;
}
.line .lbl { font: 600 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .8; display: block; margin-bottom: .3rem; }
.line .val { font: 500 1.05rem/1.2 var(--mono); word-break: break-all; color: inherit; }
footer .wrap { padding-block: 1.5rem; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

@media (max-width: 640px) {
  .board { padding: .25rem 1rem; }
  .board-head { display: none; }
  .row { grid-template-columns: 1fr auto; }
  .row h3 { grid-column: 1 / -1; }
  .usual { text-align: left; }
  .usual::before { content: "Usually "; text-decoration: none; display: inline-block; }
  .about .wrap { grid-template-columns: 1fr; gap: 1rem; }
  .top .wrap { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
