/* WorkSafe Communications – shared styles */
:root {
  --yellow: #FFCC00;
  --yellow-deep: #F2B700;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --muted: #5c5c5c;
  --line: #e4e2dc;
  --paper: #ffffff;
  --surface: #f6f5f1;
  --good: #1f7a3a;
  --bad: #b3261e;
  --radius: 10px;
  --wrap: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
.condensed { font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.005em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.demo-banner { background: var(--ink); color: var(--yellow); text-align: center; font-size: 13px; font-weight: 600; padding: 6px 12px; }

/* hazard stripe */
.stripe { height: 14px; background: repeating-linear-gradient(-45deg, var(--ink) 0 16px, var(--yellow) 16px 32px); }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-header .logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.menu-btn { display: none; background: none; border: 2px solid var(--ink); border-radius: 8px; font: inherit; font-weight: 700; padding: 6px 12px; }
@media (max-width: 760px) {
  .site-header .logo img { height: 36px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .nav .btn { margin: 12px 20px 16px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 12px 24px; box-shadow: 3px 3px 0 var(--ink); transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn.dark { background: var(--ink); color: var(--yellow); box-shadow: 3px 3px 0 var(--yellow-deep); }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.small { padding: 8px 16px; font-size: 14px; }

/* sections */
section { padding: 64px 0; }
.surface { background: var(--surface); }
.dark-band { background: var(--ink); color: #fff; }
.dark-band .eyebrow { color: var(--yellow); }

/* cards & forms */
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 18px; }
.field label, .legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.req { color: var(--bad); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #bdbab2; border-radius: 8px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-error { background: #fdecea; color: var(--bad); border-radius: 8px; padding: 12px 14px; font-weight: 600; margin: 0 0 16px; display: none; }
.form-error.show { display: block; }
.status-ok { color: var(--good); font-weight: 700; font-size: 14px; }
.status-bad { color: var(--bad); font-weight: 700; font-size: 14px; }

/* footer */
.site-footer { background: var(--ink); color: #cfcfcf; font-size: 14px; padding: 36px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.site-footer img { height: 34px; width: auto; }
.site-footer a { color: #fff; }
