* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #0A0F1C;
  --white: #FFFFFF;
  --accent: #C8262A;
  --navy: #002768;
  --gray-bg: #282828;
  --nav-height: 100px;
}
body {
  font-family: "Archivo", sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ── HEADER ─────────────────────────────────────────────────── */
header {
  background: var(--ink);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-height);
  transition: height 0.3s ease;
  border-bottom: 2px solid rgba(200, 38, 42, .3);
  width: 100%;
}
header.scrolled {
  height: 50px;
  --nav-height: 50px;
}
header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.nav-logo img {
  height: 100px;
  width: 150px;
  object-fit: contain;
  transition: all 0.3s ease;
}
header.scrolled .nav-logo img {
  height: 50px;
  width: 75px;
}
.nav-logo-text {
  font-family: "Archivo Black", sans-serif;
  font-size: 28px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 900;
  transition: font-size 0.3s ease;
}
header.scrolled .nav-logo-text {
  font-size: 16px;
}
.nav-logo-text .tough { color: var(--accent); }
.nav-logo-text .jobs { color: var(--white); }

nav {
  display: flex;
  gap: 28px;
  flex-wrap: nowrap;
  align-items: center;
  flex: 1;
  justify-content: center;
}
nav a {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-right {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: auto;
}
.nav-phone {
  color: var(--white);
  text-decoration: none;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.btn {
  background: var(--accent);
  color: var(--white);
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: "Archivo", sans-serif;
  text-transform: uppercase;
}
.btn:hover {
  opacity: 0.9;
}

main { min-height: 400px; padding: 0 0 80px; }
h1 { font-family: "Archivo Black", sans-serif; font-size: clamp(44px, 6vw, 72px); text-transform: uppercase; margin: 12px 0; line-height: 0.95; letter-spacing: -0.01em; }
p { margin: 16px 0; }
a { color: var(--accent); }
a:hover { color: var(--navy); }

/* ── LEGAL PAGE ─────────────────────────────────────────────── */
.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 64px;
  border-bottom: 4px solid var(--accent);
}
.legal-hero .eyebrow {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent);
}
.legal-hero h1 { color: var(--white); }
.legal-hero .accent { color: var(--accent); }
.legal-hero .updated {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.legal-hero .lede {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin: 0;
}

.legal-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-top: 64px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 120px;
  align-self: start;
}
.legal-toc h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  line-height: 1.2;
  color: var(--accent);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(10,15,28,.14);
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: baseline;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  opacity: 0.92;
  transition: color .15s ease, opacity .15s ease;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
}
.legal-toc a:hover { color: var(--accent); opacity: 1; }
.legal-toc a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.legal-body { max-width: 780px; }
.legal-section { padding: 0 0 40px; scroll-margin-top: 120px; }
.legal-section h2 {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(10,15,28,.1);
}
.legal-section h2 .num {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
}
.legal-section h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14px;
  color: var(--navy);
  margin: 24px 0 6px;
}
.legal-section p { font-size: 15.5px; line-height: 1.7; color: #26303f; }
.legal-section ul {
  margin: 12px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-section li {
  font-size: 15.5px;
  line-height: 1.6;
  color: #26303f;
  padding-left: 22px;
  position: relative;
}
.legal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.callout {
  background: #F4F5F7;
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  margin: 18px 0;
}
.callout p { margin: 0; color: var(--ink); }

@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; top: auto; }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  margin-top: 80px;
}
