/* Join follows the supplied light laboratory reference. Scoped to avoid changing other routes.
   Stable control sizes; independently responsive hero and content grid. Canvas is decorative; all controls remain native. */
/* The shared header, including search and mobile navigation, is styled in styles.css. */
body:has(#apply-page:not([hidden])) { background: #fbfcfe; }
.apply-page { --accent: #2052ee; --join-ink: #080d1e; --join-muted: #5e6e8c; display: block; max-width: none; margin: auto; padding: 0 0 48px; background: #fbfcfe; color: var(--join-ink); font-family: var(--font-body); }
.apply-page :is(a, button, input, select, textarea):focus-visible { outline: 2px solid #2052ee; outline-offset: 4px; box-shadow: none; }
.join-hero { position: relative; height: 520px; isolation: isolate; }
.join-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.join-light { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.join-hero::after { content: ''; position: absolute; inset: auto 0 -1px; height: 9%; background: linear-gradient(transparent, #fbfcfe); pointer-events: none; }
.join-hero-copy { position: relative; padding: 43px 5.15% 0; }
.join-hero h1 { max-width: 65%; font-size: 56px; font-weight: 800; line-height: .94; letter-spacing: -.063em; color: #060a12; }
#apply-title:focus, #application-review-title:focus, #join-application:focus { outline: none; box-shadow: none; }
.join-hero-copy > p { margin-top: 10px; color: #303c59; font-size: 15px; line-height: 1.35; letter-spacing: -.018em; }
.join-start, .apply-review-button { display: flex; align-items: center; justify-content: center; gap: 12px; background: #2052ee; color: white; border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.2; min-height: 44px; transition: background .2s, box-shadow .2s; }
.join-start { margin-top: 16px; height: 44px; padding: 0 19px; }
.join-start span, .apply-review-button span { font-size: 23px; font-weight: 400; line-height: 1; }
.join-start:hover, .apply-review-button:hover { background: #1644d2; color: #fff; box-shadow: 0 4px 14px #2052ee20; }
.join-ecosystem { display: grid; grid-template-columns: 2.05fr 1fr 1.05fr 1.32fr 1.15fr; align-items: center; position: relative; gap: 0; margin: 0 8.4% 0 10.4%; height: 76px; padding-bottom: 22px; color: #354260; }
.join-ecosystem::before, .join-ecosystem::after { content: ''; position: absolute; top: 22px; width: 58px; height: 1px; background: #c5d0e2; }
.join-ecosystem::before { right: calc(100% + 20 * var(--j)); }
.join-ecosystem::after { left: calc(100% + 20 * var(--j)); }
.join-ecosystem a { padding: 0 22px; height: 26px; border-left: 1px solid #b8c4d8; display: flex; align-items: center; justify-content: center; }
.join-ecosystem a img { width: 100%; height: 32px; object-fit: contain; filter: grayscale(1) brightness(.45); mix-blend-mode: multiply; }
.join-body { display: grid; grid-template-columns: 35.15% 1fr; gap: 0; padding-right: 3.5%; align-items: start; }
.apply-intro { min-width: 0; padding-top: 24px; }
.join-intro-copy { padding-left: 14.65%; padding-right: 5%; }
.join-intro-copy h2 { font-size: 36px; line-height: 1.02; }
.apply-lead { margin-top: 13px; color: #4c5c7c; font-size: 13.5px; line-height: 1.5; white-space: nowrap; letter-spacing: -.025em; }
.join-benefits { display: grid; gap: 30px; list-style: none; margin: 35px 0 0; padding: 0; }
.join-benefits li { display: grid; grid-template-columns: 42px 1fr; gap: 21px; align-items: start; }
.join-benefits canvas { width: 40px; height: 40px; }
.join-benefits h3 { font-weight: 600; font-size: 14.5px; line-height: 1.3; letter-spacing: -.028em; }
.join-benefits p { margin-top: 6px; font-size: 12px; line-height: 1.45; color: #647594; letter-spacing: -.014em; }
.join-hardware { position: relative; margin: 28px 27px 0 0; height: 338px; clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%); }
.join-hardware > img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.join-hardware figcaption { position: absolute; left: 33px; bottom: 14px; color: #354563; font-size: 8px; line-height: 1.9; letter-spacing: .16em; text-transform: uppercase; }
.join-hardware figcaption span { display: block; width: 17px; height: 1px; margin-top: 9px; background: #536580; }
.apply-panel { min-width: 0; padding: 32px 38px 39px; border: 1px solid #e1e7f1; border-radius: 18px; background: #ffffffd9; box-shadow: 0 14px 42px #263d6610; scroll-margin-top: calc(var(--header-height) + 24px); }
.apply-selector, .apply-type-fields { min-width: 0; border: 0; padding: 0; margin: 0; }
.apply-selector legend { padding: 0; font-size: 20px; font-weight: 700; margin-bottom: 17px; letter-spacing: -.045em; }
.apply-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.apply-option { display: flex; align-items: start; gap: 11px; padding: 17px 14px; border: 1px solid #dbe2ee; border-radius: 8px; cursor: pointer; min-height: 79px; transition: background .18s, border-color .18s; }
.apply-option:has(input:checked) { border-color: #2855ff; background: #f2f5ff; box-shadow: inset 0 0 0 1px #2855ff; }
.apply-option:has(input:focus-visible) { outline: 2px solid #2052ee; outline-offset: 3px; }
.apply-option input { appearance: none; margin: 0; flex: 0 0 auto; width: 18px; height: 18px; border: 1.5px solid #94a1b8; border-radius: 50%; background: white; }
.apply-option input:checked { border-color: #2052ff; background: radial-gradient(circle, #2052ff 0 42%, transparent 48%); }
.apply-option strong { display: block; font-size: 13.5px; line-height: 1.4; font-weight: 600; letter-spacing: -.03em; }
.apply-option small { display: block; margin-top: 8px; font-size: 11px; line-height: 1.45; color: var(--join-muted); letter-spacing: -.02em; }
.apply-form-heading { margin: 27px 0 19px; }
.apply-form-heading h2, #application-review h2 { font-size: 20px; font-weight: 600; letter-spacing: -.045em; }
.apply-form-heading p { margin-top: 8px; font-size: 11.5px; color: var(--join-muted); }
.apply-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.apply-fields > label, .apply-type-fields > label { display: block; font-size: 13px; line-height: 1.5; font-weight: 600; margin-bottom: 16px; letter-spacing: -.025em; }
.apply-fields input, .apply-type-fields input, .apply-type-fields textarea, .apply-type-fields select { display: block; width: 100%; min-width: 0; height: 46px; min-height: 44px; margin-top: 4px; padding: 11px 14px; border: 1px solid #d9e1ed; border-radius: 7px; background: #fff; font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: -.02em; }
.apply-panel input::placeholder, .apply-panel textarea::placeholder { color: #8493af; opacity: 1; }
.apply-type-fields textarea { height: 110px; min-height: 100px; resize: vertical; }
.apply-review-button { width: 100%; height: 45px; padding: 0 18px; margin-top: 3px; }
.apply-note { color: var(--join-muted); font-size: 11px; line-height: 1.7; margin-top: 11px; letter-spacing: -.025em; }
#application-review .eyebrow { color: #496088; font-size: 11px; letter-spacing: .12em; margin-bottom: 18px; }
#application-summary { margin-block: 26px; }
#application-summary dt { margin-top: 20px; font-size: 12px; color: var(--join-muted); }
#application-summary dd { margin: 7px 0 0; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
#application-review .apply-review-button { margin-top: 24px; }

.apply-goals { min-width: 0; border: 0; margin: 5px 0 20px; padding: 0; }
.apply-goals legend { padding: 0; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.apply-goals legend span { color: var(--join-muted); font-weight: 400; }
.apply-goals-hint { margin: 6px 0 12px; color: var(--join-muted); font-size: 12px; line-height: 1.5; }
.apply-goals-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.apply-goal-option { display: flex; align-items: start; gap: 9px; min-height: 44px; padding: 11px 10px; border: 1px solid #d9e1ed; border-radius: 6px; cursor: pointer; font-size: 12px; line-height: 1.5; }
.apply-goal-option:has(input:checked) { border-color: #2052ee; background: #f2f5ff; }
.apply-goal-option:has(input:focus-visible) { outline: 2px solid #2052ee; outline-offset: 3px; }
.apply-type-fields .apply-goal-option input { flex: 0 0 auto; width: 16px; height: 16px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: #2052ee; }
.apply-goals-other { display: block; margin-top: 14px; font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: -.025em; }
.apply-goals-other[hidden] { display: none; }
@media (max-width: 480px) { .apply-goals-options { grid-template-columns: 1fr; } }

/* Content width, typography and photography adapt independently. */
.join-hero { height: clamp(440px, 39vw, 560px); overflow: clip; }
.join-hero-image { left: auto; right: 0; width: min(100%, 1560px); object-position: center 52%; }
.join-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fbfcfe 0%, #fbfcfe 22%, #fbfcfeee 35%, #fbfcfe73 47%, transparent 60%); pointer-events: none; }
.join-hero::after { height: 48px; }
.join-hero-copy { z-index: 2; max-width: 1240px; margin: auto; padding: clamp(40px, 4.2vw, 64px) 32px 0; }
.join-hero h1 { max-width: 650px; font-size: clamp(40px, 4vw, 58px); line-height: 1.02; letter-spacing: -.055em; }
.join-hero-copy > p { max-width: 445px; margin-top: 18px; font-size: 15px; line-height: 1.6; letter-spacing: -.015em; }
.join-desktop-break { display: none; }
.join-start { display: inline-flex; width: auto; margin-top: 22px; height: 44px; padding: 0 18px; gap: 12px; white-space: nowrap; font-size: 13px; }
.join-start span, .apply-review-button span { font-size: 20px; }
.join-ecosystem { max-width: 1100px; height: 84px; margin: 0 auto; padding: 0 24px; grid-template-columns: 2fr repeat(4, 1fr); gap: 16px; }
.join-ecosystem::before, .join-ecosystem::after { display: none; }
.join-ecosystem a { height: 24px; padding: 0 20px; overflow: hidden; }
.join-ecosystem a img { height: 28px; filter: grayscale(1) contrast(1.5); transform: scale(1.8); }
.join-body { max-width: 1160px; margin: 24px auto 0; padding: 0 32px; grid-template-columns: minmax(0, 1.65fr) minmax(0, 3fr); gap: clamp(48px, 5vw, 96px); }
.apply-intro { padding-top: 24px; }
.join-intro-copy { max-width: 470px; padding: 0; }
.join-intro-copy h2 { font-size: 32px; line-height: 1.1; }
.apply-lead { font-size: 13px; white-space: normal; max-width: none; margin-top: 14px; line-height: 1.65; }
.join-benefits { margin-top: 30px; gap: 25px; }
.join-benefits li { grid-template-columns: 30px 1fr; gap: 16px; }
.join-benefits canvas { width: 30px; height: 30px; }
.join-benefits h3 { font-size: 14px; font-weight: 600; line-height: 1.45; letter-spacing: -.02em; }
.join-benefits h3 br { display: none; }
.join-benefits p { max-width: none; font-size: 12px; line-height: 1.65; margin-top: 5px; }
.join-hardware { margin: 30px 0 0; height: 220px; clip-path: none; border-radius: 10px; overflow: hidden; }
.join-hardware > img { object-position: center 43%; }
.join-hardware figcaption { left: 18px; bottom: 15px; font-size: 8px; padding: 6px 9px; background: #fbfcfed9; }
.apply-panel { padding: 28px 30px 30px; border-radius: 16px; box-shadow: 0 8px 30px #263d6608; }
.apply-selector legend { font-size: 19px; font-weight: 600; letter-spacing: -.035em; margin-bottom: 16px; }
.apply-options { gap: 10px; }
.apply-option { min-height: 76px; padding: 15px 13px; gap: 10px; }
.apply-option input { width: 17px; height: 17px; margin-top: 2px; }
.apply-option strong { font-size: 13px; }
.apply-option small { font-size: 11px; margin-top: 6px; line-height: 1.5; }
.apply-form-heading { margin: 25px 0 18px; }
.apply-form-heading h2, #application-review h2 { font-size: 18px; letter-spacing: -.03em; }
.apply-form-heading p { font-size: 12px; }
.apply-fields { gap: 16px; }
.apply-fields > label, .apply-type-fields > label { font-size: 12px; margin-bottom: 16px; }
.apply-fields input, .apply-type-fields input, .apply-type-fields textarea, .apply-type-fields select { height: 44px; margin-top: 6px; padding: 10px 12px; font-size: 14px; border-radius: 6px; }
.apply-type-fields textarea { height: 100px; }
.apply-review-button { height: 44px; font-size: 13px; border-radius: 6px; }
.apply-note { font-size: 11px; line-height: 1.65; }
@media (min-width: 1600px) {
  .join-hero-copy { max-width: 1340px; }
  .join-hero h1 { font-size: 60px; }
}
@media (max-width: 1000px) {
  .join-hero-copy > p { max-width: 350px; font-size: 14px; }
  .join-body { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 30px; padding-inline: 28px; }
  .join-intro-copy h2 { font-size: 29px; }
  .apply-panel { padding: 24px; }
  .apply-options { grid-template-columns: 1fr; }
  .apply-option { min-height: 65px; padding: 12px 14px; }
  .apply-option small { margin-top: 3px; }
}
@media (max-width: 760px) {
  .join-hero { height: auto; min-height: 420px; }
  .join-hero-copy { width: 100%; padding: 32px 24px 56px; }
  .join-hero h1 { max-width: none; font-size: clamp(32px, 5.7vw, 44px); line-height: 1.06; }
  .join-hero-copy > p { max-width: 460px; font-size: 14px; line-height: 1.6; margin-top: 16px; }
  .join-start { margin-top: 18px; }
  .join-hero-image { inset: 0; width: 100%; height: 100%; object-position: center 55%; }
  .join-hero::before { background: linear-gradient(90deg, #fbfcfefa 0%, #fbfcfeeb 48%, #fbfcfe80 100%); }
  .join-light { display: none; }
  .join-hero::after { height: 30px; }
  .join-ecosystem { height: auto; margin: 12px 24px 0; padding: 0 0 24px; grid-template-columns: repeat(4, 1fr); gap: 18px 0; }
  .join-ecosystem a { padding-inline: 12px; }
  .join-ecosystem a:nth-child(2) { border: 0; }
  .join-body { grid-template-columns: 1fr; gap: 24px; margin-top: 12px; padding-inline: 24px; }
  .apply-intro { padding-top: 0; }
  .join-intro-copy h2 { font-size: 30px; }
  .apply-lead { max-width: none; margin-top: 12px; }
  .join-benefits { margin-top: 24px; gap: 18px; }
  .join-benefits p { max-width: none; }
  .join-hardware { display: none; }
  .apply-panel { padding: 24px; }
  .apply-options { grid-template-columns: 1fr 1fr; }
  .apply-option { padding: 13px 12px; }
  .apply-fields input, .apply-type-fields input, .apply-type-fields textarea, .apply-type-fields select { font-size: 16px; }
}
@media (max-width: 480px) {
  .join-body, .join-hero-copy { padding-inline: 20px; }
  .apply-panel { padding: 22px 18px; border-radius: 12px; }
  .apply-options, .apply-fields { grid-template-columns: 1fr; }
  .apply-fields { gap: 0; }
  .apply-option { min-height: 66px; }
  .join-ecosystem a { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) { .join-start, .apply-review-button, .apply-option { transition: none; } }

/* Join positioning and network introduction. */
.join-hero-copy > .join-location { max-width: none; margin: 0 0 20px; font-size: 13px; line-height: 1.5; }
.join-network { max-width: 1160px; margin: 32px auto 0; padding: 0 32px 24px; }
.join-network h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.join-network h2, .join-intro-copy h2 { font-weight: 700; letter-spacing: -.035em; }
.join-network p { max-width: 76ch; margin-top: 18px; color: var(--join-muted); font-size: 15px; line-height: 1.75; }
@media (max-width: 1000px) { .join-network { padding-inline: 28px; } }
@media (max-width: 760px) { .join-network { padding-inline: 24px; margin-top: 24px; } }
@media (max-width: 480px) { .join-network { padding-inline: 20px; } .join-hero-copy > .join-location { font-size: 12px; } }

/* Align Join content with the shared header and homepage content edges. */
.join-hero-copy,
.join-ecosystem,
.join-body,
.join-network {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--discovery-inset);
}

/* Original RoboSource artwork with native manual scrolling and seamless automatic motion. */
.join-ecosystem { grid-template-columns: minmax(0, 1fr) 32px; gap: 12px; height: 100px; padding: 12px 16px 12px 0; }
.join-logo-viewport { min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.join-logo-viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.join-logo-viewport.is-dragging, .join-logo-viewport.is-dragging a { cursor: grabbing; }
.join-logo-item { user-select: none; }
.join-logo-viewport::-webkit-scrollbar { display: none; }
/* Blend the complete moving layer so white logo backgrounds disappear during animation too. */
.join-logo-track { display: flex; width: max-content; mix-blend-mode: multiply; will-change: transform; }
.join-logo-group { display: flex; flex: 0 0 auto; align-items: center; }
.join-ecosystem .join-logo-item { flex: 0 0 176px; width: 176px; height: 60px; display: flex; align-items: center; justify-content: center; padding: 6px 24px; border: 0; overflow: visible; }
.join-ecosystem .join-logo-group img { width: 100%; height: 48px; object-fit: contain; filter: none; mix-blend-mode: normal; transform: none; }
.join-logo-toggle { display: grid; place-items: center; line-height: 0; width: 32px; height: 32px; padding: 0; border: 1px solid #dce4f0; border-radius: 50%; background: #fff; color: #52617a; font-size: 12px; cursor: pointer; }
.join-logo-toggle:focus-visible, .join-logo-group a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.join-logo-toggle svg { display: block; }
.join-logo-toggle .join-logo-play-icon,
.join-logo-toggle[aria-pressed="true"] .join-logo-pause-icon { display: none; }
.join-logo-toggle[aria-pressed="true"] .join-logo-play-icon { display: block; }
@media(max-width:760px) {
  .join-ecosystem { grid-template-columns: minmax(0, 1fr) 32px; gap: 10px 12px; height: auto; margin-block: 12px 0; padding-block: 0 20px; }
  .join-ecosystem .join-logo-item { flex-basis: 148px; width: 148px; padding-inline: 18px; }
}
@media(prefers-reduced-motion:reduce) {
  .join-logo-group[aria-hidden], .join-logo-toggle { display: none; }
  .join-ecosystem { grid-template-columns: minmax(0, 1fr); }
}
@media(prefers-reduced-motion:reduce) and (max-width:760px) { .join-ecosystem { grid-template-columns: minmax(0, 1fr); } }
