/* T6: Careers and Privacy. Long-form copy inside a section card, in the existing idiom
   (DESIGN.md R8): site.css owns .prose type and colour; this file adds the layout, the
   reading rhythm and the careers role tiles. Tokens only, no new colours. */

/* The section-head grid, held for the whole card: the index chip rides the left rail
   and the copy keeps its 70ch measure on the right. */
.doc { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } }

/* Reading rhythm */
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 var(--s-4); text-wrap: pretty; }
.prose h2 { line-height: var(--lh-snug); }
.prose h2:not(:first-child) { margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.prose ul { display: grid; gap: var(--s-2); margin: 0 0 var(--s-4); padding-left: 1.25em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--fg); font-weight: 500; }
.prose a { text-decoration: underline; text-underline-offset: 3px; } /* site.css removes every underline; in copy, hue alone does not mark a link (WCAG 1.4.1) */

/* The policy's contact block: a frosted tile, like every panel inside a card */
.prose__contact { margin-top: var(--s-5); padding: var(--s-5); font-style: normal; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--tile-shadow); }
.prose__contact p { margin: 0; }
.prose__contact p + p { margin-top: var(--s-1); font-size: var(--t-body); }

/* Careers hero: the mono // label stays (D9), silent to screen readers; the markup carries the plain words */
.page-hero .eyebrow { display: block; margin: 0 0 var(--s-4); }
.page-hero .eyebrow::before { content: "// "; content: "// " / ""; }

/* Careers roles: separated glass tiles with the 12px gap and the hover lift (translate: GSAP owns transform) */
.roles { display: grid; gap: 12px; margin-top: var(--s-6); }
.role { display: grid; gap: var(--s-4); justify-items: start; padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-2); box-shadow: var(--tile-shadow); transition: translate 200ms, border-color 200ms; }
.role:hover { translate: 0 -3px; border-color: var(--line-hi); }
.role__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-4); width: 100%; }
.role__title { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: var(--t-display-xs); line-height: var(--lh-snug); color: var(--fg); }
.role__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.role--general { margin-top: var(--s-5); }
@media (max-width: 760px) {
  .role { padding: var(--s-5); }
  .role .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .role { transition: none; }
  .role:hover { translate: none; }
}
