/* Devlen Components — local site stylesheet.
   Palette and typographic feel deliberately match pdf_style.css (the quote,
   traveler, C of C) so a customer who gets a PDF and later sees the site
   reads them as one company. Tokens from BRAND-STYLE-GUIDE.md §3. */

:root {
  --ink: #1A1D21;
  --muted: #6B7280;
  --accent: #4A6755;
  --panel: #EDEFEE;
  --bg: #FAFAFA;
  --rule: #DFE3E1;
  --measure: 46rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Masthead: same construction as the PDF masthead --- */
.masthead {
  text-align: center;
  padding: 2.75rem 1.5rem 0;
}

.masthead img {
  height: 58px;
  width: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.masthead .company {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.055em;
  line-height: 1.1;
}

.masthead .location {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.masthead a { text-decoration: none; }

nav {
  border-bottom: 2px solid var(--accent);
  margin-top: 1.4rem;
}

nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 0 0.7rem;
  display: flex;
  gap: 1.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-bottom: 0.2rem;
}

nav a:hover { color: var(--accent); }
nav a.here { color: var(--accent); font-weight: 600; }

/* --- Type --- */
main { padding: 3.4rem 0 1rem; }

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}

h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.25rem;
  margin: 2.75rem 0 1.1rem;
}

h3 { font-size: 1rem; margin: 1.6rem 0 0.4rem; }

p { margin: 0 0 1rem; }
ul.plain { padding-left: 1.1rem; }
ul.plain li { margin-bottom: 0.45rem; }

.lede {
  font-size: 1.15rem;
  color: var(--ink);
}

.sub { color: var(--muted); }
.small { font-size: 0.9rem; }

a { color: var(--accent); }

/* --- Focus entries ---
   Stacked with an accent rule rather than a three-across card grid: at this
   measure three columns gave ~20 characters a line, and a stacked list reads
   the way the printed forms do. */
.cards { margin: 1.5rem 0 0; }

.card {
  border-left: 3px solid var(--accent);
  padding: 0.1rem 0 0.1rem 1.1rem;
  margin-bottom: 1.5rem;
}

.card h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); }

/* --- Spec table, same shading logic as the PDF --- */
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
  margin: 0 0 1.2rem;
}

th, td {
  border: 1px solid var(--rule);
  padding: 0.45rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

th { background: var(--panel); font-size: 0.8rem; letter-spacing: 0.03em; }
td:first-child { background: var(--panel); font-weight: 600; width: 40%; }

/* A plain two-column table that shouldn't get the shaded key column. */
table.data td:first-child { background: none; font-weight: 400; width: auto; }

/* --- Callout: used for the honest-status notes --- */
.note {
  border-left: 3px solid var(--accent);
  background: #fff;
  padding: 0.85rem 1.1rem;
  margin: 1.4rem 0;
  font-size: 0.93rem;
}

.note strong { color: var(--accent); }

footer {
  border-top: 1px solid var(--rule);
  margin-top: 3.5rem;
  padding: 1.4rem 0 3rem;
  color: var(--muted);
  font-size: 0.82rem;
}

footer a { color: var(--muted); }

@media (max-width: 34rem) {
  body { font-size: 16px; }
  nav ul { gap: 1.1rem; }
  td:first-child { width: auto; }
}
