/* Static info pages that share the home page's header and footer: /market/, /about/, /careers/, /careers/apply/.
   Loads after home.css (tokens: --ink, --stone, --lav-deep, --lav-mist, --soft, --line, --head, --sec, --gutter, --max). */

.pg { padding-top: 84px; }
.pg > section { padding-block: var(--sec); }
.pg-hero { padding-top: clamp(40px, 7vw, 96px) !important; }
.pg-hero h1 { font-size: clamp(2.4rem, 1rem + 5vw, 5.2rem); max-width: 16ch; }
.pg-lede { margin-top: 20px; max-width: 60ch; font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: var(--stone); line-height: 1.6; }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pg-h { font-size: clamp(1.8rem, 1rem + 2.6vw, 3.2rem); margin-bottom: clamp(20px, 3vw, 32px); }
.pg-cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 80px); align-items: start; }
.pg-cols h2 { font-size: clamp(1.8rem, 1rem + 2.4vw, 3rem); }
.pg-prose { display: grid; gap: 16px; color: var(--stone); font-size: 1.05rem; line-height: 1.7; max-width: 62ch; }
.pg-prose b { color: var(--ink); }
.pg-prose a { color: var(--lav-deep); font-weight: 600; text-underline-offset: 3px; }
.pg-grid3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-grid3 li { display: grid; gap: 8px; padding: 24px; border-radius: 24px; background: var(--soft); }
.pg-grid3 li:nth-child(2) { background: var(--lav-mist); } .pg-grid3 li:nth-child(3) { background: #fdf6dd; }
.pg-grid3 b { font-family: var(--head); font-size: 1.25rem; letter-spacing: -.03em; }
.pg-grid3 span { color: var(--stone); line-height: 1.5; }
@media (max-width: 860px) { .pg-cols, .pg-grid3 { grid-template-columns: 1fr; } }

/* ---------- Marketplace ---------- */
.mk-boxes { padding-top: 0 !important; }
.pc-ref { margin-top: 16px; display: inline-block; padding: 8px 14px; border-radius: 999px; background: #e6f6ec; color: #17653a; font-size: .9rem; font-weight: 600; }
.pc-ref[hidden] { display: none; }
.pg-band > .pg-band-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--lav-mist); }
.pg-band > .pg-band-in + .pg-band-in { margin-top: 14px; background: var(--soft); }
.pg-band h2 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); }
.pg-band p { margin-top: 6px; color: var(--stone); max-width: 52ch; }

/* ---------- About us ---------- */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(20px, 5vw, 70px); }
.ab-hero > * { margin: 0; }
.ab-art img { width: min(100%, 460px); height: auto; margin-inline: auto; }
@media (max-width: 860px) { .ab-hero { grid-template-columns: 1fr; } .ab-art { order: -1; } .ab-art img { width: min(70%, 320px); } }

