/* Style: ANSI Z535 safety-label (orange WARNING / yellow CAUTION / blue NOTICE signal bars, black & white panels, Oswald + Source Sans 3) */
:root {
  --orange: #ff7a00;
  --yellow: #ffd400;
  --blue: #0055a5;
  --green: #00843d;
  --black: #0b0b0b;
  --white: #fff;
  --paper: #f4f4f1;
  --grey: #4a4a4a;
  --cond: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--paper);
}

a { color: var(--blue); text-underline-offset: 3px; }

a:focus-visible, .btn:focus-visible, summary:focus-visible, .hdr__cta:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 12px;
  background: var(--yellow);
  color: var(--black);
  z-index: 10;
}

.skip:focus { left: 8px; }

/* Header */
.hdr { background: var(--black); color: var(--white); border-bottom: 6px solid var(--orange); }

.hdr__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; }

.hdr__brand {
  font-family: var(--cond);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.hdr__cta {
  font-family: var(--cond);
  font-weight: 700;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--black);
  padding: 6px 12px;
  text-decoration: none;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 3px solid var(--black);
}

.btn:hover { background: var(--yellow); }

.btn--plain { background: var(--white); }

/* Hero */
.hero { background: var(--white); padding: 48px 0 56px; border-bottom: 3px solid var(--black); }

.hero__grid { display: grid; gap: 40px; align-items: center; }

.eyebrow {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--grey);
  letter-spacing: .03em;
}

h1 {
  font-family: var(--cond);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 5rem);
  line-height: .95;
  margin: 0 0 20px;
}

.lede { max-width: 56ch; margin: 0 0 28px; color: var(--grey); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Label mock */
.label { margin: 0; border: 4px solid var(--black); background: var(--white); }

.label__signal {
  margin: 0;
  background: var(--orange);
  border-bottom: 4px solid var(--black);
  padding: 10px 16px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.label__tri {
  display: inline-grid;
  place-items: center;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 32px solid var(--black);
  position: relative;
  font-size: 0;
}

.label__tri::after {
  content: "!";
  position: absolute;
  top: 8px;
  left: -4px;
  font-size: 1.2rem;
  color: var(--orange);
}

.label__body { padding: 16px; }

.label__head {
  margin: 0 0 12px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  text-align: center;
}

.label__fields { margin: 0; border-top: 2px solid var(--black); }

.label__fields div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #bbb;
}

.label__fields dt { font-weight: 700; }

.label__fields dd { margin: 0; color: var(--grey); font-style: italic; }

.label figcaption {
  padding: 10px 16px;
  font-size: .85rem;
  background: var(--black);
  color: var(--white);
}

/* Facts */
.facts { background: var(--yellow); border-bottom: 3px solid var(--black); }

.facts__row { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); }

.facts__row div { padding: 14px 8px; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); }

.facts__row dt {
  font-family: var(--cond);
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .08em;
}

.facts__row dd { margin: 0; font-weight: 700; font-size: 1.15rem; }

/* Sign sections */
.sign { margin-top: 56px; background: var(--white); border: 3px solid var(--black); }

.sign__bar {
  margin: 0;
  padding: 10px 18px;
  font-family: var(--cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  line-height: 1.2;
  border-bottom: 3px solid var(--black);
}

.sign__bar--notice { background: var(--blue); color: var(--white); font-style: italic; }

.sign__bar--caution { background: var(--yellow); color: var(--black); }

.sign__bar--info { background: var(--green); color: var(--white); }

.sign__list { margin: 0; padding: 16px 18px 16px 40px; }

.sign__list li { margin-bottom: 8px; }

.sign__text { padding: 18px; }

.sign__text p { margin: 0; max-width: 75ch; }

.lessons { counter-reset: l; list-style: none; margin: 0; padding: 0; display: grid; }

.lessons li { counter-increment: l; padding: 18px 18px 18px 72px; border-bottom: 2px solid var(--black); position: relative; }

.lessons li:last-child { border-bottom: 0; }

.lessons li::before {
  content: counter(l);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.3rem;
}

.lessons h3 { font-family: var(--cond); font-weight: 500; text-transform: uppercase; font-size: 1.25rem; margin: 0 0 4px; }

.lessons p { margin: 0; color: var(--grey); }

/* FAQ */
.faq details { border-bottom: 2px solid var(--black); }

.faq details:last-child { border-bottom: 0; }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 52px 14px 18px;
  font-weight: 700;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 10px;
  width: 28px;
  height: 28px;
  background: var(--black);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.faq details[open] summary::after { content: "−"; }

.faq details p { margin: 0; padding: 0 18px 16px; color: var(--grey); }

/* Final */
.final {
  margin-top: 64px;
  padding: 56px 0;
  background: repeating-linear-gradient(-45deg, var(--black) 0 22px, var(--yellow) 22px 44px);
}

.final .wrap { background: var(--white); border: 4px solid var(--black); padding: 32px 24px; text-align: center; }

.final h2 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1; margin: 0 0 16px; }

.final p { max-width: 60ch; margin: 0 auto 24px; color: var(--grey); }

/* Footer */
.ftr { background: var(--black); color: #ccc; padding: 22px 0; font-size: .9rem; }

.ftr a { color: var(--white); }

.ftr__inner { display: grid; gap: 4px; }

.ftr p { margin: 0; }

@media (max-width: 480px) {
  .label__fields div { grid-template-columns: 1fr; gap: 0; }
  .hdr__brand { font-size: .8rem; letter-spacing: .02em; }
  .hdr__cta { font-size: .85rem; padding: 5px 8px; }
}

@media (min-width: 760px) {
  .facts__row { grid-template-columns: repeat(5, 1fr); }
  .facts__row div { border-bottom: 0; }
  .facts__row div:last-child { border-right: 0; }
  .lessons { grid-template-columns: 1fr 1fr; }
  .lessons li:nth-child(odd) { border-right: 2px solid var(--black); }
  .lessons li:nth-child(3) { border-bottom: 0; }
  .ftr__inner { grid-template-columns: 1fr auto; }
}

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.2fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
