/* Easy HR's legal pages (privacy.html, terms.html): the site's dark green and amber, readable on a phone, and black on
   white when printed */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #04110d;
  --card: #071f18;
  --border: #0f3a2d;
  --text: #e3f3ec;
  --muted: #9cc9b7;
  --accent: #fbbf24;
  --accent-soft: #fcd34d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

a { color: var(--accent-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--accent); color: #0b0f0d; padding: 8px 12px; border-radius: 8px; z-index: 10; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: #061812;
}
.site-header .inner, main, .site-footer .inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; }
.brand span { color: var(--accent); }
.back-link { font-size: 14px; font-weight: 600; }

main { padding-top: 32px; padding-bottom: 48px; }

h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.2; margin: 0 0 8px; color: #fff; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.intro {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 28px;
}

nav.contents {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 32px;
}
nav.contents h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 6px; border: 0; padding: 0; }
nav.contents ol { margin: 0; padding-left: 22px; columns: 2 240px; column-gap: 28px; }
nav.contents li { margin: 2px 0; break-inside: avoid; font-size: 15px; }

section { scroll-margin-top: 16px; }
h2 {
  font-size: clamp(20px, 4.5vw, 24px);
  color: #fff;
  margin: 40px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
h3 { font-size: 18px; color: var(--accent-soft); margin: 24px 0 6px; }
p, li { color: var(--text); }
ul, ol { padding-left: 24px; }
li { margin: 6px 0; }
strong { color: #fff; }

.note {
  background: #0a2a20;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer { border-top: 1px solid var(--border); background: #061812; color: var(--muted); font-size: 14px; }
.site-footer .inner { padding-top: 18px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media print {
  :root { --bg: #fff; --card: #fff; --border: #bbb; --text: #000; --muted: #333; --accent: #000; --accent-soft: #000; }
  body { font-size: 12pt; }
  .site-header, .site-footer, .skip-link, nav.contents { display: none; }
  h1, h2, h3, strong { color: #000; }
  a { color: #000; }
}
