/* The common tasks are real tool links and work without a script. */
.home-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 22px 0; }
.home-jobs a { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 9px; align-items: center; padding: 10px 12px; min-height: 64px; border: 1px solid var(--hero-proof-line); border-radius: 12px; background: var(--hero-proof-bg); color: var(--hero-title); text-decoration: none; }
.home-jobs a:hover { background: rgb(255 255 255 / 14%); border-color: var(--peach); }
.home-jobs a:focus-visible, .sample-pill:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.home-jobs a > span { grid-row: span 2; font-size: 23px; line-height: 1; text-align: center; color: var(--peach); }
.home-jobs b { font-size: 14px; line-height: 1.3; }
.home-jobs small { color: var(--hero-soft); font-size: 12px; line-height: 1.3; }
.sample-pill { border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 15px; background: var(--surface-subtle); color: var(--ink); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.sample-pill:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-dark); }
.sample-pill:disabled { opacity: .55; cursor: wait; }
.home-open .sample-note { color: var(--muted); font-size: 12px; line-height: 1.4; }
/* On a phone the five links become one row of chips that scrolls sideways inside itself: still one tap away, without
   stacking five tiles above the eight common-task cards (which would push those cards off the first screen). */
@media (max-width: 600px) {
  .home-jobs { display: flex; gap: 8px; margin: 16px -16px 14px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .home-jobs::-webkit-scrollbar { display: none; }
  .home-jobs a { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 999px; scroll-snap-align: start; white-space: nowrap; }
  .home-jobs a > span { font-size: 18px; }
  .home-jobs small { display: none; }
  /* The sample merge is a demo for wider screens; on a phone the open button and the eight task cards come first. */
  #home-try-sample, .home-open .sample-note { display: none; }
}
