/* Landing page sections added in v4.1: the job-board strip under the hero,
 * Compare, Career paths, and the FAQ. Kept apart from landing.css only so neither file
 * grows past a readable length; it relies on landing.css's tokens and on its
 * shared pieces (.section, .h2, .glass, .item, .co, .url-bar). */

/* ---------------------------------------------------------- board strip */
.boards { width: 100%; max-width: 1240px; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: -24px; position: relative; }
.boards-l { margin: 0; font: 500 13px 'DM Sans'; color: var(--muted); }
.marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
/* One flex track holding identical copies of the list (an even number). Each
   copy carries its own trailing gap as padding, so -50% lands exactly on a
   copy boundary and the loop has no seam. */
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track ul { display: flex; gap: 10px; padding: 2px 10px 2px 0; margin: 0; list-style: none; }
.marquee-track li {
  font: 600 15px 'DM Sans'; color: #3a3d52; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid #fff;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- compare */
.compare-panel {
  border-radius: 36px; padding: clamp(32px, 6vw, 72px); background: var(--ink); color: #fff;
  display: flex; flex-direction: column; gap: 40px;
}
.compare-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 48px; flex-wrap: wrap; }
.compare-head .h2 { margin: 0; max-width: 560px; }
.compare-head p { margin: 0; max-width: 380px; font: 400 17px/1.55 'DM Sans'; color: #b5b8d0; text-wrap: pretty; }
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.ccard { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.ccard.sheet { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.ccard.tackl { background: linear-gradient(135deg, #5b54ec, #4a41d9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 60px -30px rgba(74, 65, 217, .9); }
.ccard-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ccard-h b { font: 700 20px 'DM Sans'; letter-spacing: -.02em; }
.badge { font: 600 12px 'DM Sans'; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; white-space: nowrap; }
.ccard.tackl .badge { background: #fff; color: var(--accent-deep); }
.csteps { list-style: none; margin: 0; padding: 0; flex: 1; }
.csteps li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 400 16px 'DM Sans'; color: #e3e4f0; }
.csteps li:first-child { padding-top: 0; }
.csteps span { font: 600 13px 'DM Sans'; color: #8a8db0; }
.ccard-f { margin: 0; font: 500 14px 'DM Sans'; color: #b5b8d0; }
.ccard.tackl .ccard-f { color: #e8e6ff; }
.ccard.tackl .url-bar { border-color: #fff; box-shadow: 0 16px 30px -18px rgba(20, 16, 90, .7); }
.cfields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; align-content: start; }
.cfields div { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cfields span { font: 500 12px 'DM Sans'; color: #d9d5ff; }
.cfields b { font: 600 16px 'DM Sans'; }

/* --------------------------------------------------------- career paths */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; }
.paths-copy { display: flex; flex-direction: column; gap: 20px; }
.paths-copy .h2 { margin: 0; }
.paths-copy .h2 em { font-style: normal; color: var(--accent); }
.paths-copy p { margin: 0; font: 400 18px/1.6 'DM Sans'; color: var(--body); max-width: 520px; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px 'DM Sans'; color: var(--ink); padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .6); border: 1px solid #fff; transition: background .2s, color .2s;
}
.chip:hover { background: #fff; }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip span { font-weight: 500; color: var(--muted); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on span { color: #b5b8d0; }
.chip i { width: 8px; height: 8px; border-radius: 50%; }
.pcard { border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 40px 90px -50px rgba(60, 50, 160, .55); }
.pcard-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px; }
.pcard-h b { font: 700 18px 'DM Sans'; letter-spacing: -.01em; }
.pcard-h span { font: 500 13px 'DM Sans'; color: var(--muted); white-space: nowrap; }
.plist { list-style: none; margin: 0; padding: 0; min-height: 384px; display: flex; flex-direction: column; gap: 8px; }
.prow { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .85); gap: 12px; }
/* New roles: same layout as paths, copy on the right on wide screens. */
.roles .paths-copy { order: 2; }
/* Lives inside the Features section so the two share one tinted band (two
   adjacent translucent bands leave a hairline seam). 28px gap + 68px = the
   96px rhythm between sections. */
.roles { margin-top: 68px; }
.roles .kicker { font: 700 13px 'DM Sans'; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.roles .prow .pill { flex: none; }
@media (max-width: 980px) { .roles .paths-copy { order: 0; } }
.tag { font: 600 12px 'DM Sans'; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* Path colours: dot / tag background / tag text. */
.dot-product { background: #5146e5; }    .tag-product { background: #e4e2ff; color: #3d35c0; }
.dot-swe { background: #1f9d63; }        .tag-swe { background: #d8f0e3; color: #1f7a4d; }
.dot-consulting { background: #e8870c; } .tag-consulting { background: #fde9cc; color: #b86400; }
.dot-finance { background: #0e6b5c; }    .tag-finance { background: #d3ece7; color: #0e5a4d; }
.dot-design { background: #c8245a; }     .tag-design { background: #fbdbe7; color: #a81d4b; }

/* -------------------------------------------------------------------- faq */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item { border-radius: 18px; padding: 0 22px; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 600 17px/1.35 'DM Sans'; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; font: 500 22px/1 'DM Sans'; color: var(--accent); transition: transform .2s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.faq-item p { padding: 0 0 20px; font: 400 16px/1.6 'DM Sans'; color: var(--body); max-width: 680px; text-wrap: pretty; }

.foot small.tm { max-width: 420px; line-height: 1.5; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 760px) {
  .boards { margin-top: -16px; }
  .compare-panel { border-radius: 28px; padding: 32px 20px; gap: 28px; }
  .ccard { padding: 22px 18px; }
  .paths { gap: 32px; }
  .pcard { padding: 18px 14px; }
  .prow { padding: 12px; }
  .faq-item { padding: 0 16px; }
  .faq-item summary { font-size: 16px; }
}
@media (max-width: 420px) {
  .cfields { grid-template-columns: 1fr; }
}

/* landing.css shortens every animation to .01ms under reduced motion, which
   would turn an infinite marquee into a strobe. Stop it and wrap instead. */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; width: auto; justify-content: center; }
  .marquee-track ul { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee-track ul[aria-hidden] { display: none; }
}
