/* ==========================================================================
   company-pages.css — Careers, events, the launch playbook, and the privacy policy.
   These pages use the homepage system (css/home.css, `main.hp`).
   This file adds only the parts that home.css, trust.css, and pages.css lack.
   ========================================================================== */

/* ----- Careers: open roles. Each row shows the team, the location, and the action. ----- */
.hp .roles span { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.hp .roles .link { margin-left: auto; font-style: normal; font-size: 16px; }

/* ----- Events: the calendar ----- */
.hp .calendar .pill { margin-top: 20px; }
.hp .calendar h3 { margin-top: 14px; font: 600 24px/1.15 var(--display); letter-spacing: -0.02em; }
.hp .calendar p { max-width: 36ch; }
.hp .calendar .meta { font-size: 14.5px; color: var(--ink-mute); }
.hp .calendar .link { margin-top: 18px; }

/* A form card inside the closing panel keeps its own text colours. */
.hp .close-panel:has(.ask) { align-items: center; }
.hp .close-panel .ask form { margin: 0; }
.hp .close-panel .ask label:first-child { margin-top: 0; }
.hp .close-panel .ask .fine { margin-top: 16px; font-size: 13.5px; color: var(--ink-mute); }
.hp .close-panel .ask .state { max-width: none; font-size: 16px; color: #0B6B34; }
.hp .close-panel .ask .state.w-form-fail { color: #9B1C1C; }

/* ----- Privacy policy: legal prose with a list of sections ----- */
.hp .legal { display: grid; grid-template-columns: minmax(0, 72ch) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.hp .prose h3 { margin-top: 32px; }
.hp .toc { order: 2; position: sticky; top: 112px; padding-left: 24px; border-left: 1px solid var(--line-strong); font-size: 15px; }
.hp .toc b { font-weight: 600; color: var(--ink); }
.hp .toc li { margin-top: 10px; }
.hp .toc a { color: var(--ink-soft); transition: color 150ms; }
.hp .toc a:hover { color: var(--blue); }
.hp .prose .contact { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.hp .prose .contact .btn { margin-top: 8px; }

@media (max-width: 900px) {
  .hp .legal { grid-template-columns: minmax(0, 1fr); }
  .hp .toc { order: 0; position: static; padding: 0 0 32px; border-left: 0; border-bottom: 1px solid var(--line-strong); }
}
@media (max-width: 560px) { .hp .stats.two { grid-template-columns: minmax(0, 1fr); } }
