/* ============================================================
   Hard Hat Benchmark — the public legal pages.

   Its own stylesheet, not styles.css. These two pages are read by people who
   are not signed in and may never have used the app — a carrier reviewer, or
   a worker who followed a link out of a text — so they load nothing they do
   not need. styles.css is built for a form on a phone in a glove and carries
   a great deal that a page of prose does not want.

   No fonts, no images, no script. A privacy policy that cannot render on a
   locked-down network is a privacy policy nobody can check.
   ============================================================ */

:root {
  --ink: #1A1A1A;
  --gray-7: #3D3D3D;
  --gray-5: #767676;
  --gray-2: #E8E8E8;
  --gray-1: #F5F5F5;
  --blue: #0057B8;
  --blue-dark: #00408A;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 32px 20px 72px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-7);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 720px; margin: 0 auto; }

.brand {
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gray-5); margin-bottom: 6px;
}

h1 { font-size: 28px; line-height: 1.2; color: var(--ink); margin: 0 0 6px; }

.updated { font-size: 14px; color: var(--gray-5); margin: 0 0 28px; }

h2 {
  font-size: 19px; color: var(--ink); margin: 34px 0 8px;
  padding-top: 22px; border-top: 1px solid var(--gray-2);
}

h3 { font-size: 16px; color: var(--ink); margin: 20px 0 4px; }

p { margin: 0 0 12px; }

ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

strong { color: var(--ink); }

/* The three disclosures carriers look for. Boxed so a reviewer scanning the
   page for them does not have to read the whole thing to find them. */
.callout {
  margin: 18px 0; padding: 14px 16px;
  background: var(--gray-1); border-left: 3px solid var(--blue); border-radius: 4px;
  font-size: 15px;
}
.callout p:last-child { margin-bottom: 0; }

.foot {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--gray-2);
  font-size: 14px; color: var(--gray-5);
}

/* The consent-screen screenshot on sms-opt-in.html. Phone-width and boxed,
   not full-bleed — it is evidence sitting in a page of prose, not a hero
   image. */
.shot { display: block; max-width: 100%; width: 360px; border: 1px solid var(--gray-2); border-radius: 12px; margin: 12px 0; }

@media (max-width: 480px) {
  body { padding: 24px 16px 56px; font-size: 15.5px; }
  h1 { font-size: 24px; }
}
