/* =========================================================
   Recruit Page (Single-column / Role-first)
   - Scoped by .recruit-page
   - No hero (FV) / No multi-column grids on desktop
   ========================================================= */

.recruit-page{
  /* Match the global container width so this page aligns with others */
  --rp-max: var(--container);
}

.recruit-page .recruit-narrow{
  max-width: var(--rp-max);
  margin: 0 auto;
}

/* ---------------------------------------------------------
   Simple top area (no FV)
   --------------------------------------------------------- */
.recruit-page .recruit-top{
  padding: 42px 0 30px;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(900px 480px at 20% -10%, rgba(209,91,157,.14), transparent 60%),
    radial-gradient(720px 420px at 80% 0%, rgba(97,175,101,.10), transparent 60%),
    #fff;
}

.recruit-page .recruit-top__title{
  margin: 10px 0 0;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 950;
  color: var(--color-primary);
}

.recruit-page .recruit-top__lead{
  margin: 10px 0 0;
  color: var(--color-muted);
  font-weight: 650;
  line-height: 1.8;
}

.recruit-page .recruit-top__actions{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------------------------------------------------
   Reveal
   --------------------------------------------------------- */
.recruit-page [data-reveal]{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.recruit-page [data-reveal].is-in{
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  .recruit-page [data-reveal]{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------
   Message box
   --------------------------------------------------------- */
.recruit-page .r-box{
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.recruit-page .r-check{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.recruit-page .r-check li{
  position: relative;
  padding-left: 30px;
  line-height: 1.7;
}

.recruit-page .r-check li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(209,91,157,.14);
  border: 1px solid rgba(209,91,157,.26);
}

.recruit-page .r-check li::after{
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------
   Role tabs (single column)
   --------------------------------------------------------- */
.recruit-page .r-tabs{
  display: grid;
  gap: 14px;
}

.recruit-page .r-tablist{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.recruit-page .r-tab{
  appearance: none;
  border: 1px solid rgba(226,232,240,0.95);
  background: rgba(255,255,255,0.85);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  color: rgba(15,23,42,.86);
}

.recruit-page .r-tab:hover{ transform: translateY(-1px); }

.recruit-page .r-tab[aria-selected="true"]{
  background: rgba(209,91,157,.12);
  border-color: rgba(209,91,157,.32);
  color: var(--color-primary-dark);
}

/* Mobile: allow horizontal scroll if long */
@media (max-width: 560px){
  .recruit-page .r-tablist{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .recruit-page .r-tab{ flex: 0 0 auto; }
}

.recruit-page .r-panels{ display: block; }

.recruit-page .r-panel{
  display: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.recruit-page .r-panel.is-active{ display: block; }

/* ---------------------------------------------------------
   Job content blocks
   --------------------------------------------------------- */
.recruit-page .job-head{
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.recruit-page .job-title{
  margin: 0;
  font-size: 22px;
}

.recruit-page .job-lead{
  margin: 0;
  color: var(--color-muted);
  font-weight: 650;
  line-height: 1.7;
}

.recruit-page .job-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recruit-page .tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,0.95);
  background: rgba(255,255,255,0.95);
  font-size: 12px;
  font-weight: 900;
  color: rgba(15,23,42,.82);
}

.recruit-page .job-block{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(226,232,240,0.95);
}

.recruit-page .job-h{
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
}

.recruit-page .timeline{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.recruit-page .timeline li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 12px;
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
}

.recruit-page .timeline time{
  flex: 0 0 74px;
  font-weight: 950;
  color: var(--color-primary-dark);
}

.recruit-page .timeline div{
  flex: 1;
  color: rgba(15,23,42,.86);
  line-height: 1.6;
}

@media (max-width: 420px){
  .recruit-page .timeline time{ flex-basis: 64px; }
}

.recruit-page .job-list{
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
  line-height: 1.7;
}

.recruit-page .req{
  margin: 0;
}

.recruit-page .req-row{
  padding: 12px 0;
  border-top: 1px solid rgba(226,232,240,0.95);
}

.recruit-page .req-row:first-child{ border-top: 0; padding-top: 0; }

.recruit-page .req-row dt{
  font-weight: 950;
  color: rgba(15,23,42,.86);
  margin: 0 0 6px;
}

.recruit-page .req-row dd{
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.recruit-page .note{
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

.recruit-page .job-actions{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------------------------------------
   Process steps (vertical)
   --------------------------------------------------------- */
.recruit-page .steps{
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.recruit-page .steps li{
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.recruit-page .steps li::before{
  content: "STEP " counter(step);
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(209,91,157,.10);
  border: 1px solid rgba(209,91,157,.24);
  font-weight: 950;
  letter-spacing: .04em;
  font-size: 12px;
  color: var(--color-primary-dark);
}

.recruit-page .steps__title{
  margin-top: 10px;
  font-weight: 950;
  font-size: 16px;
}

.recruit-page .steps__text{
  margin: 6px 0 0;
  color: var(--color-muted);
  font-weight: 650;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.recruit-page .r-faq{
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.recruit-page .r-faq__search{
  margin-bottom: 14px;
}

.recruit-page .r-faq input[type="search"]{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,0.95);
  background: rgba(255,255,255,0.95);
  font-weight: 650;
}

.recruit-page .r-faq details{
  border-top: 1px solid rgba(226,232,240,0.95);
  padding: 12px 0;
}

.recruit-page .r-faq details:first-of-type{ border-top: 0; }

.recruit-page .r-faq summary{
  cursor: pointer;
  font-weight: 900;
  color: rgba(15,23,42,.88);
  list-style: none;
}

.recruit-page .r-faq summary::-webkit-details-marker{ display: none; }

.recruit-page .r-faq summary::after{
  content: "+";
  float: right;
  color: rgba(15,23,42,.56);
}

.recruit-page .r-faq details[open] summary::after{ content: "–"; }

.recruit-page .r-faq .answer{
  margin-top: 10px;
  color: var(--color-muted);
  font-weight: 650;
  line-height: 1.8;
}

/* ---------------------------------------------------------
   CTA layout override (keep single column)
   --------------------------------------------------------- */
.recruit-page .cta__inner{
  flex-direction: column;
  align-items: flex-start;
}

.recruit-page .cta__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------------------------------------
   Mobile fixed CTA
   --------------------------------------------------------- */
.recruit-page .recruit-fab{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226,232,240,0.9);
  z-index: 60;
  display: none;
}

.recruit-page .recruit-fab__inner{
  max-width: var(--rp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 980px){
  .recruit-page .recruit-fab{ display: block; }
  /* give room for fixed CTA */
  .recruit-page{ padding-bottom: 78px; }
}

