/* Hiring guides: /compare, /compare/<slug>, /hire/<slug>.
   Built on site.css's tokens and classes; only what those pages add lives here. */

.g-tight { padding-top: 0; }
.page-top .g-h1 { font-size: clamp(44px, 5.6vw, 84px); max-width: 15em; }
.g-h2s { font-size: clamp(36px, 4.2vw, 56px); }
.g-sub { margin: 20px 0 0; max-width: 30em; font-size: 17px; line-height: 1.6; color: var(--gray-11); }

/* Hairline sentence lists */
.g-list { list-style: none; margin: 0; padding: 0; }
.g-list li { padding: 20px 0; border-top: 1px solid var(--gray-a3); font-size: 17px; line-height: 1.55; color: var(--gray-12); }
.g-list li:last-child { border-bottom: 1px solid var(--gray-a3); }

/* Fit and not fit, side by side */
.g-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.g-fit > div { padding: 28px; border-radius: 18px; background: var(--gray-a2); box-shadow: inset 0 0 0 1px var(--gray-a3); }
.g-fit h3 { margin: 0 0 16px; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
.g-fit .g-list li { color: var(--gray-11); padding-left: 22px; position: relative; }
.g-fit .g-list li::before { content: ""; position: absolute; left: 0; top: 29px; width: 10px; height: 1.5px; border-radius: 1px; background: var(--gray-11); }
.g-fit .g-yes li::before { background: var(--mint); }

/* The four terms */
.g-terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--gray-a3); border-bottom: 1px solid var(--gray-a3); }
.g-terms li { padding: 28px 24px 28px 0; }
.g-terms li + li { padding-left: 24px; border-left: 1px solid var(--gray-a3); }
.g-terms b { display: block; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -0.01em; color: var(--strong); }
.g-terms span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--gray-11); }

/* Comparison tables */
.g-scroll { margin-top: 48px; overflow-x: auto; }
.g-table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.55; }
.g-table th, .g-table td { text-align: left; vertical-align: top; padding: 20px 24px 20px 0; border-top: 1px solid var(--gray-a3); }
.g-table tr:last-child th, .g-table tr:last-child td { border-bottom: 1px solid var(--gray-a3); }
.g-table td { color: var(--gray-11); }
.g-vs { table-layout: fixed; }
.g-vs thead th { border-top: 0; padding-bottom: 16px; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--gray-12); }
.g-vs thead th:last-child { color: var(--mint); }
.g-vs td + td, .g-vs th + th { padding-left: 24px; }
.g-dp th { width: 30%; font-weight: 500; color: var(--gray-12); }

/* Link cards */
.g-links { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.head + .g-links { margin-top: 0; }
.g-links-2 { grid-template-columns: repeat(2, 1fr); }
.g-links a { display: block; height: 100%; padding: 24px; border-radius: 18px; background: var(--gray-a2); box-shadow: inset 0 0 0 1px var(--gray-a3); transition: background .2s var(--ease); }
.g-links a:hover { background: var(--gray-a3); }
.g-links b { display: block; font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--gray-12); }
.g-links span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--gray-11); }

/* The hub's role index */
.g-group { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding: 40px 0; border-top: 1px solid var(--gray-a3); scroll-margin-top: 96px; }
.g-group:last-child { border-bottom: 1px solid var(--gray-a3); }
.g-group h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.01em; }
.g-group p { margin: 10px 0 0; max-width: 18em; font-size: 15px; line-height: 1.5; color: var(--gray-11); }
.g-index { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.g-index li { break-inside: avoid; }
.g-index a { display: block; padding: 7px 0; font-size: 16px; line-height: 1.4; color: var(--gray-11); transition: color .2s var(--ease); }
.g-index a:hover { color: var(--gray-12); }

/* One client line */
.g-quote { margin: 0; max-width: 40em; }
.g-quote blockquote { margin: 0 0 20px; font-family: var(--display); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25; letter-spacing: -0.01em; color: var(--gray-12); }
.g-quote .person a { text-decoration: underline; text-decoration-color: var(--gray-a3); text-underline-offset: 3px; }

@media (max-width: 920px) {
  .g-fit, .g-links, .g-links-2 { grid-template-columns: 1fr; }
  .g-terms { grid-template-columns: 1fr 1fr; }
  .g-terms li:nth-child(3) { padding-left: 0; border-left: 0; }
  .g-terms li:nth-child(n+3) { border-top: 1px solid var(--gray-a3); }
  .g-group { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .g-sub, .g-list li, .g-table { font-size: 16px; }
  .g-fit > div { padding: 20px; }
  .g-terms b { font-size: 36px; }
  .g-terms li { padding: 20px 16px 20px 0; }
  .g-terms li + li { padding-left: 16px; }
  .g-terms li:nth-child(3) { padding-left: 0; }
  .g-index { columns: 1; }
  .g-vs, .g-vs thead, .g-vs tbody, .g-vs tr, .g-vs th, .g-vs td { display: block; }
  .g-vs thead { display: none; }
  .g-vs td { padding: 16px 0; border-top: 0; }
  .g-vs tr { border-top: 1px solid var(--gray-a3); }
  .g-vs tr:last-child td { border-bottom: 0; }
  .g-vs tr:last-child { border-bottom: 1px solid var(--gray-a3); }
  .g-vs td + td { padding-left: 0; padding-top: 0; }
  .g-vs td::before { display: block; margin-bottom: 4px; font-size: 14px; color: var(--gray-12); font-weight: 500; content: attr(data-label); }
  .g-vs td:nth-child(2)::before { color: var(--mint); }
  .g-dp th, .g-dp td { display: block; width: auto; padding-right: 0; }
  .g-dp td { border-top: 0; padding-top: 0; }
  .g-dp tr:last-child th { border-bottom: 0; }
}
