/* Job pages ("sell jobs, not apps") and the homepage job grid */
.job-hero { padding-top: 48px; padding-bottom: 8px; max-width: 880px; text-align: left; }
.job-hero .job-kicker { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--success); margin: 0 0 10px; }
.job-hero h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 2.6rem; line-height: 1.05; margin: 0 0 16px; letter-spacing: .01em; }
.job-hero .job-lede { font-size: 1.15rem; color: var(--text-muted); margin: 0 0 22px; }
.job-hero .job-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin: 0; }
.job-hero .job-actions a.alt { color: var(--accent); font-weight: 600; }

.job-section { max-width: 880px; }
.job-section h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; margin: 0 0 14px; }
.job-section > p { color: var(--text-muted); }

.job-pain { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.job-pain li { background: var(--bg-alt); border: 1px solid var(--border); border-left: 5px solid var(--accent); padding: 12px 16px; border-radius: var(--radius); }

.job-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.job-steps > li { counter-increment: s; position: relative; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px 18px 66px; }
.job-steps > li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--success); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.1rem; }
.job-steps h3 { margin: 0 0 6px; font-size: 1.08rem; }
.job-steps p { margin: 0 0 6px; color: var(--text-muted); }
.job-steps .tool { font-size: .92rem; margin: 6px 0 0; }
.job-steps .tool a { font-weight: 600; }

.job-table { width: 100%; border-collapse: collapse; background: var(--bg-alt); border: 1px solid var(--border); font-size: .95rem; }
.job-table th, .job-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.job-table th { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.job-table td.p { white-space: nowrap; font-weight: 600; }
.job-scroll { overflow-x: auto; }

.job-cost { background: var(--bg-alt); border: 2px solid var(--success); border-radius: var(--radius); padding: 20px 22px; }
.job-cost h2 { margin-bottom: 10px; }
.job-cost ul { margin: 0; padding-left: 1.1em; }
.job-cost li { margin-bottom: 6px; }
.job-cost .fine { margin: 10px 0 0; font-size: .9rem; color: var(--text-muted); }

.job-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.job-others a { display: block; background: var(--bg-alt); border: 1px solid var(--border); padding: 14px 16px; border-radius: var(--radius); font-weight: 600; color: var(--text); text-decoration: none; }
.job-others a span { display: block; font-weight: 400; font-size: .9rem; color: var(--text-muted); margin-top: 4px; }
.job-others a:hover { border-color: var(--accent); }

/* homepage */
.jobs-home { padding-top: 40px; }
.jobs-home h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 2.6rem; line-height: 1.05; margin: 0 0 12px; text-align: center; letter-spacing: .01em; }
.jobs-home .jobs-lede { text-align: center; color: var(--text-muted); font-size: 1.15rem; max-width: 760px; margin: 0 auto 28px; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.job-card { display: flex; flex-direction: column; background: var(--bg-alt); border: 1px solid var(--border); border-top: 5px solid var(--success); border-radius: var(--radius); padding: 18px 20px; color: var(--text); text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.job-card:hover { border-color: var(--accent); text-decoration: none; }
.job-card h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; margin: 0 0 8px; }
.job-card p { margin: 0 0 12px; color: var(--text-muted); font-size: .95rem; flex: 1; }
.job-card .uses { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--success); margin: 0 0 8px; flex: 0; }
.job-card .go { color: var(--accent); font-weight: 600; flex: 0; margin: 0; }
.jobs-promise { text-align: center; margin: 22px auto 0; color: var(--text-muted); font-size: .98rem; max-width: 760px; }

@media (max-width: 600px) {
  .job-hero h1, .jobs-home h1 { font-size: 1.85rem; }
  .job-steps > li { padding-left: 58px; }
}
@media (max-width: 600px) { .site-header .nav-extra { display: none; } }
@media (max-width: 600px) { .job-table td.p { white-space: normal; } .job-table th, .job-table td { padding: 9px 10px; } }

/* "go-to" buttons: the first tool named in each step becomes a button */
.job-steps .tool { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.job-steps .tool a:first-of-type { display: inline-block; background: var(--success); color: #fff; padding: 6px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.job-steps .tool a:first-of-type:hover { filter: brightness(1.1); text-decoration: none; }
.job-steps .tool a:first-of-type::after { content: " \2192"; }
.job-cost .cost-go { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.job-card .go { display: inline-block; align-self: flex-start; margin-top: auto; background: var(--success); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 700; }
.job-card:hover .go { filter: brightness(1.1); }

/* job card headings: left-aligned like the card text, and wrapped evenly so no word sits alone on a line */
.job-card h2 { text-align: left; text-wrap: balance; }
