/* Utah Valley Systems LLC - static site. System fonts only; no external requests. */
:root {
  --ink: #17202a;
  --muted: #45515c;      /* 7.9:1 on white */
  --brand: #0b4f6c;      /* 8.9:1 on white */
  --brand-dark: #08384d;
  --accent: #b45309;     /* 5.0:1 on white, used for large text/borders only */
  --band: #eef4f7;
  --line: #c9d5dd;
  --focus: #ffbf47;
  --radius: 8px;
  --max: 70rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; color: var(--ink); background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 2px; }
#main:focus { outline: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 6px 6px; z-index: 10; font-weight: 700; }
.skip-link:focus { top: 0; color: #fff; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .8rem; padding-bottom: .8rem; }
.logo { margin: 0; font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; }
.logo a { color: var(--brand); text-decoration: none; }
.logo span { color: var(--muted); font-weight: 600; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: 0; padding: 0; }
nav a { text-decoration: none; font-weight: 600; color: var(--ink); padding: .3rem .1rem; }
nav a:hover { text-decoration: underline; }
.nav-cta { color: var(--brand); }

h1, h2, h3 { line-height: 1.2; color: var(--brand-dark); }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin: .3rem 0 1rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
section { padding: 3.25rem 0; }
.band { background: var(--band); }
.fine { font-size: .92rem; color: var(--muted); }
.eyebrow { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--muted); }
.lead { font-size: 1.15rem; max-width: 40rem; }

.hero { padding-top: 3rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn { display: inline-block; padding: .8rem 1.25rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid var(--brand); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand); }
.btn-secondary:hover { background: var(--band); }

.deadline-card { border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: var(--radius); padding: 1.25rem 1.4rem; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.deadline-card h2 { font-size: 1.25rem; }
.deadline-card dl { margin: 0 0 .75rem; }
.deadline-card dl div { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.deadline-card dt { font-size: .95rem; color: var(--muted); }
.deadline-card dd { margin: 0; font-size: 1.45rem; font-weight: 800; color: var(--ink); }

.stats { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.stat-num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--brand); }

.steps { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.steps p { margin: 0; font-size: .98rem; }
.log-box { border-left: 6px solid var(--brand); background: var(--band); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; }
.log-box ul { margin-top: .25rem; }

.label-note { background: #fff7e6; border: 1px solid #e0b354; border-radius: var(--radius); padding: .75rem 1rem; }
.ba-grid, .ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
figure { margin: 0; }
figure img { display: block; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
figcaption { font-size: .95rem; color: var(--muted); margin-top: .5rem; }
.downloads { margin-top: 1rem; }
.sub { margin-top: 2.5rem; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; background: #fff; }
caption { text-align: left; color: var(--muted); padding-bottom: .5rem; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--brand); color: #fff; }
tbody th { font-weight: 600; }
tbody td:nth-child(2) { font-weight: 700; white-space: nowrap; }

.fed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.naics { padding-left: 1.1rem; }

.contact > * { max-width: 46rem; }

.site-footer { background: var(--ink); color: #f1f4f6; padding: 2.5rem 0 1rem; }
.site-footer a { color: #ffd78a; }
.site-footer a:hover { color: #fff; }
.site-footer .fine { color: #d3dbe1; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; }
.footer-h { font-size: 1.1rem; color: #fff; margin-bottom: .4rem; }
.copyright { font-size: .85rem; color: #d3dbe1; margin-top: 1.5rem; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-grid, .ba-grid, .ui-grid, .fed-grid, .footer-grid, .stats, .steps { grid-template-columns: 1fr; }
  section { padding: 2.25rem 0; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  table { min-width: 0; font-size: .95rem; }
  th, td { padding: .55rem .5rem; }
  tbody td:nth-child(2) { white-space: normal; }
}