/* role cards with hidden faces, in two looping strips (adapted from the AurbitX kit) */
main > section.tm { padding-inline: 0; overflow: hidden; }
main > section.tm > .tm-strip { max-width: none; }
.tm-head { text-align: center; padding-inline: var(--gutter); }
.tm-head .pg-h { margin-bottom: 0; }
.tm-lede { max-width: 56ch; margin: 14px auto clamp(28px, 4vw, 48px); color: var(--stone); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; }
.tm-lede b { color: var(--lav-deep); }
.tm-strip { position: relative; padding: 18px 0 48px; margin-bottom: -34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.tm-row { display: flex; width: max-content; animation: tmloop 70s linear infinite; }
.tm-rev .tm-row { animation-direction: reverse; animation-duration: 80s; }
.tm-strip:hover .tm-row, .tm-strip:focus-within .tm-row { animation-play-state: paused; }
@keyframes tmloop { to { transform: translateX(-50%); } }
.tm-card { flex: none; width: 236px; margin-right: 16px; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid #ececf2; box-shadow: 0 14px 30px -24px rgba(11, 13, 18, .35); transition: transform .35s var(--ease), border-color .3s; }
.tm-card:hover { transform: translateY(-5px); border-color: #d9cdfd; }
.tm-face { position: relative; flex: none; width: 58px; height: 58px; border-radius: 16px; overflow: hidden; background: #f2f1f6; }
.tm-face svg { position: absolute; inset: 8px 4px 0; width: calc(100% - 8px); height: auto; fill: #d8d5e2; filter: blur(.6px); }
.tm-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); transform: translateX(-120%); animation: tmshine 3.6s ease-in-out infinite; }
@keyframes tmshine { 60%, 100% { transform: translateX(120%); } }
.tm-q { position: absolute; right: 4px; bottom: 4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #7b4dff; color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
.tm-body { min-width: 0; }
.tm-no { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--lav-deep); }
.tm-body h3 { margin: 3px 0 4px; font-size: 14.5px; line-height: 1.2; letter-spacing: -.02em; }
.tm-body p { font-size: 12px; line-height: 1.45; color: var(--stone); }
.tm-soon { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: #9a98a6; }
@media (prefers-reduced-motion: reduce) {
  .tm-strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .tm-row { animation: none; } .tm-face::after { animation: none; } .tm-card[aria-hidden="true"] { display: none; }
}

/* ---------- Careers ---------- */
.cr-sub { position: sticky; top: 64px; z-index: 30; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gutter); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.cr-sub::-webkit-scrollbar { display: none; }
.cr-sub a { flex: none; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--stone); }
.cr-sub a:hover { background: var(--soft); color: var(--ink); }
.cr-sub a:last-child { margin-left: auto; background: var(--ink); color: #fff; }
.cr [id] { scroll-margin-top: 140px; }
.cr-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cr-filter button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .9rem; cursor: pointer; }
.cr-filter button small { color: var(--stone); font-weight: 500; margin-left: 2px; }
.cr-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cr-filter button[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }
.cr-jobs { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.cr-job { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px 28px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.cr-area { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lav-deep); }
.cr-job h3 { margin-top: 4px; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); letter-spacing: -.03em; }
.cr-job p { margin-top: 6px; color: var(--stone); max-width: 62ch; }
.cr-meta { display: grid; gap: 2px; text-align: right; font-size: .88rem; color: var(--stone); }
.cr-none { margin-top: 18px; color: var(--stone); }
.cr-none a { color: var(--lav-deep); font-weight: 600; }
@media (max-width: 760px) { .cr-job { grid-template-columns: 1fr; } .cr-meta { text-align: left; display: flex; gap: 14px; } .cr-job .pill { justify-self: start; } }
.cr-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cr-areas li { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 24px; box-shadow: 0 0 0 1px #ebe9f1; }
.cr-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--lav-mist); color: var(--lav-deep); }
.cr-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cr-areas h3 { font-size: 1.2rem; letter-spacing: -.025em; }
.cr-areas p { color: var(--stone); line-height: 1.5; }
.cr-life-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cr-life-grid article { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 3vw, 30px); border-radius: 28px; background: var(--soft); }
.cr-life-grid article:nth-child(2) { background: var(--lav-mist); } .cr-life-grid article:nth-child(3) { background: #fdf6dd; }
.cr-life-grid h3 { font-size: 1.5rem; letter-spacing: -.035em; }
.cr-life-grid p { color: var(--stone); line-height: 1.55; }
.cr-life-grid ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; line-height: 1.45; }
.cr-h3 { font-size: 1.3rem; letter-spacing: -.03em; margin: 8px 0 16px; }
.cr-h3 + .cr-tips, .cr-steps + .cr-h3 { margin-top: clamp(28px, 4vw, 44px); }
.cr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: st; }
.cr-steps li { position: relative; display: grid; align-content: start; gap: 6px; padding: 52px 18px 20px; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px #ebe9f1; counter-increment: st; }
.cr-steps li::before { content: counter(st); position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #7b4dff; color: #fff; font-weight: 750; font-size: .85rem; }
.cr-steps b { font-family: var(--head); font-size: 1.05rem; letter-spacing: -.02em; }
.cr-steps span { color: var(--stone); font-size: .92rem; line-height: 1.45; }
.cr-tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cr-tips li { padding: 18px 20px; border-radius: 20px; background: var(--soft); color: var(--stone); line-height: 1.5; }
.cr-tips b { color: var(--ink); }
@media (max-width: 1000px) { .cr-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .cr-areas, .cr-life-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cr-steps { grid-template-columns: 1fr; } }

/* apply form */
.ap-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; max-width: 760px; }
.ap-form label { display: grid; gap: 6px; }
.ap-form label > span { font-size: .88rem; font-weight: 650; color: var(--ink); }
.ap-form small { font-weight: 500; color: var(--stone); }
.ap-form input, .ap-form select, .ap-form textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #e4e2ea; background: #fff; font: inherit; color: var(--ink); }
.ap-form textarea { resize: vertical; min-height: 130px; }
.ap-form input:focus, .ap-form select:focus, .ap-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 16, 40, .08); }
.ap-form label:first-child, .ap-wide, .ap-msg, .ap-go { grid-column: 1 / -1; }
.ap-msg { color: #b42318; font-weight: 600; }
.ap-msg[hidden] { display: none; }
.ap-go { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ap-go .pill { border: 0; cursor: pointer; }
.ap-go span { color: var(--stone); font-size: .9rem; }
.pg-hero .eyebrow a { color: inherit; }
@media (max-width: 640px) { .ap-form { grid-template-columns: 1fr; } }
