/* contracts.css — Careers hub and Dedicated routes: contract components */

/* In-page links under the hero */
.anchor-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.anchor-strip .container { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.anchor-strip a { text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.95rem; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.anchor-strip a:hover { border-color: var(--ink); transform: translateY(-1px); }
.anchor-strip a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Two ways to drive: flexible shifts vs a dedicated contract */
.mode-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; margin-top: 32px; }
.mode-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 34px 32px 26px; }
.mode-card .mode-line { display: block; width: 100%; max-width: 220px; height: 30px; margin-bottom: 20px; }
.mode-line .ln { stroke: #A9B9CC; }
.mode-line .st { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.mode-tag { align-self: flex-start; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--paper-alt); color: var(--ink); }
.mode-card h3 { font-size: 1.45rem; margin: 14px 0 8px; }
.mode-card > p { color: var(--muted); margin-bottom: 20px; }
.mode-list { list-style: none; padding: 0; margin: auto 0 0; }
.mode-list li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); }
.mode-list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--amber); background: var(--white); }
.mode-card--feature { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 26px 44px -30px rgba(11, 30, 51, 0.7); }
.mode-card--feature h3 { color: #fff; }
.mode-card--feature > p { color: #B7C5D6; }
.mode-card--feature .mode-tag { background: var(--amber); color: var(--ink); }
.mode-card--feature .mode-list li { border-color: rgba(255, 255, 255, 0.16); }
.mode-card--feature .mode-list li::before { background: var(--ink); }
.mode-card--feature .mode-line .ln { stroke: var(--amber); }
.mode-card--feature .mode-line .st { fill: var(--ink); stroke: var(--amber); }
@media (max-width: 860px) { .mode-grid { grid-template-columns: 1fr; } }

/* Requirements + "good to know" */
.check-list--one { grid-template-columns: 1fr; margin-top: 18px; }
.two-col--top { align-items: start; }
.callout { border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; background: var(--white); padding: 26px 28px; }
.callout h3 { margin-bottom: 10px; }
.callout p { color: var(--muted); margin: 0 0 12px; }
.callout p:last-child { margin-bottom: 0; }

/* Link-out band that ties the two audiences together */
.contract-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; margin-top: 48px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contract-band h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 8px; max-width: 30em; }
.contract-band p { margin: 0; color: var(--muted); max-width: 58ch; }

/* Comparison table */
.compare-wrap { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.45; }
.compare thead th { border-top: 0; background: var(--paper-alt); font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); }
.compare tbody th { width: 17%; color: var(--muted); font-weight: 650; font-size: 0.95rem; }
.compare td { color: var(--ink); }
.compare .is-dedicated { background: #FFF5E0; }
.compare thead .is-dedicated { background: var(--amber); }
@media (max-width: 760px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-top: 1px solid var(--line); padding: 6px 0 10px; }
  .compare tr:first-child { border-top: 0; }
  .compare th, .compare td { border: 0; padding: 6px 18px; }
  .compare tbody th { width: 100%; padding-top: 14px; color: var(--ink); font-size: 1.02rem; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
  .compare .is-dedicated { background: #FFF5E0; }
}

.agree-note { margin: 26px 0 0; padding-left: 18px; border-left: 4px solid var(--amber); color: var(--muted); max-width: 64ch; }

/* Application tabs (the two forms live in one section) */
.apply-tabs { display: none; gap: 8px; flex-wrap: wrap; margin: 26px 0 6px; }
.js .apply-tabs { display: flex; }
.apply-tab { font: inherit; font-weight: 650; padding: 11px 20px; border-radius: 999px; border: 1.5px solid #A9B9CC; background: transparent; color: var(--ink); cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.apply-tab:hover { border-color: var(--ink); }
.apply-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.apply-tab:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.apply-panel[hidden] { display: none; }
.apply-panel { margin-top: 28px; }
.js .apply-panel { margin-top: 28px; }
.apply-panel > h3 { font-size: 1.35rem; margin-bottom: 6px; }
.apply-panel > p { color: var(--muted); margin: 0; }

@media print { .anchor-strip, .apply-tabs { display: none; } }

