/* Participant Join extends the approved Reputable theme with a warmer, plain-language register. */
.participant-nav .participant-business-link { color: var(--muted); font-size: 13px; white-space: nowrap; }
.participant-nav .participant-business-link:hover { color: var(--ivory); }
.participant-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 84% 18%, #223326 0, transparent 36%), #090f0b; }
.participant-hero .hero-grid { grid-template-columns: 1.04fr .96fr; gap: clamp(34px, 5vw, 72px); min-height: 650px; }
.participant-hero .hero-copy h1 { font-size: clamp(52px, 6.2vw, 80px); }
.participant-hero .hero-copy h1 .serif { display: block; color: var(--lime); }
.participant-hero-visual { min-height: 510px; }
.participant-hero-visual img { object-position: 50% 48%; }
.participant-hero-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 35%, rgba(202,255,77,.09) 49%, transparent 63%); opacity: .45; transform: translateX(-110%); }
.participant-hero .hero-principles { padding-block: 25px; font-size: 13px; }
.participant-process .serif, .participant-faq .serif { color: var(--green); }
.participant-study-types { background: radial-gradient(circle at 8% 90%, rgba(202,255,77,.11), transparent 28%), #111714; }
.participant-study-types .section-head .eyebrow { color: var(--lime); }
.participant-study-types .section-head .serif { color: var(--lime); }
.study-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.study-type { min-height: 580px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #19241c; }
.study-type-media { position: relative; overflow: hidden; height: 220px; border-bottom: 1px solid var(--line); background: #0c120e; }
.study-type-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(9,15,11,.72)); }
.study-type-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); }
.product-type .study-type-media img { object-position: 50% 48%; }
.clinical-type .study-type-media img { object-position: 50% 43%; }
.study-type-media figcaption { position: absolute; z-index: 1; right: 24px; bottom: 20px; left: 24px; color: var(--lime); }
.study-type-copy { padding: clamp(30px, 4vw, 46px); }
.study-type-copy > .eyebrow { margin-bottom: 28px; color: var(--lime); }
.study-type h3 { max-width: 450px; font-size: clamp(32px, 3.5vw, 45px); line-height: 1.08; }
.study-type-copy > p:not(.eyebrow) { margin-top: 24px; max-width: 510px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.study-type ul { list-style: none; margin: 34px 0 0; padding: 0; }
.study-type li { position: relative; padding: 14px 0 14px 18px; border-top: 1px solid var(--line); color: #ced3ca; font-size: 14px; }
.study-type li::before { content: ''; position: absolute; top: 21px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.clinical-type { background: linear-gradient(135deg, #dfe9d8, #ccdabe); color: var(--ink); border-color: #dfe9d8; }
.clinical-type .study-type-copy > .eyebrow { color: var(--green); }
.clinical-type .study-type-media { border-color: rgba(17,23,20,.2); }
.clinical-type .study-type-media figcaption { color: var(--ivory); }
.clinical-type .study-type-copy > p:not(.eyebrow), .clinical-type li { color: var(--muted-light); }
.clinical-type li { border-color: var(--line-light); }
.clinical-type li::before { background: var(--green); }
.learning-type { background: linear-gradient(145deg, #223126, #17221a); }
.learning-type .study-type-media img { object-position: 50% 55%; }
.learning-type .study-type-copy > .eyebrow { color: var(--lime); }
.participant-process { background: var(--paper); }
.participant-process .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.participant-process .section-head .eyebrow { color: var(--green); }
.participant-steps { list-style: none; margin: 0; padding: 0; }
.participant-steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding-bottom: 34px; }
.participant-steps li:not(:last-child)::after { content: ''; position: absolute; top: 48px; bottom: 0; left: 23px; width: 1px; background: #bac7b3; }
.participant-steps .step-number { background: var(--sage); border-color: #b5c2ac; color: var(--green); }
.participant-steps li:last-child .step-number { background: var(--green); border-color: var(--green); color: var(--ivory); }
.participant-steps h3 { padding-top: 6px; font-size: 27px; }
.participant-steps p { margin-top: 13px; color: var(--muted-light); font-size: 17px; line-height: 1.65; }
.participant-data { background: radial-gradient(circle at 92% 18%, #293b2b 0, transparent 37%), var(--forest); }
.participant-data .section-head .eyebrow { color: var(--lime); }
.participant-data .section-head .serif { color: var(--lime); }
.data-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(9,15,11,.25); }
.data-card { min-height: 295px; padding: 30px 28px; }
.data-card + .data-card { border-left: 1px solid var(--line); }
.data-mark { display: block; width: 10px; height: 10px; margin-bottom: 38px; border: 2px solid var(--lime); border-radius: 50%; box-shadow: 0 0 0 7px rgba(202,255,77,.08); }
.data-card h3 { font-size: 24px; line-height: 1.16; }
.data-card p { margin-top: 17px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.data-policy-link { margin-top: 28px; color: var(--lime); font-size: 15px; }
.participant-faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px, 8vw, 110px); }
.participant-faq .section-head { margin-bottom: 0; }
.participant-faq-list { border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary { display: grid; grid-template-columns: 1fr 30px; align-items: center; gap: 20px; min-height: 84px; padding: 21px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--green); font-size: 25px; font-weight: 400; transition: transform .2s ease; text-align: center; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { max-width: 640px; padding: 0 48px 28px 0; color: var(--muted-light); font-size: 16px; line-height: 1.65; }
.participant-download { padding-block: clamp(28px, 4vw, 56px); background: #0a100c; }
.download-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 4vw, 50px); padding: clamp(36px, 5vw, 64px); border: 1px solid rgba(202,255,77,.28); border-radius: var(--radius); background: radial-gradient(circle at 100% 50%, #263a27, transparent 38%), #17221a; }
.download-panel .eyebrow { margin-bottom: 20px; color: var(--lime); }
.download-panel h2 { font-size: clamp(39px, 4.6vw, 58px); line-height: 1.06; }
.download-panel h2 .serif { color: var(--lime); }
.download-panel p:not(.eyebrow) { max-width: 630px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.store-links { display: grid; gap: 12px; min-width: 230px; }
.store-link { position: relative; display: grid; grid-template-columns: 1fr 22px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--ivory); color: var(--ink); }
.store-link:hover { border-color: var(--lime); transform: translateY(-1px); }
.store-kicker { grid-column: 1; font-size: 10px; line-height: 1.2; }
.store-link strong { grid-column: 1; font-size: 20px; line-height: 1.2; }
.store-link > span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 18px; }
.participant-hero-store-links { width: min(100%, 500px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.participant-hero-store-links .store-link { min-height: 64px; border-color: rgba(244,239,228,.22); background: rgba(17,23,20,.45); color: var(--ivory); }
.participant-hero-store-links .store-link:hover { border-color: rgba(202,255,77,.58); background: rgba(30,79,53,.32); }
.participant-hero-store-links .store-kicker { color: var(--muted); }
.participant-hero-store-links .store-link > span:last-child { color: var(--lime); }
.participant-footer > a:nth-last-child(2) { font-size: 13px; color: var(--muted); padding: 12px 0; }
.motion-enabled .participant-hero-visual.is-in-view::after { animation: participantSweep 8s ease-in-out infinite; }
.motion-enabled .study-type-media img { animation: participantMediaDrift 13s ease-in-out infinite alternate paused; will-change: transform; }
.motion-enabled .study-type-media.is-in-view img { animation-play-state: running; }
.motion-enabled .participant-steps li:not(:last-child)::after { transform: scaleY(0); transform-origin: top; transition: transform 850ms cubic-bezier(.2,.7,.2,1) 180ms; }
.motion-enabled .participant-steps li.is-visible:not(:last-child)::after { transform: scaleY(1); }
.motion-enabled .participant-steps li.is-visible .step-number { animation: participantNumberPulse 2.8s ease-in-out 1; }
.motion-enabled .data-card.is-visible .data-mark { animation: participantDataPing 2.2s ease-out 1; }
.motion-paused .participant-hero-visual::after, .motion-paused .study-type-media img { animation-play-state: paused !important; }
@keyframes participantSweep { 0%, 22% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
@keyframes participantMediaDrift { from { transform: scale(1.035) translate3d(-.7%, .4%, 0); } to { transform: scale(1.09) translate3d(.7%, -.4%, 0); } }
@keyframes participantNumberPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(202,255,77,0); } 48% { box-shadow: 0 0 0 10px rgba(202,255,77,.1), 0 0 24px rgba(202,255,77,.18); } }
@keyframes participantDataPing { 0% { box-shadow: 0 0 0 0 rgba(202,255,77,.35); } 70%, 100% { box-shadow: 0 0 0 18px rgba(202,255,77,0); } }
@media (hover: hover) and (pointer: fine) {
  .study-type, .data-card { transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease; }
  .study-type:hover { transform: translateY(-3px); border-color: rgba(202,255,77,.45); box-shadow: 0 15px 38px rgba(0,0,0,.1); }
  .study-type:hover .study-type-media img { transform: scale(1.09); }
  .data-card:hover { background: rgba(202,255,77,.035); }
}
@media (max-width: 1050px) {
  .participant-nav .nav-inner { gap: 14px; }
  .participant-nav .nav-links { gap: 15px; }
  .data-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-card:nth-child(3) { border-left: 0; }
  .data-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .study-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learning-type { grid-column: 1 / -1; }
  .learning-type .study-type-media { height: 280px; }
}
@media (max-width: 800px) {
  .participant-hero .hero-grid { grid-template-columns: 1fr; }
  .participant-hero-visual { min-height: 320px; height: 64vw; max-height: 500px; }
  .participant-hero-visual img { object-position: 50% 45%; }
  .participant-nav .participant-business-link { margin-left: auto; }
  .participant-nav .nav-cta { margin-left: 0; }
  .participant-process .process-layout, .participant-faq-layout, .download-panel { grid-template-columns: 1fr; }
  .participant-process .section-head { position: static; }
  .study-type-grid { gap: 16px; }
  .download-panel { justify-items: start; }
  .store-links { width: min(100%, 320px); }
}
@media (max-width: 600px) {
  .participant-nav .participant-business-link { display: none; }
  .study-type-grid, .data-card-grid { grid-template-columns: 1fr; }
  .learning-type { grid-column: auto; }
  .learning-type .study-type-media { height: 190px; }
  .study-type { min-height: 0; }
  .study-type-media { height: 190px; }
  .study-type-copy { padding: 29px; }
  .study-type-copy > .eyebrow { margin-bottom: 26px; }
  .data-card { min-height: 0; }
  .data-card + .data-card, .data-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .store-links { width: 100%; }
  .participant-hero-store-links { grid-template-columns: 1fr; }
  .participant-hero .hero-principles { font-size: 12px; }
  .download-panel { padding: 30px 24px; }
  .participant-footer p { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .participant-nav .nav-cta { padding-inline: 14px; }
  .participant-hero .hero-copy h1 { font-size: clamp(43px, 12vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  .participant-hero-visual, .study-type, .data-card, .store-link { transition: none; }
}
