/* Job Search Bot -- jobsearchbot.app. One stylesheet, no external fonts or CDNs
   (the page's CSP only allows tally.so for the form). */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --alt: #efece4;
  --ink: #14213d;
  --muted: #566074;
  --line: #ddd8cc;
  --accent: #0f6f66;
  --on-accent: #ffffff;
  --focus: #0f6f66;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1320;
    --surface: #151d2f;
    --alt: #111827;
    --ink: #eef1f7;
    --muted: #a3adc2;
    --line: #263149;
    --accent: #2dd4bf;
    --on-accent: #04201d;
    --focus: #2dd4bf;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1320; --surface: #151d2f; --alt: #111827; --ink: #eef1f7; --muted: #a3adc2;
  --line: #263149; --accent: #2dd4bf; --on-accent: #04201d; --focus: #2dd4bf;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); text-decoration: none; font-weight: 700; }
.brand span { color: var(--ink); letter-spacing: -0.01em; }
nav { display: flex; align-items: center; gap: 20px; }
nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--accent); }
nav .btn { color: var(--on-accent); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  padding: 13px 22px; border-radius: 10px; font-weight: 650; text-decoration: none;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: var(--on-accent); }
.btn-small { padding: 8px 14px; font-size: 15px; }
.link { font-weight: 600; }

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 6vw, 54px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 22px; max-width: 18em; }
.lede { font-size: 19px; color: var(--muted); max-width: 40em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 0 0 14px; }
.fine { font-size: 14px; color: var(--muted); margin: 0; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.section-lede { color: var(--muted); max-width: 42em; margin: 0 0 32px; }

/* Steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.steps p { margin: 0; color: var(--muted); }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 14px; }
.promise { margin: 32px 0 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; }

/* Plans */
.plans { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; margin-bottom: 4px; }
.price { margin: 0 0 6px; color: var(--muted); }
.price span { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.plan-for { font-weight: 600; margin: 0 0 16px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); }
.plan li { margin-bottom: 10px; }

/* Form */
.note { font-size: 15px; color: var(--muted); border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 14px 18px; margin: 0 0 24px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; }
.form-card iframe { display: block; border: 0; min-height: 560px; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style-position: outside; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Consent line above the form */
.consent { font-size: 15px; margin: 0 0 16px; }

/* Long-form document (privacy notice) */
.doc-title { font-size: clamp(28px, 5vw, 42px); max-width: none; margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.contact { padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border: 1px solid var(--line); }
th { background: var(--alt); font-weight: 650; }

/* Footer */
.site-footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer p { margin: 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Mobile */
@media (max-width: 860px) {
  .steps, .plans { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  nav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
