/* SafeHire public site. No web fonts, no scripts: it loads fast on a phone on mobile data. */
:root {
  --bg: #ffffff;
  --surface: #f5f7f6;
  --text: #101418;
  --muted: #56606b;
  --line: #dde3e0;
  --accent: #16794a;
  --accent-hover: #11643c;
  --hero: #0b3d35;
  --hero-2: #0f4d43;
  --warn-bg: #fff6e5;
  --warn-line: #f0c36a;
  --radius: 12px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1413;
    --surface: #161d1b;
    --text: #e8eeeb;
    --muted: #a3b0ab;
    --line: #2a3431;
    --accent: #3ecf86;
    --accent-hover: #5bdc9a;
    --hero: #06251f;
    --hero-2: #0a3129;
    --warn-bg: #2b2412;
    --warn-line: #7a5f22;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Myanmar",
    "Myanmar Text", Padauk, sans-serif;
}

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

.wrap { max-width: 64rem; margin: 0 auto; padding-inline: 1.25rem; }

/* ------------------------------------------------------------------ header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.brand img { width: 2rem; height: 2rem; }
.site-nav { display: flex; gap: 1.25rem; margin-left: auto; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* -------------------------------------------------------------------- hero */
.hero { background: var(--hero); color: #fff; overflow: hidden; position: relative; }
.hero::after {
  content: ""; position: absolute; width: 28rem; height: 28rem; border-radius: 50%;
  background: var(--hero-2); right: -9rem; top: -12rem; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-block: 4rem 3.5rem; }
.hero h1 { margin: 0 0 0.75rem; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; max-width: 22ch; }
.hero p { margin: 0 0 1.5rem; font-size: 1.15rem; max-width: 42rem; color: rgba(255, 255, 255, 0.88); }
.hero .my { font-size: 1rem; }
.badge { display: inline-block; margin-bottom: 1rem; padding: 0.2rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 0.85rem; }

/* ---------------------------------------------------------------- sections */
section { padding-block: 3rem; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.lead { color: var(--muted); max-width: 44rem; margin-top: 0; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.card p { margin: 0; color: var(--muted); }

.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.notice p { margin: 0; }

ol.steps { padding-left: 1.25rem; }
ol.steps li { margin-bottom: 0.5rem; }

/* -------------------------------------------------------------- legal text */
.prose { max-width: 46rem; padding-block: 2.5rem 3.5rem; }
.prose h1 { font-size: 2rem; margin: 0 0 0.25rem; }
.prose h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; }
.prose .updated { color: var(--muted); margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding-block: 1.5rem; }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-left: auto; }
.site-footer a { color: var(--muted); }

.mt { margin-top: 1rem; }
