/* Shiftclub legal pages — visual language from Claude Design concept
   "1A · Pit Wall" (condensed chrome, red accent, white surface). Barlow
   Condensed for chrome/headings, Barlow for body copy. */

:root {
  --bg: #ffffff;
  --paper: #f6f4f2;
  --ink: #161314;
  --body: rgba(22, 19, 20, 0.85);
  --sub: rgba(22, 19, 20, 0.5);
  --nav-muted: rgba(22, 19, 20, 0.55);
  --line: rgba(0, 0, 0, 0.09);
  --red: #b3261e;
  --footer-bg: #161314;
  --footer-text: rgba(255, 255, 255, 0.62);
  --footer-muted: rgba(255, 255, 255, 0.35);
  --logo-plate: block;
  --logo-track: #e9e5df;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Barlow, system-ui, sans-serif;
}

a {
  color: inherit;
}

.top-bar {
  height: 6px;
  background: var(--red);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 56px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand svg {
  display: block;
  flex-shrink: 0;
}

/* Mirrors ShiftclubIcon's light/"plateless" dark treatment (see
   src/components/shiftclub-icon.tsx): dark mode drops the white plate +
   ink outline entirely so the mark sits directly on the page background,
   and the empty track becomes translucent white instead of warm beige. */
.logo-plate {
  display: var(--logo-plate);
}

.logo-track {
  stroke: var(--logo-track);
}

.logo-arc {
  stroke: var(--red);
}

.logo-needle {
  stroke: var(--ink);
}

.logo-hub {
  fill: var(--ink);
}

.brand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-nav a {
  text-decoration: none;
  color: var(--nav-muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.header-nav a:hover {
  color: var(--ink);
}

.header-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--red);
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.doc-eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
}

.doc-updated {
  font-size: 14.5px;
  color: var(--sub);
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.doc-updated strong {
  color: var(--ink);
  font-weight: 600;
}

main > p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
  margin: 0 0 20px;
}

h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
}

h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin: 32px 0 10px;
}

p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
  margin: 0 0 18px;
}

ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 10px;
}

li ul {
  margin-top: 10px;
  margin-bottom: 4px;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

a.inline-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc-caps p {
  font-size: 14.5px;
  letter-spacing: 0.01em;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0 24px;
}

.doc-disclaimer {
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sub);
}

footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 44px 56px 34px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: 13px;
  color: var(--footer-text);
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: var(--footer-muted);
}

@media (max-width: 640px) {
  .header {
    padding: 16px 20px;
  }

  .header-nav {
    gap: 18px;
    font-size: 12px;
  }

  main {
    padding: 40px 20px 72px;
  }

  h1 {
    font-size: 32px;
  }

  footer {
    padding: 36px 20px 26px;
  }
}
