/* =========================================================================
   RESUME ATS CHECKER — "AUDIT MARK" DESIGN SYSTEM
   A resume report should look like what it is: a precise, credible
   inspection document — not a generic SaaS gradient page.
   ========================================================================= */

:root {
  /* ---- Color: paper + ink + a single "verified" blue, plus report semantics ---- */
  --paper: #F5F6F2;
  --paper-dim: #EEEFE9;
  --surface: #FFFFFF;
  --ink: #12172B;
  --ink-soft: #4B5169;
  --ink-faint: #848B9E;
  --line: #DCE0DD;
  --line-strong: #C3C8C2;

  --accent: #1F4FD8;
  /* precision blue — the "verified" mark color */
  --accent-deep: #122E86;
  --accent-tint: #E9EEFC;

  --pass: #157A4F;
  --pass-tint: #E7F3EC;
  --warn: #B4740E;
  --warn-tint: #FBF1DF;
  --fail: #B23A2E;
  --fail-tint: #FBEAE8;

  /* ---- Type ---- */
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(18, 23, 43, 0.06);
  --shadow-md: 0 6px 20px rgba(18, 23, 43, 0.08);
  --shadow-lg: 0 20px 48px rgba(18, 23, 43, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-nav__brand a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 760px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(34px, 4.6vw, 54px);
}

h2 {
  font-size: clamp(26px, 3.2vw, 36px);
}

h3 {
  font-size: 20px;
}

p {
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

/* ---- "Ticket stub" card: the recurring signature motif ---- */
.stub {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.stub__perf {
  position: relative;
  border-top: 1.5px dashed var(--line-strong);
  margin: 0 28px;
}

.stub__perf::before,
.stub__perf::after {
  content: '';
  position: absolute;
  top: -9px;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-radius: 50%;
}

.stub__perf::before {
  left: -37px;
}

.stub__perf::after {
  right: -37px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 14px 26px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

.tag--pass {
  background: var(--pass-tint);
  color: var(--pass);
}

.tag--warn {
  background: var(--warn-tint);
  color: var(--warn);
}

.tag--fail {
  background: var(--fail-tint);
  color: var(--fail);
}

.tag--info {
  background: var(--accent-tint);
  color: var(--accent-deep);
}

.section {
  padding: 88px 0;
}

.section--sm {
  padding: 56px 0;
}

.section--tint {
  background: var(--paper-dim);
}

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}



.site-nav__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.site-nav__links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.site-nav__links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 860px) {
  .site-nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 16px;
  }

  .site-nav__links.open {
    display: flex;
  }

  .site-nav__toggle {
    display: block;
  }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
  margin-top: 40px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

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

.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Breadcrumb ---- */
.crumb {
  font-size: 13px;
  color: var(--ink-faint);
  padding: 20px 0;
}

.crumb a {
  color: var(--ink-faint);
}

.crumb a:hover {
  color: var(--accent);
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}