/* Tampa Bay Automation Co — shared stylesheet for every page under site/public.
   Tokens are the brand doc (docs/design/brand.md); change it first, then this file.
   Page-specific section styles stay inline in each page. */
:root {
  --ink: #1c2733;
  --ink-soft: #4a5a6a;
  --paper: #fbfaf7;
  --card: #ffffff;
  --accent: #0e7490;
  --accent-deep: #155e75;
  --rule: #e4e0d8;
  /* added in the 2026-10 redesign */
  --band: #1c2733;          /* footer band (ink) */
  --band-ink: #f4f1ea;      /* text on the band */
  --band-muted: #b9c2cc;
  --band-soft: #f2efe9;     /* alternating sections, from --rule */
  --tint-sand: #f6efe2;
  --tint-teal: #e5f0f2;
  --tint-gray: #eeeff0;
  --hand: #8a5a2b;          /* hero annotation only */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --radius: 14px;
  /* added in the 2026-10 rework (proof cards) */
  --label-demo: #8a5a2b;    /* "fictional model business" label, same warm brown as --hand */
  --card-rule: #d9d4ca;     /* proof card border, a step darker than --rule */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

a { color: var(--accent-deep); text-decoration: none; transition: color .14s ease; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center;
  text-decoration: none; border: 2px solid transparent;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}
.btn { background: var(--accent); color: #fff; }
.btn:hover { background: var(--accent-deep); text-decoration: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn:focus-visible, .btn-outline:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 999px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Eyebrows: the one technical touch */
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.1rem); line-height: 1.2;
  letter-spacing: -0.02em; font-weight: 700; margin-bottom: 28px; max-width: 24ch;
}

/* 1. Nav */
.nav { border-bottom: 1px solid var(--rule); background: var(--paper); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.wordmark { font-weight: 700; letter-spacing: -0.01em; color: var(--ink); font-size: 16px; line-height: 1.25; }
.wordmark:hover { text-decoration: none; }
/* Logo in the header: brand.md §6 and §12. 56px full-detail mark beside a 21px name,
   14px gap; 48px beside 16 to 17px on phones (48px is the floor for the full-detail cut). */
.wordmark.has-mark { display: inline-flex; align-items: center; gap: 14px; font-size: 21px; letter-spacing: -0.015em; }
.wordmark-mark { display: block; width: 56px; height: 56px; flex: none; }
.nav:has(.has-mark) .wrap { min-height: 88px; }
@media (max-width: 560px) {
  .wordmark.has-mark { font-size: 17px; gap: 12px; flex: none; }
  .wordmark.has-mark .wordmark-name { max-width: 13ch; }
  .wordmark-mark { width: 48px; height: 48px; }
  .nav:has(.has-mark) .wrap { min-height: 76px; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 15px; max-width: 12ch; }
  .wordmark.has-mark { max-width: none; font-size: 16px; }
  .nav .btn-sm { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 359px) {
  .nav .btn-sm { max-width: 11rem; padding: 0 10px; }
  .wordmark.has-mark { font-size: 15px; gap: 10px; }
  .wordmark.has-mark .wordmark-name { max-width: 7.2em; }
}

section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
section.soft { background: var(--band-soft); }

/* 6. Proof: pull-quote + four cards */
.pull {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  line-height: 1.3; letter-spacing: -0.01em; color: var(--ink);
  max-width: 34ch; margin-bottom: 48px;
}
.pull::before { content: "\201C"; color: var(--accent); }
.pull::after { content: "\201D"; color: var(--accent); }
.proof { list-style: none; display: grid; gap: 16px; }
@media (min-width: 760px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.proof li {
  background: var(--card); border: 1px solid var(--card-rule); border-radius: var(--radius);
  padding: 24px 22px 22px; display: flex; flex-direction: column;
}
.proof-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.proof-label.demo { color: var(--label-demo); }
.proof h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 10px; }
.proof p { font-size: 15px; color: var(--ink-soft); }
.proof p + p { margin-top: 10px; }
.proof .fiction { color: var(--ink); font-weight: 600; }
.proof .try { color: var(--ink); }
.proof .try strong { font-weight: 700; }
.proof .stats { font-family: var(--mono); font-size: 13px; color: var(--ink); letter-spacing: .02em; }
.proof .go { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; }
.proof .go::before { content: ""; display: block; border-top: 1px solid var(--rule); margin-bottom: 14px; }

/* 9. Footer band */
footer { background: var(--band); color: var(--band-ink); padding: 72px 0 40px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; } }
.ready { font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 28px; }
footer .btn:focus-visible { outline-color: var(--band-ink); }
.foot-facts { list-style: none; font-size: 15px; color: var(--band-muted); }
.foot-facts li { padding: 10px 0; border-bottom: 1px solid rgba(244, 241, 234, .14); display: flex; gap: 16px; flex-wrap: wrap; }
.foot-facts span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; min-width: 6rem; padding-top: 3px; }
footer a { color: var(--band-ink); }
footer a:focus-visible { outline-color: var(--band-ink); }
.foot-base { margin-top: 56px; font-size: 14px; color: var(--band-muted); }
.foot-base strong { color: var(--band-ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
