/* Jobosaur website: home, privacy, terms, delete account.
   Brand: orange #F08A30 · green #8BA878 · cream #F3E6C4 · ink #1E1E1E.
   The quote (/q) and invoice (/i) pages have their own styles. */

:root {
  --bg: #FBF6EA;
  --card: #FFFFFF;
  --ink: #1E1E1E;
  --muted: #5B574F;
  --line: rgba(30, 30, 30, 0.10);
  --orange: #F08A30;
  --orange-soft: rgba(240, 138, 48, 0.14);
  --green: #8BA878;
  --green-soft: rgba(139, 168, 120, 0.20);
  --cream: #F3E6C4;
  --radius: 18px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12110E;
    --card: #1C1A16;
    --ink: #F2EBDD;
    --muted: #B3AC9D;
    --line: rgba(255, 255, 255, 0.11);
    --orange-soft: rgba(240, 138, 48, 0.18);
    --green-soft: rgba(139, 168, 120, 0.18);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12110E;
  --card: #1C1A16;
  --ink: #F2EBDD;
  --muted: #B3AC9D;
  --line: rgba(255, 255, 255, 0.11);
  --orange-soft: rgba(240, 138, 48, 0.18);
  --green-soft: rgba(139, 168, 120, 0.18);
  color-scheme: dark;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ===== HEADER ===== */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }
.wordmark { font-size: 24px; font-weight: 800; }
.site-header nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 560px) { .site-header nav { display: none; } }

/* ===== HOME ===== */
.hero { padding: 56px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; margin-bottom: 18px; }
.hero h1 .accent { color: var(--orange); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 340px; height: auto; }
@media (max-width: 760px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 200px; }
  .cta-row { justify-content: center; }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none;
}
.pill-primary { background: var(--orange); color: #1E1E1E; }
.pill-quiet { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 6px; background: var(--green-soft); color: var(--ink);
  margin-bottom: 16px;
}

.features { padding: 40px 0 24px; }
.features h2 { font-size: 30px; font-weight: 800; margin-bottom: 20px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--orange-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--orange); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 15px; color: var(--muted); }

.closer { padding: 32px 0 56px; }
.closer .card { display: flex; align-items: center; gap: 24px; padding: 28px; }
.closer img { width: 120px; height: auto; flex-shrink: 0; }
.closer h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.closer p { color: var(--muted); }
@media (max-width: 560px) { .closer .card { flex-direction: column; text-align: center; } }

/* ===== LEGAL PAGES ===== */
.doc { padding: 40px 0 56px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.doc .summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 32px;
}
.doc .summary h2 { margin-top: 0; font-size: 18px; }
.doc h2 { font-size: 23px; font-weight: 700; margin: 34px 0 10px; }
.doc h3 { font-size: 18px; font-weight: 700; margin: 20px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc li { margin: 6px 0; }
.doc .muted { color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; }
.table-scroll { overflow-x: auto; }

.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li {
  counter-increment: step; position: relative; padding-left: 46px; margin: 14px 0 !important;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 10px; background: var(--orange-soft);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.callout {
  border-left: 4px solid var(--orange); background: var(--orange-soft);
  padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0;
}
.doc-hero { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }
.doc-hero img { width: 84px; height: auto; flex-shrink: 0; }

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
