/* Joblock — shared site styles. No frameworks, no build step. */

:root {
  --ivory: #f5f1ea;
  --ivory-dim: #ece6d9;
  --teal: #1f6b57;
  --teal-dark: #164e40;
  --gold: #c9a227;
  --ink: #2b2a28;
  --ink-soft: #55524b;
  --line: #ddd4c0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--teal-dark);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

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

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

header.site {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--teal-dark);
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand .mark svg {
  width: 16px;
  height: 16px;
}

.brand .name {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--teal-dark);
}

nav.site-nav a {
  margin-left: 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
}

nav.site-nav a:hover {
  color: var(--teal);
}

main {
  padding: 48px 0 64px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
}

footer.site a {
  color: var(--ink-soft);
}

footer.site a:hover {
  color: var(--teal);
}

.gold-rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border: none;
  border-radius: 2px;
  margin: 22px 0;
}

section.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

h3 {
  font-size: 1.05rem;
  margin: 20px 0 6px;
}

p {
  margin: 0 0 14px;
}

.effective-date {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.faq dt {
  font-weight: 600;
  color: var(--teal-dark);
  margin-top: 20px;
}

.faq dt:first-child {
  margin-top: 0;
}

.faq dd {
  margin: 6px 0 0;
  color: var(--ink);
}

code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--ivory-dim);
  padding: 1px 5px;
  border-radius: 4px;
}
