/* Expert page (public/experts.html): the hero stage, the lab strip, the people band, the field cards, the join cards and the payout chips.
   Loaded after site.css. The page uses the site's own sections (page-hero, sec-h, pillars, steps, faq, ways) and adds only what they do not have. */

/* ---- hero stage: three real practice screens on a grid, no people drawn ---- */
.ex-stage { position: relative; min-height: 400px; border-radius: 6px; border: 1px solid var(--dline2); background:
  radial-gradient(circle at 70% 20%, rgba(255, 176, 0, 0.16), transparent 45%),
  linear-gradient(var(--dline) 1px, transparent 1px) 0 0 / 100% 36px,
  linear-gradient(90deg, var(--dline) 1px, transparent 1px) 0 0 / 36px 100%, var(--ink3); overflow: hidden; }
.ex-stage img { position: absolute; display: block; height: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.ex-stage .s1 { left: 6%; top: 8%; width: 60%; transform: rotate(-3deg); }
.ex-stage .s2 { right: 5%; top: 32%; width: 54%; transform: rotate(2deg); }
.ex-stage .s3 { left: 12%; bottom: 6%; width: 48%; transform: rotate(-1deg); }
.ex-pill { position: absolute; z-index: 2; display: inline-flex; padding: 0.35rem 0.8rem; border-radius: 999px; background: #fff; color: var(--text); font-weight: 600; font-size: 0.82rem; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.ex-pill.p1 { right: 6%; top: 6%; }
.ex-pill.p2 { left: 5%; top: 52%; }
.ex-pill.p3 { right: 8%; bottom: 7%; }
.ex-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 1.6rem 0 0; padding: 0; list-style: none; color: #C7D1E0; font-size: 0.92rem; }
.ex-trust li::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; margin-right: 0.45rem; border-radius: 50%; background: var(--ok); }
@media (max-width: 520px) { .ex-stage { min-height: 340px; } .ex-pill { font-size: 0.74rem; } }

/* ---- the lab strip ---- */
.ex-strip { position: relative; border-radius: 10px; overflow: hidden; margin: 0 0 1.6rem; height: 280px; background: var(--ink2) url(/assets/video/lab-poster.jpg) center / cover no-repeat; }
.ex-strip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 20, 0.55), rgba(7, 11, 20, 0) 60%); pointer-events: none; }
.ex-strip .cap { position: absolute; z-index: 1; left: 18px; bottom: 14px; color: #fff; font-weight: 600; font-size: 1.05rem; max-width: 20em; }
@media (max-width: 640px) { .ex-strip { height: 210px; } }

/* ---- practice cards: the site's task cards, with a practice note ---- */
.ex-more { margin: 1.4rem 0 0; }

/* ---- people band ---- */
.ex-band { position: relative; color: #fff; overflow: hidden; padding: 0; background: var(--ink); }
.ex-band .bg { position: absolute; inset: 0; background: #0D1424 url(/assets/gfx/people-team.webp) center 35% / cover no-repeat; }
.ex-band .bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.ex-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.7) 55%, rgba(7, 11, 20, 0.25) 100%); }
.ex-band .container { position: relative; z-index: 2; padding: clamp(3.5rem, 7vw, 5rem) 0; }
.ex-band h2 { max-width: 14em; color: #fff; }
.ex-band p { max-width: 34em; color: var(--dtext); font-size: 1.1rem; }
.ex-band .kicker { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .ex-strip video, .ex-band .bg video { display: none; } }

/* ---- fields: photo cards and plain chips ---- */
.ex-fcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.6rem; }
.ex-fcard { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--enterprise-soft); margin: 0; }
.ex-fcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.ex-fcard:hover img { transform: scale(1.04); }
.ex-fcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 11, 20, 0.82) 0%, rgba(7, 11, 20, 0) 55%); }
.ex-fcard figcaption { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; color: #fff; font-weight: 600; }
.ex-fields { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.ex-fields li { padding: 0.5rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 0.95rem; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .ex-fcard img { transition: none; } }

/* ---- join cards: the worker zone's cards, three across ---- */
.ex-joins.ways { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.ex-joins .way.hot { border: 2px solid var(--accent); background: #FFFBF0; }
.ex-joins .way .badge-new { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; }
@media (max-width: 1100px) { .ex-joins.ways { grid-template-columns: minmax(0, 1fr); } }
.ex-reg { display: grid; gap: 2rem; align-items: start; margin-top: 2.4rem; }
@media (min-width: 960px) { .ex-reg { grid-template-columns: 1.3fr 1fr; } }
.ex-reg .card { background: #fff; border-radius: 14px; padding: 1.5rem; }
.ex-reg ul { padding-left: 1.1rem; margin: 0.6rem 0; color: var(--wdim); }
.ex-reg li { margin: 0.35rem 0; }

/* ---- payouts ---- */
.ex-methods { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.ex-methods span { padding: 0.6rem 1rem; border: 2px solid var(--ink); border-radius: 2px; font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ex-pay { display: grid; gap: 2rem; }
@media (min-width: 900px) { .ex-pay { grid-template-columns: 1fr 1fr; } }
.ex-pay ul { padding-left: 1.1rem; margin: 0.6rem 0; }
.ex-pay li { margin: 0.45rem 0; }

/* ---- partner band ---- */
.ex-pband { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .ex-pband { grid-template-columns: 1.4fr 1fr; } }
.ex-pband h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.ex-pband p { margin: 0.6rem 0 0; max-width: 36em; }

/* ---- the three checks: the site's pillars, on the dark surface ---- */
#checks .pillars { background: rgba(255, 255, 255, 0.03); border-color: var(--dline2); }
#checks .pillar { border-color: var(--dline2); }
#checks .pillar .n, #checks .pillar a.more { color: var(--accent); }
#checks .pillar h3 { color: #fff; }
#checks .pillar p, #checks .pillar li { color: #C4CEDC; }
#checks .check-list { margin-bottom: 0; }
#checks .check-list li::before { border-color: var(--accent); }
.page-hero h1 .acc { display: inline-block; }

/* ---- hero: a robot hand and a human hand, with the test in the space between ---- */
.ait-hands { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; border: 1px solid var(--dline2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); background: var(--enterprise-soft); }
.ait-hands img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 52% 47%; animation: ait-settle 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes ait-settle { from { transform: scale(1.14); } to { transform: scale(1); } }
.ait-gap { position: absolute; left: 52%; top: 47%; transform: translate(-50%, -50%); display: flex; flex-direction: column-reverse; align-items: center; gap: 12px; pointer-events: none; }
.ait-ring { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--accent); background: rgba(255, 176, 0, 0.2); animation: ait-appear 0.9s 1s both; }
.ait-ring::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); }
.ait-ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent); animation: ait-pulse 2.6s 1.8s ease-out infinite; }
.ait-tag { display: inline-flex; padding: 0.3rem 0.7rem; border-radius: 999px; background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 10px 24px rgba(7, 11, 20, 0.35); white-space: nowrap; animation: ait-appear 0.9s 1.2s both; }
@keyframes ait-appear { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
@keyframes ait-pulse { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
@media (max-width: 520px) { .ait-ring { width: 34px; height: 34px; } .ait-tag { font-size: 10px; letter-spacing: 0.1em; } }

/* ---- the AI-Test section ---- */
.ex-ait-grid { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 960px) { .ex-ait-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3.6rem; } }
.ex-ait .lead { margin-bottom: 1.2rem; }
.ex-ait .lead .chip { margin: 0 0.5rem 0.3rem 0; background: var(--enterprise-soft); color: var(--enterprise-ink); }
.ex-ait-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.7rem; }
.ex-ait-list li { position: relative; padding-left: 1.6rem; color: var(--text-dim); }
.ex-ait-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.7rem; background: var(--accent); border-radius: 2px; }
.ex-ait-list strong { color: var(--text); }
.ex-ait-fig { display: block; border-radius: 10px; }
.ex-ait-fig:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ex-ait-fig .ait-hands { box-shadow: var(--shadow-md); border-color: var(--border); }

@media (prefers-reduced-motion: reduce) { .ait-hands img, .ait-ring, .ait-tag { animation: none; } .ait-ring::after { animation: none; opacity: 0; } }
